This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] MIPS/GAS: Update comment on jump reloc conversion


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=507dcb323ac8bc02a54cfa5762d954deed7aad80

commit 507dcb323ac8bc02a54cfa5762d954deed7aad80
Author: Maciej W. Rozycki <macro@imgtec.com>
Date:   Mon Jun 20 23:39:20 2016 +0100

    MIPS/GAS: Update comment on jump reloc conversion
    
    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.

Diff:
---
 gas/ChangeLog        | 5 +++++
 gas/config/tc-mips.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index d415a62..3e51448 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+	* config/tc-mips.c (mips_fix_adjustable): Update comment on jump
+	reloc conversion.
+
 2016-06-20  Virendra Pathak  <virendra.pathak@broadcom.com>
 
 	* config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 4022829..1a472a3 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]