Browse Source

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).
gdb-7.11-branch
Jan Beulich 11 years ago
committed by Jan Beulich
parent
commit
1e550d79b1
  1. 5
      ld/testsuite/ChangeLog
  2. 2
      ld/testsuite/ld-elf/gabiend.rt
  3. 2
      ld/testsuite/ld-elf/gabinormal.rt

5
ld/testsuite/ChangeLog

@ -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.

2
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

2
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

Loading…
Cancel
Save