* config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
not TARGET_TOC for special toc restore handling.
* config/rs6000/rs6000.md (eh_return): Likewise.
From-SVN: r40930
+2001-03-28 Richard Henderson <rth@redhat.com>
+
+ * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
+ not TARGET_TOC for special toc restore handling.
+ * config/rs6000/rs6000.md (eh_return): Likewise.
+
2001-03-28 Richard Henderson <rth@redhat.com>
* config/sparc/sparc.c (eligible_for_epilogue_delay): False if
#define EPILOGUE_USES(REGNO) \
((reload_completed && (REGNO) == LINK_REGISTER_REGNUM) \
|| (current_function_calls_eh_return \
- && TARGET_TOC \
+ && TARGET_AIX \
&& (REGNO) == TOC_REGISTER))
/* This macro generates the assembly code for function exit,
""
"
{
- if (TARGET_TOC)
+#if TARGET_AIX
rs6000_emit_eh_toc_restore (operands[0]);
+#endif
if (TARGET_32BIT)
emit_insn (gen_eh_set_lr_si (operands[1]));
else