<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:peter.smith@linaro.org" title="Peter Smith <peter.smith@linaro.org>"> <span class="fn">Peter Smith</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11"
   href="https://bugs.llvm.org/show_bug.cgi?id=36542">bug 36542</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11"
   href="https://bugs.llvm.org/show_bug.cgi?id=36542#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LTO ARM thumb relocation overflow in R_ARM_THM_JUMP11"
   href="https://bugs.llvm.org/show_bug.cgi?id=36542">bug 36542</a>
              from <span class="vcard"><a class="email" href="mailto:peter.smith@linaro.org" title="Peter Smith <peter.smith@linaro.org>"> <span class="fn">Peter Smith</span></a>
</span></b>
        <pre>This particular error should be fixed by <a href="https://reviews.llvm.org/D44928">https://reviews.llvm.org/D44928</a>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>