Added support and test for ELF::R_ARM_JUMP24
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
Is the test actually working right now? Since we always use indirection stubs and we only have a Thumb implementation right now, my quick assumption was that the TargetSymbol should always have the ThumbSymbol flag set (and thus always bail out). Maybe I find the time in the next days to look into it myself and give some informed feedback.
llvm/lib/ExecutionEngine/JITLink/aarch32.cpp | ||
---|---|---|
412 | Nit: bridging to Thumb |
Comment Actions
Yes it passes on my machine. I observe that TargetSymbol.hasTargetFlags(ThumbSymbol) outputs "0" in applyFixupArm so that might be the reason for not bailing out.
Comment Actions
I think this can land as soon as the test fits with the (now) existing ELF_static_arm_reloc.s and your previous patch is in.
Comment Actions
Update jitlink-check condition as an explicit offset similar to the change in D157533
Nit: bridging to Thumb