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, 7 Dec 2015 08:33:39 -0800
- 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>
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.
--
H.J.