On Mon, Nov 21, 2011 at 05:40:26PM +0100, Rainer Orth wrote: > 2011-11-20 Rainer Orth <r...@cebitec.uni-bielefeld.de> > > * gcc.c (init_gcc_specs) [USE_SHARED_LIBGCC_FOR_EH]: Always use > libgcc_s. > * config/sol2.h [USE_GLD] (USE_SHARED_LIBGCC_FOR_EH): Define.
That's an ugly hack. IMHO we just want to do what has been discussed earlier, ensure that generated EH info and code generation isn't actually pessimized because of the clobbers, at least not in the common cases. Jakub