Commit 348d71c7 by James E Wilson Committed by Jim Wilson

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
parent 5583e33d
2003-11-29 James E Wilson <wilson@specifixinc.com> 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. * final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
* reload1.c (reload): Re-add it here. * reload1.c (reload): Re-add it here.
......
...@@ -1633,12 +1633,14 @@ init_spec (void) ...@@ -1633,12 +1633,14 @@ init_spec (void)
#else #else
"-lgcc_s%M" "-lgcc_s%M"
#endif #endif
,
"-lgcc",
"-lgcc_eh"
#ifdef USE_LIBUNWIND_EXCEPTIONS #ifdef USE_LIBUNWIND_EXCEPTIONS
" -lunwind" " -lunwind"
#endif #endif
, );
"-lgcc",
"-lgcc_eh");
p += 5; p += 5;
in_sep = 0; in_sep = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment