This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linking/ELF question
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Robert Schweikert <Robert dot Schweikert at abaqus dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 31 Aug 2004 08:38:21 +0930
- Subject: Re: linking/ELF question
- References: <1093890078.14471.319.camel@cheetah.hks.com>
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