aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-04-29 13:32:34 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-04-29 13:32:34 +0000
commit34ba5affde224d69904f0fa068ee07208f85a5f1 (patch)
tree3cc1d5b6b9f0c626628a83668090522147a8d667
parent94a82811526737df3872c295113541b3a6f9b689 (diff)
downloadgcc-34ba5affde224d69904f0fa068ee07208f85a5f1.zip
gcc-34ba5affde224d69904f0fa068ee07208f85a5f1.tar.gz
gcc-34ba5affde224d69904f0fa068ee07208f85a5f1.tar.bz2
inchash.h, inchash.c: Include bconfig.h for build objects.
gcc/ * inchash.h, inchash.c: Include bconfig.h for build objects. * Makefile.in (build/inchash.o): New rule. From-SVN: r222574
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/inchash.c4
-rw-r--r--gcc/inchash.h4
4 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 870fd1b..9bffca4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-29 Richard Sandiford <richard.sandiford@arm.com>
+
+ * inchash.h, inchash.c: Include bconfig.h for build objects.
+ * Makefile.in (build/inchash.o): New rule.
+
2015-04-29 Yvan Roux <yvan.roux@linaro.org>
PR target/65924
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 80c91f0..e1f6f0e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2434,6 +2434,8 @@ build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) \
$(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
build/hash-table.o : hash-table.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
$(HASH_TABLE_H) $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
+build/inchash.o : inchash.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
+ $(HASHTAB_H) inchash.h
build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
coretypes.h $(GTM_H) insn-constants.h \
$(filter-out insn-flags.h, $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(REGS_H) \
diff --git a/gcc/inchash.c b/gcc/inchash.c
index 1bc097e..c555046 100644
--- a/gcc/inchash.c
+++ b/gcc/inchash.c
@@ -17,7 +17,11 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#ifdef GENERATOR_FILE
+#include "bconfig.h"
+#else
#include "config.h"
+#endif
#include "system.h"
#include "coretypes.h"
#include "hashtab.h"
diff --git a/gcc/inchash.h b/gcc/inchash.h
index a1db958..54fb0d8 100644
--- a/gcc/inchash.h
+++ b/gcc/inchash.h
@@ -20,7 +20,11 @@ along with GCC; see the file COPYING3. If not see
#ifndef INCHASH_H
#define INCHASH_H 1
+#ifdef GENERATOR_FILE
+#include "bconfig.h"
+#else
#include "config.h"
+#endif
#include "system.h"
#include "coretypes.h"
#include "hashtab.h"