<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 - Please backport r341312 - [Aarch64] Fix linker emulation for Aarch64 big endian"
   href="https://bugs.llvm.org/show_bug.cgi?id=39468">39468</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Please backport r341312 - [Aarch64] Fix linker emulation for Aarch64 big endian
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org, richard-llvm@metafoo.co.uk
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>39106
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've received a bug report from our AArch64 team that clang fails on big-endian
userspace.  Apparently, it has been already fixed in trunk and since the fix is
quite obvious, I'd like to request backporting it to 7.0.1.

The commit is r341312, i.e.:

---
[Aarch64] Fix linker emulation for Aarch64 big endian

This patch fixes target linker emulation for aarch64 big endian.
aarch64_be_linux is not recognized by gnu ld. The equivalent emulation
mode supported by gnu ld is aarch64linuxb.

Patch by: Bharathi Seshadri

Reviewed by: Peter Smith

Differential Revision: <a href="https://reviews.llvm.org/D42930">https://reviews.llvm.org/D42930</a>



git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@341312">https://llvm.org/svn/llvm-project/cfe/trunk@341312</a>
91177308-0d34-0410-b5e6-96231b3b80d8</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 7.0.1 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=39106">Bug 39106</a>] [meta] 7.0.1 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

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