Re: Support enforcing use of libgcc_s even with LINK_EH_SPEC

2011-11-22 Thread Michael Matz
Hi, On Mon, 21 Nov 2011, Jakub Jelinek wrote: > On Mon, Nov 21, 2011 at 05:40:26PM +0100, Rainer Orth wrote: > > 2011-11-20 Rainer Orth > > > > * gcc.c (init_gcc_specs) [USE_SHARED_LIBGCC_FOR_EH]: Always use > > libgcc_s. > > * config/sol2.h [USE_GLD] (USE_SHARED_LIBGCC_FOR_EH): D

Re: Support enforcing use of libgcc_s even with LINK_EH_SPEC

2011-11-21 Thread Jakub Jelinek
On Mon, Nov 21, 2011 at 05:40:26PM +0100, Rainer Orth wrote: > 2011-11-20 Rainer Orth > > * 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

Support enforcing use of libgcc_s even with LINK_EH_SPEC

2011-11-21 Thread Rainer Orth
: Define. # HG changeset patch # Parent 0f811d11987fd90895cf6fda7698d876e59f39a5 Support enforcing use of libgcc_s even with LINK_EH_SPEC diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -182,6 +182,8 @@ along with GCC; see the file COPYING3. --eh-frame-hdr to create the r