PING: Re: [PATCH 3/3] ld: Extend options for altering orphan handling behaviour.
H.J. Lu
hjl.tools@gmail.com
Sat Sep 5 13:46:00 GMT 2015
On Fri, Sep 4, 2015 at 7:29 PM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>> From: Andrew Burgess <andrew.burgess@embecosm.com>
>> Date: Thu, 27 Aug 2015 09:54:14 +0200
>
>> > ld/testsuite/ChangeLog:
>> >
>> > * ld-elf/elf.exp: Switch to rely on run_dump_test.
>> > * ld-elf/orphan-5.l: Update expected output.
>> > * ld-elf/orphan-5.d: New file.
>> > * ld-elf/orphan-6.d: New file.
>> > * ld-elf/orphan-6.l: New file.
>> > * ld-elf/orphan-7.d: New file.
>> > * ld-elf/orphan-7.map: New file.
>> > * ld-elf/orphan-8.d: New file.
>> > * ld-elf/orphan-8.map: New file.
>
> For cris-axis-linux-gnu, arm-unknown-eabi and cris-axis-elf (and
> likely many others) this causes:
>
> FAIL: Place orphan sections (map file check)
>
I checked in this.
--
H.J.
---
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 5ca0f6c..6ca3083 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+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>
* ld-elf/elf.exp: Switch to rely on run_dump_test.
diff --git a/ld/testsuite/ld-elf/orphan-8.map b/ld/testsuite/ld-elf/orphan-8.map
index b672978..0bd9766 100644
--- a/ld/testsuite/ld-elf/orphan-8.map
+++ b/ld/testsuite/ld-elf/orphan-8.map
@@ -1,7 +1,7 @@
#...
-.notbad 0x0000000000000004 0x4
- .notbad 0x0000000000000004 0x4 tmpdir/dump0.o
+.notbad 0x0+4 0x4
+ .notbad 0x0+4 0x4 tmpdir/dump0.o
#...
-.note.bar 0x0000000000000010 0x4
- .note.bar 0x0000000000000010 0x4 tmpdir/dump0.o
+.note.bar 0x0+10 0x4
+ .note.bar
More information about the Binutils
mailing list