Hi experts,

I noticed that modstubs.s declares some function stubs which are actually 
defined in other modules.
modstubs.s is compiled to unix.

My understanding is that the stubs are used when the corresponding function is 
called and yet
the module defining it has not been loaded. So the stub acts as a placeholder 
for the actual function.

I also noticed we can use the -N option of ld to declare the dependences 
between 2 modules.
Say module A uses functions defined in module B,  you need to set -NB in 
LDFLAGS.

Given this,  can we only use either stubs or the -N option of ld? Are they 
substitutable?

Could someone please give me some instructions on this topic? Or suggest some 
readings to me?

Thanks a lot and Merry Christmas!

Jia
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to