inchash.h, inchash.c: Include bconfig.h for build objects.
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Apr 2015 13:32:34 +0000 (13:32 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 29 Apr 2015 13:32:34 +0000 (13:32 +0000)
gcc/
* inchash.h, inchash.c: Include bconfig.h for build objects.
* Makefile.in (build/inchash.o): New rule.

From-SVN: r222574

gcc/ChangeLog
gcc/Makefile.in
gcc/inchash.c
gcc/inchash.h

index 870fd1b1e4c8dab8098e2ad7245e7e5c71f7ef7d..9bffca450f69060c75de87e55ff8d85a5843f309 100644 (file)
@@ -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
index 80c91f0eb861a5f0e10ad54ab2388494b448c005..e1f6f0ed085c7e11f99f167c232e451d3accbdbe 100644 (file)
@@ -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) \
index 1bc097e01f325ccab53ab3310f464478b613af62..c555046dd3a874248c658f124e4b842653dc76e2 100644 (file)
@@ -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"
index a1db9587bebfbf7abc43148e165cfc4e4be40603..54fb0d853b2e0afd7ad944763d5f73091cf25afa 100644 (file)
@@ -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"