From 50c901ede915776db734ea77225ebd3558fab2f6 Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Tue, 28 Jun 2016 14:05:34 +0100
Subject: [PATCH] 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.
---
 binutils/ChangeLog                     | 5 +++++
 binutils/testsuite/binutils-all/ar.exp | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a36eabc9bed..9a30a2027ef 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 604ebdc16a9..8649f8061b3 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]"
-- 
GitLab