bug-binutils
[Top][All Lists]
Advanced

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

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


From: hjl.tools at gmail dot com
Subject: [Bug ld/13233] --gc-sections discards .debug_types
Date: Wed, 28 Sep 2011 19:16:32 +0000

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-28 19:16:32 
UTC ---
Since .debug_types is in a comdat group section, it is discarded by

      /* Keep debug and special sections like .comment when they are
         not part of a group.  */
      for (isec = ibfd->sections; isec != NULL; isec = isec->next)
        if (elf_next_in_group (isec) == NULL
            && ((isec->flags & SEC_DEBUGGING) != 0
                || (isec->flags & (SEC_ALLOC | SEC_LOAD | SEC_RELOC)) == 0))
          isec->gc_mark = 1;

-- 
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]