[all-commits] [llvm/llvm-project] 058a8c: [MC][ARM] Resolve some pcrel fixups at assembly ti...
Hans via All-commits
all-commits at lists.llvm.org
Thu Feb 27 03:49:20 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 058a8cd73f33ae7be7bef469c1b7c2d5fdaa4b24
https://github.com/llvm/llvm-project/commit/058a8cd73f33ae7be7bef469c1b7c2d5fdaa4b24
Author: Hans Wennborg <hans at chromium.org>
Date: 2020-02-27 (Thu, 27 Feb 2020)
Changed paths:
M llvm/include/llvm/MC/MCFixupKindInfo.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
M llvm/test/MC/ARM/Windows/invalid-relocation.s
A llvm/test/MC/ARM/pcrel-global.s
M llvm/test/MC/MachO/ARM/bad-darwin-ARM-reloc.s
Log Message:
-----------
[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
(cherry picked from commit 2e24219d3cbfcb8c824c58872f97de0a2e94a7c8)
More information about the All-commits
mailing list