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
This commit is contained in:
James E Wilson 2003-11-30 08:23:23 +00:00 committed by Jim Wilson
parent 5583e33da8
commit 348d71c7cf
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2003-11-29 James E Wilson <wilson@specifixinc.com>
* 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.

View File

@ -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;
}