This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/37463] [4.4 regression] All Solaris/x86 eh tests fail
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2008 19:41:17 -0000
- Subject: [Bug other/37463] [4.4 regression] All Solaris/x86 eh tests fail
- References: <bug-37463-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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