summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-23 04:56:19 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-23 04:56:19 +0000
commit15451328b2fc10e5dda7b3f30d9064b0b0151066 (patch)
tree33183a3d97f7a921b1b15e3be2b6eb58c97657fe
parent3fb1e43b955821cefaa85917b813a41b6fb8d204 (diff)
downloadgcc-15451328b2fc10e5dda7b3f30d9064b0b0151066.tar.gz
* cris.h: Revert thinko in last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47280 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/cris/cris.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e497f5c87b4..0217226f98c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * cris.h: Revert thinko in last patch.
+
2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index b282dbdf885..2857788a968 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -856,6 +856,15 @@ enum reg_class {NO_REGS, ALL_REGS, LIM_REG_CLASSES};
TARGET_STACK_ALIGN and TARGET_ALIGN_BY_32. */
#define DWARF_CIE_DATA_ALIGNMENT -1
+/* If we would ever need an exact mapping between canonical register
+ number and dwarf frame register, we would either need to include all
+ registers in the gcc decription (with some marked fixed of course), or
+ an inverse mapping from dwarf register to gcc register. There is one
+ need in dwarf2out.c:expand_builtin_init_dwarf_reg_sizes. Right now, I
+ don't see that we need exact correspondence between DWARF *frame*
+ registers and DBX_REGISTER_NUMBER, so map them onto GCC registers. */
+#define DWARF_FRAME_REGNUM(REG) (REG)
+
/* Node: Stack Checking */
/* (no definitions) FIXME: Check. */