aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2015-12-07 17:52:25 +0100
committerJan Beulich <jbeulich@suse.com>2015-12-07 17:52:25 +0100
commit1e550d79b170a548f7903e4954c877acc6125cbc (patch)
treefab0e231c78591c6103415076d0729bdf96ea44a /ld/testsuite/ld-elf
parent17b1509aac6ff4205749c2626fddbb1c4d7255f4 (diff)
downloadgdb-1e550d79b170a548f7903e4954c877acc6125cbc.zip
gdb-1e550d79b170a548f7903e4954c877acc6125cbc.tar.gz
gdb-1e550d79b170a548f7903e4954c877acc6125cbc.tar.bz2
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).
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/gabiend.rt2
-rw-r--r--ld/testsuite/ld-elf/gabinormal.rt2
2 files changed, 2 insertions, 2 deletions
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