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
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>
+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
{
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;
#endif
,
"libgcc.a%s",
- "libgcc_eh.a%s");
+ "libgcc_eh.a%s"
+#ifdef USE_LIBUNWIND_EXCEPTIONS
+ " -lunwind"
+#endif
+ );
p += 10;
in_sep = 0;
}