diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-12-06 11:35:42 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-12-08 08:05:45 -0800 |
commit | e9c11d58b951ed64255a7889fdcb087e3bed89de (patch) | |
tree | 3cf56fe61dc7ab7b53fc7259b1aad93d37508de8 /binutils/dwarf.c | |
parent | 2d77a94ff17a81260b80997db476f87cba5f4b11 (diff) | |
download | gdb-e9c11d58b951ed64255a7889fdcb087e3bed89de.zip gdb-e9c11d58b951ed64255a7889fdcb087e3bed89de.tar.gz gdb-e9c11d58b951ed64255a7889fdcb087e3bed89de.tar.bz2 |
x86-64: Remove BND from 64-bit IBT PLT
Since MPX support has been removed from x86-64 psABI, remove BND from
64-bit IBT PLT by using x32 IBT PLT.
bfd/
PR ld/29851
* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Also check
x32 IBT PLT for 64-bit.
(elf_x86_64_link_setup_gnu_properties): Always use x32 IBT PLT.
ld/
PR ld/29851
* testsuite/ld-x86-64/ibt-plt-1.d: Updated.
* testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
* testsuite/ld-x86-64/plt-main-ibt-x32.dd: Moved to ...
* testsuite/ld-x86-64/plt-main-ibt.dd: This.
* testsuite/ld-x86-64/x86-64.exp: Don't use plt-main-ibt-x32.dd.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions