aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-07-07 17:26:48 +0100
committerWill Newton <will.newton@linaro.org>2014-07-10 09:32:47 +0100
commit15635cff5fc339e9819b975232933a0fb133899d (patch)
tree48c85a6a6247fd07b42502f158025d308cae678d
parent6f86b3b00029344e8aebadf1bb10c9ee46d2d512 (diff)
downloadgdb-15635cff5fc339e9819b975232933a0fb133899d.zip
gdb-15635cff5fc339e9819b975232933a0fb133899d.tar.gz
gdb-15635cff5fc339e9819b975232933a0fb133899d.tar.bz2
binutils/testsuite: Disable strip-10 test on ARM non-EABI
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.
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 9e98d0c..bc7643b 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index a7e1396..f4fa0b2 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -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"
}