From: Jim Wilson Date: Tue, 23 May 1995 22:00:04 +0000 (-0700) Subject: (mips_finalize_pic): Delete declaration. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77b597dff4fa8fd428658a8dc84dd7d657569eeb;p=gcc.git (mips_finalize_pic): Delete declaration. (FINALIZE_PIC): Delete. (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. From-SVN: r9786 --- diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 39f6cf39d33..2f7ce3a8da1 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -181,7 +181,6 @@ extern int small_int (); extern void trace(); extern int uns_arith_operand (); extern struct rtx_def * embedded_pic_offset (); -extern void mips_finalize_pic (); /* Recognition functions that return if a condition is true. */ extern int address_operand (); @@ -1336,7 +1335,10 @@ extern char mips_hard_regno_mode_ok[][FIRST_PSEUDO_REGISTER]; #define PIC_FUNCTION_ADDR_REGNUM (GP_REG_FIRST + 25) -#define FINALIZE_PIC mips_finalize_pic () +/* Initialize embedded_pic_fnaddr_rtx before RTL generation for + each function. We used to do this in FINALIZE_PIC, but FINALIZE_PIC + isn't always called for static inline functions. */ +#define INIT_EXPANDERS embedded_pic_fnaddr_rtx = NULL; /* Define the classes of registers for register constraints in the machine description. Also define ranges of constants.