gold script handling of program headers

Ian Lance Taylor iant@google.com
Wed Apr 16 17:47:00 GMT 2008


David Miller <davem@davemloft.net> writes:

> From: Ian Lance Taylor <iant@google.com>
> Date: Tue, 15 Apr 2008 15:51:29 -0700
>
>> David Miller <davem@davemloft.net> writes:
>> 
>> > So the resulting offset is 0x403f50, and this is where the bogus
>> > non-zero this->offset() seen by Output_file_header::do_write() seems
>> > to come from.
>> 
>> 
>> Thanks for the bug report.  I committed this patch, which should fix
>> this problem.
>
> The new script test fails on sparc64:
>
> Did not find expected segment in script_test_4.stdout:
>    \.interp[ 	]*PROGBITS[ 	]*10000400

Whoops.  Fixed like so.

Ian


2008-04-16  Ian Lance Taylor  <iant@google.com>

	* testsuite/script_test_4.sh: Permit leading zeroes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 502 bytes
Desc: Fix script_test_4.sh for 64-bit targets
URL: <https://sourceware.org/pipermail/binutils/attachments/20080416/cb630505/attachment.bin>


More information about the Binutils mailing list