[all-commits] [llvm/llvm-project] e727f3: [LLD][ELF][ARM] Don't apply --fix-cortex-a8 to rel...
Peter Smith via All-commits
all-commits at lists.llvm.org
Wed Jan 22 03:04:53 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e727f39ec0b15ee8aec52e83467299d79b2ea8f5
https://github.com/llvm/llvm-project/commit/e727f39ec0b15ee8aec52e83467299d79b2ea8f5
Author: Peter Smith <peter.smith at linaro.org>
Date: 2020-01-22 (Wed, 22 Jan 2020)
Changed paths:
M lld/ELF/Driver.cpp
M lld/test/ELF/arm-fix-cortex-a8-recognize.s
Log Message:
-----------
[LLD][ELF][ARM] Don't apply --fix-cortex-a8 to relocatable links.
The --fix-cortex-a8 is sensitive to alignment and the precise destination
of branch instructions. These are not knowable at relocatable link time. We
follow GNU ld and the --fix-cortex-a53-843419 (D72968) by not patching the
code when there is a relocatable link.
Differential Revision: https://reviews.llvm.org/D73100
More information about the All-commits
mailing list