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.
This commit is contained in:
H.J. Lu
2015-04-06 12:19:13 -07:00
parent bf890a93a7
commit dae148f3b9
11 changed files with 21 additions and 36 deletions

View File

@@ -438,12 +438,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 srcfile ${file}.s
} else {