This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ld testsuite failures from orphan section code


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]