From: Alan Modra Date: Fri, 8 Jun 2001 01:58:20 +0000 (+0000) Subject: * ldlang.c (record_bfd_errors): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8529105a0ed3dfd4e09005aa4d39650808818a6d;p=binutils-gdb.git * ldlang.c (record_bfd_errors): Remove. * emultempl/aix.em: Fix copyright dates. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 4b820ad3dfa..d61d68052cb 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2001-06-08 Alan Modra + + * ldlang.c (record_bfd_errors): Remove. + + * emultempl/aix.em: Fix copyright dates. + 2001-06-07 Andreas Jaeger * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index 2977075bb57..9b037a0d632 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -9,7 +9,8 @@ cat >e${EMULATION_NAME}.c < AIX support by Ian Lance Taylor AIX 64 bit support by Tom Rix diff --git a/ld/ldlang.c b/ld/ldlang.c index 5d7b877965f..96fe887317a 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. */