HomeFreeBSD

Merge commit 2e24219d3 from llvm git (by Hans Wennborg):

Description

Merge commit 2e24219d3 from llvm git (by Hans Wennborg):

[MC][ARM] Resolve some pcrel fixups at assembly time (PR44929)

MC currently does not emit these relocation types, and lld does not
handle them. Add FKF_Constant as a work-around of some ARM code after
D72197. Eventually we probably should implement these relocation
types.

By Fangrui Song!

Differential revision: https://reviews.llvm.org/D72892

This re-enables using the arm 'adr' pseudo instruction on global symbols
again. It was broken as a side-effect of upstream commit 2bfee35cb,
which lead to "error: unsupported relocation on symbol" when assembling
such constructs, which are used in e.g. sys/arm/arm/locore-v[46].S.

PR: 244251

Details

Provenance
dimAuthored on
Parents
rS358395: Add workaround for models which do not follow the ACPI specification strictly.
Branches
Unknown
Tags
Unknown