HomePhabricator

[ARM] Support .reloc *, R_ARM_NONE, *
Audit Required43ca0e9eb880

Authored by MaskRay on May 16 2019, 7:51 PM.

Description

[ARM] Support .reloc *, R_ARM_NONE, *

R_ARM_NONE can be used to create references among sections. When
--gc-sections is used, the referenced section will be retained if the
origin section is retained.

Add a generic MCFixupKind FK_NONE as this kind of no-op relocation is
ubiquitous on ELF and COFF, and probably available on many other binary
formats. See D62014.

Reviewed By: peter.smith

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

llvm-svn: 360980

Details

Auditors
grosbach
Committed
MaskRayMay 16 2019, 7:51 PM
Reviewer
peter.smith
Differential Revision
D61992: [ARM] Support .reloc *, R_ARM_NONE, *
Parents
rGa74d6543745b: [LFTR] Strengthen assertions in genLoopLimit [NFCI]
Branches
Unknown
Tags
Unknown