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