This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: RX: Fix RX linker testsuite failures
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 19 Mar 2014 12:25:43 +0000
- Subject: Commit: RX: Fix RX linker testsuite failures
- Authentication-results: sourceware.org; auth=none
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