This patch allows for usage of the @PLT modifier in AArch64 assembly which lowers to an R_AARCH64_PLT32 relocation. See D81184 for handling this relocation in lld.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | ||
---|---|---|
402 | Reusing PREL32 seems wrong. | |
llvm/test/MC/AArch64/elf-reloc-plt32.s | ||
1 | Just use -triple=aarch64. You are testing a generic ELF behavior. Don't append Linux or Fuchsia. | |
8 | This line is redundant | |
9 | Replace 4 with {{.*}} | |
10 | Better adding a CHECK-NEXT: } |
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | ||
---|---|---|
402 | Split into another case. From what I could tell, it should be nearly the same except the upper bound is 2^31. |
Reusing PREL32 seems wrong.