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 9e98d0c7bd7d5686a8d6c8a7cfdd3f748eed868e..bc7643bd691318b8348303128354aaceea3e1b19 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 a7e13966be291445d7b8a5c4f799796eecb1786d..f4fa0b25328216e1d4939a92d4f1e38e2d643ea2 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"
     }