<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ed@80386.nl" title="Ed Schouten <ed@80386.nl>"> <span class="fn">Ed Schouten</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - lld does not seem to support __start and __stop"
   href="https://llvm.org/bugs/show_bug.cgi?id=22906">bug 22906</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;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - lld does not seem to support __start and __stop"
   href="https://llvm.org/bugs/show_bug.cgi?id=22906#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - lld does not seem to support __start and __stop"
   href="https://llvm.org/bugs/show_bug.cgi?id=22906">bug 22906</a>
              from <span class="vcard"><a class="email" href="mailto:ed@80386.nl" title="Ed Schouten <ed@80386.nl>"> <span class="fn">Ed Schouten</span></a>
</span></b>
        <pre>Reopening this, as it has not been implemented completely.

The problem with the existing implementation is that __start and __stop symbols
are only added after reachability of sections has been computed. What I mean is
that __start and __stop cannot be used to mark sections as live. They will get
removed if --gc-sections is being used.

This is different from GNU Binutils, were a reference to __start or __stop is
sufficient to prevent the section from being garbage collected.</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>