This adds support for the R_HEX_6_X relocation type. There are several relocations that have irregular relocation masks, R_HEX_6_X having by far the most.
Details
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
ELF/Arch/Hexagon.cpp | ||
---|---|---|
34 | Move this into findMaskR6. | |
78 | I'd use the plain C array: static const InstructionMask R6 = { ... };. | |
103 | You should use error() to report an error that can be triggered by a bad input. llvm_unreachable is our version of assert() and that shouldn't be used other than reporting a bug of lld itself. |
Move this into findMaskR6.