This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New ld testsuite failures from orphan section code
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 7 Sep 2015 15:50:18 +0100
- Subject: Re: New ld testsuite failures from orphan section code
- Authentication-results: sourceware.org; auth=none
- References: <87twr6mjm5 dot fsf at redhat dot com>
* Nick Clifton <nickc@redhat.com> [2015-09-07 14:42:10 +0100]:
> I am seeing the following new failures in the ld testsuites of various
> targets:
I believe the patch below will fix these issues. I am still in the
process of building and testing all targets, so I don't have a
definitive answer yet.
I can commit now, or wait.
Thanks,
Andrew
---
Update the expected results for one of the orphan section tests to
account for orphan sections being placed differently on different
targets.
ld/testsuite/ChangeLog:
* ld-elf/orphan-8.map: Updated to allow for different section
ordering on different targets.
---
ld/testsuite/ChangeLog | 5 +++++
ld/testsuite/ld-elf/orphan-8.map | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6ca3083..d1626b6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2015-09-05 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-elf/orphan-8.map: Updated to allow for different section
+ ordering on different targets.
+
+2015-09-05 H.J. Lu <hongjiu.lu@intel.com>
+
* ld-elf/orphan-8.map: Updated to support 32-bit targets.
2015-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
diff --git a/ld/testsuite/ld-elf/orphan-8.map b/ld/testsuite/ld-elf/orphan-8.map
index 0bd9766..308d427 100644
--- a/ld/testsuite/ld-elf/orphan-8.map
+++ b/ld/testsuite/ld-elf/orphan-8.map
@@ -1,7 +1,7 @@
#...
-.notbad 0x0+4 0x4
- .notbad 0x0+4 0x4 tmpdir/dump0.o
+.notbad 0x[0-9a-f]+ 0x4
+ .notbad 0x[0-9a-f]+ 0x4 tmpdir/dump0.o
#...
-.note.bar 0x0+10 0x4
- .note.bar 0x0+10 0x4 tmpdir/dump0.o
+.note.bar 0x[0-9a-f]+ 0x4
+ .note.bar 0x[0-9a-f]+ 0x4 tmpdir/dump0.o
#...
--
2.5.1