aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-05-17 17:53:52 +0000
committerJeff Law <law@gcc.gnu.org>2001-05-17 11:53:52 -0600
commit8979edec07977e922f0534a4a29e720a5b983fa6 (patch)
tree0a88f0cccfa9e600c81a96c602ea6c927d128057 /gcc/except.c
parent992550d9a688aed347411c45abfd6ef70f11386f (diff)
downloadgcc-8979edec07977e922f0534a4a29e720a5b983fa6.zip
gcc-8979edec07977e922f0534a4a29e720a5b983fa6.tar.gz
gcc-8979edec07977e922f0534a4a29e720a5b983fa6.tar.bz2
except.c (sjlj_emit_function_enter): Call assemble_external_libcall for eh_personality_libfunc.
* except.c (sjlj_emit_function_enter): Call assemble_external_libcall for eh_personality_libfunc. From-SVN: r42216
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index b777136..35d76cb 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2139,6 +2139,10 @@ sjlj_emit_function_enter (dispatch_label)
start_sequence ();
+ /* We're storing this libcall's address into memory instead of
+ calling it directly. Thus, we must call assemble_external_libcall
+ here, as we can not depend on emit_library_call to do it for us. */
+ assemble_external_libcall (eh_personality_libfunc);
mem = change_address (fc, Pmode,
plus_constant (XEXP (fc, 0), sjlj_fc_personality_ofs));
emit_move_insn (mem, eh_personality_libfunc);