aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@cygnus.com>1998-09-21 14:23:16 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1998-09-21 14:23:16 +0000
commit43566944af69a4299260b1dcc46b5d5147a6bf8b (patch)
treea43642efc30725d344df8510a724e7c0484f883b /gcc/except.c
parent7e8524dca9f8c5a7ad953de46f2d430febe98cb0 (diff)
downloadgcc-43566944af69a4299260b1dcc46b5d5147a6bf8b.zip
gcc-43566944af69a4299260b1dcc46b5d5147a6bf8b.tar.gz
gcc-43566944af69a4299260b1dcc46b5d5147a6bf8b.tar.bz2
expr.h (eh_rtime_match_libfunc): New extern declaration.
Mon Sep 21 17:15:26 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> * expr.h (eh_rtime_match_libfunc): New extern declaration. * optabs.c (init_optabs): Set eh_rtime_match_libfunc. * except.c (start_catch_handler): Use eh_rtime_match_libfunc. * libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is NULL. Only include <stdio.h> if inhibit_libc is not defined. From-SVN: r22532
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 2ac0217..867b4a5 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1629,9 +1629,8 @@ start_catch_handler (rtime)
rtime_address = force_reg (Pmode, rtime_address);
/* Now issue the call, and branch around handler if needed */
- call_rtx = emit_library_call_value
- (gen_rtx_SYMBOL_REF (Pmode, "__eh_rtime_match"), NULL_RTX,
- 0, SImode, 1, rtime_address, Pmode);
+ call_rtx = emit_library_call_value (eh_rtime_match_libfunc, NULL_RTX,
+ 0, SImode, 1, rtime_address, Pmode);
/* Did the function return true? */
emit_cmp_insn (call_rtx, const0_rtx, EQ, NULL_RTX,