[PATCH] D81184: [WIP][ELF][AArch64] Implement the logic for handling R_AARCH64_PLT32

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 19:51:36 PDT 2020


mcgrathr added a comment.

First implement the lld change with standalone tests covering all cases; that's one change.
Then do the assembly bits.  As others have said, follow the x86 model where `@plt` is required to request this reloc type.
The assembler doesn't do its own logic based on the symbols to decide what reloc types to use.  The assembly syntax has to request it directly.
When the compiler is producing a reference, it explicitly uses the `symbol at plt` syntax (or internal equivalent for integrated-as) when a PLT entry might be required.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81184





More information about the llvm-commits mailing list