From: danglin Date: Sun, 23 Oct 2005 18:43:30 +0000 (+0000) Subject: PR ada/23957 X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=5251cf0ca447a3eb11f9f49ee6c0ef7367a8b2dc PR ada/23957 * except.c (output_function_exception_table): Call assemble_external_libcall if we need a personality function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105819 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce0991ca769..2b8de766fbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-10-23 John David Anglin + + PR ada/23957 + * except.c (output_function_exception_table): Call + assemble_external_libcall if we need a personality function. + 2005-10-21 Eric Botcazou PR rtl-optimization/24460 diff --git a/gcc/except.c b/gcc/except.c index 4e51d3ef251..7f317625924 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -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);