From: Eric Christopher Date: Tue, 4 Dec 2001 00:51:33 +0000 (+0000) Subject: 2001-12-03 Eric Christopher X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d11008e15f5f41d5bbe328ffaf57cafcabb6fd7a;p=binutils-gdb.git 2001-12-03 Eric Christopher * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e24969e5130..e2e94d836cb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-12-03 Eric Christopher + + * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL. + 2001-12-02 Thiemo Seufer * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL @@ -140,7 +144,7 @@ offset. Add comments to that effect. * config/tc-tic54x.c: Fix bugs causing tests to fail. * config/tc-tic54x.h: Ditch PARAMS macro. - + 2001-11-13 Alan Modra * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index f873e15e19e..ff331a2bcd1 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);