From 15635cff5fc339e9819b975232933a0fb133899d Mon Sep 17 00:00:00 2001 From: Will Newton Date: Mon, 7 Jul 2014 17:26:48 +0100 Subject: [PATCH] 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 * binutils-all/objcopy.exp: Disable the strip-10 test on non-EABI ARM configurations. --- binutils/testsuite/ChangeLog | 5 +++++ binutils/testsuite/binutils-all/objcopy.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 9e98d0c7bd7..bc7643bd691 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-10 Will Newton + + * binutils-all/objcopy.exp: Disable the strip-10 test on + non-EABI ARM configurations. + 2014-06-03 Nick Clifton * 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 a7e13966be2..f4fa0b25328 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" } -- 2.30.2