Update x86-64: Add -z mark-plt and -z nomark-plt
Checks
Commit Message
Pass --hash-style=both to ld for -z mark-plt tests to support linker
configured with --enable-default-hash-style=gnu.
* testsuite/ld-x86-64/mark-plt-1b-x32.d: Pass --hash-style=both
to ld.
* testsuite/ld-x86-64/mark-plt-1b.d: Likewise.
* testsuite/ld-x86-64/mark-plt-1d-x32.d: Likewise.
* testsuite/ld-x86-64/mark-plt-1d.d: Likewise.
---
ld/testsuite/ld-x86-64/mark-plt-1b-x32.d | 2 +-
ld/testsuite/ld-x86-64/mark-plt-1b.d | 2 +-
ld/testsuite/ld-x86-64/mark-plt-1d-x32.d | 2 +-
ld/testsuite/ld-x86-64/mark-plt-1d.d | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
@@ -1,6 +1,6 @@
#source: mark-plt-1.s
#as: --x32
-#ld: -melf32_x86_64 -shared -z mark-plt
+#ld: -melf32_x86_64 -shared -z mark-plt --hash-style=both
#objdump: -dw
#...
@@ -1,6 +1,6 @@
#source: mark-plt-1.s
#as: --64
-#ld: -melf_x86_64 -shared -z mark-plt
+#ld: -melf_x86_64 -shared -z mark-plt --hash-style=both
#objdump: -dw
#...
@@ -1,6 +1,6 @@
#source: mark-plt-1.s
#as: --x32
-#ld: -melf32_x86_64 -shared -z mark-plt -z ibtplt
+#ld: -melf32_x86_64 -shared -z mark-plt -z ibtplt --hash-style=both
#objdump: -dw
#...
@@ -1,6 +1,6 @@
#source: mark-plt-1.s
#as: --64
-#ld: -melf_x86_64 -shared -z mark-plt -z ibtplt
+#ld: -melf_x86_64 -shared -z mark-plt -z ibtplt --hash-style=both
#objdump: -dw
#...