diff options
author | Alan Modra <amodra@gmail.com> | 2001-06-08 01:58:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-06-08 01:58:20 +0000 |
commit | 8529105a0ed3dfd4e09005aa4d39650808818a6d (patch) | |
tree | b0a5e5b0f8a4733fa0a42a313bfe2d2c873ab313 /ld/ldlang.c | |
parent | fa6b2d59c95620073fa4b340882fe428acfc949c (diff) | |
download | gdb-8529105a0ed3dfd4e09005aa4d39650808818a6d.zip gdb-8529105a0ed3dfd4e09005aa4d39650808818a6d.tar.gz gdb-8529105a0ed3dfd4e09005aa4d39650808818a6d.tar.bz2 |
* ldlang.c (record_bfd_errors): Remove.
* emultempl/aix.em: Fix copyright dates.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 48 |
1 files changed, 0 insertions, 48 deletions
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. */ |