diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-04-06 12:19:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-04-06 12:19:13 -0700 |
commit | dae148f3b925ba75459caec099932e31a1ad961b (patch) | |
tree | 4d5f26530c66bea29b298d960dddd3e5633bed20 /ld | |
parent | bf890a93a7c46f63fc0595189cf2b388e9a29316 (diff) | |
download | gdb-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')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/compress.exp | 6 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 6 |
3 files changed, 7 insertions, 11 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2b8d345..5036af1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-04-06 H.J. Lu <hongjiu.lu@intel.com> + + * 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. + 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> * ld-aarch64/aarch64-elf.exp: Add erratum843419 test. 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 { diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 6671719..9e22706 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -779,12 +779,6 @@ proc run_dump_test { name {extra_options {}} } { set dfile $srcdir/$subdir/$opts(dump) } - if { [string match "*--compress-debug-sections*" $opts(as)] \ - && ![is_zlib_supported] } { - unsupported $testname - return - } - # Time to setup xfailures. foreach targ $opts(xfail) { setup_xfail $targ |