aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-07-28 21:16:18 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2004-07-28 21:16:18 +0000
commite1175f68773b0561c4b215032028f7543b1ae663 (patch)
tree916a41a82640c249b06a6194a869c0638dca1e43 /gcc/config/frv
parenteef3c949614ae3fdea4b3f375107d8562f1d287d (diff)
downloadgcc-e1175f68773b0561c4b215032028f7543b1ae663.zip
gcc-e1175f68773b0561c4b215032028f7543b1ae663.tar.gz
gcc-e1175f68773b0561c4b215032028f7543b1ae663.tar.bz2
* config/frv/frv.h (EPILOGUE_USES): New. Use LR.
From-SVN: r85271
Diffstat (limited to 'gcc/config/frv')
-rw-r--r--gcc/config/frv/frv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index 838ca17..b31facf 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -959,6 +959,8 @@ extern int target_flags;
#define EH_RETURN_STACKADJ_RTX gen_rtx_REG (SImode, STACKADJ_REGNO)
#define EH_RETURN_HANDLER_RTX RETURN_ADDR_RTX (0, frame_pointer_rtx)
+#define EPILOGUE_USES(REGNO) ((REGNO) == LR_REGNO)
+
/* An initializer that says which registers are used for fixed purposes all
throughout the compiled code and are therefore not available for general
allocation. These would include the stack pointer, the frame pointer