<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 - --print-gc-sections: print group signatures"
   href="https://bugs.llvm.org/show_bug.cgi?id=46783">46783</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>--print-gc-sections: print group signatures
          </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>Petr Hosek reported that GNU ld has a nicer information. For example:

% cat a.s
.section .text.foo,"aG",@progbits,foo,comdat
.byte 0
.section __sancov_cntrs,"aG",@progbits,foo,comdat
.byte 0

% ld.lld --gc-sections --print-gc-sections -e 0 a.o -o a
removing unused section a.o:(.text)
removing unused section a.o:(.text.foo)
removing unused section a.o:(__sancov_cntrs)

### Ggroup signature in the output.
% ld.bfd --gc-sections --print-gc-sections -e 0 a.o -o a
ld.bfd: removing unused section '.group' in file 'a.o'
ld.bfd: removing unused section '.text.foo[foo]' in file 'a.o'
ld.bfd: removing unused section '__sancov_cntrs[foo]' in file 'a.o'</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>