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: Ian Lance Taylor <ian@zembu.com>
- Date: 9 Jun 1999 10:16:24 -0400
- CC: binutils@sourceware.cygnus.com
- References: <19990608233319R.mitchell@codesourcery.com>
From: mark@codesourcery.com
Date: Tue, 08 Jun 1999 23:33:19 -0700
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".
That magic symbol is set by the linker script. See, e.g.,
ld/emulparams/elf32bsmip.sh.
Ian