re PR ada/23957 (ld terminated with signal 10 [Bus error] linking libgnat-4.0.sl)
PR ada/23957 * except.c (output_function_exception_table): Call assemble_external_libcall if we need a personality function. From-SVN: r105819
This commit is contained in:
parent
2853e5127d
commit
8a36d7d180
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-10-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR ada/23957
|
||||
* except.c (output_function_exception_table): Call
|
||||
assemble_external_libcall if we need a personality function.
|
||||
|
||||
2005-10-21 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
PR rtl-optimization/24460
|
||||
|
|
|
@ -3516,13 +3516,15 @@ output_function_exception_table (void)
|
|||
int have_tt_data;
|
||||
int tt_format_size = 0;
|
||||
|
||||
if (eh_personality_libfunc)
|
||||
assemble_external_libcall (eh_personality_libfunc);
|
||||
|
||||
/* Not all functions need anything. */
|
||||
if (! cfun->uses_eh_lsda)
|
||||
return;
|
||||
|
||||
#ifdef TARGET_UNWIND_INFO
|
||||
/* TODO: Move this into target file. */
|
||||
assemble_external_libcall (eh_personality_libfunc);
|
||||
fputs ("\t.personality\t", asm_out_file);
|
||||
output_addr_const (asm_out_file, eh_personality_libfunc);
|
||||
fputs ("\n\t.handlerdata\n", asm_out_file);
|
||||
|
|
Loading…
Add table
Reference in a new issue