<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [elf2] implement __start_SECNAME and __stop_SECNAME"
   href="https://llvm.org/bugs/show_bug.cgi?id=25188">25188</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[elf2] implement __start_SECNAME and __stop_SECNAME
          </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>All
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>chisophugis@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is required by D13329 (r250200).

In D13329, the following quote from Ian Taylor:

"When a section name is a valid C identifier, the linker automatically provides
__start and __stop symbols set to the addresses of the beginning and end of the
section.  The symbols are __start_SECNAME and __stop_SECNAME where SECNAME is
the name of the section.

This is not defined by the ELF ABI, but it is completely reliable on
GNU/Linux.  In fact it is reliable on any ELF system except possibly
Solaris, and it probably works on Solaris too.  This is definitely
what you should do instead of using a linker script.  It's more
reliable and more efficient, and it's what everybody else does"</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>