Browse Source

* elf32-mips.c (mips_elf_calculate_relocation): Get the GP value

when looking at a R_MIPS_GOT16 relocation.
gdb-premipsmulti-2000-06-06-branch
Ian Lance Taylor 27 years ago
parent
commit
2841ecd078
  1. 5
      bfd/ChangeLog
  2. 1
      bfd/elf32-mips.c

5
bfd/ChangeLog

@ -1,3 +1,8 @@
1999-07-21 Ian Lance Taylor <ian@zembu.com>
* elf32-mips.c (mips_elf_calculate_relocation): Get the GP value
when looking at a R_MIPS_GOT16 relocation.
1999-07-20 Nick Clifton <nickc@cygnus.com>
* coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC.

1
bfd/elf32-mips.c

@ -5938,6 +5938,7 @@ mips_elf_calculate_relocation (abfd,
switch (r_type)
{
case R_MIPS_CALL16:
case R_MIPS_GOT16:
case R_MIPS_GOT_DISP:
case R_MIPS_GOT_HI16:
case R_MIPS_CALL_HI16:

Loading…
Cancel
Save