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/except.c | |
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/except.c')
-rw-r--r-- | gcc/except.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |