[ELF][AArch64] Correct relocation codes for R_<CLS>_PLT32
authorPeter Smith <peter.smith@arm.com>
Mon, 8 Jun 2020 07:58:13 +0000 (08:58 +0100)
committerPeter Smith <peter.smith@arm.com>
Wed, 10 Jun 2020 13:16:41 +0000 (14:16 +0100)
commit60f5b0ec7ce27e079513fdaa396acac30ab27bf2
treeef888febf355c18644ace9739a882b1df2fe9f83
parent040eca77170bea12ca0614cdb256b957c3b93810
[ELF][AArch64] Correct relocation codes for R_<CLS>_PLT32

The relocation codes for R_<CLS>_PLT32 are incorrectly in the dynamic
relocation range that starts at 1024 for AArch64 and 180 for AArch64_32.

Correct these so that they start at the next available static relocation
code in the non-TLS range. The R_<CLS>_PLT32 description is currently in
unpublished so this change corrects LLVM to match the values that will
appear in the final ELF for the 64-bit Arm Architecture document.

Differential Revision: https://reviews.llvm.org/D81410
llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test