From dae148f3b925ba75459caec099932e31a1ad961b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Apr 2015 12:19:13 -0700 Subject: 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. --- gas/testsuite/lib/gas-defs.exp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gas/testsuite/lib') diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index 602ad57..7dc4807 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -615,13 +615,6 @@ proc run_dump_test { name {extra_options {}} } { } } - if { [string match "*--compress-debug-sections*" $opts(as)] \ - && ![is_zlib_supported] } { - unsupported $testname - return - } - - if { $opts(source) == "" } { set sourcefile ${file}.s } else { -- cgit v1.1