[all-commits] [llvm/llvm-project] 05fb76: [AArch64][MachO] Drop a 2015 ld64 workaround avoid...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 29 17:59:29 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
    M llvm/test/MC/MachO/AArch64/ld64-workaround.s
    M llvm/test/MC/MachO/AArch64/mergeable.s

  Log Message:
  -----------
  [AArch64][MachO] Drop a 2015 ld64 workaround avoiding local relocations

Commit d6223a24718df3c30b67422c2eb6d0e93af9c4e8 introduced an ld64 workaround
that disables local relocations for many pointer-sized relocations (e.g.
relocations referencing `__DATA,__literal*`).

ld64 has been fixed long ago (2015). Drop this workaround so that the
behavior matches x86-64.

Reviewed By: pete

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




More information about the All-commits mailing list