This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Preliminary support for ARM_RELOC_BR24
ClosedPublic

Authored by int3 on May 3 2021, 10:33 PM.

Details

Summary

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.

Diff Detail

Event Timeline

int3 created this revision.May 3 2021, 10:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2021, 10:33 PM
int3 requested review of this revision.May 3 2021, 10:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2021, 10:33 PM
int3 updated this revision to Diff 342649.May 3 2021, 10:51 PM

tweak ascii art

This revision is now accepted and ready to land.May 3 2021, 11:07 PM
This revision was landed with ongoing or failed builds.May 5 2021, 11:42 AM
This revision was automatically updated to reflect the committed changes.