* [PATCH] Update x86-64: Add -z mark-plt and -z nomark-plt
@ 2024-01-17 16:10 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-01-17 16:10 UTC (permalink / raw)
To: binutils
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(-)
diff --git a/ld/testsuite/ld-x86-64/mark-plt-1b-x32.d b/ld/testsuite/ld-x86-64/mark-plt-1b-x32.d
index 74306a0d8d7..848d45e1e43 100644
--- a/ld/testsuite/ld-x86-64/mark-plt-1b-x32.d
+++ b/ld/testsuite/ld-x86-64/mark-plt-1b-x32.d
@@ -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
#...
diff --git a/ld/testsuite/ld-x86-64/mark-plt-1b.d b/ld/testsuite/ld-x86-64/mark-plt-1b.d
index dc046c031eb..a5c6931fd2a 100644
--- a/ld/testsuite/ld-x86-64/mark-plt-1b.d
+++ b/ld/testsuite/ld-x86-64/mark-plt-1b.d
@@ -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
#...
diff --git a/ld/testsuite/ld-x86-64/mark-plt-1d-x32.d b/ld/testsuite/ld-x86-64/mark-plt-1d-x32.d
index 318ca1f0931..f08c99ea9cd 100644
--- a/ld/testsuite/ld-x86-64/mark-plt-1d-x32.d
+++ b/ld/testsuite/ld-x86-64/mark-plt-1d-x32.d
@@ -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
#...
diff --git a/ld/testsuite/ld-x86-64/mark-plt-1d.d b/ld/testsuite/ld-x86-64/mark-plt-1d.d
index 2dd63bc10b7..9ca8d654324 100644
--- a/ld/testsuite/ld-x86-64/mark-plt-1d.d
+++ b/ld/testsuite/ld-x86-64/mark-plt-1d.d
@@ -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
#...
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-17 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 16:10 [PATCH] Update x86-64: Add -z mark-plt and -z nomark-plt H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).