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: orphan section logic


On Wed, Jan 13, 2010 at 10:55 PM, DJ Delorie <dj@redhat.com> wrote:
>
>> Looks like you need to ".*" the file offset.
>
> Yup, done.
>

I checked in this patch to support 64bit targets:

diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index a0aa58a..767747c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/orphan4.d: Support 64bit targets.
+
 2010-01-13  DJ Delorie  <dj@redhat.com>

        * ld-elf/orphan4.d: New.
diff --git a/ld/testsuite/ld-elf/orphan4.d b/ld/testsuite/ld-elf/orphan4.d
index 4f96f34..7474837 100644
--- a/ld/testsuite/ld-elf/orphan4.d
+++ b/ld/testsuite/ld-elf/orphan4.d
@@ -3,5 +3,5 @@
 #objdump: -h

 #...
-  1 \.foo          00000001  00001000  00001000  .*  2\*\*0
+  1 \.foo          0+1  0+1000  0+1000  .*  2\*\*0
 #pass


-- 
H.J.


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