Rajesh Paul wrote:
> Yes, precisely the linker would be generating R_XXX_RELATIVE relocations. But 
> I am not able to simulate a linking process which 
> generates the relative relocation entries in its execuatbles/shared objects.

Admittedly I haven't looked at this for a while, HOWEVER,
I seem to recall that I used to build file system drivers for Solaris
using the -r flag for ld which would cause the link editor to generate
relocatable code.  Gcc also seems to accept -r.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to