This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Bug ld/290] ld dumps core on bad input.
- From: Nick Clifton <nickc at redhat dot com>
- To: sourceware-bugzilla at sources dot redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 30 Jul 2004 16:30:10 +0100
- Subject: Re: [Bug ld/290] ld dumps core on bad input.
- References: <20040728173828.290.hjl@lucon.org> <20040729172054.6328.qmail@sourceware.org>
Hi H.J,
A updated patch
This is much more comprehensive than mine.
> 2004-07-29 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.
Approved - please apply.
Cheers
Nick