This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] GCC side of .eh_frame_hdr support (take 2)
On Thu, Dec 13, 2001 at 06:01:20PM -0500, Jakub Jelinek wrote:
> * gcc.c (init_gcc_specs): If LINK_EH_SPEC is defined, default to
> -static-libgcc even for -shared for languages which don't normally
> use EH.
The think I worry about here is someone linking mixed c/c++ code
with the gcc driver, pulling in a copy of the unwind routines, and
re-exporting them.
I don't see any good solutions to this. The only one I see is
splitting the unwind routines into another archive library.
Otherwise this looks good.
r~