bfd.flags&DYNAMIC vs. bfd_link_info.static
John Reiser
jreiser@BitWagon.com
Fri Jun 1 13:43:00 GMT 2001
> I don't see anything wrong. You have to used -shared to create DSO.
The GOT32 relocation for __dso_handle is not perfomed correctly.
The pointer in the GOT is left as 0, instead of &__dso_handle
(or something that ld-linux.so.2 tuns into &__dso_handle; but
in this case there is a NONE relocation that is the "smoking gun".)
I don't want a DSO (ET_DYN), I want an ET_EXEC with the GOT32
relocation performed correctly.
--
John Reiser, jreiser@BitWagon.com
More information about the Binutils
mailing list