[PATCH] D101814: [lld-macho] Preliminary support for ARM_RELOC_BR24
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 3 22:33:39 PDT 2021
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a subscriber: kristof.beyls.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
ARM_RELOC_BR24 is used for BL/BLX instructions from within ARM (i.e. not
Thumb) code. This diff just handles the basic case: branches from ARM to
ARM, or from ARM to Thumb where no shimming is required. (See comments
in ARM.cpp for why shims are required.)
Note: I will likely be deprioritizing ARM work for the near future to
focus on other parts of LLD. Apologies for the half-done state of this;
I'm just trying to wrap up what I've already worked on.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101814
Files:
lld/MachO/Arch/ARM.cpp
lld/test/MachO/arm-branch-relocs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101814.342644.patch
Type: text/x-patch
Size: 5244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210504/d27b653d/attachment.bin>
More information about the llvm-commits
mailing list