diff options
author | Elliott Hughes <enh@google.com> | 2015-07-07 17:06:28 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-07-07 17:06:28 -0700 |
commit | e75a9625a658e75feee8e2e2b6d42fa03d47b26d (patch) | |
tree | d15bb9a196ea7b28219911d7c26c93585454ed1d /binutils-2.24/ld/testsuite/ld-elf/compress.exp | |
parent | 548e866f819455e730b5981cefed80dfb9c56033 (diff) | |
download | toolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.zip toolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.tar.gz toolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.tar.bz2 |
Remove binutils-2.24.
Change-Id: I26a47a29e4d16e75e21e9295504079a815c334c6
Diffstat (limited to 'binutils-2.24/ld/testsuite/ld-elf/compress.exp')
-rw-r--r-- | binutils-2.24/ld/testsuite/ld-elf/compress.exp | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/binutils-2.24/ld/testsuite/ld-elf/compress.exp b/binutils-2.24/ld/testsuite/ld-elf/compress.exp deleted file mode 100644 index 55269ee..0000000 --- a/binutils-2.24/ld/testsuite/ld-elf/compress.exp +++ /dev/null @@ -1,63 +0,0 @@ -# Expect script for ELF compressed debug section tests. -# Copyright 2010 Free Software Foundation, Inc. -# -# This file is part of the GNU Binutils. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, -# MA 02110-1301, USA. -# - -# Exclude non-ELF targets. - -if ![is_elf_format] { - return -} - -if ![is_zlib_supported] { - return -} - -# The following tests require running the executable generated by ld. -if ![isnative] { - return -} - -# Check if compiler works -if { [which $CC] == 0 } { - return -} - -global as -if { ![ld_assemble $as "--compress-debug-sections $srcdir/$subdir/empty.s" tmpdir/empty.o ] } { - unsupported "linker compressed debug sections" -} - -set build_tests { - {"Build libfoo.so with compressed debug sections" - "-shared" "-fPIC -g -Wa,--compress-debug-sections" - {foo.c} {} "libfoo.so"} - {"Build libbar.so with compressed debug sections" - "-shared" "-fPIC -g -Wa,--compress-debug-sections" - {begin.c end.c} {} "libbar.so"} -} - -set run_tests { - {"Run normal with libfoo.so with compressed debug sections" - "tmpdir/begin.o tmpdir/libfoo.so tmpdir/end.o" "-Wa,--compress-debug-sections" - {main.c} "normal" "normal.out"} -} - -run_cc_link_tests $build_tests -run_ld_link_exec_tests [] $run_tests |