From dd947ed946b8fea31877e67a0a0c57955ddcb4a7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 3 Nov 1994 17:23:18 -0500 Subject: (mips_output_external): Exclude alloca from list of used external functions. From-SVN: r8377 --- gcc/config/mips/mips.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 22a57d3..6fa67cf 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3,7 +3,7 @@ Changes by Michael Meissner, meissner@osf.org. 64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and 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. @@ -3780,7 +3780,10 @@ mips_output_external (file, decl, name) } #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->next = extern_head; -- cgit v1.1