From 8529105a0ed3dfd4e09005aa4d39650808818a6d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 8 Jun 2001 01:58:20 +0000 Subject: * ldlang.c (record_bfd_errors): Remove. * emultempl/aix.em: Fix copyright dates. --- ld/ChangeLog | 6 ++++++ ld/emultempl/aix.em | 3 ++- ld/ldlang.c | 48 ------------------------------------------------ 3 files changed, 8 insertions(+), 49 deletions(-) (limited to 'ld') 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 + + * 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 2977075..9b037a0 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 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. */ -- cgit v1.1