summaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh.h
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-07 15:51:27 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-07 15:51:27 +0000
commitce8e8292927292104ee22c8cf82aa8c7b4c34ef2 (patch)
treee4cf384bd0d5381c3ca8345946ec4fffed3cd487 /gcc/config/sh/sh.h
parentb425360dcb1cb4a535ec30f75da3cff8130fe6fe (diff)
downloadgcc-ce8e8292927292104ee22c8cf82aa8c7b4c34ef2.tar.gz
* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r--gcc/config/sh/sh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index feadbb7d841..538e2f9d08f 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -3316,7 +3316,8 @@ extern int rtx_equal_function_value_matters;
#define MD_CAN_REDIRECT_BRANCH(INSN, SEQ) \
sh_can_redirect_branch ((INSN), (SEQ))
-#define DWARF_FRAME_RETURN_COLUMN (TARGET_SH5 ? PR_MEDIA_REG : PR_REG)
+#define DWARF_FRAME_RETURN_COLUMN \
+ (TARGET_SH5 ? DWARF_FRAME_REGNUM (PR_MEDIA_REG) : DWARF_FRAME_REGNUM (PR_REG))
#if (defined CRT_BEGIN || defined CRT_END) && ! __SHMEDIA__
/* SH constant pool breaks the devices in crtstuff.c to control section