Commit: RX: Fix RX linker testsuite failures

Nick Clifton nickc@redhat.com
Wed Mar 19 12:25:00 GMT 2014


Hi Guys,

  I am checking in the patch below to fix some linker testsuite failures
  for the RX target.  The problem was that by default the RX assembler
  uses section names that do not match those expected by the linker test
  scripts.  The patch updates the default config file so that
  conventional section names will be generated by the assembler instead.

Cheers
  Nick

ld/testsuite/ChangeLog
2014-03-19  Nick Clifton  <nickc@redhat.com>

	* config/default.exp (ASFLAGS): For the RX target add:
	-muse-conventional-section-names.

diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp
index 9629ac3..a90e9d4 100644
--- a/ld/testsuite/config/default.exp
+++ b/ld/testsuite/config/default.exp
@@ -106,6 +106,11 @@ if {[istarget mips64*-*-linux*] &&
     append gcc_gas_flag " -mabi=n32"
 }
 
+if { [istarget rx-*-*] } {
+    global ASFLAGS
+    set ASFLAGS "-muse-conventional-section-names"
+}
+
 # load the utility procedures
 load_lib ld-lib.exp
 



More information about the Binutils mailing list