aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-05-08 10:13:19 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-05-08 10:13:19 +0000
commit232b67d9f8f29a786e52f4d757a68ec6b032cfc7 (patch)
tree379e548ad7e6cdc8908ed197771e9b289b60574f /gcc/libgcc2.c
parent56daab84ad1d63680d4f3b80fadec6a3c7b40fe8 (diff)
downloadgcc-232b67d9f8f29a786e52f4d757a68ec6b032cfc7.zip
gcc-232b67d9f8f29a786e52f4d757a68ec6b032cfc7.tar.gz
gcc-232b67d9f8f29a786e52f4d757a68ec6b032cfc7.tar.bz2
Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
* 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. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r99386
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index fb1dce5..a303d0b 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -29,24 +29,11 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
-
-/* 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"
-
-/* 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. */
#include "tconfig.h"
#include "tsystem.h"
#include "coretypes.h"
#include "tm.h"
-/* Don't use `fancy_abort' here even if config.h says to use it. */
-#ifdef abort
-#undef abort
-#endif
-
#ifdef HAVE_GAS_HIDDEN
#define ATTRIBUTE_HIDDEN __attribute__ ((__visibility__ ("hidden")))
#else