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.
This commit is contained in:
H.J. Lu
2016-04-27 15:51:29 -07:00
parent d9019901f8
commit 83a471c3a1
2 changed files with 5 additions and 0 deletions

View 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

View File

@ -2,6 +2,7 @@
#as: --compress-debug-sections=zlib-gabi
#ld: -r --compress-debug-sections=none
#readelf: -t
#target: *-*-linux* *-*-gnu*
#failif
#...