This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Limit ld-elf/compressed1b.d to Linux/GNU targets
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 27 Apr 2016 22:54:21 -0000
- Subject: [binutils-gdb] Limit ld-elf/compressed1b.d to Linux/GNU targets
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=83a471c3a112bfce3b13085e51209c826be8257d
commit 83a471c3a112bfce3b13085e51209c826be8257d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Apr 27 15:51:29 2016 -0700
Limit ld-elf/compressed1b.d to Linux/GNU targets
Since not all ELF targets use the elf.em emulation to support ld option:
--compress-debug-sections=zlib-gnu, limit compressed1b.d to Linux/GNU
targets.
* testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
Diff:
---
ld/ChangeLog | 4 ++++
ld/testsuite/ld-elf/compressed1b.d | 1 +
2 files changed, 5 insertions(+)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 379a214..c4ded92 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
+ * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
+
+2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/20006
* testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
(visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
diff --git a/ld/testsuite/ld-elf/compressed1b.d b/ld/testsuite/ld-elf/compressed1b.d
index 04973a4..34dfe8e 100644
--- a/ld/testsuite/ld-elf/compressed1b.d
+++ b/ld/testsuite/ld-elf/compressed1b.d
@@ -2,6 +2,7 @@
#as: --compress-debug-sections=zlib-gabi
#ld: -r --compress-debug-sections=none
#readelf: -t
+#target: *-*-linux* *-*-gnu*
#failif
#...