diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-01-17 08:03:29 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-01-17 08:03:29 -0800 |
commit | 16666ccc91295d1568c5c2cb0e7600694840dfd9 (patch) | |
tree | ceae893327e198544ea667aaa612447ace033454 | |
parent | 52498004a34dfa4bc55fbf791a4ed4e81599a436 (diff) | |
download | binutils-16666ccc91295d1568c5c2cb0e7600694840dfd9.zip binutils-16666ccc91295d1568c5c2cb0e7600694840dfd9.tar.gz binutils-16666ccc91295d1568c5c2cb0e7600694840dfd9.tar.bz2 |
Update x86-64: Add -z mark-plt and -z nomark-plt
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.
-rw-r--r-- | ld/testsuite/ld-x86-64/mark-plt-1b-x32.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/mark-plt-1b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/mark-plt-1d-x32.d | 2 | ||||
-rw-r--r-- | 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 74306a0..848d45e 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 dc046c0..a5c6931 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 318ca1f..f08c99e 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 2dd63bc..9ca8d65 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 #... |