summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2004-07-30 15:37:04 +0000
committerH.J. Lu <hjl@lucon.org>2004-07-30 15:37:04 +0000
commit7150b27b6e3e827821a20bad9537bcea3fbc1225 (patch)
tree372515c6d4e09b20549095f27badfd1b40d47e9e /bfd/bfd.c
parentff7b0b383a6c5faf9adca49bab98bcf794a773f2 (diff)
downloadgdb-7150b27b6e3e827821a20bad9537bcea3fbc1225.tar.gz
2004-07-30 H.J. Lu <hongjiu.lu@intel.com>
Nick Clifton <nickc@redhat.com> PR 290 * bfd.c (_bfd_default_error_handler): Make it global. * elf-bfd.h (elf_backend_data): Add link_order_error_handler. * elf.c (assign_section_numbers): Cope gracefully with sections which have SHF_LINK_ORDER set but no sh_link set up. * elflink.c (elf_get_linked_section_vma): Likewise. * elfxx-ia64.c (elf_backend_link_order_error_handler): New. Set it to NULL. * elfxx-target.h (elf_backend_link_order_error_handler): New. Set it to _bfd_default_error_handler. (elfNN_bed): Add elf_backend_link_order_error_handler. * libbfd-in.h (_bfd_default_error_handler): New. * libbfd.h: Regenerated.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 209b1b681a7..f67e85c44b7 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -408,7 +408,7 @@ static const char *_bfd_error_program_name;
/* This is the default routine to handle BFD error messages. */
-static void
+void
_bfd_default_error_handler (const char *s, ...)
{
va_list p;