This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: GP Question
- To: mark@codesourcery.com
- Subject: Re: GP Question
- From: Richard Henderson <rth@cygnus.com>
- Date: Wed, 9 Jun 1999 12:36:33 -0700
- Cc: binutils@sourceware.cygnus.com
- References: <19990608233319R.mitchell@codesourcery.com>
On Tue, Jun 08, 1999 at 11:33:19PM -0700, mark@codesourcery.com wrote:
> What code in elf32-mips.c is supposed to be responsible for assigning
> a GP value for an executable? I see mips_elf_final_gp, but it just
> looks for a symbol named "_gp".
The link script. Which is a horrible horrible mistake, IMO.
I seem to recall having done some patches once upon a time
that cleaned this up. I wonder what happened to those...
r~