aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-07-08 20:11:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-07-08 20:18:40 -0700
commit68c49d3ad1be5c55f6181e04cc3c72691432b081 (patch)
treed591efc06b4097d189b6cd5e115bfa2cd0086b68
parent6f365fda85a2e2682b197540d14adf66c4261b19 (diff)
downloadgdb-68c49d3ad1be5c55f6181e04cc3c72691432b081.zip
gdb-68c49d3ad1be5c55f6181e04cc3c72691432b081.tar.gz
gdb-68c49d3ad1be5c55f6181e04cc3c72691432b081.tar.bz2
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.
-rw-r--r--ld/testsuite/ld-elf/property-1_needed-1b.d6
-rw-r--r--ld/testsuite/ld-elf/property-1_needed-1c.d6
2 files changed, 2 insertions, 10 deletions
diff --git a/ld/testsuite/ld-elf/property-1_needed-1b.d b/ld/testsuite/ld-elf/property-1_needed-1b.d
index b7a9eea..08ccf2d 100644
--- a/ld/testsuite/ld-elf/property-1_needed-1b.d
+++ b/ld/testsuite/ld-elf/property-1_needed-1b.d
@@ -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
diff --git a/ld/testsuite/ld-elf/property-1_needed-1c.d b/ld/testsuite/ld-elf/property-1_needed-1c.d
index 21e1d26..98ca89f 100644
--- a/ld/testsuite/ld-elf/property-1_needed-1c.d
+++ b/ld/testsuite/ld-elf/property-1_needed-1c.d
@@ -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