[committed] MIPS/GAS: Update comment on jump reloc conversion
Maciej W. Rozycki
macro@imgtec.com
Mon Jun 20 22:45:00 GMT 2016
Complement commit 44d3da233815 ("MIPS/GAS: Treat local jump relocs the
same no matter if REL or RELA") and update and clarify the comment on
jump reloc conversion.
gas/
* config/tc-mips.c (mips_fix_adjustable): Update comment on jump
reloc conversion.
---
I have committed this change.
Maciej
binutils-umips-gas-fix-adjustable-newabi-fix.diff
Index: binutils/gas/config/tc-mips.c
===================================================================
--- binutils.orig/gas/config/tc-mips.c 2016-06-20 22:40:51.804515240 +0100
+++ binutils/gas/config/tc-mips.c 2016-06-20 23:14:25.193097627 +0100
@@ -17172,8 +17172,8 @@ mips_fix_adjustable (fixS *fixp)
of converting JAL to JALX instructions in the linker.
For simplicity, we deal with (3)-(4) by not reducing _any_ relocation
- against a MIPS16 symbol. We deal with (5) by by not reducing any
- such relocations on REL targets.
+ against a MIPS16 symbol. We deal with (5) by additionally leaving
+ alone any jump relocations against a microMIPS symbol.
We deal with (1)-(2) by saying that, if there's a R_MIPS16_26
relocation against some symbol R, no relocation against R may be
More information about the Binutils
mailing list