Update x86-64: Add -z mark-plt and -z nomark-plt
commit16666ccc91295d1568c5c2cb0e7600694840dfd9
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jan 2024 16:03:29 +0000 (17 08:03 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jan 2024 16:03:29 +0000 (17 08:03 -0800)
treeceae893327e198544ea667aaa612447ace033454
parent52498004a34dfa4bc55fbf791a4ed4e81599a436
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.
ld/testsuite/ld-x86-64/mark-plt-1b-x32.d
ld/testsuite/ld-x86-64/mark-plt-1b.d
ld/testsuite/ld-x86-64/mark-plt-1d-x32.d
ld/testsuite/ld-x86-64/mark-plt-1d.d