aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-06 12:19:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-06 12:19:13 -0700
commitdae148f3b925ba75459caec099932e31a1ad961b (patch)
tree4d5f26530c66bea29b298d960dddd3e5633bed20 /ld/testsuite/ld-elf
parentbf890a93a7c46f63fc0595189cf2b388e9a29316 (diff)
downloadgdb-dae148f3b925ba75459caec099932e31a1ad961b.zip
gdb-dae148f3b925ba75459caec099932e31a1ad961b.tar.gz
gdb-dae148f3b925ba75459caec099932e31a1ad961b.tar.bz2
Remove is_zlib_supported
Since zlib is always supported, there is no need for is_zlib_supported. binutils/testsuite/ * binutils-all/compress.exp: Remove is_zlib_supported check. * binutils-all/objdump.exp: Likewise. * binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise. * lib/utils-lib.exp (run_dump_test): Likewise. * lib/binutils-common.exp (is_zlib_supported): Removed. gas/testsuite/ * lib/gas-defs.exp (run_dump_test): Remove is_zlib_supported check. ld/testsuite/ * ld-elf/compress.exp: Remove is_zlib_supported check. Fail if --compress-debug-sections doesn't work. * lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/compress.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/compress.exp b/ld/testsuite/ld-elf/compress.exp
index 850e3e8..682811a 100644
--- a/ld/testsuite/ld-elf/compress.exp
+++ b/ld/testsuite/ld-elf/compress.exp
@@ -25,10 +25,6 @@ if ![is_elf_format] {
return
}
-if ![is_zlib_supported] {
- return
-}
-
# The following tests require running the executable generated by ld.
if ![isnative] {
return
@@ -41,7 +37,7 @@ if { [which $CC] == 0 } {
global as
if { ![ld_assemble $as "--compress-debug-sections $srcdir/$subdir/empty.s" tmpdir/empty.o ] } {
- unsupported "linker compressed debug sections"
+ fail "linker compressed debug sections"
}
set build_tests {