summaryrefslogtreecommitdiff
path: root/gcc/config/iq2000
diff options
context:
space:
mode:
authorscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-21 20:32:05 +0000
committerscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-21 20:32:05 +0000
commit8852c74501b457820e4e2e678f3aba4ddabace3c (patch)
tree1d125db81d3371c5b012c053b827a54ca508b241 /gcc/config/iq2000
parent8161f7fbd980f4d3b2d8d15e82a838782ade1686 (diff)
downloadgcc-8852c74501b457820e4e2e678f3aba4ddabace3c.tar.gz
* config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/iq2000')
-rw-r--r--gcc/config/iq2000/iq2000.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h
index d3e661b4c5a..2011f122d84 100644
--- a/gcc/config/iq2000/iq2000.h
+++ b/gcc/config/iq2000/iq2000.h
@@ -928,14 +928,11 @@ extern void sbss_section (void);
#undef ASM_SPEC
-/* The mapping from gcc register number to DWARF 2 CFA column number.
- This mapping does not allow for tracking register 0, since
- register 0 is fixed. */
-#define DWARF_FRAME_REGNUM(REG) \
- (REG == GP_REG_FIRST + 31 ? DWARF_FRAME_RETURN_COLUMN : REG)
+/* The mapping from gcc register number to DWARF 2 CFA column number. */
+#define DWARF_FRAME_REGNUM(REG) (REG)
/* The DWARF 2 CFA column which tracks the return address. */
-#define DWARF_FRAME_RETURN_COLUMN ( GP_REG_FIRST + 26)
+#define DWARF_FRAME_RETURN_COLUMN (GP_REG_FIRST + 31)
/* Describe how we implement __builtin_eh_return. */
#define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + GP_ARG_FIRST : INVALID_REGNUM)