From 3807734dbe48f212629e70aeecb8c8c46bb9653c Mon Sep 17 00:00:00 2001
From: "Maciej W. Rozycki" <macro@imgtec.com>
Date: Thu, 11 Aug 2016 00:52:06 +0100
Subject: [PATCH] PR ld/15428: MIPS/LD/testsuite: Un-KFAIL `__ehdr_start' test
 2

Complement commit b75d42bce560 ("Fix mips segfault on GOT access of
absolute symbol") and unmark the `__ehdr_start' test 2 as known to fail
for the n32 and n64 ABIs, as with the change referred in place the
causing issue has been properly addressed and consequently the tests do
not fail anymore and neither are supposed to.

	ld/
	PR ld/15428
	* testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
	test 2.
---
 ld/ChangeLog                          | 6 ++++++
 ld/testsuite/ld-mips-elf/mips-elf.exp | 3 ---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 62970c7aa51..f6b994ed21f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+	PR ld/15428
+	* testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
+	test 2.
+
 2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
 
 	* testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 96961569f75..fd79e80a265 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -961,9 +961,6 @@ foreach { abi } $abis {
             [list ehdr_start-${suff}.s] \
             [list "readelf -s ehdr_start-1.nd"] \
             "ehdr_start-1-${abi}"]]
-    if [regexp "(?:n32|n64)" "$abi"] {
-	setup_kfail "mips*-*-*" "ld/15428"
-    }
     run_ld_link_tests [list \
         [list \
             "MIPS magic __ehdr_start symbol test 2 ($abi)" \