2002-01-10 Michael Snyder * elf.c (elfcore_write_prstatus): Use long instead of pid_t; (elfcore_write_pstatus): Use long instead of pid_t; * elf-bfd.h: Change prototypes to use long instead of pid_t; 2002-01-09 Jason Thorpe * elf.c: Update copyright years. (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH. Improve a comment. 2002-01-08 Michael Snyder Add capability to write corefile note sections, for gdb. * elf.c (elfcore_write_note): New function. (elfcore_write_prpsinfo): New function. (elfcore_write_prstatus): New function. (elfcore_write_pstatus): New function. (elfcore_write_prfpreg): New function. (elfcore_write_prxfpreg): New function. * elf-bfd.h: Add prototypes for above functions. 2002-01-08 Alexandre Oliva * elf.c (elf_fake_sections): Propagate errors from elf_backend_fake_section. 2002-01-07 Jason Thorpe * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. 2002-01-07 Aldy Hernandez * coff-rs6000.c (READ20): Use bfd_scan_vma. 2002-01-07 Geoffrey Keating * elflink.h (elf_link_input_bfd): Don't ask for the merged offset of a symbol in a section that will be deleted. 2002-01-07 Nick Clifton * po/es.po: New file: Spanish translation. * configure.in (ALL_LINGUAS): Add es. * configure: Regenerate. 2002-01-06 Steve Ellcey * elfxx-ia64.c (is_unwind_section_name): Add target vector as argument so we can handle HP-UX specially. (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. (elfNN_hpux_backend_section_from_bfd_section): New for support of SHN_IA_64_ANSI_COMMON. (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. (is_unwind_section_name): Add special HP-UX support. (elfNN_ia64_section_from_shdr): Add support for more sections. (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and add support for more sections. (elfNN_ia64_additional_program_headers): Modify is_unwind_section_name call. (elfNN_ia64_modify_segment_map): Remove assumption that there is only one unwind section in segment. 2002-01-06 Alan Modra * syms.c (_bfd_generic_make_empty_symbol): New function. * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. (hppabsd_core_get_symtab_upper_bound): Don't define. (hppabsd_core_get_symtab): Likewise. (hppabsd_core_print_symbol): Likewise. (hppabsd_core_get_symbol_info): Likewise. (hppabsd_core_bfd_is_local_label_name): Likewise. (hppabsd_core_get_lineno): Likewise. (hppabsd_core_find_nearest_line): Likewise. (hppabsd_core_bfd_make_debug_symbol): Likewise. (hppabsd_core_read_minisymbols): Likewise. (hppabsd_core_minisymbol_to_symbol): Likewise. (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). Formatting fixes. * hpux-core.c: Similarly. * irix-core.c: Similarly. * osf-core.c: Similarly. * sco5-core.c: Similarly. * binary.c (binary_make_empty_symbol): Remove function, define as _bfd_generic_make_empty_symbol. * ihex.c (ihex_make_empty_symbol): Likewise. * mmo.c (mmo_make_empty_symbol): Likewise. * ppcboot.c (ppcboot_make_empty_symbol): Likewise. * srec.c (srec_make_empty_symbol): Likewise. * versados.c (versados_make_empty_symbol): Likewise. * vms.c (_bfd_vms_make_empty_symbol): Remove. (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol rather than _bfd_vms_make_empty_symbol. * vms-misc.c (new_symbol): Likewise. 2002-01-05 Alan Modra * section.c (bfd_section_init): Remove unnecessary initialisations. (bfd_section_list_clear): New function. (bfd_section_list_remove, bfd_section_list_insert): New macros. (_bfd_strip_section_from_output): Use them. * coffcode.h (coff_set_alignment_hook): Likewise. * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. * elf64-mips.c (mips_elf64_final_link): Likewise. * elf64-mmix.c (mmix_elf_final_link): Likewise. * sunos.c (sunos_add_dynamic_symbols): Likewise. * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. * bfd-in2.h: Regenerate. * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway rather than doing our own section handling. Clean up after errors with bfd_release and bfd_section_list_clear. Handle unexpected flags. * aoutf1.h (sunos4_core_file_p): Likewise. * aix386-core.c (aix386_core_file_p): Likewise. * cisco-core.c (cisco_core_file_validate): Likewise. * ptrace-core.c (ptrace_unix_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors with bfd_release and bfd_section_list_clear. * hpux-core.c (hpux_core_core_file_p): Likewise. * irix-core.c (irix_core_core_file_p): Likewise. * lynx-core.c (lynx_core_file_p): Likewise. * osf-core.c (osf_core_core_file_p): Likewise. * rs6000-core.c (rs6000coff_core_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise. * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform sign extension adjustments without conditionals. 2002-01-04 Jakub Jelinek * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if CIE at .eh_frame start is removed due to no FDEs referencing it. 2002-01-04 Jason Thorpe * config.bfd (x86_64-*-netbsd*): New target. * configure.in (x86_64-*-netbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerated. 2002-01-03 Tom Rix * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering for recent bfd_make_section_anyway change. 2002-01-03 Nick Clifton * elf32-arm.h (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC11 reloc. 2002-01-02 Nick Clifton * configure.in (LINGUAS): Add ja. * configure: Regenerate. * po/ja.po: Import from translation project's web site. 2002-01-02 Nick Clifton * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error messages to ease translation into other languages. For older changes see ChangeLog-0001 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: