<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PowerPC64] lld is processing R_PPC64_ADDR64 relocations incorrectly"
   href="https://bugs.llvm.org/show_bug.cgi?id=40865">40865</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PowerPC64] lld is processing R_PPC64_ADDR64 relocations incorrectly
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ELF
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>luporl@FreeBSD.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On PowerPC64, the relocations of FreeBSD kernel modules metadata are not being
resolved correctly.

For instance, the relocations below end up turning into zeroes, after the final
link step:

RELOCATION RECORDS FOR [set_modmetadata_set]:
OFFSET           TYPE              VALUE 
0000000000000000 R_PPC64_ADDR64    .data
0000000000000008 R_PPC64_ADDR64    .data+0x0000000000000018

But when linking with ld.bfd instead, they are replaced by .data and .data+0x18
addresses.</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>