This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Skip compressed1d test for ELF targets that do not use elf.em
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Fri, 24 Apr 2015 10:13:37 +0100
- Subject: Commit: Skip compressed1d test for ELF targets that do not use elf.em
- Authentication-results: sourceware.org; auth=none
Hi Guys,
Not all ELF based targets use the elf.em linker emulation file, and
hence they do not support the new --compress-debug-sections linker
command line option. Hence I am checking in the patch below to skip
the compressed1d.d test for these targets.
Cheers
Nick
ld/testsuite/ChangeLog
2015-04-24 Nick Clifton <nickc@redhat.com>
* ld-elf/compressed1d.d: Add notarget for ELF based targets that
do not use elf.em.
diff --git a/ld/testsuite/ld-elf/compressed1d.d b/ld/testsuite/ld-elf/compressed1d.d
index cd6042c..8359aad 100644
--- a/ld/testsuite/ld-elf/compressed1d.d
+++ b/ld/testsuite/ld-elf/compressed1d.d
@@ -2,6 +2,8 @@
#as: --compress-debug-sections=none
#ld: -r --compress-debug-sections=zlib-gnu
#readelf: -SW
+# Not all ELF targets use the elf.em emulation...
+#notarget: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-* i370-*-* i860-*-* iq200-*-* mn10200-*-* msp430-*-* mt-*-* or1k-*-* pj-*-*
#failif
#...