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).
This commit is contained in:
Jan Beulich 2015-12-07 17:52:25 +01:00 committed by Jan Beulich
parent 17b1509aac
commit 1e550d79b1
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-12-07 Jan Beulich <jbeulich@suse.com>
* ld-elf/gabiend.rt: Accept any alignment.
* ld-elf/gabinormal.rt: Likewise.
2015-12-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/i386.exp: Run mov2a and mov2b.

View File

@ -1,4 +1,4 @@
#...
+\[[0-9a-f]+\]: .*COMPRESSED
+ZLIB, [0-9a-f]+, 1
+ZLIB, [0-9a-f]+, [1-9][0-9]*
#pass

View File

@ -1,4 +1,4 @@
#...
+\[[0-9a-f]+\]: .*COMPRESSED
+ZLIB, [0-9a-f]+, 1
+ZLIB, [0-9a-f]+, [1-9][0-9]*
#pass