Fix RX linker testsuite failures by making the assembler use conventional section...
authorNick Clifton <nickc@redhat.com>
Wed, 19 Mar 2014 12:21:39 +0000 (12:21 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Mar 2014 12:21:39 +0000 (12:21 +0000)
* config/default.exp (ASFLAGS): For the RX target add:
-muse-conventional-section-names.

ld/testsuite/ChangeLog
ld/testsuite/config/default.exp

index f301b62..cc62e0e 100644 (file)
@@ -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.
index 9629ac3..a90e9d4 100644 (file)
@@ -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