[all-commits] [llvm/llvm-project] 60f5b0: [ELF][AArch64] Correct relocation codes for R_<CLS...

Peter Smith via All-commits all-commits at lists.llvm.org
Wed Jun 10 06:21:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60f5b0ec7ce27e079513fdaa396acac30ab27bf2
      https://github.com/llvm/llvm-project/commit/60f5b0ec7ce27e079513fdaa396acac30ab27bf2
  Author: Peter Smith <peter.smith at arm.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test

  Log Message:
  -----------
  [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




More information about the All-commits mailing list