[PATCH] D25721: [LLD][ARM] Allow relative exceptions relocations in shared libraries
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 19 06:30:04 PDT 2016
peter.smith updated this revision to Diff 75135.
peter.smith added a comment.
Thank you for the review. I've implemented the suggestion to add a R_TLSDESC_CALL RelExpr and used R_HINT for R_ARM_NONE and R_MIPS_JALR.
It could be possible to get rid of R_TLSDESC_CALL by replacing "Expr == R_TLSDESC_CALL" by
"Expr == R_HINT && Target->isTlsDescCall(Type)"
However I think that R_TLSDESC_CALL is worth keeping individually as it is common to x86, ARM and AArch64 even if it is only implemented in AArch64 in lld.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5783 bytes
Desc: not available
More information about the llvm-commits