HomePhabricator

[lld-macho] Add support for arm64_32

Authored by int3 on Apr 15 2021, 6:14 PM.

Description

[lld-macho] Add support for arm64_32

From what I can tell, it's pretty similar to arm64. The two main differences
are:

  1. No 64-bit relocations
  2. Stub code writes to 32-bit registers instead of 64-bit

Plus of course the various on-disk structures like segment_command are using
the 32-bit instead of the 64-bit variants.

Reviewed By: #lld-macho, gkm

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

Details

Committed
int3Apr 15 2021, 6:16 PM
Reviewer
Restricted Project
Differential Revision
D99822: [lld-macho] Add support for arm64_32
Parents
rGdb7a413e51c5: [lld-macho] Re-root absolute input file paths if -syslibroot is specified
Branches
Unknown
Tags
Unknown