Commit dd947ed9 by Richard Kenner

(mips_output_external): Exclude alloca from list of used external

functions.

From-SVN: r8377
parent 3913f03a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Changes by Michael Meissner, meissner@osf.org. Changes by Michael Meissner, meissner@osf.org.
64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and 64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and
Brendan Eich, brendan@microunity.com. Brendan Eich, brendan@microunity.com.
Copyright (C) 1989, 1990, 1991, 1993 Free Software Foundation, Inc. Copyright (C) 1989, 1990, 1991, 1993, 1994 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -3780,7 +3780,10 @@ mips_output_external (file, decl, name) ...@@ -3780,7 +3780,10 @@ mips_output_external (file, decl, name)
} }
#ifdef ASM_OUTPUT_UNDEF_FUNCTION #ifdef ASM_OUTPUT_UNDEF_FUNCTION
if (TREE_CODE (decl) == FUNCTION_DECL) if (TREE_CODE (decl) == FUNCTION_DECL
/* ??? Don't include alloca, since gcc will always expand it
inline. If we don't do this, libg++ fails to build. */
&& strcmp (name, "alloca"))
{ {
p = (struct extern_list *)permalloc ((long) sizeof (struct extern_list)); p = (struct extern_list *)permalloc ((long) sizeof (struct extern_list));
p->next = extern_head; p->next = extern_head;
......
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