This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS: Update comment on jump reloc conversion
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 20 Jun 2016 23:45:33 +0100
- Subject: [committed] MIPS/GAS: Update comment on jump reloc conversion
- Authentication-results: sourceware.org; auth=none
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