diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-08 10:13:19 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-08 10:13:19 +0000 |
commit | fcd42b1e55fb1fb044f703eac10788ba6aa3d1d7 (patch) | |
tree | 379e548ad7e6cdc8908ed197771e9b289b60574f /gcc/mkconfig.sh | |
parent | 4d10b46310044a21bf4a8dc66690d7080d2a88f7 (diff) | |
download | gcc-fcd42b1e55fb1fb044f703eac10788ba6aa3d1d7.tar.gz |
* Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
* aclocal.m4 (GCC_TARGET_TEMPLATE, AH_TEMPLATE): New.
* configure.ac (enable_checking): Fix typos in runtime_checking.
(ENABLE_RUNTIME_CHECKING): Mark as target template.
(xm_file): Prepend auto-host.h
(HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template.
* mkconfig.sh: Do not automatically define USED_FOR_TARGET in
tconfig.h.
* crtstuff.c: Do not include auto-host.h.
(IN_LIBGCC2): Do not define.
* gcov-io.h: Include tconfig.h, not auto-host.h.
* libgcc2.c: Do not include auto-host.h.
(abort): Do not undefine.
* libgcov.c: Remove unneeded comment about config.h.
* unwind-dw2-fde-glibc.c: Do not inlude auto-host.h.
* config.in, configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99386 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mkconfig.sh')
-rw-r--r-- | gcc/mkconfig.sh | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh index 70d9a23d92d..8fd9de29419 100644 --- a/gcc/mkconfig.sh +++ b/gcc/mkconfig.sh @@ -54,7 +54,7 @@ for def in $DEFINES; do echo "#endif" >> ${output}T done -# The first entry in HEADERS may be auto-host.h or auto-build.h; +# The first entry in HEADERS may be auto-FOO.h ; # it wants to be included even when not -DIN_GCC. if [ -n "$HEADERS" ]; then set $HEADERS @@ -72,17 +72,11 @@ if [ -n "$HEADERS" ]; then fi fi -# If this is tconfig.h, now define USED_FOR_TARGET. 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-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.) case $output in - tconfig.h ) - cat >> ${output}T <<EOF -#define USED_FOR_TARGET -EOF - ;; tm.h ) cat >> ${output}T <<EOF #if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET |