This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GP Question


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]