diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-07-30 15:37:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-07-30 15:37:04 +0000 |
commit | 185d09adc379a495103643c594a28d5f80110978 (patch) | |
tree | 942082fe14e0e90b98f4a2b3cbedba1f03aef2ee /bfd/elfxx-target.h | |
parent | ddc9cd0f636c47cb328a663e28e0414052dc21c1 (diff) | |
download | gdb-185d09adc379a495103643c594a28d5f80110978.zip gdb-185d09adc379a495103643c594a28d5f80110978.tar.gz gdb-185d09adc379a495103643c594a28d5f80110978.tar.bz2 |
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/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index b4aa171..0273f53 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -491,6 +491,10 @@ #define elf_backend_sign_extend_vma 0 #endif +#ifndef elf_backend_link_order_error_handler +#define elf_backend_link_order_error_handler _bfd_default_error_handler +#endif + extern const struct elf_size_info _bfd_elfNN_size_info; #ifndef INCLUDED_TARGET_FILE @@ -555,6 +559,7 @@ static const struct elf_backend_data elfNN_bed = elf_backend_ecoff_debug_swap, elf_backend_bfd_from_remote_memory, elf_backend_plt_sym_val, + elf_backend_link_order_error_handler, elf_backend_relplt_name, ELF_MACHINE_ALT1, ELF_MACHINE_ALT2, |