diff options
author | James E Wilson <wilson@specifixinc.com> | 2003-12-04 06:07:03 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2003-12-03 22:07:03 -0800 |
commit | aedec8ddd22c81f7afec5423accb4175cad874b0 (patch) | |
tree | af1c6004cb1229e59ffb8f7b44a7828f6eb8a3ce | |
parent | c743369c899792f072e01e8236ddca8819c310ac (diff) | |
download | gcc-aedec8ddd22c81f7afec5423accb4175cad874b0.zip gcc-aedec8ddd22c81f7afec5423accb4175cad874b0.tar.gz gcc-aedec8ddd22c81f7afec5423accb4175cad874b0.tar.bz2 |
libunwind cleanup
libunwind cleanup
* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name.
* g++spec.c (lang_specific_driver): Delete USE_LIBUNWIND_EXCEPTIONS
support.
From-SVN: r74273
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/g++spec.c | 7 | ||||
-rw-r--r-- | gcc/gcc.c | 6 |
4 files changed, 12 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98e7534..2e63214 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,6 +7,8 @@ 2003-12-03 James E Wilson <wilson@specifixinc.com> + * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name. + * gcc-page.c (extra_order_size_tab): Correct comment. 2003-12-03 Kazu Hirata <kazu@cs.umass.edu> diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dbb0d00..451b459 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-12-03 James E Wilson <wilson@specifixinc.com> + + * g++spec.c (lang_specific_driver): Delete USE_LIBUNWIND_EXCEPTIONS + support. + 2003-12-03 Mark Mitchell <mark@codesourcery.com> PR c++/13179 diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c index 4951ff3..e6c9ee6 100644 --- a/gcc/cp/g++spec.c +++ b/gcc/cp/g++spec.c @@ -302,13 +302,6 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, { arglist[j++] = saw_profile_flag ? LIBSTDCXX_PROFILE : LIBSTDCXX; added_libraries++; -#ifdef USE_LIBUNWIND_EXCEPTIONS -# ifndef LIBUNWIND -# define LIBUNWIND "-lunwind" -# endif - arglist[j++] = LIBUNWIND; - added_libraries++; -#endif } if (saw_math) arglist[j++] = saw_math; @@ -1656,7 +1656,11 @@ init_spec (void) #endif , "libgcc.a%s", - "libgcc_eh.a%s"); + "libgcc_eh.a%s" +#ifdef USE_LIBUNWIND_EXCEPTIONS + " -lunwind" +#endif + ); p += 10; in_sep = 0; } |