------- Comment #7 from ebotcazou at gcc dot gnu dot org 2008-09-30 19:41 ------- > I'm a bit unsure how to test this right now: what I find is that C objects > have read-only .eh_frame sections and use .cfi* directives, while C++, Java > and Ada objects have read-write .eh_frame sections and still use .eh_frame > sections directly emitted by the compiler.
I think that we should assemble some C code with CFI directives and see whether the resulting .eh_frame is read-only; if so, HAVE_GAS_CFI_DIRECTIVE must be set to 0 instead of 1. This should discriminate between 2.18 and upcoming 2.19. That the non-C compilers still emit .eh_frame directly is unexpected I'd think. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37463