This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: absolute syms in shared libs
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 3 Oct 2002 22:29:30 -0400
- Subject: Re: absolute syms in shared libs
- References: <20021004113437.U25369@bubble.sa.bigpond.net.au>
On Fri, Oct 04, 2002 at 11:34:37AM +0930, Alan Modra wrote:
> Oops, our "jmp foo" goes to the shared lib load address + 0x12345678.
>
> This can be fixed, but I'm just wondering whether it's wise to
> change the current ld behaviour. Opinions?
Well, from your description I believe that a 'jmp foo' in one of the
shared libraries would go to a different place than a 'jmp foo' in the
other. So I'd say that either:
- we pick one of those consistently
- we issue an error for an absolute symbol in a shared library
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer