* [PATCH] Fix mcore-elf builds
@ 2015-11-02 5:15 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2015-11-02 5:15 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
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
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 851 bytes --]
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 --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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-02 5:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-02 5:15 [PATCH] Fix mcore-elf builds Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).