From: James E Wilson Date: Sun, 30 Nov 2003 08:23:23 +0000 (+0000) Subject: Fix ia64 libunwind gnatmake link error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=348d71c7cf8b62413403fcf586af2a7c3e870ecd;p=gcc.git Fix ia64 libunwind gnatmake link error. * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name instead of in shared_name. From-SVN: r74054 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 22908dedea9..af489925260 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-11-29 James E Wilson + * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name + instead of in shared_name. + * final.c (final_start_function): Delete code for NON_SAVING_SETJMP. * reload1.c (reload): Re-add it here. diff --git a/gcc/gcc.c b/gcc/gcc.c index b54fc0796f7..f6f0ec15f41 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1633,12 +1633,14 @@ init_spec (void) #else "-lgcc_s%M" #endif + , + "-lgcc", + "-lgcc_eh" #ifdef USE_LIBUNWIND_EXCEPTIONS " -lunwind" #endif - , - "-lgcc", - "-lgcc_eh"); + ); + p += 5; in_sep = 0; }