elf: Limits 2 GNU_PROPERTY_1_NEEDED tests to Linux/x86

Run property-1_needed-1b.d and property-1_needed-1c.d, which pass
-z [no]indirect-extern-access to linker, only run for Linux/x86 targets.

	* testsuite/ld-elf/property-1_needed-1b.d: Only run for
	Linux/x86 targets.
	* testsuite/ld-elf/property-1_needed-1c.d: Likewise.
This commit is contained in:
H.J. Lu
2021-07-08 20:11:31 -07:00
parent 6f365fda85
commit 68c49d3ad1
2 changed files with 2 additions and 10 deletions

View File

@ -2,11 +2,7 @@
#as:
#ld: -shared -z indirect-extern-access
#readelf: -n
#xfail: ![check_shared_lib_support]
#notarget: am33_2.0-*-* hppa*-*-hpux* mn10300-*-*
# Assembly source file for the HPPA assembler is renamed and modifed by
# sed. mn10300 has relocations in .note.gnu.property section which
# elf_parse_notes doesn't support.
#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
#...
Displaying notes found in: .note.gnu.property

View File

@ -3,11 +3,7 @@
#as:
#ld: -shared -z noindirect-extern-access
#readelf: -n
#xfail: ![check_shared_lib_support]
#notarget: am33_2.0-*-* hppa*-*-hpux* mn10300-*-*
# Assembly source file for the HPPA assembler is renamed and modifed by
# sed. mn10300 has relocations in .note.gnu.property section which
# elf_parse_notes doesn't support.
#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
#...
Displaying notes found in: .note.gnu.property