summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-08 10:13:19 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-08 10:13:19 +0000
commitfcd42b1e55fb1fb044f703eac10788ba6aa3d1d7 (patch)
tree379e548ad7e6cdc8908ed197771e9b289b60574f /gcc/crtstuff.c
parent4d10b46310044a21bf4a8dc66690d7080d2a88f7 (diff)
downloadgcc-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/crtstuff.c')
-rw-r--r--gcc/crtstuff.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index 6fd365577b9..9695851e7d1 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -51,15 +51,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
This file must be compiled with gcc. */
-/* It is incorrect to include config.h here, because this file is being
- compiled for the target, and hence definitions concerning only the host
- do not apply. */
-
-#define IN_LIBGCC2
-
-/* We include auto-host.h here to get HAVE_GAS_HIDDEN. This is
- supposedly valid even though this is a "target" file. */
-#include "auto-host.h"
#include "tconfig.h"
#include "tsystem.h"
#include "coretypes.h"