bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13233] New: --gc-sections discards .debug_types


From: jan.kratochvil at redhat dot com
Subject: [Bug ld/13233] New: --gc-sections discards .debug_types
Date: Wed, 28 Sep 2011 18:40:32 +0000

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: address@hidden
        ReportedBy: address@hidden
    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]