From 8960ab1a988069cd69a711111177b4c44bfb8512 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 2 Aug 1997 13:18:49 -0400 Subject: [PATCH] (chkr_{check_addr,set_right}_libfunc): New definitions. (chkr_{copy_bitmap,check_exec}_libfunc): Likewise. (init_optabs): Initialize these chkr_*_libfunc. From-SVN: r14615 --- gcc/optabs.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcc/optabs.c b/gcc/optabs.c index 992660d0c87..a5f2e7ed064 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -209,6 +209,11 @@ rtx fixunstfsi_libfunc; rtx fixunstfdi_libfunc; rtx fixunstfti_libfunc; +rtx chkr_check_addr_libfunc; +rtx chkr_set_right_libfunc; +rtx chkr_copy_bitmap_libfunc; +rtx chkr_check_exec_libfunc; + /* Indexed by the rtx-code for a conditional (eg. EQ, LT,...) gives the gen_function to make a branch to test that condition. */ @@ -4369,6 +4374,12 @@ init_optabs () fixunstfdi_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__fixunstfdi"); fixunstfti_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__fixunstfti"); + /* For check-memory-usage. */ + chkr_check_addr_libfunc = gen_rtx (SYMBOL_REF, VOIDmode, "chkr_check_addr"); + chkr_set_right_libfunc = gen_rtx (SYMBOL_REF, VOIDmode, "chkr_set_right"); + chkr_copy_bitmap_libfunc = gen_rtx (SYMBOL_REF, VOIDmode, "chkr_copy_bitmap"); + chkr_check_exec_libfunc = gen_rtx (SYMBOL_REF, VOIDmode, "chkr_check_exec"); + #ifdef INIT_TARGET_OPTABS /* Allow the target to add more libcalls or rename some, etc. */ INIT_TARGET_OPTABS; -- 2.30.2