Commit 32b0bbaa by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

cris_abi_symbol.c: #include tconfig.h and tm.h, not config.h.

	* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
	config.h.
	* config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
	* config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.

From-SVN: r64003
parent ad220576
2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
config.h.
* config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
* config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
2003-03-08 Neil Booth <neil@daikokuya.co.uk> 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
......
...@@ -344,6 +344,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -344,6 +344,13 @@ Boston, MA 02111-1307, USA. */
} \ } \
while (0) while (0)
/* The configure machinery invokes the assembler without options, which is
not how gcc invokes it. Without options, the multi-target assembler
will probably be found, which is ELF by default. To counter that, we
need to override ELF auto-host.h config stuff which we know collides
with a.out. */
#undef HAVE_GAS_HIDDEN
/* Node: Alignment Output */ /* Node: Alignment Output */
......
...@@ -1494,11 +1494,6 @@ call_ ## FUNC (void) \ ...@@ -1494,11 +1494,6 @@ call_ ## FUNC (void) \
#define SUPPORTS_WEAK 1 #define SUPPORTS_WEAK 1
/* FIXME: This macro isn't documented, but this would probably be an
appropriate location. It's only used in crtstuff.c, else we'd have to
handle (to #undef or ignore it) in a.out. */
#define HAVE_GAS_HIDDEN 1
/* Remove any previous definition (elfos.h). */ /* Remove any previous definition (elfos.h). */
#undef ASM_GENERATE_INTERNAL_LABEL #undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \ #define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Contributed by Axis Communications. Contributed by Axis Communications.
Written by Hans-Peter Nilsson <hp@axis.se>, c:a 1992. Written by Hans-Peter Nilsson <hp@axis.se>, c:a 1992.
Copyright (C) 2000, 2001 Free Software Foundation, Inc. Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -37,7 +37,8 @@ Boston, MA 02111-1307, USA. ...@@ -37,7 +37,8 @@ Boston, MA 02111-1307, USA.
the executable file or object might be covered by the GNU General the executable file or object might be covered by the GNU General
Public License. */ Public License. */
#include "config.h" #include "tconfig.h"
#include "tm.h"
#ifdef __AOUT__ #ifdef __AOUT__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment