This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Question about MIPS elf-rel7
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Mon, 5 May 2003 12:36:06 +0930
- Subject: Re: Question about MIPS elf-rel7
- References: <20030504212017.GA7289@nevyn.them.org>
On Sun, May 04, 2003 at 05:20:17PM -0400, Daniel Jacobowitz wrote:
> but I don't understand why gas treats bar and frob
> differently.
I suppose I should answer this one too.. ELF shared libraries require
the capability to override any global symbol defined in the shared lib
with a definition in the app or another library. For example, so that
an app can provide its own malloc implementation. This means in
general that relocs against global syms must not be changed to be
against some other symbol.
--
Alan Modra
IBM OzLabs - Linux Technology Centre