binutils/testsuite: Disable strip-10 test on ARM non-EABI
authorWill Newton <will.newton@linaro.org>
Mon, 7 Jul 2014 16:26:48 +0000 (17:26 +0100)
committerWill Newton <will.newton@linaro.org>
Thu, 10 Jul 2014 08:32:47 +0000 (09:32 +0100)
Non-EABI ARM targets set OSABI to ARM regardless of whether or not GNU
features have been used which causes this test to fail.

binutils/testsuite/ChangeLog:

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

* binutils-all/objcopy.exp: Disable the strip-10 test on
non-EABI ARM configurations.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp

index 9e98d0c..bc7643b 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-10  Will Newton  <will.newton@linaro.org>
+
+       * binutils-all/objcopy.exp: Disable the strip-10 test on
+       non-EABI ARM configurations.
+
 2014-06-03  Nick Clifton  <nickc@redhat.com>
 
        * binutils-all/ar.exp: Skip tests involving bfdtest1 and bfdtest2
index a7e1396..f4fa0b2 100644 (file)
@@ -953,8 +953,10 @@ if [is_elf_format] {
     run_dump_test "strip-7"
     run_dump_test "strip-8"
     run_dump_test "strip-9"
+    # Non-EABI ARM targets will set OSABI to ARM
     if { ![istarget "*-*-hpux*"]
-        && ![istarget "msp*-*-*"] } {
+        && ![istarget "msp*-*-*"]
+         && !([istarget "arm*-*-*"] && ![istarget "arm-*-*eabi*"])} {
        run_dump_test "strip-10"
     }