gas/ARM: Fix testsuite failure for arm-elf
authorWill Newton <will.newton@linaro.org>
Tue, 8 Jul 2014 09:23:27 +0000 (10:23 +0100)
committerWill Newton <will.newton@linaro.org>
Thu, 10 Jul 2014 08:33:01 +0000 (09:33 +0100)
At some point the arm-elf output became the same as arm-eabi. Remove
the special handling of arm-elf.

gas/testsuite/ChangeLog:

2014-07-10  Will Newton  <will.newton@linaro.org>

* gas/elf/elf.exp: Remove special handling of arm-elf for
section2 test.
* gas/elf/section2.e-armeabi: Rename to...
* gas/elf/section2.e-arm: ...here.
* gas/elf/section2.e-armelf: Remove file.

gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/section2.e-arm [moved from gas/testsuite/gas/elf/section2.e-armeabi with 100% similarity]
gas/testsuite/gas/elf/section2.e-armelf [deleted file]

index ef34f26..a7a6946 100644 (file)
@@ -1,5 +1,11 @@
 2014-07-10  Will Newton  <will.newton@linaro.org>
 
+       * gas/elf/elf.exp: Remove special handling of arm-elf for
+       section2 test.
+       * gas/elf/section2.e-armeabi: Rename to...
+       * gas/elf/section2.e-arm: ...here.
+       * gas/elf/section2.e-armelf: Remove file.
+
        * gas/arm/bl-local-2.d: Only enable the test on EABI and
        NaCl configurations.
        * gas/arm/bl-local-v4t.d: Likewise.
index a967d2f..f17f7e0 100644 (file)
@@ -77,15 +77,7 @@ if { [is_elf_format] } then {
        set target_machine -rx
     }
     if {[istarget "arm*-*-*"]} {
-
-       if { ([istarget "*-*-*eabi"]
-             || [istarget "*-*-linux-*"]
-             || [istarget "*-*-nacl*"]
-             || [istarget "*-*-symbianelf"])} then {
-           set target_machine -armeabi
-       } else {
-           set target_machine -armelf
-       }
+       set target_machine -arm
     }
 
     # The MN10300 and Xtensa ports disable the assembler's call frame
diff --git a/gas/testsuite/gas/elf/section2.e-armelf b/gas/testsuite/gas/elf/section2.e-armelf
deleted file mode 100644 (file)
index de16912..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-
-Symbol table '.symtab' contains 7 entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND 
- +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1 
- +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2 
- +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3 
- +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4 
- +5: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +4 \$d
- +6: 0+0 +0 +SECTION +LOCAL +DEFAULT +5