aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2012-12-12 21:14:31 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2012-12-12 21:14:31 +0000
commit22eab31ac5bf1f2037d4bb12d318413664ff2d69 (patch)
tree4a6f5e120701c3b9077bbd4a0e5c91f420ae43a8 /gcc
parentb488a2c757a7760ea8d5ac56e31e57e51b3c8260 (diff)
downloadgcc-22eab31ac5bf1f2037d4bb12d318413664ff2d69.zip
gcc-22eab31ac5bf1f2037d4bb12d318413664ff2d69.tar.gz
gcc-22eab31ac5bf1f2037d4bb12d318413664ff2d69.tar.bz2
mips.c (mips_option_override): Set mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default.
2012-12-12 Steve Ellcey <sellcey@mips.com> * config/mips/mips.c (mips_option_override): Set mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default. From-SVN: r194453
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 80e60d5..48aae88 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-12 Steve Ellcey <sellcey@mips.com>
+
+ * config/mips/mips.c (mips_option_override): Set
+ mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default.
+
2012-12-12 Steven Bosscher <steven@gcc.gnu.org>
* graph.c: Include sbitmap.h and cfgloop.h.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 820b228..7ac8bb7 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -16742,7 +16742,7 @@ mips_option_override (void)
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
{
- mips_dbx_regno[i] = INVALID_REGNUM;
+ mips_dbx_regno[i] = IGNORED_DWARF_REGNUM;
if (GP_REG_P (i) || FP_REG_P (i) || ALL_COP_REG_P (i))
mips_dwarf_regno[i] = i;
else
@@ -16757,9 +16757,6 @@ mips_option_override (void)
for (i = FP_REG_FIRST; i <= FP_REG_LAST; i++)
mips_dbx_regno[i] = i + start;
- for (i = ALL_COP_REG_FIRST; i <= ALL_COP_REG_LAST; i++)
- mips_dbx_regno[i] = IGNORED_DWARF_REGNUM;
-
/* Accumulator debug registers use big-endian ordering. */
mips_dbx_regno[HI_REGNUM] = MD_DBX_FIRST + 0;
mips_dbx_regno[LO_REGNUM] = MD_DBX_FIRST + 1;