[PATCH] D62609: [LLD][ELF][AArch64] Support for BTI and PAC

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 03:42:27 PDT 2019


peter.smith updated this revision to Diff 202897.
peter.smith marked an inline comment as done.
peter.smith added a comment.

Updated diff with single unified PLT that optionally adds in the BTI prefix and AUTIA1716 before branch. This is less code overall as we don't have 4 similar PLT writing functions at the expense of being slightly more complicated.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62609/new/

https://reviews.llvm.org/D62609

Files:
  ELF/Arch/AArch64.cpp
  ELF/Arch/X86.cpp
  ELF/Arch/X86_64.cpp
  ELF/Config.h
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/Options.td
  ELF/Relocations.cpp
  ELF/SyntheticSections.cpp
  ELF/Writer.cpp
  docs/ld.lld.1
  test/ELF/Inputs/aarch64-addrifunc.s
  test/ELF/Inputs/aarch64-bti1.s
  test/ELF/Inputs/aarch64-btipac1.s
  test/ELF/Inputs/aarch64-func2.s
  test/ELF/Inputs/aarch64-func3-bti.s
  test/ELF/Inputs/aarch64-func3-btipac.s
  test/ELF/Inputs/aarch64-func3-pac.s
  test/ELF/Inputs/aarch64-func3.s
  test/ELF/Inputs/aarch64-nobti.s
  test/ELF/Inputs/aarch64-nopac.s
  test/ELF/Inputs/aarch64-pac1.s
  test/ELF/aarch64-bti-pac-cli-error.s
  test/ELF/aarch64-feature-bti.s
  test/ELF/aarch64-feature-btipac.s
  test/ELF/aarch64-feature-pac.s
  test/ELF/aarch64-ifunc-bti.s
  test/ELF/aarch64-property-relocatable.s
  test/ELF/i386-cet.s
  test/ELF/x86-property-relocatable.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62609.202897.patch
Type: text/x-patch
Size: 51625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/7d9ac818/attachment-0001.bin>


More information about the llvm-commits mailing list