OSDN Git Service

(mips_output_external): Exclude __builtin_next_arg from list
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Nov 1994 19:42:41 +0000 (19:42 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Nov 1994 19:42:41 +0000 (19:42 +0000)
of used external functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8557 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/mips/mips.c

index aab092e..3fd2e66 100644 (file)
@@ -3793,7 +3793,10 @@ mips_output_external (file, decl, name)
   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"))
+      && strcmp (name, "alloca")
+      /* ??? Don't include __builtin_next_arg, because then gcc will not
+        bootstrap under Irix 5.1.  */
+      && strcmp (name, "__builtin_next_arg"))
     {
       p = (struct extern_list *)permalloc ((long) sizeof (struct extern_list));
       p->next = extern_head;