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: [PATCH] ld: relax alignment requirements of compressed .debug_* section checks


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.


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