Run ld-elf/strtab only on linux/gnu targets

Since not all ELF targets support -shared, we limit ld-elf/strtab to
linux and gnu targets.

	* ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
This commit is contained in:
H.J. Lu 2015-06-25 10:14:13 -07:00
parent 4a677ba724
commit 06e78fc77d
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-mmix/bspec1.d: Updated.

View File

@ -1,5 +1,6 @@
#ld: -shared
#readelf: -W -x .strtab
#target: *-*-linux* *-*-gnu*
#failif
#...