aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-05-23 15:00:04 -0700
committerJim Wilson <wilson@gcc.gnu.org>1995-05-23 15:00:04 -0700
commit77b597dff4fa8fd428658a8dc84dd7d657569eeb (patch)
treee8ce1c417c7047280afdc51079a89141b80d36ee
parent40f8d046b8badc0674fb8c43de78217b7388f7d7 (diff)
downloadgcc-77b597dff4fa8fd428658a8dc84dd7d657569eeb.zip
gcc-77b597dff4fa8fd428658a8dc84dd7d657569eeb.tar.gz
gcc-77b597dff4fa8fd428658a8dc84dd7d657569eeb.tar.bz2
(mips_finalize_pic): Delete declaration.
(FINALIZE_PIC): Delete. (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. From-SVN: r9786
-rw-r--r--gcc/config/mips/mips.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 39f6cf3..2f7ce3a 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.