mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
2001-12-03 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2001-12-03 Eric Christopher <echristo@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
|
||||||
|
|
||||||
2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
|
* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
|
||||||
|
@ -12266,7 +12266,7 @@ tc_gen_reloc (section, fixp)
|
|||||||
stop md_apply_fix3 from subtracting twice in the first place since
|
stop md_apply_fix3 from subtracting twice in the first place since
|
||||||
the fake addend is required for variant frags above. */
|
the fake addend is required for variant frags above. */
|
||||||
if (fixp->fx_addsy != NULL && OUTPUT_FLAVOR == bfd_target_elf_flavour
|
if (fixp->fx_addsy != NULL && OUTPUT_FLAVOR == bfd_target_elf_flavour
|
||||||
&& code == BFD_RELOC_MIPS_GPREL
|
&& code == BFD_RELOC_GPREL16
|
||||||
&& reloc->addend != 0
|
&& reloc->addend != 0
|
||||||
&& mips_need_elf_addend_fixup (fixp))
|
&& mips_need_elf_addend_fixup (fixp))
|
||||||
reloc->addend += S_GET_VALUE (fixp->fx_addsy);
|
reloc->addend += S_GET_VALUE (fixp->fx_addsy);
|
||||||
|
Reference in New Issue
Block a user