summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-27 15:51:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-27 15:51:29 -0700
commit83a471c3a112bfce3b13085e51209c826be8257d (patch)
treee475002c75523d2bf923a9eb24712da653c97c27
parentd9019901f830e58b0b16793ffe6e70b9afd26ea6 (diff)
downloadbinutils-gdb-83a471c3a112bfce3b13085e51209c826be8257d.tar.gz
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.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/compressed1b.d1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 379a2148dff..c4ded9283e8 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 04973a46479..34dfe8ef660 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
#...