aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/aix.em3
-rw-r--r--ld/ldlang.c48
3 files changed, 8 insertions, 49 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4b820ad..d61d680 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-08 Alan Modra <amodra@bigpond.net.au>
+
+ * ldlang.c (record_bfd_errors): Remove.
+
+ * emultempl/aix.em: Fix copyright dates.
+
2001-06-07 Andreas Jaeger <aj@suse.de>
* elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index 2977075..9b037a0 100644
--- a/ld/emultempl/aix.em
+++ b/ld/emultempl/aix.em
@@ -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>
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 5d7b877..96fe887 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -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));
@@ -3462,53 +3461,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. */