aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-06-10 20:23:43 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-06-10 20:23:43 +0000
commitc513ce776cf919c31489143412f03a40ad0e6ca9 (patch)
tree3e530d0afa85222eefe19900c8f9fe1f08848c94 /gcc
parent9b68b6ea7f378adba54d910340277e8c6d022a6c (diff)
downloadgcc-c513ce776cf919c31489143412f03a40ad0e6ca9.zip
gcc-c513ce776cf919c31489143412f03a40ad0e6ca9.tar.gz
gcc-c513ce776cf919c31489143412f03a40ad0e6ca9.tar.bz2
configure.ac (tm_include_list): Add insn-constants.h.
gcc/ * configure.ac (tm_include_list): Add insn-constants.h. * configure: Regenerate. * Makefile.in (GTM_H): Move insn-constants.h here from... (TM_H): ...here. * mkconfig.sh: Remove special handling for insn-constants.h. From-SVN: r160579
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/Makefile.in4
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.ac2
-rw-r--r--gcc/mkconfig.sh7
5 files changed, 15 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ed3c96a..1aab743 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,13 @@
2010-06-10 Richard Sandiford <rdsandiford@googlemail.com>
+ * configure.ac (tm_include_list): Add insn-constants.h.
+ * configure: Regenerate.
+ * Makefile.in (GTM_H): Move insn-constants.h here from...
+ (TM_H): ...here.
+ * mkconfig.sh: Remove special handling for insn-constants.h.
+
+2010-06-10 Richard Sandiford <rdsandiford@googlemail.com>
+
* Makefile.in (BUILD_RTL): Move build/read-md.o to...
(BUILD_MD): ...this new variable.
(simple_generated_rtl_h, simple_generated_rtl_c): New variables
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index bdafaa5..1a543bf 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -816,8 +816,8 @@ BCONFIG_H = bconfig.h $(build_xm_file_list)
CONFIG_H = config.h $(host_xm_file_list)
TCONFIG_H = tconfig.h $(xm_file_list)
TM_P_H = tm_p.h $(tm_p_file_list)
-GTM_H = tm.h $(tm_file_list)
-TM_H = $(GTM_H) insn-constants.h insn-flags.h options.h
+GTM_H = tm.h $(tm_file_list) insn-constants.h
+TM_H = $(GTM_H) insn-flags.h options.h
# Variables for version information.
BASEVER := $(srcdir)/BASE-VER # 4.x.y
diff --git a/gcc/configure b/gcc/configure
index 33aa2cf..50baf17 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -10823,7 +10823,7 @@ tmake_file="${tmake_file_}"
out_object_file=`basename $out_file .c`.o
tm_file_list="options.h"
-tm_include_list="options.h"
+tm_include_list="options.h insn-constants.h"
for f in $tm_file; do
case $f in
./* )
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 7b1b72e..d827698 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1643,7 +1643,7 @@ tmake_file="${tmake_file_}"
out_object_file=`basename $out_file .c`.o
tm_file_list="options.h"
-tm_include_list="options.h"
+tm_include_list="options.h insn-constants.h"
for f in $tm_file; do
case $f in
./* )
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh
index c9d35cc..cfa5a56 100644
--- a/gcc/mkconfig.sh
+++ b/gcc/mkconfig.sh
@@ -87,15 +87,14 @@ if [ -n "$HEADERS" ]; then
fi
fi
-# If this is tm.h, now include insn-constants.h and insn-flags.h only
-# if IN_GCC is defined but neither GENERATOR_FILE nor USED_FOR_TARGET
-# is defined. (Much of this is temporary.)
+# If this is tm.h, now include insn-flags.h only if IN_GCC is defined
+# but neither GENERATOR_FILE nor USED_FOR_TARGET is defined. (Much of
+# this is temporary.)
case $output in
tm.h )
cat >> ${output}T <<EOF
#if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET
-# include "insn-constants.h"
# include "insn-flags.h"
#endif
EOF