This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PING: Re: [PATCH 3/3] ld: Extend options for altering orphan handling behaviour.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: andrew dot burgess at embecosm dot com, Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>
- Date: Sat, 5 Sep 2015 06:46:41 -0700
- Subject: Re: PING: Re: [PATCH 3/3] ld: Extend options for altering orphan handling behaviour.
- Authentication-results: sourceware.org; auth=none
- References: <20150827075414 dot GB5007 at embecosm dot com> <201509050229 dot t852T13K029304 at ignucius dot se dot axis dot com>
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