From: Zack Weinberg Date: Wed, 31 Dec 2003 21:30:22 +0000 (+0000) Subject: gcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a938c8d2b45fdabec598345b25c2436839cbfe9;p=gcc.git gcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS. * gcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS. From-SVN: r75276 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 499ba1482ae..9b0ec54348d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-31 Zack Weinberg + + * gcc.c (init_spec): Add -lunwind to shared case too if + USE_LIBUNWIND_EXCEPTIONS. + 2003-12-31 Joseph S. Myers * doc/include/texinfo.tex: Update to version 2003-12-21.10. @@ -311,7 +316,7 @@ 2003-12-25 Andrew Pinski PR C++/13429, C/11944 - * c-common.c (c_build_qualified_type): Return early when type is + * c-common.c (c_build_qualified_type): Return early when type is error_mark_node. (c_apply_type_quals_to_decl): Likewise. diff --git a/gcc/gcc.c b/gcc/gcc.c index bc6d4c4235b..27024fa9e4e 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1632,6 +1632,9 @@ init_spec (void) "-lgcc_s" #else "-lgcc_s%M" +#endif +#ifdef USE_LIBUNWIND_EXCEPTIONS + " -lunwind" #endif , "-lgcc", @@ -1653,6 +1656,9 @@ init_spec (void) "-lgcc_s" #else "-lgcc_s%M" +#endif +#ifdef USE_LIBUNWIND_EXCEPTIONS + " -lunwind" #endif , "libgcc.a%s",