GP Question

Ian Lance Taylor ian@zembu.com
Thu Jul 1 00:00:00 GMT 1999


   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


More information about the Binutils mailing list