The BF ones translate into new ELF relocations, whereas the LOL ones
are handled entirely internally.
Details
Details
- Reviewers
dmgreen samparker SjoerdMeijer
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30546 Build 30545: arc lint + arc unit
Event Timeline
Comment Actions
I think it would be better to fold this patch in with whatever smallest unit makes it testable. Probably by splitting up the different fixups to go in with the instruction that uses them.
llvm/include/llvm/BinaryFormat/ELFRelocs/ARM.def | ||
---|---|---|
139 | This is listed in the ABI (https://developer.arm.com/docs/ihi0044/latest/elf-for-the-arm-architecture-abi-2019q1-documentation) as R_ARM_THM_BF12. | |
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | ||
269 | This should also check for negative offsets. | |
304 | Should this be "< 0"? |
This is listed in the ABI (https://developer.arm.com/docs/ihi0044/latest/elf-for-the-arm-architecture-abi-2019q1-documentation) as R_ARM_THM_BF12.