aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-06-28 14:05:34 +0100
committerNick Clifton <nickc@redhat.com>2016-06-28 14:05:34 +0100
commit50c901ede915776db734ea77225ebd3558fab2f6 (patch)
tree6a4993c27e3cbdae65d0b082e0241ba494d429fd
parenteb9bb5b4ece9208257d85bc22a0f32ddf33f6a46 (diff)
downloadgdb-50c901ede915776db734ea77225ebd3558fab2f6.zip
gdb-50c901ede915776db734ea77225ebd3558fab2f6.tar.gz
gdb-50c901ede915776db734ea77225ebd3558fab2f6.tar.bz2
Relax previous restriction on running binutils ar tests for Alpha targets, allowing the tests to be run for ELF variants.
* testsuite/binutils-all/ar.exp: Relax previous restriction on Alpha targets. Allow ELF based Alpha targets.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/ar.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a36eabc..9a30a20 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-28 Nick Clifton <nickc@redhat.com>
+
+ * testsuite/binutils-all/ar.exp: Relax previous restriction on
+ Alpha targets. Allow ELF based Alpha targets.
+
2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
diff --git a/binutils/testsuite/binutils-all/ar.exp b/binutils/testsuite/binutils-all/ar.exp
index 604ebdc..8649f80 100644
--- a/binutils/testsuite/binutils-all/ar.exp
+++ b/binutils/testsuite/binutils-all/ar.exp
@@ -26,8 +26,8 @@ if ![is_remote host] {
}
}
-if {[istarget "alpha-*-*"]} then {
- return
+if { [istarget "alpha-*-*"] && ![is_elf_format] } then {
+ return
}
# send_user "Version [binutil_version $AR]"