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

when looking at a R_MIPS_GOT16 relocation.
This commit is contained in:
Ian Lance Taylor 1999-07-21 23:32:29 +00:00
parent 7c83b342ee
commit 2841ecd078
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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: