https://sourceware.org/bugzilla/show_bug.cgi?id=17553

--- Comment #8 from Alan Modra <amodra at gmail dot com> ---
> .eh_frame      0x00000500       0x80 test2.o
>                                 0xb0 (size before relaxing)
That says the duplicate CIE has been dropped, but not the FDE for the discarded
section.  (Hmm, check that the map file lists the discarded sections from
test2.o comdat groups)

> .eh_frame      0x00000000000004f0       0x2c test2.o
>                                         0xb0 (size before relaxing)
Whereas here both the CIE and FDE have been dropped, as they should be.

The decision to drop FDEs is made in elf_eh_frame.c line 1175:
    keep = !(*reloc_symbol_deleted_p) (ent->offset + 8, cookie);

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