http://sourceware.org/bugzilla/show_bug.cgi?id=13233

             Bug #: 13233
           Summary: --gc-sections discards .debug_types
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sourceware.org
        ReportedBy: jan.kratoch...@redhat.com
    Classification: Unclassified
            Target: x86_64-fedora16-linux-gnu


echo 'class C{}c;int main(){}'|g++ -c -o 27.o -Wall -gdwarf-4
-fdebug-types-section -x c++ -;g++ -o 27 27.o -Wall -Wl,--gc-sections

.debug_info:
    <52>   DW_AT_type        : signature: 13f2b295a1b7fce5      

but there is no .debug_types.

gold works OK.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to