diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/Makefile.in | 2 | ||||
| -rw-r--r-- | gcc/inchash.c | 4 | ||||
| -rw-r--r-- | gcc/inchash.h | 4 |
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" |
