mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
9b68b6ea7f
commit
c513ce776c
|
|
@ -1,3 +1,11 @@
|
||||||
|
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>
|
2010-06-10 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* Makefile.in (BUILD_RTL): Move build/read-md.o to...
|
* Makefile.in (BUILD_RTL): Move build/read-md.o to...
|
||||||
|
|
|
||||||
|
|
@ -816,8 +816,8 @@ BCONFIG_H = bconfig.h $(build_xm_file_list)
|
||||||
CONFIG_H = config.h $(host_xm_file_list)
|
CONFIG_H = config.h $(host_xm_file_list)
|
||||||
TCONFIG_H = tconfig.h $(xm_file_list)
|
TCONFIG_H = tconfig.h $(xm_file_list)
|
||||||
TM_P_H = tm_p.h $(tm_p_file_list)
|
TM_P_H = tm_p.h $(tm_p_file_list)
|
||||||
GTM_H = tm.h $(tm_file_list)
|
GTM_H = tm.h $(tm_file_list) insn-constants.h
|
||||||
TM_H = $(GTM_H) insn-constants.h insn-flags.h options.h
|
TM_H = $(GTM_H) insn-flags.h options.h
|
||||||
|
|
||||||
# Variables for version information.
|
# Variables for version information.
|
||||||
BASEVER := $(srcdir)/BASE-VER # 4.x.y
|
BASEVER := $(srcdir)/BASE-VER # 4.x.y
|
||||||
|
|
|
||||||
|
|
@ -10823,7 +10823,7 @@ tmake_file="${tmake_file_}"
|
||||||
out_object_file=`basename $out_file .c`.o
|
out_object_file=`basename $out_file .c`.o
|
||||||
|
|
||||||
tm_file_list="options.h"
|
tm_file_list="options.h"
|
||||||
tm_include_list="options.h"
|
tm_include_list="options.h insn-constants.h"
|
||||||
for f in $tm_file; do
|
for f in $tm_file; do
|
||||||
case $f in
|
case $f in
|
||||||
./* )
|
./* )
|
||||||
|
|
|
||||||
|
|
@ -1643,7 +1643,7 @@ tmake_file="${tmake_file_}"
|
||||||
out_object_file=`basename $out_file .c`.o
|
out_object_file=`basename $out_file .c`.o
|
||||||
|
|
||||||
tm_file_list="options.h"
|
tm_file_list="options.h"
|
||||||
tm_include_list="options.h"
|
tm_include_list="options.h insn-constants.h"
|
||||||
for f in $tm_file; do
|
for f in $tm_file; do
|
||||||
case $f in
|
case $f in
|
||||||
./* )
|
./* )
|
||||||
|
|
|
||||||
|
|
@ -87,15 +87,14 @@ if [ -n "$HEADERS" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If this is tm.h, now include insn-constants.h and insn-flags.h only
|
# If this is tm.h, now include insn-flags.h only if IN_GCC is defined
|
||||||
# if IN_GCC is defined but neither GENERATOR_FILE nor USED_FOR_TARGET
|
# but neither GENERATOR_FILE nor USED_FOR_TARGET is defined. (Much of
|
||||||
# is defined. (Much of this is temporary.)
|
# this is temporary.)
|
||||||
|
|
||||||
case $output in
|
case $output in
|
||||||
tm.h )
|
tm.h )
|
||||||
cat >> ${output}T <<EOF
|
cat >> ${output}T <<EOF
|
||||||
#if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET
|
#if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET
|
||||||
# include "insn-constants.h"
|
|
||||||
# include "insn-flags.h"
|
# include "insn-flags.h"
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue