aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2001-12-04 00:51:33 +0000
committerEric Christopher <echristo@gmail.com>2001-12-04 00:51:33 +0000
commitd11008e15f5f41d5bbe328ffaf57cafcabb6fd7a (patch)
tree7d86279d1258672c3e3ba11e0d915af0753a013b /gas/config
parent7cecdbff280a097a40e005260d6d77cedbafcaa0 (diff)
downloadgdb-d11008e15f5f41d5bbe328ffaf57cafcabb6fd7a.zip
gdb-d11008e15f5f41d5bbe328ffaf57cafcabb6fd7a.tar.gz
gdb-d11008e15f5f41d5bbe328ffaf57cafcabb6fd7a.tar.bz2
2001-12-03 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f873e15..ff331a2b 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -12266,7 +12266,7 @@ tc_gen_reloc (section, fixp)
stop md_apply_fix3 from subtracting twice in the first place since
the fake addend is required for variant frags above. */
if (fixp->fx_addsy != NULL && OUTPUT_FLAVOR == bfd_target_elf_flavour
- && code == BFD_RELOC_MIPS_GPREL
+ && code == BFD_RELOC_GPREL16
&& reloc->addend != 0
&& mips_need_elf_addend_fixup (fixp))
reloc->addend += S_GET_VALUE (fixp->fx_addsy);