diff mbox

Fix mcore-elf builds

Message ID 5636F158.7030507@redhat.com
State New
Headers show

Commit Message

Jeff Law Nov. 2, 2015, 5:15 a.m. UTC
Something must have changed as mcore-elf isn't building because mcore.c 
doesn't have access to reg_renumber via regs.h.

Fixed in the obvious way and verified that mcore-elf builds again.

Jeff
commit dc49c8409d2ed0ee53618fc334c7c72401550992
Author: Jeff Law <law@redhat.com>
Date:   Sun Nov 1 22:13:54 2015 -0700

            * config/mcore/mcore.c: Include regs.h.
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ff4a7ff..1ce0d36 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@ 
+2015-11-01  Jeff Law <jeff@redhat.com>
+
+	* config/mcore/mcore.c: Include regs.h.
+
 2015-10-31  Segher Boessenkool  <segher@kernel.crashing.org>
 
 	* config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Rewrite.
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index b42f633..9ca2326 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -38,6 +38,7 @@ 
 #include "expr.h"
 #include "cfgrtl.h"
 #include "builtins.h"
+#include "regs.h"
 
 /* This file should be included last.  */
 #include "target-def.h"