<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 - --wrap: don't leave __wrap_foo in .dynsym if it is unused"
   href="https://bugs.llvm.org/show_bug.cgi?id=46169">46169</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>--wrap: don't leave __wrap_foo in .dynsym if it is unused
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </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>ELF
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>i@maskray.me
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, smithp352@googlemail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I committed <a href="http://reviews.llvm.org/rGa6ae333a0c23fc9b0783ca45e2676abac00c6723">http://reviews.llvm.org/rGa6ae333a0c23fc9b0783ca45e2676abac00c6723</a>
in a hurry to fix a regression after I landed <a href="https://reviews.llvm.org/D51283">https://reviews.llvm.org/D51283</a>
to fix a Chrome problem
(<a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1086636#c21">https://bugs.chromium.org/p/chromium/issues/detail?id=1086636#c21</a> )

I noticed at least another incompatibility with GNU ld and gold

See lld/test/ELF/wrap-shlib-undefined.s

<span class="quote">> ## FIXME GNU ld does not export __wrap_foo</span ></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>