aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-03-19 12:21:39 +0000
committerNick Clifton <nickc@redhat.com>2014-03-19 12:21:39 +0000
commite57190430e09d0df5c2277a527eb2bed4328fd6c (patch)
treeb1ed180c3da9b849eacf2dc69bce1d7ebe8adc36 /ld
parentb41c812c966de02326a9df6c57db648feb26dceb (diff)
downloadgdb-e57190430e09d0df5c2277a527eb2bed4328fd6c.zip
gdb-e57190430e09d0df5c2277a527eb2bed4328fd6c.tar.gz
gdb-e57190430e09d0df5c2277a527eb2bed4328fd6c.tar.bz2
Fix RX linker testsuite failures by making the assembler use conventional section names.
* config/default.exp (ASFLAGS): For the RX target add: -muse-conventional-section-names.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/config/default.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index f301b62..cc62e0e 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-19 Nick Clifton <nickc@redhat.com>
+
+ * config/default.exp (ASFLAGS): For the RX target add:
+ -muse-conventional-section-names.
+
2014-03-15 Alan Modra <amodra@gmail.com>
* ld-powerpc/vle-reloc-3.d: Remove addresses.
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