[llvm-bugs] [Bug 36542] LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 14 08:49:42 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36542

Peter Smith <peter.smith at linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #23 from Peter Smith <peter.smith at linaro.org> ---
This particular error should be fixed by https://reviews.llvm.org/D44928
committed in r334078 and r334085. I've checked that the attached test case no
longer results in a relocation overflow error.

The WriteNop still uses the MCSubtargetInfo passed in to the Assembler backend.
There are patches to fix this:
1 [MC] Move bundling and MCSubtargetInfo to MCEncodedFragment [NFC] D45959
2 [MC] Add MCSubtargetInfo to MCPaddingFragment [NFC] D45960
3 [MC] Add MCSubtargetInfo to MCAlignFragment [NFC] D45961
4 [MC] Use local MCSubtargetInfo in writeNops D45962 

However as the encoding of the NOP instruction isn't pertinent to this PR I
think it is worth resolving this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180614/7d7a6a36/attachment.html>


More information about the llvm-bugs mailing list