[all-commits] [llvm/llvm-project] da7453: [LLD][ELF][ARM] use .reloc directive for Thumb ass...
Peter Smith via All-commits
all-commits at lists.llvm.org
Fri Apr 3 03:47:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: da74537e870d7b40ae927c51e67138c416560d23
https://github.com/llvm/llvm-project/commit/da74537e870d7b40ae927c51e67138c416560d23
Author: Peter Smith <peter.smith at arm.com>
Date: 2020-04-03 (Fri, 03 Apr 2020)
Changed paths:
M lld/test/ELF/arm-thumb-adr-err.s
M lld/test/ELF/arm-thumb-adr.s
M lld/test/ELF/arm-thumb-ldrlit-err.s
M lld/test/ELF/arm-thumb-ldrlit.s
M lld/test/ELF/arm-thumb2-adr-err.s
M lld/test/ELF/arm-thumb2-adr.s
M lld/test/ELF/arm-thumb2-ldrlit-err.s
M lld/test/ELF/arm-thumb2-ldrlit.s
Log Message:
-----------
[LLD][ELF][ARM] use .reloc directive for Thumb assembler tests
In the near future llvm-mc will resolve the fixups that generate
R_ARM_THUMB_PC8 and R_ARM_THUMB_PC12 at assembly time (see comments in
D72892), and forbid inter-section references. Change the LLD tests for
these relocations to use .inst and .reloc to avoid LLD tests failing when
this happens. The tests generate the same instructions, relocations
and symbols.
I will need to make equivalent changes for D75349 Arm equivalent
relocations, but this is still in review so these don't need changing
before llvm-mc.
Differential Revision: https://reviews.llvm.org/D77200
More information about the All-commits
mailing list