[all-commits] [llvm/llvm-project] 69937a: [llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jun 29 11:23:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69937a8080bc4828f0b317cd54a03ed2704b661a
      https://github.com/llvm/llvm-project/commit/69937a8080bc4828f0b317cd54a03ed2704b661a
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    A llvm/test/tools/llvm-objcopy/MachO/arm64-relocs.s
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.h

  Log Message:
  -----------
  [llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND

An ARM64_RELOC_ADDEND relocation reuses the symbol field for the addend value.
We should pass through such relocations.

Reviewed By: alexander-shaposhnikov

Differential Revision: https://reviews.llvm.org/D104967




More information about the All-commits mailing list