Fix some ldscripts/pr24008 fails

Message ID 20190206070239.GB9247@bubble.grove.modra.org
State New
Headers show
Series
  • Fix some ldscripts/pr24008 fails
Related show

Commit Message

Alan Modra Feb. 6, 2019, 7:02 a.m.
These targets were all failing due to extra symbols.
pdp11-dec-aout  +FAIL: ld-scripts/pr24008
powerpc-aix5.1  +FAIL: ld-scripts/pr24008
powerpc-aix5.2  +FAIL: ld-scripts/pr24008
rs6000-aix4.3.3  +FAIL: ld-scripts/pr24008
rs6000-aix5.1  +FAIL: ld-scripts/pr24008
rs6000-aix5.2  +FAIL: ld-scripts/pr24008

Some fails remain, those I saw were segfaults or assertion fails that
indicate target bugs.

	* testsuite/ld-scripts/pr24008.d: Pass with extra target
	defined symbols.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/ld/testsuite/ld-scripts/pr24008.d b/ld/testsuite/ld-scripts/pr24008.d
index 3938d4fa39..9f932665cc 100644
--- a/ld/testsuite/ld-scripts/pr24008.d
+++ b/ld/testsuite/ld-scripts/pr24008.d
@@ -4,5 +4,8 @@ 
 
 #...
 0+42 A defined
+#...
 0+42 A sym1
+#...
 0+43 A sym2
+#pass