Limit ld-elf/compressed1b.d to Linux/GNU targets
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Apr 2016 22:51:29 +0000 (15:51 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Apr 2016 22:51:29 +0000 (15:51 -0700)
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.

ld/ChangeLog
ld/testsuite/ld-elf/compressed1b.d

index 379a214..c4ded92 100644 (file)
@@ -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
index 04973a4..34dfe8e 100644 (file)
@@ -2,6 +2,7 @@
 #as: --compress-debug-sections=zlib-gabi
 #ld: -r --compress-debug-sections=none
 #readelf: -t
+#target: *-*-linux* *-*-gnu*
 
 #failif
 #...