aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-21 23:32:29 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-21 23:32:29 +0000
commit2841ecd078b85b998559a7df170803aeff9bf091 (patch)
treeac195cbbbd2c8c823d0d4ecab6a94e3f7d8bfe8c /bfd/elf32-mips.c
parent7c83b342eeb9aac0aab09fecde572e10cee327c9 (diff)
downloadgdb-2841ecd078b85b998559a7df170803aeff9bf091.zip
gdb-2841ecd078b85b998559a7df170803aeff9bf091.tar.gz
gdb-2841ecd078b85b998559a7df170803aeff9bf091.tar.bz2
* elf32-mips.c (mips_elf_calculate_relocation): Get the GP value
when looking at a R_MIPS_GOT16 relocation.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index cdcf65c..6154558 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: