http://sourceware.org/bugzilla/show_bug.cgi?id=13233
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-28 19:22:38 UTC --- This patch --- diff --git a/bfd/elflink.c b/bfd/elflink.c index a15ad27..42d2e97 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -11670,9 +11670,9 @@ _bfd_elf_gc_mark_extra_sections (struct bfd_link_info *info, /* 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)) + if ((isec->flags & SEC_DEBUGGING) != 0 + || (elf_next_in_group (isec) == NULL + && (isec->flags & (SEC_ALLOC | SEC_LOAD | SEC_RELOC)) == 0)) isec->gc_mark = 1; } return TRUE; --- works for me. -- 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