[PATCH] D99822: [lld-macho] Add support for arm64_32
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 2 16:54:43 PDT 2021
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added subscribers: kristof.beyls, mgorny.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
>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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99822
Files:
lld/MachO/Arch/ARM64.cpp
lld/MachO/Arch/ARM64Common.cpp
lld/MachO/Arch/ARM64Common.h
lld/MachO/Arch/ARM64_32.cpp
lld/MachO/CMakeLists.txt
lld/MachO/Driver.cpp
lld/MachO/Target.h
lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libSystem.tbd
lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libc++.tbd
lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libc++abi.tbd
lld/test/MachO/arm64-32-stubs.s
lld/test/MachO/header.s
lld/test/MachO/lit.local.cfg
lld/test/MachO/segments.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99822.335046.patch
Type: text/x-patch
Size: 36450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210402/5ecbe498/attachment.bin>
More information about the llvm-commits
mailing list