diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2005-10-23 18:43:30 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2005-10-23 18:43:30 +0000 |
commit | 8a36d7d180fda6001941bd02b91ccf96db67e1c1 (patch) | |
tree | 97811d9803626feb6198769a9421ffe28ff72ad8 /gcc | |
parent | 2853e5127d7dcac713ad509ab44c5c0028037dca (diff) | |
download | gcc-8a36d7d180fda6001941bd02b91ccf96db67e1c1.zip gcc-8a36d7d180fda6001941bd02b91ccf96db67e1c1.tar.gz gcc-8a36d7d180fda6001941bd02b91ccf96db67e1c1.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/except.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce0991c..2b8de76 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/except.c b/gcc/except.c index 4e51d3e..7f31762 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); |