+2011-05-04 Stuart Henderson <shenders@gcc.gnu.org>
+
+ From Jie Zhang
+ *config/bfin/bfin.c (bfin_extra_live_on_entry): New.
+ (TARGET_EXTRA_LIVE_ON_ENTRY): Define.
+
2011-05-04 Stuart Henderson <shenders@gcc.gnu.org>
From Bernd Schmidt
return 1;
}
+/* Implement TARGET_EXTRA_LIVE_ON_ENTRY. */
+static void
+bfin_extra_live_on_entry (bitmap regs)
+{
+ if (TARGET_FDPIC)
+ bitmap_set_bit (regs, FDPIC_REGNO);
+}
+
/* Return the value of the return address for the frame COUNT steps up
from the current frame, after the prologue.
We punt for everything but the current frame by returning const0_rtx. */
#undef TARGET_TRAMPOLINE_INIT
#define TARGET_TRAMPOLINE_INIT bfin_trampoline_init
+#undef TARGET_EXTRA_LIVE_ON_ENTRY
+#define TARGET_EXTRA_LIVE_ON_ENTRY bfin_extra_live_on_entry
+
struct gcc_target targetm = TARGET_INITIALIZER;