Commit 8979edec by Jeffrey A Law Committed by Jeff Law

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
parent 992550d9
Thu May 17 11:54:50 2001 Jeffrey A Law (law@cygnus.com)
* except.c (sjlj_emit_function_enter): Call assemble_external_libcall
for eh_personality_libfunc.
Thu May 17 19:48:00 CEST 2001 Jan Hubicka <jh@suse.cz> Thu May 17 19:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
* recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
......
...@@ -2139,6 +2139,10 @@ sjlj_emit_function_enter (dispatch_label) ...@@ -2139,6 +2139,10 @@ sjlj_emit_function_enter (dispatch_label)
start_sequence (); 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, mem = change_address (fc, Pmode,
plus_constant (XEXP (fc, 0), sjlj_fc_personality_ofs)); plus_constant (XEXP (fc, 0), sjlj_fc_personality_ofs));
emit_move_insn (mem, eh_personality_libfunc); emit_move_insn (mem, eh_personality_libfunc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment