public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Remove unused function
@ 2001-06-07 18:57 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2001-06-07 18:57 UTC (permalink / raw)
  To: binutils

H.J. didn't fully revert 2001-05-02

ld/ChangeLog
	* ldlang.c (record_bfd_errors): Remove.

	* emultempl/aix.em: Fix copyright dates.
-- 
Alan Modra

Index: ldlang.c
===================================================================
RCS file: /cvs/src/src/ld/ldlang.c,v
retrieving revision 1.48
diff -u -p -r1.48 ldlang.c
--- ldlang.c	2001/05/31 21:14:59	1.48
+++ ldlang.c	2001/06/08 01:49:50
@@ -127,7 +127,6 @@ static bfd_vma size_input_section
 	   fill_type, bfd_vma, boolean));
 static void lang_finish PARAMS ((void));
 static void ignore_bfd_errors PARAMS ((const char *, ...));
-static void record_bfd_errors PARAMS ((const char *, ...));
 static void lang_check PARAMS ((void));
 static void lang_common PARAMS ((void));
 static boolean lang_one_common PARAMS ((struct bfd_link_hash_entry *, PTR));
@@ -3461,53 +3460,6 @@ lang_finish ()
 	}
     }
 }
-
-/* This is the routine to handle BFD error messages.  */
-
-#ifdef ANSI_PROTOTYPES
-
-static void
-record_bfd_errors (const char *s, ...)
-{
-  va_list p;
-
-  einfo ("%P: ");
-
-  va_start (p, s);
-
-  vfprintf (stderr, s, p);
-
-  va_end (p);
-
-  fprintf (stderr, "\n");
-
-  einfo ("%X");
-}
-
-#else /* ! defined (ANSI_PROTOTYPES) */
-
-static void
-record_bfd_errors (va_alist)
-     va_dcl
-{
-  va_list p;
-  const char *s;
-
-  einfo ("%P: ");
-
-  va_start (p);
-
-  s = va_arg (p, const char *);
-  vfprintf (stderr, s, p);
-
-  va_end (p);
-
-  fprintf (stderr, "\n");
-
-  einfo ("%X");
-}
-
-#endif /* ! defined (ANSI_PROTOTYPES) */
 
 /* This is a small function used when we want to ignore errors from
    BFD.  */
Index: emultempl/aix.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/aix.em,v
retrieving revision 1.9
diff -u -p -r1.9 aix.em
--- aix.em	2001/05/25 21:19:46	1.9
+++ aix.em	2001/06/08 01:49:52
@@ -9,7 +9,8 @@ cat >e${EMULATION_NAME}.c <<EOF
 /* This file is is generated by a shell script.  DO NOT EDIT! */
 
 /* AIX emulation code for ${EMULATION_NAME}
-   Copyright (C) 1991, 93, 95, 96, 97, 1998 Free Software Foundation, Inc.
+   Copyright 1991, 1993, 1995, 1996, 1997, 1998, 2000, 2001
+   Free Software Foundation, Inc.
    Written by Steve Chamberlain <sac@cygnus.com>
    AIX support by Ian Lance Taylor <ian@cygnus.com>
    AIX 64 bit support by Tom Rix <trix@redhat.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-07 18:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-07 18:57 Remove unused function Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).