This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld: relax alignment requirements of compressed .debug_* section checks
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 14 Mar 2016 15:00:56 -0700
- Subject: Re: [PATCH] ld: relax alignment requirements of compressed .debug_* section checks
- Authentication-results: sourceware.org; auth=none
- References: <5665C1AF02000078000BCC34 at prv-mh dot provo dot novell dot com> <CAMe9rOo7u8rgCYo3GY_EuEb-R63X2R4uXtuVRz6Nd9Ps_ALhnQ at mail dot gmail dot com>
On Mon, Dec 7, 2015 at 8:33 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Dec 7, 2015 at 8:28 AM, Jan Beulich <JBeulich@suse.com> wrote:
>> This fixes a failure of the gabinormal linking test on some distros
>> (where e.g. crt1.o has a .debug_aranges section with larger alignment).
>>
>> ld/testsuite/
>> 2015-12-07 Jan Beulich <jbeulich@suse.com>
>>
>> * ld-elf/gabiend.rt: Accept any alignment.
>> * ld-elf/gabinormal.rt: Likewise.
>>
>> --- 2015-12-07/ld/testsuite/ld-elf/gabiend.rt
>> +++ 2015-12-07/ld/testsuite/ld-elf/gabiend.rt
>> @@ -1,4 +1,4 @@
>> #...
>> +\[[0-9a-f]+\]: .*COMPRESSED
>> - +ZLIB, [0-9a-f]+, 1
>> + +ZLIB, [0-9a-f]+, [1-9][0-9]*
>> #pass
>> --- 2015-12-07/ld/testsuite/ld-elf/gabinormal.rt
>> +++ 2015-12-07/ld/testsuite/ld-elf/gabinormal.rt
>> @@ -1,4 +1,4 @@
>> #...
>> +\[[0-9a-f]+\]: .*COMPRESSED
>> - +ZLIB, [0-9a-f]+, 1
>> + +ZLIB, [0-9a-f]+, [1-9][0-9]*
>> #pass
>>
>
> It is OK.
>
> Thanks.
>
I backported it to 2.26 branch.
--
H.J.