This is the mail archive of the binutils@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]

Commit: RX: Fix RX linker testsuite failures


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
 


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