This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linking/ELF question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]