From 2841ecd078b85b998559a7df170803aeff9bf091 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 21 Jul 1999 23:32:29 +0000 Subject: [PATCH] * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value when looking at a R_MIPS_GOT16 relocation. --- bfd/ChangeLog | 5 +++++ bfd/elf32-mips.c | 1 + 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7c958e8421..6fb1b12ba2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-07-21 Ian Lance Taylor + + * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value + when looking at a R_MIPS_GOT16 relocation. + 1999-07-20 Nick Clifton * coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index cdcf65cbfe..6154558f0b 100644 --- a/bfd/elf32-mips.c +++ b/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: -- 2.34.1