linking/ELF question
Alan Modra
amodra@bigpond.net.au
Mon Aug 30 23:08:00 GMT 2004
On Mon, Aug 30, 2004 at 02:21:18PM -0400, Robert Schweikert wrote:
> Can I somehow change the attribute or force ld to ignore the "HIDDEN"
> attribute such that I will get the symbol in the glbal section in the
> shared library I am trying to create?
ld doesn't have any such facility. You can binary edit the object file
easily enough: binutils/readelf.c plus include/elf/external.h should be
enough to tell you which byte you need to change.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list