mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
* ldlang.c (record_bfd_errors): Remove.
* emultempl/aix.em: Fix copyright dates.
This commit is contained in:
parent
fa6b2d59c9
commit
8529105a0e
@ -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.
|
||||
|
@ -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>
|
||||
|
48
ld/ldlang.c
48
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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user