Committed: ld/testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.

Message ID alpine.BSF.2.20.16.2003312214320.36620@arjuna.pair.com
State New
Headers show
Series
  • Committed: ld/testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
Related show

Commit Message

Hans-Peter Nilsson April 1, 2020, 2:15 a.m.
A recent fix for the mmo input reader caused symbol-to-type mapping
(which is heuristic for the mmo format) to change (as in "corrected"),
and this test-case now passes.

Before that change, the comment was actually wrong: the symbol type
was mistakenly set to as B for uninitialized data, not T for text
section.
---
 ld/ChangeLog                       |    4 ++++
 ld/testsuite/ld-scripts/defined4.d |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 

brgds, H-P

Patch

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 15d34bc..bf7a7eb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@ 
+2020-04-01  Hans-Peter Nilsson  <hp@bitrange.com>
+
+	* testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
+
 2020-03-30  Nick Clifton  <nickc@redhat.com>

 	PR binutils/25662
diff --git a/ld/testsuite/ld-scripts/defined4.d b/ld/testsuite/ld-scripts/defined4.d
index cd3eb4f..0d6e7c5 100644
--- a/ld/testsuite/ld-scripts/defined4.d
+++ b/ld/testsuite/ld-scripts/defined4.d
@@ -2,9 +2,9 @@ 
 #nm: -B
 #source: defined4.s
 #xfail: powerpc*-*-aix* rs6000-*-aix*
-#xfail: mips*-*-* mmix-*-*
+#xfail: mips*-*-*
 # We check that defined and defined1 have the same address.  MIPS targets
-# use different address. MMIX puts defined and defined1 in text section.
+# use different address.

 # Check that arithmetic on DEFINED works.
 #...