From 1e550d79b170a548f7903e4954c877acc6125cbc Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 7 Dec 2015 17:52:25 +0100 Subject: ld: relax alignment requirements of compressed .debug_* section checks 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/ChangeLog | 5 +++++ ld/testsuite/ld-elf/gabiend.rt | 2 +- ld/testsuite/ld-elf/gabinormal.rt | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f0ca105..38d9c77 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-07 Jan Beulich + + * ld-elf/gabiend.rt: Accept any alignment. + * ld-elf/gabinormal.rt: Likewise. + 2015-12-04 H.J. Lu * ld-i386/i386.exp: Run mov2a and mov2b. diff --git a/ld/testsuite/ld-elf/gabiend.rt b/ld/testsuite/ld-elf/gabiend.rt index 23bc36c..75b5ba7 100644 --- a/ld/testsuite/ld-elf/gabiend.rt +++ b/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 diff --git a/ld/testsuite/ld-elf/gabinormal.rt b/ld/testsuite/ld-elf/gabinormal.rt index 23bc36c..75b5ba7 100644 --- a/ld/testsuite/ld-elf/gabinormal.rt +++ b/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 -- cgit v1.1