From: Alan Modra Date: Fri, 2 Jan 2004 11:16:21 +0000 (+0000) Subject: Split ChangeLog files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9e214e571d08fa968a53210682a14060261b91c;p=binutils-gdb.git Split ChangeLog files. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3999988d7b5..06b089d2db0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -7,11404 +7,7 @@ (elf_backend_gc_sweep_hook): Define. (elf_backend_can_gc_sections): Define. -2003-12-19 Kazuhiro Inaoka - - Adfd m32r-linux and PIC support. Add new ABI that uses RELA. - * config.bfd (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*): Added. - * configure.in (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, - bfd_elf32_m32rle_vec): Added - * configure: Regenerated. - * elf32-m32r.c (m32r_info_to_howto, m32r_elf_adjust_dynamic_symbol, - m32r_elf_size_dynamic_sections, m32r_elf_create_dynamic_sections, - m32r_elf_finish_dynamic_sections, m32r_elf_finish_dynamic_symbol, - allocate_dynrelocs, readonly_dynrelocs, m32r_elf_reloc_type_class, - m32r_elf_fake_sections): Added. - (m32r_elf_howto_table): Added - R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, - R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, - R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, - R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, - R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, - R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, - R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, - R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, - R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, - R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, - R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, - R_M32R_GOTPC_LO. - (m32r_elf_relocate_section, m32r_elf_check_relocs): Changed for - New ABI. - * reloc.c: Add BFD_RELOC_M32R_GOT24, BFD_RELOC_M32R_26_PLTREL, - BFD_RELOC_M32R_COPY, BFD_RELOC_M32R_GLOB_DAT, - BFD_RELOC_M32R_JMP_SLOT, BFD_RELOC_M32R_RELATIVE, - BFD_RELOC_M32R_GOTOFF, BFD_RELOC_M32R_GOTPC24, - BFD_RELOC_M32R_GOT16_HI_ULO, BFD_RELOC_M32R_GOT16_HI_SLO, - BFD_RELOC_M32R_GOT16_LO, BFD_RELOC_M32R_GOTPC_HI_ULO, - BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO. - * targets.c (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, - bfd_elf32_m32rle_vec): Added. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - -2003-12-19 Danny Smith - - * coffcode.h (styp_to_sec_flags): Don't treat .reloc section - as SEC_DEBUGGING. - -2003-12-18 Richard Sandiford - - * elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use - _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, - _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, - and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift - to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. - (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) - (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. - (_bfd_mips_elf32_gprel16_reloc): Remove special case. - (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. - - * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use - _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc - for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. - Change R_MIPS_HI16's rightshift to 16. - (mips_elf64_howto_table_rela): Replace all uses of - mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. - Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. - (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. - (mips_elf64_shift6_reloc): Remove special case. Use - _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. - - * elfn32-mips.c (prev_reloc_section): Delete. - (prev_reloc_address, prev_reloc_addend): Delete. - (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for - elf64-mips.c - (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. - (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) - (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. - (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. - (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. - (mips16_jump_reloc, mips16_gprel_reloc): Likewise. - (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. - - * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use - _bfd_relocate_contents to install an in-place addend. - (mips_hi16): New structure. - (mips_hi16_list): Moved from elf32-mips.c. - (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. - (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. - (mips_elf_calculate_relocation): Assume addend is unshifted. - (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift - on top of the usual high-part shift. Don't shift the addend right - before calling mips_elf_calculate_relocation. - - * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. - (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. - (_bfd_mips_elf_generic_reloc): Declare. - -2003-12-16 Eric Youngdale - Nick Clifton - - * peicode.h (pe_ILF_build_a_bfd): Only skip one instance of each - prefix character, if they are present. - -2003-12-15 Dmitry Semyonov - Nick Clifton - - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Ensure that correct flags - are set on known section types. - -2003-12-12 Nick Clifton - - * po/ro.po: Updated translation. - -2003-12-12 Alan Modra - - * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for - NULL dyn_h. - -2003-12-11 Nick Clifton - - * elf.c (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments. - -2003-12-08 Richard Sandiford - - * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes. - Remove casts that were only needed for K&R compatibility. - -2003-12-08 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add - "elflink_hash_entry *" param to elf_backend_link_output_symbol_hook. - Add "elflink_hash_entry *" param to elf_backend_output_arch_syms. - * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param, - and pass to output_symbol_hook. - (elf_bfd_final_link): Adjust elf_link_output_sym calls. - (elf_link_output_extsym): Likewise. - (elf_link_input_bfd): Likewise. - * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust. - * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. - * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. - * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. - * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. - * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. - * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise. - * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. - Validate dynh->h against h. - * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield. - (link_hash_newfunc): Init it. - (adjust_opd_syms): New function. - (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted. - Set opd.adjust for all .opd relocs. Call adjust_opd_syms. - (ppc64_elf_tls_optimize): Adjust possible .opd sym values here. - (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24. - (ppc64_elf_output_symbol_hook): New function. - (elf_backend_link_output_symbol_hook): Define. - -2003-12-07 Richard Sandiford - - * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes. - Remove casts that were only needed for K&R compatibility. - -2003-12-05 Dmitry Semyonov - - * coff-arm.c (aoutarm_std_reloc_howto [ARM_WINCE]): Set - partial_inplace for these relocs to FALSE for comptability with - the MS linker. - Remap ARM_26D relocation from 5 to 0. This fixes "bad fixup" error - generated by MS linker, and brings the relocation in line the MS - PE documentation. - -2003-12-04 H.J. Lu - - * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing. - -2003-12-04 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_relax_section): Use the - need_relax_finalize field in link_info instead of - relax_finalizing to check if the relax finalize pass is being - done. - -2003-12-04 Dmitry Semyonov - - * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation): - Change ARM26* to ARM_26* in comments to match definitions. - (coff_arm_adjust_symndx): Replace hard-coded constants with - appropriate definitions (ARM_26*). - -2003-12-04 Alan Modra - - * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported. - * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes. - (mn10300_elf_relax_section): Likewise. - * nlm32-alpha.c (ONES): Define. - (nlm32_alpha_howto_table): Use it to avoid warnings. - -2003-12-04 Alan Modra - - * elf32-i386.c (elf_i386_object_p): Delete. - (elf_backend_object_p): Don't define. - * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here. - * elf32-sh.c (sh_elf_object_p): Likewise. - * elf32-sparc.c (elf32_sparc_object_p): Likewise. - * elf64-alpha.c (elf64_alpha_object_p): Likewise. - * elf64-s390.c (elf_s390_object_p): Likewise. - * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise. - -2003-12-03 Kazuhiro Inaoka - - * archures.c (bfd_mach_m32r2): Add new machine type. - * bfd-in2.h: Regenerate. - * cpu-m32r.c : Add new machine type. - * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing, - m32r_elf_merge_private_bfd_data): Add support for new machine - type. - -2003-12-03 Dave Airlie - - * config.bfd: Add vax-linux-gnu target. - * configure.in: Likewise. - * configure: Regenerate. - -2003-12-03 Alan Modra - - * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed - bfd_link_hash_entry field "next" -> "und_next". - * linker.c (_bfd_link_hash_newfunc): Likewise. - (bfd_link_add_undef): Likewise. - (_bfd_generic_link_add_archive_symbols): Likewise. - (_bfd_generic_link_add_one_symbol): Likewise. - * xcofflink.c (xcoff_link_add_symbols): Likewise. - -2003-12-02 Nick Clifton - - * configure.in (ALL_LINGUAS): Add ro. - * po/ro.po: New Romanian translation. - -2003-12-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-12-01 Dmitry Semyonov - - * coffcode.h (coff_compute_section_file_positions): Set page_size - to 1 instead of 0 in the case file alignment value is zero. - -2003-12-01 Kazu Hirata - - * coff-rs6000.c: Remove ARGSUSED and VARARGS. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * elf32-vax.c: Likewise. - * hash.c: Likewise. - * hppabsd-core.c: Likewise. - * hpux-core.c: Likewise. - * ihex.c: Likewise. - * netbsd-core.c: Likewise. - * osf-core.c: Likewise. - * pdp11.c: Likewise. - * ptrace-core.c: Likewise. - * sco5-core.c: Likewise. - * section.c: Likewise. - * sunos.c: Likewise. - * trad-core.c: Likewise. - -2003-12-01 Alan Modra - - * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. - * elf.c (_bfd_elf_merge_sections): Adjust to suit. - (_bfd_elf_link_just_syms): Likewise. - (bfd_elf_get_needed_list): Likewise. - (bfd_elf_get_runpath_list): Likewise. - (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens. - * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab - creator flavour. - (elf32_hppa_set_gp): Look up output sections rather than using htab. - * elf32-i960.c: Comment fix. Formatting. - * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table - rather than testing creator flavour. - * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. - * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. - * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for - is_elf_hash_table change. Remove redundant test. - (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than - testing creator flavour. - (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table. - (_bfd_elf_fix_symbol_flags): Likewise. - (_bfd_elf_adjust_dynamic_symbol): Likewise. - * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant - checks. Use is_elf_hash_table rather than testing creator flavour. - Use hash_table throughout in place of info->hash. - (elf_add_dynamic_entry): Adjust for is_elf_hash_table change. - (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant - check. - (elf_bfd_final_link): Adjust for is_elf_hash_table change. - (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than - testing creator flavour. - (elf_gc_sections): Add is_elf_hash_table check. - (elf_gc_common_finalize_got_offsets): Likewise. - (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove - redundant check. - * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table - rather than testing creator flavour. - -2003-11-28 Christian Groessler - - * cpu-z8k.c: Convert to ISO C90. - * coff-z8k.c: Likewise. - -2003-11-27 Alexandre Oliva - - * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map): - Add link info argument. - * elf32-i370.c (elf_backend_modify_segment_map): Likewise. - * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise. - * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise. - * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise. - * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise. - * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise. - * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise. - * elf.c (assign_file_positions_except_relocs, - assign_file_positions_for_segments): Likewise. Adjust calls. - -2003-11-27 Mark Kettenis - - * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out - of the note. - -2003-11-26 Daniel Jacobowitz - Richard Sandiford - - * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub. - (mips_elf_set_no_stub): New function. - (mips_elf_multi_got): Call it. - (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for - a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and - use mips_elf_create_dynamic_relocation to deal with any compatibility - issues. Store the adjusted addend in the GOT slot. - -2003-11-25 Mattias EngdegÄrd - - * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when - procesing N_BINCL stabs. - -2003-11-25 Alan Modra - - * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than - ppc_stub_plt_call to symbols defined in shared libs. - -2003-11-22 Jakub Jelinek - - * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag. - * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - (elf_i386_check_relocs): Set it. - (elf_i386_finish_dynamic_symbol): If it is not set, - clear st_value of SHN_UNDEF symbol. - -2003-11-20 Jim Blandy - - * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC - family is a superset of . - -2003-11-20 Martin Schwidefsky - - * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol - section for reloc output and subtract the output section's address - from the addend when converting a relocation into one against a - section symbol. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - -2003-11-18 James E Wilson - - * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd. - (elfNN_ia64_size_dynamic_sections): When stripping sections, check - for ia64_info->rel_fptr_sec. - -2003-11-18 Alan Modra - - * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section - size is zero. - -2003-11-17 Daniel Jacobowitz - - * elf.c (_bfd_elf_link_hash_copy_indirect): Copy - ELF_LINK_HASH_NEEDS_PLT. Fix formatting. - * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. - * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. - * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove. - (elf_backend_copy_indirect_symbol): Don't define. - -2003-11-14 Daniel Jacobowitz - - * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local - GOT entries. - -2003-11-13 Martin Schwidefsky - - * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32 - to R_390_RELATIVE. Convert the other relocations against local - symbols to relocations against the start of the section. - * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64 - to R_390_RELATIVE. Convert the other relocations against local - symbols to relocations against the start of the section. - -2003-11-11 Nick Clifton - - * elf-m10300.c (bfd_mn10300_elf_size_dynamic_sections): Use - info->executable not info->shared to decide if a .interp section - should be present. - * elf32-arm.h (elf32_arm_size_dynamic_sections): Likewise. - * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise. - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. - * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. - * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise. - * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise. - * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. - * elfxx-mips.c (_bfd_mips_size_dynamic_sections): Likewise. - * elflink.h (size_dynamic_sections): Likewise. - -2003-11-10 Jonathan Wilson - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Swap out tls pointer. - (_bfd_XXi_final_link_postscript): Look for __tks_used symbol. If - found initialise the tls data directory entry. - -2003-11-07 Alan Modra - - * elf32-ppc.c (ppc_elf_install_value): Delete. - (shared_stub_entry, stub_entry): Make them arrays of ints. - Remove initial branch. - (ppc_elf_relax_section): Write one branch around all trampolines - instead. Correct bogus R_PPC_PLTREL24 handling. Correct - branch range check. Only use shared_stub_entry when shared. - Test that branches can reach stubs. Write trampolines out at - end so that just one realloc is used. Handle little-endian - mode. Move relevant code from ppc_elf_install_value to here. - (ppc_elf_relocate_section): Move code handling RELAX32 from - ppc_elf_install_value to here. - -2003-11-06 Alan Modra - - * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC. - (ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate - cases. - (shared_stub_entry): Correct opcode. - (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs. - (ppc_elf_relocate_section): Handle them. - -2003-11-05 Alan Modra - - * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return - updated section in case of merged section. - * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration. - * elf-hppa.h (elf_hppa_relocate_section): Adjust call. - * elf-m10200.c (mn10200_elf_relocate_section): Likewise. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section) Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - - * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol - section for reloc output. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - - * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything - for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value - return value. - * elf64-ppc.c (ppc64_elf_relocate_section ): Sanity check - sec->id. - -2003-11-05 Alan Modra - - * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions. - (elf32_d10v_relocate_section): Use them to handle -r reloc - adjustments, and in place of _bfd_elf_rela_local_sym. - - * cpu-iq2000.c (arch_info_struct): Warning fix. - -2003-11-05 Alan Modra - - * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define. - (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on - weakdefs. - (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS. - (elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef - NON_GOT_REF. - (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and - SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with - non-default visibility. - (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and - SYMBOL_CALLS_LOCAL. - -2003-11-04 Alan Modra - - * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. - * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. - * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. - * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. - * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. - * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. - * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto. - - * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix - "dereferencing type-punned pointer" warnings. - - * aout-adobe.c (aout_adobe_set_section_contents): Constify location. - * aoutx.h (NAME(aout,set_section_contents)): Ditto. - * bfd-in2.h: Regenerate. - * binary.c (binary_set_section_contents): Ditto. - * bout.c (b_out_set_section_contents): Ditto. - * coff-tic54x.c (tic54x_set_section_contents): Ditto. - * coffcode.h (coff_set_section_contents): Ditto. - * ecoff.c (_bfd_ecoff_set_section_contents): Ditto. - * elf-bfd.h (_bfd_elf_set_section_contents): Ditto. - * elf.c (_bfd_elf_set_section_contents): Ditto. - * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto. - * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto. - * i386msdos.c (msdos_set_section_contents): Ditto. - * ieee.c (ieee_set_section_contents): Ditto. - * ihex.c (ihex_set_section_contents): Ditto. - * libaout.h (NAME(aout,set_section_contents)): Ditto. - * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto. - (_bfd_generic_set_section_contents): Ditto. - * libbfd.h: Regenerate. - * libbfd.c (_bfd_generic_set_section_contents): Ditto. - * libecoff.h (_bfd_ecoff_set_section_contents): Ditto. - * libnlm.h (nlmNAME(set_section_contents)): Ditto. - (struct nlm_backend_data ): Ditto. - * mmo.c (mmo_set_section_contents): Ditto. - * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto. - * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto. - * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto. - * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto. - * nlmcode.h (nlm_set_section_contents): Ditto. - * oasys.c (oasys_set_section_contents): Ditto. - * pdp11.c (NAME(aout,set_section_contents)): Ditto. - * ppcboot.c (ppcboot_set_section_contents): Ditto. - * srec.c (srec_set_section_contents): Ditto. - * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto. - * tekhex.c (tekhex_set_section_contents): Ditto. - (move_section_contents): Ditto. - * versados.c (versados_set_section_contents): Ditto. - * vms-misc.c (_bfd_save_vms_section): Ditto. - * vms.c (vms_set_section_contents): Ditto. - * vms.h (_bfd_save_vms_section): Ditto. - -2003-11-04 Alan Modra - - * elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info arg - rather than htab. - (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal. Zero - relbrlt size. - (ppc64_elf_build_stubs): Allocate space for relbrlt. - -2003-11-04 Alan Modra - - * bfd-in.h (_bfd_elf_tls_setup): Declare. - * bfd-in2.h: Regenerate. - * elf-bfd.h (struct elf_link_tls_segment): Delete. - (struct elf_link_hash_table): Add tls_sec and tls_size. - * elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size. - * elflink.c (_bfd_elf_tls_setup): New function. - * elflink.h (struct elf_final_link_info): Remove first_tls_sec. - (elf_bfd_final_link): Don't set first_tls_sec here. Update code - saving tls segment info, round segment size up. - (elf_link_output_extsym): Adjust code using tls segment info. - (elf_link_input_bfd): Likewise. - * elf32-i386.c (dtpoff_base, tpoff): Likewise. - * elf32-s390.c (dtpoff_base, tpoff): Likewise. - * elf32-sh.c (dtpoff_base, tpoff): Likewise. - * elf32-sparc.c (dtpoff_base, tpoff): Likewise. - * elf64-s390.c (dtpoff_base, tpoff): Likewise. - * elf64-x86-64.c (dtpoff_base, tpoff): Likewise. - * elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise. - (elfNN_ia64_dtprel_base): Likewise. - * elf64-alpha.c (alpha_get_dtprel_base): Likewise. - (alpha_get_tprel_base): Likewise. - (struct alpha_relax_info): Remove tls_segment. - (elf64_alpha_relax_got_load): Adjust invocation of - alpha_get_dtprel_base and alpha_get_tprel_base. - (elf64_alpha_relax_tls_get_addr): Likewise. - (elf64_alpha_relax_section): Likewise. - (elf64_alpha_relocate_section): Likewise. - (elf64_alpha_relax_find_tls_segment): Delete. - * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec. - (ppc_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. - (ppc_elf_relocate_section): Adjust to use elf.tls_sec. - * elf32-ppc.h (ppc_elf_tls_setup): Update. - * elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec. - (ppc64_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. - (ppc64_elf_tls_optimize): Adjust to use elf.tls_sec. - (ppc64_elf_relocate_section): Likewise. - * elf64-ppc.h (ppc64_elf_tls_setup): Update. - -2003-11-03 Daniel Jacobowitz - - * elf-bfd.h (struct elf_backend_data): Remove plt_header_size. - * elf-m10300.c (elf_backend_plt_header_size): Don't define. - * elf32-arm.h (elf_backend_plt_header_size): Don't define. - * elf32-cris.c (elf_backend_plt_header_size): Don't define. - * elf32-i386.c (elf_backend_plt_header_size): Don't define. - * elf32-mips.c (elf_backend_plt_header_size): Don't define. - * elf32-ppc.c (elf_backend_plt_header_size): Don't define. - * elf32-s390.c (elf_backend_plt_header_size): Don't define. - * elf32-sh.c (elf_backend_plt_header_size): Don't define. - * elf32-sparc.c (elf_backend_plt_header_size): Don't define. - * elf64-alpha.c (elf_backend_plt_header_size): Don't define. - * elf64-hppa.c (elf_backend_plt_header_size): Don't define. - * elf64-mips.c (elf_backend_plt_header_size): Don't define. - * elf64-ppc.c (elf_backend_plt_header_size): Don't define. - * elf64-s390.c (elf_backend_plt_header_size): Don't define. - * elf64-sh64.c (elf_backend_plt_header_size): Don't define. - * elf64-sparc.c (elf_backend_plt_header_size): Don't define. - * elf64-x86-64.c (elf_backend_plt_header_size): Don't define. - * elfn32-mips.c (elf_backend_plt_header_size): Don't define. - * elfxx-ia64.c (elf_backend_plt_header_size): Don't define. - * elfxx-target.h (elf_backend_plt_header_size): Don't define - or include in target initializer. - -2003-11-03 Andrew Cagney - - * section.c (bfd_set_section_contents): Make the "location" buffer - constant. - * bfd-in2.h: Re-generate. - -2003-10-30 Andrew Cagney - - * syms.c: Replace "struct symbol_cache_entry" with "struct - bfd_symbol". - * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. - * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. - * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. - * bfd-in2.h: Re-generate. - -2003-10-30 Jakub Jelinek - - * elfxx-ia64.c: Include objalloc.h, hashtab.h. - (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym - fields. - (struct elfNN_ia64_local_hash_table): Remove. - (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type - to htab_t. Add loc_hash_memory field. - (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry): - Removed. - (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New - functions. - (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for - loc_hash_table. Initialize loc_hash_memory. - (elfNN_ia64_hash_table_free): New function. - (elfNN_ia64_local_hash_lookup): Remove. - (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse - callback. - (elfNN_ia64_dyn_sym_traverse): Use htab_traverse. - (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table. - (bfd_elfNN_bfd_link_hash_table_free): Define. - -2003-10-30 Alan Modra - - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned - symbol string in place. - -2003-10-30 Jim Blandy - - * cpu-rs6000.c (rs6000_compatible): Check the correct arch_info - object's mach field: all PowerPC machines are supersets of the - original rs6000, but not later rs6000 machines. - -2003-10-30 Alan Modra - - * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr". - Add "val" and "sval" fields. - (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete. - (read_attribute_value): Expand and adjust DW_* occurrences. - (scan_unit_for_functions, parse_comp_unit): Likewise. - -2003-10-30 Phil Edwards - - * config.bfd (arm-*-vxworks): Remove separate stanza; merge with - other common ELF triples. - (i[3-7]86-*-vxworks): Change to ELF format. - (mips*-*-windiss): New triple, add to common MIPS/ELF stanza. - (sh-*-vxworks): New stanza. - -2003-10-30 Lars Knoll - Michael Matz - Jakub Jelinek - Alan Modra - - * merge.c (struct sec_merge_sec_info): Update comment. - (struct sec_merge_hash_entry): Remove entsize. - (sec_merge_hash_lookup): Only adjust alignment when creating. - (sec_merge_emit): Remove register keyword. - (cmplengthentry, last4_eq, last_eq): Delete. - (strrevcmp, strrevcmp_align, is_suffix): New. - (merge_strings): Use them to implement fast suffix merging. - * elf-strtab.c (struct elf_strtab_hash_entry): Update comments. - Make "len" signed. - (_bfd_elf_strtab_add): Lose on >2G strings. - (_bfd_elf_strtab_emit): Don't emit strings with len < 0. - (cmplengthentry, last4_eq): Delete. - (strrevcmp, is_suffix): New. - (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging. - -2003-10-29 Daniel Jacobowitz - - * elf32-arm.h (elf32_arm_final_link_relocate): Move check for - SEC_ALLOC. - -2003-10-29 Philip Blundell - - * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New - code sequence. - (PLT_HEADER_SIZE): New. - (struct elf32_arm_pcrel_relocs_copied): Rename to ... - (struct elf32_arm_relocs_copied): ... this. Count both - pcrel and non-pcrel relocs. All uses updated. - (struct elf32_arm_link_hash_table): Add pointers to dynamic linker - sections and symbol/section mapping cache. - (create_got_section): New. - (elf32_arm_create_dynamic_sections): New. - (elf_backend_create_dynamic_sections): Use it. - (elf32_arm_final_link_relocate): Support garbage collection of relocs. - (elf32_arm_check_relocs): Likewise. - (elf32_arm_adjust_dynamic_symbol): Likewise. - (elf32_arm_copy_indirect_symbol): New. - (elf32_arm_link_hash_table_create): Initialise new fields. - (elf32_arm_gc_sweep_hook): Implement. - (elf32_arm_discard_copies): Delete. - (elf32_arm_finish_dynamic_symbol): Use new PLT code. - (elf32_arm_finish_dynamic_sections): Likewise. - (elf_backend_can_refcount): Define. - (elf_backend_copy_indirect_symbol): Likewise. - (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE. - -2003-10-29 Alan Modra - - * elf64-ppc.c (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Define. - (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions. - - * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple - sections with the same name. - (elfcore_grok_lwpstatus): Likewise. - (elfcore_grok_win32pstatus): Likewise. - (elfcore_grok_note): Likewise. - (elfcore_grok_nto_status): Likewise. - (elfcore_grok_nto_gregs): Likewise. - -2003-10-27 Daniel Jacobowitz - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic - objects. - -2003-10-14 Richard Sandiford - - * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno. - -2003-10-24 H.J. Lu - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up - hash table for real symbols. - -2003-10-23 Michael Snyder - - * section.c (asection): Fix typo in comment. - -2003-10-23 Alan Modra - - * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc - reloc symbol index to it. Don't allow gd syms in shared libs - to be optimized. - (ppc64_elf_tls_optimize): Adjust get_tls_mask call. - (ppc64_elf_size_stubs): Likewise. - (ppc64_elf_relocate_section): Check that tls relocs are only used - with tls syms, and similarly for non-tls. Correct symbol used - when optimizing toc tls code. - -2003-10-22 Nick Clifton - - * peicode.h (coff_swap_scnhdr_in): Only remove padding when - processing an executable. - -2003-10-22 Jakub Jelinek - - * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals - field changes. - (_bfd_elf_link_assign_sym_version): Likewise. - * elflink.h (size_dynamic_sections): Likewise. - -2003-10-21 Alexandre Oliva , - Michael Snyder - - * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu, - bfd_mach_sh4a_nofpu): New machine types. - * bfd-in2.h: Rebuilt. - * cpu-sh.c (compatible): Remove unused function. - (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New. - (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu. - * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them. - -2003-10-21 Wouter van Heyst - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct text - describing mismatched formats involving the Maverick FP type. - -2003-10-21 Anil Paranjpe - - * binary.c (binary_object_p): Pass machine flag along with - architecture. - -2003-10-21 Thorsten Brehm - - * archures.c (bfd_default_scan): Add support for mcf528x. - * ieee.c (ieee_write_processor): Likewise. - -2003-10-21 Peter Barada - Bernardo Innocenti - - * archures.c: Add MCF528x (MCFv4) support. - * bfd/cpu-m68k.c (arch_info_struct): Likewise. - * bfd-in2.h: Regenerate. - -2003-10-20 Andrew Cagney - - * targets.c: Replace "struct sec" with "struct bfd_section" - * syms.c, sparclynx.c, section.c, opncls.c: Ditto. - * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. - * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. - * aout-tic30.c, aout-target.h: - * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. - -2003-10-18 Hans-Peter Nilsson - - Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs. - * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro. - (struct _mmix_elf_section_data): New member pjs. - (mmix_set_relaxable_size, mmix_elf_get_section_contents): New - functions. - (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE. - (mmix_reloc_map): Ditto. - (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE. - (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto. - (mmix_elf_perform_relocation): Ditto. Don't mark parameter addr - unused. - (mmix_elf_check_relocs): Move early return to after - mmix_elf_check_common_relocs call. - (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment. - (_bfd_mmix_before_linker_allocation): Rename from - _bfd_mmix_prepare_linker_allocated_gregs. All referers changed. - Arrange to set the initial relaxable size of sections. - (_bfd_mmix_after_linker_allocation): Rename from - _bfd_mmix_finalize_linker_allocated_gregs. - (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc. - (bfd_elf64_get_section_contents): Define. - * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE. - * libbfd.h, bfd-in2.h: Regenerate. - - * reloc.c (bfd_generic_relax_section): Default-set - section->_cooked_size here. - (bfd_generic_get_relocated_section_contents): Don't set it here. - Explain why. - -2003-10-17 John David Anglin - - * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if - output section has been discarded. - -2003-10-17 Shrinivas Atre - - * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode. - (h8300_reloc16_extra_cases): Likewise. - (h8300_bfd_link_add_symbols): Likewise. - -2003-10-17 Dhananjay Deshpande - - * cpu-h8300.c (h8300sxn_info_struct): Correct address size. - (h8300sn_info_struct): Likewise. - (h8300hn_info_struct): Likewise. - -2003-10-16 Pavel Roskin - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size - for sections which lack size info. - -2003-10-17 Danny Smith - - * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for - mingw32. - -2003-10-16 H.J. Lu - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn - undefined patterns with '*'. - -2003-10-16 H.J. Lu - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't - use the last CIE from a different section. - (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw - size of the output section. - -2003-10-07 Roland McGrath - - * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of - new section from p_align header field. - -2003-10-16 H.J. Lu - - * elf32-xtensa.c (xtensa_read_table_entries): The external size - of entry is 8 bytes. - -2003-10-15 Andrew Cagney - - * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab - with NAME##_canonicalize_symtab. - * libcoff-in.h (coff_canonicalize_symtab): Update. - * xsym.h (bfd_sym_canonicalize_symtab): Update. - * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update. - * coffgen.c (coff_canonicalize_symtab): Update. - * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update. - * libnlm.h (nlmNAME(canonicalize_symtab)): Update. - * ieee.c (ieee_vec): Update comment. - * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update. - * mmo.c (mmo_canonicalize_symtab): Update. - * nlm-target.h (nlm_canonicalize_symtab): Update. - * nlmcode.h (nlm_canonicalize_symtab): Update. - * i386msdos.c (msdos_canonicalize_symtab): Update. - * hp300hpux.c (MY (canonicalize_symtab)): Update. - * oasys.c (oasys_canonicalize_symtab): Update. - * som.c (som_canonicalize_symtab): Update. - * pef.c (bfd_pef_canonicalize_symtab): Update. - * nlmcode.h (nlm_canonicalize_symtab): Update. - * xsym.c (bfd_sym_canonicalize_symtab): Update. - * vms.c (vms_canonicalize_symtab): Update. - * versados.c (versados_canonicalize_symtab): Update. - * mach-o.c (bfd_mach_o_canonicalize_symtab): Update. - * ieee.c (ieee_canonicalize_symtab): Update. - * pdp11.c (NAME(aout,canonicalize_symtab)): Update. - * reloc.c: Update comment. - * libaout.h (NAME(aout,canonicalize_symtab)): Update. - * coff64-rs6000.c (aix5coff64_vec): Update. - * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update. - * aoutx.h (NAME(aout,canonicalize_symtab)): Update. - * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update. - * hp300hpux.c (MY_canonicalize_symtab): Update. - * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update. - * aout-tic30.c (MY_canonicalize_symtab): Update. - * aout-target.h (MY_canonicalize_symtab): Update. - * ppcboot.c (ppcboot_canonicalize_symtab): Update. - * elf.c (_bfd_elf_canonicalize_symtab): Update. - * elfcode.h (elf_canonicalize_symtab): Update. - * ihex.c (ihex_canonicalize_symtab): Update. - * tekhex.c (tekhex_canonicalize_symtab): Update. - * binary.c (binary_canonicalize_symtab): Update. - * srec.c (srec_canonicalize_symtab): Update. - -2003-10-15 Kazu Hirata - - * elf32-h8300.c (elf_reloc_map): Fix a comment typo. - -2003-10-15 Kaz Kojima - - * elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL - relocations. - (sh_elf_check_relocs): Likewise. - - * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define. - (sh64_elf_merge_symbol_attribute): New. - * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define. - (sh64_elf64_merge_symbol_attribute): New. - -2003-10-14 Kaz Kojima - - * elf-bfd.h (struct elf_backend_data): New function pointer member - elf_backend_merge_symbol_attribute. - * elflink.h (elf_link_add_object_symbols): Adjust call to - elf_backend_merge_symbol_attribute if the backend defined it. - * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro. - (elfNN_bed): Add that to the initializer. - -2003-10-14 Bob Wilson - - * elf32-xtensa.c (get_is_linkonce_section): Delete. - (xtensa_is_property_section, xtensa_is_littable_section): Use - XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize - linkonce sections containing ".xt.insn" and ".xt.lit" substrings. - (xtensa_get_property_section_name): Check section name instead of - calling get_is_linkonce_section. Remove unused bfd parameter. Use - XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate - linkonce section names by appending ".xt.insn" or ".xt.lit". - (xtensa_read_table_entries): Remove bfd argument in call to - xtensa_get_property_section_name. Free section name when done. - (elf_xtensa_combine_prop_entries): Free leaking table. - -2003-10-13 Richard Sandiford - - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add - DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries. - (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't - handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations - that were needed. - (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS. - (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE. - -2003-10-13 H.J. Lu - - * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype. - (bfd_elf64_ia64_after_parse): Likewise. - * bfd-in2.h: Regenerated. - - * elfxx-ia64.c (oor_ip): New. - (oor_branch_size): Likewise. - (bfd_elfNN_ia64_after_parse): Likewise. - (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size - equals sizeof (oor_ip). - -2003-10-12 Kaz Kojima - - * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the - renumbering of some relocation numbers. - -2003-10-11 Alan Modra - - * coff-sh.c: Move definition of MAP and guard more code with - COFF_IMAGE_WITH_PE. - - * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done. - * bfd-in2.h: Regenerate. - -2003-10-10 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Likewise. - -2003-10-09 H.J. Lu - - * cofflink.c: Include "safe-ctype.h". - (coff_link_add_symbols): Use ISDIGIT instead of isdigit. - -2003-10-08 Dave Brolley - On behalf of Michael Snyder - - * archures.c: Add FRV fr550 machine. - * cpu-frv.c: Ditto. - * elf32-frv.c: Ditto. - * bfd-in2.h: Regenerate. - -2003-10-08 Thiemo Seufer - - * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code - for non-SGI N64 ABI. Improve code consitency. - -2003-10-07 Alexandre Oliva - - * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's - rightshift to 2. - -2003-10-07 Nathan Sidwell - - * libbfd-in.h (_bfd_link_section_stabs): Add string offset - parameter. - * cofflink.c (coff_link_add_symbols): Deal with split stab - sections. - * elflink.h (elf_link_add_object_symbols): Deal with split stab - sections. - * stabs.c (_bfd_link_section_stabs): Add string offset parameter. - * libbfd.h: Regenerated. - - * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc - overflow, set reloc start position to after the count - reloc. Subtract one from num relocs. Give error on 0xffff relocs - and no overflow. - * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc - overflow. - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >= - 0xffff. - -2003-10-06 H.J. Lu - - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the - last CIE/FDE if needed. - -2003-10-06 Nick Clifton - - * targets.c (_bfd_target_vector): Include bfd_elf64_sparc_vec if - BFD64 is enabled. - -2003-10-06 Matt Thomas - - * config.bfd: Move the hppa*-*-netbsd* case to the hppa*-*-linux* case. - -2003-10-06 Robert Millan - - * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet. - * config.bfd: Likewise. - * configure: Regenerate. - -2003-10-04 Christian Groessler - - * coff-z8k.c (extra_case): Fix displacement length check for R_JR - and R_CALLR. - -2003-10-04 Stephane Carrez - - * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-m68hc1x.h: Likewise. - -2003-10-04 Stephane Carrez - - * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge - of flags between HC12 and HCS12. - -2003-10-04 Bryce McKinlay - - * merge.c (_bfd_merge_sections): Set SEC_EXCLUDE flag on sections - which become empty after merging. - -2003-09-30 Jakub Jelinek - - * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB, - R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB. - -2003-09-30 Chris Demetriou - - * archures.c (bfd_mach_mipsisa64r2): New define. - * bfd-in2.h: Regenerate. - * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. - * cpu-mips.c (I_mipsisa64r2): New enum value. - (arch_info_struct): Add entry for I_mipsisa64r2. - * elfxx-mips.c (_bfd_elf_mips_mach) - (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. - (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. - (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. - -2003-09-29 H.J. Lu - - * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New. - Handle SHN_IA_64_ANSI_COMMON. - (elf_backend_section_from_bfd_section): Defined. - -2003-09-26 H.J. Lu - - * elflink.c (elf_link_read_relocs_from_section): Add an argument - of a pointer to section. Check bad symbol index. - (_bfd_elf_link_read_relocs): Modify calls to - elf_link_read_relocs_from_section. - -2003-09-23 DJ Delorie - - * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8, - R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, - R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces, - R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, - R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, - R_SH_PSHA, R_SH_PSHL added. - (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8. - (sh_elf_relocate_section): Support new relocs. - -2003-09-23 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered - dynamic relocation offsets. - -2003-09-23 Alan Modra - - * simple.c (bfd_simple_get_relocated_section_contents): Free the - hash table using _bfd_generic_link_hash_table_free. - -2003-09-23 Alan Modra - - * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change - type of prefix_length and suffix_length to int. Rename "attributes" - to "attr". Comment. - (_bfd_elf_get_sec_type_attr): Update prototype. - * elf.c (get_special_section): Rewrite. - (_bfd_elf_get_sec_type_attr): Return struct rather than passing in - attr and type pointers. - (_bfd_elf_new_section_hook): Adjust for above. - (special_sections): Merge suffix with prefix. Set - prefix_length for all entries. Set suffix_length appropriately. - * elf32-m32r.c (m32r_elf_special_sections): Likewise. - * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. - * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. - * elf32-mcore.c (mcore_elf_special_sections): Likewise. - * elf32-sh64.c (sh64_elf_special_sections): Likewise. - * elf32-v850.c (v850_elf_special_sections): Likewise. - * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. - * elf64-alpha.c (elf64_alpha_special_sections): Likewise. - * elf64-hppa.c (elf64_hppa_special_sections): Likewise. - * elf64-ppc.c (ppc64_elf_special_sections): Likewise. - * elf64-sh64.c (sh64_elf64_special_sections): Likewise. - * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. - * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. - * elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags. - -2003-09-21 Daniel Jacobowitz - - * elf64-alpha.c (elf64_alpha_create_got_section): Initialize - ->got if the section already exists. - -2003-09-19 Nathan Sidwell - - * dwarf2.c (decode_line_info): Cope with an initially empty - filename table. - -2003-09-18 H.J. Lu - - * acinclude.m4: Include ../config/accross.m4. - * aclocal.m4: Regenerated. - - * configure.host (HOST_64BIT_TYPE): Remove if it is set to long - or long long. - (HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long. - (host64): Remove if HOST_64BIT_TYPE is set to long. - - * configure.in (HOST_64BIT_TYPE): Set according to the size of - long and long long. - (HOST_U_64BIT_TYPE): Likewise. - (host64): Likewise. - * configure: Regenerated. - -2003-09-19 Alan Modra - - * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note) - since some ABIs round up the size of the struct. - -2003-09-18 H.J. Lu - - * elflink.c (_bfd_elf_merge_symbol): Allow type change if - the old symbol is undefined and the new symbol is defined. - -2003-09-18 Andreas Schwab - - * simple.c (bfd_simple_get_relocated_section_contents): Use - _bfd_generic_link_hash_table_create instead of - bfd_link_hash_table_create. - -2003-09-10 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections - started with ".sbss" or "".sdata" as SHF_IA_64_SHORT. - -2003-09-10 John David Anglin - Randolph Chung - - * elf32-hppa.c (struct elf32_hppa_link_hash_entry, - hppa_link_hash_newfunc, hppa_build_one_stub, - elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static, - allocate_dynrelocs, elf32_hppa_size_dynamic_sections, - elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code - for generating import stubs for calls to statically linked PIC - functions. - (hppa_type_of_stub): Don't generate an import stub for calls to - statically linked pic functions. Generate import stubs for calls - in a shared object, to functions not in a regular file, and to - defined weak functions. Add new argument INFO. - (hppa_build_one_stub): Don't undef ADDIL_DP. - (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. - (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. - (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a - non-shared link. Convert instructions that use the the linkage table - pointer, or a facsimile thereof, to use the global data pointer when - the reloc has been changed. - -2003-09-08 Joel Brobecker - - * archures.c: Add new machine names for hppa. - * bfd-in2.h: Regenerate. - * cpu-hppa.c: Use the new machine names. - -2003-09-06 Stephane Carrez - - * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove - all_local_syms member. - * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms - to get the local symbols. - -2003-09-06 Stephane Carrez - - * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11. - (elf_backend_special_sections): Define.a - - PR savannah/4950: - * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors - section is read-only. - -2003-09-04 Nick Clifton - - * archures.c (bfd_mach_v850e1): Define. - * bfd-in2.h: Regenerate. - * cpu-v850.h (scan): Accept bfd_mach_v850e1. - (arch_info_struct): Include an entry for bfd_mach_v850e1. - * elf32-v850.c (v850_elf_object_p): Accept E_V850E1_ARCH flag. - (v850_elf_final_write_processing): Accept bfd_mach_v850e1. - (v850_elf_print_private_bfd_data): Interpret E_V850E1_ARCH flag. - (v850_elf_merge_private_bfd_data): Allow v850e1 binaries to be - linked with v850e binaries. Mark the output as v850e. - -2003-09-03 Nick Clifton - - * cofflink.c (_bfd_coff_link_input_bfd): Do not skip section - symbols that are used in relocs. - -2003-08-30 Robert Millan - - * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet. - * config.bfd: Likewise. - * configure: Regenerate. - -2003-08-31 Christian Groessler - - * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here - instead of returning bfd_reloc_continue. - -2003-08-31 Andreas Jaeger - - * merge.c: Update to ISO C90. - -2003-08-27 Ian Lance Taylor - - * configure.in: Check for strtoull. - * bfd.c (bfd_scan_vma): Use strtoull when available. - * configure, config.in: Regenerate. - - * configure.in: Define and substitute BFD_HOST_LONG_LONG. - * bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than - __GNUC__ when deciding whether to use long long for - BFD_HOST_64_BIT. - * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate. - -2003-08-27 Christian Groessler - - * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, - i860_howto_splitn_reloc, i860_howto_highadj_reloc): New - functions. - (elf32_i860_howto_table): Insert the new functions as - 'special_function's in the proper reloc type entries. - -2003-08-27 Richard Sandiford - - * elf32-frv.c (elf32_frv_relocate_section): Use - _bfd_elf_rela_local_sym. - -2003-08-26 Michael Snyder - - * cpu-frv.c: Remove unused enum. - -2003-08-25 Maciej W. Rozycki - - * reloc.c: Fix documentation for MIPS ELF relocations. - libbfd.h: Regenerate. - bfd-in2.h: Regenerate. - -2003-08-24 Jason Eckhardt - - * coff-i860.c (CALC_ADDEND): Define to be a no-op. - -2003-08-24 Jason Eckhardt - - * elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and - shift by 2 before storing the relocated value. - -2003-08-23 Jason Eckhardt - - * coff-i860.c (coff_i860_reloc_nyi): New function. - (howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH, - LOWn, SPLITn, and BRADDR. - (RTYPE2HOWTO): Check that the r_type is within the howto_table - before trying to access the entry. - (coff_i860_rtype_to_howto): Likewise. - (coff_i860_reloc_type_lookup): New function. - (i860_reloc_processing): New function. - (coff_bfd_reloc_type_lookup): Define macro. - (RELOC_PROCESSING): Define macro. - Minor formatting adjustments. - -2003-08-23 Alan Modra - - * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner. - -2003-08-22 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the - .got section at 8 bytes. - -2003-08-21 Nick Clifton - - * cofflink.c: Update to ISO C90 and tidy up formatting. - -2003-08-21 Randolph Chung - - * elf32-hppa.c (elf32_hppa_object_p): For elf32-hppa-linux, objects - can have OSABI=Linux or OSABI=SysV. Check for both. - * elf64-hppa.c (elf64_hppa_object_p): Likewise. - -2003-08-21 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2003-08-20 Richard Sandiford - - * elf64-mips.c (elf_backend_copy_indirect_symbol): Define. - -2003-08-20 Nick Clifton - - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): New macro used to - replace some duplicated code in most elfxx-xxxx.c files. This - version uses the new fields in bfd_link_info. - - * elf-m10300.c (mn10300_elf_relocate_section): Use new macro. - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - - * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols, - elf_hppa_remark_useless_dynamic_symbols, - elf_hppa_relocate_section): Use the new fields in - bfd_link_info structure. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. - * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise. - * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. - - * elflink.h (elf_link_output_extsym): Fix test for reporting - undefined symbols in shared libraries. Remove redundant test - of shlib_undefined when reporting references to forced local - symbols. - -2003-08-18 Andreas Schwab - - * libpei.h (bfd_pe_executable_p): Also recognize efi-app - executables. - -2003-08-17 Hans-Peter Nilsson - - * simple.c (bfd_simple_get_relocated_section_contents): Move - reloc_done hack to before first bfd_section_size call. Change all - returns to use new wrapper macro RETURN, restoring sec->reloc_done. - -2003-08-16 Alan Modra - - * elf64-ppc.c: Don't include elf/ppc.h. - -2003-08-14 Richard Sandiford - - * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC - code to work with 64-bit bfds. - -2003-08-14 Alan Modra - - * dep-in.sed: Remove libintl.h. - * Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE. - (POTFILES.in): Remove target. - * Makefile.in: Regenerate. - -2003-08-12 Alan Modra - - * elf64-ppc.c (ppc64_elf_next_input_section): Update comment. - (ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs, - use the function sym from the previous reloc. - -2003-08-11 Jakub Jelinek - - * elf32-i386.c (elf_i386_relocate_section): Make undefined symbols - fatal if -pie. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - (ppc_elf_relocate_section) : Issue fatal error - on undefined symbols if -pie. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - -2003-08-11 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o - branch to __libc_start_main. - -2003-08-08 Dmitry Diky - - * archures.c: Add xW42 and xE42 parts. Sort MPU list according to - gcc order. - * cpu-msp430.c: Likewise. - * elf32-msp430.c: Likewise. - * bfd-in2.h: Regenerate. - -2003-08-07 Alan Modra - - * elfxx-target.h: Remove PTR cast. - * targets.c (bfd_target): Make backend_data const void *. - * elf-bfd.h: Constify all occurrences of struct elf_backend_data. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-mips.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfcode.h: Likewise. - * elfcore.h: Likewise. - * elflink.c: Likewise. - * elflink.h: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-mips.h: Likewise. - * elf.c (prep_headers): Remove useless check for null backend_data. - * bfd-in2.h: Regenerate. - - * elf-bfd.h: Remove PARAMS macro. Replace PTR with void *. - (NAME): Use ## rather than CONCAT4 macro. - * elfcode.h: Remove one remaining PARAMS macro. - * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes. - * elf-strtab.c: Likewise. - * elf-hppa.h: Likewise. - * elf32-hppa.h: Likewise. - * elf32-hppa.c: Likewise. - (elf32_hppa_add_symbol_hook): Delete. - (elf_backend_add_symbol_hook): Don't define. - * libhppa.h: Convert to C90. Replace INLINE with inline. - -2003-08-06 Alan Modra - - * elf64-ppc.c (ppc_stub_name): Tweak names for better readability. - (ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against - function descriptors, but warn. - (ppc_build_one_stub): Remove a couple of vars. Move code creating - stub syms so that we can avoid a stub sym if we already have a - plt sym. Do not redefine an existing symbol. - (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for - glink. - -2003-08-06 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-08-06 Alan Modra - - * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with - SEC_LINKER_CREATED. - -2003-08-05 Daniel Jacobowitz - - * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it. - -2003-08-03 Jeff Muizelaar - - * coffcode.h (coff_slurp_line_table): Return with a warning - message if the line number table could not be read. - -2003-08-04 Nick Clifton - - * elflink.h (elf_link_add_object_symbols): Prepend "warning: " - to messages produced for .gnu.warning.SYMBOL sections. - -2003-08-04 Alan Modra - - * elfcode.h: Convert to C90, remove unneeded casts and prototypes. - * elfcore.h: Likewise. - * elflink.c: Likewise. - * elflink.h: Likewise. - * elf.c (sym_is_global): Remove INLINE. - (align_file_position): Replace INLINE with inline. - * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE. - (elf_file_p): Replace INLINE with inline. - -2003-08-02 Kaz Kojima - - * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. - -2003-08-01 H.J. Lu - - * elfxx-ia64.c (get_got): Align the .got section at 8 bytes. - -2003-08-01 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use - ElfNN_External_Rela instead of Elf64_External_Rela. - -2003-08-01 Nick Clifton - - * config.bfd: Add code to catch obsolete configurations and warn - about them unless --enable-obsolete is used. Use this to mark - vax-vms port as obsolete. - -2003-07-30 Alan Modra - - * elf32-ppc.c (ppc_elf_install_value): Tidy. - (ppc_elf_relax_section): Remove dead code. Remove unnecessary casts. - Formatting. - * elfxx-target.h: Remove PARAMS macro. Formatting. - -2003-07-30 Alan Modra - - * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF. - * elf64-ppc.c (get_fdh): New function, split out from - ppc64_elf_edit_opd. - (ppc64_elf_check_relocs): Use get_fdh. - (func_desc_adjust): Likewise. Tidy. - (ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error - exit. Use get_fdh. Account for superfluous dynamic relocs. - (ppc64_elf_relocate_section): Warning fix. - -2003-07-30 Jason Eckhardt - - * coff-i860.c: Convert to ISO C90. Remove superflous prototypes. - -2003-07-30 Jason Eckhardt - - * elf32-i860.c: Convert to ISO C90. Remove superflous prototypes. - -2003-07-30 Randolph Chung - - * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak. - * elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type. - -2003-07-30 Alan Modra - - * elf.c: Convert to C90, remove unnecessary prototypes and casts. - Replace PTR with void *. Formatting. - (_bfd_elf_assign_file_position_for_section): Remove INLINE. - (make_mapping): Likewise. - -2003-07-29 Alan Modra - - * elf64-ppc.c (func_desc_adjust): Give linker created function - descriptor symbols a size and type. - (ppc64_elf_relocate_section): Correct lq insn test. - -2003-07-28 Eric Christopher - - * elf32-ppc.c (R_PPC_RELAX32): New relocation. - (ppc_elf_install_value): New function. - (ppc_elf_sort_rela): Remove. - (ppc_elf_relax_section): Rewrite. Remove old relaxation - and replace with out of range branch stubs. - (ppc_elf_relocate_section): Handle R_PPC_RELAX32. - -2003-07-29 Alexandre Oliva - - * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table - from input_bfd. - -2003-07-28 Alan Modra - - * elf.c (special_sections): Set attributes for .got and .plt. - -2003-07-27 Alan Modra - - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs - on function descriptors. - (ELIMINATE_COPY_RELOCS): Expand comment. - (ppc64_elf_special_sections): Move. Don't include non-ppc64 sections. - Do include ".toc1". - -2003-07-25 H.J. Lu - - * elf.c (_bfd_elf_new_section_hook): Set the default section - type to SHT_NULL. - (elf_fake_sections): Set the section type based on asect->flags - if it is SHT_NULL. Don't abort on processor specific section - types. - -2003-07-25 H.J. Lu - - * bfd-in2.h: Regenerated. - -2003-07-25 H.J. Lu - - * elf-bfd.h (bfd_elf_special_section): New. - (elf_backend_data): Add special_sections, a pointer to - bfd_elf_special_section. - (elf_section_type). New. - (elf_section_flags): New. - (_bfd_elf_get_sec_type_attr): New. - - * elf.c (_bfd_elf_make_section_from_shdr): Always use the - real section type/flags. - (special_sections): New. - (get_special_section): New. - (_bfd_elf_get_sec_type_attr): New. - (_bfd_elf_new_section_hook): Check special_section to set - elf_section_type and elf_section_flags. - (elf_fake_sections): Don't use section name to set ELF section - data. - - * elf32-m32r.c (m32r_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-mcore.c (mcore_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-ppc.c (ppc_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-sh64.c (sh64_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-v850.c (v850_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf32-xtensa.c (elf_xtensa_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf64-alpha.c (elf64_alpha_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf64-hppa.c (elf64_hppa_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf64-ppc.c (ppc64_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elf64-sh64.c (sh64_elf64_special_sections): New. - (elf_backend_special_sections): Defined. - - * elfxx-ia64.c (elfNN_ia64_special_sections): New. - (elf_backend_special_sections): Defined. - - * elfxx-mips.c (_bfd_mips_elf_special_sections): New. - - * elfxx-mips.h (_bfd_mips_elf_special_sections): New. - (elf_backend_special_sections): Defined. - - * elfxx-target.h (elf_backend_special_sections): New. Default - to NULL. - (elfNN_bed): Initialize special_sections. - - * section.c (bfd_abs_section): Remove const. - (bfd_und_section): Likewise. - (bfd_com_section): Likewise. - (bfd_ind_section): Likewise. - -2003-07-24 Nick Clifton - - * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code - sections are assigned the LOAD attribute. - -2003-07-25 Kaz Kojima - - * elf32-sh.c: Convert to C90. Replace PTR with void *. - * elf32-sh64-com.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-sh64.h: Likewise. - * elf64-sh64.c: Likewise. - -2003-07-24 Kaz Kojima - - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. - (allocate_dynrelocs): Likewise. - (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL. - (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. - -2003-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-07-23 Bob Wilson - - * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move - near the beginning of the file. Swap order of arguments. Call - _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0. - (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call. - (elf_xtensa_relocate_section): Likewise. - (shrink_dynamic_reloc_sections): Likewise. - -2003-07-23 Bob Wilson - - * elf32-xtensa.c (plt_reloc_count): Fix typo in comment. - (elf_xtensa_size_dynamic_sections): Use elf_discarded_section. - (elf_xtensa_combine_prop_entries): Avoid returning non-zero without - first printing an error message. - (elf_xtensa_finish_dynamic_sections): Likewise. - (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when - discarding literal table entries. - (elf_xtensa_merge_private_bfd_data): Remove newline from error message. - (elf_xtensa_do_asm_simplify): Likewise. - -2003-07-23 Stephane Carrez - - * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when - we have a local symbol in common section. - -2003-07-22 H.J. Lu - - * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for - weak symbols. - -2003-07-22 Nick Clifton - - * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to - expected RS6000 storage classes. - -2003-07-21 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark - output_bfd unused to silence gcc. - -2003-07-21 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2003-07-21 Alan Modra - - * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use.. - (_bfd_elf_symbol_refs_local_p): ..this. Declare. - * elflink.c (_bfd_elf_symbol_refs_local_p): New function. - * elf32-i386.c (elf_i386_relocate_section): Remove h NULL test - now done in _bfd_elf_symbol_refs_local_p. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - -2003-07-18 H.J. Lu - - * elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change. - -2003-07-18 H.J. Lu - - * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo. - (SYMBOL_CALLS_LOCAL): Likewise. - - * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE - immediately if symbol isn't defined locally. - -2003-07-18 Richard Henderson - - * elflink.c (_bfd_elf_dynamic_symbol_p): New. - * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it. - (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it. - * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise. - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. - * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise. - * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise. - Update all callers to provide the relocation being resolved. - -2003-07-17 Shaun Jackman - - * config.bfd (arm-wince-pe): Add -DARM_COFF_BUGFIX to - targ_cflags. - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - * po/sv.po: New Swedish translation. - * po/opcodes.pot: Regenerate. - -2003-07-16 Richard Henderson - - * config.bfd, configure.host, configure.in: Remove ia64-aix support. - * elfxx-ia64.c, targets.c: Likewise. - -2003-07-16 Richard Henderson - - * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false - for symbols defined locally plus -Bsymbolic. Tidy logic. - -2003-07-15 Richard Sandiford - - * archures.c (bfd_mach_mips7000): New. - * bfd-in2.h: Regenerated. - * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. - * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. - (mips_mach_extensions): Add an entry for it. - -2003-07-14 Nick Clifton - - * po/tr.po: Update with latest version. - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - * Makfile.in: Regenerate. - * configure: Regenerate. - -2003-07-12 Jeff Baker - - * bfd/config.bfd (__QNXTARGET__): Define for Neutrino architectures. - * bfd/elf32-arm.h (ELF_MAXPAGESIZE): Set to 4k for Neutrino. - * bfd/elf32-sh.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. - * bfd/elf32-ppc.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. - -2003-07-12 Jeff Muizelaar - - * coffcode.h (coff_set_section_contents): Set the - IMAGE_FILE_32BIT_MACHINE flag for PE targets. - -2003-07-11 Richard Sandiford - - * bfd-in.h (bfd_h8300_pad_address): Declare. - * bfd-in2.h: Regenerate. - * cpu-h8300.c (bfd_h8300_pad_address): New function. - * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize - addresses before checking whether they can be relaxed. - (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check. - Don't complain about overflows in general 8-bit relocations. - * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address. - Fix handling of R_H8_DIR24A8. - -2003-07-11 Richard Sandiford - - * elf32-h8300.c: Convert function prototypes and definitions - to C90 syntax. - * coff-h8300.c: Likewise. - * cpu-h8300.c: Likewise. - -2003-07-11 Alan Modra - - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Likewise. - -2003-07-10 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new - .got.loc section. Do not set SEC_ALLOC or SEC_LOAD flags for the - .xt.lit.plt section. - (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section - and allocate memory for it. - (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output - section to the .got.loc section. - (elf_xtensa_finish_dynamic_sections): Fix up call to - elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to - the address of .got.loc. - (relax_property_section): Shrink .got.loc to match changes in any - literal table section. - (xtensa_is_property_section): Change to match - xtensa_get_property_section_name. - (xtensa_is_littable_section): New. - -2003-07-10 H.J. Lu - - * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of - -1LL. - -2003-07-10 Alan Modra - - * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo. - (BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo. - Run "make dep-am". - * Makefile.in: Regenerate. - -2003-07-10 Alexandre Oliva - - 2001-09-12 Alexandre Oliva - * elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. - (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. - 2001-06-02 Nick Clifton - * elf32-am33lin.c: Rename global functions. - 2001-05-09 Alexandre Oliva - * config.bfd (am33_2.0, am33_2.0-*-linux*): Added. - * configure.in (bfd_elf32_am33lin_vec): Added. - * Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo. - (elf32-am33lin.lo): List dependencies. - * aclocal.m4, configure, Makefile.in: Rebuilt. - * elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, - ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if - ELF_ARCH was not defined before. - (elf_symbol_leading_char): Define if not defined. - * elf32-am33lin.c: Override the definitions above. - * targets.c (bfd_elf32_am33lin_vec): New. - -2003-07-09 Alexandre Oliva - - 2002-12-12 Alexandre Oliva - * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Initialize - pcrel_relocs_copied. - 2001-12-13 Alexandre Oliva - * elf-m10300.c (ELF_DYNAMIC_INTERPRETER): Renamed from - ld-linux.so.2 to ld.so.1. - 2001-10-10 Alexandre Oliva - * elf-m10300.c (elf_mn10300_sizeof_plt0): New macro. - (_bfd_mn10300_elf_adjust_dynamic_symbol): Use it. - (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. - * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Allocate - .rela.* section contents with bfd_zalloc. - 2001-09-25 Alexandre Oliva - * elf-m10300.c: Added declarations for functions missing them. - Merge some shared-library changes from the i386 back-end. Use - R_MN10300_RELATIVE instead of R_MN10300_PCREL32 and - R_MN10300_GLOB_DAT instead of R_MN10300_32 where appropriate. - (struct elf32_mn10300_link_hash_entry): Remove duplicates of - members of elf_link_hash_entry. Adjusted references. - (mn10300_elf_final_link_relocate): dynobj was already loaded - into a local variable, use it. - 2001-09-21 Nick Clifton - * elf-m10300.c: Add missing function prototypes. - 2001-08-24 Alexandre Oliva - * elf-m10300.c (mn10300_elf_relocate_section): Don't compute - relocation for dynamic relocations. - 2001-05-16 Alexandre Oliva - * reloc.c (BFD_RELOC_MN10300_GOTOFF24): New. - * elf-m10300.c: Introduce GOTPC16, GOTOFF24, GOTOFF16 and - PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32. - (_bfd_mn10300_elf_create_dynamic_sections): Move creation ot PLT... - (_bfd_mn10300_elf_create_got_section): ... here, so that its - adress is already known at the time we compute relaxations. - (mn10300_elf_relax_section): Relax GOTPC32, GOTOFF32, GOT32 - and PLT32 to narrower relocations. - * libbfd.h, bfd-in2.h: Rebuilt. - 2001-04-12 Alexandre Oliva - * reloc.c (BFD_RELOC_MN10300_GOT32, BFD_RELOC_MN10300_GOT24, - BFD_RELOC_MN10300_GOT16, BFD_RELOC_MN10300_COPY, - BFD_RELOC_MN10300_GLOB_DAT, BFD_RELOC_MN10300_JMP_SLOT, - BFD_RELOC_MN10300_RELATIVE): New relocs. - * libbfd.h, bfd-in2.h: Rebuilt. - * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): New. - (struct elf32_mn10300_link_hash_entry): Added DSO-related - fields. - (elf_mn10300_howto): Defined new relocation types. - (mn10300_reloc_map): Map them. - (_bfd_mn10300_elf_create_got_section): New fn. - (mn10300_elf_check_relocs): Handle PIC relocs. - (mn10300_elf_final_link_relocate): Likewise. - (mn10300_elf_relocate_section): Handle DSOs. - (PLT0_ENTRY_SIZE, PLT_ENTRY_SIZE, PIC_PLT_ENTRY_SIZE): New macros. - (elf_mn10300_plt0_entry, elf_mn10300_plt_entry, - elf_mn10300_pic_plt_entry): New. - (elf_mn10300_sizeof_plt, elf_mn10300_plt_plt0_offset, - elf_mn10300_plt0_linker_offset, elf_mn10300_plt0_gotid_offset, - elf_mn10300_plt_temp_offset, elf_mn10300_plt_symbol_offset, - elf_mn10300_plt_reloc_offset: New macros. - (ELF_DYNAMIC_INTERPRETER): Likewise. - (_bfd_mn10300_elf_create_dynamic_sections): New function. - (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise. - (_bfd_mn10300_elf_discard_copies): Likewise. - (_bfd_mn10300_elf_size_dynamic_sections): Likewise. - (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. - (_bfd_mn10300_elf_finish_dynamic_sections): Likewise. - (elf_backend_can_gc_sections, - elf_backend_create_dynamic_sections, - elf_backend_adjust_dynamic_sections, - elf_backend_size_dynamic_sections, - elf_backend_finish_dynamic_symbol, - elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, - elf_backend_plt_readonly, elf_backend_want_plt_sym, - elf_backend_got_header_size, elf_backend_plt_header_size): New - macros. - -2003-07-09 Alexandre Oliva - - 2001-05-06 Alexandre Oliva - * elf-m10300.c (compute_function_info): Account for AM33 - registers in `movm' when computing stack space for `call' when - linking for AM33/2.0 link. - 2000-04-01 Alexandre Oliva - * archures.c (bfd_mach_am33_2): Renamed from bfd_mach_am332. - * bfd-in2.h: Rebuilt. - * cpu-m10300.c (bfd_am33_2_arch): Renamed from bfd_am332_arch. - * elf-m10300.c: Updated. - 2000-03-31 Alexandre Oliva - * archures.c (bfd_mach_am332): Defined. - * bfd-in2.h: Rebuilt. - * cpu-m10300.c (bfd_am332_arch): Defined. - (bfd_am33_arch): Chained with am33-2. - * elf-m10300.c (elf_mn10300_mach): Handle am332. - (_bfd_mn10300_elf_final_write_processing): Likewise. - -2003-07-09 H.J. Lu - - * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1LL. - -2003-07-10 Alan Modra - - * elf64-ppc.c (bfd_elf64_mkobject): Define. - (struct ppc64_elf_obj_tdata): New. - (ppc64_elf_tdata, ppc64_tlsld_got): Define. - (ppc64_elf_mkobject): New function. - (struct got_entry): Add "owner". Move "tls_type". - (struct ppc_link_hash_table): Delete "relgot", "tlsld_got". - (ppc64_elf_init_stub_bfd): New function. - (create_got_section): Create header .got in dynobj. Create .got - and .rela.got in each bfd. Stash pointers in ppc64_elf_obj_tdata. - (ppc64_elf_create_dynamic_sections): Don't call create_got_section. - Look for dynobj .got, and test it. - (ppc64_elf_copy_indirect_symbol): Adjust for changed got. - (update_local_sym_info): Likewise. - (ppc64_elf_check_relocs): Likewise. - (ppc64_elf_gc_sweep_hook): Likewise. - (ppc64_elf_tls_optimize): Likewise. - (allocate_dynrelocs): Likewise. - (ppc64_elf_size_dynamic_sections): Likewise. - (ppc64_elf_relocate_section): Likewise. - (ppc64_elf_next_toc_section): Update comment. - (toc_adjusting_stub_needed): Remove unneeded cast. - (ppc64_elf_build_stubs): Check for stub sections in stub bfd by - testing section flags. - (ppc64_elf_build_stubs): Likewise. - (ppc64_elf_size_stubs): Likewise. Remove stub_bfd param. - (ppc64_elf_finish_dynamic_sections): Write out got sections. - (func_desc_adjust): Copy over dynamic info for undef weaks. - * elf64-ppc.h (ppc64_elf_init_stub_bfd): Declare. - (ppc64_elf_size_stubs): Update prototype. - * elflink.h (elf_link_sort_relocs): Use link_orders to find reldyn - input sections rather than scanning dynobj. - -2003-07-09 Richard Sandiford - - * elfxx-mips.c (mips_elf_link_hash_entry): Remove min_dyn_reloc_index. - (bfd_mips_elf_swap_msym_in, bfd_mips_elf_swap_msym_out): Delete. - (mips_elf_create_msym_section): Delete. - (mips_elf_create_dynamic_relocation): Don't set min_dyn_reloc_index. - (_bfd_mips_elf_copy_indirect_symbol): Likewise. - (_bfd_mips_elf_create_dynamic_sections): Don't create .msym. - (_bfd_mips_elf_size_dynamic_sections): Don't calculate its size. - (_bfd_mips_elf_size_dynamic_sections): Don't add DT_MIPS_MSYM. - (_bfd_mips_elf_finish_dynamic_symbol): Don't add symbols to .msym. - (_bfd_mips_elf_finish_dynamic_sections): Likewise. - -2003-07-09 Richard Sandiford - - * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the - symbols protected. - -2003-07-09 Richard Sandiford - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Fix handling - of relocations whose offset is -2. - -2003-07-09 Richard Sandiford - - * bfd/elfxx-mips.c (mips_elf_create_dynamic_relocation): Treat - forced-local symbols like other locals. Don't create relocations - against STN_UNDEF in irix objects. - -2003-07-09 Richard Sandiford - - * bfd/elfxx-mips.c (mips_elf_create_dynamic_relocation): In SGI- - compatible objects, add the values of defined external symbols - to the addend. - -2003-07-09 Richard Sandiford - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Always - initialize a GOT entry to the symbol's st_value. - -2003-07-08 Alan Modra - - * elf-bfd.h (struct elf_obj_tdata): Move linker_section_pointers.. - * elf32-ppc.c (struct ppc_elf_obj_tdata): ..to here. New. - (ppc_elf_tdata): Define. - (elf_local_ptr_offsets): Adjust. - (ppc_elf_mkobject): New function. - (bfd_elf32_mkobject): Define. - - * elfcode.h (elf_object_p): Allocate tdata via _bfd_set_format. - * elfcore.h (elf_core_file_p): Likewise. - * section.c (bfd_section_init): Remove prototype. - -2003-07-08 Alan Modra - - * elf-bfd.h (struct elf_link_hash_entry): Remove linker_section_pointer - field. - (enum elf_linker_section_enum): Delete. - (struct elf_linker_section): Delete. - (struct elf_linker_section_pointers): Delete. - (struct elf_obj_tdata): Remove #if 0 chunk. Remove linker_section. - Make linker_section_pointers a void**. - (elf_local_ptr_offsets, elf_linker_section): Don't define. - * elf32-ppc.c (enum elf_linker_section_enum): New, cut-down version - of old item in elf-bfd.h. - (struct elf_linker_section): Likewise. - (struct elf_linker_section_pointers): Likewise. - (elf_local_ptr_offsets): Define. - (struct ppc_elf_link_hash_entry): Add linker_section_pointer. - (ppc_elf_link_hash_newfunc): Init it. - (struct ppc_elf_link_hash_table): Add sbss. - (ppc_elf_link_hash_table_create): zmalloc rather than clearing - individual fields. - (elf_create_linker_section): Fold into.. - (ppc_elf_create_linker_section): ..here. Remove hole_size code. - Make rela section here if shared. - (elf_find_pointer_linker_section): Pass lsect rather than enum. - (elf_create_pointer_linker_section): Adjust. zalloc rather than - clearing in a loop. - (elf_finish_pointer_linker_section): Adjust. Don't make rela - section here. - (ppc_elf_check_relocs): Adjust. - (ppc_elf_add_symbol_hook): Tighten hash creator test. Remove code - creating .sbss by hand. - * elf.c (_bfd_elf_link_hash_newfunc): Adjust. - -2003-07-04 Jakub Jelinek - - * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to - complain_overflow_bitfield. - * elf64-s390.c (elf_howto_table): Change R_390_GOT12 to - complain_overflow_bitfield. - -2003-07-04 Jakub Jelinek - - * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return - true even if -pie. - -2003-07-04 Jakub Jelinek - - * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec. - (elfNN_ia64_dynamic_symbol_p): Change info->shared into - !info->executable. - (get_fptr): For -pie create .opd as writable section and create - .rela.opd as well. - (elfNN_ia64_check_relocs): Change info->shared into - !info->executable. - (allocate_fptr): Likewise. - (allocate_dynrel_entries): Account for a relative reloc for -pie - @fptr(). Don't account for a relative reloc if -pie want_ltoff_fptr - for undefweak symbol. Account for an IPLT reloc in .rela.opd - section if -pie. - (set_got_entry): Don't create a relative reloc if -pie - want_ltoff_fptr for undefweak symbol. - (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie. - (elfNN_ia64_relocate_section): Emit a relative reloc for -pie - @fptr(). - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol - even if -pie. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - -2003-07-04 Paul Clarke - - * elf32-h8300.c (R_H8_DIR32A16): Fix name field. - (elf32_h8_relax_section) : Adjust position of relocation. - : Fix type of relocation. - -2003-07-04 Kaz Kojima - - * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic - sections were created already. Remove unnecessary tests of - the previous change. - -2003-07-04 Kaz Kojima - - * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call - bfd_make_section for existing sections. - -2003-07-04 Alan Modra - - * elf32-sparc.c (elf32_sparc_check_relocs): Don't call - create_got_section if we already have done so. - * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. - (sh_elf_check_relocs): Likewise. - (sh_elf_adjust_dynamic_symbol): Delete "dynobj" var. Use - htab->root.dynobj instead. - (sh_elf_check_relocs): Likewise. - (sh_elf_finish_dynamic_sections): Likewise. - - * section.c (bfd_make_section): Return NULL for existing section. - -2003-07-04 Alan Modra - - * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call - ppc_elf_create_got if we've already done so. - - * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare. - (_bfd_elf_find_pointer_linker_section): Likewise. - (bfd_elf32_create_pointer_linker_section): Likewise. - (bfd_elf32_finish_pointer_linker_section): Likewise. - (bfd_elf64_create_pointer_linker_section): Likewise. - (bfd_elf64_finish_pointer_linker_section): Likewise. - (_bfd_elf_make_linker_section_rela): Likewise. - * elfcode.h (elf_create_pointer_linker_section): Don't define. - (elf_finish_pointer_linker_section): Likewise. - * elflink.c (_bfd_elf_make_linker_section_rela): Delete. - (_bfd_elf_create_linker_section): Move this function.. - (_bfd_elf_find_pointer_linker_section): ..and this.. - * elflink.h (elf_create_pointer_linker_section): ..and this.. - (elf_finish_pointer_linker_section): ..and this.. - * elf32-ppc.c: ..to here, renaming to the following, and adjusting - calls. - (elf_create_linker_section): Convert to C90, tidy. - (elf_find_pointer_linker_section): Likewise. - (elf_create_pointer_linker_section): Likewise. - (elf_finish_pointer_linker_section): Likewise. - * elf32-i370.c: Delete #if 0 code. - -2003-07-02 Alan Modra - - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and - _restf* to be satisfied by shared libs, and always force them local. - (toc_adjusting_stub_needed): Avoid scanning linker created sections. - Correct test for "bl". - (ppc64_elf_relocate_section ): Correct test for - primary opcode 31. - -2003-07-01 Martin Schwidefsky - - * elf32-s390.c (s390_elf_ldisp_reloc): New prototype. - (s390_tls_reloc): New function. - (elf_howto_table): Add long displacement relocations R_390_20, - R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20. - (elf_s390_reloc_type_lookup): Likewise. - (elf_s390_check_relocs): Likewise. - (elf_s390_gc_sweep_hook): Likewise. - (elf_s390_relocate_section): Likewise. - * elf64-s390.c: Same changes as for elf32-s390.c. - * reloc.c: Add long displacement relocations BFD_RELOC_390_20, - BFD_RELOC_390_GOT20, BFD_RELOC_390_GOTPLT20 and - BFD_RELOC_390_TLS_GOTIE20. - * bfd-in2.h: Regenerate. - * libbfd.h: Likewise. - -2003-06-30 Alan Modra - - * cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts. - (ins_imms, ins_immsm1u4): Likewise. Warning fix. - -2003-06-29 Alan Modra - - * archive.c: Convert to C90, remove unnecessary prototypes and casts. - Replace PTR with void *. Formatting. - * archive64.c: Likewise. - * archures.c: Likewise. - * bfd-in.h: Likewise. - * bfd.c: Likewise. - * bfdio.c: Likewise. - * bfdwin.c: Likewise. - * cache.c: Likewise. - * corefile.c: Likewise. - * format.c: Likewise. - * init.c: Likewise. - * libbfd-in.h: Likewise. - * libbfd.c: Likewise. - * linker.c: Likewise. - * opncls.c: Likewise. - * reloc.c: Likewise. - * section.c: Likewise. - * simple.c: Likewise. - * syms.c: Likewise. - * targets.c: Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - - * ecoff.c (bfd_debug_section): Add missing kept_section initialization. - * libbfd-in.h (_bfd_sh_align_load_span): Don't declare if defined. - * libbfd.c (COERCE32, EIGHT_GAZILLION): Simplify. - (bfd_getb64): Rewrite without parens. - (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. - * cache.c (insert, snip): Remove INLINE. - * linker.c (bfd_link_add_undef): Likewise. - -2003-06-29 Andreas Jaeger - - * elf64-x86-64.c: Convert to ISO C90 prototypes, remove - unnecessary prototypes. Replace PTR with void *. - (elf64_x86_64_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL to - trim plt entries. Move undefweak non-default visibility test ... - (allocate_dynrelocs): ... from here. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. - Change all callers. - (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. Use - SYMBOL_REFERENCES_LOCAL for dynreloc check. - (elf64_x86_64_relocate_section): Use SYMBOL_CALLS_LOCAL for - dynreloc and .got relocs. - (elf64_x86_64_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL - for .got relocs. - -2003-06-29 Thiemo Seufer - - * elfxx-mips.c: Allow lazy binding for R_MIPS_JALR. - -2003-06-27 Nick Clifton - - * opncls.c (bfd_add_gnu_debuglink_section): Rename to - bfd_add_gnu_debuglink_section and only create the section, do not - fill in its contents. - (bfd_fill_in_gnu_debuglink_section): New function. Fill in the - contents of a .gnu-debuglink section. - * bfd-in2.h: Regenerate. - -2003-06-27 Thiemo Seufer - - * elfxx-mips.c: Revert .got alignment to 2**4. - -2003-06-27 Thiemo Seufer - - * elf32-mips.c: Fix addend for _gp_disp special symbol. - -2003-06-27 Thiemo Seufer - - * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default - relocation header setup. - -2003-06-25 Alan Modra - - * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast. - (ppc_elf_reloc_type_lookup): Modify comment. - (ppc_elf_info_to_howto): Ditto. - (ppc_elf_relocate_section): Ditto. - (ppc_elf_check_relocs): Call ppc_elf_howto_init. - -2003-06-25 Alan Modra - - * aout-ns32k.c: Correct spelling of "relocatable". - * aoutx.h: Likewise. - * bfd-in.h: Likewise. - * bfd.c: Likewise. - * bout.c: Likewise. - * coff-a29k.c: Likewise. - * coff-alpha.c: Likewise. - * coff-arm.c: Likewise. - * coff-i386.c: Likewise. - * coff-i860.c: Likewise. - * coff-i960.c: Likewise. - * coff-m68k.c: Likewise. - * coff-m88k.c: Likewise. - * coff-mcore.c: Likewise. - * coff-mips.c: Likewise. - * coff-or32.c: Likewise. - * coff-ppc.c: Likewise. - * coff-rs6000.c: Likewise. - * coff-sh.c: Likewise. - * coff-tic80.c: Likewise. - * coff64-rs6000.c: Likewise. - * cofflink.c: Likewise. - * cpu-ns32k.c: Likewise. - * ecoff.c: Likewise. - * ecofflink.c: Likewise. - * elf-bfd.h: Likewise. - * elf-eh-frame.c: Likewise. - * elf-hppa.h: Likewise. - * elf-m10200.c: Likewise. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-avr.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-d10v.c: Likewise. - * elf32-dlx.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i860.c: Likewise. - * elf32-i960.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-iq2000.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-msp430.c: Likewise. - * elf32-openrisc.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xstormy16.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-mips.c: Likewise. - * elf64-mmix.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfcode.h: Likewise. - * elflink.h: Likewise. - * elfn32-mips.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * i386linux.c: Likewise. - * ieee.c: Likewise. - * libcoff-in.h: Likewise. - * linker.c: Likewise. - * m68klinux.c: Likewise. - * pdp11.c: Likewise. - * pe-mips.c: Likewise. - * peXXigen.c: Likewise. - * reloc.c: Likewise. - * reloc16.c: Likewise. - * sparclinux.c: Likewise. - * sunos.c: Likewise. - * syms.c: Likewise. - * versados.c: Likewise. - * vms.c: Likewise. - * xcofflink.c: Likewise. - * bfd-in2.h: Regenerate. - * libcoff.h: Regenerate. - * libbfd.h: Regenerate. - -2003-06-24 Alan Modra - - * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against - local sym errors. - - * elf32-i386.c: Convert to C90 function definitions, remove unnecessary - prototypes and casts. Replace PTR with void *. Formatting. - * elf32-ppc.c: Likewise. Break long strings too. - (ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type. - (ppc_elf_unhandled_reloc): Internationalize error message. - * elf32-ppc.h: Remove PARAMS. - -2003-06-23 Mark Mitchell - - * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count - APUinfo slots. - (ppc_elf_final_write_processing): Likewise. - -2003-06-23 H.J. Lu - - * elflink.h (elf_link_input_bfd): Check raw size when using - kept_section to preserve debug information discarded by - linkonce. - -2003-06-20 Alan Modra - - * elf64-ppc.c (struct ppc_link_hash_table): Add top_id. - (ppc64_elf_setup_section_lists): Set it. - (ppc64_elf_relocate_section): Check sym section id against top_id. - (ppc_build_one_stub): Comment on top_id. - -2003-06-20 Ralf Corsepius - - * config.bfd: Add tic4x-*-rtems*. - -2003-06-20 Alan Modra - - * elf64-ppc.c: Convert to C90 function definitions, remove unnecessary - prototypes and casts. Replace PTR with void *. Format copyright. - Mention ABI links. - (struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt, - sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt. - (ppc_type_of_stub): Make r_type an enum. - (ppc64_elf_size_stubs): Likewise. - * elf64-ppc.h: Remove PARAMS macro. - -2003-06-19 Alan Modra - - * elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of - elf hash tab fields. - - * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype. - (ppc64_elf_info_to_howto): Likewise. - (ppc64_elf_build_stubs): Add "stats" param, and print statistics. - * elf64-ppc.h (ppc64_elf_build_stubs): Adjust prototype. - -2003-06-19 Alan Modra - - * elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32 - reloc overflow on discarded eh_frame entries. - -2003-06-19 Alan Modra - - * elf64-ppc.c (toc_adjusting_stub_needed): New function. - (ppc64_elf_next_input_section): Use it here to set has_gp_reloc. - Return error condition. - (ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections - that have has_gp_reloc set. - (struct ppc_link_hash_table): Add stub_count. - (ppc_build_one_stub): Increment it. - (ppc64_elf_link_hash_table_create): zmalloc rather than clearing - individual fields. - * elf64-ppc.h (ppc64_elf_next_input_section): Update prototype. - -2003-06-18 Alan Modra - - * elflink.h (elf_gc_record_vtentry): Revert last change. Correct - size calculation from addend. Round size up. - -2003-06-18 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_relocate_section) : When linking a program, don't complain about a - symbol from a normal object or an undefined weak symbol. - -2003-06-18 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on - R_PPC64_TOC relocs. - -2003-06-17 H.J. Lu - - * section.c (struct sec): Put back kept_section. - (STD_SECTION): Put back kept_section initialization. - * bfd-in2.h: Regenerate. - - * elflink.h (elf_link_input_bfd): Also check discarded linkonce - sections for relocateable output. Use kept_section to preserve - debug information discarded by linkonce. - -2003-06-17 Roland McGrath - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Support - segment-relative relocation between different segments. - -2003-06-17 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc - optimizations earlier. - - * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index. - Restore previous input_list type. - (ppc64_elf_link_hash_table_create): Undo last change. - (ppc64_elf_setup_section_lists): Reinstate code setting up input lists - per output section, but don't bother with bfd_abs_section marker. - (ppc64_elf_next_input_section): Adjust for multiple input section - lists. - (group_sections): Likewise. - -2003-06-17 Jakub Jelinek - - * elf64-ppc.c (ppc64_elf_relocation_section): Ensure - *r_offset == r_addend for RELATIVE relocs against .got. - -2003-06-17 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs. - -2003-06-17 Nick Clifton - - * elflink.h (elf_gc_record_vtentry): Allocate an extra element - in the vtable_entries_used array to allow for the accessing - the largest element. - -2003-06-17 Alan Modra - - * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify - input_list. - (ppc64_elf_link_hash_table_create): Init input_list here. - (ppc64_elf_setup_section_lists): Remove code setting up input lists - per output section. Set toc_off for abs and other standard sections. - (ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc. - (ppc64_elf_next_input_section): Adjust for single input section list. - Don't set toc_curr from input bfds that haven't set elf_gp. - (group_sections): Adjust for single input section list. - - * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero. - -2003-06-16 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel - tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a - dtprel entry. Ensure TLS_LD DTPMOD reloc has a zero addend. Write - got section for RELATIVE relocs. Fix wrong comment. Change condition - under which dynamic relocs update the section contents. - -2003-06-13 Robert Millan - - * config.bfd: Add i386-netbsd-gnu target. - -2003-06-12 Nick Clifton - - * opncls.c (calc_crc32): Rename to - bfd_calc_gnu_debuglink_crc32 and export. - (GNU_DEBUGLINK): Define and use to replace occurrences of - hard-coded ".gnu_debuglink" in the code. - (get_debug_link_info): Prevent aborts by replacing call to - xmalloc with a call to malloc. - (find_separate_debug_file): Prevent aborts by replacing calls - to xmalloc and xstrdup with calls to malloc and strdup. - (bfd_add_gnu_debuglink): New function. Add a .gnu_debuglink - section to a bfd. - * bfd-in2.h: Regenerate. - -2003-06-12 Federico G. Schwindt - - * config.bfd (i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): - New target (was i[3-7]86-*-openbsd* before). - (i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec. - (vax-*-openbsd*): New target. - -2003-06-11 Thiemo Seufer - - * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options - for n32, too. - (MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too. - (mips_elf_rel_dyn_section): Use appropriate section alignment. - (mips_elf_create_got_section): Likewise. - (_bfd_mips_elf_create_dynamic_sections): Likewise. - -2003-06-11 Thiemo Seufer - - * elf32-mips.c (mips_elf_generic_reloc): New Function. - (elf_mips_howto_table_rel): Use it. - (gprel32_with_gp): Move prototype. - (mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. - Use mips_elf_generic_reloc. - (mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. - Code cleanup. - (_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of - zero addend. - (mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic - as in the other *_gprel*_reloc functions. - (gprel32_with_gp): Handle partial_inplace properly. - (mips32_64bit_reloc): Use mips_elf_generic_reloc. - (mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend. - Do addend handling directly instead of calling - _bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly. - * elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead - of zero addend. Handle partial_inplace properly. - (mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero - addend. - (mips_elf64_gprel16_reloc): Likewise. - (mips_elf64_literal_reloc): Likewise. - (mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment - logic as in the other *_gprel*_reloc functions. Handle - partial_inplace properly. - (mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero - addend. Handle partial_inplace properly. - (mips16_gprel_reloc): Likewise. Do addend handling directly instead - of calling _bfd_mips_elf_gprel16_with_gp. - * elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL. - (mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead - of zero addend. - (mips_elf_shift6_reloc): Handle partial_inplace properly. - (mips16_gprel_reloc): Likewise. Do addend handling directly instead - of calling _bfd_mips_elf_gprel16_with_gp. - * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle - partial_inplace properly. Fix wrong addend handling. Fix overflow - check. - (_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and - exported. - (mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend. - (_bfd_mips_elf_relocate_section): Likewise. - (mips_elf_create_dynamic_relocation): Update sec_info_type access. - * elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration. - (_bfd_mips_elf_sign_extend): New prototype. - -2003-06-11 Federico G. Schwindt - - * config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): - New target (was sparc-*-openbsd* before). - (sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec. - - * configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo. - * configure: Regenerate. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-11 Alan Modra - - * Makefile.am (config.status): Depend on version.h. - Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2003-06-10 Alan Modra - Gary Hade - - * elf64-ppc.c (ppc64_elf_relocate_section <*_DS>): Special case lq. - -2003-06-10 Richard Sandiford - - * archures.c (bfd_mach_h8300sxn): New architecture. - * bfd-in2.h: Regenerate. - * cpu-h8300.c (h8300_scan): Check for 'sxn'. - (h8300sxn_info_struct): New. - (h8300sx_info_struct): Link to it. - * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. - (elf32_h8_final_write_processing): Likewise. - -2003-06-08 Alan Modra - - * elf64-ppc.c: Move TARGET_LITTLE_SYM and other macros used by - elfxx-target.h so that we can use elf_backend_got_header_size. - (ELF_MACHINE_ALT1, ELF_MACHINE_ALT2): Delete. - (GLINK_CALL_STUB_SIZE): Modify. Define new glink call stub and - associated macros. - (ppc64_elf_howto_raw ): Correct - dst_mask. - (enum ppc_stub_type): Add ppc_stub_long_branch_r2off and - ppc_stub_plt_branch_r2off. - (struct ppc_stub_hash_entry): Reorganize. - (struct ppc_link_hash_table): Add no_multi_toc, multi_toc_needed, - toc_curr, toc_off and emit_stub_syms. - (ppc64_elf_link_hash_table_create): Init them. - (ppc_stub_name): Correct string size. - (ppc64_elf_check_relocs): Set has_gp_reloc on GOT and TOC relocs. - (ppc64_elf_size_dynamic_sections): Set no_multi_toc if GOT entries - used. - (ppc_type_of_stub): Tweak root.type test. - (build_plt_stub): Remove glink code. Adjust for insn macro changes. - (ppc_size_one_stub): Handle ppc_stub_long_branch_r2off and - ppc_stub_plt_branch_r2off. - (ppc_build_one_stub): Likewise. Fix var shadowing. Correct addis,addi - range test. Use toc_off to calculte r2 values. Handle emit_stub_syms. - (ppc64_elf_setup_section_lists): Remove htab creator flavour test. - Initialize elf_gp and toc_curr. - (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): New functions. - (ppc64_elf_next_input_section): Set toc_off. - (group_sections): Ensure groups have the same TOC. - (ppc64_elf_size_stubs): Check whether we need a TOC adjusting stub. - (ppc64_elf_build_stubs): Add emit_stub_syms param, and stash in htab. - Build new glink stub. - (ppc64_elf_relocate_section): Handle multiple TOCs. Fix comments. - (ppc64_elf_finish_dynamic_sections): Adjust DT_PPC64_GLINK. - * elf64-ppc.h (ppc64_elf_build_stubs): Update prototype. - (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): Declare. - * section.c (struct sec): Rename flag12 to has_gp_reloc. - (STD_SECTION): Update. - * ecoff.c (bfd_debug_section): Update comment. - * bfd-in2.h: Regenerate. - -2003-06-05 Daniel Jacobowitz - - * elfcode.h (elf_slurp_reloc_table_from_section): Don't dereference - NULL function pointers. - -2003-06-05 Daniel Jacobowitz - - * simple.c (bfd_simple_get_relocated_section_contents): Call - _bfd_generic_link_add_symbols instead of bfd_link_add_symbols. - -2003-06-04 Svein E. Seldal - - * coff-tic54x.c: Removed the ticoff0_bad_format_hook() and - ticoff1_bad_format_hook() functions. Removed the coff0 and coff1 - swaptables. - * coff-tic4x.c: Ditto - * coffcode.h: Added extra arguments to CREATE_BIG_COFF_TARGET_VEC - and CREATE_LITTLE_COFF_TARGET_VEC. Created the macro - CREATE_BIGHDR_COFF_TARGET_VEC. Created the ticoff0_bad_format_hook(), - ticoff1_bad_format_hook() functions. Created the coff0 and coff1 - swap tables. - * coff-tic4x.c: Adopted new CREATE_xxx_COFF_TARGET_VEC macros. - * coff-a29k.c: Append COFF_SWAP_TABLE argument - * coff-apollo.c: Ditto - * coff-arm.c: Ditto - * coff-h8300.c: Ditto - * coff-h8500.c: Ditto - * coff-i960.c: Ditto - * coff-m68k.c: Ditto - * coff-m88k.c: Ditto - * coff-mcore.c: Ditto - * coff-sh.c: Ditto - * coff-sparc.c: Ditto - * coff-tic80.c: Ditto - * coff-we32k.c: Ditto - * coff-z8k.c: Ditto - * coff-w65.c: Ditto - -2003-06-04 Svein E. Seldal - - * coff-tic4x.c (ticoff0_swap_table, ticoff1_swap_table): Fixed - initialization bug - -2003-06-03 Jakub Jelinek - - * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. - (bfd_section_from_phdr): Likewise. - (map_sections_to_segments): Create PT_GNU_STACK segment header. - (get_program_header_size): Count with PT_GNU_STACK. - * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. - * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. - -2003-06-03 H.J. Lu - - * elflink.h (elf_link_input_bfd): Call linker error_handler - for discarded definitions. - -2003-06-03 Elias Athanasopoulos - - * syms.c (decode_section_type): Return 'n' if section flags are - SEC_HAS_CONTENTS && SEC_READONLY. - -2003-06-03 Nick Clifton - - * elf32-v850.c (v850_elf_howto_t): Rename R_V850_32to - R_V850_ABS32. Add entry for R_V850_REL32. - (v850_elf_reloc_map): Likewise. - (v850_elf_check_relocs): Likewise. - (v850_elf_perform_relocation): Likewise. - (v850_elf_final_link_relocate): Likewise. Include computation - to make R_V850_REl32 pc-relative. - -2003-06-03 Kaz Kojima - - * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section - and DT_DEBUG dynamic tag even for position independent executables. - * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewize. - -2003-06-02 Daniel Jacobowitz - - * config.bfd: Move obsolete entries out of the range of the - targmatch sed script. - -2003-06-02 Daniel Jacobowitz - - * config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete. - -2003-05-31 Jakub Jelinek - - * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192 - plt entries, not just 8191. - -2003-05-30 Daniel Jacobowitz - - * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index. - Reported by Ken Faiczak . - -2003-05-30 Ulrich Drepper - Jakub Jelinek - - * elflink.h (elf_link_add_object_symbols): Use !info->executable - instead of info->shared where appropriate. - (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. - * elflink.c (_bfd_elf_create_got_section): Likewise. - (_bfd_elf_link_create_dynamic_sections): Likewise. - (_bfd_elf_link_assign_sym_version): Likewise. - * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section - and DT_DEBUG dynamic tag even for position independent executables. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. - * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. - * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. - * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. - * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. - * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. - * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. - * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. - * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. - -2003-05-30 Kris Warkentin - - * elf.c (elfcore_grok_nto_status): Only set lwpid for the active or - signalled thread. - (elfcore_grok_nto_gregs): Only make .reg section for the active thread. - -2003-05-29 Nick Clifton - - * pef.c: Include "safe-ctype.h" instead of . - Tidy up formatting. - * Makefile.am: Add dependency on safe-ctype.h. - * Makefile.in: Regenerate. - -2003-05-29 Thiemo Seufer - - * elfxx-mips.c: Don't force symbols local unconditionally. - -2003-05-28 Alan Modra - - * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus - undefined_symbol call. - -2003-05-27 Richard Sandiford - - * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting. - (mips_elf_link_hash_table): Likewise. - -2003-05-22 Thiemo Seufer - - * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used - R_MIPS_GNU_REL16_S2 support. - (bfd_elf64_bfd_reloc_type_lookup): Use it. - (mips_elf64_rtype_to_howto): Use it. - * elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used - R_MIPS_GNU_REL16_S2 support. - (bfd_elf32_bfd_reloc_type_lookup): Use it. - (mips_elf_n32_rtype_to_howto): Use it. - -2003-05-21 Stuart F. Downing - - * som.h: Define PA_2_0 before including a.out.h - -2003-05-07 Eric Christopher - Alexandre Oliva - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust - pic tests, change to warning. - (_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting. - -2003-05-21 Marcus Comstedt - - * config.bfd: Check for a target triplet of shl-...-netbsdelf as - well as shle-...-netbsdelf. Remove duplicate entry. - -2003-05-21 Nick Clifton - - * elf32-xstormy16.c (xstormy16_elf_howto_table): Fix dst_mask - for X_STORMY16_REL_12 reloc. - - * elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check - the type of the hash table in the bfd_link_info structure. - (bfd_elf_get_runpath_list): Likewise. - -2003-05-19 Roland McGrath - - * elf.c (bfd_elf_bfd_from_remote_memory): New function. - * bfd-in.h: Declare it. - * bfd-in2.h: Regenerated. - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. - * elf-bfd.h (struct elf_backend_data): New function pointer member - elf_backend_bfd_from_remote_memory. - (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): - Declare them. - * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. - (elfNN_bed): Add that to the initializer. - -2003-05-15 Roland McGrath - - * elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section. - -2003-05-20 Jakub Jelinek - - * elflink.h (elf_link_output_extsym): Only issue error about != - STV_DEFAULT symbols if they are bfd_link_hash_undefined. - -2003-05-20 H.J. Lu - - * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF - when removing the old definition for symbols with non-default - visibility. - -2003-05-18 Jason Eckhardt - - * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation. - -2003-05-17 Andreas Schwab - - * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in - elf_section_data during processing of pc-relative and absolute - relocations. - (elf_m68k_relocate_section): Use the cached reloc section instead - of computing it again. Fix handling of visibility. Don't modify - addend when copying over a relocation into the output. - -2003-05-17 Alan Modra - - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL - to trim plt entries. Move undefweak non-default visibility test.. - (allocate_dynrelocs): ..from here. - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test - dynamic_sections_created here. Update comment. Move undefweak - non-default visibility test.. - (allocate_dynrelocs): ..from here. Fix comment. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL - to trim plt entries. Move undefweak non-default visibility test.. - (allocate_dynrelocs): ..from here. Fix comment. - * elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with - STV_DEFAULT rather than comparing with zero. - * elflink.c (_bfd_elf_merge_symbol): Likewise. - (_bfd_elf_fix_symbol_flags): Likewise. Format comment. - -2003-05-17 Thiemo Seufer - - * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd null - pointers. - (_bfd_set_gp_value): Likewise. - -2003-05-16 Michael Snyder - From Bernd Schmidt - * archures.c (bfd_mach_h8300sx): New. - * bfd-in2.h: Regenerate. - * cpu-h8300.c (h8300_scan)): Add support for h8300sx. - (h8300sx_info_struct): New. - (h8300s_info_struct): Link to it. - * elf32-h8300.c (elf32_h8_mach): Add support for h8300sx. - (elf32_h8_final_write_processing): Likewise. - (elf32_h8_relax_section): Likewise. - -2003-05-16 Kelley Cook - - * config.bfd: Accept i[3-7]86 variants. - * configure.host: Likewise. - * configure.in: Likewise. - * configure: Regenerate. - -2003-05-15 H.J. Lu - - * elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected - symbol. - -2003-05-15 H.J. Lu - - * elflink.h (elf_link_check_versioned_symbol): Also allow - the base version. - -2003-05-15 Alan Modra - H.J. Lu - - * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. - (elf_i386_relocate_section): Likewise. - * elf32-ppc.c (allocate_dynrelocs): Likewise. - (ppc_elf_relocate_section): Likewise. - * elf64-ppc.c (allocate_dynrelocs): Likewise. - (ppc64_elf_relocate_section): Likewise. - -2003-05-15 Thiemo Seufer - - * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case. - -2003-05-13 Stephane Carrez - - * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for - processor capability, allow merge of HC12 and HCS12 in some cases. - (m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc. - * cpu-m68hc12.c (bfd_m68hc12s_arch): New struct. - (bfd_m68hc12_arch): Link it. - (scan_mach): New function. - -2003-05-13 Andrew Haley - - * elf.c (bfd_elf_hash): Mask lower 32 bits of hash. - -2003-05-13 Alan Modra - H.J. Lu - - * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Move from - elf32-ppc.c. Add ELF_LINK_FORCED_LOCAL check. - * elf32-ppc.c: (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Delete. - (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for dynreloc check. - (ppc_elf_relocate_section): Likewise. - * elf64-ppc.c (allocate_dynrelocs): Likewise. - (ppc64_elf_relocate_section): Likewise. Use for .got relocs too. - (ppc64_elf_adjust_dynamic_symbol): Don't assume symbols with .plt - relocs need no other types. - * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for - dynreloc check. - (elf_i386_relocate_section): Likewise. Use for .got relocs too. - (elf_i386_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL for - .got relocs. - -2003-05-13 Kaz Kojima - - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): For weak symbols, - copy ELF_LINK_NON_GOT_REF from weakdef. - (allocate_dynrelocs): For undef weak syms with non-default - visibility, a) don't allocate plt entries, b) don't allocate - .got relocs, c) discard dyn rel space - (sh_elf_relocate_section): d) don't generate .got relocs, e) - don't generate dynamic relocs. - (sh_elf_copy_indirect_symbol): Don't copy ELF_LINK_NON_GOT_REF - for weakdefs when symbol already adjusted. - -2003-05-12 Nick Clifton - - * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield' - overflow detection for R_XSTORMY16_16 reloc. - -2003-05-12 Paul Clarke - - * elf32-h8300.c: Fix typo in name of R_H8_DIR8 reloc. - -2003-05-11 Jason Eckhardt - - * elf32-i860.c (elf32_i860_relocate_highadj): Properly - adjust upper bits. - (elf32_i860_relocate_splitn): Obtain upper 5 bits from the - proper place. - (elf32_i860_relocate_pc16): Obtain upper 5 bits from the - proper place. - -2003-05-11 Andreas Schwab - - * elf32-m68k.c (elf_m68k_relocate_section): Replace ugly - complicated tests for unresolvable relocs with a simple direct - scheme using "unresolved_reloc" var. Report some detail on - bfd_reloc_outofrange and similar errors. - -2003-05-09 Martin Schwidefsky - - * elf32-s390.c (allocate_dynrelocs, elf_s390_relocate_section): - Fix WILL_CALL_FINISH_DYNAMIC_SYMBOL call. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. - * elf64-s390.c: Likewise. - -2003-05-09 Martin Schwidefsky - - * elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one. - (elf_s390_adjust_dynamic_symbol): For weak symbols, copy - ELF_LINK_NON_GOT_REF from weakdef. - (elf_s390_copy_indirect_symbol): Test whether the weakdef sym has - already been adjusted before treating it specially. - * el64-s390.c: Likwise. - -2003-05-09 Martin Schwidefsky - - * elf32-s390.c (allocate_dynrelocs): For undef weak syms with - non-default visibility, a) don't make them dynamic, b) discard - space for dynamic relocs. - (elf_s390_relocate_section): Initialize the GOT entries and skip - R_390_{8,16,32}/R_390_PC{16,16DBL,32DBL,32} for weak undefined - symbols with non-default visibility. - * elf64-s390.c: Likewise. - -2003-05-09 Alan Modra - - * cpu-arm.c (arm_check_note): Warning fix. - * elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes. Arrange - to keep relocs if edited. - (iq2000_elf_print_private_bfd_data): Return TRUE. - * elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not - ELF64_R_SYM. - (elfNN_ia64_relax_ldxmov): Warning fix. - * xtensa-isa.c (xtensa_add_isa): Warning fix. - * xtensa-modules.c (get_num_opcodes): Warning fix. - -2003-05-09 Andrey Petrov - - * elf.c (elf_fake_sections): Use correct cast for sh_name. - -2003-05-09 Alan Modra - - * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from - elflink.h. Replace LOG_FILE_ALIGN with bed->s->log_file_align. - (_bfd_elf_create_dynamic_sections): Use bed->s->log_file_align. - (bfd_elf_record_link_assignment): Move from elflink.h. - (_bfd_elf_merge_symbol): Likewise. - (_bfd_elf_add_default_symbol): Likewise. - (_bfd_elf_export_symbol): Likewise. - (_bfd_elf_link_find_version_dependencies): Likewise. - (_bfd_elf_link_assign_sym_version): Likewise. - (_bfd_elf_link_read_relocs): Likewise. - (_bfd_elf_link_size_reloc_section): Likewise. - (_bfd_elf_fix_symbol_flags): Likewise. - (_bfd_elf_adjust_dynamic_symbol): Likewise. - (_bfd_elf_link_sec_merge_syms): Likewise. - (elf_link_read_relocs_from_section): Likewise. Use bed->s->sizeof_rel - and bed->s->sizeof_rela. - (_bfd_elf_link_output_relocs): Likewise. - * elf-bfd.h (struct elf_size_info): Rename file_align to - log_file_align. - (struct elf_info_failed): Move from elflink.h. - (struct elf_assign_sym_version_info): Likewise. - (struct elf_find_verdep_info): Likewise. - (_bfd_elf_create_dynamic_sections): Delete duplicate declaration. - (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol, - _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, - _bfd_elf_link_assign_sym_version, - _bfd_elf_link_create_dynamic_sections, _bfd_elf_link_read_relocs, - _bfd_elf_link_size_reloc_section, _bfd_elf_link_output_relocs, - _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, - _bfd_elf_link_sec_merge_syms): Declare. - (bfd_elf32_link_create_dynamic_sections): Don't declare. - (_bfd_elf32_link_read_relocs): Likewise. - (bfd_elf64_link_create_dynamic_sections): Likewise. - (_bfd_elf64_link_read_relocs): Likewise. - * elflink.h: Move lots o' stuff elsewhere. - * bfd-in.h (bfd_elf32_record_link_assignment): Don't declare. - (bfd_elf64_record_link_assignment): Likewise. - (bfd_elf_record_link_assignment): Declare. - * bfd-in2.h: Regenerate. - * elfcode.h (elf_link_create_dynamic_sections): Don't declare. - (NAME(_bfd_elf,size_info)): Adjust for log_file_align. - * elf.c (_bfd_elf_init_reloc_shdr): Adjust for bed->s->log_file_align. - (assign_file_positions_for_segments): Likewise. - (assign_file_positions_except_relocs): Likewise. - (swap_out_syms, elfcore_write_note): Likewise. - * elf-m10200.c: Adjust for changed function names. - * elf-m10300.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-h8300.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-mmix.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-sh64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - (MIPS_ELF_LOG_FILE_ALIGN): Use log_file_align. - * elf64-alpha.c (alpha_elf_size_info): Adjust for log_file_align. - * elf64-hppa.c (hppa64_elf_size_info): Likewise. - * elf64-mips.c (mips_elf64_size_info): Likewise. - * elf64-s390.c (s390_elf64_size_info): Likewise. - * elf64-sparc.c (sparc64_elf_size_info): Likewise. - -2003-05-08 H.J. Lu - - * elflink.h (elf_add_default_symbol): After skipping the - unversioned symbol, go to non-default one. - -2003-05-07 H.J. Lu - - * elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the - want_plt field. - (elfNN_ia64_relocate_section): Don't do dynamic symbol lookup - for symbols with non-default visibility. - -2003-05-07 H.J. Lu - - * elflink.h (elf_link_check_versioned_symbol): Also handle the - case that a DSO references a hidden symbol which may be - satisfied by a versioned symbol in another DSO. - (elf_link_output_extsym): Check versioned definition for hidden - symbol referenced by a DSO. - -2003-05-07 Nick Clifton - - * elf32-xstormy16.c (xstormy16_elf_howto_table): Reset - R_XSTORMY16_16 reloc to ignore overflows. - -2003-05-06 Alexandre Oliva - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve - error message for mixing different-endian files. Check for ABI - compatibility of input files with the selected emulation. - -2003-05-05 Alan Modra - - * elf32-i386.c (allocate_dynrelocs): For undef weak syms with - non-default visibility, a) don't make them dynamic, b) discard - space for dynamic relocs. - * elf64-x86-64.c (allocate_dynrelocs): Likewise. - - * elf32-ppc.c (allocate_dynrelocs): For undef weak syms with - non-default visibility, a) don't allocate plt entries, b) don't - allocate .got relocs, c) discard dyn rel space, - (ppc_elf_relocate_section): d) don't generate .got relocs, e) - don't generate dynamic relocs. - * elf64-ppc.c (allocate_dynrelocs): As above. - (ppc64_elf_relocate_section): As above. - -2003-05-05 Andreas Jaeger - - * elf64-x86-64.c (allocate_dynrelocs): Don't allocate dynamic - relocation entries for weak undefined symbols with non-default - visibility. - (elf64_x86_64_relocate_section): Initialize the GOT entries and - skip R_386_32/R_386_PC32 for weak undefined symbols with - non-default visibility. - -2003-05-04 H.J. Lu - - * elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic - relocation entries for weak undefined symbols with non-default - visibility. - (elf_i386_relocate_section): Initialize the GOT entries and - skip R_386_32/R_386_PC32 for weak undefined symbols with - non-default visibility. - - * elfxx-ia64.c (allocate_fptr): Don't allocate function - descriptors for weak undefined symbols with non-default - visibility. - (allocate_dynrel_entries): Don't allocate relocation entries - for symbols resolved to 0. - (set_got_entry): Don't install dynamic relocation for weak - undefined symbols with non-default visibility. - (set_pltoff_entry): Likewise. - - * elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols - with non-default visibility. - (elf_link_output_extsym): Don't make weak undefined symbols - with non-default visibility dynamic. - -2003-05-04 H.J. Lu - - * elflink.h (elf_merge_symbol): Correctly handle weak definition. - -2003-05-04 H.J. Lu - - * elflink.h (elf_merge_symbol): Don't record a hidden/internal - symbol dynamic. Check indirection when removing the old - definition for symbols with non-default visibility. - (elf_add_default_symbol): Skip when told by elf_merge_symbol. - -2003-05-02 Nick Clifton - - * elf32-xstormy16.c (xstormy16_elf_howto_table): Make the - R_XSTORMY16_8 and R_XSTORMY16_16 relocs detect and complain about - unsigned overflow. - -2003-05-02 Andreas Jaeger - - * elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Don't copy - ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. - (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. - (elf_x86_64_adjust_dynamic_symbol): For weak symbols, copy - ELF_LINK_NON_GOT_REF from weakdef. - -2003-05-02 Charles Lepple - Nick Clifton - - * acinclude.m4: Fix name of --enable-install-libbfd switch. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2003-05-01 Alan Modra - - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Test whether the - weakdef sym has already been adjusted before treating it specially. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Don't copy - ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - (ppc64_elf_check_relocs): Set ELF_LINK_NON_GOT_REF. - -2003-04-28 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during - the relax finalize pass. - - * section.c (struct sec): Add need_finalize_relax and remove - flag11. - (STD_SECTION): Update struct sec initializer. - * bfd-in2.h: Regenerated. - -2003-04-28 H.J. Lu - - * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol - to copy any information related to dynamic linking when we flip - the indirection. - -2003-04-27 H.J. Lu - - * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New. - (ELF_LINK_DYNAMIC_WEAK): New. - - * elflink.h (elf_merge_symbol): Add one argument to indicate if - a symbol should be skipped. Ignore definitions in dynamic - objects for symbols with non-default visibility. - (elf_add_default_symbol): Adjusted. - (elf_link_add_object_symbols): Check if a symbol should be - skipped. Don't merge the visibility field with the one from - a dynamic object. - (elf_link_check_versioned_symbol): Use undef_bfd. - (elf_link_output_extsym): Warn if a forced local symbol is - referenced from dynamic objects. Make non-weak undefined symbol - with non-default visibility a fatal error. - -2003-04-27 Daniel Jacobowitz - - * configure.in: Bump version on HEAD to 2.14.90. - * configure: Regenerated. - -2003-04-26 Stephane Carrez - - PR savannah/3331: - * elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group - when we couldn't relax something. - -2003-04-25 Alan Modra - - * elflink.h (elf_merge_symbol): When we find a regular definition - for an indirect symbol, flip the indirection so that the old - direct symbol now points to the new definition. - -2003-04-24 Roland McGrath - - * elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr". - -2003-04-24 Alan Modra - - * elf32-ppc.c: Formatting and comment fixes. - (ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol. - (ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs. - -2003-04-24 Dhananjay Deshpande - - * archures.c (bfd_mach_h8300hn, bfd_mach_h8300sn): Added. - * bfd-in2.h: Rebuilt. - * coff-h8300.c (BADMAG): Add check for H8300HNBADMAG & H8300SNBADMAG. - * coffcode.h (coff_set_arch_mach_hook): Add case for H8300HNMAGIC - & H8300SNMAGIC. - (coff_set_flags): Add case for bfd_mach_h8300hn & bfd_mach_h8300sn. - * cpu-h8300.c (h8300_scan): Handle h8300hn, h8300sn. - (h8300sn_info_struct, h8300hn_info_struct): New. - * elf32-h8300.c (elf32_h8_mach): Handle case for h8300hn & h8300sn - (elf32_h8_final_write_processing): Likewise. - -2003-04-23 Kaz Kojima - - * elf32-sh.c (tpoff): New. - (struct elf_sh_dyn_relocs): Remove tls_tpoff32. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. - (allocate_dynrelocs): Don't make unnecessary dynamic TLS - relocations. Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses. - (sh_elf_relocate_section): Likewise. Remove unnecessary tests. - (dtpoff_base): Fix wrong indentation. - (sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS - relocations. Don't set tls_tpoff32 flag. Don't make unnecessary - R_SH_TLS_TPOFF32 relocations. - -2003-04-23 J"orn Rennecke - - * archures.c (enum bfd_architecture): Amend comment to refer to SuperH. - * cpu-sh.c: Likewise. - * elf32-sh.c: Likewise. - * reloc.c (bfd_reloc_code_real): Likewise. - * elf32-sh64-com.c: Change comment to refer to SuperH. - * elf32-sh64.c: Likewise. - * elf64-sh64.c: Likewise. - * bfd-in2.h (enum bfd_architecture): Regenerate. - -2003-04-23 Alan Modra - - From Julien LEMOINE - * elf32-i386.c (elf_i386_info_to_howto): Delete. - (elf_info_to_howto): Define as elf_i386_info_to_howto_rel. - -2003-04-22 Kazuhiro Inaoka - - * archures.c: Replace references to Mitsubishi M32R with references - to Renesas M32R. - * relocs.c: Likewise. - * bfd-in2.h: Regenerate. - -2003-04-21 Richard Henderson - - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an - executable when a symbol is defined both regular and dynamic. - -2003-04-21 Stephane Carrez - - * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo. - (elf32-m68hc1x.lo): Update dependencies - * configure.in: Add elf32-m68hc1x.lo. - * configure: Rebuild. - * Makefile.in: Rebuild. - -2003-04-21 Stephane Carrez - - * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c) - (m68hc11_elf_hash_table_create): New function. - (elf32_m68hc11_link_hash_table_free): New function. - (stub_hash_newfunc): New function. - (m68hc11_add_stub): New function. - (elf32_m68hc11_add_symbol_hook): New function. - (elf32_m68hc11_setup_section_lists): New function. - (elf32_m68hc11_next_input_section): New function. - (elf32_m68hc11_size_stubs): New function. - (elf32_m68hc11_build_stubs): New function. - (m68hc11_get_relocation_value): New function. - (elf32_m68hc11_relocate_section): Call the above to redirect - some relocations to the trampoline code. - (m68hc11_elf_export_one_stub): New function. - (m68hc11_elf_set_symbol): New function. - (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse. - (m68hc11_elf_get_bank_parameters): Get parameters only when the info - is not yet initialized. - - * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c) - (elf32_m68hc11_stub_hash_entry): New struct. - (m68hc11_page_info): Add trampoline handler address. - (m68hc11_elf_link_hash_table): Add stubs generation members. - (elf32_m68hc11_add_symbol_hook): Declare. - (elf32_m68hc11_setup_section_lists): Declare. - (elf32_m68hc11_size_stubs): Declare. - (elf32_m68hc11_build_stubs): Declare. - - * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c. - (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise. - (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto. - (_bfd_m68hc11_elf_set_private_flags): Ditto. - (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto. - (_bfd_m68hc11_elf_print_private_bfd_data): Ditto. - (bfd_elf32_bfd_link_hash_table_create): Define. - (elf_backend_add_symbol_hook): Define. - (m68hc11_elf_bfd_link_hash_table_create): New function. - (m68hc11_elf_build_one_stub): New function. - (m68hc11_elf_size_one_stub): New function. - (m68hc11_elf_bfd_link_hash_table_create): Install the above. - (bfd_elf32_bfd_link_hash_table_create): Define. - - * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove. - (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked. - (m68hc12_phys_addr): Ditto. - (m68hc12_phys_page): Ditto. - (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c. - (elf32_m68hc11_gc_mark_hook): Likewise. - (elf32_m68hc11_gc_sweep_hook): Likewise. - (elf32_m68hc11_check_relocs): Likewise. - (elf32_m68hc11_relocate_section): Likewise. - (_bfd_m68hc12_elf_set_private_flags): Likewise. - (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise. - (_bfd_m68hc12_elf_print_private_bfd_data): Likewise. - (m68hc12_elf_build_one_stub): New function. - (m68hc12_elf_size_one_stub): New function. - (m68hc12_elf_bfd_link_hash_table_create): New function, use the above. - (elf_backend_add_symbol_hook): Define. - (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks. - -2003-04-18 Nick Clifton - - * format.c (bfd_check_format_matches): Only check associated - vector if the matching_vector has been created. - -2003-04-15 Alexandre Oliva - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in - 2003-04-09's change. - -2003-04-15 Brian Ford - - * peicode.h (coff_swap_scnhdr_in): If a section holds - uninitialized data and is from an object file or from an - executable image that has not initialized the s_size field, or if - the physical size is padded, use the virtual size (stored in - s_paddr) instead. - -2003-04-15 H.J. Lu - - * elflink.h (elf_link_add_object_symbols): Properly report - filename for alignment reduction. - -2003-04-15 Rohit Kumar Srivastava - - * archures.c: Replace occurrances of 'Hitachi' with 'Renesas'. - * reloc.c: Likewise. - * coff-h8300.c: Likewise. - * coff-h8500.c: Likewise. - * coff-sh.c: Likewise. - * cpu-h8300.c: Likewise. - * cpu-sh.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64-com.c: Likewise. - * elf32-sh64.c: Likewise. - * elf64-sh64.c: Likewise. - * bfd-in2.h: Regenerate. - -2003-04-14 H.J. Lu - - * elflink.h (elf_link_add_object_symbols): Maintain maximum - alignment for common symbols. Warn reducing alignment for - common symbols. Report old filename when symbol size changes. - -2003-04-12 Alexandre Oliva - - * elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other - occurrences of the same test changed in the previous patch. - Optimize. - -2003-04-11 Alexandre Oliva - - * elfxx-mips.c (mips_elf_get_global_gotsym_index): New. - (mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to - GOT_DISP/addend only if the symbol got a global GOT entry. - -2003-04-10 Alexandre Oliva - - * elfxx-mips.c (mips_elf_calculate_relocation): Decay - GOT_PAGE/GOT_OFST referencing overridable symbol to - GOT_DISP/addend. - (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing - global symbol as GOT_DISP. - -2003-04-10 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the - next relocation on an undefined symbol. - -2003-04-09 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relocate_section) : - Ignore relocations against r_symndx == 0. - -2003-04-09 H.J. Lu - - * elf64-alpha.c (elf64_alpha_relocate_section): Don't return - FALSE for undefined symbols. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - -2003-04-09 Alexandre Oliva - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard - and IRIX-specific shift-to-64-bit 4-byte lengths before following - addr_size. - -2003-04-08 Alexandre Oliva - - * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor) - pointer size from ABI, not arch_bits_per_address. - -2003-04-07 Kevin Buettner - - * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related - constants for n32 ABI. - -2003-04-06 Andrew Cagney - - * simple.c (bfd_simple_get_relocated_section_contents): Disable - free that leads to GDB vs BFD memory corruption. - -2003-04-04 Stephane Carrez - - * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust - symbols that mark the end of the section. - (m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when - converting to a relative branch so that the offset is computed after - the relaxation; also relocate a jsr into a bsr if possible but don't - relax them if they are to a far symbol as we need to call the - trampoline code. - (elf_m68hc11_howto_table): Set pcrel_offset to true. - -2003-04-04 Svein E. Seldal - - * archures.c: Namespace cleanup. Rename bfd_mach_c3x to - bfd_mach_tic3x and bfd_mach_c4x to bfd_mach_tic4x - * bfd-in2.h: Regenerate - * coff-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ - * cpu-tic4x.c: Ditto - -2003-04-03 Nick Clifton - - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Compute ps and ss - differently for object files and executables. - * peicode.h (coff_swap_scnhdr_in): Only set the s_size field - for object files or for executables who have not already - initialised the field. - * libpei.h (bfd_pe_executable_p): New macro. Return true if - the PE format bfd is an executable. - -2003-04-03 Alan Modra - - * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL - here as it's too early to reliably determine locality. - (ppc_elf_gc_sweep_hook): Likewise. - (SYMBOL_REFERENCES_LOCAL): Expand comment. - -2003-04-02 Bob Wilson - - * xtensa-modules.c: Remove comment indicating that this is a - generated file. - -2003-04-02 Alan Modra - - * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj. - -2003-04-01 Bob Wilson - - * Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo. - (ALL_MACHINES_CFILES): Add cpu-xtensa.c. - (BFD32_BACKENDS): Add elf32-xtensa.lo, xtensa-isa.lo, and - xtensa-modules.lo. - (BFD32_BACKENDS_CFILES): Add elf32-xtensa.c, xtensa-isa.c, and - xtensa-modules.c. - (cpu-xtensa.lo): New target. - (elf32-xtensa.lo): Likewise. - (xtensa-isa.lo): Likewise. - (xtensa-modules.lo): Likewise. - * Makefile.in: Regenerate. - * archures.c (bfd_architecture): Add bfd_{arch,mach}_xtensa. - (bfd_archures_list): Add bfd_xtensa_arch. - * config.bfd: Handle xtensa-*-*. - * configure.in: Handle bfd_elf32_xtensa_{le,be}_vec. - * configure: Regenerate. - * reloc.c: Add BFD_RELOC_XTENSA_{RTLD,GLOB_DAT,JMP_SLOT,RELATIVE, - PLT,OP0,OP1,OP2,ASM_EXPAND,ASM_SIMPLIFY}. - * targets.c (bfd_elf32_xtensa_be_vec): Declare. - (bfd_elf32_xtensa_le_vec): Likewise. - (bfd_target_vector): Add bfd_elf32_xtensa_{be,le}_vec. - * cpu-xtensa.c: New file. - * elf32-xtensa.c: Likewise. - * xtensa-isa.c: Likewise. - * xtensa-modules.c: Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Likewise. - -2003-04-01 Nick Clifton - - * archures.c (bfd_mach_arm_unknown): Define. - * bfd-in.h (bfd_arm_merge_machines, bfd_arm+update_notes, - bfd_arm_get_mach_from_notes): Prototype. - * bfd-in2.h: Regenerate. - * coff-arm.c (coff_arm_merge_private_bfd_data): Call - bfd_arm_merge_machines. - (coff_arm_final_link_postscript): Call bfd_arm_update_notes. - * coffcode.h (coff_set_arch_mach_hook): Call - bfd_arm_get_mach_from_notes. - * coffgen.c (coff_real_object_p): Revert previous delta. - * cpu_arm.c (arm_check_note): New function. Examine a note in a - .note section. - (bfd_arm_merge_machines): New function: Handle the merging of ARM - binaries compiled for different architectures.. - (bfd_arm_update_notes): New function: Update an ARM note section. - (bfd_arm_get_mach_from_notes): New function: Extract a bfd machine - number from an ARM note section. - * elf32-arm.h (elf32_arm_object_p): Use - bfd_arm_get_mach_from_notes. - (elf32_arm_merge_private_bfd_data): Use bfd_arm_merge_machines. - (elf32_arm_final_write_processing): Use bfd_arm_update_notes. - -2003-04-01 Ben Elliston - - * dwarf2.c (read_attribute_value): Correct typo in comment. - -2003-04-01 Nick Clifton - - * dwarf2.c (concat_filename): Use bfd_malloc() and strdup() - instead of concat(). - (decode_line_info): Only free filename if it is not NULL. - (add_line_info): Make a copy of the filename when storing it into - the info structure. - -2003-03-31 Andreas Schwab - Daniel Jacobowitz - - * simple.c (bfd_simple_get_relocated_section_contents): Add - parameter symbol_table. Optionally use it instead of the symbol - table from the bfd. Save and restore output offsets and output - sections around bfd_get_relocated_section_contents. Fix a memory - leak. - (simple_save_output_info, simple_restore_output_info): New - functions. - * bfd-in2.h: Regenerate. - * dwarf2.c (read_abbrevs): Use - bfd_simple_get_relocated_section_contents instead of - bfd_get_section_contents. - (decode_line_info): Likewise. - (_bfd_dwarf2_find_nearest_line): Likewise. Don't call - find_rela_addend. - (find_rela_addend): Remove. - * elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for - debugging sections. - (elfNN_ia64_hash_table_create): Create the hash table with malloc, - not bfd_zalloc. - -2003-03-31 David Heine - - * aoutx.h (aout_link_hash_table_create): Use bfd_malloc instead of - bfd_alloc. - * dwarf2.c (concat_filename): Always allocate space for the - returned filename. - (decode_line_info): Free the allocated filename returned by - concat_filename. - * elf-eh-frame.c (bfd_elf_write_section_eh_frame): Fix memory leaks. - * elf.c (copy_private_bfd_data): Likewise. - (_bfd_elf_slurp_version_tables): Fix bug freeing contents pointer. - * elflink.h (elf_link_sort_relocs): Fix memory leak. - * format.c (bfd_check_format_matches): Likewise. - * linker.c (bfd_generic_final_link): Likewise. - * opncls.c (find_separate_debug_info): Likewise. - * simple.c (bfd_simple_get_relocated_section_contents): Likewise. - -2003-03-28 H.J. Lu - - * elflink.h (elf_link_add_object_symbols): Correctly combine - visibilities. - -2003-03-27 Jakub Jelinek - - * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset - to -1 before recomputing got offsets. - -2003-03-26 Andreas Schwab - - * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (elf_m68k_relocate_section): Use it to correctly handle symbols - forced to be local. - (elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got - entries for symbols that are forced to be local. - -2003-03-25 Alexandre Oliva - - * elfxx-mips.c (_bfd_mips_relax_section): New function. - * elfxx-mips.h (_bfd_mips_relax_section): Declare. - * elfn32-mips.c, elf64-mips.c: Use it. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * archures.c: Add bfd_mach_arm_iWMMXt. - * reloc.c: Add BFD_RELOC_ARM_CP_OFF_IMM_S2. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * coff-arm.c (coff_arm_merge_private_bfd_data): Allow iWMMXt - object files to be linked with XScale ones. - (coff_arm_final_link_postscript): Update note section. - * coffcode.h (coff_set_arch_mach_hook): Handle note section. - * coffgen.c (coff_real_object_p): Call bfd_coff_set_arch_mach_hook - after identifying a coff binary. - * cpu-arm.c (processors): Add iWMMXt. - (arch_inf): Likewise. - * elf32-arm.h (arm_object_p): Handle note section. - (elf32_arm_merge_private_bfd_data): Allow iWMMXt object files to - be linked with XScale ones. - (elf32_arm_section_flags): New function: Set flags on note section. - (elf32_arm_final_write_processing): Handle note section. - -2003-03-21 DJ Delorie - - * elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call - _bfd_elf_rela_local_sym. - -2003-03-20 H.J. Lu - - * elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for - non-ELF outputs. - -2003-03-20 Nick Clifton - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and - $idata5 in case bfd_coff_final_link is not called. - -2003-03-19 Jakub Jelinek - - * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count - field. - (canon_reloc_count): Define. - (sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, - sparc64_elf_canonicalize_dynamic_reloc): Use it instead of - reloc_count. - (sparc64_elf_canonicalize_reloc): New routine. - (bfd_elf64_canonicalize_reloc): Define. - -2003-03-18 Jakub Jelinek - - * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation - againt mergeable sections. Take r_addend into account when caching - trampolines. - -2003-03-18 Richard Henderson - - * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for - local symbols that have no dyninfo. - -2003-03-14 Gene Smith - - * ieee.c (ieee_write_expression): Handle the case where symbol is - NULL. - General formatting improvements. - -2003-03-13 Nick Clifton - - * configure.in (LINGUAS): Add zh_CN. - * configure: Regenerate. - * po/zh_CN.po: New file. - -2003-03-13 Elias Athanasopoulos - - * aout-cris.c (BYTES_IN_WORD): Don't define. - aout-encap.c: Likewise. - aout-ns32k.c: Likewise. - aout-tic30.c: Likewise. - hp300bsd.c: Likewise. - i386aout.c: Likewise. - i386dynix.c: Likewise. - i386linux.c: Likewise. - i386lynx.c: Likewise. - i386mach3.c: Likewise. - m68k4knetbsd.c: Likewise. - m68klinux.c: Likewise. - m68klynx.c: Likewise. - m68knetbsd.c: Likewise. - m88kmach3.c: Likewise. - mipsbsd.c: Likewise. - newsos3.c: Likewise. - sparclinux.c: Likewise. - sparclynx.c: Likewise. - sparcnetbsd.c: Likewise. - vaxbsd.c: Likewise. Fix comment formatting. - -2003-03-12 Alexandre Oliva - - * Reverted 2003-03-02's patch. - - * elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it - overridable. - * elf64-mips.c (mips_elf64_canonicalize_reloc, - mips_elf64_get_dynamic_reloc_upper_bound, - mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c. - (bfd_elf64_get_canonicalize_reloc, - bfd_elf64_get_dynamic_reloc_upper_bound, - bfd_elf64_canonicalize_dynamic_reloc): Define. - (mips_elf64_slurp_reloc_table): Support dynamic. - (mips_elf64_slurp_one_reloc_table): Adjust. - -2003-03-12 Nick Clifton - - * xsym.c (bfd_sym_fetch_type_information_table_entry): Change - 'index' to 'offset' in test for zero value. - -2003-03-11 Alexandre Oliva - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create - dynamic relocations pointing to local or section symbols, use the - NULL symbol instead. Document the choice to not emit an - additional R_MIPS_64 relocation. - -2003-03-11 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from - zero index dynamic tls relocs generated for the GOT. Tidy code. - Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - -2003-03-07 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after - a tls_get_addr call. - - * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. - (ppc_elf_adjust_dynamic_symbol): For weak symbols, copy - ELF_LINK_NON_GOT_REF from weakdef. - * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. - (ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy - ELF_LINK_NON_GOT_REF from weakdef. - * elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. - (elf_i386_adjust_dynamic_symbol): For weak symbols, copy - ELF_LINK_NON_GOT_REF from weakdef. - -2003-03-06 Jakub Jelinek - Andrew Haley - - * elflink.h (elf_bfd_discard_info): Don't process eh frames if - output is relocateable. - -2003-03-06 Steven Konopa - - * som.c (som_fixup_formats): Correct formats for R_AUX_UNWIND and - R_COMMENT. - -2003-03-06 Alan Modra - - * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize - error messages. - (ELIMINATE_COPY_RELOCS): Define to zero. - (ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating - TLSLD relocs. Report reloc types on a number of errors. Optimize - LOCAL24PC check for non-local syms. Don't capitalize error messages. - * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero. - (ppc64_elf_relocate_section): Don't deref htab->tls_sec when - calculating TLSLD relocs. Report reloc types on a number of errors. - Don't capitalize error messages. - -2003-03-03 H.J. Lu - - * elfxx-ia64.c (USE_BRL): Removed. - (oor_ip): Removed. - -2003-03-03 J"orn Rennecke - - * elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary - relocation (no special function), and make it non-partial_inplace. - (sh_elf_relax_section): When creating a bsr, use a consistent value - no matter if the symbol is extern or not; set addend to -4. - Don't swap load / non-load instructions for SH4. - (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset - rather than if the symbol is external to determine if adjusting the - offset makes sense. Adjust the addend too if appropriate. - (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the - relocation. - -2003-03-03 Nick Clifton - - * po/da.po: Installed latest translation. - -2003-03-02 Thiemo Seufer - - * elf32-mips.c (elf_mips_howto_table_rel): Change definition of - R_MIPS_PC16 to rightshift 2. - (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. - (bfd_elf32_bfd_reloc_type_lookup): Support - BFD_RELOC_MIPSEMB_16_PCREL_S2. - * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of - R_MIPS_PC16 to rightshift 2. - (mips_elf64_howto_table_rela): Likewise. - (mips_reloc_map): Map to rightshifted BFD reloc. - * elfn32-mips.c: The same as in elf64-mips.c. - * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. - (mips_elf_calculate_relocation): Handle rightshifted addends for - R_MIPS_PC16. - * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for - MIPS Embedded PIC. Remove superfluous empty COMMENT. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2003-02-28 Richard Henderson - - * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds - for ltoff22x relaxation. - -2003-03-01 Alan Modra - - * bfd-in.h (_bfd): Don't define. - * bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". - * syms.c: Likewise. - * bfd-in2.h: Regenerate. - -2003-02-27 Richard Henderson - - * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx; - (elfNN_ia64_check_relocs): Set it. - (allocate_global_data_got): Check it. - (allocate_local_got): Likewise. - (allocate_dynrel_entries): Likewise. - (elfNN_ia64_relax_ldxmov): New. - (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV. - (elfNN_ia64_choose_gp): Split out from ... - (elfNN_ia64_final_link): ... here. - -2003-02-27 Andrew Cagney - - * bfd.c (struct bfd): Rename "struct _bfd". - * bfd-in.h: Update copyright. - (struct bfd): Rename "struct _bfd". - (_bfd): Define for backward compatibility. - * bfd-in2.h: Regenerate. - -2003-02-25 Alan Modra - - * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr - and rel_hdr2 when initially counting input relocs rather than after - creating output reloc sections. - (elf_link_read_relocs_from_section): Don't abort with wrong reloc - sizes. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-02-24 Kris Warkentin - - * elf.c (elfcore_read_notes): Add check for QNX style core file. - (elfcore_grog_nto_note): New function. - (elfcore_grog_nto_gregs): New function. - (elfcore_grog_nto_status): New function. - -2003-02-24 Alan Modra - - * elflink.c (_bfd_elf_create_got_section): Check existing .got - section flags before concluding that we've already been called. - Don't use register keyword. - (_bfd_elf_create_dynamic_sections): Don't use register keyword. - (_bfd_elf_create_linker_section): Formatting. - -2003-02-20 jmc - - * coff-h8300.c: Fix typo: intial -> initial. - * coff-ppc.c: Likewise. - -2003-02-20 Alan Modra - - * elf32-ppc.c: Formatting. - (allocate_dynrelocs): LD and GD relocs against the same sym need - separate GOT entries. - (ppc_elf_relocate_section): Correct GOT handling for multiple GOT - entries per symbol. - -2003-02-19 Alan Modra - - * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc - removal. Localize vars. Remove unnecessary dynobj test. - * elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead - of INFO. - (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, - and optimize. - (elf_i386_relocate_section): Likewise. - (elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars. - * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. - * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. - * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. - * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. - * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove - local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32 - or PCPLT10 relocs. Don't subtract twice on PLT32 relocs. - Formatting. - - * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define. - (ppc64_elf_check_relocs): Use it. Correct comment. Move SEC_ALLOC - test. - (ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. - (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, - and optimize. Use ELIMINATE_COPY_RELOCS. - (ppc64_elf_relocate_section): Likewise. - - * elf32-ppc.c (struct ppc_elf_dyn_relocs): Add pc_count field. - (ppc_elf_copy_indirect_symbol): Copy pc_count field. - (ELIMINATE_COPY_RELOCS): Define. - (ppc_elf_adjust_dynamic_symbol): Convert copy relocs to dynamic. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. - (MUST_BE_DYN_RELOC): Define. - (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, - and optimize. Trim dyn_relocs. - (ppc_elf_check_relocs): Don't generate dyn_relocs when we know they'll - not be used. Do generate dyn_relocs for copy reloc avoidance. Keep - track of pc_rel dyn relocs. - (ppc_elf_relocate_section): Remove "will_become_local". Adjust - WILL_CALL_FINISH_DYNAMIC_SYMBOL use. Trim dyn relocs as per - allocate_dynrelocs. Don't recalculate "sec". - -2003-02-18 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test. - * elf64-ppc.c (ppc64_elf_tls_optimize): Decrement tlsld_got.refcount - on invalid LD relocs. - (allocate_dynrelocs): Invalid LD relocs don't use tlsld_got entry. - (ppc64_elf_relocate_section): Unify new handling of LD relocs and - tlsld_got entry. Use IS_PPC64_TLS_RELOC. - - * elf32-ppc.h: New file. - * elf32-ppc.c: Include elf32-ppc.h. - (NOP, CROR_151515, CROR_313131, TP_OFFSET, DTP_OFFSET): Define. - (struct ppc_elf_link_hash_entry): Rename "root" to "elf". Adjust uses. - Add "tls_mask" field. - (TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, TLS_TLS, TLS_TPRELGD): Define. - (struct ppc_elf_link_hash_table): Rename "root" to "elf". Adjust uses. - Add got, relgot, plt, relplt, dynbss, relbss, dynsbss, relsbss, - sdata, sdata2, tls_sec, tls_get_addr, tlsld_got fields. - Make use of htab shortcuts throughout file. - (ppc_elf_link_hash_newfunc): Init tls_mask field. - (ppc_elf_link_hash_table_create): Init new fields. - (ppc_elf_copy_indirect_symbol): Copy tls_mask. - (ppc_elf_howto_raw): Add tls relocs. - (ppc_elf_reloc_type_lookup): Handle them. - (ppc_elf_unhandled_reloc): New function. - (ppc_elf_create_got): Stash got section pointer in hash table, - return status. Make .rela.got too. - (ppc_elf_create_dynamic_sections): Stash section pointers in htab. - (ppc_elf_adjust_dynamic_symbol): Only set up copy relocs when - NON_GOT_REF set. Don't allocate space in .plt here.. - (allocate_dynrelocs): ..do so here instead, properly ref-counting and - not allocating plt entries unnecessarily. Allocate got entries here. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - (ppc_elf_size_dynamic_sections): Allocate local got entries. Pass - "info" during allocate_dynrelocs hash traversal. Use htab section - shortcuts rather than searching for named sections. Get rid of - "plt" and "strip" booleans. - (update_local_sym_info, bad_shared_reloc): New functions. - (ppc_elf_check_relocs): Handle TLS relocs. Move .rela.got creation to - ppc_elf_create_got. Don't mark got or plt reloc syms dynamic, do so - in allocate_dynreloc. Use update_local_sym_info and bad_shared_reloc. - Disallow R_PPC_EMB_RELSDA, R_PPC_EMB_NADDR32, R_PPC_EMB_NADDR16, - R_PPC_EMB_NADDR16_LO, R_PPC_EMB_NADDR16_HI and R_PPC_EMB_NADDR16_HA - in shared libs. R_PPC_PLTREL32 is a plt reloc too. Refcount all - relocs that might use a plt entry. Set NON_GOT_REF too. - Enumerate all do-nothing relocs. - (ppc_elf_gc_sweep_hook): Simplify removal of dynrelocs. Handle - tls relocs and all plt relocs. - (ppc_elf_tls_setup, ppc_elf_tls_optimize): New functions. - (ppc_elf_finish_dynamic_symbol): Don't build got entries here. - (ppc_elf_finish_dynamic_sections): Rewrite tag code using htab - shortcuts. - (ppc_elf_relocate_section): Tidy. Handle TLS relocs. Use - bfd_elf_local_sym_name. Simplify unresolved reloc code. Build got - entries and got relocs here. Warn on non-zero got reloc addend. - Split out branch taken/not taken reloc code into a separate switch - and correct offset calculation. Allow BRTAKEN/BRNTAKEN dynamic relocs. - Split out HA reloc adjustments to separate switch statement. Don't - warn on reloc overflow if we've already warned about undefined. - Don't rebuild sym name when reporting errors. Report all possible - errors from _bfd_final_link_relocate. - (bfd_elf32_bfd_final_link): Don't define. - -2003-02-18 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't init "r". Don't - rebuild sym name when reporting errors. - -2003-02-17 Nick Clifton - - * elflink.h (elf_link_output_extsym): Only check - allow_shlib_undefined for shared libraries. - * elf32-i386.c (elf_i386_relocate_section): Remove bogus check - of allow_shlib_undefined. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. - -2003-02-17 Nick Clifton - - * elf.c (SEGMENT_AFTER_SEGMENT): Add third parameter - the - address field to use in the comparison. - (SEGMENT_OVERLAPS): Check that LMAs overlap as well. - -2003-02-14 Bob Wilson - - * elfcore.h (elf_core_file_p): Compare alternate machine codes for ELF - backends when checking if the generic ELF target should be used. - - * syms.c (_bfd_stab_section_find_nearest_line): For line number stabs - outside of functions, treat values as absolute addresses. - - * bfd.c: Change embedded documentation to use consistent indentation - and to split up long lines. Change informal style of description - for functions lacking real documentation. - * coffcode.h: Break up long lines in embedded documentation. - * format.c: Likewise. - * targets.c: Likewise. - * libcoff.h: Regenerate. - * bfd-in2.h: Regenerate. - -2003-02-14 Alan Modra - - * elf64-ppc.c (ppc64_elf_link_hash_table_create): Init tls_get_addr. - (ppc64_elf_copy_indirect_symbol): Merge tls_mask too. - (ppc64_elf_gc_sweep_hook): Simplify removal of dyn_relocs. - (allocate_dynrelocs): Don't treat undefined and undefweak specially. - (ppc_size_one_stub): Fix warning, and tighten plt entry check. - (group_sections): Don't share a stub section if stubs are for a large - section. Adjust comment. - (ppc64_elf_size_stubs): Roughly double the size left for stubs if - !stubs_always_before_branch. - (ppc64_elf_relocate_section): Initialize tlsld GOT entry once. Don't - treat undefined and undefweak specially when processing dyn relocs. - -2003-02-13 Jakub Jelinek - - * elflink.h (elf_link_add_object_symbols): Handle .symver x, x@FOO. - -2003-02-13 Nick Clifton - - * elf32-arm.h (elf32_thumb_to_arm_stub): Include section VMAs - in computation of offset to insert into BL instruction. - -2003-02-11 Uwe Stieber - - * config.bfd: Add support for kaOS as cross build target system. - -2003-02-11 Alan Modra - - * elf64-ppc.c (ppc64_elf_check_relocs): Match versioned - .__tls_get_addr too. - (ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect. - -2003-02-10 Kaz kojima - - * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field. - (elf_sh_link_hash_entry): Remove tls_tpoff32 field. - (sh_elf_link_hash_newfunc): Remove the initialization of - tls_tpoff32 field. - (allocate_dynrelocs): Keep dyn_relocs if it includes the entry - for which tls_tpoff32 flag is set. - (sh_elf_relocate_section): Covert to LE only if the dyn_relocs - of the symbol includes the entry matched with the input_section - and having tls_tpoff32 flag on. When linking statically, set - symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol - is defined in this executable. - (sh_elf_check_relocs): Set tls_tpoff32 flag appropriately. - -2003-02-10 Jakub Jelinek - - * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE - even if there is just non-empty .rela.plt. - -2003-02-10 Nick Clifton - - * archures.c (bfd_mach_arm_ep9312): Define. - * bfd-in2.h: Regenerate. - * cpu-arm.c (processors[]): Add ep9312. - (bfd_arm_arch): Add ep9312. - * elf32-arm.h (elf32_arm_merge_private_data): Update error - messages and add test for Maverick floating point support. - (elf32_arm_print_private_bfd_data): Handle - EF_ARM_MAVERICK_FLOAT flag. - (elf32_arm_object_p): New function. - (elf_backend_object_p): Define. - -2003-02-10 Alan Modra - - * elf64-ppc.c: Rename assorted occurrences of tls_type and similar - variables, structure fields or function params to tls_mask or - similar to better reflect usage. - (struct got_entry): Comment. - (struct ppc_link_hash_entry): Expand comment, and renumber TLS_*. - (get_tls_mask): Rename from get_tls_type. - -2003-02-09 Alan Modra - - * elf64-ppc.c (TLS_GD_LD): Don't define.. - (TLS_GD): ..define this instead and update all uses. - (TLS_TPRELGD): Define. - (ppc64_elf_link_hash_table_create): Tweak initialization of - init_refcount and init_offset. - (ppc64_elf_check_relocs): Add one extra element to t_symndx array. - Mark second slot of GD or LD toc entries. - (get_tls_type): Return an int. Distinguish toc GD and LD entries - from other tls types. - (ppc64_elf_tls_setup): New function, split out from.. - (ppc64_elf_tls_optimize): ..here. Don't optimize when symbols are - defined in a dynamic object. Fix LD optimization. Don't set TLS_TPREL - on GD->IE optimization, use TLS_TPRELGD instead. Use get_tls_type - return value to properly decide whether toc GD and LD entries can - optimize away __tls_get_addr call. Check next reloc after DTPMOD64 - to determine GD or LD rather than looking at TLS_LD flag. Don't - attempt to adjust got entry tls_type here.. - (allocate_dynrelocs): ..instead, adjust got entry tls_type here, and - look for possible merges. - (ppc64_elf_size_dynamic_sections): Adjust local got entries for - optimization. - (ppc64_elf_size_stubs): Tweak __tls_get_addr fudge. - (ppc64_elf_relocate_section): Rename some vars to better reflect usage. - Make use of return value from get_tls_type to properly detect GD and - LD optimizations. Split tlsld/gd hi/ha from lo/ds case. Don't - handle tls_get_addr removal when looking at REL24 relocs, do it when - looking at the previous reloc. Check reloc after DTPMOD64 to determine - GD or LD. - * elf64-ppc.h (ppc64_elf_tls_setup): Declare. - -2003-02-08 Alan Modra - - * elf32-hppa.c (group_sections): Don't share a stub section if - stubs are for a large section. - - * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for - stubs if !stubs_always_before_branch. - -2003-02-07 Nick Clifton - - * elf.c (swap_out_syms): Generate an error message if an - equivalent output section cannot be found for a symbol. - -2003-02-07 Jakub Jelinek - - * elf64-alpha.c (elf64_alpha_relax_section): Don't crash if - local_got_entries is NULL. - -2003-02-06 Andreas Schwab - - * elf-eh-frame.c (get_DW_EH_PE_signed): Define. - (read_value): Add parameter is_signed, use signed extraction if - the value is signed. - (_bfd_elf_write_section_eh_frame): Pass signed flag of the - encoding to read_value. - -2003-02-06 Alan Modra - - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and - plt info when called to transfer weak sym info. - -2003-02-05 Alan Modra - - * reloc.c: Add PPC and PPC64 TLS relocs. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare. - (ppc64_elf_howto_raw): Add TLS howto's. Adjust R_PPC64_NONE to be - against a 32 bit field. - (ppc64_elf_reloc_type_lookup): Handle TLS relocs. - (_ppc64_elf_section_data): Add t_symndx and comments. - (ppc64_elf_section_data): Use elf_section_data macro. - (ppc64_elf_new_section_hook): American spelling. - (struct got_entry, struct plt_entry): New. - (MUST_BE_DYN_RELOC): Rename from IS_ABSOLUTE_RELOC. - (struct ppc_stub_hash_entry): Add "addend" field. - (struct ppc_link_hash_entry): Add "tls_type". - (TLS_TLS, TLS_GD_LD, TLS_LD, TLS_TPREL, TLS_DTPREL, - TLS_EXPLICIT): Define. - (struct ppc_link_hash_table): Add tls_sec, tls_get_addr, tlsld_got. - (link_hash_newfunc): Init new fields. - (ppc64_elf_link_hash_table_create): Likewise. Set init_refcount and - init_offset to NULL. - (ppc64_elf_copy_indirect_symbol): Copy got and plt info. Don't call - _bfd_elf_link_hash_copy_indirect, rather insert relevant code from - there. - (update_local_sym_info, update_plt_info): New functions. - (ppc64_elf_check_relocs): Use them. Handle TLS relocs. Adjust GOT - handling to use got.glist rather than got.refcount. Likewise for PLT. - (ppc64_elf_gc_sweep_hook): Handle TLS relocs, new GOT and PLT lists. - (func_desc_adjust): Adjust for new PLT list. - (ppc64_elf_adjust_dynamic_symbol): Likewise. - (get_sym_h, get_tls_type): New functions. - (ppc64_elf_edit_opd): Remove unused variable. Use get_sym_h. - (ppc64_elf_tls_optimize): New function. - (allocate_dynrelocs): Adjust for new PLT and GOT lists. Allocate - TLS relocs. - (ppc64_elf_size_dynamic_sections): Likewise. - (ppc_type_of_stub): Adjust for new PLT list. - (ppc_build_one_stub): Likewise. - (ppc64_elf_size_stubs): Likewise. Use get_sym_h. Treat __tls_get_addr - calls specially. - (ppc64_elf_relocate_section): Adjust for new GOT and PLT lists. Handle - TLS relocs. Report local syms using bfd_elf_local_sym_name. Don't - init GOT entries that have a reloc. Generate GOT relocs here.. - (ppc64_elf_finish_dynamic_symbol): ..not here. Adjust for PLT list. - * elf64-ppc.h (ppc64_elf_tls_optimize): Declare. - -2003-02-04 Andreas Schwab - - * elf32-m68k.c (elf_m68k_hash_entry): Define. - (elf_m68k_link_hash_traverse): Remove. - (elf_m68k_link_hash_newfunc): Use struct bfd_hash_entry and - elf_m68k_hash_entry instead of struct elf_m68k_link_hash_entry to - reduce casting. - (elf_m68k_check_relocs): Use elf_m68k_hash_entry instead of - casting. - (elf_m68k_size_dynamic_sections): Use elf_link_hash_traverse - instead of elf_m68k_link_hash_traverse. - (elf_m68k_discard_copies): Change first parameter to pointer to - struct elf_link_hash_entry and use elf_m68k_hash_entry when struct - elf_m68k_link_hash_entry is needed. - -2003-02-04 Alan Modra - - * elf-bfd.h (struct got_entry, struct plt_entry): Forward declare. - (struct elf_link_hash_entry): Add "glist" and "plist" fields to - "got" union, and declare as gotplt_union. Use gotplt_uinion for - "plt" field. - (struct elf_link_hash_table): Make "init_refcount" a gotplt_union. - Add "init_offset" field. - (struct elf_obj_tdata ): Add "struct got_entry **" to union. - (elf_local_got_ents): Declare. - * elf.c (_bfd_elf_link_hash_newfunc): Adjust initialization of "got" - and "plt". - (_bfd_elf_link_hash_hide_symbol): Use "init_offset". - (_bfd_elf_link_hash_table_init): Set "init_offset". - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set init_refcount - from init_offset. - (elf_adjust_dynamic_symbol): Set plt and got offsets using init_offset. - - * elf.c (bfd_elf_local_sym_name): Split out from.. - (group_signature): ..here. - * elf-bfd.h (bfd_elf_local_sym_name): Declare. - -2003-02-04 Alan Modra - - * elf-bfd.h (enum elf_link_info_type): Remove. - (struct bfd_elf_section_data): Move sec_info_type, use_rela_p fields - to struct sec. Remove linkonce_p field. - (elf_linkonce_p): Delete. - (elf_discarded_section): Update for sec_info_type change. - * section.c (struct sec): Add sec_info_type, use_rela_p, has_tls_reloc, - flag11, flag12, flag13, flag14, flag15, flag16, flag20, flag24. - (ELF_INFO_TYPE_NONE): Define. - (ELF_INFO_TYPE_STABS): Define. - (ELF_INFO_TYPE_MERGE): Define. - (ELF_INFO_TYPE_EH_FRAME): Define. - (ELF_INFO_TYPE_JUST_SYMS): Define. - (STD_SECTION): Update struct sec initializer. - * ecoff.c (bfd_debug_section): Likewise. - * elf.c: Likewise. Update occurrences of sec_info_type and use_rela_p. - * elflink.h: Likewise. - * elf-eh-frame.c: Likewise. - * elf64-alpha.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * bfd-in2.h: Regenerate. - - * elf32-sparc.c (sec_do_relax): Use elf_section_data macro rather than - referring to used_by_bfd. - * elf64-sparc.c (sec_do_relax): Likewise. - * elf64-mmix.c (mmix_elf_section_data): Likewise. - * elfxx-mips.c (mips_elf_section_data): Likewise. - * ieee.c (ieee_slurp_section_data): Use ieee_per_section macro. - (ieee_get_section_contents): Likewise. - (ieee_new_section_hook): Formatting. - (ieee_canonicalize_reloc): Remove commented out code. - * mmo.c (mmo_section_data): Define. Use throughout file. - * oasys.c (oasys_get_section_contents): Use oasys_per_section macro. - -2003-01-31 Graydon Hoare - - * Makefile.am (opncls.lo): Add dependency upon libiberty.h. - * Makefile.in: Regenerate. - * opncls.c (calc_crc32, get_debug_link_info, - seperate_debug_file_exists, find_seperate_debug_file): New - internal functions. - (bfd_follow_gnu_debuglink): New function. Follow the pointer - contained inside a .gnu_debuglink section. - * bfd-in2.h: Regenerate. - -2003-01-29 Alexandre Oliva - - * elfxx-mips.c (mips_elf_got_entry_hash): Don't dereference - entry->abfd when it's NULL. - -2003-01-27 Alexandre Oliva - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Handle - _bfd_elf_section_offset returning -2 the same way as -1. - - * elfxx-mips.c (mips_elf_multi_got): New function. - (struct mips_got_entry): Make symndx and gotidx signed. Moved - addend into union along with address and link hash entry. - (struct mips_got_info): Added bfd2got and next. - (struct mips_elf_hash_sort_data): Added max_unref_got_dynindx. - (mips_elf_got_section, mips_elf_create_got_section): Use - SEC_EXCLUDE bit to tell whether we really need the got - section. Take boolean arguments to disregard an excluded - section, or to create it as excluded. Adjust all callers. - Use mips_elf_got_section all over. - (mips_elf_local_got_index, mips_elf_got_page, - mips_elf_got16_entry): Take input bfd as argument, and pass it - on to mips_elf_create_local_got_entry. - (mips_elf_global_got_index, mips_elf_create_local_got_entry): - Take input bfd as argument, and manage entries in the - appropriate GOT. - (mips_elf_got_offset_from_index): Take input bfd as argument, - and use it to adjust the GP offset of the bfd. - (mips_elf_sort_hash_table, mips_elf_sort_hash_table_f): Move - unreferenced GOT entries of global symbols to the end. - (mips_elf_record_global_got_symbol): Take input bfd as - argument. Add entries to the master GOT hash table. - (struct mips_elf_bfd2got_hash): New. - (struct mips_elf_got_per_bfd_arg): New. - (struct mips_elf_set_global_got_offset_arg): New. - (mips_elf_hash_bfd_vma, mips_elf_multi_got_entry_hash, - mips_elf_multi_got_entry_eq, mips_elf_bfd2got_entry_hash, - mips_elf_bfd2got_entry_eq, mips_elf_make_got_per_bfd, - mips_elf_merge_gots, mips_elf_set_global_got_offset, - mips_elf_resolve_final_got_entry, - mips_elf_resolve_final_got_entries, mips_elf_adjust_gp, - mips_elf_got_for_ibfd): New functions. - (ELF_MIPS_GP_OFFSET): Don't depend on SGI_COMPAT. - (MIPS_ELF_GOT_MAX_SIZE): New macro. - (STUB_LW): Generate 64-bit stub regardless of SGI_COMPAT. - (mips_elf_got_entry_hash): Take new fields into account. Use - mips_elf_hash_bfd_vma. - (mips_elf_got_entry_eq): Take new fields into account. - (mips_elf_create_got_section): Initialize new fields. - (mips_elf_calculate_relocation): Pass input_bfd to functions - that now take it. Adjust gp for the input_bfd. - (mips_elf_allocate_dynamic_relocation, - mips_elf_create_dynamic_relocation, - _bfd_mips_elf_create_dynamic_sections): Use... - (mips_elf_rel_dyn_section): New function. Borrow code from... - (_bfd_mips_elf_check_relocs): Pass input_bfd to functions that - now take it. Create the got section if needed, even if - excluded, before recording a global got symbol. Move some - code to... - (mips_elf_record_local_got_symbol): New fn. - (_bfd_mips_elf_size_dynamic_sections): Disable combreloc. - Compute multi-got global entries offsets. Move GOT code to... - (_bfd_mips_elf_always_size_sections): Call mips_elf_multi_got - if the GOT is too big. - (_bfd_mips_elf_finish_dynamic_symbol): Set got entry of - undefweak symbol to zero. Generate dynamic relocations for - non-primary GOT entries for global symbols. - (_bfd_mips_elf_finish_dynamic_sections): Handle multi-got - case. Generate dynamic relocations for local got entries. - Sort dynamic relocations on N64 too, using... - (sort_dynamic_relocs_64): New fns. - (_bfd_mips_elf_hide_symbol): Adjust multi-got counters. - (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_XGOT. - -2003-01-27 Alexandre Oliva - - * bfd.c (struct _bfd): Added id field. - * opncls.c (_bfd_id_counter): New static variable. - (_bfd_new_bfd): Use it. - * bfd-in2.h: Rebuilt. - -2003-01-25 Alan Modra - - * elf32-sparc.c (bfd_elf32_new_section_hook): Define. - -2003-01-25 Jakub Jelinek - - * elf32-sparc.c (_bfd_sparc_elf_howto_table): Add TLS relocs. - (elf32_sparc_rev32_howto): New variable. - (sparc_reloc_map): Add TLS relocs. - (elf32_sparc_reloc_type_lookup, elf32_sparc_info_to_howto): - Handle REV32. - (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc, elf32_sparc_mkobject): - New functions. - (struct elf32_sparc_dyn_relocs, struct elf32_sparc_link_hash_entry, - struct elf32_sparc_link_hash_table): - New structures. - (elf32_sparc_tdata, elf32_sparc_local_got_tls_type, - elf32_sparc_hash_table): Define. - (link_hash_newfunc, elf32_sparc_link_hash_table_create, - create_got_section, elf32_sparc_create_dynamic_sections, - elf32_sparc_copy_indirect_symbol, elf32_sparc_tls_transition): New - functions. - (elf32_sparc_check_relocs): Handle TLS relocs. Add dynamic reloc - reference counting. - (elf32_sparc_gc_sweep_hook): Likewise. - (elf32_sparc_adjust_dynamic_symbol): Likewise. - (elf32_sparc_size_dynamic_sections): Likewise. - (elf32_sparc_relocate_section): Likewise. - (allocate_dynrelocs, readonly_dynrelocs, dtpoff_base, tpoff): - New functions. - (elf32_sparc_object_p): Allocate backend private object data. - (bfd_elf32_bfd_link_hash_table_create, - elf_backend_copy_indirect_symbol, bfd_elf32_mkobject, - elf_backend_can_refcount): Define. - (elf_backend_create_dynamic_sections): Define to - elf32_sparc_create_dynamic_sections. - * reloc.c: Add SPARC TLS relocs. - * bfd-in2.h, libbfd.h: Rebuilt. - * elf64-sparc.c (sparc64_elf_howto_table): Add TLS relocs. - (sparc_reloc_map): Likewise. - -2003-01-24 Martin Schwidefsky - - * bfd-in2.h: Regenerate. - * elf32-s390.c (elf_s390_mkobject, elf_s390_tls_transition, - s390_tls_reloc, dtpoff_base, tpoff, invalid_tls_insn): New functions. - (elf_howto_table): Add TLS relocs. - (elf_s390_reloc_type_lookup): Likewise. - (elf_s390_link_hash_entry): Add tls_type. - (elf_s390_hash_entry, elf_s390_obj_tdata, elf_s390_local_got_tls_type): - New macros. - (elf_s390_link_hash_table): Add tls_ldm_got. - (link_hash_newfunc): Initialize tls_type. - (elf_s390_link_hash_table_create): Initialize refcount of tls_ldm_got. - (elf_s390_copy_indirect_symbol): Copy tls_type information. - (elf_s390_check_relocs): Support TLS relocs. - (elf_s390_gc_sweep_hook): Likewise. - (allocate_dynrelocs): Likewise. - (elf_s390_size_dynamic_sections): Likewise. - (elf_s390_relocate_section): Likewise. - (elf_s390_finish_dynamic_symbol): Likewise. - (bfd_elf32_mkobject): Define for TLS. - * elf64-s390.c: Same changes as for elf32-s390.c. - * libbfd.h: Regenerate. - * reloc.c: Add s390 TLS relocations. - -2003-01-24 Charles Lepple - - * aclocal.m4: Fix name of --enable-install-libbfd switch. - -2003-01-23 Nick Clifton - - * Add sh2e support: - 2002-04-02 Elena Zannoni - * archures.c (bfd_mach_sh2e): Added. - * bfd-in2.h: Rebuilt. - * cpu-sh.c (arch_info_struct): Added SH2e. - * elf32-sh.c (sh_elf_set_mach_from_flags): Handle EF_SH2E. - -2003-01-23 Alan Modra - - * elf-bfd.h (struct bfd_elf_section_data): Remove tdata. Change - dynindx to an int. Rearrange for better packing. - * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done. - * elf32-mips.c (bfd_elf32_new_section_hook): Define. - * elf32-sh64.h: New. Split out from include/elf/sh.h. - (struct _sh64_elf_section_data): New struct. - (sh64_elf_section_data): Don't dereference sh64_info (was tdata). - * elf32-sh64-com.c: Include elf32-sh64.h. - * elf32-sh64.c: Likewise. - (sh64_elf_new_section_hook): New function. - (bfd_elf32_new_section_hook): Define. - (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change. - (sh64_bfd_elf_copy_private_section_data): Likewise. - (sh64_elf_final_write_processing): Likewise. - * elf32-sparc.c (struct elf32_sparc_section_data): New. - (elf32_sparc_new_section_hook): New function. - (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. - (sec_do_relax): Define. - (elf32_sparc_relax_section): Adjust to use sec_do_relax. - (elf32_sparc_relocate_section): Likewise. - * elf64-mips.c (bfd_elf64_new_section_hook): Define. - * elf64-mmix.c (struct _mmix_elf_section_data): New. - (mmix_elf_section_data): Define. Use throughout file. - (mmix_elf_new_section_hook): New function. - (bfd_elf64_new_section_hook): Define. - * elf64-ppc.c (struct _ppc64_elf_section_data): New. - (ppc64_elf_section_data): Define. Use throughout. - (ppc64_elf_new_section_hook): New function. - (bfd_elf64_new_section_hook): Define. - * elf64-sparc.c (struct sparc64_elf_section_data): New. - (sparc64_elf_new_section_hook): New function. - (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. - (sec_do_relax): Define. - (sparc64_elf_relax_section): Adjust to use sec_do_relax. - (sparc64_elf_relocate_section): Likewise. - (bfd_elf64_new_section_hook): Define. - * elfn32-mips.c (bfd_elf32_new_section_hook): Define. - * elfxx-mips.c (struct _mips_elf_section_data): New. - (mips_elf_section_data): Define. Use throughout. - (_bfd_mips_elf_new_section_hook): New function. - (mips_elf_create_got_section): Don't alloc used_by_bfd. - * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare. - * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-01-21 Richard Henderson - - * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New. - (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value. - (elf64_alpha_adjust_dynamic_symbol): Set them. - (elf64_alpha_size_plt_section_1): Reset them when plt entry removed. - (elf64_alpha_relax_tls_get_addr): Handle LDM relocs. Frob the - symbol index when relaxing LDM to TPREL. - (elf64_alpha_relax_section): Likewise. Allow relaxation of GD - relocs, even if the target isn't locally defined. - (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero. - (elf64_alpha_relocate_section): Likewise. Force TP-relative - relocs vs symndx 0 to the tp base. - -2003-01-21 Fabio Alemagna - - * config.bfd: Handle i[3456]86-*-aros*. - -2003-01-21 Andreas Schwab - - * elf32-ppc.c (struct ppc_elf_dyn_relocs): Define. - (struct ppc_elf_link_hash_entry): Define. - (ppc_elf_hash_entry): New function. - (struct ppc_elf_link_hash_table): Define. - (ppc_elf_hash_table): New function. - (ppc_elf_link_hash_newfunc): New function. - (ppc_elf_link_hash_table_create): New function. - (ppc_elf_copy_indirect_symbol): New function. - (allocate_dynrelocs): New function. - (readonly_dynrelocs): New function. - (ppc_elf_size_dynamic_sections): Allocate space for dynamic - relocs and determine DT_TEXTREL. - (ppc_elf_check_relocs): Don't do that here, just count the - dynamic relocs. - (ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the - removed section. - (bfd_elf32_bfd_link_hash_table_create): Define. - (elf_backend_copy_indirect_symbol): Define. - -2003-01-21 Richard Henderson - - * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and - TPREL also get a reloc if shared. Remove SREL support. - (elf64_alpha_emit_dynrel): New. - (elf64_alpha_relocate_section): Use it. Resolve dynamic TPREL - and GOTTPREL relocs to local symbols against the tp base. - (elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel. - - * elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got - use count before clobbering r_type. - (elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn - ordering would mean dataflow inspection is necessary. - -2003-01-20 Svein E. Seldal - - * coffcode.h (coff_set_flags): Added get/set arch hooks. - -2003-01-20 Fabio Alemagna - - * elf32-sh.c: Treat elfNN_bed like other macros defined in - elfxx-target.h and #undef it before #define'ing it. - * elf32-i386.c: Likewise. - * elf32-sh64.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-sh64.c: Likewise. - -2003-01-20 Martin Schwidefsky - - * bfd-in2.h: Regenerate. - * elf32-s390.c (elf_s390_adjust_gotplt): New prototype. - (elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add - R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16, - R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16, - R_390_PLTOFF32 and R_390_PLTOFF64. - (elf_s390_reloc_type_lookup): Likewise. - (struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track - of GOTPLT references to a function. - (link_hash_newfunc): Initialize gotplt_refcount. - (elf_s390_check_relocs): Move allocation of local_got_refcounts array - and creation of the got section out of the main switch. Add support - for the gotoff, gotplt and pltoff relocations. - (elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt - and pltoff. - (elf_s390_adjust_gotplt): New function. - (elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed - plt entries. - (allocate_dynrelocs): Add comment. - (elf_s390_relocate_section): Change r_type to unsigned. Add support - for gotoff, gotplt and pltoff relocations. - * elf64-s390.c: Same changes as for elf32-s390.c. - * libbfd.h: Regenerate. - * reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12, - BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64, - BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32 - and BFD_RELOC_390_PLTOFF64. - -2003-01-18 Jakub Jelinek - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle - R_IA64_TPREL64[LM]SB against non-global symbol properly. - -2003-01-16 Jakub Jelinek - - * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add - self_dtpmod_done and self_dtpmod_offset. - (allocate_global_data_got): Only use one got entry for all - dtpmod relocs against local symbols. - (allocate_dynrel_entries): Only need .rela.got entry for - dtpmod against global symbol. - (elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset. - Reserve space in .rela.got for the local dtpmod entry. - (set_got_entry): Initialize the common local dtpmod .got entry. - (elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB - and R_IA_64_DTPREL64MSB. - -2003-01-16 Alan Modra - - * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h. - (R_PPC_*): Rename all occurrences to R_PPC64_*. - (R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30. - (enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type. - (ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other - relative relocs, not with absolute ones. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2003-01-15 Andreas Schwab - - * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a - relocation against a non-allocated readonly section. - -2003-01-10 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. PLTGOT16_HA too. - -2002-01-08 Klee Dienes - - * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c. - (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c. - * Makefile.in: Regenerate. - -2003-01-08 Alexandre Oliva - - * elfn32-mips.c (prev_reloc_section): New. - (GET_RELOC_ADDEND): Use it. Parenthesize macro arguments. - (SET_RELOC_ADDEND): Parenthesize macro argument. - -2003-01-07 John David Anglin - - * elf32-hppa.c (final_link_relocate): For all DP relative relocations, - adjust addil instructions if the symbol has no section. - -2003-01-07 DJ Delorie - - * elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not - partial_inplace. - -2003-01-07 Andreas Schwab - - * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for - PC relative relocations. - (elf_m68k_discard_copies): Set it here instead. - -2002-01-02 Ben Elliston - Jeff Johnston - - * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo. - (ALL_MACHINES_CFILES): Add cpu-iq2000.c. - (BFD32_BACKENDS): Add elf32-iq2000.lo. - (BFD32_BACKENDS_CFILES): Add elf32-iq2000.c. - (cpu-iq2000.lo): New target. - * Makefile.in: Regenerate. - * config.bfd: Handle iq2000-*-elf. - * archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000. - (bfd_archures_list): Add bfd_iq2000_arch. - * configure.in: Handle bfd_elf32_iq2000_vec. - * configure: Regenerate. - * reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21, - and BFD_RELOC_IQ2000_UHI16. - * targets.c (bfd_elf32_iq2000_vec): Declare. - (bfd_target_vector): Add bfd_elf32_iq2000_vec. - * elf.c (prep_headers): Set e_machine to EM_IQ2000. - * cpu-iq2000.c: New file. - * elf32-iq2000.c: Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Likewise. - -2003-01-02 Richard Sandiford - - * elfxx-mips.c: Include libiberty.h. - (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. - (mips_set_isa_flags): New function, split out from... - (_bfd_mips_elf_final_write_processing): ...here. Only call - mips_set_isa_flags if the EF_MIPS_MACH bits are clear. - (mips_mach_extensions): New array. - (mips_32bit_flags_p): New function. - (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. - Use mips_32bit_flags_p to check if one binary is 32-bit and the - other is 64-bit. When adopting IBFD's architecture, adopt the - bfd_mach as well as the flags. - -2003-01-02 Nick Kelsey - - * elf32-ip2k.c: Re-work of linker relaxation code for the ip2k to - fix internal errors, fix bad code generation, fix incorrect stabs - information, and improve ability to eliminate redundant page - instructions. Added code to ip2k_final_link_relocate to self-verify - the linker relaxation. Fix formatting problems. - -2002-12-30 Chris Demetriou - - * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. - * archures.c (bfd_mach_mipsisa32r2): New define. - * bfd-in2.h: Regenerate. - * cpu-mips.c (I_mipsisa32r2): New enum value. - (arch_info_struct): Add entry for I_mipsisa32r2. - * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) - (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. - (_bfd_mips_elf_final_write_processing): Add - bfd_mach_mipsisa32r2 case. - (_bfd_mips_elf_merge_private_bfd_data): Handle merging of - binaries marked as using MIPS32 Release 2. - -2002-12-30 Dmitry Diky - - * Makefile.am: Add msp430 target. - * configure.in: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * archures.c: Add msp430 architecture vector. - * config.bfd: Likewise. - * reloc.c: Add msp430 relocs. - * targets.c: Add msp320 target. - * cpu-msp430.c: New file: msp430 cpu detection. - * elf32-msp430.c: New file: msp430 reloc processing. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2002-12-28 Jakub Jelinek - - * elf.c (elf_sort_sections): Don't reorder .tbss. - (assign_file_positions_for_segments): Only adjust off/voff - for increased alignment in PT_LOAD or PT_NOTE segment, - but adjust p_filesz for .tbss too. in PT_LOAD consider - .tbss to have zero memory size. - (copy_private_bfd_data) [SECTION_SIZE]: Define. - [IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it. - [INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections - into PT_TLS segment. Never put SHF_TLS sections in - segments other than PT_TLS or PT_LOAD. - - * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt - sh_entsize. - -2002-12-23 DJ Delorie - - * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. - -2002-12-23 Alan Modra - - * elflink.h (elf_link_output_extsym): Heed strip_discarded. - -2002-12-23 Nick Clifton - - * archures.c (bfd_arch_get_compatible): Add third parameter - 'accept_unknowns'. Only accept unknown format BFDs if - accept_unknowns is true, or if the format is "binary". - * bfd-in2.h: Regenerate. - -2002-12-21 Nick Clifton - - * coff-arm.c (coff_arm_relocate_section): Disable WINCE workaround - that subtracted 8 from pc relative relocations. - -2002-12-20 Kazu Hirata - - * coff-h8300.c: Fix comment typos. - * coffcode.h: Likewise. - * cpu-cris.c: Likewise. - * elf32-vax.c: Likewise. - * genlink.h: Likewise. - * linker.c: Likewise. - * som.c: Likewise. - * tekhex.c: Likewise. - * vms-misc.c: Likewise. - -2002-12-20 DJ Delorie - - * reloc.c: Add BFD_RELOC_XSTORMY16_12. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. - (xstormy16_reloc_map): Add R_XSTORMY16_12. - -2002-12-19 Kazu Hirata - - * doc/bfdint.texi: Fix typos. - -2002-12-20 Paul Eggert - - Port to POSIX 1003.1-2001. - * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o". - * configure.in (build-warnings): Likewise. - (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-12-19 Alan Modra - - * coff-h8300.c: Include libiberty.h. - (h8300_reloc16_extra_cases): Check the hash table creator before - referencing h8300 specific fields. Stash the hash table pointer - in a local var. Comment typo fixes. - (h8300_bfd_link_add_symbols): Likewise. - - * reloc.c (struct reloc_howto_struct): Revise src_mask and - dst_mask comments. - * bfd-in2.h: Regenerate. - -2002-12-18 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc - code a little. Comment on dynamic relocs against section symbols. - -2002-12-17 Roger Sayle - - * configure.host (ia64-*-hpux*): Support 64 bit targets using - the HP compiler's "long long". - -2002-12-16 Andrew MacLeod - - * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16 - and R_XSTORMY16_HI16) howto entries. - (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. - (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to - determine the start of the second reloc table. - -2002-12-16 Nathan Tallent - - * ecofflink.c: Fix the reading of the debugging information - of Tru64/Alpha binaries that are produced by recent Compaq - compilers. - (mk_fdrtab): Fix error in creating the FDR (file descriptor) - table. - (lookup_line): Because of the strange information sometimes - generated by Compaq's recent compilers, change how the FDR - table is searched so that PDRs (procedure descriptors) are - correctly found. Note that this change is really more of a hack; - however, I have included extensive documentation as to why - this is the best solution short of an extensive rewrite or - another hack. - (fdrtab_lookup): Add comments to explain the algorithm. - -2002-12-12 Alexandre Oliva - - * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder - initializers to match struct declaration. - -2002-12-12 Alan Modra - - * dwarf2.c (comp_unit_contains_address): Comment typo fix. - * elf.c (get_program_header_size): Likewise. - * elf32-m32r.c (m32r_elf_lo16_reloc): Likewise. - (m32r_elf_generic_reloc): Likewise. - * elf32-ppc.c (ppc_elf_howto_init): Likewise. - * elflink.h (elf_bfd_discard_info): Likewise. - -2002-12-12 Alan Modra - - * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset - to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and - DT_RELSZ adjustment, not output section. Avoid writing tags when - unchanged. Don't assume linker script is sane, adjust DT_REL too. - * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw - size of srelplt for DT_PLTRELSZ. Use srelplt input section size for - DT_RELASZ adjustment, not output section. Avoid writing tags when - unchanged. Adjust DT_RELA. - * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better - formatting. Avoid writing tags when unchanged. Adjust DT_RELA. - -2002-12-12 Alexandre Oliva - - * elfxx-mips.c (mips_elf_calculate_relocation): Don't divide - addend by 4. - -2002-12-12 Alexandre Oliva - - * elfxx-mips.c (struct mips_got_entry): New. - (struct mips_got_info): Added got_entries field. - (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions. - (mips_elf_local_got_index, mips_elf_got_page, - mips_elf_got16_entry): Re-implement in terms of new... - (mips_elf_create_local_got_entry): Rewrite to use got_entries. - Change return type. - (mips_elf_highest): Warning clean-up. - (mips_elf_create_got_section): Initialize got_entries. - (_bfd_mips_elf_check_relocs): Use got_entries to estimate - local got size. - (_bfd_mips_elf_size_dynamic_sections): Do not account for - GOT_PAGE entries, since we now reuse GOT16 entries. - -2002-12-10 Jason Thorpe - - * aoutx.h (set_section_contents): Allow an otherwise unrepresentable - read-only section that lies after .text and before .data to be - written into the output file and included in a_text. - (translate_to_native_sym_flags): If an otherwise unrepresentable - section was merged with .text, convert its symbols to N_TEXT - symbols. - * libaout.h (aout_section_merge_with_text_p): New macro. - -2002-12-08 Alan Modra - - * bfd-in.h: Comment typo fix. Formatting. - * bfd-in2.h: Regenerate. - * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix. - * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype. - * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix. - -2002-12-05 Richard Henderson - - * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI. - Only send PCREL21B though the plt. Fix installed reloc type. - (elfNN_ia64_relocate_section): Give error for dynamic reloc - against PCREL22 or PCREL64I; clean up error messages for - branch relocs. - -2002-12-04 Kevin Buettner - - * elf64-mips.c (elf64_mips_grok_prstatus, elf64_mips_grok_psinfo): - New functions. - (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. - -2002-12-04 David Mosberger - - * cpu-ia64-opc.c: Add operand constant "ar.csd". - -2002-12-04 H.J. Lu - - * elfxx-ia64.c (get_local_sym_hash): Use section ID instead of - BFD address when constructing local name. - -2002-12-04 Andreas Schwab - - * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec - member. - (elf_m68k_link_hash_table_create): Initialize it. - (elf_m68k_check_relocs): Handle symbols that are forced to be - local due to visibility changes. - (elf_m68k_adjust_dynamic_symbol): Likewise. - (elf_m68k_size_dynamic_sections): Likewise. - (elf_m68k_discard_copies): Likewise. - (elf_m68k_relocate_section): Likewise. - -2002-12-04 Alan Modra - - * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo. - -2002-12-04 Alan Modra - - * srec.c (srec_write_symbols): Restore '$' prefix to address - accidentally removed in 2002-04-04 change. - (srec_get_symtab): Use 0 instead of `(long) FALSE'. - -2002-12-03 Nick Clifton - - * elf32-ppc.c (apuinfo_list_init): New function. - (apuinfo_list_add): New function: Add a value to the list. - (apuinfo_list_length): New function: Return the number of - values on the list. - (apuinfo_list_element): New function: Return a value on the - list. - (apuinfo_list_finish): New function: Free the resources used - by the list. - (ppc_elf_begin_write_processing): New function. Scan the - input bfds for apuinfo sections. - (ppc_elf_write_section): New function: Delay the creation of - the contents of an apuinfo section in an output bfd. - (ppc_elf_final_write_processing): New function. Create the - contents of an apuinfo section in an output bfd. - (elf_backend_begin_write_processing): Define. - (elf_backend_final_write_processing): Define. - (elf_backend_write_section): Define. - -2002-12-03 Richard Henderson - - * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. - -2002-12-01 Stephane Carrez - - Fix PR savannah/1417: - * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust - branch if it goes to the start of the deleted region. - -2002-12-01 Stephane Carrez - - * bfd-in2.h (bfd_mach_m6812): Rebuild. - * archures.c (bfd_mach_m6812_default, bfd_mach_m6812, - bfd_mach_m6812s): Declare. - - * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function. - (_bfd_m68hc12_elf_set_private_flags): Call it. - (_bfd_m68hc12_elf_print_private_bfd_data): Report processor version. - (_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and - report microcontroller incompatibilities (HC12 vs HCS12). - (elf_backend_object_p): Update. - -2002-11-30 Alan Modra - - * bfd-in.h (TRUE_FALSE_ALREADY_DEFINED, BFD_TRUE_FALSE): Delete. - (enum bfd_boolean, boolean): Delete. - (bfd_boolean): Typedef to an int. - (FALSE, TRUE): Define. - * aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, aout-cris.c, - aout-encap.c, aout-ns32k.c, aout-target.h, aout-tic30.c, aoutf1.h, - aoutx.h, archive.c, archive64.c, archures.c, bfd-in.h, bfd.c, bfdwin.c, - binary.c, bout.c, cache.c, cisco-core.c, coff-a29k.c, coff-alpha.c, - coff-apollo.c, coff-arm.c, coff-aux.c, coff-h8300.c, coff-h8500.c, - coff-i386.c, coff-i860.c, coff-i960.c, coff-ia64.c, coff-m68k.c, - coff-m88k.c, coff-mcore.c, coff-mips.c, coff-or32.c, coff-ppc.c, - coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, coff-tic30.c, - coff-tic4x.c, coff-tic54x.c, coff-tic80.c, coff-w65.c, coff-we32k.c, - coff-z8k.c, coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, - corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, - cpu-cris.c, cpu-d10v.c, cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, - cpu-h8300.c, cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, - cpu-i860.c, cpu-i960.c, cpu-ia64.c, cpu-ip2k.c, cpu-m10200.c, - cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, cpu-m68hc12.c, cpu-m68k.c, - cpu-m88k.c, cpu-mcore.c, cpu-mips.c, cpu-mmix.c, cpu-ns32k.c, - cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, - cpu-rs6000.c, cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, - cpu-tic4x.c, cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, - cpu-w65.c, cpu-we32k.c, cpu-xstormy16.c, cpu-z8k.c, dwarf1.c, - dwarf2.c, ecoff.c, ecofflink.c, efi-app-ia32.c, efi-app-ia64.c, - elf-bfd.h, elf-eh-frame.c, elf-hppa.h, elf-m10200.c, elf-m10300.c, - elf-strtab.c, elf.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, - elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, - elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, - elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, - elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, - elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, - elf32-pj.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-sh64-com.c, - elf32-sh64.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, - elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, - elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, - elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, - elfarm-oabi.c, elfcode.h, elfcore.h, elflink.c, elflink.h, - elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, - elfxx-target.h, format.c, freebsd.h, genlink.h, hash.c, hp300hpux.c, - hppabsd-core.c, hpux-core.c, i386aout.c, i386linux.c, i386lynx.c, - i386mach3.c, i386msdos.c, i386os9k.c, ieee.c, ihex.c, irix-core.c, - libaout.h, libbfd-in.h, libbfd.c, libcoff-in.h, libecoff.h, libieee.h, - libnlm.h, liboasys.h, libpei.h, libxcoff.h, linker.c, lynx-core.c, - m68klinux.c, m68klynx.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, - mmo.c, netbsd-core.c, netbsd.h, nlm.c, nlm32-alpha.c, nlm32-i386.c, - nlm32-ppc.c, nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c, - pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, pe-mcore.c, pe-mips.c, - pe-sh.c, peXXigen.c, pef.c, pei-arm.c, pei-i386.c, pei-mcore.c, - pei-mips.c, pei-sh.c, peicode.h, ppcboot.c, ptrace-core.c, reloc.c, - reloc16.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, simple.c, - som.c, som.h, sparclinux.c, sparclynx.c, srec.c, stabs.c, sunos.c, - syms.c, targets.c, tekhex.c, ticoff.h, trad-core.c, versados.c, - vms-gsd.c, vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, - xcoff-target.h, xcofflink.c, xsym.c, xsym.h: Replace boolean with - bfd_boolean, true with TRUE, false with FALSE. Simplify comparisons - of bfd_boolean vars with TRUE/FALSE. Formatting. - * bfd-in2.h, libbfd.h, libcoff.h: Regenerate - -2002-11-28 Alan Modra - - * elf-bfd.h: Replace occurrences of Elf32_Internal_* and - Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel - with Elf_Internal_Rela. - * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, - elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, - elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, - elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, - elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, - elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, - elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, - elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, - elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, - elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, - elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. - * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr - throughout instead. - * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. - * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. - Remove INLINE keyword. - (elf_swap_reloc_in): Likewise. Also clear r_addend. - (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand - as a bfd_byte *. - (elf_write_relocs): Consolidate REL and RELA code. - (elf_slurp_reloc_table_from_section): Simplify REL code. - (NAME(_bfd_elf,size_info)): Populate reloc swap entries. - * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. - * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and - RELA code. - (elf_link_adjust_relocs): Likewise. Don't malloc space for temp - reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. - (elf_link_output_relocs): Likewise. - (elf_reloc_link_order): Likewise. - (elf_finish_pointer_linker_section): Likewise. - (struct elf_link_sort_rela): Remove union. - (elf_link_sort_cmp1): Update to suit. - (elf_link_sort_cmp2): Here too. - (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory - over-allocation for int_rels_per_ext_rel != 1 case. - * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. - * elf32-i386.c: Likewise. - * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. - * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, - elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. - * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. - * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, - elf64-sparc.c, elf64-x86-64.c: Likewise. - * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. - * elfxx-mips.c (sort_dynamic_relocs): Likewise for - bfd_elf32_swap_reloc_in. - - * elf32-arm.h: Update elf32_arm_info_to_howto calls. - * elf32-mips.c: Likewise for mips_info_to_howto_rel. - (mips_elf64_swap_reloc_in): Zero r_addend. - (mips_elf64_be_swap_reloc_in): Likewise. - (mips_elf64_slurp_one_reloc_table): Simplify. - - * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. - * elf64-hppa.c (hppa64_elf_size_info): Likewise. - * elf64-sparc.c (sparc64_elf_size_info): Likewise. - -2002-11-28 Kaz Kojima - - * elf32-sh.c (sh_elf_relocate_section): Don't complain about - unresolved debugging relocs in dynamic applications. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - -2002-11-26 Alan Modra - - * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs. - (_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs - on a relocatable link. Comment typos. - * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure - in the order they are declared. Clear elf_hash_value too. - (_bfd_elf_link_hash_table_init): Likewise assign in order. Clear - eh_info and tls_segment. - * elflink.h (elf_link_input_bfd ): Keep reloc offsets - sorted when discarding relocs by turning them into R_*_NONE. - - * libbfd.c (warn_deprecated): Comment spelling. - * po/SRC-POTFILES.in: Regenerate. - -2002-11-21 Richard Henderson - - * elflink.h (elf_link_add_object_symbols): Don't overwrite the - arch's st_other bits when merging visibilities. - (elf_link_output_extsym): Tidy clearing of visibility field. - -2002-11-21 Alan Modra - - * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define. - (SWAP_OUT_RELOC_OFFSET): Define. - -2002-11-20 Alexandre Oliva - - * elf.c (_bfd_elf_link_hash_table_init): Make sure - can_refcount is properly extended to the type of - init_refcount. - -2002-11-19 Alexandre Oliva - - * elfxx-mips.c (MIPS_RELOC_RELA_P): New macro. - (_bfd_mips_elf_relocate_section): Use it. - - * elfxx-mips.c (MNAME): New macro. - (_bfd_mips_elf_check_relocs): Use it. - (_bfd_mips_elf_discard_info): Likewise. - (_bfd_mips_elf_final_link): Likewise. - -2002-11-19 Alan Modra - - * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust - rel_hdr.sh_size too. - -2002-11-18 Klee Dienes - - * Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. - (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. - (BFD_H_FILES): Add bfdwin.c, bfdio.c. - (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. - Add dependencies for bfdwin.c, bfdio.c. - * bfd.c: Remove bfd_get_mtime, bfd_get_size. - * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, - bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, - bfd_tell, bfd_flush, bfd_stat, bfd_seek. - * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, - bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, - bfd_get_size (moved from libbfd.c and bfd.c). - * bfdwin.c New file. Contains _bfd_window_internal, - bfd_init_window, bfd_free_window, bfd_get_file_window (moved from - libbfd.c and bfd.c). - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * aclocal.m4: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2002-11-18 Klee Dienes - - * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY. - -2002-11-15 Kazu Hirata - - * coff-h8300.c (h8300_reloc16_estimate): Do not optimize away - jsr after a short jump. - * elf32-h8300.c (elf32_h8_relax_section): Likewise. - -2002-11-15 Klee Dienes - - * pef.c (bfd_pef_convert_architecture): Move declaration of - ARCH_POWERPC and ARCH_M68K to the start of the function. - -2002-11-14 Svein E. Seldal - - * coff-tic4x.c (tic4x_howto_table): Formatting fixup - -2002-11-14 Hans-Peter Nilsson - - * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): - For bpo_gregs_section->contents, allocate _raw_size, not - _cooked_size. - -2002-11-13 Klee Dienes - - * config.bfd: Add entries for powerpc-*-darwin and cousins. - -2002-11-13 H.J. Lu - - * elfcode.h (elf_object_p): Don't restore abfd->arch_info. - -2002-11-13 Klee Dienes - Alan Modra - - * bfd.c (struct bfd_preserve): New. - (bfd_preserve_save): New function. - (bfd_preserve_restore): Ditto. - (bfd_preserve_finish): Ditto. - * bfd-in2.h: Regenerate. - * mach-o.c: Formatting. - (bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned. - (bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish. - (bfd_mach_o_core_p): Ditto. - (bfd_mach_o_scan): Pass in mdata. - * mach-o.h (bfd_mach_o_scan): Update prototype. - * pef.c: Formatting. - (bfd_pef_object_p): Use bfd_preserve_save/restore/finish. - (bfd_pef_xlib_object_p): Ditto. - (bfd_pef_scan): Pass in mdata. Move version check to bfd_pef_object_p. - * pef.h (bfd_pef_scan): Update prototype. - * xsym.c: Formatting, K&R fixes. - (bfd_sym_object_p): Use bfd_preserve_save/restore/finish. - (bfd_sym_scan): New function split out from bfd_sym_object_p. - * xsym.h (bfd_sym_scan): Declare. - * elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish. - * elfcore.h (elf_core_file_p): Likewise. - * targets.c (_bfd_target_vector): Revert 2002-11-08 change. - -2002-11-12 Nick Clifton - - * po/da.po: Updated Danish translation. - -2002-11-12 Alan Modra - - * elflink.h (elf_link_add_object_symbols): Optimize stabs for - relocatable link too. - (elf_link_input_bfd): When emitting relocs, adjust offsets for - eh_frame and stab sections. Zap deleted relocs. - (elf_reloc_symbol_deleted_p): Return true for zero r_symndx. - (elf_bfd_discard_info): Run for relocatable link too. - * elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd. Make global. - Handle ld -r case. - (ppc64_elf_size_dynamic_sections): Don't call edit_opd from here. - * elf64-ppc.h (ppc64_elf_edit_opd): Declare. - - * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. - (struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise. - (struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise. - (enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR. - (struct eh_frame_hdr_info): Add "hdr_sec", remove "split". - (struct elf_link_hash_table): Add eh_info. - (struct elf_obj_tdata): Change eh_frame_hdr to an asection *. - (_bfd_elf_discard_section_eh_frame): Update prototype. - (_bfd_elf_discard_section_eh_frame_hdr): Likewise. - (_bfd_elf_write_section_eh_frame): Likewise. - (_bfd_elf_write_section_eh_frame_hdr): Likewise. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec" - param. Get "hdr_info" from link hash table. - (_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param. Get - header section from link hash table. Save header section to elf_tdata. - (_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec". Use - header section from link hash table. Don't alloc hdr_info. Clear - hdr_sec instead of setting "strip". - (_bfd_elf_eh_frame_section_offset): Formatting. - (_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param. - Get header section from link hash table. - (_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param. - Get header section from link hash table. - * elf.c (map_sections_to_segments): Use cached eh_frame_hdr. - (get_program_header_size): Likewise. - (_bfd_elf_section_offset): Formatting. - * elflink.h (elf_link_create_dynamic_sections): Stash eh frame header - section pointer in link hash table. - (elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr - and _bfd_elf_write_section_eh_frame calls. Update comment about - eh_frame entries. - (elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and - _bfd_elf_discard_section_eh_frame_hdr calls. Remove "ehdr". - - * po/SRC-POTFILES.in: Regenerate. - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero - relocs for discarded FDEs. Remove dead code. - (_bfd_elf_write_section_eh_frame_hdr): Remove dead code. - * elflink.h (elf_bfd_discard_info): Don't save edited relocs. - Tidy conditions under which stabs are edited. Formatting. - * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows - from discarded relocs. - * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output - section adjustments after testing magic values. - -2002-11-12 Thomas Moestl - - * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct - references to large plt symbols. - -2002-11-12 Klee Dienes - - * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when - looking for an unused section name. - -2002-11-11 Kazu Hirata - - * coff-h8300.c: Fix formatting. - * elf32-h8300.c: Likewise. - * reloc16.c: Likewise. - -2002-11-09 Jeroen Dobbelaere - - * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output - section when dynamic section unused; _bfd_strip_section_from_output - instead. - -2002-11-08 Alan Modra - - * targets.c (_bfd_target_vector): Disable pef_vec, pef_xlib_vec - and sym_vec. - - * dwarf2.c: Revert last change. - -2002-11-07 Michal Ludvig - - * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, - _bfd_dwarf2_find_nearest_line): Use - bfd_simple_get_relocated_section_contents() instead of - bfd_get_section_contents(). - * reloc.c (bfd_perform_relocation): Add sanity check. - * simple.c (simple_get_relocated_section_contents): If the section - does not have any relocs associated with it, just return the - unadjusted contents. - -2002-11-07 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_relocate_section) : Correct test for filling in constant .got - contents, enabling for a non-DSO, for symbols defined in the - program with --export-dynamic. - -2002-11-07 Alan Modra - - * elf64-ppc.c: Comment typo fixes. - (ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input. - -2002-11-07 Nick Clifton - - * po/da.po: Updated Danish translation. - -2002-11-06 Alexandre Oliva - - * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate - exactly three internal relocs per external reloc. Set reloc_count - to the external reloc count. - -2002-11-06 Klee Dienes - - * coff-stgo32.c (stub_bytes): Mark as const. - Fix comment formatting. - -2002-11-06 Klee Dienes - - * Makefile.am (BFD32_BACKENDS): Add mach-o.lo, pef.lo, and - xsym.lo. - (BFD32_BACKENDS_CFILES): Add mach-o.c, pef.c, and xsym.c. - (SOURCE_HFILES): Add mach-o.h, pef.h, pef-traceback.h, xsym.h - * archures.c (enum bfd_architecture): Add bfd_arch_m98k. - * bfd.c (struct bfd): Add private data for mach-o, pef, and sym. - * targets.c (enum bfd_flavour): Add flavours for mach-o, pef, and - sym. - (_bfd_target_vector): Add target vectors for mach-o, pef, and sym. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * xsym.c: New file. Contains support for the Apple/Metrowerks - xSYM debugging format. - * xsym.h: New file. - * pef.c: New file. Contains support for the Apple Code Fragment - Manager Preferred Executable Format - * pef.h: New file. - * pef-traceback.h: New file. Contains support for parsing PowerPC - traceback tables as used by PEF executables (and perhaps other - systems as well). - * mach-o.c: New file. Contains support for the Mach-O object file - format. - * mach-o.h: New file. - * mach-o-target.c: New file. Declares the mach-o targets - themselves. Included three times by mach-o.c; each time with a - different set of macros set. - -2002-11-06 Graeme Peterson - - * Makefile.am: Remove entries for elf32-qnx.[ch]. - * Makefile.in: Regenerate. - * config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec, - ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use - bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. - * configure.in: Remove support for bfd_elf32_sh{l}qnx_vec, - bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec, - and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets. - bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. - * configure: Regenerate. - * elf32-qnx.c: Remove. - * elf32-qnx.h: Remove. - * elf.c: Remove calls to QNX specific set_nonloadable_filepos, - is_contained_by_filepos, and copy_private_bfd_data_p. - * elf-bfd.h (struct elf_backend_data): Remove set_nonloadable_filepos, - is_contained_by_filepos, and copy_private_bfd_data_p. - * elf32-i386.c: Remove QNX extended bfd support. - * elf32-ppc.c: Remove QNX extended bfd support. - * elf32-sh.c: Remove QNX extended bfd support. - * elfarm-nabi.c: Remove QNX extended bfd support. - * targets.c: Remove qnx vectors. - * elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove - (elf_backend_is_contained_by_filepos): Remove. - (elf_backend_copy_private_bfd_data_p): Remove. - * po/SRC-POTFILES.in: Regenerate. - -2002-11-06 David O'Brien - Alan Modra - - * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of - dynamic relocs against section symbols for the output section vma. - -2002-11-05 Alan Modra - - * elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn, - t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove. - -2002-11-05 Kaz Kojima - Alan Modra - - * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64 - vectors in target_selvecs. - (shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors - in target_selvecs. - (sh-*-netbsdelf*): Likewise. - * configure.in (assocvecs): New variable. Handle assocvecs like - selvecs. - * configure: Regenerate. - * format.c (bfd_check_format_matches): Store bfd_target pointers - in matching_vector instead of target names. Select first target - from bfd_associated_vector that matches a list of ambiguous targets. - * targets.c (_bfd_associated_vector): New array. - (bfd_associated_vector): New variable. - (_bfd_target_vector): Add bfd_elf*_sh64*lin_vec. - * libbfd-in.h (bfd_associated_vector): Declare. - * libbfd.h: Regenerate. - -2002-11-05 Elias Athanasopoulos - - * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is - non-NULL before dereferencing. - -2002-11-04 Kaz Kojima - - * vms.c (vms_object_p): Restore the start address when returning - NULL. - -2002-11-04 Alan Modra - Hans-Peter Nilsson - - * elflink.h (struct elf_final_link_info): Add shndxbuf_size. - (elf_bfd_final_link): Don't bother zeroing symtab_hdr fields. - Set up a larger symshndxbuf, and write it out. Free it on - exit rather than freeing symbuf twice. Correct section index - on output section symbol loop. - (elf_link_output_sym): Accumulate symbol extension section - indices, reallocating symshndxbuf rather than writing it out. - (elf_link_flush_output_syms): Don't flush symshndxbuf. - * elf.c (assign_section_numbers): Init i_shdrp to all zero. - Use bfd_zalloc to clear i_shdrp[0] too. - -2002-11-03 Stephen Clarke - - * elf32-sh64-com.c (sh64_address_in_cranges): Use - _raw_size of cranges section if _cooked_size not yet set. - -2002-11-03 Hans-Peter Nilsson - - * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters - for bfd_elf32_swap_symbol_out. - -2002-10-31 David O'Brien - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix - signed and unsigned in comparison. - -2002-10-30 Daniel Jacobowitz - - * coffcode.h: Remove extraneous '\'. - -2002-10-28 H.J. Lu - - * Makefile.am (targets.lo): Depend on Makefile instead of - config.status. - (archures.lo): Likewise. - * Makefile.in: Regenerated. - -2002-10-25 Jason Thorpe - - * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add - bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to - targ_selvecs. - -2002-10-25 Jim Wilson - - * elf64-sh64.c (sh_elf64_relocate_section): Call - _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol - of SHF_MERGE section. - -2002-10-25 Hans-Peter Nilsson - - * simple.c: Correct placement of ATTRIBUTE_UNUSED. - -2002-10-24 John David Anglin - - * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to - unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to - unsigned int. - (NAME(aout,final_link)): Cast enum used in assignment. - (aout_link_write_symbols): Cast enums in comparisons, int values to - boolean, enums in assignments to int. - (aout_link_input_section_std): Cast rel->r_index to unsigned int. - (aout_link_input_section_ext): Likewise. Cast enums used in - comparisons with unsigned ints. - (aout_link_reloc_link_order): Cast enum to int in assignment. - * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr - calls to char *. - * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in - assignment. - * bfd-in2.h (bfd_set_section_vma): Likewise. - * bfd.c (bfd_record_phdr): Cast enums in assignments. - * binary.c (bfd_alloc): Cast enum to long. - * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. - * dwarf2.c (read_abbrevs): Add casts to enum types. - (read_attribute_value): Likewise. - (arange_add): Cast result of bfd_zalloc call. - (comp_unit_contains_address): Return true and false. - (comp_unit_find_nearest_line): Cast return to boolean. - * format.c (bfd_check_format_matches, bfd_set_format): Likewise. - * gen-aout.c: define macro '_' if not defined. - * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. - (bfd_bwrite): Cast bfd_realloc to bfd_byte *. - (bfd_write_bigendian_4byte_int): Cast return to boolean. - (bfd_seek): Cast bfd_realloc to bfd_byte *. - (bfd_generic_is_local_label_name): Cast return to boolean. - * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. - * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to - struct bfd_hash_entry *. - (_bfd_generic_link_hash_newfunc): likewise. - (_bfd_generic_final_link): Cast enum to unsigned int. - * merge.c (sec_merge_emit): Cast return to boolean. - (merge_strings): Add casts to const unsigned char *. - * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. - (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. - * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result - to struct bfd_hash_entry *. - (bfd_set_section_content): Add cast to PTR in comparison. - * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, - simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, - simple_dummy_unattached_reloc, - bfd_simple_get_relocated_section_contents): Add K&R declarations and - function definitions. - * srec.c (S3Forced): Initialize to false. - (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. - * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. - (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. - * syms.c (bfd_is_undefined_symclass): Cast return to boolean. - (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in - comparisons. - -2002-10-23 Jakub Jelinek - - * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic - relocs into shared lib non-allocated reloc sections. - -2002-10-23 Nathan Tallent - - * dwarf2.c (add_line_info): Ensure that the line_info_table is - sorted even when given an out-of-order line sequence. - (lookup_address_in_line_info_table): When an exact VMA match is - not found, return line information with the closest VMA. - -2002-10-23 Ross Alexander - - * elf64-hppa.c: Force DT_FLAGS to always be set. Required by - HPUX 11.00 patch PHSS_26559. - -2002-10-22 Alexandre Oliva - - * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move - the options section into a separate section unless IRIX 6 - compatibility is enabled. - -2002-10-22 Alexandre Oliva - - * elflink.h (struct elf_link_sort_rela): Turn rel and rela - into arrays. - (elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust. - (elf_link_sort_relocs): Likewise. Take int_rels_per_ext_rel - into account. - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose - R_MIPS_REL32 with R_MIPS64 if ABI_64_P. - -2002-10-21 Graeme Peterson - - * targets.c (_bfd_target_vector): Add missing qnx vectors. - -2002-10-21 Alan Modra - - * targets.c (bfd_target_list): Don't return the default target twice. - -2002-10-21 Elias Athanasopoulos - - * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace - perror with bfd_perror. - -2002-10-19 H.J. Lu - - * elflink.h (elf_link_add_object_symbols): Correctly handle - DT_RPATH and DT_RUNPATH. - -2002-10-19 Mark Kettenis - - * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. - -2002-10-17 Denis Chertykov - - * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code - for ip2k port. - -2002-10-17 Alan Modra - - * elfxx-target.h (USE_REL): Don't define as 1. - * elf32-arm.h (USE_REL): Provide a default define of 0. - Use #if rather than #ifdef when testing USE_REL. - * elf32-m32r.c: Likewise. - - * elf32-arc.c (USE_REL): Define as 1. - * elf32-d10v.c (USE_REL): Likewise. - * elf32-m32r.c (USE_REL): Likewise. - * elf32-m68hc11.c (USE_REL): Likewise. - * elf32-m68hc12.c (USE_REL): Likewise. - * elf32-or32.c (USE_REL): Likewise. - * elfarm-nabi.c (USE_REL): Likewise. - -2002-10-16 Jakub Jelinek - - * config.bfd (s390-*-linux*): Add targ64_selvecs. - (s390x-*-linux*): Add targ_selvecs. - -2002-10-16 Alan Modra - - * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo, - elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo, - elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo, - elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo. - (BFD32_BACKENDS_CFILES): Likewise for corresponding C files. - (BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo. - (BFD64_BACKENDS_CFILES): Likewise for corresponding C files. - (SOURCE_HFILES): Add elf32-qnx.h. - (BUILD_HFILES): Add bfdver.h. - Run "make dep-am". - * Makefile.in: Regenerate. - * configure.in Update bfd vector dependencies. - * configure: Regenerate. - * elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c. - * elf32-i386qnx.c: Likewise. - * elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c. - * elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c. - * elf32-sh-lin.c: Likewise. - * elf32-shqnx.c: Likewise. - * elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c. - * elf32-sh64-nbsd.c: Likewise. - * elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c. - * elf64-sh64-nbsd.c: Likewise. - * elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c. - * elf32-arm.h (ELF_MAXPAGESIZE): Always define. - * elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests. - * elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests. - * elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define. - (elf_backend_is_contained_by_filepos): Likewise. - (elf_backend_copy_private_bfd_data_p): Likewise. - Globalize and move functions to.. - * elf32-qnx.c: ..here. New file. - * elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't - emit target vectors when INCLUDE_SHMEDIA. - * elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to - end of file. - * elf64-sh64.c: Remove ELF_ARCH test. - * elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test. - * po/BLD-POTFILES.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2002-10-16 Alan Modra - - * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects - loaded with --just-symbols. - - * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define. - * elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. - * elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. - * elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. - -2002-10-15 Richard Henderson - - * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd. - (BFD64_BACKENDS_CFILES): Likewise. - * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha. - * elf64-alpha-fbsd.c: Remove file, move code ... - * elf64-alpha.c: ... here. - * Makefile.in, configure: Rebuild. - -2002-10-14 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment - VALUE, not ADDEND. - -2002-10-14 Stephen Clarke - - * elf32-sh.c (elf_sh_link_hash_entry): Replace - datalabel_got_offset with union of datalabel_got - offset and refcount. - (sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount. - (allocate_dynrelocs): Delete unnecessary code for - STT_DATALABEL type. Create entry in got for - datalabel version of symbol if datalabel_got.refcount > 0. - (sh_elf_relocate_section): Use datalabel_got union. - (sh_elf_gc_sweep_hook): Pull common code to initialize - h and eh out of switch statement. Declare seen_stt_datalabel. - Initialize it. Decrement datalabel_got.refcount for - got relocs when seen_stt_datalabel is true. - Decrement local_got_refcounts entry for datalabel got relocs - of local symbols. - (sh_elf_copy_indirect_symbol): Copy datalabel_got field over. - (sh_elf_check_relocs): Declare seen_stt_datalabel. - Initialize it. When seen_stt_datalabel is true, increment - datalabel_got refcount rather than got.refcount. - (sh_elf_finish_dynamic_symbol): Create relocs to - initialize got entry for datalabel version of symbol. - -2002-10-14 Alan Modra - - * Makefile.am: Run "make dep-am". - (BFD_H_FILES): Remove version.h. - * bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move.. - * version.h: ..to here. - * configure.in (bfd_version_date): Remove. - (AC_OUTPUT): Make bfdver.h from version.h. - * bfd.c: #include "bfdver.h". - * vms-hdr.c: Likewise. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2002-10-14 Alan Modra - - * archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086, - bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64, - bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64, - bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850, - bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8, - bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple, - bfd_mach_ia64_elf64, bfd_mach_ia64_elf32, - bfd_mach_ip2022, bfd_mach_ip2022ext, - bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber. - * bfd-in2.h: Regenerate. - -2002-10-14 Kaz Kojima - - * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative - endian vector to targ_selvecs. - -2002-10-13 Alexandre Oliva - - * elfxx-mips.c (mips_elf_calculate_relocation): Take - save_addend argument. Don't apply the 32-bit mask to a - GPREL32 value if it's to be used in another relocation. Don't - use forced-check computation of local_p to decide whether to - add gp0 to GPREL16 value. Don't use only the lowest 16 bits - of the addend of a non-in-place GPREL16 relocation. - (_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to - mips_elf_calculate_relocation(). - -2002-10-12 Stephane Carrez - - * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs - with symbols in other sections if we relaxed something; the sections - output offsets must be re-computed before. - -2002-10-12 Stephane Carrez - - * elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols - handling to use Elf_Internal_Sym. - (m68hc11_elf_relax_delete_bytes): Likewise. - -2002-10-11 Kaz Kojima - - * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject, - sh_elf_object_p, dtpoff_base): New functions. - (sh_elf_howto_table): Add TLS relocs. - (sh_reloc_map): Likewise. - (sh_elf_info_to_howto): Support TLS relocs. - (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32. - (sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type): - New macros. - (sh_elf_obj_tdata): New. - (elf_sh_link_hash_table): Add tls_ldm_got. - (sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got. - (allocate_dynrelocs): Support TLS relocs. - (sh_elf_size_dynamic_sections): Likewise. - (sh_elf_relocate_section): Support TLS relocs. Don't try to find - .rela.got section when found already. Return false after printing - error about unresolvable relocation. - (sh_elf_gc_sweep_hook): Support TLS relocs. - (sh_elf_check_relocs): Likewise. - (sh_elf_finish_dynamic_symbol): Likewise. - (bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case. - * reloc.c: Add SH TLS relocs. - * bfd-in2.h, libbfd.h: Regenerate. - -2002-10-11 Daniel Jacobowitz - - * Makefile.in: Regenerated. - -2002-10-11 Daniel Jacobowitz - - * Makefile.am: Run dep-am. - (BFD_H_DEP): Add simple.c and linker.c. - (BFD32_LIBS): Add simple.lo. - (BFD32_LIBS_CFILES): Add simple.c. - * Makefile.in: Regenerated. - * bfd-in2.h: Regenerated. - * simple.c: New file. - -2002-10-11 Alan Modra - - * coff-arm.c (record_arm_to_thumb_glue): Avoid type-punned pointers. - (record_thumb_to_arm_glue): Likewise. - * ecoff.c (ecoff_link_add_externals): Likewise. - * elf32-arm.h (record_arm_to_thumb_glue): Likewise. - (record_thumb_to_arm_glue): Likewise. - * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. - * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. - * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. - * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. - * elf64-ppc.c (func_desc_adjust): Likewise. - * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. - (sh64_elf64_create_dynamic_sections): Likewise. - * elflink.c (_bfd_elf_create_got_section): Likewise. - (_bfd_elf_create_dynamic_sections): Likewise. - (_bfd_elf_create_linker_section): Likewise. - * elflink.h (elf_add_default_symbol): Likewise. - (elf_link_create_dynamic_sections): Likewise. - (NAME(bfd_elf,size_dynamic_sections)): Likewise. - * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Likewise. - * elfxx-mips.c (mips_elf_create_got_section): Likewise. - (_bfd_mips_elf_add_symbol_hook): Likewise. - (_bfd_mips_elf_create_dynamic_sections): Likewise. - * linker.c (generic_link_add_symbol_list): Likewise. - * xcofflink.c (xcoff_link_add_symbols): Likewise. - - * elfxx-ia64.c (oor_brl, oor_ip): Conditionally define. - - * elf64-ppc.c (edit_opd): Only zero opd syms when function is - completely removed. Correct local sym adjustment. - -2002-10-10 Stephen Clarke - - * elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): - Correct mistake in calculation of address of .got. - * elf64-sh64.c (elf_sh64_pic_plt_entry_be, - elf_sh64_pic_plt_entry_le): Likewise. - -2002-10-09 Richard Shann - Stephen Clarke - - * Makefile.am: Add entries for elf32-sh64-lin.c and - elf64-sh64-lin.c. Regenerate. - * Makefile.in: Regenerate. - * config.bfd: Change sh64eb-*-linux* and sh64-*-linux* - to use sh64 vectors rather than sh vectors. - * configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, - bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. - * configure: Regenerate. - * elf32-sh64-lin.c: New file. - * elf64-sh64-lin.c: New file. - * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, - bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. - -2002-10-08 H.J. Lu - - * elf32-i386.c (elf_i386_relocate_section): Re-arrange the - IE->LE transition for R_386_TLS_IE. - -2002-10-08 Alan Modra - - * elf64-ppc.c (edit_opd): Correct test for discarded sections. - -2002-10-07 Mark Elbrecht - - * cofflink.c (mark_relocs): Don't mark relocations in excluded - sections. - -2002-10-07 Alan Modra - - * elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent - code. - - * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. - -2002-10-06 Alan Modra - - * opncls.c: Formatting. - (_bfd_new_bfd): Use a smaller section hash table. - -2002-10-05 Alexandre Oliva - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type - of the other two relocations packed with a REL32 to NONE. - -2002-10-02 Stephen Clarke - - * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. - (sh_elf_link_hash_newfunc): Initialize it. - (allocate_dynrelocs): Transfer gotplt refs from plt.refcount - to got.refcount for symbols that are forced local or when - we have direct got refs. - (sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it - to correctly adjust got.refcount and plt.refcount. - (sh_elf_copy_indirect_symbol): Copy gotplt_refcount across. - (sh_elf_check_relocs): Increment gotplt_refcount. - -2002-10-01 Jakub Jelinek - - * elf32-i386.c (elf_i386_relocate_section): Fix - movl foo@indntpoff, %eax IE->LE transition. - -2002-10-01 Jakub Jelinek - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD - sequence and its transitions. - -2002-10-01 Jakub Jelinek - - * elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32 - to st_value + addend in non-code sections. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve - R_X86_64_DTPOFF32 to st_value + addend in non-code sections. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - Eric Christopher - Richard Sandiford - - * archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New. - (bfd_mach_mips5500): New. - * cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New. - (arch_info_struct): Add corresponding entries here. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120, - E_MIPS_MACH_5400 and E_MIPS_MACH_5500. - (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120, - bfd_mach_mips5400 and bfd_mach_mips5500. - (_bfd_mips_elf_mach_extends_p): New function. - (_bfd_mips_elf_merge_private_bfd_data): Use it to help merge - the EF_MIPS_MACH flags. - * bfd-in2.h: Regenerate. - -2002-09-28 Jason Thorpe - - * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip - .got sections. - -2002-09-28 Alan Modra - - * elf.c (map_sections_to_segments): Correct test for start of - writable section in the same page as end of read-only section. - -2002-09-27 Matt Thomas - - * elf32-vax.c (elf_vax_check_relocs): Remove unused - local_got_refcounts usage. Remove allocation of got slot. - (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage. - Remove de-allocation of got slot. - (elf_vax_size_dynamic_section): Fix some indentation. Add hash - traversal for elf_vax_instantiate_got_entries. Allow empty .got - sections to be GC'ed. - (elf_vax_instantiate_got_entries): New function. - (elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove - tests that are now handled by elf_vax_instantiate_got_entries. - Assert GOT entry falls within .got section size. Remove redundant - comparisions. Fix comments. - -2002-09-27 Jakub Jelinek - - * reloc.c: Add x86-64 TLS relocs. - * bfd-in2.h, libbfd.h: Rebuilt. - * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit - relocs. Add TLS relocs. - (x86_64_reloc_map): Add TLS relocs. - (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. - (struct elf64_x86_64_link_hash_entry): Add tls_type field. - (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. - (elf64_x86_64_hash_entry): Define. - (struct elf64_x86_64_obj_tdata): New. - (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. - (struct elf64_x86_64_link_hash_table): Add tls_ld_got. - (link_hash_newfunc): Initialize tls_type. - (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. - (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. - (elf64_x86_64_mkobject): New. - (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. - (elf64_x86_64_tls_transition): New. - (elf64_x86_64_check_relocs): Add r_type variable and use it. - Handle TLS relocs. - (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. - (allocate_dynrelocs): Allocate GOT space for TLS relocs. - (elf64_x86_64_size_dynamic_sections): Likewise. - (dtpoff_base, tpoff): New. - (elf64_x86_64_relocate_section): Handle TLS relocs. - (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT - entries. - (bfd_elf64_mkobject): Define. - - * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set - DF_STATIC_TLS if shared. - -2002-09-26 Thiemo Seufer - - * elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded - empty relocation sections. - -2002-09-26 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here. - (ppc64_elf_build_stubs): Build them here instead. - -2002-09-24 Jakub Jelinek - - * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE - addend into r_addend, not *r_offset. - (elf32_sparc_finish_dynamic_symbol): Likewise. - * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at - R_SPARC_RELATIVE's r_offset. - -2002-09-23 Nathan Tallent - - * dwarf2.c (decode_line_info): Update to correctly decode - the (non-standard DWARF2) out-of-order address sequences - generated by the Intel C++ 6.0 compiler for ia64-Linux. - -2002-09-23 Mark Elbrecht - - * config.bfd: For DJGPP targets, match with any cpu and any machine. - -2002-09-23 Alan Modra - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs - for discarded FDEs. Remove redundant assignment. - * elflink.h (elf_bfd_discard_info): Save edited relocs. - -2002-09-22 H.J. Lu - - * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge - the relocation count between different .reloc sections. - -2002-09-21 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and - ".sdata.*" for R_PPC_SDAREL16, ".sbss2*" and ".sdata2*" for - R_PPC_EMB_SDA2REL. Similarly for R_PPC_EMB_SDA21 and - R_PPC_EMB_RELSDA. - - * elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount" - unsigned. Move "symcount" assignment out of loop. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regnerate. - -2002-09-19 Nathan Tallent - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): If address length is - zero, set it to 8 for (non-standard) 64-bit DWARF2 formats - (e.g. IRIX64). - -2002-09-19 Jakub Jelinek - - * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word - even if generating R_PPC_RELATIVE reloc. - (ppc_elf_relocate_section): Make sure relocation is performed - if skip == -2. Clear memory at r_offset when creating dynamic - relocation. - -2002-09-19 Jakub Jelinek - - * reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, - BFD_RELOC_386_TLS_GOTIE): Add. - * bfd-in2.h, libbfd.h: Rebuilt. - * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE - and R_386_TLS_GOTIE. - (elf_i386_reloc_type_lookup): Handle it. - (struct elf_i386_link_hash_entry): Change tls_type type to unsigned - char instead of enum, change GOT_* into defines. - (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. - (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. - (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is - accessed both as normal and TLS symbol. Move R_386_TLS_LDM and - R_386_PLT32 cases so that R_386_TLS_IE can fall through. - Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. - (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. - Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. - (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if - tls_type is GOT_TLS_IE_BOTH. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. - Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. - (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch - all 4 GOT_TLS_* TLS types. - -2002-09-19 Nick Clifton - - * elflink.h (elf_fix_symbol_flags): When examining weak symbols, - follow indirect links. - -2002-09-19 Nathan Tallent - - * ecoffswap.h (ecoff_swap_pdr_in) : Update to - correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1) - on 64 bit machines. - (ecoff_swap_sym_in) : Likewise. - * ecoff.c (_bfd_ecoff_slurp_symbolic_info): Fix error reading - ECOFF information: 'ioptMax' refers to the actual *size* - of the optimization symtab, not the number of entries. - -2002-09-19 Daniel Jacobowitz - - * elf32-arm.h (elf32_arm_adjust_dynamic_symbol): Update - ELF_LINK_HASH_NEEDS_PLT logic. - -2002-09-18 Daniel Jacobowitz - - * elfcode.h (elf_slurp_reloc_table_from_section): Check - correct relocation count. - -2002-09-17 Daniel Jacobowitz - - * bfd-in.h (bfd_get_dynamic_symcount): Define. - * bfd.c (struct _bfd): Add dynsymcount. - * bfd-in2.h: Regenerated. - * elf.c (_bfd_elf_canonicalize_dynamic_symtab): Set - abfd->dynsymcount. - * elfcode.h (elf_slurp_reloc_table_from_section): Check - for overflow. - -2002-09-17 Stan Cox - - * elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3. - (mips_elf64_final_gp): Don't make up gp value. - * elfn32-mips.c (mips_elf_final_gp): Likewise. - * elfxx-mips.c (_bfd_mips_elf_final_link): Always create - .MIPS.options/.options section. - -2002-09-17 David O'Brien - - * elf32-i386-fbsd.c: Always label using the EI_OSABI method. - It is benign for FreeBSD < 4.1. Minor reformatting. - * elf64-alpha-fbsd.c: Likewise. - -2002-09-17 Jakub Jelinek - - * elf32-i386.c (elf_i386_relocate_section) [R_386_TLS_TPOFF32]: Negate - addend. - -2002-09-17 Alan Modra - - * elf64-alpha.c (alpha_elf_size_info): Make static. - -2002-09-17 Svein E. Seldal - - * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. - * cpu-tic4x.c: Ditto. - -2002-09-17 Thiemo Seufer - - * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove - duplicate define. - -2002-09-16 Bruno Haible - - * elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included - by a target variant implementation. - * elf64-alpha.c: Likewise. - * elf32-i386-fbsd.c: New file. - * elf64-alpha-fbsd.c: New file. - * targets.c: Support bfd_elf32_i386_freebsd_vec and - bfd_elf64_alpha_freebsd_vec. - * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, - bfd_elf64_alpha_freebsd_vec. - * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. - (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. - (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. - (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. - (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. - * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD - specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. - -2002-09-12 Jakub Jelinek - - * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is - NULL. - (elf_i386_relocate_section): Return false after printing error about - unresolvable relocation. - -2002-09-12 Nick Clifton - - * elf32-arm.h (elf32_arm_final_link_relocate): Fix handling of - R_ARM_THM_PC11. - -2002-09-11 Jeffrey Law - - * elf32-h8300.c (elf32_h8_relax_section): Fix typo. - -2002-09-11 Andrew Haley - - * elf.c (_bfd_elf_find_nearest_line): Check functionname_ptr and - line_ptr before deciding we've found a symbol. - -2002-09-11 Nick Clifton - - * po/da.po: New Danish translation file. - * configure.in (LINGUAS): Add 'da'. - * configure: Regenerate. - -2002-09-10 Michael Snyder - - * irix-core.c (do_sections, do_sections64): New functions. - (irix_core_core_file_p): Call new functions do_sections, - do_sections64, depending on corefile (32-bit or 64-bit). - -2002-09-09 Richard Henderson - - * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M - and PCREL21F like PCREL21B. - -2002-09-04 Kevin Buettner - - * config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default - vector. - -2002-09-02 Nick Clifton - - * elf32-v850.c (v850_elf_final_link_relocate): Use helpful - names instead of cryptically overloaded bfd_reloc error - codes. - (v850_elf_relocate_section): Likewise. - (v850_elf_relax_section): Replace caching of external symbols - with caching of internal symbols obtained from calling - bfd_elf_get_elf_syms(). - Fixup problems with freeing cached allocated memory blocks. - -2002-09-02 Alan Modra - - * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove. - (bfd_pj_arch): Use bfd_default_scan. - * cpu-v850.c (scan): Remove. - (N): Use bfd_default_scan. - * cpu-z8k.c (scan_mach): Remove. - (arch_info_struct, bfd_z8k_arch): Reorganize so that the default is - first. Use bfd_default_scan. - - * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded - bfd_mach constants. - (ecoff_get_magic): Likewise. - * elf32-v850.c (v850_elf_object_p): Likewise. - (v850_elf_final_write_processing): Likewise. - * mipsbsd.c (MY(set_arch_mach)): Likewise. - (MY(write_object_contents)): Likewise. - * coff64-rs6000.c (xcoff64_write_object_contents): Likewise. - * coffcode.h (coff_write_object_contents): Likewise. - (coff_set_arch_mach_hook): Add comment describing machine == 0. - Remove unnecessary "machine" assignments. - (coff_write_relocs): Test for the absolute section sym by testing - section and flags. - - * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386 - and bfd_mach_i386_i386_intel_syntax. - * pdp11.c (NAME(aout,machine_type)): Likewise. - -2002-08-30 John David Anglin - - * bfd-in.h (align_power): Cast constants to bfd_vma type. - * bfd-in2.h (align_power): Likewise. - -2002-08-30 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * cpu-avr.c (compatible): Don't use hard-coded mach constants. - * cpu-powerpc.c (powerpc_compatible): Likewise. - * cpu-rs6000.c (rs6000_compatible): Likewise. - -2002-08-28 Catherine Moore - - * elf32-v850.c (v850_elf_reloc_map): Add new relocs. - (v850-elf-reloc): Don't resolve pc relative relocs. - (v850_elf_ignore_reloc): New routine. - (v850_elf_final_link_relocate): Handle new relocs. - (v850_elf_relax_delete_bytes ): New routine. - (v850_elf_relax_section): New routine. - (bfd_elf32_bfd_relax_section): Define. - (HOWTO): New entries for new relocs. - * reloc.c (BFD_RELOC_V850_LONGCALL): New reloc. - (BFD_RELOC_V850_LONGJUMP): New reloc. - (BFD_RELOC_V850_ALIGN): New reloc. - * archures.c: Remove redundant v850ea architecture. - * cpu-v850.c: Remove redundant v850ea support. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerated. - -2002-08-28 Svein E. Seldal - - * config.bfd: Add tic4x-*-*coff* and c4x-*-*coff* target. - * configure.in: Add tic4x_coff vector files. - * configure: Regenerate. - * Makefile.am: Add tic4x target. - * Makefile.in: Regenerate. - -2002-08-27 Michael Hayes - - * archures.c: Add the BFD arch type tic4x. - * bfd-in.h: Add BFD_IN_MEMORY flag. - * coff-tic4x.c: New file. - * coffswap.h (coff_swap_sym_out): Add preadjuster. - * cpu-tic4x.c: New file. - * targets.c: Added tic4x- in list of xvecs. - * ticoff.h: New file. - * bfd-in2.h: Regenerate. - -2002-08-27 Adam Nemet - - * elf32-arm.h (elf32_arm_finish_dynamic_sections): Set the last - bit of DT_INIT and DT_FINI for Thumb functions. - -2002-08-26 Alan Modra - - * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. - -2002-08-26 Alan Modra - - * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8. - -2002-08-24 Kaz Kojima - - * elf32-sh.c (sh_elf_copy_indirect_symbol): New. - (create_got_section, allocate_dynrelocs, readonly_dynrelocs): - Likewise. - (struct elf_sh_pcrel_relocs_copied): Removed. - (struct elf_sh_dyn_relocs): New. - (struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied - field with dyn_relocs. - (struct elf_sh_link_hash_table): Add short-cuts to get dynamic - sections and sym_sec. - (sh_elf_link_hash_newfunc): Clear dyn_relocs. - (sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec. - (sh_elf_create_dynamic_sections): Use create_got_section instead - of _bfd_elf_create_got_section. - (sh_elf_check_relocs): Likewise. - (sh_elf_create_dynamic_sections): Use short-cuts to the dynamic - sections. - (sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, - sh_elf_relocate_section, sh_elf_check_relocs, - sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections): - Likewise. - (sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the - dynamic relocations and avoiding the copy relocation when we - didn't find any dynamic relocations in the section which has - contents or is read-only. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. - (sh_elf_size_dynamic_sections): Don't reset the size of - .rela.got section even if dynamic_sections_created flag is off. - Don't use sh_elf_discard_copies. Scan all input bfd and use - allocate_dynrelocs. Call readonly_dynrelocs to determine - whether we need DT_TEXTREL. - (sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine - whether the symbol was never referred to. - (sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL. - (sh_elf_gc_sweep_hook): Fill with the real sweep function. - (sh_elf_check_relocs): Call create_got_section if the short-cut - to .got is null. Increment reference counters only instead of - allocating space on dynamic sections here. Don't conditionalize - uninitialized got.offset value when marking the symbol as a - global offset table entry. Keep relocations for symbols satisfied - by a dynamic library to avoid copy relocations for the symbol. - Set dynobj field of an elf hash table if needed. - (sh_elf_finish_dynamic_sections): Handle null section pointer - correctly. - (elf_backend_copy_indirect_symbol): Defined. - (elf_backend_can_refcount): Defined. - -2002-08-23 Nick Clifton - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Undo - previous change. Add comment explaining why. - -2002-08-23 Stephen Clarke - - * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy - contents of .got.plt[2] to tr0, not address of .got.plt. - (sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when - patching absolute plt entry. For shmedia plt entry, set bottom bit - of branch to plt0 as this is a branch to an shmedia instruction. - * elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le): - Copy contents of .got.plt[2] to tr0, not address of .got.plt. - (elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to - branch to plt0. - (sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when - patching absolute plt entry. For shmedia plt entry, branch to - plt0 is now ptrel, so use relative offset. Set bottom bit of - branch target as it is a branch to an shmedia instruction. - -2002-08-23 Stephen Clarke , - Richard Shann - - * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT - value if .init is an SHmedia function. Similarly for DT_FINI. - * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise. - -2002-08-23 Stephen Clarke - - * elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize - dynamic section. - * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. - -2002-08-22 Kaz Kojima - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use a simple - byte read when reading the return address register column. - -2002-08-22 Nick Clifton - - * config.bfd: Add powepc64-*-*bsd* target. - -2002-08-22 Graeme Peterson - - * Makefile.am: Add entries for elf32-shqnx.c - * Makefile.in: Regenerate. - * config.bfd: Add support sh-*-nto* target. - * configure.in: Add support for bfd_elf32_sh{l}qnx_vec. - * configure: Regenerate. - * elf32-qnx.h: Changed typo "elf_i386qnx_*" to "elf_qnx_*" . - * elf32-sh.c: Do not include elf32-target.h if - ELF32_SH_C_INCLUDED is defined. - * elf32-shqnx.c: New file: Support for QNX. - * targets.c: Add bfd_elf32_sh{l}qnx_vec. - -2002-08-22 Nick Clifton - - * po/tr.po: Updated Turkish translation. - - * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the - symbols are not read. - -2002-08-22 Alan Modra - - * elf32-m68hc11.c: Formatting fixes. - (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. - * elf32-m68hc12.c: Formatting fixes. - (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. - -2002-08-22 Alan Modra - - * coff-rs6000.c (rs6000coff_vec ): Add SEC_CODE and - SEC_DATA. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - -2002-08-22 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data - param to elf_backend_copy_indirect_symbol. - (_bfd_elf_link_hash_copy_indirect): Likewise. - * elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust - calls to copy_indirect_symbol. - * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. - * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. - * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise. - * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Properly - test refcounts for "used" values. - -2002-08-21 John David Anglin - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to - argument declaration. - -2002-08-19 Elena Zannoni - - * archures.c (bfd_mach_ppc_e500): Added. - * bfd-in2.h: Rebuilt. - * cpu-powerpc.c (bfd_powerpc_archs): Added e500. - -2002-08-19 Alan Modra - - * elf32-m68hc12.c (elf_backend_can_gc_sections): False. - -2002-08-17 Andrew Cagney - - * elf.c (bfd_elf_get_elf_syms): Change type of `esym' to - `bfd_byte'. - -2002-08-17 Stan Cox - - * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the - IRIX 6 segment layout for NEWABI. - -2002-08-16 Stephen Clarke - - * elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect - symbols when looking for section referred to by a relocation. - * elf64-sh.c (sh_elf64_gc_mark_hook): Likewise. - -2002-08-15 Alan Modra - - * elf32-i370.c: Move reloc enum to include/elf/i370.h. - -2002-08-15 Hans-Peter Nilsson - - * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add - missing check for whether the symbol is referenced by DSO before - unexporting it as an unneeded dynamic symbol. - -2002-08-14 H.J. Lu - - * libbfd.h: Regenerate. - -2002-08-14 H.J. Lu - - * config.bfd: Always add 64bit vectors to 32bit Linux/mips. - -2002-08-14 Stephane Carrez - - * elf32-m68hc11.c (m68hc11_relax_group): New to relax group of - instructions. - (m68hc11_direct_relax): New to define table of relaxable instructions. - (find_relaxable_insn): New, find a relaxable insn. - (compare_reloc): New to compare two relocs. - (m68hc11_elf_relax_section): New, relax text sections. - (m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs. - (elf32_m68hc11_check_relocs): New function for GC support. - (elf32_m68hc11_relocate_section): New function for GC support. - (bfd_elf32_bfd_relax_section): Define to support linker relaxation. - (elf_backend_check_relocs): Likewise. - (elf_backend_relocate_section): Likewise. - -2002-08-13 H.J. Lu - - * elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count - definitions in shared objects when checking symbol with - undefined version. - -2002-08-13 Stephane Carrez - - * elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC. - (elf32_m68hc11_gc_sweep_hook): Likewise. - (elf_backend_gc_mark_hook): Define for GC section support. - (elf_backend_gc_sweep_hook): Likewise. - (elf_backend_can_gc_sections): Likewise. - - * elf32-m68hc12.c: Likewise. - -2002-08-13 Stephane Carrez - - * elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New. - (_bfd_m68hc11_elf_merge_private_bfd_data): New function. - (_bfd_m68hc11_elf_set_private_flags): New function. - Use them to set/check/print ELF flags specific to 68HC11. - - * elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New. - (_bfd_m68hc12_elf_merge_private_bfd_data): New function. - (_bfd_m68hc12_elf_set_private_flags): New function. - Use them to set/check/print ELF flags specific to 68HC12. - -2002-08-13 Stephane Carrez - - * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs; - fix masks for PC-rel relocs. - (m68hc11_elf_ignore_reloc): New function. - - * elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific - 68HC12 banked addressing relocs. - (m68hc12_phys_addr): New to compute physical address of banked memory. - (m68hc12_phys_page): Likewise for page. - (m68hc12_addr_is_banked): New to see if address is in banked area. - (elf_m68hc12_howto_table): Add new relocs and rename to xx12. - -2002-08-13 Stephane Carrez - - * reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP, - BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE, - BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12. - * bfd-in2.h: Regenerate. - -2002-08-12 H.J. Lu - - * elflink.h (elf_add_default_symbol): Preserve section across - elf_merge_symbol. - -2002-08-09 Graeme Peterson - - * Makefile.am: Add entries for elf32-ppcqnx.c, and add - elf32-qnx.h dependency to elfarmqnx-nabi.c and elf32-i386qnx.c. - * Makefile.in: Regenerate. - * config.bfd: Add support for powerpc{le}-*-nto targets. - * configure.in: Add support for bfd_elf32_powerpc{le}qnx_vec. - * configure: Regenerate. - * elf32-i386qnx.c: Moved backend functions into a QNX specific - common file "elf32-qnx.h", and now include that file. - * elf32-qnx.h: New file: QNX specific common elf backend. - * elf32-ppc.c: Do not include elf32-target.h if - ELF32_PPC_C_INCLUDED is defined. - * elf32-ppcqnx.c: New file: Support for QNX. - * elfarmqnx-nabi.c: Include elf32-qnx.h for qnx elf backend. - * targets.c: Add bfd_elf32_powerpc{le}qnx_vec. - -2002-08-09 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2002-08-09 Thiemo Seufer - - * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if - g->global_gotsym is NULL. - -2002-08-08 H.J. Lu - - * elflink.h (elf_add_default_symbol): Don't warn if a definition - overrides an indirect versioned symbol. - -2002-08-08 Jakub Jelinek - - * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend - for R_386_TLS_TPOFF32 relocs against symndx 0. - -2002-08-07 H.J. Lu - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Check symbol - with undefined version if needed. - (elf_link_assign_sym_version): Match a default symbol with a - version without definition. No need to hide the default - definition separately. - -2002-08-08 Alan Modra - - * elflink.h (elf_link_output_extsym): Don't output symbols from - SEC_EXCLUDE sections. - - * aoutx.h (aout_link_write_symbols): Correct handling of warning syms. - -2002-08-07 Alan Modra - - * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd - entries. - -2002-08-07 Thiemo Seufer - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness - mismatch. - -2002-08-07 Thiemo Seufer - - * elfxx-mips.c (ABI_64_P): Remove superfluous check. - -2002-08-07 Thiemo Seufer - - * elf32-mips.c (mips_reloc_map): Fix typo. - -2002-08-06 Alan Modra - - * xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section. - -2002-08-06 Alan Modra - - * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries. - -2002-08-06 Alan Modra - - * libxcoff.h: Use PARAMS on function declarations. - * coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc. - * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. - - * coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in - addend. - * coff64-rs6000.c: (xcoff64_rtype2howto): Likewise. - -2002-08-06 Alan Modra - - * coff-rs6000.c: Formatting fixes. - (xcoff_calculate_relocation): Use PARAMS in declaration. - (xcoff_complain_overflow): Likewise. - (xcoff_ppc_relocate_section): Use old-style function pointer call. - (bfd_xcoff_backend_data): Remove useless comments. - (rs6000coff_vec): Likewise. - (bfd_pmac_xcoff_backend_data): Likewise. - (pmac_xcoff_vec): Likewise. - - * coff64-rs6000.c: Formatting fixes. - (xcoff64_calculate_relocation): Use PARAMS in declaration. - (xcoff64_ppc_relocate_section): Use old-style function pointer call. - (bfd_xcoff_backend_data): Remove useless comments. - (rs6000coff64_vec): Likewise. - (bfd_xcoff_aix5_backend_data): Likewise. - (aix5coff64_vec): Likewise. - -2002-08-06 Alan Modra - - * coff-rs6000.c (xcoff_howto_table): Revert some of last change to - mask entries. Use complain_overflow_dont for R_REF. - (xcoff_reloc_type_ba): Revert last change. - (xcoff_reloc_type_br): Likewise. - (xcoff_reloc_type_crel): Likewise. - (xcoff_ppc_relocate_section): Likewise. - * coff64-rs6000.c (xcoff64_reloc_type_br): Likewise. - (xcoff64_ppc_relocate_section): Likewise. - (xcoff64_howto_table): Revert some of last change to mask entries. - Use complain_overflow_dont for R_REF. - - * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all - relocs with bitsize == 16 have size = 1. - (xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment. - (xcoff_reloc_type_br): Likewise. - (xcoff_reloc_type_crel): Likewise. - (xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly. - * coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and - dst_mask adjustment. - (xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly. - (xcoff64_howto_table): Fix src_mask entries. Make all relocs with - bitsize == 16 have size = 1. - -2002-08-01 Denis Chertykov - - * elf32-ip2k.c: Processor manufacturer changed to Ubicom. - (struct misc): New field isymbuf. All free_* fields removed. - (symbol_value): Pass in internal syms. No need to swap syms in. - (ip2k_elf_relax_section): Use bfd_elf_get_elf_syms. Properly free - possibly cached info. - (tidyup_after_error): Removed. - (ip2k_elf_relax_section_pass1): Don't use removed fields of struct - misc. Use new field. - (adjust_all_relocations): Use internal syms. No need to swap syms - in and out. - (add_page_insn): Don't use removed fields of struct misc. - -2002-08-01 Nick Clifton - - * elf32-arm.h: Revert previous delta. - -2002-08-01 Nick Clifton - - * configure.in (AM_INIT_AUTOMAKE): Bump version number. - * configure: Regenerate. - -2002-07-31 H.J. Lu - - * config.bfd: Add x86-64 vector to Linux/i386 if 64bit BFD is - selected. - -2002-07-31 H.J. Lu - - * config.bfd: Add n32 vectors to 32bit Linux/mips if 64bit BFD - is selected. - -2002-07-31 Jakub Jelinek - - * elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type - if _bfd_elf_link_hash_copy_indirect will swap got.refcount. - -2002-07-31 Ian Dall - - * cpu-ns32k.c (_bfd_ns32k_put_immdeiate, _bfd_ns32k_get_immediate): - There is no 8 byte relocation type for this architecture. - (do_ns32k_reloc): Use bfd_vma instead of native types. - (bfd_ns32k_put_immediate, _bfd_ns32k_relocate_contents) put_data - returns void. - (_bfd_ns32k_put_displacement): Don't check for overflow. We can - rely on generic code to do that. - * aout-ns32k.c (howto_table): Add appropriate overflow detection - to all table entries. - (_bfd_ns32k_relocate_contents): put_data returns void. - * ns32k.h: (_bfd_ns32k_put_displacement, _bfd_ns32k_put_immediate) - (_bfd_do_ns32k_reloc_contents): Fix prototypes. put data functions - return void. - -2002-07-31 Ian Dall - - * aoutx.h (aout_link_check_ar_symbols): Whether to include an - archive object is target dependant. - -2002-07-31 Adam Nemet - - * elf32-arm.h (ARM_PLT_ENTRY_SIZE): Rename PLT_ENTRY_SIZE. - (THUMB_PLT_ENTRY_SIZE): New macro. - (PLT_ENTRY_SIZE): Return the appropriate *_PLT_ENTRY_SIZE. - (elf32_arm_plt0_entry): Rename PLT_ENTRY_SIZE to - ARM_PLT_ENTRY_SIZE. - (elf32_arm_plt_entry): Likewise. - (elf_backend_plt_header_size): Likewise. - (elf32_thumb_plt0_entry): New global. - (elf32_arm_finish_dynamic_sections): Use it. Put Thumb entries - into .plt.thumb. - (elf32_thumb_plt_entry): New global. - (elf32_arm_finish_dynamic_symbol): Use it. Use .thumb.plt for - Thumb entries. Set the bottom bit of the corresponding GOT entry - for a Thumb PLT entry. - (struct elf32_arm_plt_entry_info): New structure. - (struct elf32_arm_link_hash_entry, plt_info): New member of this - type. - (elf32_arm_link_hash_newfunc): Initialize new member. - (elf32_arm_final_link_relocate, R_ARM_THM_PC22 case): Handle - relocations against the PLT. - (elf32_arm_check_relocs, case R_ARM_PLT32 case): Set - first_rel_type if this is the first time we encounter the symbol. - (elf32_arm_check_relocs, case R_ARM_THM_PC22 case): New case. - Determine if relocation needs a PLT entry. Set first_rel_type if - this is the first time we encounter the symbol - (elf32_arm_adjust_dynamic_symbol): Create PLT entries for Thumb - functions as well. - (elf32_arm_size_dynamic_sections): Handle .plt.thumb like .plt. - (elf32_arm_create_dynamic_sections): New function. Create the - .plt.thumb section. - (elf_backend_create_dynamic_sections): Call it. - -2002-07-31 Nick Clifton - - * bfd.c (bfd_alt_mach_code): Rename parameter 'index' to - 'alternative' in order to avoid shadowing global symbol of the - same name. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - -2002-07-31 Thiemo Seufer - - * Makefile.am: Add n32 ABI support. - * Makefile.in: Regenerate. - * config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64 - bit vectors for mips*-*-linux targets as optional. - * configure.in: Add n32 ABI vectors. - * configure: Regenerate. - * elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files. - * elfn32-mips.c: New file, n32 ABI support. - * targets.c: Add n32 ABI vectors. - -2002-07-30 Graeme Peterson - - * elfarmqnx-nabi.c: New file: Support for QNX. - * config.bfd: Add support for arm-*-nto target. - * configure.in: Add support for bfd_elf32_{big|little}armqnx_vec. - * configure: Regenerate. - * Makefile.am: Add entries for elfarmqnx-nabi.c. - * Makefile.in: Regenerate. - * elf32-arm.h (ELF_MAXPAGESIZE): Do not define if already defined. - Do not define global function if ELFARM_NABI_C_INCLUDED is defined. - * elfarm-nabi.c: Do not include elf32-arm.h if - ELFARM_NABI_C_INCLUDED is defined. - * targets.c: Add bfd_elf32_{big|little}armqnx_vec. - -2002-07-30 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2002-07-30 Jakub Jelinek - - * elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type. - -2002-07-30 Alan Modra - - * aoutx.h (some_aout_object_p): Clean up tdata properly on error. - * archive.c (bfd_generic_archive_p): Likewise. - * coff-rs6000.c (_bfd_xcoff_archive_p): Likewise. - (_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol. - * coff64-rs6000.c (xcoff64_slurp_armap): Likewise. - (xcoff64_archive_p): Likewise. - (xcoff64_openr_next_archived_file): Likewise. - (xcoff64_archive_p): Clean up tdata properly on error. - * coffgen.c (coff_real_object_p): Likewise. - (coff_object_p): Release filehdr and opthdr. - * ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error. - * ieee.c (ieee_archive_p): Likewise. - * ihex.c (ihex_object_p): Likewise. - (ihex_mkobject): Always allocate tdata. - * peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error. - * srec.c (srec_mkobject): Always allocate tdata. - (srec_object_p): Clean up tdata properly on error. - (symbolsrec_object_p): Likewise. - * versados.c (versados_object_p): Likewise. - * vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc, - and bfd_realloc instead of realloc. - (add_new_contents): Use bfd_alloc instead of bfd_malloc for sections. - * vms.c (vms_initialize): Always allocate tdata. Use bfd_alloc in - place of bfd_malloc, simplifying error freeing. Free hash table too. - (vms_object_p): Clean up tdata on error. - (vms_mkobject): Don't complain on stderr if vms_initialize fails. - (vms_close_and_cleanup): Adjust for bfd_alloc use. - -2002-07-30 Alan Modra - - * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags. - -2002-07-26 Chris Demetriou - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE - flags into resulting BFD. - -2002-07-26 Alan Modra - - From John Reiser - * elf32-i386.c (elf_i386_link_hash_table_create): Clear - tls_ldm_got.refcount. - -2002-07-25 Thiemo Seufer - - * elf64-mips.c: Update TODO comment. - (mips_elf64_higher_reloc,mips_elf64_highest_reloc, - mips_elf64_gprel16_reloca): Remove prototypes. - (mips16_jump_reloc,mips16_gprel_reloc): Add functions. - (UNUSED_RELOC): Replace by EMPTY_RELOC. - (mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove - wrong comments. Remove disfunctional support of R_MIPS_HIGHER and - R_MIPS_HIGHEST. - (mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and - R_MIPS_GOT16. Remove wrong comments. - (elf_mips16_jump_howto,elf_mips16_gprel_howto, - elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code - from elf32-mips.c. - (mips_elf64_hi16_reloc): Fix formatting. - (mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove. - (mips_elf64_got16_reloc): Fix formatting. Remove superfluous code. - Better comment. Fall back to R_MIPS_GOT_DISP instead of abort(). - (mips_elf64_gprel16_reloc): Make static. Add check for - partial_inplace. - (mips_elf64_gprel16_reloca): Remove. - (mips_elf64_literal_reloc): New function. - (mips_elf64_gprel32_reloc): Fix formatting. - (mips_elf64_shift6_reloc): Fix comment. Make static. - (mips16_jump_reloc,mips16_gprel_reloc): New functions, code from - elf32-mips.c. - (elf_reloc_map,mips_reloc_map): New mapping table, similiar as in - elf32-mips.c - (bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU - specific relocations. - (mips_elf64_rtype_to_howto): Enable GNU specific relocations. - (mips_elf64_object_p): Invert logic to check for SGI-ish ABI. - (ELF_MAXPAGESIZE): Add comment. - -2002-07-25 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-25 Alan Modra - - * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define - as elf_link_record_local_dynamic_symbol. - (_bfd_elf64_link_record_local_dynamic_symbol): Likewise. - (elf_link_record_local_dynamic_symbol): Declare. Now returns int. - * elflink.h (elf_link_record_local_dynamic_symbol): Move to.. - * elflink.c: .. here. Use bfd_elf_get_elf_syms. Check whether an - attempt is made to record a symbol in a discarded section, and - return `2' in that case. - -2002-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - -2002-07-23 Alan Modra - - * po/SRC-POTFILES.in: Regenerate. - - * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return - immediately. Remove code handling relocatable linking. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-fr30.c (elf32_frv_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf32-avr.c (elf_backend_rela_normal): Define. - * elf32-cris.c: Likewise. - * elf32-fr30.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-h8300.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-vax.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-sparc.c: Likewise. - * elf32-fr30.c (elf32_frv_relocate_section): Edit comment. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf-m10200.c (USE_RELA): Don't define. - * elf-m10300.c: Likewise. - * elfarm-oabi.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-vax.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elf32-avr.c (USE_REL): Don't undef. - * elf32-ip2k.c: Likewise. - -2002-07-23 Nick Clifton - - * elf-bfd.h (struct elf_backend_data): Add new bitfield - 'want_p_paddr_set_to_zero'. - * elfxx-target.h: Set default value for want_p_paddr_set_to_zero - to false; - * elfxx-ia64.c: Set want_p_paddr_set_zero for HPUX target. - * elf.c (copy_private_bfd_data): Test want_p_paddr_set_zero. - -2002-07-23 Gabor Keresztfalvi - - * nlmcode.h (nlm_swap_auxiliary_headers_out): Swapped the order of - the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM loaders to - show the Copyright string. - Minor formatting tidy ups. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - * po/sv.po: Updated Swedish translation. - -2002-07-23 Alan Modra - - * elflink.h (elf_link_input_bfd): Don't change internal symbols - when outputting relocs. - -2002-07-20 Jason Thorpe - - * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert - DT_PLTGOT into the dynamic section if there is a PLT. - -2002-07-19 Thiemo Seufer - - * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from - elf32-mips.c. - (_bfd_mips_elf_write_section): Likewise. - * elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype. - (_bfd_mips_elf_write_section): Likewise. - * elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c. - (elf32_mips_write_section): Likewise. - * elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it. - (_bfd_mips_elf_write_section): Likewise. - -2002-07-19 Alan Modra - - * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan - PT_IA_64_UNWIND segments for a given section. - -2002-07-17 H.J. Lu - - * Makefile.am: Fix a typo. - * Makefile.in: Regenerate. - -2002-07-15 Denis Chertykov - Frank Ch. Eigler - Ben Elliston - Alan Lehotsky - John Healy - Graham Stott - Jeff Johnston - - * Makefile.am: Add support for ip2k. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * archures.c: Add support for ip2k. - * config.bfd: Add support for ip2k. - * configure.in: Add support for ip2k. - * configure: Regenerate. - * reloc.c: Add support for ip2k. - * targets.c: Add support for ip2k. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * cpu-ip2k.c: New file. - * elf32-ip2k.c: New file. - -2002-07-17 Ian Rickards - - * dwarf2.c (concat_filename): If we can't establish the directory - just return the filename. - -2002-07-16 Moritz Jodeit - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args. - -2002-07-16 Alan Modra - - * elflink.h: Formatting fixes, tidy prototypes. - (elf_link_assign_sym_version): Move common code out of loop. - -2002-07-16 Alan Modra - - * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when - reloc section size is zero. Correct reloc output location. - -2002-07-16 John David Anglin - - * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as - the final type for the e_fsel selector when generating PA2.0W code. - (elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1 - relocations. - -2002-07-14 H.J. Lu - - * elflink.h (elf_link_assign_sym_version): Hide the default - definition if there is a hidden versioned definition. - -2002-07-12 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical - dynamic reference test in assertion when initializing GOT with - static contents. Just assert that there are either no dynamic - sections, the symbol is defined in the regular objects or that the - symbol is undef weak. Tweak comment. - (elf_cris_finish_dynamic_symbol): Emit .got reloc for a program - only if the symbol isn't defined in the program and isn't undef - weak. - (elf_cris_adjust_dynamic_symbol): Simplify condition for getting - rid of PLT entry: only do it if the symbol isn't defined in a DSO. - When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments. - (elf_cris_discard_excess_program_dynamics): Don't consider - ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs. - -2002-07-11 Alan Modra - - * elf32-i386.c (elf_i386_relocate_section): Don't complain about - unresolved debugging relocs in dynamic applications. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - -2002-07-10 Alan Modra - - * elf64-ppc.c (ONES): Define. - (ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in - missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill - in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32. - - * elf64-ppc.c (ppc64_elf_get_symbol_info): Delete. - (ppc64_elf_set_private_flags): Delete. - (ppc64_elf_section_from_shdr): Delete. - (ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code. - (ppc64_elf_fake_sections): Delete. - (bfd_elf64_bfd_set_private_flags): Don't define. - (bfd_elf64_get_symbol_info): Likewise. - (elf_backend_section_from_shdr): Likewise. - (elf_backend_fake_sections): Likewise. - -2002-07-10 Marco Walther - - * elf.c: (assign_section_numbers) Set sh_entsize for .stab only - when not already set. - * elf64-sparc.c: (sparc64_elf_fake_sections): New function. - (elf_backend_fake_sections): Define. - -2002-07-10 Alan Modra - - * merge.c (_bfd_merge_section): Remove redundant output_section check. - Formatting. - (_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections. - -2002-07-09 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_relocate_section): Move sanity-check for - NULL sym_hashes to just before use. - : In test for local symbol, accept also - symbol with non-default visibility. - : Ditto. - : - Ditto. - (cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for - symbol with non-default visibility. - (cris_elf_check_relocs): At tests for local symbol before - increasing h->plt.refcount, also check for non-default - visibility. Ditto when checking for local symbol to eliminate - pc-relative runtime relocs. - -2002-07-08 Alan Modra - - * elf.c: Formatting. - (IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks. - (INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP. - (copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP - segments. - -2002-07-07 Mark Mitchell - Alan Modra - - * cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into - account the impact of relocation count overflow when computing - section offsets. - * coffcode.h (coff_write_relocs): Use obj_pe when deciding whether - or not to apply the PE COFF reloc overflow handling. Fix a - fencepost error in deciding whether or not to use that technique. - -2002-07-07 Alan Modra - - * elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx, - change type of locsyms. - (bfd_elf_get_elf_syms): Declare. - * elf.c (bfd_elf_get_elf_syms): New function. - (group_signature): Use bfd_elf_get_elf_syms. - (bfd_section_from_r_symndx): Likewise. - * elfcode.h (elf_slurp_symbol_table): Likewise. - * elflink.h (elf_link_is_defined_archive_symbol): Likewise. - (elf_link_add_object_symbols): Likewise. Reorganise to increase - locality of various data structures. Properly free internal relocs. - (elf_bfd_final_link): Properly free internal relocs. - (elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms. - (elf_link_input_bfd): Likewise. - (elf_gc_mark): Likewise. Properly free internal relocs. - (elf_gc_sweep): Properly free internal relocs. - (elf_reloc_symbol_deleted_p): No need to swap syms in. - (elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free - internal relocs. - * elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms. - Properly free possibly cached info. - (mn10200_elf_relax_delete_bytes): Remove symbol swapping code. - (mn10200_elf_symbol_address_p): Pass in internal syms. Remove - symbol swapping code. - (mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms. - Properly free possibly cached info. - * elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c. - (mn10300_elf_relax_delete_bytes): Likewise. - (mn10300_elf_symbol_address_p): Likewise. - (mn10300_elf_get_relocated_section_contents): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c. - (elf32_h8_relax_delete_bytes): Likewise. - (elf32_h8_symbol_address_p): Likewise. - (elf32_h8_get_relocated_section_contents): Likewise. - * elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c. - (m32r_elf_relax_delete_bytes): Likewise. - (m32r_elf_get_relocated_section_contents): Likewise. - * elf32-sh.c (sh_elf_reloc_loop): Free section contents using - elf_section_data to determine whether cached. - (sh_elf_relax_section): As above for elf-m10200.c. - (sh_elf_relax_delete_bytes): Likewise. - (sh_elf_get_relocated_section_contents): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relax_section): As above. - * elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay - reading of local syms. - * elf64-mmix.c (mmix_elf_relax_section): Likewise. - * elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above. - * elfxx-ia64.c (elfNN_ia64_relax_section): As above. - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal - relocs. - * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly - free internal relocs and section contents. Don't read symbols. - * elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms. - (elf32_hppa_size_stubs): Don't free local syms. - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay - reading of local syms. Use bfd_elf_get_elf_syms. Properly free - possibly cached info. - * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. - * elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms. - * elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and - all_local_syms. - (get_local_syms): Delete function. - (edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache - on exit. - (ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit. - -2002-07-05 Jim Wilson - - * syms.c (decode_section_type): New. - (bfd_decode_symclass): Call decode_section_type. - -2002-07-04 Jakub Jelinek - - * merge.c (_bfd_merged_section_offset): Avoid accessing byte before - section content start. - Reported by Michael Schumacher . - -2002-07-04 Alan Modra - - * section.c (_bfd_strip_section_from_output): Remove unnecessary - link order code. Don't actually remove the output section here; - Just set a flag for the linker to do so. - * elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed - sections when setting up output section dynsyms. - -2002-07-04 Alan Modra - - * elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux - fudge. - * elf.c (bfd_section_from_shdr): Work around broken hpux shared - libs here instead. - -2002-07-02 Martin Schwidefsky - - * elf64-s390.c (create_got_section): Set .got section alignment to - 8 bytes. - (elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. - -2002-07-02 Alan Modra - - * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar. - -2002-07-01 Matt Thomas - - * elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* - to EF_VAX_*. - -2002-07-01 Thiemo Seufer - - * elfxx-mips.c (ABI_64_P): Fix comment. - (MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the - new section names for N64 ABI. - (mips_elf_output_extsym): No special _gp_disp handling for NewABI. - (mips_elf_calculate_relocation): Code formatting. - (mips_elf_create_dynamic_relocation): Likewise. - (_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too. - (_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI. - (_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64 - in any NewABI. - (_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling - for NewABI. - (_bfd_mips_elf_modify_segment_map): Handle any N64 ABI. - (_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled - here, too. - -2002-07-01 Andreas Schwab - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert - R_X86_64_64 to R_X86_64_RELATIVE. - -2002-07-01 John David Anglin - - * vaxbsd.c: New BFD backend for VAX BSD and Ultrix. - * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend. - Run "make dep-am". - * config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of - host_aout_vec. - * configure.in (vaxbsd_vec): Add. - * targets.c (vaxbsd_vec): Add. - * Makefile.in: Rebuild. - * configure: Rebuild. - * po/SRC-POTFILES.in: Rebuild. - -2002-07-01 Alan Modra - - * elflink.h (elf_gc_mark): Pass in the section whose relocs we are - examining to gc_mark_hook, rather than the bfd. - (elf_gc_sections): Adjust. - * elf-bfd.h (struct elf_backend_data ): Likewise. - * elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise. - * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. - * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. - * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. - * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. - * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. - * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. - * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. - * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. - * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. - * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. - * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. - * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. - * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. - * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. - * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. - * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. - * elf32-vax.c (elf_vax_gc_mark_hook): Likewise. - * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. - * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. - * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. - * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. - * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. - * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. - * elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise. - * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. - * elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove - redundant local sym tests. - * elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry. - (link_hash_newfunc): Init is_entry. - (ppc64_elf_copy_indirect_symbol): Copy is_entry. - (ppc64_elf_link_hash_table_create): Init all_local_syms. - (create_linkage_sections): Use bfd_make_section_anyway rather than - bfd_make_section. - (ppc64_elf_mark_entry_syms): New function. - (ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set - up opd entry to function section map. - (ppc64_elf_gc_mark_hook): Special case opd section relocs, and - relocs that reference the opd section. - (edit_opd): New function. - (ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd. - (ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here. - (get_local_syms): Do so here. Exit if we already have local syms. - Remove bogus comment imported from elf32-hppa.c. Don't attempt to - read local syms on non-ELF input. - (ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather - than duplicating it's function here. Adjust free of internal - relocs to suit. - (ppc64_elf_relocate_section): Adjust local syms in opd section. - * elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare. - * elf32-hppa.c (elf32_hppa_size_stubs): Call - _bfd_elf32_link_read_relocs rather than duplicating it's function - here. Adjust free of internal relocs to suit. - -2002-07-01 Andreas Jaeger - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations - are not allowed in shared libs code, enforce -fPIC. - -2002-06-29 Hans-Peter Nilsson - - * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and - trailing zero-sequences when there's previous left-over data. - -2002-06-27 John David Anglin - - * elf64-hppa.c (elf64_hppa_reloc_type_class): New function. - (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec - and opd_rel_sec in order for starting rela section. Check _raw_size. - (elf_backend_reloc_type_class): Define. - -2002-06-27 Kevin Buettner - - * dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit - DWARF2 formats. - -2002-06-27 Alan Modra - - * cpu-powerpc.c: Comment on ordering of arch_info. - * elf32-ppc.c (ppc_elf_object_p): New function. - (elf_backend_object_p): Define. - * elf64-ppc.c (ppc64_elf_object_p): New function. - (elf_backend_object_p): Define. - -2002-06-26 Jason Thorpe - - * configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo. - * configure: Regenerate. - -2002-06-25 Jason Eckhardt - - * dwarf2.c (decode_line_info): Check unit->addr_size - to read in the proper number of prologue bytes. - -2002-06-25 Nick Clifton - - * config.bfd (powerpc-*-aix5*): Only create a selvecs for - aix5coff64_vec if 64-bit bfd support has been enabled. - (powerpc64-*-aix5*): Only define if 64-bit bfd support has - been enabled. - - * targets.c (_bfd_target_vector[]): Only include - aix5coff64_vec if 64-bit bfd support has been enabled. - -2002-06-25 Alan Modra - - * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy. - * elf32-hppa.c (hppa_add_stub): Likewise. - * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. - * elflink.h (elf_add_default_symbol): Fix comment typo. - (elf_add_default_symbol): Replace strcpy and strncpy with memcpy. - (elf_link_add_object_symbols): Likewise. - (elf_link_assign_sym_version): Likewise. - * hash.c (bfd_hash_lookup): Likewise. - * linker.c (_bfd_generic_link_add_one_symbol): Likewise. - * section.c (bfd_get_unique_section_name): Likewise. - * syms.c (_bfd_stab_section_find_nearest_line): Likewise. - * elf.c (_bfd_elf_make_section_from_phdr): Likewise. - (assign_section_numbers): Likewise. - (_bfd_elfcore_make_pseudosection): Likewise. - (elfcore_grok_lwpstatus): Likewise. - (elfcore_grok_win32pstatus): Likewise. - (elfcore_write_note): Constify input params. Use PTR instead of - void *. Include terminating NUL in namesz. Correct padding. - Support NULL "name" param. Use memcpy instead of strcpy. - (elfcore_write_prpsinfo): Constify input params. - (elfcore_write_prstatus): Likewise. Use PTR instead of void *. - (elfcore_write_lwpstatus): Likewise. - (elfcore_write_pstatus): Likewise. - (elfcore_write_prfpreg): Likewise. - (elfcore_write_prxfpreg): Likewise. - * elf-bfd.h (elfcore_write_note): Update declaration. - (elfcore_write_prpsinfo): Likewise. - (elfcore_write_prstatus): Likewise. - (elfcore_write_pstatus): Likewise. - (elfcore_write_prfpreg): Likewise. - (elfcore_write_prxfpreg): Likewise. - (elfcore_write_lwpstatus): Likewise. - -2002-06-25 Jason Eckhardt - - * ecoff.c (ecoff_set_symbol_info): Set BSF_FUNCTION for - symbols of type stProc and stStaticProc. - -2002-06-25 Nick Clifton - - * ecoff.c: VArious formatting fixes. - -2002-06-25 Alan Modra - - * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. - -2002-06-25 Alan Modra - - * aout-adobe.c: Don't compare against "true" or "false. - * aout-target.h: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * bout.c: Likewise. - * cache.c: Likewise. - * coff-a29k.c: Likewise. - * coff-alpha.c: Likewise. - * coff-i386.c: Likewise. - * coff-mips.c: Likewise. - * coff-or32.c: Likewise. - * coff64-rs6000.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cpu-ns32k.c: Likewise. - * ecoff.c: Likewise. - * ecofflink.c: Likewise. - * elf.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-cris.c: Likewise. - * elf32-d30v.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-v850.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-sh64.c: Likewise. - * elfcode.h: Likewise. - * elfcore.h: Likewise. - * elflink.h: Likewise. - * elfxx-mips.c: Likewise. - * i386os9k.c: Likewise. - * ieee.c: Likewise. - * libbfd.c: Likewise. - * linker.c: Likewise. - * mmo.c: Likewise. - * nlm32-alpha.c: Likewise. - * nlm32-i386.c: Likewise. - * nlm32-ppc.c: Likewise. - * nlm32-sparc.c: Likewise. - * nlmcode.h: Likewise. - * oasys.c: Likewise. - * pdp11.c: Likewise. - * peicode.h: Likewise. - * reloc.c: Likewise. - * som.c: Likewise. - * srec.c: Likewise. - * tekhex.c: Likewise. - * vms.c: Likewise. - * xcofflink.c: Likewise. - * elf64-sparc.c: Edit comment to not use "== false". - - * aoutf1.h: Don't use "? true : false". - * ecoff.c: Likewise. - * format.c: Likewise. - * ieee.c: Likewise. - * linker.c: Likewise. - * mmo.c: Likewise. - * oasys.c: Likewise. - -2002-06-23 H.J. Lu - - * elflink.h (elf_link_add_archive_symbols): For the default - version, check references with only one `@' first. - -2002-06-23 John David Anglin - - * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New - function. - (allocate_global_data_dlt): Don't add millicode symbols to dynamic - symbol table. - (allocate_global_data_opd, allocate_dynrel_entries): Likewise. - (elf64_hppa_size_dynamic_sections): Revise to use - elf64_hppa_mark_milli_and_exported_functions. - (elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode - symbols out of dynamic symbol table. - -2002-06-23 Alan Modra - - * Makefile.in: Regenerate. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - - * elflink.h: Comment typo fixes. - -2002-06-23 H.J. Lu - - * elf-bfd.h (elf_link_loaded_list): New structure. - (elf_link_hash_table): Add "loaded". - * elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded". - * elflink.h (elf_link_check_versioned_symbol): New function. - (elf_link_output_extsym): Call elf_link_check_versioned_symbol. - -2002-06-19 Nick Clifton - - * elflink.h (size_dynamic_sections): If the target does not - support an ELF style hash table, return true, indicating that - nothing needed to be done, rather than false, indicating that the - section's size could not be computed. - -2002-06-18 Dave Brolley - - From Catherine Moore, Michael Meissner, Dave Brolley: - * po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c - * targets.c: Support bfd_elf32_frv_vec. - * reloc.c: Add FRV relocs. - * configure.in: Add support for bfd-elf32-frv-vec. - * config.bfd (targ_cpu): Add support for frv-*-elf. - * archures.c: Add frv arch and machines. - * Makefile.am (ALL_MACHINES): Add cpu-frv.lo. - (ALL_MACHINES_CFILES): Add cpu-frv.c. - (BFD32_BACKENDS): Add elf32-frv.lo. - (BFD32_BACKENDS_CFILES): Add elf32-frv.c - (cpu-frv.lo): New target. - (elf32-frv.lo): New target. - * cpu-frv.c: New file. - * elf32-frv.c: New file. - -2002-06-18 Jakub Jelinek - - * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies - e_shnum == 0. - Only read the first section header if e_shoff is non-zero. - Don't consider e_shstrndx if there are no sections. - -2002-06-17 Tom Rix - - * elf32-d10v.c (elf_d10v_howto_table): Change R_D10V_10_PCREL_R, - R_D10V_10_PCREL_L and R_D10V_18_PCREL to use - complain_overflow_bitfield. - -2002-06-17 Alan Modra - - * opncls.c (bfd_openr): Remove redundant bfd_set_error. - (bfd_fdopenr): Likewise. - (bfd_openstreamr): Likewise. - (bfd_openw): Likewise. - - * targets.c: Sort target vecs. - (_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec, - bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec, - bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec, - bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec. - * configure.in: Sort target vecs. Add m88kmach3_vec. - * configure: Regenerate. - -2002-06-16 Hans-Peter Nilsson - - * elf64-mmix.c (bpo_reloc_request_sort_fn): Use member - bpo_reloc_no to break sort order ties, not address of items. - -2002-06-16 John David Anglin - - * elf-hppa.h (elf_hppa_final_link): Fix formatting in comment. - Skip excluded sections in determing __gp value. - (elf_hppa_final_link_relocate): Use the symbol's address in - R_PARISC_FPTR64 relocations that don't need an opd entry. - * elf64-hppa.c (allocate_dynrel_entries): Simplify code. - (elf64_hppa_finalize_dynreloc): Likewise. - (elf64_hppa_size_dynamic_sections): Move comments and fix typo. - (elf64_hppa_finish_dynamic_symbol): Break up assert. - -2002-06-14 Sergey Grigoriev - - * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte - alignment for .bss, .data and .text sections so that sse and sse2 - code will work. - * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2002-06013 J"orn Rennecke - - config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, - sh[1234]*-elf*. - -2002-06-12 John David Anglin - - * elflink.h (elf_bfd_final_link): Improve error handling for missing - dynamic sections. - - * elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry - for a symbol that has no output section. - (allocate_dynrel_entries): Correct comment. - (elf64_hppa_finalize_dynreloc): Likewise. Don't create an opd entry - unless we want one. - (elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL. - (elf64_hppa_finalize_dlt): Likewise. Prevent segfault for symbols - with no section. Remove unnecessary parentheses. - -2002-06-11 Tom Rix - - * coffcode.h (coff_compute_section_file_positions): Add data - section to AIX loader alignment check. - - * coff-rs6000.c (_bfd_xcoff_mkobject): Set default text section - alignment to 4 bytes. - (_bfd_xcoff_copy_private_bfd_data): Use text and data alignment - power accessor macro. - (do_shared_object_padding): Remove invalid assertion. - -2002-06-10 Richard Sandiford - - * section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE - for removed output sections. - -2002-06-10 Geoffrey Keating - - * merge.c (merge_strings): Use htab_create_alloc with calloc, not - htab_alloc. - * elf-strtab.c (_bfd_elf_strtab_finalize): Likewise. - -2002-06-08 H.J. Lu - - * elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to - work around a long long bug in gcc 2.96 on mips. - -2002-06-08 Jason Thorpe - - * Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo. - (BFD32_BACKENDS_CFILES): Add vax1knetbsd.c. - Regenerate dependency lists. - * Makefile.in: Regenerate. - * config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add - vax1knetbsd_vec to targ_selvecs. - * configure.in: Add vax1knetbsd_vec. - * configure: Regenerate. - * targets.c (_bfd_target_vector): Add vax1knetbsd_vec. - * vax1knetbsd.c: New file. - * vaxnetbsd.c: Update copyright years. - (TARGET_PAGE_SIZE): Set to 0x1000. - (DEFAULT_MID): Set to M_VAX4K_NETBSD. - -2002-06-08 Matt Thomas - - * libaout.h (enum machine_type): Add M_VAX4K_NETBSD. - -2002-06-08 Alan Modra - - * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static. - -2002-06-08 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * armnetbsd.c: Replace CONST with const. - * corefile.c: Likewise. - * elf32-dlx.c: Likewise. - * elf64-mips.c: Likewise. - * mmo.c: Likewise. - * ns32knetbsd.c: Likewise. - - * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash - table is elf64-sparc. - -2002-06-08 Thiemo Seufer - - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code. - Fix RELA addends to get not shifted in the result. Don't do special - handling of R_MIPS_64 for NewABI. - -2002-06-07 Alan Modra - - * aoutx.h (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. - (NAME(aout,slurp_reloc_table)): Likewise. - * coff-mips.c (mips_relax_section): Use bfd_zalloc. - * coff-rs6000.c (xcoff_write_armap_big): Use bfd_zmalloc. - (xcoff_write_archive_contents_big): Likewise. - (xcoff_generate_rtinit): Likewise. - (xcoff_generate_rtinit): Likewise, and check error return. - * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. - * coffgen.c (coff_section_symbol): Use bfd_zalloc. - (coff_get_normalized_symtab): Likewise. - (coff_make_empty_symbol): Likewise. - (bfd_coff_set_symbol_class): Likewise. - * cofflink.c (coff_link_add_symbols): Likewise. - * ecoff.c (_bfd_ecoff_make_empty_symbol): Likewise. - * ecofflink.c (ecoff_write_shuffle): Use bfd_zmalloc. - (bfd_ecoff_write_accumulated_debug): Likewise. - * elf64-alpha.c (get_got_entry): Use bfd_zalloc. - * i386linux.c (bfd_i386linux_size_dynamic_sections): Likewise. - * i386lynx.c (NAME(lynx,slurp_reloc_table)): Use bfd_zmalloc. - * ieee.c (do_with_relocs): Use bfd_zalloc. - * m68klinux.c (bfd_m68klinux_size_dynamic_sections): Likewise. - * pdp11.c (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. - (NAME(aout,slurp_reloc_table)): Likewise. - (NAME(aout,squirt_out_relocs)): Don't memset when zalloc'd. - * reloc16.c (bfd_coff_reloc16_relax_section): Use bfd_zmalloc. - * som.c (som_build_and_write_symbol_table): Likewise. - (som_slurp_string_table): Likewise. - (som_slurp_symbol_table): Likewise. - (som_bfd_ar_write_symbol_stuff): Likewise. - * sparclinux.c (bfd_sparclinux_size_dynamic_sections): Use bfd_zalloc. - * sunos.c (bfd_sunos_size_dynamic_sections): Likewise. - * tekhex.c (find_chunk): Likewise. Get rid of unused "sname". - * vms-gsd.c (_bfd_vms_slurp_gsd): Use bfd_zmalloc. - * xcofflink.c (xcoff_link_add_symbols): Use bfd_zalloc/bfd_zmalloc. - -2002-06-07 Alan Modra - - * elf-bfd.h (struct bfd_elf_section_data ): Replace with - "group" union. - (elf_group_name): Update. - (elf_group_id): Define. - (bfd_elf_set_group_contents): Declare. - * elf.c (elf_fake_sections): Qualify use of elf_group_name. - (set_group_contents): Rename to bfd_elf_set_group_contents. Remove - ATTRIBUTE_UNUSED from failedptrarg. If elf_group_id is set, use - that sym for the signature. - (_bfd_elf_compute_section_file_positions): Don't call - set_group_contents for "ld -r" case. - (swap_out_syms): Use bfd_zalloc. - * elflink.h (elf_link_add_archive_symbols): Likewise. - (NAME(bfd_elf,size_dynamic_sections)): Likewise. - (elf_bfd_final_link): Call bfd_elf_set_group_contents. - -2002-06-07 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved - relocs in opd for non-shared too. - -2002-06-06 Jeffrey Law - - * elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting - relocations. - -2002-06-06 Nick Clifton - - * merge.c: Include libiberty.h. - * elf-strtab.c: Include libiberty.h. - -2002-06-06 Elias Athanasopoulos - - * peXXigen.c (pe_print_idata): Remove unused variable. - -2002-06-06 David Heine - - * elf.c (assign_file_positions_for_segments): Remove unallocated - sections from the section to segment mapping for PT_LOAD segments. - Update comment about empty loadable segments. - -2002-06-06 Richard Sandiford - - * stabs.c (_bfd_link_section_stabs): Check that the symbol offset - is within the .stabstr section. - -2002-06-06 Alan Modra - - * elf-bfd.h (struct elf_size_info ): Function args - are "const PTR", not "const PTR *". - (bfd_elf32_swap_symbol_in): Likewise. - (bfd_elf64_swap_symbol_in): Likewise. - * elfcode.h (elf_swap_symbol_in): Change input args to const PTR. - (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. - * elflink.h (elf_link_is_defined_archive_symbol): Likewise. - (elf_link_add_object_symbols): Likewise. - (elf_link_record_local_dynamic_symbol): Likewise. - (elf_link_input_bfd): Likewise. - (elf_gc_mark): Likewise. - (elf_reloc_symbol_deleted_p): Likewise. - * elf-m10200.c (mn10200_elf_relax_section): Likewise. - (mn10200_elf_relax_delete_bytes): Likewise. - (mn10200_elf_symbol_address_p): Likewise. - (mn10200_elf_get_relocated_section_contents): Likewise. - * elf-m10300.c (mn10300_elf_relax_section): Likewise. - (mn10300_elf_relax_section): Likewise. - (mn10300_elf_relax_delete_bytes): Likewise. - (mn10300_elf_symbol_address_p): Likewise. - (mn10300_elf_get_relocated_section_contents): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): Likewise. - (elf32_h8_relax_delete_bytes): Likewise. - (elf32_h8_symbol_address_p): Likewise. - (elf32_h8_get_relocated_section_contents): Likewise. - * elf32-hppa.c (get_local_syms): Likewise. - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. - * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. - * elf32-sh.c (sh_elf_relax_section): Likewise. - (sh_elf_relax_delete_bytes): Likewise. - (sh_elf_get_relocated_section_contents): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. - * elf64-alpha.c (elf64_alpha_relax_section): Likewise. - * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_relax_section): Likewise. - * elf64-ppc.c (get_local_syms): Likewise. - * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - -2002-06-05 J"orn Rennecke - - * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. - -2002-06-05 Alan Modra - - * elf.c (group_signature): Swap in the whole symbol, and handle - extracting section symbol names. - (setup_group): Add comment. - (set_group_contents): When called from objcopy or ld, arrange for - section contents to be written. Write group member output section - indices to allow objcopy to reorganize sections. - (_bfd_elf_copy_private_section_data): Copy group info. - - * elf-bfd.h (struct elf_size_info): Add swap_symbol_in field. - (bfd_elf32_swap_symbol_in): Update prototype. - (bfd_elf64_swap_symbol_in): Likewise. - * elfcode.h (elf_swap_symbol_in): Change input args to const PTR *. - (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. - * elflink.h (elf_link_is_defined_archive_symbol): Likewise. - (elf_link_add_object_symbols): Likewise. - (elf_link_record_local_dynamic_symbol): Likewise. - (elf_link_input_bfd): Likewise. - (elf_gc_mark): Likewise. - (elf_reloc_symbol_deleted_p): Likewise. - * elf-m10200.c (mn10200_elf_relax_section): Likewise. - (mn10200_elf_relax_delete_bytes): Likewise. - (mn10200_elf_symbol_address_p): Likewise. - (mn10200_elf_get_relocated_section_contents): Likewise. - * elf-m10300.c (mn10300_elf_relax_section): Likewise. - (mn10300_elf_relax_section): Likewise. - (mn10300_elf_relax_delete_bytes): Likewise. - (mn10300_elf_symbol_address_p): Likewise. - (mn10300_elf_get_relocated_section_contents): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): Likewise. - (elf32_h8_relax_delete_bytes): Likewise. - (elf32_h8_symbol_address_p): Likewise. - (elf32_h8_get_relocated_section_contents): Likewise. - * elf32-hppa.c (get_local_syms): Likewise. - * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. - * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. - * elf32-sh.c (sh_elf_relax_section): Likewise. - (sh_elf_relax_delete_bytes): Likewise. - (sh_elf_get_relocated_section_contents): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. - * elf64-alpha.c (elf64_alpha_relax_section): Likewise. - * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_relax_section): Likewise. - * elf64-ppc.c (get_local_syms): Likewise. - * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - * elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser. - * elf64-alpha.c (alpha_elf_size_info): Likewise. - * elf64-hppa.c (hppa64_elf_size_info): Likewise. - * elf64-mips.c (mips_elf64_size_info): Likewise. - * elf64-s390.c (s390_elf64_size_info): Likewise. - * elf64-sparc.c (sparc64_elf_size_info): Likewise. - -2002-06-05 Maciej W. Rozycki - - * elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to... - elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here. - elf64-mips.c (elf_backend_ignore_discarded_relocs): Use - _bfd_mips_elf_ignore_discarded_relocs. - elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare. - -2002-06-05 H.J. Lu - - * elfxx-mips.c (mips_elf_calculate_relocation): Call - _bfd_elf_rel_local_sym for STT_SECTION relocations against - the SEC_MERGE section. - -2002-06-05 Alan Modra - - * coff-alpha.c: Update copyright date. - * coff-mips.c: Likewise. - * xcoff-target.h: Likewise. - - * bfd-in.h: Remove "taken from the source" comment. - * libbfd-in.h: Likewise. - * libcoff-in.h: Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - - * elf.c (bfd_elf_discard_group): Return true. - * elf-bfd.h (bfd_elf_discard_group): Declare. - * bfd-in.h (bfd_elf_discard_group): Don't declare here. - * section.c (bfd_discard_group): Rename to bfd_generic_discard_group. - * bfd.c (bfd_discard_group): Define. - * targets.c (struct bfd_target): Add _bfd_discard_group. - (BFD_JUMP_TABLE_LINK): Here too. - * libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. - * aout-adobe.c (aout_32_bfd_discard_group): Define. - * aout-target.h (MY_bfd_discard_group): Define. - * aout-tic30.c (MY_bfd_discard_group): Define. - * binary.c (binary_bfd_discard_group): Define. - * bout.c (b_out_bfd_discard_group): Define. - * coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. - * coffcode.h (coff_bfd_discard_group): Define. - * coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. - * elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. - * i386msdos.c (msdos_bfd_discard_group): Define. - * i386os9k.c (os9k_bfd_discard_group): Define. - * ieee.c (ieee_bfd_discard_group): Define. - * ihex.c (ihex_bfd_discard_group): Define. - * mmo.c (mmo_bfd_discard_group): Define. - * nlm-target.h (nlm_bfd_discard_group): Define. - * oasys.c (oasys_bfd_discard_group): Define. - * ppcboot.c (ppcboot_bfd_discard_group): Define. - * som.c (som_bfd_discard_group): Define. - * srec.c (srec_bfd_discard_group): Define. - * tekhex.c (tekhex_bfd_discard_group): Define. - * versados.c (versados_bfd_discard_group): Define. - * vms.c (vms_bfd_discard_group): Define. - * xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. - * coff64-rs6000.c (rs6000coff64_vec): Update initialiser. - (aix5coff64_vec): Likewise. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. - -2002-06-04 Jason Thorpe - - * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo. - (BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c. - (elf32-sh64-com.lo): New dependency list. - * Makefile.in: Regenerate. - * configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec) - (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add - elf32-sh64-com.lo. - * configure: Regenerate. - * elf32-sh64.c (sh64_address_in_cranges) - (sh64_get_contents_type, sh64_address_is_shmedia): Move to... - (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb): - (crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to... - * elf32-sh64-com.c: ...here. New file. - -2002-06-04 Alan Modra - - * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove - ATTRIBUTE_UNUSED on used params. - * elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks - before calling bfd_section_from_elf_index on local syms. - * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. - -2002-06-04 Jason Thorpe - - * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. - (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. - (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. - (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. - (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. - * Makefile.in: Regenerate. - * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) - (sh64-*-netbsd*): New targets. - * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, - bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. - * configure: Regenerate. - * elf32-sh64-nbsd.c: New file. - * elf64-sh64-nbsd.c: New file. - * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, - bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and - bfd_elf64_sh64lnbsd_vec. - -2002-06-04 Alan Modra - - * elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups. - (bfd_section_from_shdr): Likewise. Set section name of group - sections from signature. - (group_signature): Split out from setup_group. Ensure symbol table - is available. - (bfd_elf_discard_group): New function. - (_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on - .gnu.linkonce* sections if they are members of a group. - (set_group_contents): Set GRP_COMDAT flag. - * section.c (bfd_discard_group): New function. - * bfd-in.h (bfd_elf_discard_group): Declare. - * bfd-in2.h: Regenerate. - * elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field. - (elf_linkonce_p): Define. - -2002-06-04 Alan Modra - - * elf.c (bfd_section_from_shdr): Make "name" const. - * elf-bfd.h (elf_backend_section_from_shdr): Likewise. - * elf32-i370.c (i370_elf_section_from_shdr): Likewise. - * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. - * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. - * elf32-v850.c (v850_elf_section_from_shdr): Likewise. - * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. - * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. - * elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. - * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. - * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. - * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. - -2002-06-03 Maciej W. Rozycki - - * elfxx-mips.c (ABI_64_P): Use backend's data to determine the - ABI. - -2002-06-02 Kazu Hirata - - * elf32-arc.c: Fix formatting. - * elf32-arm.h: Likewise. - * elf32-cris.c: Likewise. - * elf32-dlx.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-i386qnx.c: Likewise. - * elf32-or32.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xstormy16.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-mmix.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-x86-64.c: Likewise. - -2002-06-02 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference - null when there are no got entries for a symbol. - (elf64_alpha_relax_find_tls_segment): Rearrange to avoid - uninitialized variable warning. - -2002-06-01 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for - undefined symbols here. - (elf64_alpha_relax_section): Do it here. Also test for not - defined in the current module. - (elf64_alpha_relocate_section_r): Split out of ... - (elf64_alpha_relocate_section): ... here. Don't dereference - NULL when looking up local got entries. - -2002-06-01 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined - symbols from JSR relaxation. - (elf64_alpha_size_plt_section_1): New. - (elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ... - (elf64_alpha_size_rela_got_1): ... here. - (elf64_alpha_size_dynamic_sections): Split out .rela.got bits ... - (elf64_alpha_size_rela_got_section): ... here. - (elf64_alpha_size_plt_section): New. - (elf64_alpha_relax_section): Call them. - (elf64_alpha_size_got_sections): Remove output_bfd arg. - (elf64_alpha_finish_dynamic_symbol): Check gotent use_count. - -2002-06-01 Richard Henderson - - * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New. - (elf64_alpha_relocate_section): Use them. Reject LE TLS relocs - in shared libraries. Fix DTPRELHI and TPRELHI value. - (INSN_ADDQ, INSN_RDUNIQ): New. - (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent. - (elf64_alpha_relax_with_lituse): Return boolean. Remove irelend - argument. Reject dynamic symbols. Use LITUSE symbolic constants. - (elf64_alpha_relax_got_load): Rename from relax_without_lituse. - Handle GOTDTPREL and GOTTPREL relocations. - (elf64_alpha_relax_gprelhilo): New. - (elf64_alpha_relax_tls_get_addr): New. - (elf64_alpha_relax_find_tls_segment): New. - (elf64_alpha_relax_section): Handle TLS relocations. - (ALPHA_ELF_LINK_HASH_TLS_IE): New. - (elf64_alpha_check_relocs): Set it. - -2002-06-01 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp. - - * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic - check; don't suppress dynamic relocs for non-allocated sections. - - * elf64-alpha.c: Remove dead code. - -2002-05-31 Alan Modra - - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - - * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate - space for bss .plt. - -2002-05-31 Graeme Peterson - - * Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo. - (BFD32_BACKENDS_CFILES): Add elf32-i386qnx.c. - Run "make dep-am". - * Makefile.in: Regenerate. - * config.bfd: Add i[3456]86-*-nto-qnx* support. - * configure.in: Add bfd_elf32_i386qnx_vec support. - * configure: Regenerate. - * elf-bfd.h (struct elf_backend_data): Add set_nonloadable_filepos, - is_contained_by_filepos, and copy_private_bfd_data_p. - * elf.c (assign_file_positions_for_segments): Call backend - set_nonloadable_filepos. Fix non-K&R call to _bfd_error_handler. - (IS_CONTAINED_BY_FILEPOS): Define. - (INCLUDE_SECTION_IN_SEGMENT): Also test IS_CONTAINED_BY_FILEPOS. - (copy_private_bfd_data): Use IS_CONTAINED_BY_FILEPOS. Typo fix. - Fix non-K&R call to _bfd_error_handler. - (_bfd_elf_copy_private_section_data): Use backend - copy_private_bfd_data_p. - * elf32-i386.c: Don't include elfxx-target.h when - ELF32_I386_C_INCLUDED is defined. - * elf32-i386qnx.c: New QNX elf backend file. - * elfxx-target.h: Add elf_backend_set_nonloadable_filepos, - elf_backend_is_contained_by_filepos, and - elf_backend_do_copy_private_bfd_data. - * targets.c: Add bfd_target bfd_elf32_i386qnx_vec. - -2002-05-31 Alan Modra - - * elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define. - Move other similar defines to start of file. - -2002-05-30 Tom Rix - - * coff-rs6000.c (xcoff_rtype2howto): Handle 16 bit R_RBA. - * coff64-rs6000.c (xcoff64_rtype2howto): Same. - -2002-05-30 Richard Henderson - - * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, - ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. - (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. - (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. - (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. - (struct alpha_elf_obj_tdata): Rename total_got_entries and - n_local_got_entries to total_got_size and local_got_size. - (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. - (alpha_got_entry_size): New. - (elf64_alpha_relax_with_lituse): Use it. - (elf64_alpha_relax_without_lituse): Likewise. - (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. - (get_got_entry): New. - (elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. - (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. - (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. - (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. - (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. - (elf64_alpha_calc_got_offsets): Likewise. - (alpha_dynamic_entries_for_reloc): New. - (elf64_alpha_calc_dynrel_sizes): Use it. - (elf64_alpha_size_dynamic_sections): Likewise. - (elf64_alpha_relocate_section): Handle TLS relocations. - * reloc.c: Add Alpha TLS relocations. - * bfd-in2.h, libbfd.h: Rebuild. - -2002-05-29 Ralf Habacker - - * peXXigen.c (pe_print_idata): Remove double printed - import table lines; add Bound-To comment. - -2002-05-29 Matt Thomas - - * Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo. - (BFD32_BACKENDS_CFILES): Add elf32-vax.c. - (elf32-vax.lo): New rule. - * Makefile.in: Regenerate. - * configure.in (bfd_elf32_vax_vec) - (vaxnetbsd_vec): New vectors. - * configure: Regenerate. - * config.bfd (vax-*-netbsdelf*) - (vax-*-netbsdaout*) - (vax-*-netbsd*): New targets. - * elf32-vax.c: New file. - * reloc.c: Add VAX relocations. - * bfd-in2.h: Regenerate. - * targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec. - -2002-05-29 Jason Thorpe - - * config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec - and bfd_elf32_bigarm_vec to targ_selvecs. - -2002-05-29 Ralf Habacker - - * peXXigen.c (pe_print_idata): Fix seg faults on printing import tables - with auto-imported symbols. - -2002-05-29 Adam Nemet - - * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Don't add glue - sections only record bfd. - (bfd_elf32_arm_add_glue_sections_to_bfd): New function. - * bfd-in.h (bfd_elf32_arm_add_glue_sections_to_bfd): Declare it. - * bfd-in2.h: Regenerate. - -2002-05-28 Nick Clifton - - * syms.c (_bfd_stab_section_find_nearest_line): Move - declaration and initialisation of saw_line and saw_func out of - for loop. - -2002-05-29 Alan Modra - - * elf64-ppc.c (ppc64_elf_get_symbol_info): New function. - (bfd_elf64_get_symbol_info): Define. - * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef. - -2002-05-29 Andrey Volkov - - * cpu-h8300.c: Make default h8300 machine first in machine list. - -2002-05-28 Kuang Hwa Lin - - * config.bfd: Added DLX configuraton. - * Makefile.am: Added DLX configuraton. - * configure.in: Added DLX configuraton. - * archures.c: Add DLX architecture. - * reloc.c: Add DLX relocs. - * targets.c: Added DLX target vector. - * configure: Regenerate. - * Makefile.in: Regenreate. - * bfd-in2.h: Regenreate. - * elf32-dlx.c: New file: Support DLX target. - * cpu-dlx.c: New file: Support DLX target. - -2002-05-25 Alan Modra - - * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting. - - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change. - (ppc64_elf_check_relocs): Don't set up function descriptor symbol - strings to point inside function code sym string. - (func_desc_adjust): Likewise. - (ppc64_elf_hide_symbol): Rewrite code to look up function code sym. - -2002-05-24 Michal Ludvig - - * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added. - (elf64_x86_64_grok_psinfo): Added. - -2002-05-24 TAMURA Kent - - * config.bfd: Add a target for i386-netbsdpe. - -2002-05-24 Alan Modra - - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func - and is_func_descriptor. - (func_desc_adjust): Hide function code sym in shared libs unless - there is a matching exported function descriptor sym. - -2002-05-23 Jakub Jelinek - - * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL - for symbols from SHF_TLS section. - (_bfd_elf_print_private_bfd_data): Add PT_TLS. - (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. - (map_sections_to_segments): Build PT_TLS segment if necessary. - (assign_file_positions_for_segments): Likewise. - (get_program_header_size): Account for PT_TLS segment. - (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from - SEC_THREAD_LOCAL sections to STT_TLS. - * reloc.c: Add 386 and IA-64 TLS relocs. - * section.c (SEC_THREAD_LOCAL): Define. - (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): - Remove. - * elflink.h (elf_link_add_object_symbols): Support .tcommon. - (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS - unconditionally. - (struct elf_final_link_info): Add first_tls_sec. - (elf_bfd_final_link): Set first_tls_sec. - Compute elf_hash_table (info)->tls_segment. - (elf_link_output_extsym): Handle STT_TLS symbols. - (elf_link_input_bfd): Likewise. - * syms.c (BSF_THREAD_LOCAL): Define. - * bfd-in2.h: Rebuilt. - * libbfd.h: Rebuilt. - * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, - elf_i386_mkobject, elf_i386_object_p): New functions. - (elf_howto_table): Add TLS relocs. - (elf_i386_reloc_type_lookup): Support TLS relocs. - (elf_i386_info_to_howto_rel): Likewise. - (struct elf_i386_link_hash_entry): Add tls_type. - (struct elf_i386_obj_tdata): New. - (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): - New macros. - (struct elf_i386_link_hash_table): Add tls_ldm_got. - (link_hash_newfunc): Clear tls_type. - (elf_i386_check_relocs): Support TLS relocs. - (elf_i386_gc_sweep_hook): Likewise. - (allocate_dynrelocs): Likewise. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_finish_dynamic_symbol): Likewise. - (bfd_elf32_mkobject, elf_backend_object_p): Define. - * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, - dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, - want_tprel, want_dtpmod, want_dtprel. - (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. - (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to - R_IA64_LTOFF_TPREL22. - (elf_code_to_howto_index): Add TLS relocs. - (elfNN_ia64_check_relocs): Support TLS relocs. - (allocate_global_data_got): Account for TLS .got data. - (allocate_dynrel_entries): Account for TLS dynamic relocations. - (elfNN_ia64_install_value): Supprt TLS relocs. - (set_got_entry): Support TLS relocs. - (elfNN_ia64_relocate_section): Likewise. - -2002-05-23 Nick Clifton - - * elf32-arm.h (elf32_arm_final_link_relocate): For the Thumb - BLX reloc round the relocation up rather than down. - * coff-arm.c (coff_arm_relocate_section): Likewise. - -2002-05-21 H.J. Lu (hjl@gnu.org) - - * linker.c (_bfd_generic_link_add_one_symbol): Allow multiple - definition. - -2002-05-22 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. - (ppc64_elf_relocate_section): Handle unresolved relocs in opd. - -2002-05-22 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Return false for - unresolved relocs. - (ppc64_elf_size_dynamic_sections): Check for splt NULL. - -2002-05-21 Thiemo Seufer - - * bfd.c (bfd_get_arch_size): Remove bfd_set_error call for - non-ELF targets. - -2002-05-21 Thiemo Seufer - - * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return - an error value. - * elflink.h (elf_link_output_relocs): Likewise. Improve error message. - return with false on error. - (elf_link_input_bfd): Check reloc_emitter return value. - -2002-05-21 Jason Thorpe - - * config.bfd (armeb-*-netbsdelf*): New target. - -2002-05-20 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Point undefined function syms - at the plt call stub. - -2002-05-19 Thiemo Seufer - - * cpu-mips.c (mips_compatible): Don't try to check machine - compatibility. - -2002-05-18 Tom Rix - - * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. - -2002-05-17 Alan Modra - - * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. - (ppc64_elf_relocate_section): Don't warn about reloc overflow when - we've already warned about an undefined symbol. Report more - detail on reloc errors. - -2002-05-17 Alan Modra - - * acinclude.m4 (AM_INSTALL_LIBBFD): New. - * configure.in: Invoke AM_INSTALL_LIBBFD. - * Makefile.am (install-data-local): Revert 2002-05-13. Move to.. - (install_libbfd): .. New target. - (uninstall_libbfd): Likewise. - (install-bfdlibLTLIBRARIES): Likewise. - (uninstall-bfdlibLTLIBRARIES): Likewise. - (bfdlibdir): New. - (bfdincludedir): New. - (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2002-05-17 Stuart Balfour - - * hash.c (bfd_hash_lookup): Remove computation of len from inside - hash loop. - -2002-05-16 Nick Clifton - - * config.bfd: Add targets for sh64-linux (little endian and - big endian). - -2002-05-15 Laurent Pinchart - - * peXXigen.c (pe_print_idata): Do not assume that the first thunk - is located in the same section as the import table. Instead - check, and if necessary load the section containing the thunk. - -2002-05-15 Nick Clifton - - * aix5ppc-core.c (xcoff64_core_p): Replace bfd_read with - bfd_bread. - (xcoff64_core_file_matches_executable_p): Replace bfd_read - with bfd_bread. - -2002-05-15 Alan Modra - - * aix5ppc-core.c: Warning fixes. - * aout-adobe.c (aout_32_bfd_link_just_syms): Define. - * aout-target.h (MY_bfd_link_just_syms): Define. - * aout-tic30.c (MY_bfd_link_just_syms): Define. - * bfd.c (bfd_link_just_syms): Define. - * binary.c (binary_bfd_link_just_syms): Define. - * bout.c (b_out_bfd_link_just_syms): Define. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update initializer. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. - * coffcode.h (coff_bfd_link_just_syms): Define. - * elf-bfd.h (enum elf_link_info_type): Add ELF_INFO_TYPE_JUST_SYMS. - (elf_discarded_section): Check for ELF_INFO_TYPE_JUST_SYMS. - (_bfd_elf_link_just_syms): Declare. - * elf.c (_bfd_elf_link_just_syms): New function. - * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Check that - sections haven't already been discarded by the linker. - * elflink.h (elf_link_add_object_symbols): Likewise for stab - sections and SEC_MERGE sections. - (elf_bfd_discard_info): Similarly here. - * elfxx-target.h (bfd_elfNN_bfd_link_just_syms): Define. - * i386msdos.c (msdos_bfd_link_just_syms): Define. - * i386os9k.c (os9k_bfd_link_just_syms): Define. - * ieee.c (ieee_bfd_link_just_syms): Define. - * ihex.c (ihex_bfd_link_just_syms): Define. - * libbfd-in.h (_bfd_nolink_bfd_link_just_syms): Define. - (_bfd_generic_link_just_syms): Declare. - * libecoff.h (_bfd_ecoff_bfd_link_just_syms): Define. - * linker.c (_bfd_generic_link_just_syms): New function. - * mmo.c (mmo_bfd_link_just_syms): Define. - * nlm-target.h (nlm_bfd_link_just_syms): Define. - * oasys.c (oasys_bfd_link_just_syms): Define. - * ppcboot.c (ppcboot_bfd_link_just_syms): Define. - * som.c (som_bfd_link_just_syms): Define. - * srec.c (srec_bfd_link_just_syms): Define. - * targets.c (struct bfd_target): Add _bfd_link_just_syms. - (BFD_JUMP_TABLE_LINK): And here. - * tekhex.c (tekhex_bfd_link_just_syms): Define. - * versados.c (versados_bfd_link_just_syms): Define. - * vms.c (vms_bfd_link_just_syms): Define. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2002-05-15 Thiemo Seufer - - * elf32-mips.c: Remove superfluous definitions copied from - elfxx-mips.c. - (bfd_elf32_bigmips_vec,bfd_elf32_littlemips_vec): Use the - SGIish vectors to check the special case. - (mips_elf_hi16_reloc): Fix comment. - (mips_elf_got16_reloc): Likewise. - (_bfd_mips_elf32_gprel16_reloc): Likewise. - (elf_reloc_map): Code cleanup. - (mips_reloc_map): Add comment. - (bfd_elf23_bfd_reloc_type_lookup): Code cleanup. - (mips_elf32_rtype_to_howto): Likewise. - (mips_elf32_discard_info): Likewise. - (elf32_mips_irix_compat): Invert logic: Only SGIish vectors - lead to IRIX compatibility now. - -2002-05-15 Thiemo Seufer - - * elfxx-mips.c: Call it IRIX, not Irix in comments. - -2002-05-13 Jason Thorpe - - * config.bfd (shle-*-netbsdelf*): Add target which includes - sh64 support. - -2002-05-13 David Edelsohn - - * configure.in: Revert 2002-04-07. Instead, auto-configure - HAVE_ST_C_IMPL. - * configure: Regenerate. - * config.in: Regenerate. - * rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL - or AIX_5_CORE. - -2002-05-11 Federico G. Schwindt - - * configure.in (sparc*-*-openbsd*): Support sparc64-openbsd - corefiles as well.2 - * configure: Regenerate. - -2002-05-13 Alan Modra - - * Makefile.am (install-data-local): Install headers to - $(exec_prefix)/include. - * Makefile.in: Regenerate. - -2002-05-11 Ralf Corsepius - Daniel Jacobowitz - - * coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE. Don't - map BFD_RELOC_RVA. - -2002-05-11 Federico G. Schwindt - - * config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*, - hppa*-*-openbsd*): New targets. - * configure.in (alpha*-*-openbsd*): Set COREFILE. - * configure: Regenerate. - -2002-05-10 Tom Rix - - * coff64-rs6000.c (xcoff64_reloc_type_br): New function for - xcoff64_ppc_relocate_section. - * coff-rs6000.c : Extern common xcoff_reloc_type functions. - * libxcoff.h: Common xcoff_reloc_type function declaration. - -2002-05-10 Alan Modra - - * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks - added in 2002-05-09 commit. - - * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, - don't look for stubs on all undefined syms. - -2002-05-09 Alan Modra - - * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete. - (ppc64_elf_howto_raw ): Not pc_relative or - pcrel_offset. - - * elf32-i386.c (elf_howto_table): Comments. - (elf_i386_relocate_section): Handle more relocs for relocatable - linking and against SEC_MERGE sections. - -2002-05-08 Alan Modra - - * elf32-ppc.c (ppc_elf_create_got): New function. - (ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before - _bfd_elf_create_dynamic_sections. Correct .plt flags. - (ppc_elf_check_relocs): Use ppc_elf_create_got in place of - _bfd_elf_create_got_section. - -2002-05-07 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Add rela_normal. - * elfxx-target.h (elf_backend_rela_normal): Define. - (elfNN_bed): Init rela_normal. - * elflink.h (elf_link_input_bfd ): Handle adjustment - for section symbols here if rela_normal. Simplify abs section test. - * elf-m10200.c (mn10200_elf_relocate_section): If relocatable, - return immediately. Remove code handling relocatable linking. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf-m10200.c (elf_backend_rela_normal): Define. - * elf-m10300.c (elf_backend_rela_normal): Define. - * elf32-fr30.c (elf_backend_rela_normal): Define. - * elf32-i370.c (elf_backend_rela_normal): Define. - * elf32-i860.c (elf_backend_rela_normal): Define. - * elf32-m68k.c (elf_backend_rela_normal): Define. - * elf32-mcore.c (elf_backend_rela_normal): Define. - * elf32-openrisc.c (elf_backend_rela_normal): Define. - * elf32-ppc.c (elf_backend_rela_normal): Define. - * elf32-s390.c (elf_backend_rela_normal): Define. - * elf32-xstormy16.c (elf_backend_rela_normal): Define. - * elf64-ppc.c (elf_backend_rela_normal): Define. - * elf64-s390.c (elf_backend_rela_normal): Define. - * elf64-x86-64.c (elf_backend_rela_normal): Define. - * elfxx-ia64.c (elf_backend_rela_normal): Define. - * elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. - * elf32-m32r.c (elf_backend_rela_normal): Likewise. - -2002-05-06 Nick Clifton - - * elf32-arm.h (elf32_arm_final_link_relocate): Convert - 'reloc_signed_max' and 'reloc_signed_min' into half-word offsets. - -2002-05-06 Alan Modra - - * elflink.h (elf_link_input_bfd ): Adjust r_offset - when not relocatable. Fix reloc_emitter call for K&R. - -2002-05-04 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code - reloading local sym addend mistakenly removed in 2002-05-01 change. - - * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. - (read_abbrevs): Change "offset" param to bfd_vma. - (parse_comp_unit): Change "version" and addr_size to unsigned ints. - Change "abbrev_offset" to bfd_vma. - (read_indirect_string): Use correct conversion chars in error - message format string, cast bfd_vma's to unsigned long. - (read_abbrevs): Likewise. - (read_attribute_value): Likewise. - (decode_line_info): Likewise. - (scan_unit_for_functions): Likewise. - (parse_comp_unit): Likewise. - -2002-05-04 Tom Rix - - * coffswap.h (coff_swap_reloc_in): Remove XCOFF support. - (coff_swap_reloc_out): Same. - * coff-rs6000.c: (xcoff_swap_reloc_in): Moved from coffswap.h. - (xcoff_swap_reloc_out): Same. - (xcoff_rtype2howto): Renamed from _bfd_xcoff_rtype2howto. Special - case some 16 bit relocs. Add reloc value to output. - (xcoff_howto_table): Remove 64 bit R_POS, add 16 bit - R_RBR. Improve names. - (_bfd_xcoff_reloc_type_lookup): Adjust for removal of 64 bit R_POS. - (bfd_xcoff_backend_data): Update with new reloc swap names. - (bfd_pmac_xcoff_backend_data) : Same. - * coff64-rs6000.c: (xcoff64_swap_reloc_in): Moved from coffswap.h. - (xcoff64_swap_reloc_out): Same. - (xcoff64_rtype2howto): Special case some 16 bit relocs and 32 bit - R_POS. Add reloc value to output. - (xcoff64_howto_table): Move 64 bit R_POS to first entry. Add 16 - bit R_RBR. Improve names, masks. - (xcoff64_reloc_type_lookup): Adjust for move of 64 bit R_POS. - (bfd_xcoff_backend_data): Update with new reloc swap names. - (bfd_xcoff_aix5_backend_data) : Same. - -2002-05-04 Alan Modra - - * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add - bfd_count top_index, input_list, all_local_syms. - (elf32_hppa_setup_section_lists): New function, split from - elf32_hppa_size_stubs. - (elf32_hppa_next_input_section): Likewise. - (group_sections): Likewise. - (get_local_syms): Likewise. - (elf32_hppa_size_stubs): Adjust for split out functions. Look for - stubs on undefined syms too. - (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. - Only access htab elf fields when we have an elf hash table. - * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. - (elf32_hppa_next_input_section): Declare. - -2002-05-04 Bob Byrnes - - * opncls.c (_bfd_new_bfd_contained_in): Check return value of - _bfd_new_bfd. - -2002-05-03 H.J. Lu (hjl@gnu.org) - - * elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. - (mips_elf_link_hash_newfunc): Initialize forced_local to false. - (mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol - to hide a global symbol. - (_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set - forced_local to true. - -2002-05-02 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs - vs SHN_UNDEF to zero. - -2002-05-02 Alan Modra - - * elf64-ppc.c (ppc64_elf_howto_raw ): Change to a - 16 bit reloc. - : Likewise. - (ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to - SECTOFF reloc. - * elf32-ppc.c (ppc_elf_howto_raw ): Correct. - (ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to - SECTOFF reloc. - - * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. - (ppc64_elf_ha_reloc): New function. - (ppc64_elf_brtaken_reloc): New function. - (ppc64_elf_sectoff_reloc): New function. - (ppc64_elf_sectoff_ha_reloc): New function. - (ppc64_elf_toc_reloc): New function. - (ppc64_elf_toc_ha_reloc): New function. - (ppc64_elf_toc64_reloc): New function. - (ppc64_elf_unhandled_reloc): New function. - (ppc64_elf_howto_raw): Use the above. - : Mark pc_relative, pcrel_offset. - : Not pc_relative or pcrel_offset. Fix dst_mask. - : Likewise. - (IS_ABSOLUTE_RELOC): Update. - (struct ppc_link_hash_table): Add have_undefweak. - (ppc64_elf_link_hash_table_create): Init. - (func_desc_adjust): Set have_undefweak. - (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only - add the .sfpr blr when have_undefweak. - (ppc64_elf_setup_section_lists): Check hash table flavour. - (ppc64_elf_next_input_section): Move output_section->owner test to - ppc64elf.em. - (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param - and relocatable test. Return TOCstart and don't set elf_gp. - (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch - offset calculation. Add assert on weak sym branch tweaks. - * elf64-ppc.h (ppc64_elf_set_toc): Delete. - (ppc64_elf_toc): Declare. - (ppc64_elf_next_input_section): Update. - -2002-05-01 Alan Modra - - * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL - file_name. - -2002-05-01 Alan Modra - - * elf64-ppc.c (CROR_151515, CROR_313131): Define. - (ppc64_elf_relocate_section): Use them. Don't look for plt calls - on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt - call branches. Correct undefined weak destination. - (ppc64_elf_func_desc_adjust): Always create at least one blr in - .sfpr, and correct case where either only savef* or restf* is - needed. - - Long branch stubs, multiple stub sections. - * elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. - (ppc64_elf_next_input_section): Declare. - * elf64-ppc.c: Move linker-only prototypes. - (STUB_SUFFIX): Define. - (enum ppc_stub_type): New. - (struct ppc_stub_hash_entry): New. - (struct ppc_branch_hash_entry): New. - (struct ppc_link_hash_entry): Add stub_cache, oh. - (struct ppc_link_hash_table): Add stub_hash_table etc. Remove - sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. - Rename plt_overflow to stub_error. - (ppc_stub_hash_lookup): Define. - (ppc_branch_hash_lookup): Define. - (stub_hash_newfunc): New function. - (branch_hash_newfunc): New function. - (link_hash_newfunc): Init new fields. - (ppc64_elf_link_hash_table_create): Likewise. - (ppc64_elf_link_hash_table_free): New function. - (ppc_stub_name): New function. - (ppc_get_stub_entry): New function. - (ppc_add_stub): New function. - (create_linkage_sections): Use bfd_make_section_anyway. Create - .branch_lt and .rela.branch_lt sections. Don't create .stub. - (ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, - and set up for plt call stubs. Link func and func desc syms. - (ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. - (func_desc_adjust): Avoid hash lookup when func desc sym available - via shortcut, and set links when processing. - (ppc64_elf_hide_symbol): Likewise. - (allocate_dynrelocs): Don't allocate stub section here. - (ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. - Remove sstub code. - (ppc_type_of_stub): New function. - (build_one_stub): Delete. - (ppc_build_one_stub): New function. - (ppc_size_one_stub): New function. - (ppc64_elf_setup_section_lists): New function. - (ppc64_elf_next_input_section): New function. - (group_sections): New function. - (get_local_syms): New function. - (ppc64_elf_size_stubs): Rewrite. - (ppc64_elf_build_stubs): Rewrite. - (ppc64_elf_relocate_section): Look up stub entry for REL24 - relocs. Don't propagate REL14* to dynamic objects. Look for long - branch stubs if REL14* or REL24 relocs won't reach. - (bfd_elf64_bfd_link_hash_table_free): Define. - -2002-04-30 Mark Mitchell - - * config.bfd: Add support for powerpc-*-windiss. - -2002-04-30 Tom Rix - - * xcofflink.c (xcoff_link_add_symbols): Always copy undef C_EXT - symbol names into the hash table. - -2002-04-28 Tom Rix - - * coff-rs6000.c (xcoff_calculate_relocation) : Function table for - calulating relocations. - (xcoff_complain_overflow) : Function table for relocation errors. - (xcoff_ppc_relocate_section): Use relocation and complain function - tables. - (xcoff_complain_overflow_unsigned_func): New complain function. - (xcoff_complain_overflow_signed_func): Same. - (xcoff_complain_overflow_bitfield_func): Same. - (xcoff_complain_overflow_dont_func): Same. - (xcoff_reloc_type_crel): New recot function. - (xcoff_reloc_type_br): Same. - (xcoff_reloc_type_ba): Same. - (xcoff_reloc_type_toc): Same. - (xcoff_reloc_type_rel): Same. - (xcoff_reloc_type_neg): Same. - (xcoff_reloc_type_pos): Same. - (xcoff_reloc_type_fail): Same. - (xcoff_reloc_type_noop): Same. - * libxcoff.h : Declare common parts for xcoff64. - * coff64-rs6000.c (xcoff64_ppc_relocate_section): Use relocation - and complain function tables. - -2002-04-28 Alan Modra - - * elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo. - * elf32-hppa.c (elf32_hppa_final_link): Formatting. - -2002-04-26 Alan Modra - - * opncls.c (bfd_make_readable): Call bfd_section_list_clear. - * xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. - - * elflink.h (elf_bfd_final_link): Ensure input bfd class is the - same as the output before calling elf_link_input_bfd. - - * coffcode.h (coff_compute_section_file_positions): Set - section_tail after shuffling section list. - -2002-04-24 Christian Groessler - - * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The - addresses are 23bit with a special layout, not plain 32bit - values. Prevent relocation of immediate values. - -2002-04-24 Chris G. Demetriou - - * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or - MIPS-16 ASE flags are set, print something to indicate that. - -2002-04-23 Alan Modra - - * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition - under which a plt call stub is used. - (final_link_relocate): Similarly. - (allocate_plt_static): Clear h-plabel except when plt entry is - exclusively used for a plabel. - (allocate_dynrelocs): Use the above to simplify plt sizing. - (struct elf32_hppa_link_hash_table): Add has_22bit_branch. - (elf32_hppa_link_hash_table_create): Init. - (BL22_RP): Define. - (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. - (elf32_hppa_check_relocs): Set has_22bit_branch. - - * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. - (final_link_relocate): Likewise. - -2002-04-22 Jakub Jelinek - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build - search table if some FDE is DW_EH_PE_aligned encoded either. - (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. - -2002-04-22 Richard Smith - Jakub Jelinek - - * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. - (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel - encoded personality. - (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality - for CIE/FDE removal. - -2002-04-20 Tom Rix - - * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. - -2002-04-20 Alan Modra - - * archures.c (bfd_lookup_arch): Move the list order comment.. - (struct bfd_arch_info): ..to where it belongs. - * bfd-in2.h: Regenerate. - - * archures.c (bfd_lookup_arch): Add comment on list order. - (bfd_default_set_arch_mach): Use bfd_lookup_arch. - * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default - is always at head of list. - -2002-04-18 Nick Clifton - - * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, - insert_thumb_branch, record_thumb_to_arm_glue): Suppress - definition of these functions for ARM_WINCE builds as they are - not used. - (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define - for ARM_WINCE builds. - -2002-04-18 Nick Clifton - - * coff-arm.c (bfd_arm_process_before_allocation): - -2002-04-17 J"orn Rennecke - - * cpu-sh.c (scan_mach): Delete. - (arch_info_struct): Replace scan_mach with bfd_default_scan. - (bfd_sh_arch): Likewise. - -2002-04-16 Nick Clifton - - * ihex.c (ihex_write_object_contents): Fix check for records - crossing 64K boundaries. - -2002-04-16 Alan Modra - - * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table - type rather than just assuming entries are ELF. - * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. - * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. - * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. - * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry - rather than elf_link_hash_entry. - -2002-04-15 Richard Henderson - - * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow - n32 binaries. - -2002-04-15 Michael Snyder - - * opncls.c (bfd_close): Write contents if writeable. - Minor formatting tidy-ups. - -2002-04-15 Alan Modra - - * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. - -2002-04-12 Michael Snyder - - * bfd-in.h (bfd_get_section_lma): New access macro. - Minor white-space fix-up. - -2002-04-12 Alan Modra - - * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or - header pad. - -2002-04-09 DJ Delorie - - * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. - -2002-04-09 Casper S. Hornstrup - - * coffcode.h (coff_read_word): New. - (coff_compute_checksum): New. - (coff_apply_checksum): New. - (coff_write_object_contents): Call coff_apply_checksum () to - apply checksum to PE image. - -2002-04-08 Randolph Chung - - * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. - (elf32_hppa_final_link): Split out sorting logic to.. - * elf-hppa.h (elf_hppa_sort_unwind): ..here. - (elf_hppa_final_link): Call elf_hppa_sort_unwind. - -2002-04-07 Andrew Cagney - - * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* - pattern. - * configure: Re-generate. - -2002-04-07 Andrew Cagney - - * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version - is greater or equal to 4.3.3. - * configure: Regenerate. - Fix PR gdb/344. - -2002-04-05 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_howto_table) : Fix typo in name. - (cris_elf_check_relocs): Always create .rela.got here when - R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. - (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; - assume it's created. - -2002-04-04 Daniel Jacobowitz - - * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. - * aout-target.h (MY_bfd_link_hash_table_free): Conditionally - define. - * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. - * bfd.c (bfd_link_hash_table_free): Define. - * binary.c (binary_bfd_link_hash_table_free): Define. - * bout.c (b_out_bfd_link_hash_table_free): Define. - * coff-rs6000.c (rs6000coff_vec): Include - _bfd_generic_link_hash_table_free. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. - * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. - (bfd_elf32_bfd_link_hash_table_free): Define. - * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. - (bfd_elf32_bfd_link_hash_table_free): Define. - * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally - define. - * i386msdos.c (msdos_bfd_link_hash_table_free): Define. - * i386os9k.c (os9k_bfd_link_hash_table_free): Define. - * ieee.c (ieee_bfd_link_hash_table_free): Define. - * ihex.c (ihex_bfd_link_hash_table_free): Define. - * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. - (_bfd_generic_link_hash_table_free): Add prototype. - * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. - * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. - * linker.c (_bfd_generic_link_hash_table_free): New function. - * mmo.c (mmo_bfd_link_hash_table_free): Define. - * nlm-target.h (nlm_bfd_link_hash_table_free): Define. - * oasys.c (oasys_bfd_link_hash_table_free): Define. - * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. - * som.c (som_bfd_link_hash_table_free): Define. - * srec.c (srec_bfd_link_hash_table_free): Define. - * tekhex.c (tekhex_bfd_link_hash_table_free): Define. - * versados.c (versados_bfd_link_hash_table_free): Define. - * vms.c (vms_bfd_link_hash_table_free): New function. - * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. - - * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc - instead of bfd_alloc. - * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. - * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. - * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. - * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. - * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. - * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. - * elf.c (_bfd_elf_link_hash_table_create): Likewise. - * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. - * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. - * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. - * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. - * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. - * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. - * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. - * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. - * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. - * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. - * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. - * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. - * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. - * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. - * linker.c (_bfd_generic_link_hash_table_create): Likewise. - * m68klinux.c (linux_link_hash_table_create): Likewise. - * sparclinux.c (linux_link_hash_table_create): Likewise. - * sunos.c (sunos_link_hash_table_create): Likewise. - * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. - - * targets.c: Add _bfd_link_hash_table_free to xvec. - - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - * coff-arm.c: Fix copyright date. - * cpu-h8300.c: Likewise. - * cpu-i370.c: Likewise. - * cpu-s390.c: Likewise. - * cpu-mips.c: Likewise. - * po/SRC-POTFILES.in: Regenerate. - -2002-04-04 Thiemo Seufer - - * Makefile.am: Add elfxx-mips.c to the known backends. - (elf32-mips.lo): remove dependency to coff/external.h. - * Makefile.in: Regenerate. - * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo - Remove elf32-mips.lo from 64 bit vectors. Update dependencies - accordingly. - * configure: Regenerate. - * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. - (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. - (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New - MIPS specific backend functions. - * elf32-mips.c: Moved most code to elfxx-mips.c. - (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make - static. - (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. - (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. - (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. - (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed - interface to allow selection of the right REL or RELA howto table. - (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made - static. Let it refuse n32 objects. - (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. - (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. - (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. - (elf32_mips_ignore_discarded_relocs): Rename from - _bfd_elf32_mips_ignore_discarded_relocs. - (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. - (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. - (elf_mips_howto_table_rela): Remove. - * elf64-mips.c: Moved most code to elfxx-mips.c. - (bfd_elf64_bfd_reloc_type_lookup): Make static. - (mips_elf64_rtype_to_howto): New function. - (mips_elf64_object_p): Likewise. - (elf64_mips_irix_compat): Likewise. - * elfxx-mips.c: New file containing common code merged together from - elf32-mips.c and elf64-mips.c. - * elfxx-mips.h: New file containing MIPS specific prototypes from - elf-bfd.h. - * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and - elf_backend_mips_rtype_to_howto. - -2002-04-04 Alan Modra - - * srec.c (MAXCHUNK, Chunk): Revise comments. - (srec_write_record): Correct buffer size. - (srec_write_header): Do without intermediate buffer. - (srec_write_section): Validate Chunk. - (srec_write_terminator): Pass NULL instead of dummy buffer. - (srec_write_symbols): Pass file and symbol names directly to - bfd_bwrite so sprintf won't overflow buffer. - -2002-04-03 Jakub Jelinek - - * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic - PC relative relocs against hidden symbols. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2002-04-03 Alan Modra - - * elf.c (_bfd_elf_make_section_from_shdr): When setting section - LMAs, loop over segments until p_vaddr and p_memsz specify an - extent enclosing the section. - -2002-04-02 Nick Clifton - - * ihex.c (ihex_write_object_contents): Do not allow records to - cross a 64K boundary - wrap if necessary. - -2002-04-01 Nathan Williams - - * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error - which caused the returned LWP ID to always be 0. - -2002-04-01 Richard Henderson - - * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. - (elf32_sparc_relocate_section): Use it to figure out when to - initialize .got entries. - * elf64-sparc.c: Similarly. - -2002-03-28 Alan Modra - - * linker.c (link_action): Ignore duplicate warning syms. - (_bfd_generic_link_write_global_symbol): Follow warning symbol link. - * elflink.h (elf_adjust_dynstr_offsets): Likewise. - (elf_adjust_dynamic_symbol): Likewise. - (elf_export_symbol): Likewise. - (elf_link_find_version_dependencies): Likewise. - (elf_link_assign_sym_version): Likewise. - (elf_link_sec_merge_syms): Likewise. - (elf_link_output_extsym): Likewise. - (elf_gc_sweep_symbol): Likewise. - (elf_gc_propagate_vtable_entries_used): Likewise. - (elf_gc_smash_unused_vtentry_relocs): Likewise. - (elf_gc_allocate_got_offsets): Likewise. - (elf_collect_hash_codes): Likewise. - * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. - * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. - (elf_hppa_remark_useless_dynamic_symbols): Likewise. - * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. - * elf32-arm.h (elf32_arm_discard_copies): Likewise. - * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. - (elf_cris_discard_excess_dso_dynamics): Likewise. - * elf32-hppa.c (clobber_millicode_symbols): Likewise. - (mark_PIC_calls): Likewise. - (allocate_plt_static): Likewise. - (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elf32-i386.c (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. - * elf32-m68k.c (elf_m68k_discard_copies): Likewise. - * elf32-mips.c (mips_elf_output_extsym): Likewise. - (mips_elf_sort_hash_table_f): Likewise. - (mips_elf_check_mips16_stubs): Likewise. - * elf32-s390.c (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elf32-sh.c (sh_elf_discard_copies): Likewise. - * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. - (xstormy16_relax_plt_realloc): Likewise. - * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. - (elf64_alpha_output_extsym): Likewise. - * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. - * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. - (mips_elf64_check_mips16_stubs): Likewise. - (mips_elf64_output_extsym): Likewise. - * elf64-ppc.c (func_desc_adjust): Likewise. - (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elf64-s390.c (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. - * elf64-x86-64.c (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. - * aoutx.h (aout_link_write_other_symbol): Likewise. - * cofflink.c (_bfd_coff_write_task_globals): Likewise. - (_bfd_coff_write_global_sym): Likewise. - * i386linux.c (linux_tally_symbols): Likewise. - * m68klinux.c (linux_tally_symbols): Likewise. - * sparclinux.c (linux_tally_symbols): Likewise. - * pdp11.c (aout_link_write_other_symbol): Likewise. - * sunos.c (sunos_scan_dynamic_symbol): Likewise. - * xcofflink.c (xcoff_build_ldsyms): Likewise. - (xcoff_write_global_symbol): Likewise. - - * cofflink.c (_bfd_coff_final_link): Formatting. - * cpu-mips.c (mips_compatible): Make static, prototype. - * elf32-i386.c (elf_i386_check_relocs): Formatting. - * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. - * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. - * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. - (mips_elf64_final_link): Likewise. - * elflink.h (elf_link_find_version_dependencies): Remove duplicate - prototype. - -2002-03-27 Nick Clifton - - * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. - (SWAP_OUT_RELOC_OFFSET): Define. - -2002-03-27 Gregory Steuck - - * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for - terminating NULL if empty symbol table. - (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. - -2002-03-26 H.J. Lu (hjl@gnu.org) - - * elflink.h (elf_link_input_bfd): Revert the last change since - the gcc exception handling isn't fixed yet. - -2002-03-26 H.J. Lu (hjl@gnu.org) - - * elflink.h (elf_link_input_bfd): Complain about relocations - against local symbols in discarded sections. - -2002-03-26 Alan Modra - - * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. - -2002-03-23 Alan Modra - - * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on - section file offset for !SEC_LOAD sections. - -2002-03-21 Richard Earnshaw - - * elf32-arm.h (elf32_arm_final_link_relocate , - ): Handle relocations to Thumb functions. - -2002-03-21 Alan Modra - - * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. - Whitespace changes. - * archive.c: Update copyright date. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2002-03-20 Daniel Jacobowitz - - * dwarf2.c (struct funcinfo): Move up. - (lookup_address_in_function_table): New argument function_ptr. - Set it. - (lookup_address_in_line_table): New argument function. If function - is non-NULL, use it to handle ``addr'' before the first line note of - the function. - (comp_unit_find_nearest_line): Update and swap calls to - lookup_address_in_function_table and lookup_address_in_line_table. - * syms.c (_bfd_stab_section_find_nearest_line): Use the first - N_SLINE encountered if we see an N_FUN before any N_SLINE. - -2002-03-20 Tom Rix - - * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from - _bfd_xcoff_generic_stat_arch_elt. Fix format check. - * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. - -2002-03-19 Tom Rix - - * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all - dynamic objects in archives. - -2002-03-19 Hans-Peter Nilsson - - * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set - STT_NOTYPE symbols to STT_OBJECT. - -2002-03-18 Jan Hubicka - - * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" - -2002-03-18 Tom Rix - - * aix5ppc.core.c : New file for AIX 5 64 bit core support. - * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. - * coff-rs6000 (do_pad) : New function for archive padding. - (do_copy) : New function for object file copying in archives. - (do_shared_object_padding) : New function for padding shared - objects to their text section alignment in archives. - (bfd_xcoff_ar_achive_set_magic) : Stub. - (xcoff_write_armap_big) : Use do_copy and do_pad. - (xcoff_write_archive_contents_big) : Use do_shared_object_padding, - do_copy and do_pad. - * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use - bfd_xcoff_magic_number. - (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook - fop. - (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. - (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. - (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. - * rs6000-core.c : Update copyright date. - * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL - csectpp. - * coffcode.h (coff_new_section_hook) : Use new accessor macros. - (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. - (coff_set_flags) : Use bfd_xcoff_magic_number. - * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. - * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. - * Makefile.am : Same. - * config.bfd : Same. - * targets.c : Same. - * configure : Regnerate. - * Makefile.in : Same. - * bfd-in2.h : Same. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-18 Alan Modra - - * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. - * libbfd.h: Regenerate. - * archive.c (coff_write_armap): Pass on failures from - bfd_write_bigendian_4byte_int. - -2002-03-14 H.J. Lu - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD - error to bfd_error_nonrepresentable_section for reinit_array - section in DSO. - -2002-03-14 Nick Clifton - - * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, - OR it in rather than replacing previously selected flags. - - * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. - (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. - -2002-03-14 Alan Modra - - * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. - (N): Use the above. - * elflink.h (elf_bfd_final_link): Revert last change. Instead, - ensure reloc size matches before calling elf_link_input_bfd. - Add an assert to check reloc size when counting output relocs. - -2002-03-14 Nick Clifton - - * mmo.c (mmo_get_loc): Return NULL rather than false. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-13 Alan Modra - - * archures.c (bfd_default_compatible): Test bits_per_word. - * cpu-i386.c (i386_compatible): Remove. Replace occurrences with - bfd_default_compatible. - * cpu-i370.c (i370_compatible): Likewise. - * cpu-sparc.c (sparc_compatible): Likewise. - * cpu-h8300.c (compatible): Test in->arch == out->arch. - - * elflink.h: Formatting fixes. - (elf_link_output_extsym): Merge undefined and undef weak cases. - - * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd - when word size of input matches output word size. - -2002-03-12 Andreas Jaeger - - * cpu-i386.c (i386_compatible): New. Use it instead of - bfd_default_compatible. - -2002-03-07 H.J. Lu (hjl@gnu.org) - - * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type - as the type for bfd_reloc_val. - -2002-03-05 John David Anglin - - * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. - (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. - (elf_hppa_final_link_relocate): Correct relocations for indirect - references to local data through the DLT. Fix .opd creation for - local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 - relocations. Use e_lsel selector for R_PARISC_DLTIND21L, - R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per - "Processor-Specific ELF for PA_RISC, Version 1.43" document. - Similarly, use e_rsel for DLT and LTOFF 'R' relocations. - * elf32-hppa.c (final_link_relocate): Revise relocation selectors - as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. - -2002-03-05 Jakub Jelinek - - * merge.c (_bfd_merge_sections): Don't segfault if there - is nothing to merge due to GC. - -2002-03-05 Alan Modra - - * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep - symbols that have been forced local. - - * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym - to output forced local syms for non-shared link. - (elf_link_output_extsym): Tweak condition for calling backend - adjust_dynamic_symbol so that previous behaviour is kept. - Whitespace changes throughout file. - -2002-03-04 H.J. Lu - - * elf.c (bfd_section_from_shdr): Handle special sections, - .init_array, .fini_array and .preinit_array. - (elf_fake_sections): Likewise. - - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the - DT entry only if the section is in output for .init_array, - .fini_array and .preinit_array. Complain about .preinit_array - section in DSO. - (elf_bfd_final_link): Warn zero size for .init_array, - .fini_array and .preinit_array sections. - - * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove - SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. - (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and - .preinit_array. - -2002-03-04 Alan Modra - - * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. - * configure: Regenerate. - -2002-03-02 Tom Rix - - * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with - symbolic equiv. - * coff-rs6000.c (xcoff_howto_table): Same. - -2002-03-01 David Mosberger - - * elflink.h (size_dynamic_sections): If section named - ".preinit_array" exists, create DT_PREINIT_ARRAY and - DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for - ".init_array" and ".fini_array". - (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, - DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and - DT_FINI_ARRAY. - -2002-02-26 Andrew Macleod - - * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local - dynsyms. - -2002-02-25 Alan Modra - - * elf64-hppa.h: Update copyright date. - - * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. - (ppc64_elf_relocate_section): Don't generate power4 style branch - hints for *_BRTAKEN and *_BRNTAKEN relocs. - -2002-02-22 Jakub Jelinek - - * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my - last patch. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - -2002-02-21 Andreas Jaeger - - * elf64-x86-64.c: Major rework that introduces all recent changes - to the x86-64 backend. Get a closer match to elf32-i386. - (struct elf64_x86_64_dyn_relocs): Rename from - elf64_x86_64_pcrel_relocs_copied, add additional fields. Change - all users. - (struct elf64_x86_64_link_hash_table): Add short cuts to some - sections. - (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, - remove casts, initialize new hash members. - (create_got_section): New. - (elf64_x86_64_create_dynamic_sections): New. - (elf64_x86_64_copy_indirect_symbol): New. - (elf64_x86_64_check_relocs): Don't allocate space for dynamic - relocs, .got or .relgot here but do it in allocate_dynrelocs. - Reference count possible .plt and .got entries. Don't test input - section SEC_READONLY here to try to avoid copy relocs, and keep - dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set - DF_TEXTREL here. Delay setting of variables until needed. Cache - pointer to "sreloc" section in elf_section_data. Tweak condition - under which .got created. Report files with bad relocation - section names. - (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. - Reference count possible .plt entries. Don't deallocate .got and - .relgot space here. - (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't - do copy reloc processing for weakdefs. Remove redundant casts and - aborts. Delay setting of vars until needed. Move creation of - dynamic symbols and allocation of .plt and .rela.plt to - allocate_dynrelocs. Replace BFD_ASSERT with abort. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. - (allocate_dynrelocs): New. - (readonly_dynrelocs): New. - (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. - Allocate space for dyn relocs. Replace BFD_ASSERT with abort. - Zero out the dynamic allocated content space. - (elf64_x86_64_discard_copies): Removed. - (elf64_x86_64_relocate_section): Make use of dynamic section - short-cuts. Localise vars, and delay setting. Better error - reporting, replace BFD_ASSERT with abort. Check - ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the - regular object file and tread the weak definition as the normal - one. Don't discard relocs for undefweak or undefined symbols and - check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy - relocs. - (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for - symbols that have been forced local. Use same test to decide if - we can use a relative reloc for got as relocate_section. Expand - SHN_UNDEF comment. Move expressions out of function calls. - Replace BFD_ASSERT with abort. - (bfd_elf64_bfd_final_link): Removed. - (elf_backend_copy_indirect_symbol): Define. - -2002-02-20 Tom Rix - - * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. - (_bfd_xcoff_reloc_type_lookup): Use it. - * coff64-rs6000.c (xcoff64_howto_table): Same. - (xcoff64_reloc_type_lookup): Same. - -2002-02-20 Peter Schauer - - * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are - little endian. - -2002-02-19 Martin Schwidefsky - - * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. - (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. - * bfd-in2.h: Regenerate. - * cpu-s390.c (arch_info_struct): Use renamed architecture defines. - Replace architecture name "s390" with "s390:31-bit" and "s390:esame" - with "s390:64-bit". - * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. - (elf_s390_reloc_type_lookup): Likewise. - (elf_s390_check_relocs): Likewise. - (elf_s390_gc_sweep_hook): Likewise. - (elf_s390_relocate_section): Likewise. - (elf_s390_object_p): Use renamed architecture define. - * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. - -2002-02-19 Frank Ch. Eigler - - * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. - -2002-02-19 Jakub Jelinek - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable - absptr -> pcrel optimization for shared libs. - Only create minimal .eh_frame_hdr if absptr FDE encoding in shared - library cannot be converted to pcrel. - (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr - relative. - * elf32-i386.c (elf_i386_relocate_section): If - _bfd_elf_section_offset returned -2, skip, but make sure the - relocation is installed. - * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Handle - _bfd_elf_section_offset returning -2 the same way as -1. - * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. - * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME - and BFD_ASSERT. - * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. - -2002-02-18 Tom Rix - - * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. - (bfd_xcoff_size_dynamic_sections): Same. - * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. - (bfd_xcoff_size_dynamic_sections): Same. - * coff-rs6000.c (xcoff_generate_rtinit): Same. - * coff-rs646000.c (xcoff64_generate_rtinit): Same. - * libxcoff.h (struct xcoff_backend_data_rec): Same. - * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. - * bfd-in2.h: Regenerate. - -2002-02-18 Alan Modra - - * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. - (struct ppc_link_hash_table): Add sfpr. - (ppc64_elf_link_hash_table_create): Init it. - (ppc64_elf_create_dynamic_sections): Split creation of .stub and - .glink out to.. - (create_linkage_sections): ..here. Make .sfpr too. - (ppc64_elf_check_relocs): Call create_linkage_sections, and set - dynobj early. - (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. - (ppc64_elf_func_desc_adjust): Look for missing ._savef* and - ._restf* functions, and create as needed. - (func_desc_adjust): Only force_local for shared libs. - -2002-02-18 David O'Brien - - * configure.in: Bump version number post 2.12 branching. - * configure: Regenerate. - -2002-02-17 Hans-Peter Nilsson - - * mmo.c: Correct and improve comments. - (mmo_write_chunk): Store trailing byte in bfd buffer; don't - zero-pad. Use input to fill up non-empty bfd buffer. - (mmo_flush_chunk): New function. - (mmo_write_loc_chunk): Add parameter last_vmap, all callers - changed. Don't emit location specifier if VMA is same as - *LAST_VMAP after omitting leading zero contents. Call - mmo_flush_chunk before emitting location specifier. - (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished - with mmo_write_loc_chunk calls. - (mmo_internal_write_section): Call mmo_flush_chunk after - mmo_write_chunk. - (mmo_write_symbols_and_terminator): Move :Main to first position - in symbol array. Add faked one if it does not exist if there are - other symbols. Don't add it if there are no symbols at all. Move - out test for value of :Main from symbol loop. Rename table - fakemain to maintable and variable mainsym to fakemain. - -2002-02-15 Richard Henderson - - * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target - section with no got matches any got. Simplify error generaion. - -2002-02-15 Alan Modra - - Support arbitrary length fill patterns. - * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. - (_bfd_default_link_order): Remove bfd_fill_link_order code. - Call default_data_link_order. - (default_fill_link_order): Delete. - (default_data_link_order): New function. - * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences - of bfd_fill_link_order with bfd_data_link_order. - * elf64-alpha.c (elf64_alpha_final_link): Likewise. - * elf64-mips.c (mips_elf64_final_link): Likewise. - - * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. - Correct value returned in "end" for "0x". - -2002-02-14 Nick Clifton - - * cpu-arm.c (processors): Replace 'arch' field with 'mach'. - (scan): Test against 'mach' field in info structure. - -2002-02-14 Alan Modra - - * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. - -2002-02-14 Matt Fredette - - * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize - EF_M68000. - -2002-02-13 Nick Clifton - - * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on - non-zero physical addresses when adjusting the LMAs of new - sections. - -2002-02-12 John David Anglin - - * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped - from _bfd_elf_hppa_gen_reloc_type. - (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. - * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. - * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. - * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. - -2002-02-12 Alexandre Oliva - - * elf-m10300.c (mn10300_elf_relax_section): Skip section before - loading its contents if there's nothing to do in it. - -2002-02-12 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing - 64k boundary. - - * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic - DT_PPC64_OPD and DT_PPC64_OPDSZ tags. - (ppc64_elf_finish_dynamic_sections): Set values for them. - -2002-02-11 Michael Snyder - - * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. - * elf.c (elfcore_grok_pstatus): Add prototype. - (elfcore_grok_lwpstatus): Add prototype. - (elfcore_write_lwpstatus): New function. - (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. - -2002-02-11 Alexandre Oliva - - * elf32-sh.c: Added missing prototypes. - * elf32-sh64.c: Likewise. - (sh_elf_align_loads): Mark unused args as such. - * elf64-sh64.c: Added missing prototypes. - (struct elf_sh64_link_hash_entry): Fix typo. - (sh_elf64_relocate_section): Fix info argument passed to - _bfd_elf_section_offset. - -2002-02-11 Alan Modra - - * Makefile.am: "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-02-10 Daniel Jacobowitz - - * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized - variable warnings. - * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned - comparison warning. - * trad-core.c (trad_unix_core_file_p): Silence pointer/integer - cast warnings for the common case. - -2002-02-10 Hans-Peter Nilsson - - * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 - vectors. - (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 - vectors. - -2002-02-09 Richard Henderson - - * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. - (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. - (elf64_alpha_relocate_section): Likewise. - * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. - * bfd-in2.h, libbfd.h: Rebuild. - -2002-02-09 Hans-Peter Nilsson - - * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check - that base-plus-offset reloc accounting is consistent. - (mmix_elf_relax_section): Keep base-plus-offset reloc accounting - up to date for undefined symbols. - -2002-02-08 Eric Christopher - - From Rainer Orth - - * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela - sections for the O32 ABI. - -2002-02-08 Chris Demetriou - - * elf32-arm.h: Fix formatting of _("..."). - * elf32-d10v.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-mips.c: Likewise. - -2002-02-08 Ivan Guzvinec - - * coff-or32.c: Fix compile time warning messages. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-01-23 Alexandre Oliva - * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, - R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, - R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, - R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, - R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, - R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, - R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, - R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, - R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): - New relocs. - * libbfd.h, bfd-in2.h: Rebuilt. - * elf32-sh.c (sh_elf_howto_table): Define new relocs. - (sh_reloc_map): Map them. - (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, - elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, - elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, - elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, - elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, - elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, - movi_shori_putval) [INCLUDE_SHMEDIA]: New. - (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add - datalabel_got_offset. - (sh_elf_link_hash_newfunc): Initialize it. - (sh_elf_relocate_section): Augment the scope of - seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, - GOT and GOTOFF handling to new SHmedia relocation types. Support - GOT_BIAS. - (sh_elf_check_relocs): Likewise. - (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in - PLT entries using movi_shori_putval. Support GOT_BIAS. - (sh_elf_finish_dynamic_sections): Likewise. - * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to - relocation, it's now done by the caller. - (GOT_BIAS): New. - * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, - elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, - elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, - elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, - elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, - elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, - sh64_elf64_hash_table): New. - (sh_elf64_howto_table): Introduce new relocs. - (sh_elf64_info_to_howto): Accept new PIC relocs. - (sh_elf64_relocate_section): Augment the scope of - seen_stt_datalabel. Support new PIC relocs. - (sh_elf64_check_relocs): Support new PIC relocs. - (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, - elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, - elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, - elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, - sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, - movi_shori_putval, movi_3shori_putval, - sh64_elf64_create_dynamic_sections, - sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, - sh64_elf64_size_dynamic_sections, - sh64_elf64_finish_dynamic_symbol, - sh64_elf64_finish_dynamic_sections): New. - (elf_backend_create_dynamic-sections, - bfd_elf64_bfd_link_hash_table_create, - elf_backend_adjust_dynamic_symbol, - elf_backend_size_dynamic_sections, - elf_backend_finish_dynamic_symbol, - elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, - elf_backend_plt_readonly, elf_backend_want_plt_sym, - elf_backend_got_header_size, elf_backend_plt_header_size): - Define. - 2001-05-16 Alexandre Oliva - * elf32-sh.c: Renumbered and renamed some SH5 relocations to - match official numbers and names; moved unmaching ones to the - range 0xf2-0xff. - * elf32-sh64.c, elf64-sh64.c: Likewise. - 2001-03-12 DJ Delorie - * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia - sections. - 2001-03-12 DJ Delorie - * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must - be aligned. - * elf64-sh64.c (sh_elf64_relocate_section): Ditto. - 2001-01-14 Hans-Peter Nilsson - * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. - (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a - .cranges section with SEC_SORT_ENTRIES set. - (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an - incoming sorted .cranges section. - (sh64_bfd_elf_copy_private_section_data): New. - (sh64_elf_final_write_processing): Only sort .cranges and modify - start address if called by linker. - 2001-01-08 Ben Elliston - * elf32-sh64.c (sh64_elf_final_write_processing): Activate - Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. - * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. - 2001-01-06 Hans-Peter Nilsson - * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of - line. Add comments before all entries. - : Correct and clarify describing - comment. - (sh_elf64_reloc): Correct head comment. - (sh_elf64_relocate_section): Correct spacing. - : Do not honour STO_SH5_ISA32; - instead call reloc_dangerous callback. - : New case. - (sh_elf64_gc_mark_hook): Correct spacing. - (sh_elf64_check_relocs): Ditto. - * elf32-sh64.c (shmedia_prepare_reloc) : - New case. - * elf32-sh.c: Correct #endif comments for #ifndef-wrapped - functions. - (sh_elf_howto_table) : Correct, - clarify describing comment. Add comments before all entries. - (sh_elf_relocate_section) : Do not - honour STO_SH5_ISA32; instead call reloc_dangerous callback. - 2001-01-06 Hans-Peter Nilsson - Sort .cranges section in final link. Prepare to set bit 0 on - entry address. - * elf32-sh64.c (struct sh64_find_section_vma_data): New. - (sh64_elf_link_output_symbol_hook): Fix typo in prototype. - (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming - .cranges section. - (sh64_backend_section_from_shdr): New, to recognize - SHT_SH5_CR_SORTED on incoming .cranges section. - (elf_backend_section_from_shdr): Define. - (sh64_elf_final_write_processing): Sort outgoing .cranges - section. (New, temporarily disabled:) Set bit 0 on entry address - according to ISA type. - (sh64_find_section_for_address): New. - (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, - crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. - (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use - bfd_malloc, not xmalloc. - (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make - global. - * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but - temporarily disabled) setting bit 0 on entry address. - (elf_backend_final_write_processing): Define. - 2001-01-05 Hans-Peter Nilsson - * elf32-sh.c (sh_elf_howto_table) : Adjust fields to - be a proper relocation for PTA and PTB rather than a marker. - : - Zero src_mask. - * elf64-sh64.c: Ditto. - (sh_elf64_relocate_section) : New case. - * elf32-sh64.c: Include opcodes/sh64-opc.h - (shmedia_prepare_reloc): Take a bfd_link_info pointer as first - argument. Drop const qualifiers from "bfd *" and "bfd_byte *" - parameters. No unused parameters. Caller changed. - : New case. - * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. - * Makefile.in: Regenerate. - 2000-12-30 Hans-Peter Nilsson - * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for - all code sections. - (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. - (sh64_elf_merge_private_data): Ditto. - * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data - to access stored section flags. - (sh64_elf_final_write_processing): Return immediately unless - called by linker. Use sh64_elf_section_data (cranges) to get size - of linker-generated cranges entries. - (sh64_elf_copy_private_data): Add missing "return true". - (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. - (sh_elf64_merge_private_data): Ditto. - 2000-12-19 Hans-Peter Nilsson - * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of - elf64-sh64.c:sh64_elf_fake_sections. - (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. - 2000-12-18 Hans-Peter Nilsson - * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. - (sh64_elf_final_write_processing): New. - (elf_backend_final_write_processing): Define. - (sh64_elf_fake_sections): Get header flags from tdata field. - (sh64_elf_copy_private_data): Do not call - sh64_elf_copy_private_data_internal, just copy e_flags field. - (sh64_elf_merge_private_data): Do not call - sh64_elf_copy_private_data_internal. - 2000-12-12 Hans-Peter Nilsson - Remove EF_SH64_ABI64, let ELF size make difference. - Remove SH64-specific BFD section flag. - * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as - containing SHmedia through elf_section_data (asect)->tdata - non-zero, not using a BFD section flag. - (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. - (sh64_elf_merge_private_data): Similar. - (elf_backend_section_flags): Don't define. - (sh64_elf_backend_section_flags): Delete. - * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, - not EF_SH64_ABI64. - (sh_elf64_merge_private_data): Similar. - * section.c (Section flags definitions): Don't define - SEC_SH_ISA_SHMEDIA. - (bfd-in2.h): Regenerate. - 2000-12-09 Hans-Peter Nilsson - Make DataLabel references work with partial linking. - * elf32-sh64.c: Fix formatting. - (sh64_elf_link_output_symbol_hook): New. - (elf_backend_link_output_symbol_hook): Define to - sh64_elf_link_output_symbol_hook. - (sh64_elf_add_symbol_hook): Make DataLabel symbol just global - undefined if partial linking. Adjust sanity check. - * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. - (elf_backend_link_output_symbol_hook): Define to - sh64_elf64_link_output_symbol_hook. - (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global - undefined if partial linking. Adjust sanity check. - 2000-12-07 Hans-Peter Nilsson - Implement semantics for inter-file DataLabel references. - * elf64-sh64.c (DATALABEL_SUFFIX): Define. - (sh64_elf64_add_symbol_hook): New. - (sh_elf64_relocate_section): If passing an indirect symbol with - st_type STT_DATALABEL on the way to a symbol with st_other - STO_SH5_ISA32, do not bitor 1 to the relocation. - (elf_backend_add_symbol_hook): Define to - sh64_elf64_add_symbol_hook. - * elf64-sh32.c: Tweak comments. - (DATALABEL_SUFFIX): Define. - (sh64_elf_add_symbol_hook): New. - (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. - * elf32-sh.c (sh_elf_relocate_section): If passing an indirect - symbol with st_type STT_DATALABEL on the way to a symbol with - st_other STO_SH5_ISA32, do not bitor 1 to the relocation. - 2000-12-05 Hans-Peter Nilsson - Pass through STT_DATALABEL. - * elf32-sh64.c (sh64_elf_get_symbol_type): New. - (elf_backend_get_symbol_type): Define. - * elf64-sh64.c (sh64_elf64_get_symbol_type): New. - (elf_backend_get_symbol_type): Define. - 2000-11-30 Hans-Peter Nilsson - * elf32-sh64.c: Tweak comments. - (sh64_elf_copy_private_data_internal): Add prototype. - (bfd_elf32_bfd_set_private_flags): Define. - (sh64_elf_copy_private_data_internal): Compare machine name, not - textual BFD target name, to check whether to copy section flag - SHF_SH5_ISA32. - (sh64_elf_merge_private_data): Validize bfd_get_arch_size. - Tweak section-contents-type-mismatch message. - (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. - Validize reloc-types. - * elf64-sh64.c: New file. - * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. - * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. - (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. - Regenerate dependencies. - * Makefile.in: Regenerate. - * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and - bfd_elf64_sh64l_vec. - * configure.in: Handle bfd_elf64_sh64_vec and - bfd_elf64_sh64l_vec. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - 2000-11-29 Hans-Peter Nilsson - * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize - anything else but EF_SH64 and EF_SH64_ABI64. - (sh64_elf_merge_private_data): Emit error for anything else but - EF_SH64 and EF_SH64_ABI64. - * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec - from targ_selvecs. - * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and - bfd_elf32_sh64l_vec as a temporary measure. - * configure: Regenerate. - 2000-11-27 Hans-Peter Nilsson - * cpu-sh.c (arch_info_struct): Include sh5 item - unconditionalized. - * config.bfd (sh64-*-elf*): Do not set targ_cflags. - Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, - bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. - * elf32-sh64.c: Tweak comments. - (sh64_elf_set_mach_from_flags): Recognize all machine flags that - are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. - (sh64_elf_copy_private_data_internal): Wrap long line. - (sh64_elf_merge_private_data): Rewrite to allow objects from - SH64 subsets to be linked together. - (INCLUDE_SHMEDIA): Define. - * elf32-sh.c (sh_elf_relocate_section) : - Parenthesize plus-expression inside or-expression. - : Ditto. - (sh_elf_set_mach_from_flags): Remove code refusing - deleted EF_SH64_32BIT_ABI flag. - 2000-11-26 Hans-Peter Nilsson - * elf32-sh.c (sh_elf_howto_table) : Set pcrel_offset to true. - (sh_elf_relocate_section) : Or 1 in - calculation of relocation if sym->st_other & STO_SH5_ISA32. - : Ditto if h->other & STO_SH5_ISA32. - * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to - relocation. - 2000-11-24 Hans-Peter Nilsson - * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. - (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. - Regenerate dependencies. - * Makefile.in: Regenerate. - * archures.c: Add bfd_mach_sh5. - * config.bfd: Map targ_cpu sh* to bfd_sh_arch. - Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. - * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. - * configure: Regenerate. - * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, - BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, - BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, - BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, - BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, - BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, - BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, - BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, - BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. - * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link - in item for SH5. - * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items - for SHmedia relocs. - [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. - [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call - shmedia_prepare_reloc, goto final_link_relocate if it returns - non-zero, else fail as before. - (sh_elf_set_mach_from_flags): Provide function only if not defined - as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. - (sh_elf_set_private_flags): Provide function only if not defined - as a macro. - (sh_elf_copy_private_data): Similar. - (sh_elf_merge_private_data): Similar. - * section.c (SEC_SH_ISA_SHMEDIA): New. - * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. - * elf32-sh64.c: New file. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * po/POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2002-02-07 Daniel Jacobowitz - - * bfd-in.h: Update check to only see if has - been included, not drag it in. - * bfd-in2.h: Regenerate. - -2002-02-06 H.J. Lu (hjl@gnu.org) - - * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update - the mach and ISA fields if necessary. - -2002-02-06 Nick Clifton - - * coffcode.h (coff_set_arch_mach_hook): Select the highest known - ARM architecture when an F_ARM_5 flag is detected, since we cannot - be sure exactly which architecture this represents. - -2002-02-05 Nick Clifton - - * po/tr.po: Updated translation. - -2002-02-05 Alan Modra - - From Jimi X - * archures (bfd_mach_ppc64): Define. - (bfd_powerpc_arch): Rename to bfd_powerpc_archs. - (bfd_powerpc_arch): Define. - * bfd-in2.h: Regenerate. - * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. - (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. - (bfd_powerpc_archs): Add default powerpc64 arch. - -2002-02-05 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs - against section syms in readonly sections. Don't do the global - sym check if we find one. - * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. - * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. - * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. - (elf_s390_grok_prstatus): Add missing prototype. - -2002-02-04 Hans-Peter Nilsson - - * elf64-mmix.c (mmix_dump_bpo_gregs): New function. - (mmix_elf_check_common_relocs) : - Call bfd_get_section_by_name only once. Initialize - bpodata->n_bpo_relocs_this_section. - (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment - referring to DSOs. - (bpo_reloc_request_sort_fn): Don't use difference of values as - return-value. - -2002-02-02 David O'Brien - - * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat - version 4.5 and later the same as 5-CURRENT. - * configure: Re-generate. - -2002-02-02 Jason Thorpe - - * config.bfd (hppa*-*-netbsd*): New target. - -2002-01-31 Philipp Thomas - - * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR - to front of message. Unify messages with elf32-arm.h. Use - commas where neccessary. - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase - ERROR in messages. Unify messages with coff-arm.c. Correct - VFP/FPA error message. - (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and - APCS-32 for translation. - -2002-02-01 Hans-Peter Nilsson - - Perform on-demand global register allocation from - R_MMIX_BASE_PLUS_OFFSET relocs. - * elf64-mmix.c (struct bpo_reloc_section_info, struct - bpo_reloc_request, struct bpo_greg_section_info): New. - (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, - bpo_reloc_request_sort_fn, mmix_elf_relax_section, - _bfd_mmix_check_all_relocs, - _bfd_mmix_prepare_linker_allocated_gregs, - _bfd_mmix_finalize_linker_allocated_gregs): New functions. - (elf_mmix_howto_table): Correct src_mask for most relocs. - (mmix_elf_perform_relocation) : New - case. - (mmix_final_link_relocate) : New - case. Fix typo in comment. New label do_mmix_reloc. - (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to - store first object file with a base-plus-offset reloc. Call - mmix_elf_check_common_relocs for the part common with mmo. - (mmix_elf_final_link): Write out linker-allocated register - contents section. - (elf_backend_gc_sweep_hook): Define. - (bfd_elf64_bfd_relax_section): Define. - - * mmo.c: Don't include - (mmo_init): Correct init-once logic. - -2002-02-01 Tom Rix - - * config.bfd: Conditionally support for pre AIX 4.3. - -2002-02-01 Alan Modra - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2002-01-31 David O'Brien - - * configure.in: Recognize the differences in core files from FreeBSD - 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as - 5-CURRENT. - * configure: Regenerate. - -2002-01-31 Ivan Guzvinec - - * coff-or32.c: New file. - * cpu-or32.c: New file. - * elf32-or32.c: New file. - * archures.c: Add support for or32. - * targets.c: Add support for or32. - * bfd-in2.h: Regenerate. - * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, - coff_write_object_contents): Add support for or32. - * config.bfd: Add target. - * configure.in: Add support for or32. - * configure: Regenerate. - * Makefile.am: Add support for or32. - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Add or32 files. - * po/bfd.pot: Regenerate. - -2002-01-31 Nick Clifton - Don Lindsay - - * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return - false' with a return of a bfd_reloc_ error code. - -2002-01-31 Hans-Peter Nilsson - - * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't - unexport unreferenced symbols when --export-dynamic. Call - _bfd_elf_strtab_delref when unexporting. - -2002-01-30 Daniel Jacobowitz - - * bfd-in.h: Include if it is available. - * bfd-in2.h: Regenerated. - -2002-01-31 Alan Modra - - * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should - not go via the plt. - -2002-01-30 Nick Clifton - - * archures.c: Tidy up formatting of embedded comments. - * bfd.c: Tidy up formatting of embedded comments. - * bfd-in.h: Fix formatting of comments. - * reloc.c: Tidy up formatting of ordinary & embedded comments. - * section.c: Tidy up formatting of embedded comments. - * syms.c: Tidy up formatting of embedded comments. - * targets.c: Tidy up formatting of embedded comments. - - * bfd-in2.h: Regenerate. - -2002-01-30 Nick Clifton - - * vms-tir.c (cmd_name): New function. - (tir_cmd_name): New function. - (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). - (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). - Fix formatting. - - * peXXigen.c (pe_print_idata): Rearrange message to aid in - translation. - (pe_print_pdata): Rearrange message to aid in translation. - - * libbfd.c (warn_deprecated): Rearrange error message to aid in - translation. - - * ihex.c (ihex_write_object_contents): Fix spelling typo. - - * ieee.c (ieee_slurp_external_symbols): Remove spurious space. - - * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error - message to aid in translation. - - * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message - to aid in translation. - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. - -2002-01-30 Philipp Thomas - - * coff-arm.c, elf32-elf.h: Unify messages. - -2002-01-30 Nick Clifton - - * po/sv.po: Updated translation. - -2002-01-30 Philipp Thomas - - * dwarf2.c (read_abbrev): Use full section name in error message. - (decode_line_info): Likewise. - - * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging - message. - -2002-01-30 Alan Modra - - * elf64-ppc.c (func_desc_adjust): Only provide missing function - descriptor symbols for undefined function code syms. Clear - ELF_LINK_NON_ELF so that they can stay weak. - -2002-01-29 Chris Demetriou - Mitch Lichtenberg - - * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. - * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function - to handle 32-bit ELF embedded reloc (ld --embedded-relocs) - generation. - * bfd-in2.h: Regenerate. - -2002-01-29 Chris Demetriou - - * elf32-mips.c: Add additional comments about HI16 relocation - processing. - (_bfd_mips_elf_hi16_reloc): Don't subtract address here for - pc-relative relocations. (Reverts change made on 2001-10-31.) - (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here - for pc-relative relocations. - (mips_elf_calculate_relocation): Add a comment about a kludge - in the R_MIPS_GNU_REL_HI16 handling. - (_bfd_mips_elf_relocate_section): Implement that kludge; - adjust pc-relative HI16 relocation for difference in HI16 and - LO16 addresses, since it can't easily be done in - mips_elf_calculate_relocation. - -2002-01-29 Martin Schwidefsky - - * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 - relocations with PC32 relocations for undefined or weak symbols. - * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. - * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. - -2002-01-28 Jason Thorpe - - * elfcore.h (elf_core_file_p): Improve comment for last change. - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-27 Jason Thorpe - - * elfcore.h (elf_core_file_p): Set the machine architecture - before processing the program headers. - -2002-01-26 Hans-Peter Nilsson - - * configure.in <64-bit configuration>: If using gcc, check and - emit error for egcs-1.1.2. - * configure: Regenerate. - -2002-01-26 Egor Duda - - * elf.c (elfcore_grok_win32pstatus): Copy only as much information - as possible to avoid stack corruption. - -2002-01-26 Richard Henderson - - * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext - for non-allocated sections. - -2002-01-25 Mark Kettenis - - * elf.c (elfcore_write_prstatus): Make sure we pass the address of - prstat.pr_reg even if it is a struct. - -2002-01-25 Steve Ellcey - - * elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. - -2002-01-25 Philipp Thomas - - * coffgen.c (coff_print_symbol): Don't mark info message - for translation. - -2002-01-25 Nick Clifton - - * po/fr.po: Updated translation. - * po/es.po: Updated translation. - -2002-01-25 Philipp Thomas - - * coff-alpha.c (alpha_relocate_section): Unify warning message - for GP relative relocations without GP defined. - * coff-mips.c (mips_relocate_section): Likewise. - -2002-01-25 Alan Modra - - * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid - unsigned overflow when new_offset < old_offset. - -2002-01-24 Philipp Thomas - - * bfd.c (_bfd_abort): Fix typo. - -2002-01-23 Richard Henderson - - * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress - plt entries for undefweak symbols. - -2002-01-23 Steve Ellcey - - * targets.c (bfd_elf32_ia64_hpux_big_vec): Add to DEFAULT_VECTOR. - (bfd_elf64_ia64_hpux_big_vec): Ditto. - (bfd_elf32_h8300_vec): Ditto. - -2002-01-23 Alan Modra - - * elf64-ppc.c: Remove stale part of ABI comment. - (NO_OPD_RELOCS): Define. - (ppc64_elf_check_relocs): Use it. - (ppc64_elf_relocate_section): Here too. - (build_one_stub): Don't point function syms at the stub. Instead, - hijack plt.offset. - (ppc64_elf_relocate_section): Check whether REL24 relocs should - really go to the stub. Make all dynamic relocs in opd against - locals. - (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of - plt.offset. - -2002-01-22 Richard Henderson - - * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. - -2002-01-22 Alan Modra - - * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of - TOC_BASE_OFF adjustment. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2002-01-22 John David Anglin - - * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new - host defines. - -2002-01-21 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_relocate_section) : - Check for and emit error if sgot is NULL at this point. - -2002-01-21 Jason Thorpe - - * config.bfd (ia64*-*-netbsd*): New target. - -2002-01-21 Thomas Klausner - - * som.c (som_write_space_strings): Comment typo fix. - -2002-01-21 Alan Modra - - * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and - is_func_descriptor fields. - (link_hash_newfunc): Init them. - (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a - dot are candidates for plt entries. When processing .opd relocs, - set function descriptor strings to point inside function code - string, and set new ppc_link_hash_entry fields. - (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. - (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with - function descriptors. It's now done in.. - (func_desc_adjust): New. - (ppc64_elf_func_desc_adjust): New. - (define elf_backend_always_size_sections): Define. - (ppc64_elf_hide_symbol): New. - (define elf_backend_hide_symbol): Define. - (allocate_dynrelocs): Remove code looking up function descriptors - as that has been done earlier. - (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash - table. - (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking - up function descriptor. - (build_one_stub): Look up the function code sym. Check for - invalid plt offsets. - (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. - Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. - - * elf-bfd.h (elf_backend_data ): Add - boolean param. - (_bfd_elf_link_hash_hide_symbol): Likewise. - * elflink.h (elf_link_add_object_symbols): Adjust call to - elf_backend_hide_symbol. - (elf_fix_symbol_flags): Likewise. - (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather - than bfd_alloc. - * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. - Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. - * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. - (clobber_millicode_symbols): Adjust to suit new hide_symbol. - * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param - and adjust to suit. - * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call - _bfd_elf_link_hash_hide_symbol rather than duplicating code. - * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. - -2002-01-18 Alan Modra - - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a - dynamic function descriptor symbol, not the associated function - symbol. - -2002-01-17 Eric Christopher - - * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. - -2002-01-17 Nick Clifton - - * po/bfd.pot: Regenerate. - * po/fr.po: Regenerate. - -2002-01-17 Alan Modra - - * elf-bfd.h (elf_backend_data ): - Remove "Elf_Internal_Shdr *" param. - (_bfd_mips_elf_section_from_bfd_section): Ditto. - * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. - * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. - * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. - * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. - * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. - * elf.c (_bfd_elf_section_from_bfd_section): Allow backend - function to override special sections. Remove hdr arg from - backend call, and don't loop. - -2002-01-16 Eric Christopher - - * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp - on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of - relocations requiring gp0 and gp. - -2002-01-16 Richard Earnshaw - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle - EF_ARM_VFP_FLOAT. - (elf32_arm_print_private_bfd_data): Likewise. - -2002-01-16 Nick Clifton - - * po/tr.po: Import new version. - -2002-01-16 Alan Modra - - * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. - (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. - (ORI_R0_R0_0): Correct. - -2002-01-16 Alan Modra - - * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE - when plt_not_loaded. - * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to - clear .plt SEC_CODE here. Create .stub and correct .glink flags. - (PLT_INITIAL_ENTRY_SIZE): Set to 24. - (ppc64_elf_glink_code): Delete. - (PPC64_ELF_GLINK_SIZE): Delete. - (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, - BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, - ORI_R0_R0_0): Define. - (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. - (struct ppc_link_hash_table): Add sstub and plt_overflow. - (ppc64_elf_link_hash_table_create): Init them. - (ppc64_elf_check_relocs ): Refcount .plt entry. - Don't copy to shared lib. - (ppc64_elf_check_relocs): Call bfd_set_error on errors. - (ppc64_elf_gc_sweep_hook ): Sweep plt refcount. - (allocate_dynrelocs ): Don't change function sym here. Make - room for .stub and .glink code. - (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for - DT_PPC64_GLINK. - (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call - bfd_elf64_bfd_final_link. - (bfd_elf64_bfd_final_link): Don't define. - (ppc64_elf_size_stubs): New. - (build_plt_stub): New. - (build_one_stub): New. - (ppc64_elf_build_stubs): New. - (ppc64_elf_relocate_section ): Remove assert. - (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. - (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set - DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in - case output sections not separate. Adjust DT_RELASZ to not - include plt relocs. Set reserved got entry. Set got and plt - entry size. - (elf_backend_got_header_size): Set to 8. - * elf64-ppc.h: New file. - -2002-01-16 Alan Modra - - * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing - sections, use bfd_section_list_remove. - * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. - * elflink.h (elf_link_add_object_symbols): When removing all - sections, use bfd_section_list_clear. - -2002-01-15 Nick Clifton - - * po/sv.po: New file: Swedish translation. - * configure.in (ALL_LINGUAS): Add sv. - * configure: Regenerate. - -2002-01-15 Jakub Jelinek - - * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. - * elf.c (merge_sections_remove_hook): New function. - (_bfd_elf_merge_sections): Pass it as 3rd argument to - _bfd_merge_sections. - * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. - * libbfd.h: Rebuilt. - * merge.c (_bfd_merge_sections): Add remove_hook argument. - Call remove_hook if a SEC_EXCLUDE section is encountered. - -2002-01-15 Nick Clifton - - * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. - (xstormy16_reloc_map): Initialise new field with correct howto - table. - (xstormy16_reloc_type_lookup): Use 'table' field to locate correct - howto entry. - -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 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-0203 b/bfd/ChangeLog-0203 new file mode 100644 index 00000000000..f99029a87ae --- /dev/null +++ b/bfd/ChangeLog-0203 @@ -0,0 +1,11405 @@ +2003-12-19 Kazuhiro Inaoka + + Adfd m32r-linux and PIC support. Add new ABI that uses RELA. + * config.bfd (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*): Added. + * configure.in (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, + bfd_elf32_m32rle_vec): Added + * configure: Regenerated. + * elf32-m32r.c (m32r_info_to_howto, m32r_elf_adjust_dynamic_symbol, + m32r_elf_size_dynamic_sections, m32r_elf_create_dynamic_sections, + m32r_elf_finish_dynamic_sections, m32r_elf_finish_dynamic_symbol, + allocate_dynrelocs, readonly_dynrelocs, m32r_elf_reloc_type_class, + m32r_elf_fake_sections): Added. + (m32r_elf_howto_table): Added + R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, + R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, + R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, + R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, + R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, + R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, + R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, + R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, + R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, + R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, + R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, + R_M32R_GOTPC_LO. + (m32r_elf_relocate_section, m32r_elf_check_relocs): Changed for + New ABI. + * reloc.c: Add BFD_RELOC_M32R_GOT24, BFD_RELOC_M32R_26_PLTREL, + BFD_RELOC_M32R_COPY, BFD_RELOC_M32R_GLOB_DAT, + BFD_RELOC_M32R_JMP_SLOT, BFD_RELOC_M32R_RELATIVE, + BFD_RELOC_M32R_GOTOFF, BFD_RELOC_M32R_GOTPC24, + BFD_RELOC_M32R_GOT16_HI_ULO, BFD_RELOC_M32R_GOT16_HI_SLO, + BFD_RELOC_M32R_GOT16_LO, BFD_RELOC_M32R_GOTPC_HI_ULO, + BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO. + * targets.c (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, + bfd_elf32_m32rle_vec): Added. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + +2003-12-19 Danny Smith + + * coffcode.h (styp_to_sec_flags): Don't treat .reloc section + as SEC_DEBUGGING. + +2003-12-18 Richard Sandiford + + * elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of + mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use + _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, + _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, + and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift + to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. + (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) + (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. + (_bfd_mips_elf32_gprel16_reloc): Remove special case. + (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. + + * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of + mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use + _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc + for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. + Change R_MIPS_HI16's rightshift to 16. + (mips_elf64_howto_table_rela): Replace all uses of + mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. + Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. + (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. + (mips_elf64_shift6_reloc): Remove special case. Use + _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. + + * elfn32-mips.c (prev_reloc_section): Delete. + (prev_reloc_address, prev_reloc_addend): Delete. + (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for + elf64-mips.c + (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. + (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) + (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. + (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. + (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. + (mips16_jump_reloc, mips16_gprel_reloc): Likewise. + (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. + + * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use + _bfd_relocate_contents to install an in-place addend. + (mips_hi16): New structure. + (mips_hi16_list): Moved from elf32-mips.c. + (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. + (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. + (mips_elf_calculate_relocation): Assume addend is unshifted. + (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift + on top of the usual high-part shift. Don't shift the addend right + before calling mips_elf_calculate_relocation. + + * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. + (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. + (_bfd_mips_elf_generic_reloc): Declare. + +2003-12-16 Eric Youngdale + Nick Clifton + + * peicode.h (pe_ILF_build_a_bfd): Only skip one instance of each + prefix character, if they are present. + +2003-12-15 Dmitry Semyonov + Nick Clifton + + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Ensure that correct flags + are set on known section types. + +2003-12-12 Nick Clifton + + * po/ro.po: Updated translation. + +2003-12-12 Alan Modra + + * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for + NULL dyn_h. + +2003-12-11 Nick Clifton + + * elf.c (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments. + +2003-12-08 Richard Sandiford + + * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes. + Remove casts that were only needed for K&R compatibility. + +2003-12-08 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add + "elflink_hash_entry *" param to elf_backend_link_output_symbol_hook. + Add "elflink_hash_entry *" param to elf_backend_output_arch_syms. + * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param, + and pass to output_symbol_hook. + (elf_bfd_final_link): Adjust elf_link_output_sym calls. + (elf_link_output_extsym): Likewise. + (elf_link_input_bfd): Likewise. + * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust. + * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. + * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. + * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. + * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. + * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise. + * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. + Validate dynh->h against h. + * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield. + (link_hash_newfunc): Init it. + (adjust_opd_syms): New function. + (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted. + Set opd.adjust for all .opd relocs. Call adjust_opd_syms. + (ppc64_elf_tls_optimize): Adjust possible .opd sym values here. + (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24. + (ppc64_elf_output_symbol_hook): New function. + (elf_backend_link_output_symbol_hook): Define. + +2003-12-07 Richard Sandiford + + * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes. + Remove casts that were only needed for K&R compatibility. + +2003-12-05 Dmitry Semyonov + + * coff-arm.c (aoutarm_std_reloc_howto [ARM_WINCE]): Set + partial_inplace for these relocs to FALSE for comptability with + the MS linker. + Remap ARM_26D relocation from 5 to 0. This fixes "bad fixup" error + generated by MS linker, and brings the relocation in line the MS + PE documentation. + +2003-12-04 H.J. Lu + + * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing. + +2003-12-04 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relax_section): Use the + need_relax_finalize field in link_info instead of + relax_finalizing to check if the relax finalize pass is being + done. + +2003-12-04 Dmitry Semyonov + + * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation): + Change ARM26* to ARM_26* in comments to match definitions. + (coff_arm_adjust_symndx): Replace hard-coded constants with + appropriate definitions (ARM_26*). + +2003-12-04 Alan Modra + + * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported. + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes. + (mn10300_elf_relax_section): Likewise. + * nlm32-alpha.c (ONES): Define. + (nlm32_alpha_howto_table): Use it to avoid warnings. + +2003-12-04 Alan Modra + + * elf32-i386.c (elf_i386_object_p): Delete. + (elf_backend_object_p): Don't define. + * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here. + * elf32-sh.c (sh_elf_object_p): Likewise. + * elf32-sparc.c (elf32_sparc_object_p): Likewise. + * elf64-alpha.c (elf64_alpha_object_p): Likewise. + * elf64-s390.c (elf_s390_object_p): Likewise. + * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise. + +2003-12-03 Kazuhiro Inaoka + + * archures.c (bfd_mach_m32r2): Add new machine type. + * bfd-in2.h: Regenerate. + * cpu-m32r.c : Add new machine type. + * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing, + m32r_elf_merge_private_bfd_data): Add support for new machine + type. + +2003-12-03 Dave Airlie + + * config.bfd: Add vax-linux-gnu target. + * configure.in: Likewise. + * configure: Regenerate. + +2003-12-03 Alan Modra + + * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed + bfd_link_hash_entry field "next" -> "und_next". + * linker.c (_bfd_link_hash_newfunc): Likewise. + (bfd_link_add_undef): Likewise. + (_bfd_generic_link_add_archive_symbols): Likewise. + (_bfd_generic_link_add_one_symbol): Likewise. + * xcofflink.c (xcoff_link_add_symbols): Likewise. + +2003-12-02 Nick Clifton + + * configure.in (ALL_LINGUAS): Add ro. + * po/ro.po: New Romanian translation. + +2003-12-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-12-01 Dmitry Semyonov + + * coffcode.h (coff_compute_section_file_positions): Set page_size + to 1 instead of 0 in the case file alignment value is zero. + +2003-12-01 Kazu Hirata + + * coff-rs6000.c: Remove ARGSUSED and VARARGS. + * coff64-rs6000.c: Likewise. + * coffcode.h: Likewise. + * elf32-vax.c: Likewise. + * hash.c: Likewise. + * hppabsd-core.c: Likewise. + * hpux-core.c: Likewise. + * ihex.c: Likewise. + * netbsd-core.c: Likewise. + * osf-core.c: Likewise. + * pdp11.c: Likewise. + * ptrace-core.c: Likewise. + * sco5-core.c: Likewise. + * section.c: Likewise. + * sunos.c: Likewise. + * trad-core.c: Likewise. + +2003-12-01 Alan Modra + + * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. + * elf.c (_bfd_elf_merge_sections): Adjust to suit. + (_bfd_elf_link_just_syms): Likewise. + (bfd_elf_get_needed_list): Likewise. + (bfd_elf_get_runpath_list): Likewise. + (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens. + * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab + creator flavour. + (elf32_hppa_set_gp): Look up output sections rather than using htab. + * elf32-i960.c: Comment fix. Formatting. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table + rather than testing creator flavour. + * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. + * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. + * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for + is_elf_hash_table change. Remove redundant test. + (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than + testing creator flavour. + (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table. + (_bfd_elf_fix_symbol_flags): Likewise. + (_bfd_elf_adjust_dynamic_symbol): Likewise. + * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant + checks. Use is_elf_hash_table rather than testing creator flavour. + Use hash_table throughout in place of info->hash. + (elf_add_dynamic_entry): Adjust for is_elf_hash_table change. + (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant + check. + (elf_bfd_final_link): Adjust for is_elf_hash_table change. + (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than + testing creator flavour. + (elf_gc_sections): Add is_elf_hash_table check. + (elf_gc_common_finalize_got_offsets): Likewise. + (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove + redundant check. + * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table + rather than testing creator flavour. + +2003-11-28 Christian Groessler + + * cpu-z8k.c: Convert to ISO C90. + * coff-z8k.c: Likewise. + +2003-11-27 Alexandre Oliva + + * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map): + Add link info argument. + * elf32-i370.c (elf_backend_modify_segment_map): Likewise. + * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise. + * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise. + * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise. + * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise. + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise. + * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise. + * elf.c (assign_file_positions_except_relocs, + assign_file_positions_for_segments): Likewise. Adjust calls. + +2003-11-27 Mark Kettenis + + * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out + of the note. + +2003-11-26 Daniel Jacobowitz + Richard Sandiford + + * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub. + (mips_elf_set_no_stub): New function. + (mips_elf_multi_got): Call it. + (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for + a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and + use mips_elf_create_dynamic_relocation to deal with any compatibility + issues. Store the adjusted addend in the GOT slot. + +2003-11-25 Mattias EngdegÄrd + + * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when + procesing N_BINCL stabs. + +2003-11-25 Alan Modra + + * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than + ppc_stub_plt_call to symbols defined in shared libs. + +2003-11-22 Jakub Jelinek + + * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag. + * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it. + * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. + (elf_i386_check_relocs): Set it. + (elf_i386_finish_dynamic_symbol): If it is not set, + clear st_value of SHN_UNDEF symbol. + +2003-11-20 Jim Blandy + + * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC + family is a superset of . + +2003-11-20 Martin Schwidefsky + + * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol + section for reloc output and subtract the output section's address + from the addend when converting a relocation into one against a + section symbol. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + +2003-11-18 James E Wilson + + * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd. + (elfNN_ia64_size_dynamic_sections): When stripping sections, check + for ia64_info->rel_fptr_sec. + +2003-11-18 Alan Modra + + * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section + size is zero. + +2003-11-17 Daniel Jacobowitz + + * elf.c (_bfd_elf_link_hash_copy_indirect): Copy + ELF_LINK_HASH_NEEDS_PLT. Fix formatting. + * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. + * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. + * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. + * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. + * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. + * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove. + (elf_backend_copy_indirect_symbol): Don't define. + +2003-11-14 Daniel Jacobowitz + + * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local + GOT entries. + +2003-11-13 Martin Schwidefsky + + * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32 + to R_390_RELATIVE. Convert the other relocations against local + symbols to relocations against the start of the section. + * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64 + to R_390_RELATIVE. Convert the other relocations against local + symbols to relocations against the start of the section. + +2003-11-11 Nick Clifton + + * elf-m10300.c (bfd_mn10300_elf_size_dynamic_sections): Use + info->executable not info->shared to decide if a .interp section + should be present. + * elf32-arm.h (elf32_arm_size_dynamic_sections): Likewise. + * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise. + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise. + * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise. + * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. + * elfxx-mips.c (_bfd_mips_size_dynamic_sections): Likewise. + * elflink.h (size_dynamic_sections): Likewise. + +2003-11-10 Jonathan Wilson + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Swap out tls pointer. + (_bfd_XXi_final_link_postscript): Look for __tks_used symbol. If + found initialise the tls data directory entry. + +2003-11-07 Alan Modra + + * elf32-ppc.c (ppc_elf_install_value): Delete. + (shared_stub_entry, stub_entry): Make them arrays of ints. + Remove initial branch. + (ppc_elf_relax_section): Write one branch around all trampolines + instead. Correct bogus R_PPC_PLTREL24 handling. Correct + branch range check. Only use shared_stub_entry when shared. + Test that branches can reach stubs. Write trampolines out at + end so that just one realloc is used. Handle little-endian + mode. Move relevant code from ppc_elf_install_value to here. + (ppc_elf_relocate_section): Move code handling RELAX32 from + ppc_elf_install_value to here. + +2003-11-06 Alan Modra + + * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC. + (ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate + cases. + (shared_stub_entry): Correct opcode. + (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs. + (ppc_elf_relocate_section): Handle them. + +2003-11-05 Alan Modra + + * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return + updated section in case of merged section. + * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration. + * elf-hppa.h (elf_hppa_relocate_section): Adjust call. + * elf-m10200.c (mn10200_elf_relocate_section): Likewise. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.h (elf32_arm_relocate_section): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section) Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + + * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol + section for reloc output. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + + * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything + for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value + return value. + * elf64-ppc.c (ppc64_elf_relocate_section ): Sanity check + sec->id. + +2003-11-05 Alan Modra + + * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions. + (elf32_d10v_relocate_section): Use them to handle -r reloc + adjustments, and in place of _bfd_elf_rela_local_sym. + + * cpu-iq2000.c (arch_info_struct): Warning fix. + +2003-11-05 Alan Modra + + * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define. + (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on + weakdefs. + (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS. + (elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef + NON_GOT_REF. + (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and + SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with + non-default visibility. + (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and + SYMBOL_CALLS_LOCAL. + +2003-11-04 Alan Modra + + * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. + * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. + * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. + * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. + * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. + * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. + * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto. + + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix + "dereferencing type-punned pointer" warnings. + + * aout-adobe.c (aout_adobe_set_section_contents): Constify location. + * aoutx.h (NAME(aout,set_section_contents)): Ditto. + * bfd-in2.h: Regenerate. + * binary.c (binary_set_section_contents): Ditto. + * bout.c (b_out_set_section_contents): Ditto. + * coff-tic54x.c (tic54x_set_section_contents): Ditto. + * coffcode.h (coff_set_section_contents): Ditto. + * ecoff.c (_bfd_ecoff_set_section_contents): Ditto. + * elf-bfd.h (_bfd_elf_set_section_contents): Ditto. + * elf.c (_bfd_elf_set_section_contents): Ditto. + * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto. + * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto. + * i386msdos.c (msdos_set_section_contents): Ditto. + * ieee.c (ieee_set_section_contents): Ditto. + * ihex.c (ihex_set_section_contents): Ditto. + * libaout.h (NAME(aout,set_section_contents)): Ditto. + * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto. + (_bfd_generic_set_section_contents): Ditto. + * libbfd.h: Regenerate. + * libbfd.c (_bfd_generic_set_section_contents): Ditto. + * libecoff.h (_bfd_ecoff_set_section_contents): Ditto. + * libnlm.h (nlmNAME(set_section_contents)): Ditto. + (struct nlm_backend_data ): Ditto. + * mmo.c (mmo_set_section_contents): Ditto. + * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto. + * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto. + * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto. + * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto. + * nlmcode.h (nlm_set_section_contents): Ditto. + * oasys.c (oasys_set_section_contents): Ditto. + * pdp11.c (NAME(aout,set_section_contents)): Ditto. + * ppcboot.c (ppcboot_set_section_contents): Ditto. + * srec.c (srec_set_section_contents): Ditto. + * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto. + * tekhex.c (tekhex_set_section_contents): Ditto. + (move_section_contents): Ditto. + * versados.c (versados_set_section_contents): Ditto. + * vms-misc.c (_bfd_save_vms_section): Ditto. + * vms.c (vms_set_section_contents): Ditto. + * vms.h (_bfd_save_vms_section): Ditto. + +2003-11-04 Alan Modra + + * elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info arg + rather than htab. + (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal. Zero + relbrlt size. + (ppc64_elf_build_stubs): Allocate space for relbrlt. + +2003-11-04 Alan Modra + + * bfd-in.h (_bfd_elf_tls_setup): Declare. + * bfd-in2.h: Regenerate. + * elf-bfd.h (struct elf_link_tls_segment): Delete. + (struct elf_link_hash_table): Add tls_sec and tls_size. + * elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size. + * elflink.c (_bfd_elf_tls_setup): New function. + * elflink.h (struct elf_final_link_info): Remove first_tls_sec. + (elf_bfd_final_link): Don't set first_tls_sec here. Update code + saving tls segment info, round segment size up. + (elf_link_output_extsym): Adjust code using tls segment info. + (elf_link_input_bfd): Likewise. + * elf32-i386.c (dtpoff_base, tpoff): Likewise. + * elf32-s390.c (dtpoff_base, tpoff): Likewise. + * elf32-sh.c (dtpoff_base, tpoff): Likewise. + * elf32-sparc.c (dtpoff_base, tpoff): Likewise. + * elf64-s390.c (dtpoff_base, tpoff): Likewise. + * elf64-x86-64.c (dtpoff_base, tpoff): Likewise. + * elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise. + (elfNN_ia64_dtprel_base): Likewise. + * elf64-alpha.c (alpha_get_dtprel_base): Likewise. + (alpha_get_tprel_base): Likewise. + (struct alpha_relax_info): Remove tls_segment. + (elf64_alpha_relax_got_load): Adjust invocation of + alpha_get_dtprel_base and alpha_get_tprel_base. + (elf64_alpha_relax_tls_get_addr): Likewise. + (elf64_alpha_relax_section): Likewise. + (elf64_alpha_relocate_section): Likewise. + (elf64_alpha_relax_find_tls_segment): Delete. + * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec. + (ppc_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. + (ppc_elf_relocate_section): Adjust to use elf.tls_sec. + * elf32-ppc.h (ppc_elf_tls_setup): Update. + * elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec. + (ppc64_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. + (ppc64_elf_tls_optimize): Adjust to use elf.tls_sec. + (ppc64_elf_relocate_section): Likewise. + * elf64-ppc.h (ppc64_elf_tls_setup): Update. + +2003-11-03 Daniel Jacobowitz + + * elf-bfd.h (struct elf_backend_data): Remove plt_header_size. + * elf-m10300.c (elf_backend_plt_header_size): Don't define. + * elf32-arm.h (elf_backend_plt_header_size): Don't define. + * elf32-cris.c (elf_backend_plt_header_size): Don't define. + * elf32-i386.c (elf_backend_plt_header_size): Don't define. + * elf32-mips.c (elf_backend_plt_header_size): Don't define. + * elf32-ppc.c (elf_backend_plt_header_size): Don't define. + * elf32-s390.c (elf_backend_plt_header_size): Don't define. + * elf32-sh.c (elf_backend_plt_header_size): Don't define. + * elf32-sparc.c (elf_backend_plt_header_size): Don't define. + * elf64-alpha.c (elf_backend_plt_header_size): Don't define. + * elf64-hppa.c (elf_backend_plt_header_size): Don't define. + * elf64-mips.c (elf_backend_plt_header_size): Don't define. + * elf64-ppc.c (elf_backend_plt_header_size): Don't define. + * elf64-s390.c (elf_backend_plt_header_size): Don't define. + * elf64-sh64.c (elf_backend_plt_header_size): Don't define. + * elf64-sparc.c (elf_backend_plt_header_size): Don't define. + * elf64-x86-64.c (elf_backend_plt_header_size): Don't define. + * elfn32-mips.c (elf_backend_plt_header_size): Don't define. + * elfxx-ia64.c (elf_backend_plt_header_size): Don't define. + * elfxx-target.h (elf_backend_plt_header_size): Don't define + or include in target initializer. + +2003-11-03 Andrew Cagney + + * section.c (bfd_set_section_contents): Make the "location" buffer + constant. + * bfd-in2.h: Re-generate. + +2003-10-30 Andrew Cagney + + * syms.c: Replace "struct symbol_cache_entry" with "struct + bfd_symbol". + * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. + * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. + * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. + * bfd-in2.h: Re-generate. + +2003-10-30 Jakub Jelinek + + * elfxx-ia64.c: Include objalloc.h, hashtab.h. + (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym + fields. + (struct elfNN_ia64_local_hash_table): Remove. + (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type + to htab_t. Add loc_hash_memory field. + (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry): + Removed. + (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New + functions. + (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for + loc_hash_table. Initialize loc_hash_memory. + (elfNN_ia64_hash_table_free): New function. + (elfNN_ia64_local_hash_lookup): Remove. + (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse + callback. + (elfNN_ia64_dyn_sym_traverse): Use htab_traverse. + (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table. + (bfd_elfNN_bfd_link_hash_table_free): Define. + +2003-10-30 Alan Modra + + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned + symbol string in place. + +2003-10-30 Jim Blandy + + * cpu-rs6000.c (rs6000_compatible): Check the correct arch_info + object's mach field: all PowerPC machines are supersets of the + original rs6000, but not later rs6000 machines. + +2003-10-30 Alan Modra + + * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr". + Add "val" and "sval" fields. + (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete. + (read_attribute_value): Expand and adjust DW_* occurrences. + (scan_unit_for_functions, parse_comp_unit): Likewise. + +2003-10-30 Phil Edwards + + * config.bfd (arm-*-vxworks): Remove separate stanza; merge with + other common ELF triples. + (i[3-7]86-*-vxworks): Change to ELF format. + (mips*-*-windiss): New triple, add to common MIPS/ELF stanza. + (sh-*-vxworks): New stanza. + +2003-10-30 Lars Knoll + Michael Matz + Jakub Jelinek + Alan Modra + + * merge.c (struct sec_merge_sec_info): Update comment. + (struct sec_merge_hash_entry): Remove entsize. + (sec_merge_hash_lookup): Only adjust alignment when creating. + (sec_merge_emit): Remove register keyword. + (cmplengthentry, last4_eq, last_eq): Delete. + (strrevcmp, strrevcmp_align, is_suffix): New. + (merge_strings): Use them to implement fast suffix merging. + * elf-strtab.c (struct elf_strtab_hash_entry): Update comments. + Make "len" signed. + (_bfd_elf_strtab_add): Lose on >2G strings. + (_bfd_elf_strtab_emit): Don't emit strings with len < 0. + (cmplengthentry, last4_eq): Delete. + (strrevcmp, is_suffix): New. + (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging. + +2003-10-29 Daniel Jacobowitz + + * elf32-arm.h (elf32_arm_final_link_relocate): Move check for + SEC_ALLOC. + +2003-10-29 Philip Blundell + + * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New + code sequence. + (PLT_HEADER_SIZE): New. + (struct elf32_arm_pcrel_relocs_copied): Rename to ... + (struct elf32_arm_relocs_copied): ... this. Count both + pcrel and non-pcrel relocs. All uses updated. + (struct elf32_arm_link_hash_table): Add pointers to dynamic linker + sections and symbol/section mapping cache. + (create_got_section): New. + (elf32_arm_create_dynamic_sections): New. + (elf_backend_create_dynamic_sections): Use it. + (elf32_arm_final_link_relocate): Support garbage collection of relocs. + (elf32_arm_check_relocs): Likewise. + (elf32_arm_adjust_dynamic_symbol): Likewise. + (elf32_arm_copy_indirect_symbol): New. + (elf32_arm_link_hash_table_create): Initialise new fields. + (elf32_arm_gc_sweep_hook): Implement. + (elf32_arm_discard_copies): Delete. + (elf32_arm_finish_dynamic_symbol): Use new PLT code. + (elf32_arm_finish_dynamic_sections): Likewise. + (elf_backend_can_refcount): Define. + (elf_backend_copy_indirect_symbol): Likewise. + (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE. + +2003-10-29 Alan Modra + + * elf64-ppc.c (elf_backend_grok_prstatus): Define. + (elf_backend_grok_psinfo): Define. + (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions. + + * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple + sections with the same name. + (elfcore_grok_lwpstatus): Likewise. + (elfcore_grok_win32pstatus): Likewise. + (elfcore_grok_note): Likewise. + (elfcore_grok_nto_status): Likewise. + (elfcore_grok_nto_gregs): Likewise. + +2003-10-27 Daniel Jacobowitz + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic + objects. + +2003-10-14 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno. + +2003-10-24 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up + hash table for real symbols. + +2003-10-23 Michael Snyder + + * section.c (asection): Fix typo in comment. + +2003-10-23 Alan Modra + + * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc + reloc symbol index to it. Don't allow gd syms in shared libs + to be optimized. + (ppc64_elf_tls_optimize): Adjust get_tls_mask call. + (ppc64_elf_size_stubs): Likewise. + (ppc64_elf_relocate_section): Check that tls relocs are only used + with tls syms, and similarly for non-tls. Correct symbol used + when optimizing toc tls code. + +2003-10-22 Nick Clifton + + * peicode.h (coff_swap_scnhdr_in): Only remove padding when + processing an executable. + +2003-10-22 Jakub Jelinek + + * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals + field changes. + (_bfd_elf_link_assign_sym_version): Likewise. + * elflink.h (size_dynamic_sections): Likewise. + +2003-10-21 Alexandre Oliva , + Michael Snyder + + * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu, + bfd_mach_sh4a_nofpu): New machine types. + * bfd-in2.h: Rebuilt. + * cpu-sh.c (compatible): Remove unused function. + (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New. + (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu. + * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them. + +2003-10-21 Wouter van Heyst + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct text + describing mismatched formats involving the Maverick FP type. + +2003-10-21 Anil Paranjpe + + * binary.c (binary_object_p): Pass machine flag along with + architecture. + +2003-10-21 Thorsten Brehm + + * archures.c (bfd_default_scan): Add support for mcf528x. + * ieee.c (ieee_write_processor): Likewise. + +2003-10-21 Peter Barada + Bernardo Innocenti + + * archures.c: Add MCF528x (MCFv4) support. + * bfd/cpu-m68k.c (arch_info_struct): Likewise. + * bfd-in2.h: Regenerate. + +2003-10-20 Andrew Cagney + + * targets.c: Replace "struct sec" with "struct bfd_section" + * syms.c, sparclynx.c, section.c, opncls.c: Ditto. + * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. + * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. + * aout-tic30.c, aout-target.h: + * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. + +2003-10-18 Hans-Peter Nilsson + + Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs. + * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro. + (struct _mmix_elf_section_data): New member pjs. + (mmix_set_relaxable_size, mmix_elf_get_section_contents): New + functions. + (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE. + (mmix_reloc_map): Ditto. + (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE. + (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto. + (mmix_elf_perform_relocation): Ditto. Don't mark parameter addr + unused. + (mmix_elf_check_relocs): Move early return to after + mmix_elf_check_common_relocs call. + (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment. + (_bfd_mmix_before_linker_allocation): Rename from + _bfd_mmix_prepare_linker_allocated_gregs. All referers changed. + Arrange to set the initial relaxable size of sections. + (_bfd_mmix_after_linker_allocation): Rename from + _bfd_mmix_finalize_linker_allocated_gregs. + (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc. + (bfd_elf64_get_section_contents): Define. + * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE. + * libbfd.h, bfd-in2.h: Regenerate. + + * reloc.c (bfd_generic_relax_section): Default-set + section->_cooked_size here. + (bfd_generic_get_relocated_section_contents): Don't set it here. + Explain why. + +2003-10-17 John David Anglin + + * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if + output section has been discarded. + +2003-10-17 Shrinivas Atre + + * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode. + (h8300_reloc16_extra_cases): Likewise. + (h8300_bfd_link_add_symbols): Likewise. + +2003-10-17 Dhananjay Deshpande + + * cpu-h8300.c (h8300sxn_info_struct): Correct address size. + (h8300sn_info_struct): Likewise. + (h8300hn_info_struct): Likewise. + +2003-10-16 Pavel Roskin + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size + for sections which lack size info. + +2003-10-17 Danny Smith + + * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for + mingw32. + +2003-10-16 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn + undefined patterns with '*'. + +2003-10-16 H.J. Lu + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't + use the last CIE from a different section. + (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw + size of the output section. + +2003-10-07 Roland McGrath + + * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of + new section from p_align header field. + +2003-10-16 H.J. Lu + + * elf32-xtensa.c (xtensa_read_table_entries): The external size + of entry is 8 bytes. + +2003-10-15 Andrew Cagney + + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab + with NAME##_canonicalize_symtab. + * libcoff-in.h (coff_canonicalize_symtab): Update. + * xsym.h (bfd_sym_canonicalize_symtab): Update. + * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update. + * coffgen.c (coff_canonicalize_symtab): Update. + * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update. + * libnlm.h (nlmNAME(canonicalize_symtab)): Update. + * ieee.c (ieee_vec): Update comment. + * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update. + * mmo.c (mmo_canonicalize_symtab): Update. + * nlm-target.h (nlm_canonicalize_symtab): Update. + * nlmcode.h (nlm_canonicalize_symtab): Update. + * i386msdos.c (msdos_canonicalize_symtab): Update. + * hp300hpux.c (MY (canonicalize_symtab)): Update. + * oasys.c (oasys_canonicalize_symtab): Update. + * som.c (som_canonicalize_symtab): Update. + * pef.c (bfd_pef_canonicalize_symtab): Update. + * nlmcode.h (nlm_canonicalize_symtab): Update. + * xsym.c (bfd_sym_canonicalize_symtab): Update. + * vms.c (vms_canonicalize_symtab): Update. + * versados.c (versados_canonicalize_symtab): Update. + * mach-o.c (bfd_mach_o_canonicalize_symtab): Update. + * ieee.c (ieee_canonicalize_symtab): Update. + * pdp11.c (NAME(aout,canonicalize_symtab)): Update. + * reloc.c: Update comment. + * libaout.h (NAME(aout,canonicalize_symtab)): Update. + * coff64-rs6000.c (aix5coff64_vec): Update. + * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update. + * aoutx.h (NAME(aout,canonicalize_symtab)): Update. + * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update. + * hp300hpux.c (MY_canonicalize_symtab): Update. + * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update. + * aout-tic30.c (MY_canonicalize_symtab): Update. + * aout-target.h (MY_canonicalize_symtab): Update. + * ppcboot.c (ppcboot_canonicalize_symtab): Update. + * elf.c (_bfd_elf_canonicalize_symtab): Update. + * elfcode.h (elf_canonicalize_symtab): Update. + * ihex.c (ihex_canonicalize_symtab): Update. + * tekhex.c (tekhex_canonicalize_symtab): Update. + * binary.c (binary_canonicalize_symtab): Update. + * srec.c (srec_canonicalize_symtab): Update. + +2003-10-15 Kazu Hirata + + * elf32-h8300.c (elf_reloc_map): Fix a comment typo. + +2003-10-15 Kaz Kojima + + * elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL + relocations. + (sh_elf_check_relocs): Likewise. + + * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define. + (sh64_elf_merge_symbol_attribute): New. + * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define. + (sh64_elf64_merge_symbol_attribute): New. + +2003-10-14 Kaz Kojima + + * elf-bfd.h (struct elf_backend_data): New function pointer member + elf_backend_merge_symbol_attribute. + * elflink.h (elf_link_add_object_symbols): Adjust call to + elf_backend_merge_symbol_attribute if the backend defined it. + * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro. + (elfNN_bed): Add that to the initializer. + +2003-10-14 Bob Wilson + + * elf32-xtensa.c (get_is_linkonce_section): Delete. + (xtensa_is_property_section, xtensa_is_littable_section): Use + XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize + linkonce sections containing ".xt.insn" and ".xt.lit" substrings. + (xtensa_get_property_section_name): Check section name instead of + calling get_is_linkonce_section. Remove unused bfd parameter. Use + XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate + linkonce section names by appending ".xt.insn" or ".xt.lit". + (xtensa_read_table_entries): Remove bfd argument in call to + xtensa_get_property_section_name. Free section name when done. + (elf_xtensa_combine_prop_entries): Free leaking table. + +2003-10-13 Richard Sandiford + + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add + DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries. + (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't + handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations + that were needed. + (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS. + (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE. + +2003-10-13 H.J. Lu + + * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype. + (bfd_elf64_ia64_after_parse): Likewise. + * bfd-in2.h: Regenerated. + + * elfxx-ia64.c (oor_ip): New. + (oor_branch_size): Likewise. + (bfd_elfNN_ia64_after_parse): Likewise. + (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size + equals sizeof (oor_ip). + +2003-10-12 Kaz Kojima + + * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the + renumbering of some relocation numbers. + +2003-10-11 Alan Modra + + * coff-sh.c: Move definition of MAP and guard more code with + COFF_IMAGE_WITH_PE. + + * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done. + * bfd-in2.h: Regenerate. + +2003-10-10 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Likewise. + +2003-10-09 H.J. Lu + + * cofflink.c: Include "safe-ctype.h". + (coff_link_add_symbols): Use ISDIGIT instead of isdigit. + +2003-10-08 Dave Brolley + On behalf of Michael Snyder + + * archures.c: Add FRV fr550 machine. + * cpu-frv.c: Ditto. + * elf32-frv.c: Ditto. + * bfd-in2.h: Regenerate. + +2003-10-08 Thiemo Seufer + + * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code + for non-SGI N64 ABI. Improve code consitency. + +2003-10-07 Alexandre Oliva + + * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's + rightshift to 2. + +2003-10-07 Nathan Sidwell + + * libbfd-in.h (_bfd_link_section_stabs): Add string offset + parameter. + * cofflink.c (coff_link_add_symbols): Deal with split stab + sections. + * elflink.h (elf_link_add_object_symbols): Deal with split stab + sections. + * stabs.c (_bfd_link_section_stabs): Add string offset parameter. + * libbfd.h: Regenerated. + + * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc + overflow, set reloc start position to after the count + reloc. Subtract one from num relocs. Give error on 0xffff relocs + and no overflow. + * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc + overflow. + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >= + 0xffff. + +2003-10-06 H.J. Lu + + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the + last CIE/FDE if needed. + +2003-10-06 Nick Clifton + + * targets.c (_bfd_target_vector): Include bfd_elf64_sparc_vec if + BFD64 is enabled. + +2003-10-06 Matt Thomas + + * config.bfd: Move the hppa*-*-netbsd* case to the hppa*-*-linux* case. + +2003-10-06 Robert Millan + + * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet. + * config.bfd: Likewise. + * configure: Regenerate. + +2003-10-04 Christian Groessler + + * coff-z8k.c (extra_case): Fix displacement length check for R_JR + and R_CALLR. + +2003-10-04 Stephane Carrez + + * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc12.c: Likewise. + * elf32-m68hc1x.h: Likewise. + +2003-10-04 Stephane Carrez + + * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge + of flags between HC12 and HCS12. + +2003-10-04 Bryce McKinlay + + * merge.c (_bfd_merge_sections): Set SEC_EXCLUDE flag on sections + which become empty after merging. + +2003-09-30 Jakub Jelinek + + * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB, + R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB. + +2003-09-30 Chris Demetriou + + * archures.c (bfd_mach_mipsisa64r2): New define. + * bfd-in2.h: Regenerate. + * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. + * cpu-mips.c (I_mipsisa64r2): New enum value. + (arch_info_struct): Add entry for I_mipsisa64r2. + * elfxx-mips.c (_bfd_elf_mips_mach) + (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. + (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. + (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. + +2003-09-29 H.J. Lu + + * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New. + Handle SHN_IA_64_ANSI_COMMON. + (elf_backend_section_from_bfd_section): Defined. + +2003-09-26 H.J. Lu + + * elflink.c (elf_link_read_relocs_from_section): Add an argument + of a pointer to section. Check bad symbol index. + (_bfd_elf_link_read_relocs): Modify calls to + elf_link_read_relocs_from_section. + +2003-09-23 DJ Delorie + + * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8, + R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, + R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces, + R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, + R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, + R_SH_PSHA, R_SH_PSHL added. + (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8. + (sh_elf_relocate_section): Support new relocs. + +2003-09-23 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered + dynamic relocation offsets. + +2003-09-23 Alan Modra + + * simple.c (bfd_simple_get_relocated_section_contents): Free the + hash table using _bfd_generic_link_hash_table_free. + +2003-09-23 Alan Modra + + * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change + type of prefix_length and suffix_length to int. Rename "attributes" + to "attr". Comment. + (_bfd_elf_get_sec_type_attr): Update prototype. + * elf.c (get_special_section): Rewrite. + (_bfd_elf_get_sec_type_attr): Return struct rather than passing in + attr and type pointers. + (_bfd_elf_new_section_hook): Adjust for above. + (special_sections): Merge suffix with prefix. Set + prefix_length for all entries. Set suffix_length appropriately. + * elf32-m32r.c (m32r_elf_special_sections): Likewise. + * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. + * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. + * elf32-mcore.c (mcore_elf_special_sections): Likewise. + * elf32-sh64.c (sh64_elf_special_sections): Likewise. + * elf32-v850.c (v850_elf_special_sections): Likewise. + * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. + * elf64-alpha.c (elf64_alpha_special_sections): Likewise. + * elf64-hppa.c (elf64_hppa_special_sections): Likewise. + * elf64-ppc.c (ppc64_elf_special_sections): Likewise. + * elf64-sh64.c (sh64_elf64_special_sections): Likewise. + * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. + * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. + * elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags. + +2003-09-21 Daniel Jacobowitz + + * elf64-alpha.c (elf64_alpha_create_got_section): Initialize + ->got if the section already exists. + +2003-09-19 Nathan Sidwell + + * dwarf2.c (decode_line_info): Cope with an initially empty + filename table. + +2003-09-18 H.J. Lu + + * acinclude.m4: Include ../config/accross.m4. + * aclocal.m4: Regenerated. + + * configure.host (HOST_64BIT_TYPE): Remove if it is set to long + or long long. + (HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long. + (host64): Remove if HOST_64BIT_TYPE is set to long. + + * configure.in (HOST_64BIT_TYPE): Set according to the size of + long and long long. + (HOST_U_64BIT_TYPE): Likewise. + (host64): Likewise. + * configure: Regenerated. + +2003-09-19 Alan Modra + + * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note) + since some ABIs round up the size of the struct. + +2003-09-18 H.J. Lu + + * elflink.c (_bfd_elf_merge_symbol): Allow type change if + the old symbol is undefined and the new symbol is defined. + +2003-09-18 Andreas Schwab + + * simple.c (bfd_simple_get_relocated_section_contents): Use + _bfd_generic_link_hash_table_create instead of + bfd_link_hash_table_create. + +2003-09-10 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections + started with ".sbss" or "".sdata" as SHF_IA_64_SHORT. + +2003-09-10 John David Anglin + Randolph Chung + + * elf32-hppa.c (struct elf32_hppa_link_hash_entry, + hppa_link_hash_newfunc, hppa_build_one_stub, + elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static, + allocate_dynrelocs, elf32_hppa_size_dynamic_sections, + elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code + for generating import stubs for calls to statically linked PIC + functions. + (hppa_type_of_stub): Don't generate an import stub for calls to + statically linked pic functions. Generate import stubs for calls + in a shared object, to functions not in a regular file, and to + defined weak functions. Add new argument INFO. + (hppa_build_one_stub): Don't undef ADDIL_DP. + (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. + (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. + (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a + non-shared link. Convert instructions that use the the linkage table + pointer, or a facsimile thereof, to use the global data pointer when + the reloc has been changed. + +2003-09-08 Joel Brobecker + + * archures.c: Add new machine names for hppa. + * bfd-in2.h: Regenerate. + * cpu-hppa.c: Use the new machine names. + +2003-09-06 Stephane Carrez + + * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove + all_local_syms member. + * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms + to get the local symbols. + +2003-09-06 Stephane Carrez + + * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11. + (elf_backend_special_sections): Define.a + + PR savannah/4950: + * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors + section is read-only. + +2003-09-04 Nick Clifton + + * archures.c (bfd_mach_v850e1): Define. + * bfd-in2.h: Regenerate. + * cpu-v850.h (scan): Accept bfd_mach_v850e1. + (arch_info_struct): Include an entry for bfd_mach_v850e1. + * elf32-v850.c (v850_elf_object_p): Accept E_V850E1_ARCH flag. + (v850_elf_final_write_processing): Accept bfd_mach_v850e1. + (v850_elf_print_private_bfd_data): Interpret E_V850E1_ARCH flag. + (v850_elf_merge_private_bfd_data): Allow v850e1 binaries to be + linked with v850e binaries. Mark the output as v850e. + +2003-09-03 Nick Clifton + + * cofflink.c (_bfd_coff_link_input_bfd): Do not skip section + symbols that are used in relocs. + +2003-08-30 Robert Millan + + * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet. + * config.bfd: Likewise. + * configure: Regenerate. + +2003-08-31 Christian Groessler + + * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here + instead of returning bfd_reloc_continue. + +2003-08-31 Andreas Jaeger + + * merge.c: Update to ISO C90. + +2003-08-27 Ian Lance Taylor + + * configure.in: Check for strtoull. + * bfd.c (bfd_scan_vma): Use strtoull when available. + * configure, config.in: Regenerate. + + * configure.in: Define and substitute BFD_HOST_LONG_LONG. + * bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than + __GNUC__ when deciding whether to use long long for + BFD_HOST_64_BIT. + * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate. + +2003-08-27 Christian Groessler + + * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, + i860_howto_splitn_reloc, i860_howto_highadj_reloc): New + functions. + (elf32_i860_howto_table): Insert the new functions as + 'special_function's in the proper reloc type entries. + +2003-08-27 Richard Sandiford + + * elf32-frv.c (elf32_frv_relocate_section): Use + _bfd_elf_rela_local_sym. + +2003-08-26 Michael Snyder + + * cpu-frv.c: Remove unused enum. + +2003-08-25 Maciej W. Rozycki + + * reloc.c: Fix documentation for MIPS ELF relocations. + libbfd.h: Regenerate. + bfd-in2.h: Regenerate. + +2003-08-24 Jason Eckhardt + + * coff-i860.c (CALC_ADDEND): Define to be a no-op. + +2003-08-24 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and + shift by 2 before storing the relocated value. + +2003-08-23 Jason Eckhardt + + * coff-i860.c (coff_i860_reloc_nyi): New function. + (howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH, + LOWn, SPLITn, and BRADDR. + (RTYPE2HOWTO): Check that the r_type is within the howto_table + before trying to access the entry. + (coff_i860_rtype_to_howto): Likewise. + (coff_i860_reloc_type_lookup): New function. + (i860_reloc_processing): New function. + (coff_bfd_reloc_type_lookup): Define macro. + (RELOC_PROCESSING): Define macro. + Minor formatting adjustments. + +2003-08-23 Alan Modra + + * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner. + +2003-08-22 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the + .got section at 8 bytes. + +2003-08-21 Nick Clifton + + * cofflink.c: Update to ISO C90 and tidy up formatting. + +2003-08-21 Randolph Chung + + * elf32-hppa.c (elf32_hppa_object_p): For elf32-hppa-linux, objects + can have OSABI=Linux or OSABI=SysV. Check for both. + * elf64-hppa.c (elf64_hppa_object_p): Likewise. + +2003-08-21 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2003-08-20 Richard Sandiford + + * elf64-mips.c (elf_backend_copy_indirect_symbol): Define. + +2003-08-20 Nick Clifton + + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): New macro used to + replace some duplicated code in most elfxx-xxxx.c files. This + version uses the new fields in bfd_link_info. + + * elf-m10300.c (mn10300_elf_relocate_section): Use new macro. + * elf32-arm.h (elf32_arm_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + + * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols, + elf_hppa_remark_useless_dynamic_symbols, + elf_hppa_relocate_section): Use the new fields in + bfd_link_info structure. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise. + * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. + + * elflink.h (elf_link_output_extsym): Fix test for reporting + undefined symbols in shared libraries. Remove redundant test + of shlib_undefined when reporting references to forced local + symbols. + +2003-08-18 Andreas Schwab + + * libpei.h (bfd_pe_executable_p): Also recognize efi-app + executables. + +2003-08-17 Hans-Peter Nilsson + + * simple.c (bfd_simple_get_relocated_section_contents): Move + reloc_done hack to before first bfd_section_size call. Change all + returns to use new wrapper macro RETURN, restoring sec->reloc_done. + +2003-08-16 Alan Modra + + * elf64-ppc.c: Don't include elf/ppc.h. + +2003-08-14 Richard Sandiford + + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC + code to work with 64-bit bfds. + +2003-08-14 Alan Modra + + * dep-in.sed: Remove libintl.h. + * Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE. + (POTFILES.in): Remove target. + * Makefile.in: Regenerate. + +2003-08-12 Alan Modra + + * elf64-ppc.c (ppc64_elf_next_input_section): Update comment. + (ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs, + use the function sym from the previous reloc. + +2003-08-11 Jakub Jelinek + + * elf32-i386.c (elf_i386_relocate_section): Make undefined symbols + fatal if -pie. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + (ppc_elf_relocate_section) : Issue fatal error + on undefined symbols if -pie. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + +2003-08-11 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o + branch to __libc_start_main. + +2003-08-08 Dmitry Diky + + * archures.c: Add xW42 and xE42 parts. Sort MPU list according to + gcc order. + * cpu-msp430.c: Likewise. + * elf32-msp430.c: Likewise. + * bfd-in2.h: Regenerate. + +2003-08-07 Alan Modra + + * elfxx-target.h: Remove PTR cast. + * targets.c (bfd_target): Make backend_data const void *. + * elf-bfd.h: Constify all occurrences of struct elf_backend_data. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-mips.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfcode.h: Likewise. + * elfcore.h: Likewise. + * elflink.c: Likewise. + * elflink.h: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-mips.h: Likewise. + * elf.c (prep_headers): Remove useless check for null backend_data. + * bfd-in2.h: Regenerate. + + * elf-bfd.h: Remove PARAMS macro. Replace PTR with void *. + (NAME): Use ## rather than CONCAT4 macro. + * elfcode.h: Remove one remaining PARAMS macro. + * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes. + * elf-strtab.c: Likewise. + * elf-hppa.h: Likewise. + * elf32-hppa.h: Likewise. + * elf32-hppa.c: Likewise. + (elf32_hppa_add_symbol_hook): Delete. + (elf_backend_add_symbol_hook): Don't define. + * libhppa.h: Convert to C90. Replace INLINE with inline. + +2003-08-06 Alan Modra + + * elf64-ppc.c (ppc_stub_name): Tweak names for better readability. + (ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against + function descriptors, but warn. + (ppc_build_one_stub): Remove a couple of vars. Move code creating + stub syms so that we can avoid a stub sym if we already have a + plt sym. Do not redefine an existing symbol. + (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for + glink. + +2003-08-06 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-08-06 Alan Modra + + * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with + SEC_LINKER_CREATED. + +2003-08-05 Daniel Jacobowitz + + * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. + (elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it. + +2003-08-03 Jeff Muizelaar + + * coffcode.h (coff_slurp_line_table): Return with a warning + message if the line number table could not be read. + +2003-08-04 Nick Clifton + + * elflink.h (elf_link_add_object_symbols): Prepend "warning: " + to messages produced for .gnu.warning.SYMBOL sections. + +2003-08-04 Alan Modra + + * elfcode.h: Convert to C90, remove unneeded casts and prototypes. + * elfcore.h: Likewise. + * elflink.c: Likewise. + * elflink.h: Likewise. + * elf.c (sym_is_global): Remove INLINE. + (align_file_position): Replace INLINE with inline. + * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE. + (elf_file_p): Replace INLINE with inline. + +2003-08-02 Kaz Kojima + + * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. + +2003-08-01 H.J. Lu + + * elfxx-ia64.c (get_got): Align the .got section at 8 bytes. + +2003-08-01 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use + ElfNN_External_Rela instead of Elf64_External_Rela. + +2003-08-01 Nick Clifton + + * config.bfd: Add code to catch obsolete configurations and warn + about them unless --enable-obsolete is used. Use this to mark + vax-vms port as obsolete. + +2003-07-30 Alan Modra + + * elf32-ppc.c (ppc_elf_install_value): Tidy. + (ppc_elf_relax_section): Remove dead code. Remove unnecessary casts. + Formatting. + * elfxx-target.h: Remove PARAMS macro. Formatting. + +2003-07-30 Alan Modra + + * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF. + * elf64-ppc.c (get_fdh): New function, split out from + ppc64_elf_edit_opd. + (ppc64_elf_check_relocs): Use get_fdh. + (func_desc_adjust): Likewise. Tidy. + (ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error + exit. Use get_fdh. Account for superfluous dynamic relocs. + (ppc64_elf_relocate_section): Warning fix. + +2003-07-30 Jason Eckhardt + + * coff-i860.c: Convert to ISO C90. Remove superflous prototypes. + +2003-07-30 Jason Eckhardt + + * elf32-i860.c: Convert to ISO C90. Remove superflous prototypes. + +2003-07-30 Randolph Chung + + * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak. + * elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type. + +2003-07-30 Alan Modra + + * elf.c: Convert to C90, remove unnecessary prototypes and casts. + Replace PTR with void *. Formatting. + (_bfd_elf_assign_file_position_for_section): Remove INLINE. + (make_mapping): Likewise. + +2003-07-29 Alan Modra + + * elf64-ppc.c (func_desc_adjust): Give linker created function + descriptor symbols a size and type. + (ppc64_elf_relocate_section): Correct lq insn test. + +2003-07-28 Eric Christopher + + * elf32-ppc.c (R_PPC_RELAX32): New relocation. + (ppc_elf_install_value): New function. + (ppc_elf_sort_rela): Remove. + (ppc_elf_relax_section): Rewrite. Remove old relaxation + and replace with out of range branch stubs. + (ppc_elf_relocate_section): Handle R_PPC_RELAX32. + +2003-07-29 Alexandre Oliva + + * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table + from input_bfd. + +2003-07-28 Alan Modra + + * elf.c (special_sections): Set attributes for .got and .plt. + +2003-07-27 Alan Modra + + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs + on function descriptors. + (ELIMINATE_COPY_RELOCS): Expand comment. + (ppc64_elf_special_sections): Move. Don't include non-ppc64 sections. + Do include ".toc1". + +2003-07-25 H.J. Lu + + * elf.c (_bfd_elf_new_section_hook): Set the default section + type to SHT_NULL. + (elf_fake_sections): Set the section type based on asect->flags + if it is SHT_NULL. Don't abort on processor specific section + types. + +2003-07-25 H.J. Lu + + * bfd-in2.h: Regenerated. + +2003-07-25 H.J. Lu + + * elf-bfd.h (bfd_elf_special_section): New. + (elf_backend_data): Add special_sections, a pointer to + bfd_elf_special_section. + (elf_section_type). New. + (elf_section_flags): New. + (_bfd_elf_get_sec_type_attr): New. + + * elf.c (_bfd_elf_make_section_from_shdr): Always use the + real section type/flags. + (special_sections): New. + (get_special_section): New. + (_bfd_elf_get_sec_type_attr): New. + (_bfd_elf_new_section_hook): Check special_section to set + elf_section_type and elf_section_flags. + (elf_fake_sections): Don't use section name to set ELF section + data. + + * elf32-m32r.c (m32r_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-mcore.c (mcore_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-ppc.c (ppc_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-sh64.c (sh64_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-v850.c (v850_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf32-xtensa.c (elf_xtensa_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf64-alpha.c (elf64_alpha_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf64-hppa.c (elf64_hppa_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf64-ppc.c (ppc64_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elf64-sh64.c (sh64_elf64_special_sections): New. + (elf_backend_special_sections): Defined. + + * elfxx-ia64.c (elfNN_ia64_special_sections): New. + (elf_backend_special_sections): Defined. + + * elfxx-mips.c (_bfd_mips_elf_special_sections): New. + + * elfxx-mips.h (_bfd_mips_elf_special_sections): New. + (elf_backend_special_sections): Defined. + + * elfxx-target.h (elf_backend_special_sections): New. Default + to NULL. + (elfNN_bed): Initialize special_sections. + + * section.c (bfd_abs_section): Remove const. + (bfd_und_section): Likewise. + (bfd_com_section): Likewise. + (bfd_ind_section): Likewise. + +2003-07-24 Nick Clifton + + * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code + sections are assigned the LOAD attribute. + +2003-07-25 Kaz Kojima + + * elf32-sh.c: Convert to C90. Replace PTR with void *. + * elf32-sh64-com.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-sh64.h: Likewise. + * elf64-sh64.c: Likewise. + +2003-07-24 Kaz Kojima + + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. + (allocate_dynrelocs): Likewise. + (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL. + (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. + +2003-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-07-23 Bob Wilson + + * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move + near the beginning of the file. Swap order of arguments. Call + _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0. + (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call. + (elf_xtensa_relocate_section): Likewise. + (shrink_dynamic_reloc_sections): Likewise. + +2003-07-23 Bob Wilson + + * elf32-xtensa.c (plt_reloc_count): Fix typo in comment. + (elf_xtensa_size_dynamic_sections): Use elf_discarded_section. + (elf_xtensa_combine_prop_entries): Avoid returning non-zero without + first printing an error message. + (elf_xtensa_finish_dynamic_sections): Likewise. + (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when + discarding literal table entries. + (elf_xtensa_merge_private_bfd_data): Remove newline from error message. + (elf_xtensa_do_asm_simplify): Likewise. + +2003-07-23 Stephane Carrez + + * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when + we have a local symbol in common section. + +2003-07-22 H.J. Lu + + * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for + weak symbols. + +2003-07-22 Nick Clifton + + * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to + expected RS6000 storage classes. + +2003-07-21 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark + output_bfd unused to silence gcc. + +2003-07-21 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2003-07-21 Alan Modra + + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use.. + (_bfd_elf_symbol_refs_local_p): ..this. Declare. + * elflink.c (_bfd_elf_symbol_refs_local_p): New function. + * elf32-i386.c (elf_i386_relocate_section): Remove h NULL test + now done in _bfd_elf_symbol_refs_local_p. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + +2003-07-18 H.J. Lu + + * elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change. + +2003-07-18 H.J. Lu + + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo. + (SYMBOL_CALLS_LOCAL): Likewise. + + * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE + immediately if symbol isn't defined locally. + +2003-07-18 Richard Henderson + + * elflink.c (_bfd_elf_dynamic_symbol_p): New. + * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it. + (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it. + * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise. + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. + * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise. + * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise. + Update all callers to provide the relocation being resolved. + +2003-07-17 Shaun Jackman + + * config.bfd (arm-wince-pe): Add -DARM_COFF_BUGFIX to + targ_cflags. + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + * po/sv.po: New Swedish translation. + * po/opcodes.pot: Regenerate. + +2003-07-16 Richard Henderson + + * config.bfd, configure.host, configure.in: Remove ia64-aix support. + * elfxx-ia64.c, targets.c: Likewise. + +2003-07-16 Richard Henderson + + * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false + for symbols defined locally plus -Bsymbolic. Tidy logic. + +2003-07-15 Richard Sandiford + + * archures.c (bfd_mach_mips7000): New. + * bfd-in2.h: Regenerated. + * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. + * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. + (mips_mach_extensions): Add an entry for it. + +2003-07-14 Nick Clifton + + * po/tr.po: Update with latest version. + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + * Makfile.in: Regenerate. + * configure: Regenerate. + +2003-07-12 Jeff Baker + + * bfd/config.bfd (__QNXTARGET__): Define for Neutrino architectures. + * bfd/elf32-arm.h (ELF_MAXPAGESIZE): Set to 4k for Neutrino. + * bfd/elf32-sh.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. + * bfd/elf32-ppc.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. + +2003-07-12 Jeff Muizelaar + + * coffcode.h (coff_set_section_contents): Set the + IMAGE_FILE_32BIT_MACHINE flag for PE targets. + +2003-07-11 Richard Sandiford + + * bfd-in.h (bfd_h8300_pad_address): Declare. + * bfd-in2.h: Regenerate. + * cpu-h8300.c (bfd_h8300_pad_address): New function. + * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize + addresses before checking whether they can be relaxed. + (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check. + Don't complain about overflows in general 8-bit relocations. + * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address. + Fix handling of R_H8_DIR24A8. + +2003-07-11 Richard Sandiford + + * elf32-h8300.c: Convert function prototypes and definitions + to C90 syntax. + * coff-h8300.c: Likewise. + * cpu-h8300.c: Likewise. + +2003-07-11 Alan Modra + + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Likewise. + +2003-07-10 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new + .got.loc section. Do not set SEC_ALLOC or SEC_LOAD flags for the + .xt.lit.plt section. + (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section + and allocate memory for it. + (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output + section to the .got.loc section. + (elf_xtensa_finish_dynamic_sections): Fix up call to + elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to + the address of .got.loc. + (relax_property_section): Shrink .got.loc to match changes in any + literal table section. + (xtensa_is_property_section): Change to match + xtensa_get_property_section_name. + (xtensa_is_littable_section): New. + +2003-07-10 H.J. Lu + + * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of + -1LL. + +2003-07-10 Alan Modra + + * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo. + (BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo. + Run "make dep-am". + * Makefile.in: Regenerate. + +2003-07-10 Alexandre Oliva + + 2001-09-12 Alexandre Oliva + * elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. + (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. + 2001-06-02 Nick Clifton + * elf32-am33lin.c: Rename global functions. + 2001-05-09 Alexandre Oliva + * config.bfd (am33_2.0, am33_2.0-*-linux*): Added. + * configure.in (bfd_elf32_am33lin_vec): Added. + * Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo. + (elf32-am33lin.lo): List dependencies. + * aclocal.m4, configure, Makefile.in: Rebuilt. + * elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, + ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if + ELF_ARCH was not defined before. + (elf_symbol_leading_char): Define if not defined. + * elf32-am33lin.c: Override the definitions above. + * targets.c (bfd_elf32_am33lin_vec): New. + +2003-07-09 Alexandre Oliva + + 2002-12-12 Alexandre Oliva + * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Initialize + pcrel_relocs_copied. + 2001-12-13 Alexandre Oliva + * elf-m10300.c (ELF_DYNAMIC_INTERPRETER): Renamed from + ld-linux.so.2 to ld.so.1. + 2001-10-10 Alexandre Oliva + * elf-m10300.c (elf_mn10300_sizeof_plt0): New macro. + (_bfd_mn10300_elf_adjust_dynamic_symbol): Use it. + (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. + * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Allocate + .rela.* section contents with bfd_zalloc. + 2001-09-25 Alexandre Oliva + * elf-m10300.c: Added declarations for functions missing them. + Merge some shared-library changes from the i386 back-end. Use + R_MN10300_RELATIVE instead of R_MN10300_PCREL32 and + R_MN10300_GLOB_DAT instead of R_MN10300_32 where appropriate. + (struct elf32_mn10300_link_hash_entry): Remove duplicates of + members of elf_link_hash_entry. Adjusted references. + (mn10300_elf_final_link_relocate): dynobj was already loaded + into a local variable, use it. + 2001-09-21 Nick Clifton + * elf-m10300.c: Add missing function prototypes. + 2001-08-24 Alexandre Oliva + * elf-m10300.c (mn10300_elf_relocate_section): Don't compute + relocation for dynamic relocations. + 2001-05-16 Alexandre Oliva + * reloc.c (BFD_RELOC_MN10300_GOTOFF24): New. + * elf-m10300.c: Introduce GOTPC16, GOTOFF24, GOTOFF16 and + PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32. + (_bfd_mn10300_elf_create_dynamic_sections): Move creation ot PLT... + (_bfd_mn10300_elf_create_got_section): ... here, so that its + adress is already known at the time we compute relaxations. + (mn10300_elf_relax_section): Relax GOTPC32, GOTOFF32, GOT32 + and PLT32 to narrower relocations. + * libbfd.h, bfd-in2.h: Rebuilt. + 2001-04-12 Alexandre Oliva + * reloc.c (BFD_RELOC_MN10300_GOT32, BFD_RELOC_MN10300_GOT24, + BFD_RELOC_MN10300_GOT16, BFD_RELOC_MN10300_COPY, + BFD_RELOC_MN10300_GLOB_DAT, BFD_RELOC_MN10300_JMP_SLOT, + BFD_RELOC_MN10300_RELATIVE): New relocs. + * libbfd.h, bfd-in2.h: Rebuilt. + * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): New. + (struct elf32_mn10300_link_hash_entry): Added DSO-related + fields. + (elf_mn10300_howto): Defined new relocation types. + (mn10300_reloc_map): Map them. + (_bfd_mn10300_elf_create_got_section): New fn. + (mn10300_elf_check_relocs): Handle PIC relocs. + (mn10300_elf_final_link_relocate): Likewise. + (mn10300_elf_relocate_section): Handle DSOs. + (PLT0_ENTRY_SIZE, PLT_ENTRY_SIZE, PIC_PLT_ENTRY_SIZE): New macros. + (elf_mn10300_plt0_entry, elf_mn10300_plt_entry, + elf_mn10300_pic_plt_entry): New. + (elf_mn10300_sizeof_plt, elf_mn10300_plt_plt0_offset, + elf_mn10300_plt0_linker_offset, elf_mn10300_plt0_gotid_offset, + elf_mn10300_plt_temp_offset, elf_mn10300_plt_symbol_offset, + elf_mn10300_plt_reloc_offset: New macros. + (ELF_DYNAMIC_INTERPRETER): Likewise. + (_bfd_mn10300_elf_create_dynamic_sections): New function. + (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise. + (_bfd_mn10300_elf_discard_copies): Likewise. + (_bfd_mn10300_elf_size_dynamic_sections): Likewise. + (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. + (_bfd_mn10300_elf_finish_dynamic_sections): Likewise. + (elf_backend_can_gc_sections, + elf_backend_create_dynamic_sections, + elf_backend_adjust_dynamic_sections, + elf_backend_size_dynamic_sections, + elf_backend_finish_dynamic_symbol, + elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, + elf_backend_plt_readonly, elf_backend_want_plt_sym, + elf_backend_got_header_size, elf_backend_plt_header_size): New + macros. + +2003-07-09 Alexandre Oliva + + 2001-05-06 Alexandre Oliva + * elf-m10300.c (compute_function_info): Account for AM33 + registers in `movm' when computing stack space for `call' when + linking for AM33/2.0 link. + 2000-04-01 Alexandre Oliva + * archures.c (bfd_mach_am33_2): Renamed from bfd_mach_am332. + * bfd-in2.h: Rebuilt. + * cpu-m10300.c (bfd_am33_2_arch): Renamed from bfd_am332_arch. + * elf-m10300.c: Updated. + 2000-03-31 Alexandre Oliva + * archures.c (bfd_mach_am332): Defined. + * bfd-in2.h: Rebuilt. + * cpu-m10300.c (bfd_am332_arch): Defined. + (bfd_am33_arch): Chained with am33-2. + * elf-m10300.c (elf_mn10300_mach): Handle am332. + (_bfd_mn10300_elf_final_write_processing): Likewise. + +2003-07-09 H.J. Lu + + * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1LL. + +2003-07-10 Alan Modra + + * elf64-ppc.c (bfd_elf64_mkobject): Define. + (struct ppc64_elf_obj_tdata): New. + (ppc64_elf_tdata, ppc64_tlsld_got): Define. + (ppc64_elf_mkobject): New function. + (struct got_entry): Add "owner". Move "tls_type". + (struct ppc_link_hash_table): Delete "relgot", "tlsld_got". + (ppc64_elf_init_stub_bfd): New function. + (create_got_section): Create header .got in dynobj. Create .got + and .rela.got in each bfd. Stash pointers in ppc64_elf_obj_tdata. + (ppc64_elf_create_dynamic_sections): Don't call create_got_section. + Look for dynobj .got, and test it. + (ppc64_elf_copy_indirect_symbol): Adjust for changed got. + (update_local_sym_info): Likewise. + (ppc64_elf_check_relocs): Likewise. + (ppc64_elf_gc_sweep_hook): Likewise. + (ppc64_elf_tls_optimize): Likewise. + (allocate_dynrelocs): Likewise. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc64_elf_relocate_section): Likewise. + (ppc64_elf_next_toc_section): Update comment. + (toc_adjusting_stub_needed): Remove unneeded cast. + (ppc64_elf_build_stubs): Check for stub sections in stub bfd by + testing section flags. + (ppc64_elf_build_stubs): Likewise. + (ppc64_elf_size_stubs): Likewise. Remove stub_bfd param. + (ppc64_elf_finish_dynamic_sections): Write out got sections. + (func_desc_adjust): Copy over dynamic info for undef weaks. + * elf64-ppc.h (ppc64_elf_init_stub_bfd): Declare. + (ppc64_elf_size_stubs): Update prototype. + * elflink.h (elf_link_sort_relocs): Use link_orders to find reldyn + input sections rather than scanning dynobj. + +2003-07-09 Richard Sandiford + + * elfxx-mips.c (mips_elf_link_hash_entry): Remove min_dyn_reloc_index. + (bfd_mips_elf_swap_msym_in, bfd_mips_elf_swap_msym_out): Delete. + (mips_elf_create_msym_section): Delete. + (mips_elf_create_dynamic_relocation): Don't set min_dyn_reloc_index. + (_bfd_mips_elf_copy_indirect_symbol): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Don't create .msym. + (_bfd_mips_elf_size_dynamic_sections): Don't calculate its size. + (_bfd_mips_elf_size_dynamic_sections): Don't add DT_MIPS_MSYM. + (_bfd_mips_elf_finish_dynamic_symbol): Don't add symbols to .msym. + (_bfd_mips_elf_finish_dynamic_sections): Likewise. + +2003-07-09 Richard Sandiford + + * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the + symbols protected. + +2003-07-09 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Fix handling + of relocations whose offset is -2. + +2003-07-09 Richard Sandiford + + * bfd/elfxx-mips.c (mips_elf_create_dynamic_relocation): Treat + forced-local symbols like other locals. Don't create relocations + against STN_UNDEF in irix objects. + +2003-07-09 Richard Sandiford + + * bfd/elfxx-mips.c (mips_elf_create_dynamic_relocation): In SGI- + compatible objects, add the values of defined external symbols + to the addend. + +2003-07-09 Richard Sandiford + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Always + initialize a GOT entry to the symbol's st_value. + +2003-07-08 Alan Modra + + * elf-bfd.h (struct elf_obj_tdata): Move linker_section_pointers.. + * elf32-ppc.c (struct ppc_elf_obj_tdata): ..to here. New. + (ppc_elf_tdata): Define. + (elf_local_ptr_offsets): Adjust. + (ppc_elf_mkobject): New function. + (bfd_elf32_mkobject): Define. + + * elfcode.h (elf_object_p): Allocate tdata via _bfd_set_format. + * elfcore.h (elf_core_file_p): Likewise. + * section.c (bfd_section_init): Remove prototype. + +2003-07-08 Alan Modra + + * elf-bfd.h (struct elf_link_hash_entry): Remove linker_section_pointer + field. + (enum elf_linker_section_enum): Delete. + (struct elf_linker_section): Delete. + (struct elf_linker_section_pointers): Delete. + (struct elf_obj_tdata): Remove #if 0 chunk. Remove linker_section. + Make linker_section_pointers a void**. + (elf_local_ptr_offsets, elf_linker_section): Don't define. + * elf32-ppc.c (enum elf_linker_section_enum): New, cut-down version + of old item in elf-bfd.h. + (struct elf_linker_section): Likewise. + (struct elf_linker_section_pointers): Likewise. + (elf_local_ptr_offsets): Define. + (struct ppc_elf_link_hash_entry): Add linker_section_pointer. + (ppc_elf_link_hash_newfunc): Init it. + (struct ppc_elf_link_hash_table): Add sbss. + (ppc_elf_link_hash_table_create): zmalloc rather than clearing + individual fields. + (elf_create_linker_section): Fold into.. + (ppc_elf_create_linker_section): ..here. Remove hole_size code. + Make rela section here if shared. + (elf_find_pointer_linker_section): Pass lsect rather than enum. + (elf_create_pointer_linker_section): Adjust. zalloc rather than + clearing in a loop. + (elf_finish_pointer_linker_section): Adjust. Don't make rela + section here. + (ppc_elf_check_relocs): Adjust. + (ppc_elf_add_symbol_hook): Tighten hash creator test. Remove code + creating .sbss by hand. + * elf.c (_bfd_elf_link_hash_newfunc): Adjust. + +2003-07-04 Jakub Jelinek + + * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to + complain_overflow_bitfield. + * elf64-s390.c (elf_howto_table): Change R_390_GOT12 to + complain_overflow_bitfield. + +2003-07-04 Jakub Jelinek + + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return + true even if -pie. + +2003-07-04 Jakub Jelinek + + * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec. + (elfNN_ia64_dynamic_symbol_p): Change info->shared into + !info->executable. + (get_fptr): For -pie create .opd as writable section and create + .rela.opd as well. + (elfNN_ia64_check_relocs): Change info->shared into + !info->executable. + (allocate_fptr): Likewise. + (allocate_dynrel_entries): Account for a relative reloc for -pie + @fptr(). Don't account for a relative reloc if -pie want_ltoff_fptr + for undefweak symbol. Account for an IPLT reloc in .rela.opd + section if -pie. + (set_got_entry): Don't create a relative reloc if -pie + want_ltoff_fptr for undefweak symbol. + (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie. + (elfNN_ia64_relocate_section): Emit a relative reloc for -pie + @fptr(). + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol + even if -pie. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + +2003-07-04 Paul Clarke + + * elf32-h8300.c (R_H8_DIR32A16): Fix name field. + (elf32_h8_relax_section) : Adjust position of relocation. + : Fix type of relocation. + +2003-07-04 Kaz Kojima + + * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic + sections were created already. Remove unnecessary tests of + the previous change. + +2003-07-04 Kaz Kojima + + * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call + bfd_make_section for existing sections. + +2003-07-04 Alan Modra + + * elf32-sparc.c (elf32_sparc_check_relocs): Don't call + create_got_section if we already have done so. + * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. + (sh_elf_check_relocs): Likewise. + (sh_elf_adjust_dynamic_symbol): Delete "dynobj" var. Use + htab->root.dynobj instead. + (sh_elf_check_relocs): Likewise. + (sh_elf_finish_dynamic_sections): Likewise. + + * section.c (bfd_make_section): Return NULL for existing section. + +2003-07-04 Alan Modra + + * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call + ppc_elf_create_got if we've already done so. + + * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare. + (_bfd_elf_find_pointer_linker_section): Likewise. + (bfd_elf32_create_pointer_linker_section): Likewise. + (bfd_elf32_finish_pointer_linker_section): Likewise. + (bfd_elf64_create_pointer_linker_section): Likewise. + (bfd_elf64_finish_pointer_linker_section): Likewise. + (_bfd_elf_make_linker_section_rela): Likewise. + * elfcode.h (elf_create_pointer_linker_section): Don't define. + (elf_finish_pointer_linker_section): Likewise. + * elflink.c (_bfd_elf_make_linker_section_rela): Delete. + (_bfd_elf_create_linker_section): Move this function.. + (_bfd_elf_find_pointer_linker_section): ..and this.. + * elflink.h (elf_create_pointer_linker_section): ..and this.. + (elf_finish_pointer_linker_section): ..and this.. + * elf32-ppc.c: ..to here, renaming to the following, and adjusting + calls. + (elf_create_linker_section): Convert to C90, tidy. + (elf_find_pointer_linker_section): Likewise. + (elf_create_pointer_linker_section): Likewise. + (elf_finish_pointer_linker_section): Likewise. + * elf32-i370.c: Delete #if 0 code. + +2003-07-02 Alan Modra + + * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and + _restf* to be satisfied by shared libs, and always force them local. + (toc_adjusting_stub_needed): Avoid scanning linker created sections. + Correct test for "bl". + (ppc64_elf_relocate_section ): Correct test for + primary opcode 31. + +2003-07-01 Martin Schwidefsky + + * elf32-s390.c (s390_elf_ldisp_reloc): New prototype. + (s390_tls_reloc): New function. + (elf_howto_table): Add long displacement relocations R_390_20, + R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20. + (elf_s390_reloc_type_lookup): Likewise. + (elf_s390_check_relocs): Likewise. + (elf_s390_gc_sweep_hook): Likewise. + (elf_s390_relocate_section): Likewise. + * elf64-s390.c: Same changes as for elf32-s390.c. + * reloc.c: Add long displacement relocations BFD_RELOC_390_20, + BFD_RELOC_390_GOT20, BFD_RELOC_390_GOTPLT20 and + BFD_RELOC_390_TLS_GOTIE20. + * bfd-in2.h: Regenerate. + * libbfd.h: Likewise. + +2003-06-30 Alan Modra + + * cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts. + (ins_imms, ins_immsm1u4): Likewise. Warning fix. + +2003-06-29 Alan Modra + + * archive.c: Convert to C90, remove unnecessary prototypes and casts. + Replace PTR with void *. Formatting. + * archive64.c: Likewise. + * archures.c: Likewise. + * bfd-in.h: Likewise. + * bfd.c: Likewise. + * bfdio.c: Likewise. + * bfdwin.c: Likewise. + * cache.c: Likewise. + * corefile.c: Likewise. + * format.c: Likewise. + * init.c: Likewise. + * libbfd-in.h: Likewise. + * libbfd.c: Likewise. + * linker.c: Likewise. + * opncls.c: Likewise. + * reloc.c: Likewise. + * section.c: Likewise. + * simple.c: Likewise. + * syms.c: Likewise. + * targets.c: Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + + * ecoff.c (bfd_debug_section): Add missing kept_section initialization. + * libbfd-in.h (_bfd_sh_align_load_span): Don't declare if defined. + * libbfd.c (COERCE32, EIGHT_GAZILLION): Simplify. + (bfd_getb64): Rewrite without parens. + (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. + * cache.c (insert, snip): Remove INLINE. + * linker.c (bfd_link_add_undef): Likewise. + +2003-06-29 Andreas Jaeger + + * elf64-x86-64.c: Convert to ISO C90 prototypes, remove + unnecessary prototypes. Replace PTR with void *. + (elf64_x86_64_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL to + trim plt entries. Move undefweak non-default visibility test ... + (allocate_dynrelocs): ... from here. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. + Change all callers. + (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. Use + SYMBOL_REFERENCES_LOCAL for dynreloc check. + (elf64_x86_64_relocate_section): Use SYMBOL_CALLS_LOCAL for + dynreloc and .got relocs. + (elf64_x86_64_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL + for .got relocs. + +2003-06-29 Thiemo Seufer + + * elfxx-mips.c: Allow lazy binding for R_MIPS_JALR. + +2003-06-27 Nick Clifton + + * opncls.c (bfd_add_gnu_debuglink_section): Rename to + bfd_add_gnu_debuglink_section and only create the section, do not + fill in its contents. + (bfd_fill_in_gnu_debuglink_section): New function. Fill in the + contents of a .gnu-debuglink section. + * bfd-in2.h: Regenerate. + +2003-06-27 Thiemo Seufer + + * elfxx-mips.c: Revert .got alignment to 2**4. + +2003-06-27 Thiemo Seufer + + * elf32-mips.c: Fix addend for _gp_disp special symbol. + +2003-06-27 Thiemo Seufer + + * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default + relocation header setup. + +2003-06-25 Alan Modra + + * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast. + (ppc_elf_reloc_type_lookup): Modify comment. + (ppc_elf_info_to_howto): Ditto. + (ppc_elf_relocate_section): Ditto. + (ppc_elf_check_relocs): Call ppc_elf_howto_init. + +2003-06-25 Alan Modra + + * aout-ns32k.c: Correct spelling of "relocatable". + * aoutx.h: Likewise. + * bfd-in.h: Likewise. + * bfd.c: Likewise. + * bout.c: Likewise. + * coff-a29k.c: Likewise. + * coff-alpha.c: Likewise. + * coff-arm.c: Likewise. + * coff-i386.c: Likewise. + * coff-i860.c: Likewise. + * coff-i960.c: Likewise. + * coff-m68k.c: Likewise. + * coff-m88k.c: Likewise. + * coff-mcore.c: Likewise. + * coff-mips.c: Likewise. + * coff-or32.c: Likewise. + * coff-ppc.c: Likewise. + * coff-rs6000.c: Likewise. + * coff-sh.c: Likewise. + * coff-tic80.c: Likewise. + * coff64-rs6000.c: Likewise. + * cofflink.c: Likewise. + * cpu-ns32k.c: Likewise. + * ecoff.c: Likewise. + * ecofflink.c: Likewise. + * elf-bfd.h: Likewise. + * elf-eh-frame.c: Likewise. + * elf-hppa.h: Likewise. + * elf-m10200.c: Likewise. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arm.h: Likewise. + * elf32-avr.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-d10v.c: Likewise. + * elf32-dlx.c: Likewise. + * elf32-fr30.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-h8300.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-i860.c: Likewise. + * elf32-i960.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-iq2000.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-mips.c: Likewise. + * elf32-msp430.c: Likewise. + * elf32-openrisc.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xstormy16.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-mips.c: Likewise. + * elf64-mmix.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfcode.h: Likewise. + * elflink.h: Likewise. + * elfn32-mips.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * i386linux.c: Likewise. + * ieee.c: Likewise. + * libcoff-in.h: Likewise. + * linker.c: Likewise. + * m68klinux.c: Likewise. + * pdp11.c: Likewise. + * pe-mips.c: Likewise. + * peXXigen.c: Likewise. + * reloc.c: Likewise. + * reloc16.c: Likewise. + * sparclinux.c: Likewise. + * sunos.c: Likewise. + * syms.c: Likewise. + * versados.c: Likewise. + * vms.c: Likewise. + * xcofflink.c: Likewise. + * bfd-in2.h: Regenerate. + * libcoff.h: Regenerate. + * libbfd.h: Regenerate. + +2003-06-24 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against + local sym errors. + + * elf32-i386.c: Convert to C90 function definitions, remove unnecessary + prototypes and casts. Replace PTR with void *. Formatting. + * elf32-ppc.c: Likewise. Break long strings too. + (ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type. + (ppc_elf_unhandled_reloc): Internationalize error message. + * elf32-ppc.h: Remove PARAMS. + +2003-06-23 Mark Mitchell + + * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count + APUinfo slots. + (ppc_elf_final_write_processing): Likewise. + +2003-06-23 H.J. Lu + + * elflink.h (elf_link_input_bfd): Check raw size when using + kept_section to preserve debug information discarded by + linkonce. + +2003-06-20 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_table): Add top_id. + (ppc64_elf_setup_section_lists): Set it. + (ppc64_elf_relocate_section): Check sym section id against top_id. + (ppc_build_one_stub): Comment on top_id. + +2003-06-20 Ralf Corsepius + + * config.bfd: Add tic4x-*-rtems*. + +2003-06-20 Alan Modra + + * elf64-ppc.c: Convert to C90 function definitions, remove unnecessary + prototypes and casts. Replace PTR with void *. Format copyright. + Mention ABI links. + (struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt, + sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt. + (ppc_type_of_stub): Make r_type an enum. + (ppc64_elf_size_stubs): Likewise. + * elf64-ppc.h: Remove PARAMS macro. + +2003-06-19 Alan Modra + + * elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of + elf hash tab fields. + + * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype. + (ppc64_elf_info_to_howto): Likewise. + (ppc64_elf_build_stubs): Add "stats" param, and print statistics. + * elf64-ppc.h (ppc64_elf_build_stubs): Adjust prototype. + +2003-06-19 Alan Modra + + * elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32 + reloc overflow on discarded eh_frame entries. + +2003-06-19 Alan Modra + + * elf64-ppc.c (toc_adjusting_stub_needed): New function. + (ppc64_elf_next_input_section): Use it here to set has_gp_reloc. + Return error condition. + (ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections + that have has_gp_reloc set. + (struct ppc_link_hash_table): Add stub_count. + (ppc_build_one_stub): Increment it. + (ppc64_elf_link_hash_table_create): zmalloc rather than clearing + individual fields. + * elf64-ppc.h (ppc64_elf_next_input_section): Update prototype. + +2003-06-18 Alan Modra + + * elflink.h (elf_gc_record_vtentry): Revert last change. Correct + size calculation from addend. Round size up. + +2003-06-18 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section) : When linking a program, don't complain about a + symbol from a normal object or an undefined weak symbol. + +2003-06-18 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on + R_PPC64_TOC relocs. + +2003-06-17 H.J. Lu + + * section.c (struct sec): Put back kept_section. + (STD_SECTION): Put back kept_section initialization. + * bfd-in2.h: Regenerate. + + * elflink.h (elf_link_input_bfd): Also check discarded linkonce + sections for relocateable output. Use kept_section to preserve + debug information discarded by linkonce. + +2003-06-17 Roland McGrath + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Support + segment-relative relocation between different segments. + +2003-06-17 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc + optimizations earlier. + + * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index. + Restore previous input_list type. + (ppc64_elf_link_hash_table_create): Undo last change. + (ppc64_elf_setup_section_lists): Reinstate code setting up input lists + per output section, but don't bother with bfd_abs_section marker. + (ppc64_elf_next_input_section): Adjust for multiple input section + lists. + (group_sections): Likewise. + +2003-06-17 Jakub Jelinek + + * elf64-ppc.c (ppc64_elf_relocation_section): Ensure + *r_offset == r_addend for RELATIVE relocs against .got. + +2003-06-17 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs. + +2003-06-17 Nick Clifton + + * elflink.h (elf_gc_record_vtentry): Allocate an extra element + in the vtable_entries_used array to allow for the accessing + the largest element. + +2003-06-17 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify + input_list. + (ppc64_elf_link_hash_table_create): Init input_list here. + (ppc64_elf_setup_section_lists): Remove code setting up input lists + per output section. Set toc_off for abs and other standard sections. + (ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc. + (ppc64_elf_next_input_section): Adjust for single input section list. + Don't set toc_curr from input bfds that haven't set elf_gp. + (group_sections): Adjust for single input section list. + + * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero. + +2003-06-16 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel + tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a + dtprel entry. Ensure TLS_LD DTPMOD reloc has a zero addend. Write + got section for RELATIVE relocs. Fix wrong comment. Change condition + under which dynamic relocs update the section contents. + +2003-06-13 Robert Millan + + * config.bfd: Add i386-netbsd-gnu target. + +2003-06-12 Nick Clifton + + * opncls.c (calc_crc32): Rename to + bfd_calc_gnu_debuglink_crc32 and export. + (GNU_DEBUGLINK): Define and use to replace occurrences of + hard-coded ".gnu_debuglink" in the code. + (get_debug_link_info): Prevent aborts by replacing call to + xmalloc with a call to malloc. + (find_separate_debug_file): Prevent aborts by replacing calls + to xmalloc and xstrdup with calls to malloc and strdup. + (bfd_add_gnu_debuglink): New function. Add a .gnu_debuglink + section to a bfd. + * bfd-in2.h: Regenerate. + +2003-06-12 Federico G. Schwindt + + * config.bfd (i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): + New target (was i[3-7]86-*-openbsd* before). + (i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec. + (vax-*-openbsd*): New target. + +2003-06-11 Thiemo Seufer + + * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options + for n32, too. + (MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too. + (mips_elf_rel_dyn_section): Use appropriate section alignment. + (mips_elf_create_got_section): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Likewise. + +2003-06-11 Thiemo Seufer + + * elf32-mips.c (mips_elf_generic_reloc): New Function. + (elf_mips_howto_table_rel): Use it. + (gprel32_with_gp): Move prototype. + (mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. + Use mips_elf_generic_reloc. + (mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. + Code cleanup. + (_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of + zero addend. + (mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic + as in the other *_gprel*_reloc functions. + (gprel32_with_gp): Handle partial_inplace properly. + (mips32_64bit_reloc): Use mips_elf_generic_reloc. + (mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend. + Do addend handling directly instead of calling + _bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly. + * elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead + of zero addend. Handle partial_inplace properly. + (mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero + addend. + (mips_elf64_gprel16_reloc): Likewise. + (mips_elf64_literal_reloc): Likewise. + (mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment + logic as in the other *_gprel*_reloc functions. Handle + partial_inplace properly. + (mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero + addend. Handle partial_inplace properly. + (mips16_gprel_reloc): Likewise. Do addend handling directly instead + of calling _bfd_mips_elf_gprel16_with_gp. + * elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL. + (mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead + of zero addend. + (mips_elf_shift6_reloc): Handle partial_inplace properly. + (mips16_gprel_reloc): Likewise. Do addend handling directly instead + of calling _bfd_mips_elf_gprel16_with_gp. + * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle + partial_inplace properly. Fix wrong addend handling. Fix overflow + check. + (_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and + exported. + (mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend. + (_bfd_mips_elf_relocate_section): Likewise. + (mips_elf_create_dynamic_relocation): Update sec_info_type access. + * elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration. + (_bfd_mips_elf_sign_extend): New prototype. + +2003-06-11 Federico G. Schwindt + + * config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): + New target (was sparc-*-openbsd* before). + (sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec. + + * configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo. + * configure: Regenerate. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-11 Alan Modra + + * Makefile.am (config.status): Depend on version.h. + Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2003-06-10 Alan Modra + Gary Hade + + * elf64-ppc.c (ppc64_elf_relocate_section <*_DS>): Special case lq. + +2003-06-10 Richard Sandiford + + * archures.c (bfd_mach_h8300sxn): New architecture. + * bfd-in2.h: Regenerate. + * cpu-h8300.c (h8300_scan): Check for 'sxn'. + (h8300sxn_info_struct): New. + (h8300sx_info_struct): Link to it. + * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. + (elf32_h8_final_write_processing): Likewise. + +2003-06-08 Alan Modra + + * elf64-ppc.c: Move TARGET_LITTLE_SYM and other macros used by + elfxx-target.h so that we can use elf_backend_got_header_size. + (ELF_MACHINE_ALT1, ELF_MACHINE_ALT2): Delete. + (GLINK_CALL_STUB_SIZE): Modify. Define new glink call stub and + associated macros. + (ppc64_elf_howto_raw ): Correct + dst_mask. + (enum ppc_stub_type): Add ppc_stub_long_branch_r2off and + ppc_stub_plt_branch_r2off. + (struct ppc_stub_hash_entry): Reorganize. + (struct ppc_link_hash_table): Add no_multi_toc, multi_toc_needed, + toc_curr, toc_off and emit_stub_syms. + (ppc64_elf_link_hash_table_create): Init them. + (ppc_stub_name): Correct string size. + (ppc64_elf_check_relocs): Set has_gp_reloc on GOT and TOC relocs. + (ppc64_elf_size_dynamic_sections): Set no_multi_toc if GOT entries + used. + (ppc_type_of_stub): Tweak root.type test. + (build_plt_stub): Remove glink code. Adjust for insn macro changes. + (ppc_size_one_stub): Handle ppc_stub_long_branch_r2off and + ppc_stub_plt_branch_r2off. + (ppc_build_one_stub): Likewise. Fix var shadowing. Correct addis,addi + range test. Use toc_off to calculte r2 values. Handle emit_stub_syms. + (ppc64_elf_setup_section_lists): Remove htab creator flavour test. + Initialize elf_gp and toc_curr. + (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): New functions. + (ppc64_elf_next_input_section): Set toc_off. + (group_sections): Ensure groups have the same TOC. + (ppc64_elf_size_stubs): Check whether we need a TOC adjusting stub. + (ppc64_elf_build_stubs): Add emit_stub_syms param, and stash in htab. + Build new glink stub. + (ppc64_elf_relocate_section): Handle multiple TOCs. Fix comments. + (ppc64_elf_finish_dynamic_sections): Adjust DT_PPC64_GLINK. + * elf64-ppc.h (ppc64_elf_build_stubs): Update prototype. + (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): Declare. + * section.c (struct sec): Rename flag12 to has_gp_reloc. + (STD_SECTION): Update. + * ecoff.c (bfd_debug_section): Update comment. + * bfd-in2.h: Regenerate. + +2003-06-05 Daniel Jacobowitz + + * elfcode.h (elf_slurp_reloc_table_from_section): Don't dereference + NULL function pointers. + +2003-06-05 Daniel Jacobowitz + + * simple.c (bfd_simple_get_relocated_section_contents): Call + _bfd_generic_link_add_symbols instead of bfd_link_add_symbols. + +2003-06-04 Svein E. Seldal + + * coff-tic54x.c: Removed the ticoff0_bad_format_hook() and + ticoff1_bad_format_hook() functions. Removed the coff0 and coff1 + swaptables. + * coff-tic4x.c: Ditto + * coffcode.h: Added extra arguments to CREATE_BIG_COFF_TARGET_VEC + and CREATE_LITTLE_COFF_TARGET_VEC. Created the macro + CREATE_BIGHDR_COFF_TARGET_VEC. Created the ticoff0_bad_format_hook(), + ticoff1_bad_format_hook() functions. Created the coff0 and coff1 + swap tables. + * coff-tic4x.c: Adopted new CREATE_xxx_COFF_TARGET_VEC macros. + * coff-a29k.c: Append COFF_SWAP_TABLE argument + * coff-apollo.c: Ditto + * coff-arm.c: Ditto + * coff-h8300.c: Ditto + * coff-h8500.c: Ditto + * coff-i960.c: Ditto + * coff-m68k.c: Ditto + * coff-m88k.c: Ditto + * coff-mcore.c: Ditto + * coff-sh.c: Ditto + * coff-sparc.c: Ditto + * coff-tic80.c: Ditto + * coff-we32k.c: Ditto + * coff-z8k.c: Ditto + * coff-w65.c: Ditto + +2003-06-04 Svein E. Seldal + + * coff-tic4x.c (ticoff0_swap_table, ticoff1_swap_table): Fixed + initialization bug + +2003-06-03 Jakub Jelinek + + * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. + (bfd_section_from_phdr): Likewise. + (map_sections_to_segments): Create PT_GNU_STACK segment header. + (get_program_header_size): Count with PT_GNU_STACK. + * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. + * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. + +2003-06-03 H.J. Lu + + * elflink.h (elf_link_input_bfd): Call linker error_handler + for discarded definitions. + +2003-06-03 Elias Athanasopoulos + + * syms.c (decode_section_type): Return 'n' if section flags are + SEC_HAS_CONTENTS && SEC_READONLY. + +2003-06-03 Nick Clifton + + * elf32-v850.c (v850_elf_howto_t): Rename R_V850_32to + R_V850_ABS32. Add entry for R_V850_REL32. + (v850_elf_reloc_map): Likewise. + (v850_elf_check_relocs): Likewise. + (v850_elf_perform_relocation): Likewise. + (v850_elf_final_link_relocate): Likewise. Include computation + to make R_V850_REl32 pc-relative. + +2003-06-03 Kaz Kojima + + * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section + and DT_DEBUG dynamic tag even for position independent executables. + * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewize. + +2003-06-02 Daniel Jacobowitz + + * config.bfd: Move obsolete entries out of the range of the + targmatch sed script. + +2003-06-02 Daniel Jacobowitz + + * config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete. + +2003-05-31 Jakub Jelinek + + * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192 + plt entries, not just 8191. + +2003-05-30 Daniel Jacobowitz + + * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index. + Reported by Ken Faiczak . + +2003-05-30 Ulrich Drepper + Jakub Jelinek + + * elflink.h (elf_link_add_object_symbols): Use !info->executable + instead of info->shared where appropriate. + (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. + * elflink.c (_bfd_elf_create_got_section): Likewise. + (_bfd_elf_link_create_dynamic_sections): Likewise. + (_bfd_elf_link_assign_sym_version): Likewise. + * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section + and DT_DEBUG dynamic tag even for position independent executables. + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. + * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. + * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. + * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. + * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. + * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. + * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. + * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. + * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. + +2003-05-30 Kris Warkentin + + * elf.c (elfcore_grok_nto_status): Only set lwpid for the active or + signalled thread. + (elfcore_grok_nto_gregs): Only make .reg section for the active thread. + +2003-05-29 Nick Clifton + + * pef.c: Include "safe-ctype.h" instead of . + Tidy up formatting. + * Makefile.am: Add dependency on safe-ctype.h. + * Makefile.in: Regenerate. + +2003-05-29 Thiemo Seufer + + * elfxx-mips.c: Don't force symbols local unconditionally. + +2003-05-28 Alan Modra + + * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus + undefined_symbol call. + +2003-05-27 Richard Sandiford + + * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting. + (mips_elf_link_hash_table): Likewise. + +2003-05-22 Thiemo Seufer + + * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used + R_MIPS_GNU_REL16_S2 support. + (bfd_elf64_bfd_reloc_type_lookup): Use it. + (mips_elf64_rtype_to_howto): Use it. + * elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used + R_MIPS_GNU_REL16_S2 support. + (bfd_elf32_bfd_reloc_type_lookup): Use it. + (mips_elf_n32_rtype_to_howto): Use it. + +2003-05-21 Stuart F. Downing + + * som.h: Define PA_2_0 before including a.out.h + +2003-05-07 Eric Christopher + Alexandre Oliva + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust + pic tests, change to warning. + (_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting. + +2003-05-21 Marcus Comstedt + + * config.bfd: Check for a target triplet of shl-...-netbsdelf as + well as shle-...-netbsdelf. Remove duplicate entry. + +2003-05-21 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_howto_table): Fix dst_mask + for X_STORMY16_REL_12 reloc. + + * elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check + the type of the hash table in the bfd_link_info structure. + (bfd_elf_get_runpath_list): Likewise. + +2003-05-19 Roland McGrath + + * elf.c (bfd_elf_bfd_from_remote_memory): New function. + * bfd-in.h: Declare it. + * bfd-in2.h: Regenerated. + * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. + * elf-bfd.h (struct elf_backend_data): New function pointer member + elf_backend_bfd_from_remote_memory. + (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): + Declare them. + * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. + (elfNN_bed): Add that to the initializer. + +2003-05-15 Roland McGrath + + * elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section. + +2003-05-20 Jakub Jelinek + + * elflink.h (elf_link_output_extsym): Only issue error about != + STV_DEFAULT symbols if they are bfd_link_hash_undefined. + +2003-05-20 H.J. Lu + + * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF + when removing the old definition for symbols with non-default + visibility. + +2003-05-18 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation. + +2003-05-17 Andreas Schwab + + * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in + elf_section_data during processing of pc-relative and absolute + relocations. + (elf_m68k_relocate_section): Use the cached reloc section instead + of computing it again. Fix handling of visibility. Don't modify + addend when copying over a relocation into the output. + +2003-05-17 Alan Modra + + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL + to trim plt entries. Move undefweak non-default visibility test.. + (allocate_dynrelocs): ..from here. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test + dynamic_sections_created here. Update comment. Move undefweak + non-default visibility test.. + (allocate_dynrelocs): ..from here. Fix comment. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL + to trim plt entries. Move undefweak non-default visibility test.. + (allocate_dynrelocs): ..from here. Fix comment. + * elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with + STV_DEFAULT rather than comparing with zero. + * elflink.c (_bfd_elf_merge_symbol): Likewise. + (_bfd_elf_fix_symbol_flags): Likewise. Format comment. + +2003-05-17 Thiemo Seufer + + * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd null + pointers. + (_bfd_set_gp_value): Likewise. + +2003-05-16 Michael Snyder + From Bernd Schmidt + * archures.c (bfd_mach_h8300sx): New. + * bfd-in2.h: Regenerate. + * cpu-h8300.c (h8300_scan)): Add support for h8300sx. + (h8300sx_info_struct): New. + (h8300s_info_struct): Link to it. + * elf32-h8300.c (elf32_h8_mach): Add support for h8300sx. + (elf32_h8_final_write_processing): Likewise. + (elf32_h8_relax_section): Likewise. + +2003-05-16 Kelley Cook + + * config.bfd: Accept i[3-7]86 variants. + * configure.host: Likewise. + * configure.in: Likewise. + * configure: Regenerate. + +2003-05-15 H.J. Lu + + * elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected + symbol. + +2003-05-15 H.J. Lu + + * elflink.h (elf_link_check_versioned_symbol): Also allow + the base version. + +2003-05-15 Alan Modra + H.J. Lu + + * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. + (elf_i386_relocate_section): Likewise. + * elf32-ppc.c (allocate_dynrelocs): Likewise. + (ppc_elf_relocate_section): Likewise. + * elf64-ppc.c (allocate_dynrelocs): Likewise. + (ppc64_elf_relocate_section): Likewise. + +2003-05-15 Thiemo Seufer + + * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case. + +2003-05-13 Stephane Carrez + + * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for + processor capability, allow merge of HC12 and HCS12 in some cases. + (m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc. + * cpu-m68hc12.c (bfd_m68hc12s_arch): New struct. + (bfd_m68hc12_arch): Link it. + (scan_mach): New function. + +2003-05-13 Andrew Haley + + * elf.c (bfd_elf_hash): Mask lower 32 bits of hash. + +2003-05-13 Alan Modra + H.J. Lu + + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Move from + elf32-ppc.c. Add ELF_LINK_FORCED_LOCAL check. + * elf32-ppc.c: (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Delete. + (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for dynreloc check. + (ppc_elf_relocate_section): Likewise. + * elf64-ppc.c (allocate_dynrelocs): Likewise. + (ppc64_elf_relocate_section): Likewise. Use for .got relocs too. + (ppc64_elf_adjust_dynamic_symbol): Don't assume symbols with .plt + relocs need no other types. + * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for + dynreloc check. + (elf_i386_relocate_section): Likewise. Use for .got relocs too. + (elf_i386_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL for + .got relocs. + +2003-05-13 Kaz Kojima + + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): For weak symbols, + copy ELF_LINK_NON_GOT_REF from weakdef. + (allocate_dynrelocs): For undef weak syms with non-default + visibility, a) don't allocate plt entries, b) don't allocate + .got relocs, c) discard dyn rel space + (sh_elf_relocate_section): d) don't generate .got relocs, e) + don't generate dynamic relocs. + (sh_elf_copy_indirect_symbol): Don't copy ELF_LINK_NON_GOT_REF + for weakdefs when symbol already adjusted. + +2003-05-12 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield' + overflow detection for R_XSTORMY16_16 reloc. + +2003-05-12 Paul Clarke + + * elf32-h8300.c: Fix typo in name of R_H8_DIR8 reloc. + +2003-05-11 Jason Eckhardt + + * elf32-i860.c (elf32_i860_relocate_highadj): Properly + adjust upper bits. + (elf32_i860_relocate_splitn): Obtain upper 5 bits from the + proper place. + (elf32_i860_relocate_pc16): Obtain upper 5 bits from the + proper place. + +2003-05-11 Andreas Schwab + + * elf32-m68k.c (elf_m68k_relocate_section): Replace ugly + complicated tests for unresolvable relocs with a simple direct + scheme using "unresolved_reloc" var. Report some detail on + bfd_reloc_outofrange and similar errors. + +2003-05-09 Martin Schwidefsky + + * elf32-s390.c (allocate_dynrelocs, elf_s390_relocate_section): + Fix WILL_CALL_FINISH_DYNAMIC_SYMBOL call. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. + * elf64-s390.c: Likewise. + +2003-05-09 Martin Schwidefsky + + * elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one. + (elf_s390_adjust_dynamic_symbol): For weak symbols, copy + ELF_LINK_NON_GOT_REF from weakdef. + (elf_s390_copy_indirect_symbol): Test whether the weakdef sym has + already been adjusted before treating it specially. + * el64-s390.c: Likwise. + +2003-05-09 Martin Schwidefsky + + * elf32-s390.c (allocate_dynrelocs): For undef weak syms with + non-default visibility, a) don't make them dynamic, b) discard + space for dynamic relocs. + (elf_s390_relocate_section): Initialize the GOT entries and skip + R_390_{8,16,32}/R_390_PC{16,16DBL,32DBL,32} for weak undefined + symbols with non-default visibility. + * elf64-s390.c: Likewise. + +2003-05-09 Alan Modra + + * cpu-arm.c (arm_check_note): Warning fix. + * elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes. Arrange + to keep relocs if edited. + (iq2000_elf_print_private_bfd_data): Return TRUE. + * elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not + ELF64_R_SYM. + (elfNN_ia64_relax_ldxmov): Warning fix. + * xtensa-isa.c (xtensa_add_isa): Warning fix. + * xtensa-modules.c (get_num_opcodes): Warning fix. + +2003-05-09 Andrey Petrov + + * elf.c (elf_fake_sections): Use correct cast for sh_name. + +2003-05-09 Alan Modra + + * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from + elflink.h. Replace LOG_FILE_ALIGN with bed->s->log_file_align. + (_bfd_elf_create_dynamic_sections): Use bed->s->log_file_align. + (bfd_elf_record_link_assignment): Move from elflink.h. + (_bfd_elf_merge_symbol): Likewise. + (_bfd_elf_add_default_symbol): Likewise. + (_bfd_elf_export_symbol): Likewise. + (_bfd_elf_link_find_version_dependencies): Likewise. + (_bfd_elf_link_assign_sym_version): Likewise. + (_bfd_elf_link_read_relocs): Likewise. + (_bfd_elf_link_size_reloc_section): Likewise. + (_bfd_elf_fix_symbol_flags): Likewise. + (_bfd_elf_adjust_dynamic_symbol): Likewise. + (_bfd_elf_link_sec_merge_syms): Likewise. + (elf_link_read_relocs_from_section): Likewise. Use bed->s->sizeof_rel + and bed->s->sizeof_rela. + (_bfd_elf_link_output_relocs): Likewise. + * elf-bfd.h (struct elf_size_info): Rename file_align to + log_file_align. + (struct elf_info_failed): Move from elflink.h. + (struct elf_assign_sym_version_info): Likewise. + (struct elf_find_verdep_info): Likewise. + (_bfd_elf_create_dynamic_sections): Delete duplicate declaration. + (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol, + _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, + _bfd_elf_link_assign_sym_version, + _bfd_elf_link_create_dynamic_sections, _bfd_elf_link_read_relocs, + _bfd_elf_link_size_reloc_section, _bfd_elf_link_output_relocs, + _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, + _bfd_elf_link_sec_merge_syms): Declare. + (bfd_elf32_link_create_dynamic_sections): Don't declare. + (_bfd_elf32_link_read_relocs): Likewise. + (bfd_elf64_link_create_dynamic_sections): Likewise. + (_bfd_elf64_link_read_relocs): Likewise. + * elflink.h: Move lots o' stuff elsewhere. + * bfd-in.h (bfd_elf32_record_link_assignment): Don't declare. + (bfd_elf64_record_link_assignment): Likewise. + (bfd_elf_record_link_assignment): Declare. + * bfd-in2.h: Regenerate. + * elfcode.h (elf_link_create_dynamic_sections): Don't declare. + (NAME(_bfd_elf,size_info)): Adjust for log_file_align. + * elf.c (_bfd_elf_init_reloc_shdr): Adjust for bed->s->log_file_align. + (assign_file_positions_for_segments): Likewise. + (assign_file_positions_except_relocs): Likewise. + (swap_out_syms, elfcore_write_note): Likewise. + * elf-m10200.c: Adjust for changed function names. + * elf-m10300.c: Likewise. + * elf32-arm.h: Likewise. + * elf32-h8300.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-mips.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-mmix.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-sh64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + (MIPS_ELF_LOG_FILE_ALIGN): Use log_file_align. + * elf64-alpha.c (alpha_elf_size_info): Adjust for log_file_align. + * elf64-hppa.c (hppa64_elf_size_info): Likewise. + * elf64-mips.c (mips_elf64_size_info): Likewise. + * elf64-s390.c (s390_elf64_size_info): Likewise. + * elf64-sparc.c (sparc64_elf_size_info): Likewise. + +2003-05-08 H.J. Lu + + * elflink.h (elf_add_default_symbol): After skipping the + unversioned symbol, go to non-default one. + +2003-05-07 H.J. Lu + + * elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the + want_plt field. + (elfNN_ia64_relocate_section): Don't do dynamic symbol lookup + for symbols with non-default visibility. + +2003-05-07 H.J. Lu + + * elflink.h (elf_link_check_versioned_symbol): Also handle the + case that a DSO references a hidden symbol which may be + satisfied by a versioned symbol in another DSO. + (elf_link_output_extsym): Check versioned definition for hidden + symbol referenced by a DSO. + +2003-05-07 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_howto_table): Reset + R_XSTORMY16_16 reloc to ignore overflows. + +2003-05-06 Alexandre Oliva + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve + error message for mixing different-endian files. Check for ABI + compatibility of input files with the selected emulation. + +2003-05-05 Alan Modra + + * elf32-i386.c (allocate_dynrelocs): For undef weak syms with + non-default visibility, a) don't make them dynamic, b) discard + space for dynamic relocs. + * elf64-x86-64.c (allocate_dynrelocs): Likewise. + + * elf32-ppc.c (allocate_dynrelocs): For undef weak syms with + non-default visibility, a) don't allocate plt entries, b) don't + allocate .got relocs, c) discard dyn rel space, + (ppc_elf_relocate_section): d) don't generate .got relocs, e) + don't generate dynamic relocs. + * elf64-ppc.c (allocate_dynrelocs): As above. + (ppc64_elf_relocate_section): As above. + +2003-05-05 Andreas Jaeger + + * elf64-x86-64.c (allocate_dynrelocs): Don't allocate dynamic + relocation entries for weak undefined symbols with non-default + visibility. + (elf64_x86_64_relocate_section): Initialize the GOT entries and + skip R_386_32/R_386_PC32 for weak undefined symbols with + non-default visibility. + +2003-05-04 H.J. Lu + + * elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic + relocation entries for weak undefined symbols with non-default + visibility. + (elf_i386_relocate_section): Initialize the GOT entries and + skip R_386_32/R_386_PC32 for weak undefined symbols with + non-default visibility. + + * elfxx-ia64.c (allocate_fptr): Don't allocate function + descriptors for weak undefined symbols with non-default + visibility. + (allocate_dynrel_entries): Don't allocate relocation entries + for symbols resolved to 0. + (set_got_entry): Don't install dynamic relocation for weak + undefined symbols with non-default visibility. + (set_pltoff_entry): Likewise. + + * elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols + with non-default visibility. + (elf_link_output_extsym): Don't make weak undefined symbols + with non-default visibility dynamic. + +2003-05-04 H.J. Lu + + * elflink.h (elf_merge_symbol): Correctly handle weak definition. + +2003-05-04 H.J. Lu + + * elflink.h (elf_merge_symbol): Don't record a hidden/internal + symbol dynamic. Check indirection when removing the old + definition for symbols with non-default visibility. + (elf_add_default_symbol): Skip when told by elf_merge_symbol. + +2003-05-02 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_howto_table): Make the + R_XSTORMY16_8 and R_XSTORMY16_16 relocs detect and complain about + unsigned overflow. + +2003-05-02 Andreas Jaeger + + * elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Don't copy + ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. + (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. + (elf_x86_64_adjust_dynamic_symbol): For weak symbols, copy + ELF_LINK_NON_GOT_REF from weakdef. + +2003-05-02 Charles Lepple + Nick Clifton + + * acinclude.m4: Fix name of --enable-install-libbfd switch. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2003-05-01 Alan Modra + + * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Test whether the + weakdef sym has already been adjusted before treating it specially. + * elf32-i386.c (elf_i386_copy_indirect_symbol): Don't copy + ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + (ppc64_elf_check_relocs): Set ELF_LINK_NON_GOT_REF. + +2003-04-28 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during + the relax finalize pass. + + * section.c (struct sec): Add need_finalize_relax and remove + flag11. + (STD_SECTION): Update struct sec initializer. + * bfd-in2.h: Regenerated. + +2003-04-28 H.J. Lu + + * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol + to copy any information related to dynamic linking when we flip + the indirection. + +2003-04-27 H.J. Lu + + * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New. + (ELF_LINK_DYNAMIC_WEAK): New. + + * elflink.h (elf_merge_symbol): Add one argument to indicate if + a symbol should be skipped. Ignore definitions in dynamic + objects for symbols with non-default visibility. + (elf_add_default_symbol): Adjusted. + (elf_link_add_object_symbols): Check if a symbol should be + skipped. Don't merge the visibility field with the one from + a dynamic object. + (elf_link_check_versioned_symbol): Use undef_bfd. + (elf_link_output_extsym): Warn if a forced local symbol is + referenced from dynamic objects. Make non-weak undefined symbol + with non-default visibility a fatal error. + +2003-04-27 Daniel Jacobowitz + + * configure.in: Bump version on HEAD to 2.14.90. + * configure: Regenerated. + +2003-04-26 Stephane Carrez + + PR savannah/3331: + * elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group + when we couldn't relax something. + +2003-04-25 Alan Modra + + * elflink.h (elf_merge_symbol): When we find a regular definition + for an indirect symbol, flip the indirection so that the old + direct symbol now points to the new definition. + +2003-04-24 Roland McGrath + + * elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr". + +2003-04-24 Alan Modra + + * elf32-ppc.c: Formatting and comment fixes. + (ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol. + (ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs. + +2003-04-24 Dhananjay Deshpande + + * archures.c (bfd_mach_h8300hn, bfd_mach_h8300sn): Added. + * bfd-in2.h: Rebuilt. + * coff-h8300.c (BADMAG): Add check for H8300HNBADMAG & H8300SNBADMAG. + * coffcode.h (coff_set_arch_mach_hook): Add case for H8300HNMAGIC + & H8300SNMAGIC. + (coff_set_flags): Add case for bfd_mach_h8300hn & bfd_mach_h8300sn. + * cpu-h8300.c (h8300_scan): Handle h8300hn, h8300sn. + (h8300sn_info_struct, h8300hn_info_struct): New. + * elf32-h8300.c (elf32_h8_mach): Handle case for h8300hn & h8300sn + (elf32_h8_final_write_processing): Likewise. + +2003-04-23 Kaz Kojima + + * elf32-sh.c (tpoff): New. + (struct elf_sh_dyn_relocs): Remove tls_tpoff32. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. + (allocate_dynrelocs): Don't make unnecessary dynamic TLS + relocations. Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses. + (sh_elf_relocate_section): Likewise. Remove unnecessary tests. + (dtpoff_base): Fix wrong indentation. + (sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS + relocations. Don't set tls_tpoff32 flag. Don't make unnecessary + R_SH_TLS_TPOFF32 relocations. + +2003-04-23 J"orn Rennecke + + * archures.c (enum bfd_architecture): Amend comment to refer to SuperH. + * cpu-sh.c: Likewise. + * elf32-sh.c: Likewise. + * reloc.c (bfd_reloc_code_real): Likewise. + * elf32-sh64-com.c: Change comment to refer to SuperH. + * elf32-sh64.c: Likewise. + * elf64-sh64.c: Likewise. + * bfd-in2.h (enum bfd_architecture): Regenerate. + +2003-04-23 Alan Modra + + From Julien LEMOINE + * elf32-i386.c (elf_i386_info_to_howto): Delete. + (elf_info_to_howto): Define as elf_i386_info_to_howto_rel. + +2003-04-22 Kazuhiro Inaoka + + * archures.c: Replace references to Mitsubishi M32R with references + to Renesas M32R. + * relocs.c: Likewise. + * bfd-in2.h: Regenerate. + +2003-04-21 Richard Henderson + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an + executable when a symbol is defined both regular and dynamic. + +2003-04-21 Stephane Carrez + + * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo. + (elf32-m68hc1x.lo): Update dependencies + * configure.in: Add elf32-m68hc1x.lo. + * configure: Rebuild. + * Makefile.in: Rebuild. + +2003-04-21 Stephane Carrez + + * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c) + (m68hc11_elf_hash_table_create): New function. + (elf32_m68hc11_link_hash_table_free): New function. + (stub_hash_newfunc): New function. + (m68hc11_add_stub): New function. + (elf32_m68hc11_add_symbol_hook): New function. + (elf32_m68hc11_setup_section_lists): New function. + (elf32_m68hc11_next_input_section): New function. + (elf32_m68hc11_size_stubs): New function. + (elf32_m68hc11_build_stubs): New function. + (m68hc11_get_relocation_value): New function. + (elf32_m68hc11_relocate_section): Call the above to redirect + some relocations to the trampoline code. + (m68hc11_elf_export_one_stub): New function. + (m68hc11_elf_set_symbol): New function. + (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse. + (m68hc11_elf_get_bank_parameters): Get parameters only when the info + is not yet initialized. + + * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c) + (elf32_m68hc11_stub_hash_entry): New struct. + (m68hc11_page_info): Add trampoline handler address. + (m68hc11_elf_link_hash_table): Add stubs generation members. + (elf32_m68hc11_add_symbol_hook): Declare. + (elf32_m68hc11_setup_section_lists): Declare. + (elf32_m68hc11_size_stubs): Declare. + (elf32_m68hc11_build_stubs): Declare. + + * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c. + (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise. + (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto. + (_bfd_m68hc11_elf_set_private_flags): Ditto. + (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto. + (_bfd_m68hc11_elf_print_private_bfd_data): Ditto. + (bfd_elf32_bfd_link_hash_table_create): Define. + (elf_backend_add_symbol_hook): Define. + (m68hc11_elf_bfd_link_hash_table_create): New function. + (m68hc11_elf_build_one_stub): New function. + (m68hc11_elf_size_one_stub): New function. + (m68hc11_elf_bfd_link_hash_table_create): Install the above. + (bfd_elf32_bfd_link_hash_table_create): Define. + + * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove. + (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked. + (m68hc12_phys_addr): Ditto. + (m68hc12_phys_page): Ditto. + (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c. + (elf32_m68hc11_gc_mark_hook): Likewise. + (elf32_m68hc11_gc_sweep_hook): Likewise. + (elf32_m68hc11_check_relocs): Likewise. + (elf32_m68hc11_relocate_section): Likewise. + (_bfd_m68hc12_elf_set_private_flags): Likewise. + (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise. + (_bfd_m68hc12_elf_print_private_bfd_data): Likewise. + (m68hc12_elf_build_one_stub): New function. + (m68hc12_elf_size_one_stub): New function. + (m68hc12_elf_bfd_link_hash_table_create): New function, use the above. + (elf_backend_add_symbol_hook): Define. + (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks. + +2003-04-18 Nick Clifton + + * format.c (bfd_check_format_matches): Only check associated + vector if the matching_vector has been created. + +2003-04-15 Alexandre Oliva + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in + 2003-04-09's change. + +2003-04-15 Brian Ford + + * peicode.h (coff_swap_scnhdr_in): If a section holds + uninitialized data and is from an object file or from an + executable image that has not initialized the s_size field, or if + the physical size is padded, use the virtual size (stored in + s_paddr) instead. + +2003-04-15 H.J. Lu + + * elflink.h (elf_link_add_object_symbols): Properly report + filename for alignment reduction. + +2003-04-15 Rohit Kumar Srivastava + + * archures.c: Replace occurrances of 'Hitachi' with 'Renesas'. + * reloc.c: Likewise. + * coff-h8300.c: Likewise. + * coff-h8500.c: Likewise. + * coff-sh.c: Likewise. + * cpu-h8300.c: Likewise. + * cpu-sh.c: Likewise. + * elf32-h8300.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64-com.c: Likewise. + * elf32-sh64.c: Likewise. + * elf64-sh64.c: Likewise. + * bfd-in2.h: Regenerate. + +2003-04-14 H.J. Lu + + * elflink.h (elf_link_add_object_symbols): Maintain maximum + alignment for common symbols. Warn reducing alignment for + common symbols. Report old filename when symbol size changes. + +2003-04-12 Alexandre Oliva + + * elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other + occurrences of the same test changed in the previous patch. + Optimize. + +2003-04-11 Alexandre Oliva + + * elfxx-mips.c (mips_elf_get_global_gotsym_index): New. + (mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to + GOT_DISP/addend only if the symbol got a global GOT entry. + +2003-04-10 Alexandre Oliva + + * elfxx-mips.c (mips_elf_calculate_relocation): Decay + GOT_PAGE/GOT_OFST referencing overridable symbol to + GOT_DISP/addend. + (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing + global symbol as GOT_DISP. + +2003-04-10 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the + next relocation on an undefined symbol. + +2003-04-09 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section) : + Ignore relocations against r_symndx == 0. + +2003-04-09 H.J. Lu + + * elf64-alpha.c (elf64_alpha_relocate_section): Don't return + FALSE for undefined symbols. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + +2003-04-09 Alexandre Oliva + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard + and IRIX-specific shift-to-64-bit 4-byte lengths before following + addr_size. + +2003-04-08 Alexandre Oliva + + * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor) + pointer size from ABI, not arch_bits_per_address. + +2003-04-07 Kevin Buettner + + * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related + constants for n32 ABI. + +2003-04-06 Andrew Cagney + + * simple.c (bfd_simple_get_relocated_section_contents): Disable + free that leads to GDB vs BFD memory corruption. + +2003-04-04 Stephane Carrez + + * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust + symbols that mark the end of the section. + (m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when + converting to a relative branch so that the offset is computed after + the relaxation; also relocate a jsr into a bsr if possible but don't + relax them if they are to a far symbol as we need to call the + trampoline code. + (elf_m68hc11_howto_table): Set pcrel_offset to true. + +2003-04-04 Svein E. Seldal + + * archures.c: Namespace cleanup. Rename bfd_mach_c3x to + bfd_mach_tic3x and bfd_mach_c4x to bfd_mach_tic4x + * bfd-in2.h: Regenerate + * coff-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ + * cpu-tic4x.c: Ditto + +2003-04-03 Nick Clifton + + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Compute ps and ss + differently for object files and executables. + * peicode.h (coff_swap_scnhdr_in): Only set the s_size field + for object files or for executables who have not already + initialised the field. + * libpei.h (bfd_pe_executable_p): New macro. Return true if + the PE format bfd is an executable. + +2003-04-03 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL + here as it's too early to reliably determine locality. + (ppc_elf_gc_sweep_hook): Likewise. + (SYMBOL_REFERENCES_LOCAL): Expand comment. + +2003-04-02 Bob Wilson + + * xtensa-modules.c: Remove comment indicating that this is a + generated file. + +2003-04-02 Alan Modra + + * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj. + +2003-04-01 Bob Wilson + + * Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo. + (ALL_MACHINES_CFILES): Add cpu-xtensa.c. + (BFD32_BACKENDS): Add elf32-xtensa.lo, xtensa-isa.lo, and + xtensa-modules.lo. + (BFD32_BACKENDS_CFILES): Add elf32-xtensa.c, xtensa-isa.c, and + xtensa-modules.c. + (cpu-xtensa.lo): New target. + (elf32-xtensa.lo): Likewise. + (xtensa-isa.lo): Likewise. + (xtensa-modules.lo): Likewise. + * Makefile.in: Regenerate. + * archures.c (bfd_architecture): Add bfd_{arch,mach}_xtensa. + (bfd_archures_list): Add bfd_xtensa_arch. + * config.bfd: Handle xtensa-*-*. + * configure.in: Handle bfd_elf32_xtensa_{le,be}_vec. + * configure: Regenerate. + * reloc.c: Add BFD_RELOC_XTENSA_{RTLD,GLOB_DAT,JMP_SLOT,RELATIVE, + PLT,OP0,OP1,OP2,ASM_EXPAND,ASM_SIMPLIFY}. + * targets.c (bfd_elf32_xtensa_be_vec): Declare. + (bfd_elf32_xtensa_le_vec): Likewise. + (bfd_target_vector): Add bfd_elf32_xtensa_{be,le}_vec. + * cpu-xtensa.c: New file. + * elf32-xtensa.c: Likewise. + * xtensa-isa.c: Likewise. + * xtensa-modules.c: Likewise. + * libbfd.h: Regenerate. + * bfd-in2.h: Likewise. + +2003-04-01 Nick Clifton + + * archures.c (bfd_mach_arm_unknown): Define. + * bfd-in.h (bfd_arm_merge_machines, bfd_arm+update_notes, + bfd_arm_get_mach_from_notes): Prototype. + * bfd-in2.h: Regenerate. + * coff-arm.c (coff_arm_merge_private_bfd_data): Call + bfd_arm_merge_machines. + (coff_arm_final_link_postscript): Call bfd_arm_update_notes. + * coffcode.h (coff_set_arch_mach_hook): Call + bfd_arm_get_mach_from_notes. + * coffgen.c (coff_real_object_p): Revert previous delta. + * cpu_arm.c (arm_check_note): New function. Examine a note in a + .note section. + (bfd_arm_merge_machines): New function: Handle the merging of ARM + binaries compiled for different architectures.. + (bfd_arm_update_notes): New function: Update an ARM note section. + (bfd_arm_get_mach_from_notes): New function: Extract a bfd machine + number from an ARM note section. + * elf32-arm.h (elf32_arm_object_p): Use + bfd_arm_get_mach_from_notes. + (elf32_arm_merge_private_bfd_data): Use bfd_arm_merge_machines. + (elf32_arm_final_write_processing): Use bfd_arm_update_notes. + +2003-04-01 Ben Elliston + + * dwarf2.c (read_attribute_value): Correct typo in comment. + +2003-04-01 Nick Clifton + + * dwarf2.c (concat_filename): Use bfd_malloc() and strdup() + instead of concat(). + (decode_line_info): Only free filename if it is not NULL. + (add_line_info): Make a copy of the filename when storing it into + the info structure. + +2003-03-31 Andreas Schwab + Daniel Jacobowitz + + * simple.c (bfd_simple_get_relocated_section_contents): Add + parameter symbol_table. Optionally use it instead of the symbol + table from the bfd. Save and restore output offsets and output + sections around bfd_get_relocated_section_contents. Fix a memory + leak. + (simple_save_output_info, simple_restore_output_info): New + functions. + * bfd-in2.h: Regenerate. + * dwarf2.c (read_abbrevs): Use + bfd_simple_get_relocated_section_contents instead of + bfd_get_section_contents. + (decode_line_info): Likewise. + (_bfd_dwarf2_find_nearest_line): Likewise. Don't call + find_rela_addend. + (find_rela_addend): Remove. + * elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for + debugging sections. + (elfNN_ia64_hash_table_create): Create the hash table with malloc, + not bfd_zalloc. + +2003-03-31 David Heine + + * aoutx.h (aout_link_hash_table_create): Use bfd_malloc instead of + bfd_alloc. + * dwarf2.c (concat_filename): Always allocate space for the + returned filename. + (decode_line_info): Free the allocated filename returned by + concat_filename. + * elf-eh-frame.c (bfd_elf_write_section_eh_frame): Fix memory leaks. + * elf.c (copy_private_bfd_data): Likewise. + (_bfd_elf_slurp_version_tables): Fix bug freeing contents pointer. + * elflink.h (elf_link_sort_relocs): Fix memory leak. + * format.c (bfd_check_format_matches): Likewise. + * linker.c (bfd_generic_final_link): Likewise. + * opncls.c (find_separate_debug_info): Likewise. + * simple.c (bfd_simple_get_relocated_section_contents): Likewise. + +2003-03-28 H.J. Lu + + * elflink.h (elf_link_add_object_symbols): Correctly combine + visibilities. + +2003-03-27 Jakub Jelinek + + * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset + to -1 before recomputing got offsets. + +2003-03-26 Andreas Schwab + + * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. + (elf_m68k_relocate_section): Use it to correctly handle symbols + forced to be local. + (elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got + entries for symbols that are forced to be local. + +2003-03-25 Alexandre Oliva + + * elfxx-mips.c (_bfd_mips_relax_section): New function. + * elfxx-mips.h (_bfd_mips_relax_section): Declare. + * elfn32-mips.c, elf64-mips.c: Use it. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * archures.c: Add bfd_mach_arm_iWMMXt. + * reloc.c: Add BFD_RELOC_ARM_CP_OFF_IMM_S2. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * coff-arm.c (coff_arm_merge_private_bfd_data): Allow iWMMXt + object files to be linked with XScale ones. + (coff_arm_final_link_postscript): Update note section. + * coffcode.h (coff_set_arch_mach_hook): Handle note section. + * coffgen.c (coff_real_object_p): Call bfd_coff_set_arch_mach_hook + after identifying a coff binary. + * cpu-arm.c (processors): Add iWMMXt. + (arch_inf): Likewise. + * elf32-arm.h (arm_object_p): Handle note section. + (elf32_arm_merge_private_bfd_data): Allow iWMMXt object files to + be linked with XScale ones. + (elf32_arm_section_flags): New function: Set flags on note section. + (elf32_arm_final_write_processing): Handle note section. + +2003-03-21 DJ Delorie + + * elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call + _bfd_elf_rela_local_sym. + +2003-03-20 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for + non-ELF outputs. + +2003-03-20 Nick Clifton + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and + $idata5 in case bfd_coff_final_link is not called. + +2003-03-19 Jakub Jelinek + + * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count + field. + (canon_reloc_count): Define. + (sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, + sparc64_elf_canonicalize_dynamic_reloc): Use it instead of + reloc_count. + (sparc64_elf_canonicalize_reloc): New routine. + (bfd_elf64_canonicalize_reloc): Define. + +2003-03-18 Jakub Jelinek + + * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation + againt mergeable sections. Take r_addend into account when caching + trampolines. + +2003-03-18 Richard Henderson + + * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for + local symbols that have no dyninfo. + +2003-03-14 Gene Smith + + * ieee.c (ieee_write_expression): Handle the case where symbol is + NULL. + General formatting improvements. + +2003-03-13 Nick Clifton + + * configure.in (LINGUAS): Add zh_CN. + * configure: Regenerate. + * po/zh_CN.po: New file. + +2003-03-13 Elias Athanasopoulos + + * aout-cris.c (BYTES_IN_WORD): Don't define. + aout-encap.c: Likewise. + aout-ns32k.c: Likewise. + aout-tic30.c: Likewise. + hp300bsd.c: Likewise. + i386aout.c: Likewise. + i386dynix.c: Likewise. + i386linux.c: Likewise. + i386lynx.c: Likewise. + i386mach3.c: Likewise. + m68k4knetbsd.c: Likewise. + m68klinux.c: Likewise. + m68klynx.c: Likewise. + m68knetbsd.c: Likewise. + m88kmach3.c: Likewise. + mipsbsd.c: Likewise. + newsos3.c: Likewise. + sparclinux.c: Likewise. + sparclynx.c: Likewise. + sparcnetbsd.c: Likewise. + vaxbsd.c: Likewise. Fix comment formatting. + +2003-03-12 Alexandre Oliva + + * Reverted 2003-03-02's patch. + + * elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it + overridable. + * elf64-mips.c (mips_elf64_canonicalize_reloc, + mips_elf64_get_dynamic_reloc_upper_bound, + mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c. + (bfd_elf64_get_canonicalize_reloc, + bfd_elf64_get_dynamic_reloc_upper_bound, + bfd_elf64_canonicalize_dynamic_reloc): Define. + (mips_elf64_slurp_reloc_table): Support dynamic. + (mips_elf64_slurp_one_reloc_table): Adjust. + +2003-03-12 Nick Clifton + + * xsym.c (bfd_sym_fetch_type_information_table_entry): Change + 'index' to 'offset' in test for zero value. + +2003-03-11 Alexandre Oliva + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create + dynamic relocations pointing to local or section symbols, use the + NULL symbol instead. Document the choice to not emit an + additional R_MIPS_64 relocation. + +2003-03-11 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from + zero index dynamic tls relocs generated for the GOT. Tidy code. + Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + +2003-03-07 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after + a tls_get_addr call. + + * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. + (ppc_elf_adjust_dynamic_symbol): For weak symbols, copy + ELF_LINK_NON_GOT_REF from weakdef. + * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. + (ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy + ELF_LINK_NON_GOT_REF from weakdef. + * elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. + (elf_i386_adjust_dynamic_symbol): For weak symbols, copy + ELF_LINK_NON_GOT_REF from weakdef. + +2003-03-06 Jakub Jelinek + Andrew Haley + + * elflink.h (elf_bfd_discard_info): Don't process eh frames if + output is relocateable. + +2003-03-06 Steven Konopa + + * som.c (som_fixup_formats): Correct formats for R_AUX_UNWIND and + R_COMMENT. + +2003-03-06 Alan Modra + + * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize + error messages. + (ELIMINATE_COPY_RELOCS): Define to zero. + (ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating + TLSLD relocs. Report reloc types on a number of errors. Optimize + LOCAL24PC check for non-local syms. Don't capitalize error messages. + * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero. + (ppc64_elf_relocate_section): Don't deref htab->tls_sec when + calculating TLSLD relocs. Report reloc types on a number of errors. + Don't capitalize error messages. + +2003-03-03 H.J. Lu + + * elfxx-ia64.c (USE_BRL): Removed. + (oor_ip): Removed. + +2003-03-03 J"orn Rennecke + + * elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary + relocation (no special function), and make it non-partial_inplace. + (sh_elf_relax_section): When creating a bsr, use a consistent value + no matter if the symbol is extern or not; set addend to -4. + Don't swap load / non-load instructions for SH4. + (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset + rather than if the symbol is external to determine if adjusting the + offset makes sense. Adjust the addend too if appropriate. + (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the + relocation. + +2003-03-03 Nick Clifton + + * po/da.po: Installed latest translation. + +2003-03-02 Thiemo Seufer + + * elf32-mips.c (elf_mips_howto_table_rel): Change definition of + R_MIPS_PC16 to rightshift 2. + (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. + (bfd_elf32_bfd_reloc_type_lookup): Support + BFD_RELOC_MIPSEMB_16_PCREL_S2. + * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of + R_MIPS_PC16 to rightshift 2. + (mips_elf64_howto_table_rela): Likewise. + (mips_reloc_map): Map to rightshifted BFD reloc. + * elfn32-mips.c: The same as in elf64-mips.c. + * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. + (mips_elf_calculate_relocation): Handle rightshifted addends for + R_MIPS_PC16. + * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for + MIPS Embedded PIC. Remove superfluous empty COMMENT. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2003-02-28 Richard Henderson + + * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds + for ltoff22x relaxation. + +2003-03-01 Alan Modra + + * bfd-in.h (_bfd): Don't define. + * bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". + * syms.c: Likewise. + * bfd-in2.h: Regenerate. + +2003-02-27 Richard Henderson + + * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx; + (elfNN_ia64_check_relocs): Set it. + (allocate_global_data_got): Check it. + (allocate_local_got): Likewise. + (allocate_dynrel_entries): Likewise. + (elfNN_ia64_relax_ldxmov): New. + (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV. + (elfNN_ia64_choose_gp): Split out from ... + (elfNN_ia64_final_link): ... here. + +2003-02-27 Andrew Cagney + + * bfd.c (struct bfd): Rename "struct _bfd". + * bfd-in.h: Update copyright. + (struct bfd): Rename "struct _bfd". + (_bfd): Define for backward compatibility. + * bfd-in2.h: Regenerate. + +2003-02-25 Alan Modra + + * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr + and rel_hdr2 when initially counting input relocs rather than after + creating output reloc sections. + (elf_link_read_relocs_from_section): Don't abort with wrong reloc + sizes. + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-02-24 Kris Warkentin + + * elf.c (elfcore_read_notes): Add check for QNX style core file. + (elfcore_grog_nto_note): New function. + (elfcore_grog_nto_gregs): New function. + (elfcore_grog_nto_status): New function. + +2003-02-24 Alan Modra + + * elflink.c (_bfd_elf_create_got_section): Check existing .got + section flags before concluding that we've already been called. + Don't use register keyword. + (_bfd_elf_create_dynamic_sections): Don't use register keyword. + (_bfd_elf_create_linker_section): Formatting. + +2003-02-20 jmc + + * coff-h8300.c: Fix typo: intial -> initial. + * coff-ppc.c: Likewise. + +2003-02-20 Alan Modra + + * elf32-ppc.c: Formatting. + (allocate_dynrelocs): LD and GD relocs against the same sym need + separate GOT entries. + (ppc_elf_relocate_section): Correct GOT handling for multiple GOT + entries per symbol. + +2003-02-19 Alan Modra + + * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc + removal. Localize vars. Remove unnecessary dynobj test. + * elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead + of INFO. + (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, + and optimize. + (elf_i386_relocate_section): Likewise. + (elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars. + * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. + * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. + * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. + * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. + * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove + local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32 + or PCPLT10 relocs. Don't subtract twice on PLT32 relocs. + Formatting. + + * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define. + (ppc64_elf_check_relocs): Use it. Correct comment. Move SEC_ALLOC + test. + (ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. + (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, + and optimize. Use ELIMINATE_COPY_RELOCS. + (ppc64_elf_relocate_section): Likewise. + + * elf32-ppc.c (struct ppc_elf_dyn_relocs): Add pc_count field. + (ppc_elf_copy_indirect_symbol): Copy pc_count field. + (ELIMINATE_COPY_RELOCS): Define. + (ppc_elf_adjust_dynamic_symbol): Convert copy relocs to dynamic. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. + (MUST_BE_DYN_RELOC): Define. + (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, + and optimize. Trim dyn_relocs. + (ppc_elf_check_relocs): Don't generate dyn_relocs when we know they'll + not be used. Do generate dyn_relocs for copy reloc avoidance. Keep + track of pc_rel dyn relocs. + (ppc_elf_relocate_section): Remove "will_become_local". Adjust + WILL_CALL_FINISH_DYNAMIC_SYMBOL use. Trim dyn relocs as per + allocate_dynrelocs. Don't recalculate "sec". + +2003-02-18 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test. + * elf64-ppc.c (ppc64_elf_tls_optimize): Decrement tlsld_got.refcount + on invalid LD relocs. + (allocate_dynrelocs): Invalid LD relocs don't use tlsld_got entry. + (ppc64_elf_relocate_section): Unify new handling of LD relocs and + tlsld_got entry. Use IS_PPC64_TLS_RELOC. + + * elf32-ppc.h: New file. + * elf32-ppc.c: Include elf32-ppc.h. + (NOP, CROR_151515, CROR_313131, TP_OFFSET, DTP_OFFSET): Define. + (struct ppc_elf_link_hash_entry): Rename "root" to "elf". Adjust uses. + Add "tls_mask" field. + (TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, TLS_TLS, TLS_TPRELGD): Define. + (struct ppc_elf_link_hash_table): Rename "root" to "elf". Adjust uses. + Add got, relgot, plt, relplt, dynbss, relbss, dynsbss, relsbss, + sdata, sdata2, tls_sec, tls_get_addr, tlsld_got fields. + Make use of htab shortcuts throughout file. + (ppc_elf_link_hash_newfunc): Init tls_mask field. + (ppc_elf_link_hash_table_create): Init new fields. + (ppc_elf_copy_indirect_symbol): Copy tls_mask. + (ppc_elf_howto_raw): Add tls relocs. + (ppc_elf_reloc_type_lookup): Handle them. + (ppc_elf_unhandled_reloc): New function. + (ppc_elf_create_got): Stash got section pointer in hash table, + return status. Make .rela.got too. + (ppc_elf_create_dynamic_sections): Stash section pointers in htab. + (ppc_elf_adjust_dynamic_symbol): Only set up copy relocs when + NON_GOT_REF set. Don't allocate space in .plt here.. + (allocate_dynrelocs): ..do so here instead, properly ref-counting and + not allocating plt entries unnecessarily. Allocate got entries here. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. + (ppc_elf_size_dynamic_sections): Allocate local got entries. Pass + "info" during allocate_dynrelocs hash traversal. Use htab section + shortcuts rather than searching for named sections. Get rid of + "plt" and "strip" booleans. + (update_local_sym_info, bad_shared_reloc): New functions. + (ppc_elf_check_relocs): Handle TLS relocs. Move .rela.got creation to + ppc_elf_create_got. Don't mark got or plt reloc syms dynamic, do so + in allocate_dynreloc. Use update_local_sym_info and bad_shared_reloc. + Disallow R_PPC_EMB_RELSDA, R_PPC_EMB_NADDR32, R_PPC_EMB_NADDR16, + R_PPC_EMB_NADDR16_LO, R_PPC_EMB_NADDR16_HI and R_PPC_EMB_NADDR16_HA + in shared libs. R_PPC_PLTREL32 is a plt reloc too. Refcount all + relocs that might use a plt entry. Set NON_GOT_REF too. + Enumerate all do-nothing relocs. + (ppc_elf_gc_sweep_hook): Simplify removal of dynrelocs. Handle + tls relocs and all plt relocs. + (ppc_elf_tls_setup, ppc_elf_tls_optimize): New functions. + (ppc_elf_finish_dynamic_symbol): Don't build got entries here. + (ppc_elf_finish_dynamic_sections): Rewrite tag code using htab + shortcuts. + (ppc_elf_relocate_section): Tidy. Handle TLS relocs. Use + bfd_elf_local_sym_name. Simplify unresolved reloc code. Build got + entries and got relocs here. Warn on non-zero got reloc addend. + Split out branch taken/not taken reloc code into a separate switch + and correct offset calculation. Allow BRTAKEN/BRNTAKEN dynamic relocs. + Split out HA reloc adjustments to separate switch statement. Don't + warn on reloc overflow if we've already warned about undefined. + Don't rebuild sym name when reporting errors. Report all possible + errors from _bfd_final_link_relocate. + (bfd_elf32_bfd_final_link): Don't define. + +2003-02-18 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't init "r". Don't + rebuild sym name when reporting errors. + +2003-02-17 Nick Clifton + + * elflink.h (elf_link_output_extsym): Only check + allow_shlib_undefined for shared libraries. + * elf32-i386.c (elf_i386_relocate_section): Remove bogus check + of allow_shlib_undefined. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. + +2003-02-17 Nick Clifton + + * elf.c (SEGMENT_AFTER_SEGMENT): Add third parameter - the + address field to use in the comparison. + (SEGMENT_OVERLAPS): Check that LMAs overlap as well. + +2003-02-14 Bob Wilson + + * elfcore.h (elf_core_file_p): Compare alternate machine codes for ELF + backends when checking if the generic ELF target should be used. + + * syms.c (_bfd_stab_section_find_nearest_line): For line number stabs + outside of functions, treat values as absolute addresses. + + * bfd.c: Change embedded documentation to use consistent indentation + and to split up long lines. Change informal style of description + for functions lacking real documentation. + * coffcode.h: Break up long lines in embedded documentation. + * format.c: Likewise. + * targets.c: Likewise. + * libcoff.h: Regenerate. + * bfd-in2.h: Regenerate. + +2003-02-14 Alan Modra + + * elf64-ppc.c (ppc64_elf_link_hash_table_create): Init tls_get_addr. + (ppc64_elf_copy_indirect_symbol): Merge tls_mask too. + (ppc64_elf_gc_sweep_hook): Simplify removal of dyn_relocs. + (allocate_dynrelocs): Don't treat undefined and undefweak specially. + (ppc_size_one_stub): Fix warning, and tighten plt entry check. + (group_sections): Don't share a stub section if stubs are for a large + section. Adjust comment. + (ppc64_elf_size_stubs): Roughly double the size left for stubs if + !stubs_always_before_branch. + (ppc64_elf_relocate_section): Initialize tlsld GOT entry once. Don't + treat undefined and undefweak specially when processing dyn relocs. + +2003-02-13 Jakub Jelinek + + * elflink.h (elf_link_add_object_symbols): Handle .symver x, x@FOO. + +2003-02-13 Nick Clifton + + * elf32-arm.h (elf32_thumb_to_arm_stub): Include section VMAs + in computation of offset to insert into BL instruction. + +2003-02-11 Uwe Stieber + + * config.bfd: Add support for kaOS as cross build target system. + +2003-02-11 Alan Modra + + * elf64-ppc.c (ppc64_elf_check_relocs): Match versioned + .__tls_get_addr too. + (ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect. + +2003-02-10 Kaz kojima + + * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field. + (elf_sh_link_hash_entry): Remove tls_tpoff32 field. + (sh_elf_link_hash_newfunc): Remove the initialization of + tls_tpoff32 field. + (allocate_dynrelocs): Keep dyn_relocs if it includes the entry + for which tls_tpoff32 flag is set. + (sh_elf_relocate_section): Covert to LE only if the dyn_relocs + of the symbol includes the entry matched with the input_section + and having tls_tpoff32 flag on. When linking statically, set + symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol + is defined in this executable. + (sh_elf_check_relocs): Set tls_tpoff32 flag appropriately. + +2003-02-10 Jakub Jelinek + + * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE + even if there is just non-empty .rela.plt. + +2003-02-10 Nick Clifton + + * archures.c (bfd_mach_arm_ep9312): Define. + * bfd-in2.h: Regenerate. + * cpu-arm.c (processors[]): Add ep9312. + (bfd_arm_arch): Add ep9312. + * elf32-arm.h (elf32_arm_merge_private_data): Update error + messages and add test for Maverick floating point support. + (elf32_arm_print_private_bfd_data): Handle + EF_ARM_MAVERICK_FLOAT flag. + (elf32_arm_object_p): New function. + (elf_backend_object_p): Define. + +2003-02-10 Alan Modra + + * elf64-ppc.c: Rename assorted occurrences of tls_type and similar + variables, structure fields or function params to tls_mask or + similar to better reflect usage. + (struct got_entry): Comment. + (struct ppc_link_hash_entry): Expand comment, and renumber TLS_*. + (get_tls_mask): Rename from get_tls_type. + +2003-02-09 Alan Modra + + * elf64-ppc.c (TLS_GD_LD): Don't define.. + (TLS_GD): ..define this instead and update all uses. + (TLS_TPRELGD): Define. + (ppc64_elf_link_hash_table_create): Tweak initialization of + init_refcount and init_offset. + (ppc64_elf_check_relocs): Add one extra element to t_symndx array. + Mark second slot of GD or LD toc entries. + (get_tls_type): Return an int. Distinguish toc GD and LD entries + from other tls types. + (ppc64_elf_tls_setup): New function, split out from.. + (ppc64_elf_tls_optimize): ..here. Don't optimize when symbols are + defined in a dynamic object. Fix LD optimization. Don't set TLS_TPREL + on GD->IE optimization, use TLS_TPRELGD instead. Use get_tls_type + return value to properly decide whether toc GD and LD entries can + optimize away __tls_get_addr call. Check next reloc after DTPMOD64 + to determine GD or LD rather than looking at TLS_LD flag. Don't + attempt to adjust got entry tls_type here.. + (allocate_dynrelocs): ..instead, adjust got entry tls_type here, and + look for possible merges. + (ppc64_elf_size_dynamic_sections): Adjust local got entries for + optimization. + (ppc64_elf_size_stubs): Tweak __tls_get_addr fudge. + (ppc64_elf_relocate_section): Rename some vars to better reflect usage. + Make use of return value from get_tls_type to properly detect GD and + LD optimizations. Split tlsld/gd hi/ha from lo/ds case. Don't + handle tls_get_addr removal when looking at REL24 relocs, do it when + looking at the previous reloc. Check reloc after DTPMOD64 to determine + GD or LD. + * elf64-ppc.h (ppc64_elf_tls_setup): Declare. + +2003-02-08 Alan Modra + + * elf32-hppa.c (group_sections): Don't share a stub section if + stubs are for a large section. + + * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for + stubs if !stubs_always_before_branch. + +2003-02-07 Nick Clifton + + * elf.c (swap_out_syms): Generate an error message if an + equivalent output section cannot be found for a symbol. + +2003-02-07 Jakub Jelinek + + * elf64-alpha.c (elf64_alpha_relax_section): Don't crash if + local_got_entries is NULL. + +2003-02-06 Andreas Schwab + + * elf-eh-frame.c (get_DW_EH_PE_signed): Define. + (read_value): Add parameter is_signed, use signed extraction if + the value is signed. + (_bfd_elf_write_section_eh_frame): Pass signed flag of the + encoding to read_value. + +2003-02-06 Alan Modra + + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and + plt info when called to transfer weak sym info. + +2003-02-05 Alan Modra + + * reloc.c: Add PPC and PPC64 TLS relocs. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare. + (ppc64_elf_howto_raw): Add TLS howto's. Adjust R_PPC64_NONE to be + against a 32 bit field. + (ppc64_elf_reloc_type_lookup): Handle TLS relocs. + (_ppc64_elf_section_data): Add t_symndx and comments. + (ppc64_elf_section_data): Use elf_section_data macro. + (ppc64_elf_new_section_hook): American spelling. + (struct got_entry, struct plt_entry): New. + (MUST_BE_DYN_RELOC): Rename from IS_ABSOLUTE_RELOC. + (struct ppc_stub_hash_entry): Add "addend" field. + (struct ppc_link_hash_entry): Add "tls_type". + (TLS_TLS, TLS_GD_LD, TLS_LD, TLS_TPREL, TLS_DTPREL, + TLS_EXPLICIT): Define. + (struct ppc_link_hash_table): Add tls_sec, tls_get_addr, tlsld_got. + (link_hash_newfunc): Init new fields. + (ppc64_elf_link_hash_table_create): Likewise. Set init_refcount and + init_offset to NULL. + (ppc64_elf_copy_indirect_symbol): Copy got and plt info. Don't call + _bfd_elf_link_hash_copy_indirect, rather insert relevant code from + there. + (update_local_sym_info, update_plt_info): New functions. + (ppc64_elf_check_relocs): Use them. Handle TLS relocs. Adjust GOT + handling to use got.glist rather than got.refcount. Likewise for PLT. + (ppc64_elf_gc_sweep_hook): Handle TLS relocs, new GOT and PLT lists. + (func_desc_adjust): Adjust for new PLT list. + (ppc64_elf_adjust_dynamic_symbol): Likewise. + (get_sym_h, get_tls_type): New functions. + (ppc64_elf_edit_opd): Remove unused variable. Use get_sym_h. + (ppc64_elf_tls_optimize): New function. + (allocate_dynrelocs): Adjust for new PLT and GOT lists. Allocate + TLS relocs. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc_type_of_stub): Adjust for new PLT list. + (ppc_build_one_stub): Likewise. + (ppc64_elf_size_stubs): Likewise. Use get_sym_h. Treat __tls_get_addr + calls specially. + (ppc64_elf_relocate_section): Adjust for new GOT and PLT lists. Handle + TLS relocs. Report local syms using bfd_elf_local_sym_name. Don't + init GOT entries that have a reloc. Generate GOT relocs here.. + (ppc64_elf_finish_dynamic_symbol): ..not here. Adjust for PLT list. + * elf64-ppc.h (ppc64_elf_tls_optimize): Declare. + +2003-02-04 Andreas Schwab + + * elf32-m68k.c (elf_m68k_hash_entry): Define. + (elf_m68k_link_hash_traverse): Remove. + (elf_m68k_link_hash_newfunc): Use struct bfd_hash_entry and + elf_m68k_hash_entry instead of struct elf_m68k_link_hash_entry to + reduce casting. + (elf_m68k_check_relocs): Use elf_m68k_hash_entry instead of + casting. + (elf_m68k_size_dynamic_sections): Use elf_link_hash_traverse + instead of elf_m68k_link_hash_traverse. + (elf_m68k_discard_copies): Change first parameter to pointer to + struct elf_link_hash_entry and use elf_m68k_hash_entry when struct + elf_m68k_link_hash_entry is needed. + +2003-02-04 Alan Modra + + * elf-bfd.h (struct got_entry, struct plt_entry): Forward declare. + (struct elf_link_hash_entry): Add "glist" and "plist" fields to + "got" union, and declare as gotplt_union. Use gotplt_uinion for + "plt" field. + (struct elf_link_hash_table): Make "init_refcount" a gotplt_union. + Add "init_offset" field. + (struct elf_obj_tdata ): Add "struct got_entry **" to union. + (elf_local_got_ents): Declare. + * elf.c (_bfd_elf_link_hash_newfunc): Adjust initialization of "got" + and "plt". + (_bfd_elf_link_hash_hide_symbol): Use "init_offset". + (_bfd_elf_link_hash_table_init): Set "init_offset". + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set init_refcount + from init_offset. + (elf_adjust_dynamic_symbol): Set plt and got offsets using init_offset. + + * elf.c (bfd_elf_local_sym_name): Split out from.. + (group_signature): ..here. + * elf-bfd.h (bfd_elf_local_sym_name): Declare. + +2003-02-04 Alan Modra + + * elf-bfd.h (enum elf_link_info_type): Remove. + (struct bfd_elf_section_data): Move sec_info_type, use_rela_p fields + to struct sec. Remove linkonce_p field. + (elf_linkonce_p): Delete. + (elf_discarded_section): Update for sec_info_type change. + * section.c (struct sec): Add sec_info_type, use_rela_p, has_tls_reloc, + flag11, flag12, flag13, flag14, flag15, flag16, flag20, flag24. + (ELF_INFO_TYPE_NONE): Define. + (ELF_INFO_TYPE_STABS): Define. + (ELF_INFO_TYPE_MERGE): Define. + (ELF_INFO_TYPE_EH_FRAME): Define. + (ELF_INFO_TYPE_JUST_SYMS): Define. + (STD_SECTION): Update struct sec initializer. + * ecoff.c (bfd_debug_section): Likewise. + * elf.c: Likewise. Update occurrences of sec_info_type and use_rela_p. + * elflink.h: Likewise. + * elf-eh-frame.c: Likewise. + * elf64-alpha.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * bfd-in2.h: Regenerate. + + * elf32-sparc.c (sec_do_relax): Use elf_section_data macro rather than + referring to used_by_bfd. + * elf64-sparc.c (sec_do_relax): Likewise. + * elf64-mmix.c (mmix_elf_section_data): Likewise. + * elfxx-mips.c (mips_elf_section_data): Likewise. + * ieee.c (ieee_slurp_section_data): Use ieee_per_section macro. + (ieee_get_section_contents): Likewise. + (ieee_new_section_hook): Formatting. + (ieee_canonicalize_reloc): Remove commented out code. + * mmo.c (mmo_section_data): Define. Use throughout file. + * oasys.c (oasys_get_section_contents): Use oasys_per_section macro. + +2003-01-31 Graydon Hoare + + * Makefile.am (opncls.lo): Add dependency upon libiberty.h. + * Makefile.in: Regenerate. + * opncls.c (calc_crc32, get_debug_link_info, + seperate_debug_file_exists, find_seperate_debug_file): New + internal functions. + (bfd_follow_gnu_debuglink): New function. Follow the pointer + contained inside a .gnu_debuglink section. + * bfd-in2.h: Regenerate. + +2003-01-29 Alexandre Oliva + + * elfxx-mips.c (mips_elf_got_entry_hash): Don't dereference + entry->abfd when it's NULL. + +2003-01-27 Alexandre Oliva + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Handle + _bfd_elf_section_offset returning -2 the same way as -1. + + * elfxx-mips.c (mips_elf_multi_got): New function. + (struct mips_got_entry): Make symndx and gotidx signed. Moved + addend into union along with address and link hash entry. + (struct mips_got_info): Added bfd2got and next. + (struct mips_elf_hash_sort_data): Added max_unref_got_dynindx. + (mips_elf_got_section, mips_elf_create_got_section): Use + SEC_EXCLUDE bit to tell whether we really need the got + section. Take boolean arguments to disregard an excluded + section, or to create it as excluded. Adjust all callers. + Use mips_elf_got_section all over. + (mips_elf_local_got_index, mips_elf_got_page, + mips_elf_got16_entry): Take input bfd as argument, and pass it + on to mips_elf_create_local_got_entry. + (mips_elf_global_got_index, mips_elf_create_local_got_entry): + Take input bfd as argument, and manage entries in the + appropriate GOT. + (mips_elf_got_offset_from_index): Take input bfd as argument, + and use it to adjust the GP offset of the bfd. + (mips_elf_sort_hash_table, mips_elf_sort_hash_table_f): Move + unreferenced GOT entries of global symbols to the end. + (mips_elf_record_global_got_symbol): Take input bfd as + argument. Add entries to the master GOT hash table. + (struct mips_elf_bfd2got_hash): New. + (struct mips_elf_got_per_bfd_arg): New. + (struct mips_elf_set_global_got_offset_arg): New. + (mips_elf_hash_bfd_vma, mips_elf_multi_got_entry_hash, + mips_elf_multi_got_entry_eq, mips_elf_bfd2got_entry_hash, + mips_elf_bfd2got_entry_eq, mips_elf_make_got_per_bfd, + mips_elf_merge_gots, mips_elf_set_global_got_offset, + mips_elf_resolve_final_got_entry, + mips_elf_resolve_final_got_entries, mips_elf_adjust_gp, + mips_elf_got_for_ibfd): New functions. + (ELF_MIPS_GP_OFFSET): Don't depend on SGI_COMPAT. + (MIPS_ELF_GOT_MAX_SIZE): New macro. + (STUB_LW): Generate 64-bit stub regardless of SGI_COMPAT. + (mips_elf_got_entry_hash): Take new fields into account. Use + mips_elf_hash_bfd_vma. + (mips_elf_got_entry_eq): Take new fields into account. + (mips_elf_create_got_section): Initialize new fields. + (mips_elf_calculate_relocation): Pass input_bfd to functions + that now take it. Adjust gp for the input_bfd. + (mips_elf_allocate_dynamic_relocation, + mips_elf_create_dynamic_relocation, + _bfd_mips_elf_create_dynamic_sections): Use... + (mips_elf_rel_dyn_section): New function. Borrow code from... + (_bfd_mips_elf_check_relocs): Pass input_bfd to functions that + now take it. Create the got section if needed, even if + excluded, before recording a global got symbol. Move some + code to... + (mips_elf_record_local_got_symbol): New fn. + (_bfd_mips_elf_size_dynamic_sections): Disable combreloc. + Compute multi-got global entries offsets. Move GOT code to... + (_bfd_mips_elf_always_size_sections): Call mips_elf_multi_got + if the GOT is too big. + (_bfd_mips_elf_finish_dynamic_symbol): Set got entry of + undefweak symbol to zero. Generate dynamic relocations for + non-primary GOT entries for global symbols. + (_bfd_mips_elf_finish_dynamic_sections): Handle multi-got + case. Generate dynamic relocations for local got entries. + Sort dynamic relocations on N64 too, using... + (sort_dynamic_relocs_64): New fns. + (_bfd_mips_elf_hide_symbol): Adjust multi-got counters. + (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_XGOT. + +2003-01-27 Alexandre Oliva + + * bfd.c (struct _bfd): Added id field. + * opncls.c (_bfd_id_counter): New static variable. + (_bfd_new_bfd): Use it. + * bfd-in2.h: Rebuilt. + +2003-01-25 Alan Modra + + * elf32-sparc.c (bfd_elf32_new_section_hook): Define. + +2003-01-25 Jakub Jelinek + + * elf32-sparc.c (_bfd_sparc_elf_howto_table): Add TLS relocs. + (elf32_sparc_rev32_howto): New variable. + (sparc_reloc_map): Add TLS relocs. + (elf32_sparc_reloc_type_lookup, elf32_sparc_info_to_howto): + Handle REV32. + (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc, elf32_sparc_mkobject): + New functions. + (struct elf32_sparc_dyn_relocs, struct elf32_sparc_link_hash_entry, + struct elf32_sparc_link_hash_table): + New structures. + (elf32_sparc_tdata, elf32_sparc_local_got_tls_type, + elf32_sparc_hash_table): Define. + (link_hash_newfunc, elf32_sparc_link_hash_table_create, + create_got_section, elf32_sparc_create_dynamic_sections, + elf32_sparc_copy_indirect_symbol, elf32_sparc_tls_transition): New + functions. + (elf32_sparc_check_relocs): Handle TLS relocs. Add dynamic reloc + reference counting. + (elf32_sparc_gc_sweep_hook): Likewise. + (elf32_sparc_adjust_dynamic_symbol): Likewise. + (elf32_sparc_size_dynamic_sections): Likewise. + (elf32_sparc_relocate_section): Likewise. + (allocate_dynrelocs, readonly_dynrelocs, dtpoff_base, tpoff): + New functions. + (elf32_sparc_object_p): Allocate backend private object data. + (bfd_elf32_bfd_link_hash_table_create, + elf_backend_copy_indirect_symbol, bfd_elf32_mkobject, + elf_backend_can_refcount): Define. + (elf_backend_create_dynamic_sections): Define to + elf32_sparc_create_dynamic_sections. + * reloc.c: Add SPARC TLS relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + * elf64-sparc.c (sparc64_elf_howto_table): Add TLS relocs. + (sparc_reloc_map): Likewise. + +2003-01-24 Martin Schwidefsky + + * bfd-in2.h: Regenerate. + * elf32-s390.c (elf_s390_mkobject, elf_s390_tls_transition, + s390_tls_reloc, dtpoff_base, tpoff, invalid_tls_insn): New functions. + (elf_howto_table): Add TLS relocs. + (elf_s390_reloc_type_lookup): Likewise. + (elf_s390_link_hash_entry): Add tls_type. + (elf_s390_hash_entry, elf_s390_obj_tdata, elf_s390_local_got_tls_type): + New macros. + (elf_s390_link_hash_table): Add tls_ldm_got. + (link_hash_newfunc): Initialize tls_type. + (elf_s390_link_hash_table_create): Initialize refcount of tls_ldm_got. + (elf_s390_copy_indirect_symbol): Copy tls_type information. + (elf_s390_check_relocs): Support TLS relocs. + (elf_s390_gc_sweep_hook): Likewise. + (allocate_dynrelocs): Likewise. + (elf_s390_size_dynamic_sections): Likewise. + (elf_s390_relocate_section): Likewise. + (elf_s390_finish_dynamic_symbol): Likewise. + (bfd_elf32_mkobject): Define for TLS. + * elf64-s390.c: Same changes as for elf32-s390.c. + * libbfd.h: Regenerate. + * reloc.c: Add s390 TLS relocations. + +2003-01-24 Charles Lepple + + * aclocal.m4: Fix name of --enable-install-libbfd switch. + +2003-01-23 Nick Clifton + + * Add sh2e support: + 2002-04-02 Elena Zannoni + * archures.c (bfd_mach_sh2e): Added. + * bfd-in2.h: Rebuilt. + * cpu-sh.c (arch_info_struct): Added SH2e. + * elf32-sh.c (sh_elf_set_mach_from_flags): Handle EF_SH2E. + +2003-01-23 Alan Modra + + * elf-bfd.h (struct bfd_elf_section_data): Remove tdata. Change + dynindx to an int. Rearrange for better packing. + * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done. + * elf32-mips.c (bfd_elf32_new_section_hook): Define. + * elf32-sh64.h: New. Split out from include/elf/sh.h. + (struct _sh64_elf_section_data): New struct. + (sh64_elf_section_data): Don't dereference sh64_info (was tdata). + * elf32-sh64-com.c: Include elf32-sh64.h. + * elf32-sh64.c: Likewise. + (sh64_elf_new_section_hook): New function. + (bfd_elf32_new_section_hook): Define. + (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change. + (sh64_bfd_elf_copy_private_section_data): Likewise. + (sh64_elf_final_write_processing): Likewise. + * elf32-sparc.c (struct elf32_sparc_section_data): New. + (elf32_sparc_new_section_hook): New function. + (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. + (sec_do_relax): Define. + (elf32_sparc_relax_section): Adjust to use sec_do_relax. + (elf32_sparc_relocate_section): Likewise. + * elf64-mips.c (bfd_elf64_new_section_hook): Define. + * elf64-mmix.c (struct _mmix_elf_section_data): New. + (mmix_elf_section_data): Define. Use throughout file. + (mmix_elf_new_section_hook): New function. + (bfd_elf64_new_section_hook): Define. + * elf64-ppc.c (struct _ppc64_elf_section_data): New. + (ppc64_elf_section_data): Define. Use throughout. + (ppc64_elf_new_section_hook): New function. + (bfd_elf64_new_section_hook): Define. + * elf64-sparc.c (struct sparc64_elf_section_data): New. + (sparc64_elf_new_section_hook): New function. + (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. + (sec_do_relax): Define. + (sparc64_elf_relax_section): Adjust to use sec_do_relax. + (sparc64_elf_relocate_section): Likewise. + (bfd_elf64_new_section_hook): Define. + * elfn32-mips.c (bfd_elf32_new_section_hook): Define. + * elfxx-mips.c (struct _mips_elf_section_data): New. + (mips_elf_section_data): Define. Use throughout. + (_bfd_mips_elf_new_section_hook): New function. + (mips_elf_create_got_section): Don't alloc used_by_bfd. + * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare. + * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-01-21 Richard Henderson + + * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New. + (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value. + (elf64_alpha_adjust_dynamic_symbol): Set them. + (elf64_alpha_size_plt_section_1): Reset them when plt entry removed. + (elf64_alpha_relax_tls_get_addr): Handle LDM relocs. Frob the + symbol index when relaxing LDM to TPREL. + (elf64_alpha_relax_section): Likewise. Allow relaxation of GD + relocs, even if the target isn't locally defined. + (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero. + (elf64_alpha_relocate_section): Likewise. Force TP-relative + relocs vs symndx 0 to the tp base. + +2003-01-21 Fabio Alemagna + + * config.bfd: Handle i[3456]86-*-aros*. + +2003-01-21 Andreas Schwab + + * elf32-ppc.c (struct ppc_elf_dyn_relocs): Define. + (struct ppc_elf_link_hash_entry): Define. + (ppc_elf_hash_entry): New function. + (struct ppc_elf_link_hash_table): Define. + (ppc_elf_hash_table): New function. + (ppc_elf_link_hash_newfunc): New function. + (ppc_elf_link_hash_table_create): New function. + (ppc_elf_copy_indirect_symbol): New function. + (allocate_dynrelocs): New function. + (readonly_dynrelocs): New function. + (ppc_elf_size_dynamic_sections): Allocate space for dynamic + relocs and determine DT_TEXTREL. + (ppc_elf_check_relocs): Don't do that here, just count the + dynamic relocs. + (ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the + removed section. + (bfd_elf32_bfd_link_hash_table_create): Define. + (elf_backend_copy_indirect_symbol): Define. + +2003-01-21 Richard Henderson + + * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and + TPREL also get a reloc if shared. Remove SREL support. + (elf64_alpha_emit_dynrel): New. + (elf64_alpha_relocate_section): Use it. Resolve dynamic TPREL + and GOTTPREL relocs to local symbols against the tp base. + (elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel. + + * elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got + use count before clobbering r_type. + (elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn + ordering would mean dataflow inspection is necessary. + +2003-01-20 Svein E. Seldal + + * coffcode.h (coff_set_flags): Added get/set arch hooks. + +2003-01-20 Fabio Alemagna + + * elf32-sh.c: Treat elfNN_bed like other macros defined in + elfxx-target.h and #undef it before #define'ing it. + * elf32-i386.c: Likewise. + * elf32-sh64.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-sh64.c: Likewise. + +2003-01-20 Martin Schwidefsky + + * bfd-in2.h: Regenerate. + * elf32-s390.c (elf_s390_adjust_gotplt): New prototype. + (elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add + R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16, + R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16, + R_390_PLTOFF32 and R_390_PLTOFF64. + (elf_s390_reloc_type_lookup): Likewise. + (struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track + of GOTPLT references to a function. + (link_hash_newfunc): Initialize gotplt_refcount. + (elf_s390_check_relocs): Move allocation of local_got_refcounts array + and creation of the got section out of the main switch. Add support + for the gotoff, gotplt and pltoff relocations. + (elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt + and pltoff. + (elf_s390_adjust_gotplt): New function. + (elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed + plt entries. + (allocate_dynrelocs): Add comment. + (elf_s390_relocate_section): Change r_type to unsigned. Add support + for gotoff, gotplt and pltoff relocations. + * elf64-s390.c: Same changes as for elf32-s390.c. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12, + BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64, + BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32 + and BFD_RELOC_390_PLTOFF64. + +2003-01-18 Jakub Jelinek + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle + R_IA64_TPREL64[LM]SB against non-global symbol properly. + +2003-01-16 Jakub Jelinek + + * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add + self_dtpmod_done and self_dtpmod_offset. + (allocate_global_data_got): Only use one got entry for all + dtpmod relocs against local symbols. + (allocate_dynrel_entries): Only need .rela.got entry for + dtpmod against global symbol. + (elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset. + Reserve space in .rela.got for the local dtpmod entry. + (set_got_entry): Initialize the common local dtpmod .got entry. + (elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB + and R_IA_64_DTPREL64MSB. + +2003-01-16 Alan Modra + + * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h. + (R_PPC_*): Rename all occurrences to R_PPC64_*. + (R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30. + (enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type. + (ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other + relative relocs, not with absolute ones. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2003-01-15 Andreas Schwab + + * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a + relocation against a non-allocated readonly section. + +2003-01-10 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. PLTGOT16_HA too. + +2002-01-08 Klee Dienes + + * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c. + (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c. + * Makefile.in: Regenerate. + +2003-01-08 Alexandre Oliva + + * elfn32-mips.c (prev_reloc_section): New. + (GET_RELOC_ADDEND): Use it. Parenthesize macro arguments. + (SET_RELOC_ADDEND): Parenthesize macro argument. + +2003-01-07 John David Anglin + + * elf32-hppa.c (final_link_relocate): For all DP relative relocations, + adjust addil instructions if the symbol has no section. + +2003-01-07 DJ Delorie + + * elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not + partial_inplace. + +2003-01-07 Andreas Schwab + + * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for + PC relative relocations. + (elf_m68k_discard_copies): Set it here instead. + +2002-01-02 Ben Elliston + Jeff Johnston + + * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo. + (ALL_MACHINES_CFILES): Add cpu-iq2000.c. + (BFD32_BACKENDS): Add elf32-iq2000.lo. + (BFD32_BACKENDS_CFILES): Add elf32-iq2000.c. + (cpu-iq2000.lo): New target. + * Makefile.in: Regenerate. + * config.bfd: Handle iq2000-*-elf. + * archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000. + (bfd_archures_list): Add bfd_iq2000_arch. + * configure.in: Handle bfd_elf32_iq2000_vec. + * configure: Regenerate. + * reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21, + and BFD_RELOC_IQ2000_UHI16. + * targets.c (bfd_elf32_iq2000_vec): Declare. + (bfd_target_vector): Add bfd_elf32_iq2000_vec. + * elf.c (prep_headers): Set e_machine to EM_IQ2000. + * cpu-iq2000.c: New file. + * elf32-iq2000.c: Likewise. + * libbfd.h: Regenerate. + * bfd-in2.h: Likewise. + +2003-01-02 Richard Sandiford + + * elfxx-mips.c: Include libiberty.h. + (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. + (mips_set_isa_flags): New function, split out from... + (_bfd_mips_elf_final_write_processing): ...here. Only call + mips_set_isa_flags if the EF_MIPS_MACH bits are clear. + (mips_mach_extensions): New array. + (mips_32bit_flags_p): New function. + (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. + Use mips_32bit_flags_p to check if one binary is 32-bit and the + other is 64-bit. When adopting IBFD's architecture, adopt the + bfd_mach as well as the flags. + +2003-01-02 Nick Kelsey + + * elf32-ip2k.c: Re-work of linker relaxation code for the ip2k to + fix internal errors, fix bad code generation, fix incorrect stabs + information, and improve ability to eliminate redundant page + instructions. Added code to ip2k_final_link_relocate to self-verify + the linker relaxation. Fix formatting problems. + +2002-12-30 Chris Demetriou + + * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. + * archures.c (bfd_mach_mipsisa32r2): New define. + * bfd-in2.h: Regenerate. + * cpu-mips.c (I_mipsisa32r2): New enum value. + (arch_info_struct): Add entry for I_mipsisa32r2. + * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) + (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. + (_bfd_mips_elf_final_write_processing): Add + bfd_mach_mipsisa32r2 case. + (_bfd_mips_elf_merge_private_bfd_data): Handle merging of + binaries marked as using MIPS32 Release 2. + +2002-12-30 Dmitry Diky + + * Makefile.am: Add msp430 target. + * configure.in: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * archures.c: Add msp430 architecture vector. + * config.bfd: Likewise. + * reloc.c: Add msp430 relocs. + * targets.c: Add msp320 target. + * cpu-msp430.c: New file: msp430 cpu detection. + * elf32-msp430.c: New file: msp430 reloc processing. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2002-12-28 Jakub Jelinek + + * elf.c (elf_sort_sections): Don't reorder .tbss. + (assign_file_positions_for_segments): Only adjust off/voff + for increased alignment in PT_LOAD or PT_NOTE segment, + but adjust p_filesz for .tbss too. in PT_LOAD consider + .tbss to have zero memory size. + (copy_private_bfd_data) [SECTION_SIZE]: Define. + [IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it. + [INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections + into PT_TLS segment. Never put SHF_TLS sections in + segments other than PT_TLS or PT_LOAD. + + * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt + sh_entsize. + +2002-12-23 DJ Delorie + + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. + +2002-12-23 Alan Modra + + * elflink.h (elf_link_output_extsym): Heed strip_discarded. + +2002-12-23 Nick Clifton + + * archures.c (bfd_arch_get_compatible): Add third parameter + 'accept_unknowns'. Only accept unknown format BFDs if + accept_unknowns is true, or if the format is "binary". + * bfd-in2.h: Regenerate. + +2002-12-21 Nick Clifton + + * coff-arm.c (coff_arm_relocate_section): Disable WINCE workaround + that subtracted 8 from pc relative relocations. + +2002-12-20 Kazu Hirata + + * coff-h8300.c: Fix comment typos. + * coffcode.h: Likewise. + * cpu-cris.c: Likewise. + * elf32-vax.c: Likewise. + * genlink.h: Likewise. + * linker.c: Likewise. + * som.c: Likewise. + * tekhex.c: Likewise. + * vms-misc.c: Likewise. + +2002-12-20 DJ Delorie + + * reloc.c: Add BFD_RELOC_XSTORMY16_12. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. + (xstormy16_reloc_map): Add R_XSTORMY16_12. + +2002-12-19 Kazu Hirata + + * doc/bfdint.texi: Fix typos. + +2002-12-20 Paul Eggert + + Port to POSIX 1003.1-2001. + * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o". + * configure.in (build-warnings): Likewise. + (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2002-12-19 Alan Modra + + * coff-h8300.c: Include libiberty.h. + (h8300_reloc16_extra_cases): Check the hash table creator before + referencing h8300 specific fields. Stash the hash table pointer + in a local var. Comment typo fixes. + (h8300_bfd_link_add_symbols): Likewise. + + * reloc.c (struct reloc_howto_struct): Revise src_mask and + dst_mask comments. + * bfd-in2.h: Regenerate. + +2002-12-18 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc + code a little. Comment on dynamic relocs against section symbols. + +2002-12-17 Roger Sayle + + * configure.host (ia64-*-hpux*): Support 64 bit targets using + the HP compiler's "long long". + +2002-12-16 Andrew MacLeod + + * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16 + and R_XSTORMY16_HI16) howto entries. + (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. + (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to + determine the start of the second reloc table. + +2002-12-16 Nathan Tallent + + * ecofflink.c: Fix the reading of the debugging information + of Tru64/Alpha binaries that are produced by recent Compaq + compilers. + (mk_fdrtab): Fix error in creating the FDR (file descriptor) + table. + (lookup_line): Because of the strange information sometimes + generated by Compaq's recent compilers, change how the FDR + table is searched so that PDRs (procedure descriptors) are + correctly found. Note that this change is really more of a hack; + however, I have included extensive documentation as to why + this is the best solution short of an extensive rewrite or + another hack. + (fdrtab_lookup): Add comments to explain the algorithm. + +2002-12-12 Alexandre Oliva + + * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder + initializers to match struct declaration. + +2002-12-12 Alan Modra + + * dwarf2.c (comp_unit_contains_address): Comment typo fix. + * elf.c (get_program_header_size): Likewise. + * elf32-m32r.c (m32r_elf_lo16_reloc): Likewise. + (m32r_elf_generic_reloc): Likewise. + * elf32-ppc.c (ppc_elf_howto_init): Likewise. + * elflink.h (elf_bfd_discard_info): Likewise. + +2002-12-12 Alan Modra + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset + to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and + DT_RELSZ adjustment, not output section. Avoid writing tags when + unchanged. Don't assume linker script is sane, adjust DT_REL too. + * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw + size of srelplt for DT_PLTRELSZ. Use srelplt input section size for + DT_RELASZ adjustment, not output section. Avoid writing tags when + unchanged. Adjust DT_RELA. + * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better + formatting. Avoid writing tags when unchanged. Adjust DT_RELA. + +2002-12-12 Alexandre Oliva + + * elfxx-mips.c (mips_elf_calculate_relocation): Don't divide + addend by 4. + +2002-12-12 Alexandre Oliva + + * elfxx-mips.c (struct mips_got_entry): New. + (struct mips_got_info): Added got_entries field. + (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions. + (mips_elf_local_got_index, mips_elf_got_page, + mips_elf_got16_entry): Re-implement in terms of new... + (mips_elf_create_local_got_entry): Rewrite to use got_entries. + Change return type. + (mips_elf_highest): Warning clean-up. + (mips_elf_create_got_section): Initialize got_entries. + (_bfd_mips_elf_check_relocs): Use got_entries to estimate + local got size. + (_bfd_mips_elf_size_dynamic_sections): Do not account for + GOT_PAGE entries, since we now reuse GOT16 entries. + +2002-12-10 Jason Thorpe + + * aoutx.h (set_section_contents): Allow an otherwise unrepresentable + read-only section that lies after .text and before .data to be + written into the output file and included in a_text. + (translate_to_native_sym_flags): If an otherwise unrepresentable + section was merged with .text, convert its symbols to N_TEXT + symbols. + * libaout.h (aout_section_merge_with_text_p): New macro. + +2002-12-08 Alan Modra + + * bfd-in.h: Comment typo fix. Formatting. + * bfd-in2.h: Regenerate. + * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix. + * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype. + * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix. + +2002-12-05 Richard Henderson + + * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI. + Only send PCREL21B though the plt. Fix installed reloc type. + (elfNN_ia64_relocate_section): Give error for dynamic reloc + against PCREL22 or PCREL64I; clean up error messages for + branch relocs. + +2002-12-04 Kevin Buettner + + * elf64-mips.c (elf64_mips_grok_prstatus, elf64_mips_grok_psinfo): + New functions. + (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. + +2002-12-04 David Mosberger + + * cpu-ia64-opc.c: Add operand constant "ar.csd". + +2002-12-04 H.J. Lu + + * elfxx-ia64.c (get_local_sym_hash): Use section ID instead of + BFD address when constructing local name. + +2002-12-04 Andreas Schwab + + * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec + member. + (elf_m68k_link_hash_table_create): Initialize it. + (elf_m68k_check_relocs): Handle symbols that are forced to be + local due to visibility changes. + (elf_m68k_adjust_dynamic_symbol): Likewise. + (elf_m68k_size_dynamic_sections): Likewise. + (elf_m68k_discard_copies): Likewise. + (elf_m68k_relocate_section): Likewise. + +2002-12-04 Alan Modra + + * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo. + +2002-12-04 Alan Modra + + * srec.c (srec_write_symbols): Restore '$' prefix to address + accidentally removed in 2002-04-04 change. + (srec_get_symtab): Use 0 instead of `(long) FALSE'. + +2002-12-03 Nick Clifton + + * elf32-ppc.c (apuinfo_list_init): New function. + (apuinfo_list_add): New function: Add a value to the list. + (apuinfo_list_length): New function: Return the number of + values on the list. + (apuinfo_list_element): New function: Return a value on the + list. + (apuinfo_list_finish): New function: Free the resources used + by the list. + (ppc_elf_begin_write_processing): New function. Scan the + input bfds for apuinfo sections. + (ppc_elf_write_section): New function: Delay the creation of + the contents of an apuinfo section in an output bfd. + (ppc_elf_final_write_processing): New function. Create the + contents of an apuinfo section in an output bfd. + (elf_backend_begin_write_processing): Define. + (elf_backend_final_write_processing): Define. + (elf_backend_write_section): Define. + +2002-12-03 Richard Henderson + + * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. + +2002-12-01 Stephane Carrez + + Fix PR savannah/1417: + * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust + branch if it goes to the start of the deleted region. + +2002-12-01 Stephane Carrez + + * bfd-in2.h (bfd_mach_m6812): Rebuild. + * archures.c (bfd_mach_m6812_default, bfd_mach_m6812, + bfd_mach_m6812s): Declare. + + * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function. + (_bfd_m68hc12_elf_set_private_flags): Call it. + (_bfd_m68hc12_elf_print_private_bfd_data): Report processor version. + (_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and + report microcontroller incompatibilities (HC12 vs HCS12). + (elf_backend_object_p): Update. + +2002-11-30 Alan Modra + + * bfd-in.h (TRUE_FALSE_ALREADY_DEFINED, BFD_TRUE_FALSE): Delete. + (enum bfd_boolean, boolean): Delete. + (bfd_boolean): Typedef to an int. + (FALSE, TRUE): Define. + * aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, aout-cris.c, + aout-encap.c, aout-ns32k.c, aout-target.h, aout-tic30.c, aoutf1.h, + aoutx.h, archive.c, archive64.c, archures.c, bfd-in.h, bfd.c, bfdwin.c, + binary.c, bout.c, cache.c, cisco-core.c, coff-a29k.c, coff-alpha.c, + coff-apollo.c, coff-arm.c, coff-aux.c, coff-h8300.c, coff-h8500.c, + coff-i386.c, coff-i860.c, coff-i960.c, coff-ia64.c, coff-m68k.c, + coff-m88k.c, coff-mcore.c, coff-mips.c, coff-or32.c, coff-ppc.c, + coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, coff-tic30.c, + coff-tic4x.c, coff-tic54x.c, coff-tic80.c, coff-w65.c, coff-we32k.c, + coff-z8k.c, coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, + corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, + cpu-cris.c, cpu-d10v.c, cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, + cpu-h8300.c, cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, + cpu-i860.c, cpu-i960.c, cpu-ia64.c, cpu-ip2k.c, cpu-m10200.c, + cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, cpu-m68hc12.c, cpu-m68k.c, + cpu-m88k.c, cpu-mcore.c, cpu-mips.c, cpu-mmix.c, cpu-ns32k.c, + cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, + cpu-rs6000.c, cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, + cpu-tic4x.c, cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, + cpu-w65.c, cpu-we32k.c, cpu-xstormy16.c, cpu-z8k.c, dwarf1.c, + dwarf2.c, ecoff.c, ecofflink.c, efi-app-ia32.c, efi-app-ia64.c, + elf-bfd.h, elf-eh-frame.c, elf-hppa.h, elf-m10200.c, elf-m10300.c, + elf-strtab.c, elf.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, + elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, + elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, + elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, + elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, + elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, + elf32-pj.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-sh64-com.c, + elf32-sh64.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, + elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, + elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, + elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, + elfarm-oabi.c, elfcode.h, elfcore.h, elflink.c, elflink.h, + elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, + elfxx-target.h, format.c, freebsd.h, genlink.h, hash.c, hp300hpux.c, + hppabsd-core.c, hpux-core.c, i386aout.c, i386linux.c, i386lynx.c, + i386mach3.c, i386msdos.c, i386os9k.c, ieee.c, ihex.c, irix-core.c, + libaout.h, libbfd-in.h, libbfd.c, libcoff-in.h, libecoff.h, libieee.h, + libnlm.h, liboasys.h, libpei.h, libxcoff.h, linker.c, lynx-core.c, + m68klinux.c, m68klynx.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, + mmo.c, netbsd-core.c, netbsd.h, nlm.c, nlm32-alpha.c, nlm32-i386.c, + nlm32-ppc.c, nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c, + pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, pe-mcore.c, pe-mips.c, + pe-sh.c, peXXigen.c, pef.c, pei-arm.c, pei-i386.c, pei-mcore.c, + pei-mips.c, pei-sh.c, peicode.h, ppcboot.c, ptrace-core.c, reloc.c, + reloc16.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, simple.c, + som.c, som.h, sparclinux.c, sparclynx.c, srec.c, stabs.c, sunos.c, + syms.c, targets.c, tekhex.c, ticoff.h, trad-core.c, versados.c, + vms-gsd.c, vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, + xcoff-target.h, xcofflink.c, xsym.c, xsym.h: Replace boolean with + bfd_boolean, true with TRUE, false with FALSE. Simplify comparisons + of bfd_boolean vars with TRUE/FALSE. Formatting. + * bfd-in2.h, libbfd.h, libcoff.h: Regenerate + +2002-11-28 Alan Modra + + * elf-bfd.h: Replace occurrences of Elf32_Internal_* and + Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel + with Elf_Internal_Rela. + * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, + elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, + elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, + elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, + elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, + elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, + elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, + elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, + elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, + elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, + elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. + * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr + throughout instead. + * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. + * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. + Remove INLINE keyword. + (elf_swap_reloc_in): Likewise. Also clear r_addend. + (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand + as a bfd_byte *. + (elf_write_relocs): Consolidate REL and RELA code. + (elf_slurp_reloc_table_from_section): Simplify REL code. + (NAME(_bfd_elf,size_info)): Populate reloc swap entries. + * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. + * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and + RELA code. + (elf_link_adjust_relocs): Likewise. Don't malloc space for temp + reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. + (elf_link_output_relocs): Likewise. + (elf_reloc_link_order): Likewise. + (elf_finish_pointer_linker_section): Likewise. + (struct elf_link_sort_rela): Remove union. + (elf_link_sort_cmp1): Update to suit. + (elf_link_sort_cmp2): Here too. + (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory + over-allocation for int_rels_per_ext_rel != 1 case. + * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. + * elf32-i386.c: Likewise. + * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. + * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, + elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. + * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. + * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, + elf64-sparc.c, elf64-x86-64.c: Likewise. + * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. + * elfxx-mips.c (sort_dynamic_relocs): Likewise for + bfd_elf32_swap_reloc_in. + + * elf32-arm.h: Update elf32_arm_info_to_howto calls. + * elf32-mips.c: Likewise for mips_info_to_howto_rel. + (mips_elf64_swap_reloc_in): Zero r_addend. + (mips_elf64_be_swap_reloc_in): Likewise. + (mips_elf64_slurp_one_reloc_table): Simplify. + + * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. + * elf64-hppa.c (hppa64_elf_size_info): Likewise. + * elf64-sparc.c (sparc64_elf_size_info): Likewise. + +2002-11-28 Kaz Kojima + + * elf32-sh.c (sh_elf_relocate_section): Don't complain about + unresolved debugging relocs in dynamic applications. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + +2002-11-26 Alan Modra + + * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs. + (_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs + on a relocatable link. Comment typos. + * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure + in the order they are declared. Clear elf_hash_value too. + (_bfd_elf_link_hash_table_init): Likewise assign in order. Clear + eh_info and tls_segment. + * elflink.h (elf_link_input_bfd ): Keep reloc offsets + sorted when discarding relocs by turning them into R_*_NONE. + + * libbfd.c (warn_deprecated): Comment spelling. + * po/SRC-POTFILES.in: Regenerate. + +2002-11-21 Richard Henderson + + * elflink.h (elf_link_add_object_symbols): Don't overwrite the + arch's st_other bits when merging visibilities. + (elf_link_output_extsym): Tidy clearing of visibility field. + +2002-11-21 Alan Modra + + * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define. + (SWAP_OUT_RELOC_OFFSET): Define. + +2002-11-20 Alexandre Oliva + + * elf.c (_bfd_elf_link_hash_table_init): Make sure + can_refcount is properly extended to the type of + init_refcount. + +2002-11-19 Alexandre Oliva + + * elfxx-mips.c (MIPS_RELOC_RELA_P): New macro. + (_bfd_mips_elf_relocate_section): Use it. + + * elfxx-mips.c (MNAME): New macro. + (_bfd_mips_elf_check_relocs): Use it. + (_bfd_mips_elf_discard_info): Likewise. + (_bfd_mips_elf_final_link): Likewise. + +2002-11-19 Alan Modra + + * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust + rel_hdr.sh_size too. + +2002-11-18 Klee Dienes + + * Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. + (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. + (BFD_H_FILES): Add bfdwin.c, bfdio.c. + (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. + Add dependencies for bfdwin.c, bfdio.c. + * bfd.c: Remove bfd_get_mtime, bfd_get_size. + * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, + bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, + bfd_tell, bfd_flush, bfd_stat, bfd_seek. + * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, + bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, + bfd_get_size (moved from libbfd.c and bfd.c). + * bfdwin.c New file. Contains _bfd_window_internal, + bfd_init_window, bfd_free_window, bfd_get_file_window (moved from + libbfd.c and bfd.c). + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * aclocal.m4: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2002-11-18 Klee Dienes + + * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY. + +2002-11-15 Kazu Hirata + + * coff-h8300.c (h8300_reloc16_estimate): Do not optimize away + jsr after a short jump. + * elf32-h8300.c (elf32_h8_relax_section): Likewise. + +2002-11-15 Klee Dienes + + * pef.c (bfd_pef_convert_architecture): Move declaration of + ARCH_POWERPC and ARCH_M68K to the start of the function. + +2002-11-14 Svein E. Seldal + + * coff-tic4x.c (tic4x_howto_table): Formatting fixup + +2002-11-14 Hans-Peter Nilsson + + * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): + For bpo_gregs_section->contents, allocate _raw_size, not + _cooked_size. + +2002-11-13 Klee Dienes + + * config.bfd: Add entries for powerpc-*-darwin and cousins. + +2002-11-13 H.J. Lu + + * elfcode.h (elf_object_p): Don't restore abfd->arch_info. + +2002-11-13 Klee Dienes + Alan Modra + + * bfd.c (struct bfd_preserve): New. + (bfd_preserve_save): New function. + (bfd_preserve_restore): Ditto. + (bfd_preserve_finish): Ditto. + * bfd-in2.h: Regenerate. + * mach-o.c: Formatting. + (bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned. + (bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish. + (bfd_mach_o_core_p): Ditto. + (bfd_mach_o_scan): Pass in mdata. + * mach-o.h (bfd_mach_o_scan): Update prototype. + * pef.c: Formatting. + (bfd_pef_object_p): Use bfd_preserve_save/restore/finish. + (bfd_pef_xlib_object_p): Ditto. + (bfd_pef_scan): Pass in mdata. Move version check to bfd_pef_object_p. + * pef.h (bfd_pef_scan): Update prototype. + * xsym.c: Formatting, K&R fixes. + (bfd_sym_object_p): Use bfd_preserve_save/restore/finish. + (bfd_sym_scan): New function split out from bfd_sym_object_p. + * xsym.h (bfd_sym_scan): Declare. + * elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish. + * elfcore.h (elf_core_file_p): Likewise. + * targets.c (_bfd_target_vector): Revert 2002-11-08 change. + +2002-11-12 Nick Clifton + + * po/da.po: Updated Danish translation. + +2002-11-12 Alan Modra + + * elflink.h (elf_link_add_object_symbols): Optimize stabs for + relocatable link too. + (elf_link_input_bfd): When emitting relocs, adjust offsets for + eh_frame and stab sections. Zap deleted relocs. + (elf_reloc_symbol_deleted_p): Return true for zero r_symndx. + (elf_bfd_discard_info): Run for relocatable link too. + * elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd. Make global. + Handle ld -r case. + (ppc64_elf_size_dynamic_sections): Don't call edit_opd from here. + * elf64-ppc.h (ppc64_elf_edit_opd): Declare. + + * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. + (struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise. + (struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise. + (enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR. + (struct eh_frame_hdr_info): Add "hdr_sec", remove "split". + (struct elf_link_hash_table): Add eh_info. + (struct elf_obj_tdata): Change eh_frame_hdr to an asection *. + (_bfd_elf_discard_section_eh_frame): Update prototype. + (_bfd_elf_discard_section_eh_frame_hdr): Likewise. + (_bfd_elf_write_section_eh_frame): Likewise. + (_bfd_elf_write_section_eh_frame_hdr): Likewise. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec" + param. Get "hdr_info" from link hash table. + (_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param. Get + header section from link hash table. Save header section to elf_tdata. + (_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec". Use + header section from link hash table. Don't alloc hdr_info. Clear + hdr_sec instead of setting "strip". + (_bfd_elf_eh_frame_section_offset): Formatting. + (_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param. + Get header section from link hash table. + (_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param. + Get header section from link hash table. + * elf.c (map_sections_to_segments): Use cached eh_frame_hdr. + (get_program_header_size): Likewise. + (_bfd_elf_section_offset): Formatting. + * elflink.h (elf_link_create_dynamic_sections): Stash eh frame header + section pointer in link hash table. + (elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr + and _bfd_elf_write_section_eh_frame calls. Update comment about + eh_frame entries. + (elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and + _bfd_elf_discard_section_eh_frame_hdr calls. Remove "ehdr". + + * po/SRC-POTFILES.in: Regenerate. + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero + relocs for discarded FDEs. Remove dead code. + (_bfd_elf_write_section_eh_frame_hdr): Remove dead code. + * elflink.h (elf_bfd_discard_info): Don't save edited relocs. + Tidy conditions under which stabs are edited. Formatting. + * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows + from discarded relocs. + * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output + section adjustments after testing magic values. + +2002-11-12 Thomas Moestl + + * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct + references to large plt symbols. + +2002-11-12 Klee Dienes + + * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when + looking for an unused section name. + +2002-11-11 Kazu Hirata + + * coff-h8300.c: Fix formatting. + * elf32-h8300.c: Likewise. + * reloc16.c: Likewise. + +2002-11-09 Jeroen Dobbelaere + + * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output + section when dynamic section unused; _bfd_strip_section_from_output + instead. + +2002-11-08 Alan Modra + + * targets.c (_bfd_target_vector): Disable pef_vec, pef_xlib_vec + and sym_vec. + + * dwarf2.c: Revert last change. + +2002-11-07 Michal Ludvig + + * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, + _bfd_dwarf2_find_nearest_line): Use + bfd_simple_get_relocated_section_contents() instead of + bfd_get_section_contents(). + * reloc.c (bfd_perform_relocation): Add sanity check. + * simple.c (simple_get_relocated_section_contents): If the section + does not have any relocs associated with it, just return the + unadjusted contents. + +2002-11-07 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section) : Correct test for filling in constant .got + contents, enabling for a non-DSO, for symbols defined in the + program with --export-dynamic. + +2002-11-07 Alan Modra + + * elf64-ppc.c: Comment typo fixes. + (ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input. + +2002-11-07 Nick Clifton + + * po/da.po: Updated Danish translation. + +2002-11-06 Alexandre Oliva + + * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate + exactly three internal relocs per external reloc. Set reloc_count + to the external reloc count. + +2002-11-06 Klee Dienes + + * coff-stgo32.c (stub_bytes): Mark as const. + Fix comment formatting. + +2002-11-06 Klee Dienes + + * Makefile.am (BFD32_BACKENDS): Add mach-o.lo, pef.lo, and + xsym.lo. + (BFD32_BACKENDS_CFILES): Add mach-o.c, pef.c, and xsym.c. + (SOURCE_HFILES): Add mach-o.h, pef.h, pef-traceback.h, xsym.h + * archures.c (enum bfd_architecture): Add bfd_arch_m98k. + * bfd.c (struct bfd): Add private data for mach-o, pef, and sym. + * targets.c (enum bfd_flavour): Add flavours for mach-o, pef, and + sym. + (_bfd_target_vector): Add target vectors for mach-o, pef, and sym. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * xsym.c: New file. Contains support for the Apple/Metrowerks + xSYM debugging format. + * xsym.h: New file. + * pef.c: New file. Contains support for the Apple Code Fragment + Manager Preferred Executable Format + * pef.h: New file. + * pef-traceback.h: New file. Contains support for parsing PowerPC + traceback tables as used by PEF executables (and perhaps other + systems as well). + * mach-o.c: New file. Contains support for the Mach-O object file + format. + * mach-o.h: New file. + * mach-o-target.c: New file. Declares the mach-o targets + themselves. Included three times by mach-o.c; each time with a + different set of macros set. + +2002-11-06 Graeme Peterson + + * Makefile.am: Remove entries for elf32-qnx.[ch]. + * Makefile.in: Regenerate. + * config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec, + ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use + bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. + * configure.in: Remove support for bfd_elf32_sh{l}qnx_vec, + bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec, + and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets. + bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. + * configure: Regenerate. + * elf32-qnx.c: Remove. + * elf32-qnx.h: Remove. + * elf.c: Remove calls to QNX specific set_nonloadable_filepos, + is_contained_by_filepos, and copy_private_bfd_data_p. + * elf-bfd.h (struct elf_backend_data): Remove set_nonloadable_filepos, + is_contained_by_filepos, and copy_private_bfd_data_p. + * elf32-i386.c: Remove QNX extended bfd support. + * elf32-ppc.c: Remove QNX extended bfd support. + * elf32-sh.c: Remove QNX extended bfd support. + * elfarm-nabi.c: Remove QNX extended bfd support. + * targets.c: Remove qnx vectors. + * elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove + (elf_backend_is_contained_by_filepos): Remove. + (elf_backend_copy_private_bfd_data_p): Remove. + * po/SRC-POTFILES.in: Regenerate. + +2002-11-06 David O'Brien + Alan Modra + + * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of + dynamic relocs against section symbols for the output section vma. + +2002-11-05 Alan Modra + + * elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn, + t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove. + +2002-11-05 Kaz Kojima + Alan Modra + + * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64 + vectors in target_selvecs. + (shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors + in target_selvecs. + (sh-*-netbsdelf*): Likewise. + * configure.in (assocvecs): New variable. Handle assocvecs like + selvecs. + * configure: Regenerate. + * format.c (bfd_check_format_matches): Store bfd_target pointers + in matching_vector instead of target names. Select first target + from bfd_associated_vector that matches a list of ambiguous targets. + * targets.c (_bfd_associated_vector): New array. + (bfd_associated_vector): New variable. + (_bfd_target_vector): Add bfd_elf*_sh64*lin_vec. + * libbfd-in.h (bfd_associated_vector): Declare. + * libbfd.h: Regenerate. + +2002-11-05 Elias Athanasopoulos + + * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is + non-NULL before dereferencing. + +2002-11-04 Kaz Kojima + + * vms.c (vms_object_p): Restore the start address when returning + NULL. + +2002-11-04 Alan Modra + Hans-Peter Nilsson + + * elflink.h (struct elf_final_link_info): Add shndxbuf_size. + (elf_bfd_final_link): Don't bother zeroing symtab_hdr fields. + Set up a larger symshndxbuf, and write it out. Free it on + exit rather than freeing symbuf twice. Correct section index + on output section symbol loop. + (elf_link_output_sym): Accumulate symbol extension section + indices, reallocating symshndxbuf rather than writing it out. + (elf_link_flush_output_syms): Don't flush symshndxbuf. + * elf.c (assign_section_numbers): Init i_shdrp to all zero. + Use bfd_zalloc to clear i_shdrp[0] too. + +2002-11-03 Stephen Clarke + + * elf32-sh64-com.c (sh64_address_in_cranges): Use + _raw_size of cranges section if _cooked_size not yet set. + +2002-11-03 Hans-Peter Nilsson + + * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters + for bfd_elf32_swap_symbol_out. + +2002-10-31 David O'Brien + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix + signed and unsigned in comparison. + +2002-10-30 Daniel Jacobowitz + + * coffcode.h: Remove extraneous '\'. + +2002-10-28 H.J. Lu + + * Makefile.am (targets.lo): Depend on Makefile instead of + config.status. + (archures.lo): Likewise. + * Makefile.in: Regenerated. + +2002-10-25 Jason Thorpe + + * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add + bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to + targ_selvecs. + +2002-10-25 Jim Wilson + + * elf64-sh64.c (sh_elf64_relocate_section): Call + _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol + of SHF_MERGE section. + +2002-10-25 Hans-Peter Nilsson + + * simple.c: Correct placement of ATTRIBUTE_UNUSED. + +2002-10-24 John David Anglin + + * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to + unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to + unsigned int. + (NAME(aout,final_link)): Cast enum used in assignment. + (aout_link_write_symbols): Cast enums in comparisons, int values to + boolean, enums in assignments to int. + (aout_link_input_section_std): Cast rel->r_index to unsigned int. + (aout_link_input_section_ext): Likewise. Cast enums used in + comparisons with unsigned ints. + (aout_link_reloc_link_order): Cast enum to int in assignment. + * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr + calls to char *. + * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in + assignment. + * bfd-in2.h (bfd_set_section_vma): Likewise. + * bfd.c (bfd_record_phdr): Cast enums in assignments. + * binary.c (bfd_alloc): Cast enum to long. + * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. + * dwarf2.c (read_abbrevs): Add casts to enum types. + (read_attribute_value): Likewise. + (arange_add): Cast result of bfd_zalloc call. + (comp_unit_contains_address): Return true and false. + (comp_unit_find_nearest_line): Cast return to boolean. + * format.c (bfd_check_format_matches, bfd_set_format): Likewise. + * gen-aout.c: define macro '_' if not defined. + * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. + (bfd_bwrite): Cast bfd_realloc to bfd_byte *. + (bfd_write_bigendian_4byte_int): Cast return to boolean. + (bfd_seek): Cast bfd_realloc to bfd_byte *. + (bfd_generic_is_local_label_name): Cast return to boolean. + * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. + * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to + struct bfd_hash_entry *. + (_bfd_generic_link_hash_newfunc): likewise. + (_bfd_generic_final_link): Cast enum to unsigned int. + * merge.c (sec_merge_emit): Cast return to boolean. + (merge_strings): Add casts to const unsigned char *. + * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. + (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. + * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result + to struct bfd_hash_entry *. + (bfd_set_section_content): Add cast to PTR in comparison. + * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, + simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, + simple_dummy_unattached_reloc, + bfd_simple_get_relocated_section_contents): Add K&R declarations and + function definitions. + * srec.c (S3Forced): Initialize to false. + (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. + * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. + (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. + * syms.c (bfd_is_undefined_symclass): Cast return to boolean. + (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in + comparisons. + +2002-10-23 Jakub Jelinek + + * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic + relocs into shared lib non-allocated reloc sections. + +2002-10-23 Nathan Tallent + + * dwarf2.c (add_line_info): Ensure that the line_info_table is + sorted even when given an out-of-order line sequence. + (lookup_address_in_line_info_table): When an exact VMA match is + not found, return line information with the closest VMA. + +2002-10-23 Ross Alexander + + * elf64-hppa.c: Force DT_FLAGS to always be set. Required by + HPUX 11.00 patch PHSS_26559. + +2002-10-22 Alexandre Oliva + + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move + the options section into a separate section unless IRIX 6 + compatibility is enabled. + +2002-10-22 Alexandre Oliva + + * elflink.h (struct elf_link_sort_rela): Turn rel and rela + into arrays. + (elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust. + (elf_link_sort_relocs): Likewise. Take int_rels_per_ext_rel + into account. + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose + R_MIPS_REL32 with R_MIPS64 if ABI_64_P. + +2002-10-21 Graeme Peterson + + * targets.c (_bfd_target_vector): Add missing qnx vectors. + +2002-10-21 Alan Modra + + * targets.c (bfd_target_list): Don't return the default target twice. + +2002-10-21 Elias Athanasopoulos + + * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace + perror with bfd_perror. + +2002-10-19 H.J. Lu + + * elflink.h (elf_link_add_object_symbols): Correctly handle + DT_RPATH and DT_RUNPATH. + +2002-10-19 Mark Kettenis + + * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. + +2002-10-17 Denis Chertykov + + * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code + for ip2k port. + +2002-10-17 Alan Modra + + * elfxx-target.h (USE_REL): Don't define as 1. + * elf32-arm.h (USE_REL): Provide a default define of 0. + Use #if rather than #ifdef when testing USE_REL. + * elf32-m32r.c: Likewise. + + * elf32-arc.c (USE_REL): Define as 1. + * elf32-d10v.c (USE_REL): Likewise. + * elf32-m32r.c (USE_REL): Likewise. + * elf32-m68hc11.c (USE_REL): Likewise. + * elf32-m68hc12.c (USE_REL): Likewise. + * elf32-or32.c (USE_REL): Likewise. + * elfarm-nabi.c (USE_REL): Likewise. + +2002-10-16 Jakub Jelinek + + * config.bfd (s390-*-linux*): Add targ64_selvecs. + (s390x-*-linux*): Add targ_selvecs. + +2002-10-16 Alan Modra + + * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo, + elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo, + elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo, + elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo. + (BFD32_BACKENDS_CFILES): Likewise for corresponding C files. + (BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo. + (BFD64_BACKENDS_CFILES): Likewise for corresponding C files. + (SOURCE_HFILES): Add elf32-qnx.h. + (BUILD_HFILES): Add bfdver.h. + Run "make dep-am". + * Makefile.in: Regenerate. + * configure.in Update bfd vector dependencies. + * configure: Regenerate. + * elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c. + * elf32-i386qnx.c: Likewise. + * elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c. + * elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c. + * elf32-sh-lin.c: Likewise. + * elf32-shqnx.c: Likewise. + * elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c. + * elf32-sh64-nbsd.c: Likewise. + * elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c. + * elf64-sh64-nbsd.c: Likewise. + * elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c. + * elf32-arm.h (ELF_MAXPAGESIZE): Always define. + * elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests. + * elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests. + * elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define. + (elf_backend_is_contained_by_filepos): Likewise. + (elf_backend_copy_private_bfd_data_p): Likewise. + Globalize and move functions to.. + * elf32-qnx.c: ..here. New file. + * elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't + emit target vectors when INCLUDE_SHMEDIA. + * elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to + end of file. + * elf64-sh64.c: Remove ELF_ARCH test. + * elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test. + * po/BLD-POTFILES.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2002-10-16 Alan Modra + + * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects + loaded with --just-symbols. + + * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define. + * elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. + * elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. + * elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. + +2002-10-15 Richard Henderson + + * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd. + (BFD64_BACKENDS_CFILES): Likewise. + * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha. + * elf64-alpha-fbsd.c: Remove file, move code ... + * elf64-alpha.c: ... here. + * Makefile.in, configure: Rebuild. + +2002-10-14 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment + VALUE, not ADDEND. + +2002-10-14 Stephen Clarke + + * elf32-sh.c (elf_sh_link_hash_entry): Replace + datalabel_got_offset with union of datalabel_got + offset and refcount. + (sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount. + (allocate_dynrelocs): Delete unnecessary code for + STT_DATALABEL type. Create entry in got for + datalabel version of symbol if datalabel_got.refcount > 0. + (sh_elf_relocate_section): Use datalabel_got union. + (sh_elf_gc_sweep_hook): Pull common code to initialize + h and eh out of switch statement. Declare seen_stt_datalabel. + Initialize it. Decrement datalabel_got.refcount for + got relocs when seen_stt_datalabel is true. + Decrement local_got_refcounts entry for datalabel got relocs + of local symbols. + (sh_elf_copy_indirect_symbol): Copy datalabel_got field over. + (sh_elf_check_relocs): Declare seen_stt_datalabel. + Initialize it. When seen_stt_datalabel is true, increment + datalabel_got refcount rather than got.refcount. + (sh_elf_finish_dynamic_symbol): Create relocs to + initialize got entry for datalabel version of symbol. + +2002-10-14 Alan Modra + + * Makefile.am: Run "make dep-am". + (BFD_H_FILES): Remove version.h. + * bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move.. + * version.h: ..to here. + * configure.in (bfd_version_date): Remove. + (AC_OUTPUT): Make bfdver.h from version.h. + * bfd.c: #include "bfdver.h". + * vms-hdr.c: Likewise. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2002-10-14 Alan Modra + + * archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086, + bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64, + bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64, + bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850, + bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8, + bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple, + bfd_mach_ia64_elf64, bfd_mach_ia64_elf32, + bfd_mach_ip2022, bfd_mach_ip2022ext, + bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber. + * bfd-in2.h: Regenerate. + +2002-10-14 Kaz Kojima + + * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative + endian vector to targ_selvecs. + +2002-10-13 Alexandre Oliva + + * elfxx-mips.c (mips_elf_calculate_relocation): Take + save_addend argument. Don't apply the 32-bit mask to a + GPREL32 value if it's to be used in another relocation. Don't + use forced-check computation of local_p to decide whether to + add gp0 to GPREL16 value. Don't use only the lowest 16 bits + of the addend of a non-in-place GPREL16 relocation. + (_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to + mips_elf_calculate_relocation(). + +2002-10-12 Stephane Carrez + + * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs + with symbols in other sections if we relaxed something; the sections + output offsets must be re-computed before. + +2002-10-12 Stephane Carrez + + * elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols + handling to use Elf_Internal_Sym. + (m68hc11_elf_relax_delete_bytes): Likewise. + +2002-10-11 Kaz Kojima + + * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject, + sh_elf_object_p, dtpoff_base): New functions. + (sh_elf_howto_table): Add TLS relocs. + (sh_reloc_map): Likewise. + (sh_elf_info_to_howto): Support TLS relocs. + (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32. + (sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type): + New macros. + (sh_elf_obj_tdata): New. + (elf_sh_link_hash_table): Add tls_ldm_got. + (sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got. + (allocate_dynrelocs): Support TLS relocs. + (sh_elf_size_dynamic_sections): Likewise. + (sh_elf_relocate_section): Support TLS relocs. Don't try to find + .rela.got section when found already. Return false after printing + error about unresolvable relocation. + (sh_elf_gc_sweep_hook): Support TLS relocs. + (sh_elf_check_relocs): Likewise. + (sh_elf_finish_dynamic_symbol): Likewise. + (bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case. + * reloc.c: Add SH TLS relocs. + * bfd-in2.h, libbfd.h: Regenerate. + +2002-10-11 Daniel Jacobowitz + + * Makefile.in: Regenerated. + +2002-10-11 Daniel Jacobowitz + + * Makefile.am: Run dep-am. + (BFD_H_DEP): Add simple.c and linker.c. + (BFD32_LIBS): Add simple.lo. + (BFD32_LIBS_CFILES): Add simple.c. + * Makefile.in: Regenerated. + * bfd-in2.h: Regenerated. + * simple.c: New file. + +2002-10-11 Alan Modra + + * coff-arm.c (record_arm_to_thumb_glue): Avoid type-punned pointers. + (record_thumb_to_arm_glue): Likewise. + * ecoff.c (ecoff_link_add_externals): Likewise. + * elf32-arm.h (record_arm_to_thumb_glue): Likewise. + (record_thumb_to_arm_glue): Likewise. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. + * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. + * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. + * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. + * elf64-ppc.c (func_desc_adjust): Likewise. + * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. + (sh64_elf64_create_dynamic_sections): Likewise. + * elflink.c (_bfd_elf_create_got_section): Likewise. + (_bfd_elf_create_dynamic_sections): Likewise. + (_bfd_elf_create_linker_section): Likewise. + * elflink.h (elf_add_default_symbol): Likewise. + (elf_link_create_dynamic_sections): Likewise. + (NAME(bfd_elf,size_dynamic_sections)): Likewise. + * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Likewise. + * elfxx-mips.c (mips_elf_create_got_section): Likewise. + (_bfd_mips_elf_add_symbol_hook): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Likewise. + * linker.c (generic_link_add_symbol_list): Likewise. + * xcofflink.c (xcoff_link_add_symbols): Likewise. + + * elfxx-ia64.c (oor_brl, oor_ip): Conditionally define. + + * elf64-ppc.c (edit_opd): Only zero opd syms when function is + completely removed. Correct local sym adjustment. + +2002-10-10 Stephen Clarke + + * elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): + Correct mistake in calculation of address of .got. + * elf64-sh64.c (elf_sh64_pic_plt_entry_be, + elf_sh64_pic_plt_entry_le): Likewise. + +2002-10-09 Richard Shann + Stephen Clarke + + * Makefile.am: Add entries for elf32-sh64-lin.c and + elf64-sh64-lin.c. Regenerate. + * Makefile.in: Regenerate. + * config.bfd: Change sh64eb-*-linux* and sh64-*-linux* + to use sh64 vectors rather than sh vectors. + * configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, + bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. + * configure: Regenerate. + * elf32-sh64-lin.c: New file. + * elf64-sh64-lin.c: New file. + * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, + bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. + +2002-10-08 H.J. Lu + + * elf32-i386.c (elf_i386_relocate_section): Re-arrange the + IE->LE transition for R_386_TLS_IE. + +2002-10-08 Alan Modra + + * elf64-ppc.c (edit_opd): Correct test for discarded sections. + +2002-10-07 Mark Elbrecht + + * cofflink.c (mark_relocs): Don't mark relocations in excluded + sections. + +2002-10-07 Alan Modra + + * elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent + code. + + * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. + +2002-10-06 Alan Modra + + * opncls.c: Formatting. + (_bfd_new_bfd): Use a smaller section hash table. + +2002-10-05 Alexandre Oliva + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type + of the other two relocations packed with a REL32 to NONE. + +2002-10-02 Stephen Clarke + + * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. + (sh_elf_link_hash_newfunc): Initialize it. + (allocate_dynrelocs): Transfer gotplt refs from plt.refcount + to got.refcount for symbols that are forced local or when + we have direct got refs. + (sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it + to correctly adjust got.refcount and plt.refcount. + (sh_elf_copy_indirect_symbol): Copy gotplt_refcount across. + (sh_elf_check_relocs): Increment gotplt_refcount. + +2002-10-01 Jakub Jelinek + + * elf32-i386.c (elf_i386_relocate_section): Fix + movl foo@indntpoff, %eax IE->LE transition. + +2002-10-01 Jakub Jelinek + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD + sequence and its transitions. + +2002-10-01 Jakub Jelinek + + * elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32 + to st_value + addend in non-code sections. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve + R_X86_64_DTPOFF32 to st_value + addend in non-code sections. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + Eric Christopher + Richard Sandiford + + * archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New. + (bfd_mach_mips5500): New. + * cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New. + (arch_info_struct): Add corresponding entries here. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120, + E_MIPS_MACH_5400 and E_MIPS_MACH_5500. + (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120, + bfd_mach_mips5400 and bfd_mach_mips5500. + (_bfd_mips_elf_mach_extends_p): New function. + (_bfd_mips_elf_merge_private_bfd_data): Use it to help merge + the EF_MIPS_MACH flags. + * bfd-in2.h: Regenerate. + +2002-09-28 Jason Thorpe + + * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip + .got sections. + +2002-09-28 Alan Modra + + * elf.c (map_sections_to_segments): Correct test for start of + writable section in the same page as end of read-only section. + +2002-09-27 Matt Thomas + + * elf32-vax.c (elf_vax_check_relocs): Remove unused + local_got_refcounts usage. Remove allocation of got slot. + (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage. + Remove de-allocation of got slot. + (elf_vax_size_dynamic_section): Fix some indentation. Add hash + traversal for elf_vax_instantiate_got_entries. Allow empty .got + sections to be GC'ed. + (elf_vax_instantiate_got_entries): New function. + (elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove + tests that are now handled by elf_vax_instantiate_got_entries. + Assert GOT entry falls within .got section size. Remove redundant + comparisions. Fix comments. + +2002-09-27 Jakub Jelinek + + * reloc.c: Add x86-64 TLS relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit + relocs. Add TLS relocs. + (x86_64_reloc_map): Add TLS relocs. + (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. + (struct elf64_x86_64_link_hash_entry): Add tls_type field. + (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. + (elf64_x86_64_hash_entry): Define. + (struct elf64_x86_64_obj_tdata): New. + (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. + (struct elf64_x86_64_link_hash_table): Add tls_ld_got. + (link_hash_newfunc): Initialize tls_type. + (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. + (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. + (elf64_x86_64_mkobject): New. + (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. + (elf64_x86_64_tls_transition): New. + (elf64_x86_64_check_relocs): Add r_type variable and use it. + Handle TLS relocs. + (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. + (allocate_dynrelocs): Allocate GOT space for TLS relocs. + (elf64_x86_64_size_dynamic_sections): Likewise. + (dtpoff_base, tpoff): New. + (elf64_x86_64_relocate_section): Handle TLS relocs. + (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT + entries. + (bfd_elf64_mkobject): Define. + + * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set + DF_STATIC_TLS if shared. + +2002-09-26 Thiemo Seufer + + * elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded + empty relocation sections. + +2002-09-26 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here. + (ppc64_elf_build_stubs): Build them here instead. + +2002-09-24 Jakub Jelinek + + * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE + addend into r_addend, not *r_offset. + (elf32_sparc_finish_dynamic_symbol): Likewise. + * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at + R_SPARC_RELATIVE's r_offset. + +2002-09-23 Nathan Tallent + + * dwarf2.c (decode_line_info): Update to correctly decode + the (non-standard DWARF2) out-of-order address sequences + generated by the Intel C++ 6.0 compiler for ia64-Linux. + +2002-09-23 Mark Elbrecht + + * config.bfd: For DJGPP targets, match with any cpu and any machine. + +2002-09-23 Alan Modra + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs + for discarded FDEs. Remove redundant assignment. + * elflink.h (elf_bfd_discard_info): Save edited relocs. + +2002-09-22 H.J. Lu + + * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge + the relocation count between different .reloc sections. + +2002-09-21 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and + ".sdata.*" for R_PPC_SDAREL16, ".sbss2*" and ".sdata2*" for + R_PPC_EMB_SDA2REL. Similarly for R_PPC_EMB_SDA21 and + R_PPC_EMB_RELSDA. + + * elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount" + unsigned. Move "symcount" assignment out of loop. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regnerate. + +2002-09-19 Nathan Tallent + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): If address length is + zero, set it to 8 for (non-standard) 64-bit DWARF2 formats + (e.g. IRIX64). + +2002-09-19 Jakub Jelinek + + * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word + even if generating R_PPC_RELATIVE reloc. + (ppc_elf_relocate_section): Make sure relocation is performed + if skip == -2. Clear memory at r_offset when creating dynamic + relocation. + +2002-09-19 Jakub Jelinek + + * reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, + BFD_RELOC_386_TLS_GOTIE): Add. + * bfd-in2.h, libbfd.h: Rebuilt. + * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE + and R_386_TLS_GOTIE. + (elf_i386_reloc_type_lookup): Handle it. + (struct elf_i386_link_hash_entry): Change tls_type type to unsigned + char instead of enum, change GOT_* into defines. + (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. + (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. + (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is + accessed both as normal and TLS symbol. Move R_386_TLS_LDM and + R_386_PLT32 cases so that R_386_TLS_IE can fall through. + Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. + (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. + Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. + (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if + tls_type is GOT_TLS_IE_BOTH. + (elf_i386_size_dynamic_sections): Likewise. + (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. + Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. + (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch + all 4 GOT_TLS_* TLS types. + +2002-09-19 Nick Clifton + + * elflink.h (elf_fix_symbol_flags): When examining weak symbols, + follow indirect links. + +2002-09-19 Nathan Tallent + + * ecoffswap.h (ecoff_swap_pdr_in) : Update to + correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1) + on 64 bit machines. + (ecoff_swap_sym_in) : Likewise. + * ecoff.c (_bfd_ecoff_slurp_symbolic_info): Fix error reading + ECOFF information: 'ioptMax' refers to the actual *size* + of the optimization symtab, not the number of entries. + +2002-09-19 Daniel Jacobowitz + + * elf32-arm.h (elf32_arm_adjust_dynamic_symbol): Update + ELF_LINK_HASH_NEEDS_PLT logic. + +2002-09-18 Daniel Jacobowitz + + * elfcode.h (elf_slurp_reloc_table_from_section): Check + correct relocation count. + +2002-09-17 Daniel Jacobowitz + + * bfd-in.h (bfd_get_dynamic_symcount): Define. + * bfd.c (struct _bfd): Add dynsymcount. + * bfd-in2.h: Regenerated. + * elf.c (_bfd_elf_canonicalize_dynamic_symtab): Set + abfd->dynsymcount. + * elfcode.h (elf_slurp_reloc_table_from_section): Check + for overflow. + +2002-09-17 Stan Cox + + * elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3. + (mips_elf64_final_gp): Don't make up gp value. + * elfn32-mips.c (mips_elf_final_gp): Likewise. + * elfxx-mips.c (_bfd_mips_elf_final_link): Always create + .MIPS.options/.options section. + +2002-09-17 David O'Brien + + * elf32-i386-fbsd.c: Always label using the EI_OSABI method. + It is benign for FreeBSD < 4.1. Minor reformatting. + * elf64-alpha-fbsd.c: Likewise. + +2002-09-17 Jakub Jelinek + + * elf32-i386.c (elf_i386_relocate_section) [R_386_TLS_TPOFF32]: Negate + addend. + +2002-09-17 Alan Modra + + * elf64-alpha.c (alpha_elf_size_info): Make static. + +2002-09-17 Svein E. Seldal + + * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. + * cpu-tic4x.c: Ditto. + +2002-09-17 Thiemo Seufer + + * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove + duplicate define. + +2002-09-16 Bruno Haible + + * elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included + by a target variant implementation. + * elf64-alpha.c: Likewise. + * elf32-i386-fbsd.c: New file. + * elf64-alpha-fbsd.c: New file. + * targets.c: Support bfd_elf32_i386_freebsd_vec and + bfd_elf64_alpha_freebsd_vec. + * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, + bfd_elf64_alpha_freebsd_vec. + * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. + (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. + (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. + (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. + (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. + * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD + specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. + +2002-09-12 Jakub Jelinek + + * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is + NULL. + (elf_i386_relocate_section): Return false after printing error about + unresolvable relocation. + +2002-09-12 Nick Clifton + + * elf32-arm.h (elf32_arm_final_link_relocate): Fix handling of + R_ARM_THM_PC11. + +2002-09-11 Jeffrey Law + + * elf32-h8300.c (elf32_h8_relax_section): Fix typo. + +2002-09-11 Andrew Haley + + * elf.c (_bfd_elf_find_nearest_line): Check functionname_ptr and + line_ptr before deciding we've found a symbol. + +2002-09-11 Nick Clifton + + * po/da.po: New Danish translation file. + * configure.in (LINGUAS): Add 'da'. + * configure: Regenerate. + +2002-09-10 Michael Snyder + + * irix-core.c (do_sections, do_sections64): New functions. + (irix_core_core_file_p): Call new functions do_sections, + do_sections64, depending on corefile (32-bit or 64-bit). + +2002-09-09 Richard Henderson + + * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M + and PCREL21F like PCREL21B. + +2002-09-04 Kevin Buettner + + * config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default + vector. + +2002-09-02 Nick Clifton + + * elf32-v850.c (v850_elf_final_link_relocate): Use helpful + names instead of cryptically overloaded bfd_reloc error + codes. + (v850_elf_relocate_section): Likewise. + (v850_elf_relax_section): Replace caching of external symbols + with caching of internal symbols obtained from calling + bfd_elf_get_elf_syms(). + Fixup problems with freeing cached allocated memory blocks. + +2002-09-02 Alan Modra + + * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove. + (bfd_pj_arch): Use bfd_default_scan. + * cpu-v850.c (scan): Remove. + (N): Use bfd_default_scan. + * cpu-z8k.c (scan_mach): Remove. + (arch_info_struct, bfd_z8k_arch): Reorganize so that the default is + first. Use bfd_default_scan. + + * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded + bfd_mach constants. + (ecoff_get_magic): Likewise. + * elf32-v850.c (v850_elf_object_p): Likewise. + (v850_elf_final_write_processing): Likewise. + * mipsbsd.c (MY(set_arch_mach)): Likewise. + (MY(write_object_contents)): Likewise. + * coff64-rs6000.c (xcoff64_write_object_contents): Likewise. + * coffcode.h (coff_write_object_contents): Likewise. + (coff_set_arch_mach_hook): Add comment describing machine == 0. + Remove unnecessary "machine" assignments. + (coff_write_relocs): Test for the absolute section sym by testing + section and flags. + + * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386 + and bfd_mach_i386_i386_intel_syntax. + * pdp11.c (NAME(aout,machine_type)): Likewise. + +2002-08-30 John David Anglin + + * bfd-in.h (align_power): Cast constants to bfd_vma type. + * bfd-in2.h (align_power): Likewise. + +2002-08-30 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + + * cpu-avr.c (compatible): Don't use hard-coded mach constants. + * cpu-powerpc.c (powerpc_compatible): Likewise. + * cpu-rs6000.c (rs6000_compatible): Likewise. + +2002-08-28 Catherine Moore + + * elf32-v850.c (v850_elf_reloc_map): Add new relocs. + (v850-elf-reloc): Don't resolve pc relative relocs. + (v850_elf_ignore_reloc): New routine. + (v850_elf_final_link_relocate): Handle new relocs. + (v850_elf_relax_delete_bytes ): New routine. + (v850_elf_relax_section): New routine. + (bfd_elf32_bfd_relax_section): Define. + (HOWTO): New entries for new relocs. + * reloc.c (BFD_RELOC_V850_LONGCALL): New reloc. + (BFD_RELOC_V850_LONGJUMP): New reloc. + (BFD_RELOC_V850_ALIGN): New reloc. + * archures.c: Remove redundant v850ea architecture. + * cpu-v850.c: Remove redundant v850ea support. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerated. + +2002-08-28 Svein E. Seldal + + * config.bfd: Add tic4x-*-*coff* and c4x-*-*coff* target. + * configure.in: Add tic4x_coff vector files. + * configure: Regenerate. + * Makefile.am: Add tic4x target. + * Makefile.in: Regenerate. + +2002-08-27 Michael Hayes + + * archures.c: Add the BFD arch type tic4x. + * bfd-in.h: Add BFD_IN_MEMORY flag. + * coff-tic4x.c: New file. + * coffswap.h (coff_swap_sym_out): Add preadjuster. + * cpu-tic4x.c: New file. + * targets.c: Added tic4x- in list of xvecs. + * ticoff.h: New file. + * bfd-in2.h: Regenerate. + +2002-08-27 Adam Nemet + + * elf32-arm.h (elf32_arm_finish_dynamic_sections): Set the last + bit of DT_INIT and DT_FINI for Thumb functions. + +2002-08-26 Alan Modra + + * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. + +2002-08-26 Alan Modra + + * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8. + +2002-08-24 Kaz Kojima + + * elf32-sh.c (sh_elf_copy_indirect_symbol): New. + (create_got_section, allocate_dynrelocs, readonly_dynrelocs): + Likewise. + (struct elf_sh_pcrel_relocs_copied): Removed. + (struct elf_sh_dyn_relocs): New. + (struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied + field with dyn_relocs. + (struct elf_sh_link_hash_table): Add short-cuts to get dynamic + sections and sym_sec. + (sh_elf_link_hash_newfunc): Clear dyn_relocs. + (sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec. + (sh_elf_create_dynamic_sections): Use create_got_section instead + of _bfd_elf_create_got_section. + (sh_elf_check_relocs): Likewise. + (sh_elf_create_dynamic_sections): Use short-cuts to the dynamic + sections. + (sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, + sh_elf_relocate_section, sh_elf_check_relocs, + sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections): + Likewise. + (sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the + dynamic relocations and avoiding the copy relocation when we + didn't find any dynamic relocations in the section which has + contents or is read-only. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. + (sh_elf_size_dynamic_sections): Don't reset the size of + .rela.got section even if dynamic_sections_created flag is off. + Don't use sh_elf_discard_copies. Scan all input bfd and use + allocate_dynrelocs. Call readonly_dynrelocs to determine + whether we need DT_TEXTREL. + (sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine + whether the symbol was never referred to. + (sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL. + (sh_elf_gc_sweep_hook): Fill with the real sweep function. + (sh_elf_check_relocs): Call create_got_section if the short-cut + to .got is null. Increment reference counters only instead of + allocating space on dynamic sections here. Don't conditionalize + uninitialized got.offset value when marking the symbol as a + global offset table entry. Keep relocations for symbols satisfied + by a dynamic library to avoid copy relocations for the symbol. + Set dynobj field of an elf hash table if needed. + (sh_elf_finish_dynamic_sections): Handle null section pointer + correctly. + (elf_backend_copy_indirect_symbol): Defined. + (elf_backend_can_refcount): Defined. + +2002-08-23 Nick Clifton + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Undo + previous change. Add comment explaining why. + +2002-08-23 Stephen Clarke + + * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy + contents of .got.plt[2] to tr0, not address of .got.plt. + (sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when + patching absolute plt entry. For shmedia plt entry, set bottom bit + of branch to plt0 as this is a branch to an shmedia instruction. + * elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le): + Copy contents of .got.plt[2] to tr0, not address of .got.plt. + (elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to + branch to plt0. + (sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when + patching absolute plt entry. For shmedia plt entry, branch to + plt0 is now ptrel, so use relative offset. Set bottom bit of + branch target as it is a branch to an shmedia instruction. + +2002-08-23 Stephen Clarke , + Richard Shann + + * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT + value if .init is an SHmedia function. Similarly for DT_FINI. + * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise. + +2002-08-23 Stephen Clarke + + * elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize + dynamic section. + * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. + +2002-08-22 Kaz Kojima + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use a simple + byte read when reading the return address register column. + +2002-08-22 Nick Clifton + + * config.bfd: Add powepc64-*-*bsd* target. + +2002-08-22 Graeme Peterson + + * Makefile.am: Add entries for elf32-shqnx.c + * Makefile.in: Regenerate. + * config.bfd: Add support sh-*-nto* target. + * configure.in: Add support for bfd_elf32_sh{l}qnx_vec. + * configure: Regenerate. + * elf32-qnx.h: Changed typo "elf_i386qnx_*" to "elf_qnx_*" . + * elf32-sh.c: Do not include elf32-target.h if + ELF32_SH_C_INCLUDED is defined. + * elf32-shqnx.c: New file: Support for QNX. + * targets.c: Add bfd_elf32_sh{l}qnx_vec. + +2002-08-22 Nick Clifton + + * po/tr.po: Updated Turkish translation. + + * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the + symbols are not read. + +2002-08-22 Alan Modra + + * elf32-m68hc11.c: Formatting fixes. + (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. + * elf32-m68hc12.c: Formatting fixes. + (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. + +2002-08-22 Alan Modra + + * coff-rs6000.c (rs6000coff_vec ): Add SEC_CODE and + SEC_DATA. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + +2002-08-22 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data + param to elf_backend_copy_indirect_symbol. + (_bfd_elf_link_hash_copy_indirect): Likewise. + * elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust + calls to copy_indirect_symbol. + * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. + * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. + * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. + * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. + * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. + * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise. + * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Properly + test refcounts for "used" values. + +2002-08-21 John David Anglin + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to + argument declaration. + +2002-08-19 Elena Zannoni + + * archures.c (bfd_mach_ppc_e500): Added. + * bfd-in2.h: Rebuilt. + * cpu-powerpc.c (bfd_powerpc_archs): Added e500. + +2002-08-19 Alan Modra + + * elf32-m68hc12.c (elf_backend_can_gc_sections): False. + +2002-08-17 Andrew Cagney + + * elf.c (bfd_elf_get_elf_syms): Change type of `esym' to + `bfd_byte'. + +2002-08-17 Stan Cox + + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the + IRIX 6 segment layout for NEWABI. + +2002-08-16 Stephen Clarke + + * elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect + symbols when looking for section referred to by a relocation. + * elf64-sh.c (sh_elf64_gc_mark_hook): Likewise. + +2002-08-15 Alan Modra + + * elf32-i370.c: Move reloc enum to include/elf/i370.h. + +2002-08-15 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add + missing check for whether the symbol is referenced by DSO before + unexporting it as an unneeded dynamic symbol. + +2002-08-14 H.J. Lu + + * libbfd.h: Regenerate. + +2002-08-14 H.J. Lu + + * config.bfd: Always add 64bit vectors to 32bit Linux/mips. + +2002-08-14 Stephane Carrez + + * elf32-m68hc11.c (m68hc11_relax_group): New to relax group of + instructions. + (m68hc11_direct_relax): New to define table of relaxable instructions. + (find_relaxable_insn): New, find a relaxable insn. + (compare_reloc): New to compare two relocs. + (m68hc11_elf_relax_section): New, relax text sections. + (m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs. + (elf32_m68hc11_check_relocs): New function for GC support. + (elf32_m68hc11_relocate_section): New function for GC support. + (bfd_elf32_bfd_relax_section): Define to support linker relaxation. + (elf_backend_check_relocs): Likewise. + (elf_backend_relocate_section): Likewise. + +2002-08-13 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count + definitions in shared objects when checking symbol with + undefined version. + +2002-08-13 Stephane Carrez + + * elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC. + (elf32_m68hc11_gc_sweep_hook): Likewise. + (elf_backend_gc_mark_hook): Define for GC section support. + (elf_backend_gc_sweep_hook): Likewise. + (elf_backend_can_gc_sections): Likewise. + + * elf32-m68hc12.c: Likewise. + +2002-08-13 Stephane Carrez + + * elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New. + (_bfd_m68hc11_elf_merge_private_bfd_data): New function. + (_bfd_m68hc11_elf_set_private_flags): New function. + Use them to set/check/print ELF flags specific to 68HC11. + + * elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New. + (_bfd_m68hc12_elf_merge_private_bfd_data): New function. + (_bfd_m68hc12_elf_set_private_flags): New function. + Use them to set/check/print ELF flags specific to 68HC12. + +2002-08-13 Stephane Carrez + + * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs; + fix masks for PC-rel relocs. + (m68hc11_elf_ignore_reloc): New function. + + * elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific + 68HC12 banked addressing relocs. + (m68hc12_phys_addr): New to compute physical address of banked memory. + (m68hc12_phys_page): Likewise for page. + (m68hc12_addr_is_banked): New to see if address is in banked area. + (elf_m68hc12_howto_table): Add new relocs and rename to xx12. + +2002-08-13 Stephane Carrez + + * reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP, + BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE, + BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12. + * bfd-in2.h: Regenerate. + +2002-08-12 H.J. Lu + + * elflink.h (elf_add_default_symbol): Preserve section across + elf_merge_symbol. + +2002-08-09 Graeme Peterson + + * Makefile.am: Add entries for elf32-ppcqnx.c, and add + elf32-qnx.h dependency to elfarmqnx-nabi.c and elf32-i386qnx.c. + * Makefile.in: Regenerate. + * config.bfd: Add support for powerpc{le}-*-nto targets. + * configure.in: Add support for bfd_elf32_powerpc{le}qnx_vec. + * configure: Regenerate. + * elf32-i386qnx.c: Moved backend functions into a QNX specific + common file "elf32-qnx.h", and now include that file. + * elf32-qnx.h: New file: QNX specific common elf backend. + * elf32-ppc.c: Do not include elf32-target.h if + ELF32_PPC_C_INCLUDED is defined. + * elf32-ppcqnx.c: New file: Support for QNX. + * elfarmqnx-nabi.c: Include elf32-qnx.h for qnx elf backend. + * targets.c: Add bfd_elf32_powerpc{le}qnx_vec. + +2002-08-09 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2002-08-09 Thiemo Seufer + + * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if + g->global_gotsym is NULL. + +2002-08-08 H.J. Lu + + * elflink.h (elf_add_default_symbol): Don't warn if a definition + overrides an indirect versioned symbol. + +2002-08-08 Jakub Jelinek + + * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend + for R_386_TLS_TPOFF32 relocs against symndx 0. + +2002-08-07 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Check symbol + with undefined version if needed. + (elf_link_assign_sym_version): Match a default symbol with a + version without definition. No need to hide the default + definition separately. + +2002-08-08 Alan Modra + + * elflink.h (elf_link_output_extsym): Don't output symbols from + SEC_EXCLUDE sections. + + * aoutx.h (aout_link_write_symbols): Correct handling of warning syms. + +2002-08-07 Alan Modra + + * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd + entries. + +2002-08-07 Thiemo Seufer + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness + mismatch. + +2002-08-07 Thiemo Seufer + + * elfxx-mips.c (ABI_64_P): Remove superfluous check. + +2002-08-07 Thiemo Seufer + + * elf32-mips.c (mips_reloc_map): Fix typo. + +2002-08-06 Alan Modra + + * xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section. + +2002-08-06 Alan Modra + + * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries. + +2002-08-06 Alan Modra + + * libxcoff.h: Use PARAMS on function declarations. + * coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc. + * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. + + * coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in + addend. + * coff64-rs6000.c: (xcoff64_rtype2howto): Likewise. + +2002-08-06 Alan Modra + + * coff-rs6000.c: Formatting fixes. + (xcoff_calculate_relocation): Use PARAMS in declaration. + (xcoff_complain_overflow): Likewise. + (xcoff_ppc_relocate_section): Use old-style function pointer call. + (bfd_xcoff_backend_data): Remove useless comments. + (rs6000coff_vec): Likewise. + (bfd_pmac_xcoff_backend_data): Likewise. + (pmac_xcoff_vec): Likewise. + + * coff64-rs6000.c: Formatting fixes. + (xcoff64_calculate_relocation): Use PARAMS in declaration. + (xcoff64_ppc_relocate_section): Use old-style function pointer call. + (bfd_xcoff_backend_data): Remove useless comments. + (rs6000coff64_vec): Likewise. + (bfd_xcoff_aix5_backend_data): Likewise. + (aix5coff64_vec): Likewise. + +2002-08-06 Alan Modra + + * coff-rs6000.c (xcoff_howto_table): Revert some of last change to + mask entries. Use complain_overflow_dont for R_REF. + (xcoff_reloc_type_ba): Revert last change. + (xcoff_reloc_type_br): Likewise. + (xcoff_reloc_type_crel): Likewise. + (xcoff_ppc_relocate_section): Likewise. + * coff64-rs6000.c (xcoff64_reloc_type_br): Likewise. + (xcoff64_ppc_relocate_section): Likewise. + (xcoff64_howto_table): Revert some of last change to mask entries. + Use complain_overflow_dont for R_REF. + + * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all + relocs with bitsize == 16 have size = 1. + (xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment. + (xcoff_reloc_type_br): Likewise. + (xcoff_reloc_type_crel): Likewise. + (xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly. + * coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and + dst_mask adjustment. + (xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly. + (xcoff64_howto_table): Fix src_mask entries. Make all relocs with + bitsize == 16 have size = 1. + +2002-08-01 Denis Chertykov + + * elf32-ip2k.c: Processor manufacturer changed to Ubicom. + (struct misc): New field isymbuf. All free_* fields removed. + (symbol_value): Pass in internal syms. No need to swap syms in. + (ip2k_elf_relax_section): Use bfd_elf_get_elf_syms. Properly free + possibly cached info. + (tidyup_after_error): Removed. + (ip2k_elf_relax_section_pass1): Don't use removed fields of struct + misc. Use new field. + (adjust_all_relocations): Use internal syms. No need to swap syms + in and out. + (add_page_insn): Don't use removed fields of struct misc. + +2002-08-01 Nick Clifton + + * elf32-arm.h: Revert previous delta. + +2002-08-01 Nick Clifton + + * configure.in (AM_INIT_AUTOMAKE): Bump version number. + * configure: Regenerate. + +2002-07-31 H.J. Lu + + * config.bfd: Add x86-64 vector to Linux/i386 if 64bit BFD is + selected. + +2002-07-31 H.J. Lu + + * config.bfd: Add n32 vectors to 32bit Linux/mips if 64bit BFD + is selected. + +2002-07-31 Jakub Jelinek + + * elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type + if _bfd_elf_link_hash_copy_indirect will swap got.refcount. + +2002-07-31 Ian Dall + + * cpu-ns32k.c (_bfd_ns32k_put_immdeiate, _bfd_ns32k_get_immediate): + There is no 8 byte relocation type for this architecture. + (do_ns32k_reloc): Use bfd_vma instead of native types. + (bfd_ns32k_put_immediate, _bfd_ns32k_relocate_contents) put_data + returns void. + (_bfd_ns32k_put_displacement): Don't check for overflow. We can + rely on generic code to do that. + * aout-ns32k.c (howto_table): Add appropriate overflow detection + to all table entries. + (_bfd_ns32k_relocate_contents): put_data returns void. + * ns32k.h: (_bfd_ns32k_put_displacement, _bfd_ns32k_put_immediate) + (_bfd_do_ns32k_reloc_contents): Fix prototypes. put data functions + return void. + +2002-07-31 Ian Dall + + * aoutx.h (aout_link_check_ar_symbols): Whether to include an + archive object is target dependant. + +2002-07-31 Adam Nemet + + * elf32-arm.h (ARM_PLT_ENTRY_SIZE): Rename PLT_ENTRY_SIZE. + (THUMB_PLT_ENTRY_SIZE): New macro. + (PLT_ENTRY_SIZE): Return the appropriate *_PLT_ENTRY_SIZE. + (elf32_arm_plt0_entry): Rename PLT_ENTRY_SIZE to + ARM_PLT_ENTRY_SIZE. + (elf32_arm_plt_entry): Likewise. + (elf_backend_plt_header_size): Likewise. + (elf32_thumb_plt0_entry): New global. + (elf32_arm_finish_dynamic_sections): Use it. Put Thumb entries + into .plt.thumb. + (elf32_thumb_plt_entry): New global. + (elf32_arm_finish_dynamic_symbol): Use it. Use .thumb.plt for + Thumb entries. Set the bottom bit of the corresponding GOT entry + for a Thumb PLT entry. + (struct elf32_arm_plt_entry_info): New structure. + (struct elf32_arm_link_hash_entry, plt_info): New member of this + type. + (elf32_arm_link_hash_newfunc): Initialize new member. + (elf32_arm_final_link_relocate, R_ARM_THM_PC22 case): Handle + relocations against the PLT. + (elf32_arm_check_relocs, case R_ARM_PLT32 case): Set + first_rel_type if this is the first time we encounter the symbol. + (elf32_arm_check_relocs, case R_ARM_THM_PC22 case): New case. + Determine if relocation needs a PLT entry. Set first_rel_type if + this is the first time we encounter the symbol + (elf32_arm_adjust_dynamic_symbol): Create PLT entries for Thumb + functions as well. + (elf32_arm_size_dynamic_sections): Handle .plt.thumb like .plt. + (elf32_arm_create_dynamic_sections): New function. Create the + .plt.thumb section. + (elf_backend_create_dynamic_sections): Call it. + +2002-07-31 Nick Clifton + + * bfd.c (bfd_alt_mach_code): Rename parameter 'index' to + 'alternative' in order to avoid shadowing global symbol of the + same name. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + +2002-07-31 Thiemo Seufer + + * Makefile.am: Add n32 ABI support. + * Makefile.in: Regenerate. + * config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64 + bit vectors for mips*-*-linux targets as optional. + * configure.in: Add n32 ABI vectors. + * configure: Regenerate. + * elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files. + * elfn32-mips.c: New file, n32 ABI support. + * targets.c: Add n32 ABI vectors. + +2002-07-30 Graeme Peterson + + * elfarmqnx-nabi.c: New file: Support for QNX. + * config.bfd: Add support for arm-*-nto target. + * configure.in: Add support for bfd_elf32_{big|little}armqnx_vec. + * configure: Regenerate. + * Makefile.am: Add entries for elfarmqnx-nabi.c. + * Makefile.in: Regenerate. + * elf32-arm.h (ELF_MAXPAGESIZE): Do not define if already defined. + Do not define global function if ELFARM_NABI_C_INCLUDED is defined. + * elfarm-nabi.c: Do not include elf32-arm.h if + ELFARM_NABI_C_INCLUDED is defined. + * targets.c: Add bfd_elf32_{big|little}armqnx_vec. + +2002-07-30 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2002-07-30 Jakub Jelinek + + * elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type. + +2002-07-30 Alan Modra + + * aoutx.h (some_aout_object_p): Clean up tdata properly on error. + * archive.c (bfd_generic_archive_p): Likewise. + * coff-rs6000.c (_bfd_xcoff_archive_p): Likewise. + (_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol. + * coff64-rs6000.c (xcoff64_slurp_armap): Likewise. + (xcoff64_archive_p): Likewise. + (xcoff64_openr_next_archived_file): Likewise. + (xcoff64_archive_p): Clean up tdata properly on error. + * coffgen.c (coff_real_object_p): Likewise. + (coff_object_p): Release filehdr and opthdr. + * ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error. + * ieee.c (ieee_archive_p): Likewise. + * ihex.c (ihex_object_p): Likewise. + (ihex_mkobject): Always allocate tdata. + * peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error. + * srec.c (srec_mkobject): Always allocate tdata. + (srec_object_p): Clean up tdata properly on error. + (symbolsrec_object_p): Likewise. + * versados.c (versados_object_p): Likewise. + * vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc, + and bfd_realloc instead of realloc. + (add_new_contents): Use bfd_alloc instead of bfd_malloc for sections. + * vms.c (vms_initialize): Always allocate tdata. Use bfd_alloc in + place of bfd_malloc, simplifying error freeing. Free hash table too. + (vms_object_p): Clean up tdata on error. + (vms_mkobject): Don't complain on stderr if vms_initialize fails. + (vms_close_and_cleanup): Adjust for bfd_alloc use. + +2002-07-30 Alan Modra + + * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags. + +2002-07-26 Chris Demetriou + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE + flags into resulting BFD. + +2002-07-26 Alan Modra + + From John Reiser + * elf32-i386.c (elf_i386_link_hash_table_create): Clear + tls_ldm_got.refcount. + +2002-07-25 Thiemo Seufer + + * elf64-mips.c: Update TODO comment. + (mips_elf64_higher_reloc,mips_elf64_highest_reloc, + mips_elf64_gprel16_reloca): Remove prototypes. + (mips16_jump_reloc,mips16_gprel_reloc): Add functions. + (UNUSED_RELOC): Replace by EMPTY_RELOC. + (mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove + wrong comments. Remove disfunctional support of R_MIPS_HIGHER and + R_MIPS_HIGHEST. + (mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and + R_MIPS_GOT16. Remove wrong comments. + (elf_mips16_jump_howto,elf_mips16_gprel_howto, + elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code + from elf32-mips.c. + (mips_elf64_hi16_reloc): Fix formatting. + (mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove. + (mips_elf64_got16_reloc): Fix formatting. Remove superfluous code. + Better comment. Fall back to R_MIPS_GOT_DISP instead of abort(). + (mips_elf64_gprel16_reloc): Make static. Add check for + partial_inplace. + (mips_elf64_gprel16_reloca): Remove. + (mips_elf64_literal_reloc): New function. + (mips_elf64_gprel32_reloc): Fix formatting. + (mips_elf64_shift6_reloc): Fix comment. Make static. + (mips16_jump_reloc,mips16_gprel_reloc): New functions, code from + elf32-mips.c. + (elf_reloc_map,mips_reloc_map): New mapping table, similiar as in + elf32-mips.c + (bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU + specific relocations. + (mips_elf64_rtype_to_howto): Enable GNU specific relocations. + (mips_elf64_object_p): Invert logic to check for SGI-ish ABI. + (ELF_MAXPAGESIZE): Add comment. + +2002-07-25 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + * po/fr.po: Updated French translation. + +2002-07-25 Alan Modra + + * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define + as elf_link_record_local_dynamic_symbol. + (_bfd_elf64_link_record_local_dynamic_symbol): Likewise. + (elf_link_record_local_dynamic_symbol): Declare. Now returns int. + * elflink.h (elf_link_record_local_dynamic_symbol): Move to.. + * elflink.c: .. here. Use bfd_elf_get_elf_syms. Check whether an + attempt is made to record a symbol in a discarded section, and + return `2' in that case. + +2002-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + +2002-07-23 Alan Modra + + * po/SRC-POTFILES.in: Regenerate. + + * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return + immediately. Remove code handling relocatable linking. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-fr30.c (elf32_frv_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf32-avr.c (elf_backend_rela_normal): Define. + * elf32-cris.c: Likewise. + * elf32-fr30.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-h8300.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-vax.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-sparc.c: Likewise. + * elf32-fr30.c (elf32_frv_relocate_section): Edit comment. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf-m10200.c (USE_RELA): Don't define. + * elf-m10300.c: Likewise. + * elfarm-oabi.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-vax.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elf32-avr.c (USE_REL): Don't undef. + * elf32-ip2k.c: Likewise. + +2002-07-23 Nick Clifton + + * elf-bfd.h (struct elf_backend_data): Add new bitfield + 'want_p_paddr_set_to_zero'. + * elfxx-target.h: Set default value for want_p_paddr_set_to_zero + to false; + * elfxx-ia64.c: Set want_p_paddr_set_zero for HPUX target. + * elf.c (copy_private_bfd_data): Test want_p_paddr_set_zero. + +2002-07-23 Gabor Keresztfalvi + + * nlmcode.h (nlm_swap_auxiliary_headers_out): Swapped the order of + the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM loaders to + show the Copyright string. + Minor formatting tidy ups. + +2002-07-23 Nick Clifton + + * po/fr.po: Updated French translation. + * po/sv.po: Updated Swedish translation. + +2002-07-23 Alan Modra + + * elflink.h (elf_link_input_bfd): Don't change internal symbols + when outputting relocs. + +2002-07-20 Jason Thorpe + + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert + DT_PLTGOT into the dynamic section if there is a PLT. + +2002-07-19 Thiemo Seufer + + * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from + elf32-mips.c. + (_bfd_mips_elf_write_section): Likewise. + * elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype. + (_bfd_mips_elf_write_section): Likewise. + * elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c. + (elf32_mips_write_section): Likewise. + * elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it. + (_bfd_mips_elf_write_section): Likewise. + +2002-07-19 Alan Modra + + * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan + PT_IA_64_UNWIND segments for a given section. + +2002-07-17 H.J. Lu + + * Makefile.am: Fix a typo. + * Makefile.in: Regenerate. + +2002-07-15 Denis Chertykov + Frank Ch. Eigler + Ben Elliston + Alan Lehotsky + John Healy + Graham Stott + Jeff Johnston + + * Makefile.am: Add support for ip2k. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * archures.c: Add support for ip2k. + * config.bfd: Add support for ip2k. + * configure.in: Add support for ip2k. + * configure: Regenerate. + * reloc.c: Add support for ip2k. + * targets.c: Add support for ip2k. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * cpu-ip2k.c: New file. + * elf32-ip2k.c: New file. + +2002-07-17 Ian Rickards + + * dwarf2.c (concat_filename): If we can't establish the directory + just return the filename. + +2002-07-16 Moritz Jodeit + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args. + +2002-07-16 Alan Modra + + * elflink.h: Formatting fixes, tidy prototypes. + (elf_link_assign_sym_version): Move common code out of loop. + +2002-07-16 Alan Modra + + * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when + reloc section size is zero. Correct reloc output location. + +2002-07-16 John David Anglin + + * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as + the final type for the e_fsel selector when generating PA2.0W code. + (elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1 + relocations. + +2002-07-14 H.J. Lu + + * elflink.h (elf_link_assign_sym_version): Hide the default + definition if there is a hidden versioned definition. + +2002-07-12 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical + dynamic reference test in assertion when initializing GOT with + static contents. Just assert that there are either no dynamic + sections, the symbol is defined in the regular objects or that the + symbol is undef weak. Tweak comment. + (elf_cris_finish_dynamic_symbol): Emit .got reloc for a program + only if the symbol isn't defined in the program and isn't undef + weak. + (elf_cris_adjust_dynamic_symbol): Simplify condition for getting + rid of PLT entry: only do it if the symbol isn't defined in a DSO. + When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments. + (elf_cris_discard_excess_program_dynamics): Don't consider + ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs. + +2002-07-11 Alan Modra + + * elf32-i386.c (elf_i386_relocate_section): Don't complain about + unresolved debugging relocs in dynamic applications. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + +2002-07-10 Alan Modra + + * elf64-ppc.c (ONES): Define. + (ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in + missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill + in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32. + + * elf64-ppc.c (ppc64_elf_get_symbol_info): Delete. + (ppc64_elf_set_private_flags): Delete. + (ppc64_elf_section_from_shdr): Delete. + (ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code. + (ppc64_elf_fake_sections): Delete. + (bfd_elf64_bfd_set_private_flags): Don't define. + (bfd_elf64_get_symbol_info): Likewise. + (elf_backend_section_from_shdr): Likewise. + (elf_backend_fake_sections): Likewise. + +2002-07-10 Marco Walther + + * elf.c: (assign_section_numbers) Set sh_entsize for .stab only + when not already set. + * elf64-sparc.c: (sparc64_elf_fake_sections): New function. + (elf_backend_fake_sections): Define. + +2002-07-10 Alan Modra + + * merge.c (_bfd_merge_section): Remove redundant output_section check. + Formatting. + (_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections. + +2002-07-09 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section): Move sanity-check for + NULL sym_hashes to just before use. + : In test for local symbol, accept also + symbol with non-default visibility. + : Ditto. + : + Ditto. + (cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for + symbol with non-default visibility. + (cris_elf_check_relocs): At tests for local symbol before + increasing h->plt.refcount, also check for non-default + visibility. Ditto when checking for local symbol to eliminate + pc-relative runtime relocs. + +2002-07-08 Alan Modra + + * elf.c: Formatting. + (IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks. + (INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP. + (copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP + segments. + +2002-07-07 Mark Mitchell + Alan Modra + + * cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into + account the impact of relocation count overflow when computing + section offsets. + * coffcode.h (coff_write_relocs): Use obj_pe when deciding whether + or not to apply the PE COFF reloc overflow handling. Fix a + fencepost error in deciding whether or not to use that technique. + +2002-07-07 Alan Modra + + * elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx, + change type of locsyms. + (bfd_elf_get_elf_syms): Declare. + * elf.c (bfd_elf_get_elf_syms): New function. + (group_signature): Use bfd_elf_get_elf_syms. + (bfd_section_from_r_symndx): Likewise. + * elfcode.h (elf_slurp_symbol_table): Likewise. + * elflink.h (elf_link_is_defined_archive_symbol): Likewise. + (elf_link_add_object_symbols): Likewise. Reorganise to increase + locality of various data structures. Properly free internal relocs. + (elf_bfd_final_link): Properly free internal relocs. + (elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms. + (elf_link_input_bfd): Likewise. + (elf_gc_mark): Likewise. Properly free internal relocs. + (elf_gc_sweep): Properly free internal relocs. + (elf_reloc_symbol_deleted_p): No need to swap syms in. + (elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free + internal relocs. + * elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms. + Properly free possibly cached info. + (mn10200_elf_relax_delete_bytes): Remove symbol swapping code. + (mn10200_elf_symbol_address_p): Pass in internal syms. Remove + symbol swapping code. + (mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms. + Properly free possibly cached info. + * elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c. + (mn10300_elf_relax_delete_bytes): Likewise. + (mn10300_elf_symbol_address_p): Likewise. + (mn10300_elf_get_relocated_section_contents): Likewise. + * elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c. + (elf32_h8_relax_delete_bytes): Likewise. + (elf32_h8_symbol_address_p): Likewise. + (elf32_h8_get_relocated_section_contents): Likewise. + * elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c. + (m32r_elf_relax_delete_bytes): Likewise. + (m32r_elf_get_relocated_section_contents): Likewise. + * elf32-sh.c (sh_elf_reloc_loop): Free section contents using + elf_section_data to determine whether cached. + (sh_elf_relax_section): As above for elf-m10200.c. + (sh_elf_relax_delete_bytes): Likewise. + (sh_elf_get_relocated_section_contents): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relax_section): As above. + * elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay + reading of local syms. + * elf64-mmix.c (mmix_elf_relax_section): Likewise. + * elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above. + * elfxx-ia64.c (elfNN_ia64_relax_section): As above. + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal + relocs. + * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly + free internal relocs and section contents. Don't read symbols. + * elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms. + (elf32_hppa_size_stubs): Don't free local syms. + * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay + reading of local syms. Use bfd_elf_get_elf_syms. Properly free + possibly cached info. + * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms. + * elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and + all_local_syms. + (get_local_syms): Delete function. + (edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache + on exit. + (ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit. + +2002-07-05 Jim Wilson + + * syms.c (decode_section_type): New. + (bfd_decode_symclass): Call decode_section_type. + +2002-07-04 Jakub Jelinek + + * merge.c (_bfd_merged_section_offset): Avoid accessing byte before + section content start. + Reported by Michael Schumacher . + +2002-07-04 Alan Modra + + * section.c (_bfd_strip_section_from_output): Remove unnecessary + link order code. Don't actually remove the output section here; + Just set a flag for the linker to do so. + * elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed + sections when setting up output section dynsyms. + +2002-07-04 Alan Modra + + * elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux + fudge. + * elf.c (bfd_section_from_shdr): Work around broken hpux shared + libs here instead. + +2002-07-02 Martin Schwidefsky + + * elf64-s390.c (create_got_section): Set .got section alignment to + 8 bytes. + (elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. + +2002-07-02 Alan Modra + + * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar. + +2002-07-01 Matt Thomas + + * elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* + to EF_VAX_*. + +2002-07-01 Thiemo Seufer + + * elfxx-mips.c (ABI_64_P): Fix comment. + (MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the + new section names for N64 ABI. + (mips_elf_output_extsym): No special _gp_disp handling for NewABI. + (mips_elf_calculate_relocation): Code formatting. + (mips_elf_create_dynamic_relocation): Likewise. + (_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too. + (_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI. + (_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64 + in any NewABI. + (_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling + for NewABI. + (_bfd_mips_elf_modify_segment_map): Handle any N64 ABI. + (_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled + here, too. + +2002-07-01 Andreas Schwab + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert + R_X86_64_64 to R_X86_64_RELATIVE. + +2002-07-01 John David Anglin + + * vaxbsd.c: New BFD backend for VAX BSD and Ultrix. + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend. + Run "make dep-am". + * config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of + host_aout_vec. + * configure.in (vaxbsd_vec): Add. + * targets.c (vaxbsd_vec): Add. + * Makefile.in: Rebuild. + * configure: Rebuild. + * po/SRC-POTFILES.in: Rebuild. + +2002-07-01 Alan Modra + + * elflink.h (elf_gc_mark): Pass in the section whose relocs we are + examining to gc_mark_hook, rather than the bfd. + (elf_gc_sections): Adjust. + * elf-bfd.h (struct elf_backend_data ): Likewise. + * elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise. + * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. + * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. + * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. + * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. + * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. + * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. + * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. + * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. + * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. + * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. + * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. + * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. + * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. + * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. + * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. + * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. + * elf32-vax.c (elf_vax_gc_mark_hook): Likewise. + * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. + * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. + * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. + * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. + * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. + * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. + * elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise. + * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. + * elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove + redundant local sym tests. + * elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry. + (link_hash_newfunc): Init is_entry. + (ppc64_elf_copy_indirect_symbol): Copy is_entry. + (ppc64_elf_link_hash_table_create): Init all_local_syms. + (create_linkage_sections): Use bfd_make_section_anyway rather than + bfd_make_section. + (ppc64_elf_mark_entry_syms): New function. + (ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set + up opd entry to function section map. + (ppc64_elf_gc_mark_hook): Special case opd section relocs, and + relocs that reference the opd section. + (edit_opd): New function. + (ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd. + (ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here. + (get_local_syms): Do so here. Exit if we already have local syms. + Remove bogus comment imported from elf32-hppa.c. Don't attempt to + read local syms on non-ELF input. + (ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather + than duplicating it's function here. Adjust free of internal + relocs to suit. + (ppc64_elf_relocate_section): Adjust local syms in opd section. + * elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare. + * elf32-hppa.c (elf32_hppa_size_stubs): Call + _bfd_elf32_link_read_relocs rather than duplicating it's function + here. Adjust free of internal relocs to suit. + +2002-07-01 Andreas Jaeger + + * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations + are not allowed in shared libs code, enforce -fPIC. + +2002-06-29 Hans-Peter Nilsson + + * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and + trailing zero-sequences when there's previous left-over data. + +2002-06-27 John David Anglin + + * elf64-hppa.c (elf64_hppa_reloc_type_class): New function. + (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec + and opd_rel_sec in order for starting rela section. Check _raw_size. + (elf_backend_reloc_type_class): Define. + +2002-06-27 Kevin Buettner + + * dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit + DWARF2 formats. + +2002-06-27 Alan Modra + + * cpu-powerpc.c: Comment on ordering of arch_info. + * elf32-ppc.c (ppc_elf_object_p): New function. + (elf_backend_object_p): Define. + * elf64-ppc.c (ppc64_elf_object_p): New function. + (elf_backend_object_p): Define. + +2002-06-26 Jason Thorpe + + * configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo. + * configure: Regenerate. + +2002-06-25 Jason Eckhardt + + * dwarf2.c (decode_line_info): Check unit->addr_size + to read in the proper number of prologue bytes. + +2002-06-25 Nick Clifton + + * config.bfd (powerpc-*-aix5*): Only create a selvecs for + aix5coff64_vec if 64-bit bfd support has been enabled. + (powerpc64-*-aix5*): Only define if 64-bit bfd support has + been enabled. + + * targets.c (_bfd_target_vector[]): Only include + aix5coff64_vec if 64-bit bfd support has been enabled. + +2002-06-25 Alan Modra + + * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy. + * elf32-hppa.c (hppa_add_stub): Likewise. + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. + * elflink.h (elf_add_default_symbol): Fix comment typo. + (elf_add_default_symbol): Replace strcpy and strncpy with memcpy. + (elf_link_add_object_symbols): Likewise. + (elf_link_assign_sym_version): Likewise. + * hash.c (bfd_hash_lookup): Likewise. + * linker.c (_bfd_generic_link_add_one_symbol): Likewise. + * section.c (bfd_get_unique_section_name): Likewise. + * syms.c (_bfd_stab_section_find_nearest_line): Likewise. + * elf.c (_bfd_elf_make_section_from_phdr): Likewise. + (assign_section_numbers): Likewise. + (_bfd_elfcore_make_pseudosection): Likewise. + (elfcore_grok_lwpstatus): Likewise. + (elfcore_grok_win32pstatus): Likewise. + (elfcore_write_note): Constify input params. Use PTR instead of + void *. Include terminating NUL in namesz. Correct padding. + Support NULL "name" param. Use memcpy instead of strcpy. + (elfcore_write_prpsinfo): Constify input params. + (elfcore_write_prstatus): Likewise. Use PTR instead of void *. + (elfcore_write_lwpstatus): Likewise. + (elfcore_write_pstatus): Likewise. + (elfcore_write_prfpreg): Likewise. + (elfcore_write_prxfpreg): Likewise. + * elf-bfd.h (elfcore_write_note): Update declaration. + (elfcore_write_prpsinfo): Likewise. + (elfcore_write_prstatus): Likewise. + (elfcore_write_pstatus): Likewise. + (elfcore_write_prfpreg): Likewise. + (elfcore_write_prxfpreg): Likewise. + (elfcore_write_lwpstatus): Likewise. + +2002-06-25 Jason Eckhardt + + * ecoff.c (ecoff_set_symbol_info): Set BSF_FUNCTION for + symbols of type stProc and stStaticProc. + +2002-06-25 Nick Clifton + + * ecoff.c: VArious formatting fixes. + +2002-06-25 Alan Modra + + * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. + +2002-06-25 Alan Modra + + * aout-adobe.c: Don't compare against "true" or "false. + * aout-target.h: Likewise. + * aoutx.h: Likewise. + * archive.c: Likewise. + * bout.c: Likewise. + * cache.c: Likewise. + * coff-a29k.c: Likewise. + * coff-alpha.c: Likewise. + * coff-i386.c: Likewise. + * coff-mips.c: Likewise. + * coff-or32.c: Likewise. + * coff64-rs6000.c: Likewise. + * coffcode.h: Likewise. + * coffgen.c: Likewise. + * cpu-ns32k.c: Likewise. + * ecoff.c: Likewise. + * ecofflink.c: Likewise. + * elf.c: Likewise. + * elf32-arm.h: Likewise. + * elf32-cris.c: Likewise. + * elf32-d30v.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-v850.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-sh64.c: Likewise. + * elfcode.h: Likewise. + * elfcore.h: Likewise. + * elflink.h: Likewise. + * elfxx-mips.c: Likewise. + * i386os9k.c: Likewise. + * ieee.c: Likewise. + * libbfd.c: Likewise. + * linker.c: Likewise. + * mmo.c: Likewise. + * nlm32-alpha.c: Likewise. + * nlm32-i386.c: Likewise. + * nlm32-ppc.c: Likewise. + * nlm32-sparc.c: Likewise. + * nlmcode.h: Likewise. + * oasys.c: Likewise. + * pdp11.c: Likewise. + * peicode.h: Likewise. + * reloc.c: Likewise. + * som.c: Likewise. + * srec.c: Likewise. + * tekhex.c: Likewise. + * vms.c: Likewise. + * xcofflink.c: Likewise. + * elf64-sparc.c: Edit comment to not use "== false". + + * aoutf1.h: Don't use "? true : false". + * ecoff.c: Likewise. + * format.c: Likewise. + * ieee.c: Likewise. + * linker.c: Likewise. + * mmo.c: Likewise. + * oasys.c: Likewise. + +2002-06-23 H.J. Lu + + * elflink.h (elf_link_add_archive_symbols): For the default + version, check references with only one `@' first. + +2002-06-23 John David Anglin + + * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New + function. + (allocate_global_data_dlt): Don't add millicode symbols to dynamic + symbol table. + (allocate_global_data_opd, allocate_dynrel_entries): Likewise. + (elf64_hppa_size_dynamic_sections): Revise to use + elf64_hppa_mark_milli_and_exported_functions. + (elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode + symbols out of dynamic symbol table. + +2002-06-23 Alan Modra + + * Makefile.in: Regenerate. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + + * elflink.h: Comment typo fixes. + +2002-06-23 H.J. Lu + + * elf-bfd.h (elf_link_loaded_list): New structure. + (elf_link_hash_table): Add "loaded". + * elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded". + * elflink.h (elf_link_check_versioned_symbol): New function. + (elf_link_output_extsym): Call elf_link_check_versioned_symbol. + +2002-06-19 Nick Clifton + + * elflink.h (size_dynamic_sections): If the target does not + support an ELF style hash table, return true, indicating that + nothing needed to be done, rather than false, indicating that the + section's size could not be computed. + +2002-06-18 Dave Brolley + + From Catherine Moore, Michael Meissner, Dave Brolley: + * po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c + * targets.c: Support bfd_elf32_frv_vec. + * reloc.c: Add FRV relocs. + * configure.in: Add support for bfd-elf32-frv-vec. + * config.bfd (targ_cpu): Add support for frv-*-elf. + * archures.c: Add frv arch and machines. + * Makefile.am (ALL_MACHINES): Add cpu-frv.lo. + (ALL_MACHINES_CFILES): Add cpu-frv.c. + (BFD32_BACKENDS): Add elf32-frv.lo. + (BFD32_BACKENDS_CFILES): Add elf32-frv.c + (cpu-frv.lo): New target. + (elf32-frv.lo): New target. + * cpu-frv.c: New file. + * elf32-frv.c: New file. + +2002-06-18 Jakub Jelinek + + * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies + e_shnum == 0. + Only read the first section header if e_shoff is non-zero. + Don't consider e_shstrndx if there are no sections. + +2002-06-17 Tom Rix + + * elf32-d10v.c (elf_d10v_howto_table): Change R_D10V_10_PCREL_R, + R_D10V_10_PCREL_L and R_D10V_18_PCREL to use + complain_overflow_bitfield. + +2002-06-17 Alan Modra + + * opncls.c (bfd_openr): Remove redundant bfd_set_error. + (bfd_fdopenr): Likewise. + (bfd_openstreamr): Likewise. + (bfd_openw): Likewise. + + * targets.c: Sort target vecs. + (_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec, + bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec, + bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec, + bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec. + * configure.in: Sort target vecs. Add m88kmach3_vec. + * configure: Regenerate. + +2002-06-16 Hans-Peter Nilsson + + * elf64-mmix.c (bpo_reloc_request_sort_fn): Use member + bpo_reloc_no to break sort order ties, not address of items. + +2002-06-16 John David Anglin + + * elf-hppa.h (elf_hppa_final_link): Fix formatting in comment. + Skip excluded sections in determing __gp value. + (elf_hppa_final_link_relocate): Use the symbol's address in + R_PARISC_FPTR64 relocations that don't need an opd entry. + * elf64-hppa.c (allocate_dynrel_entries): Simplify code. + (elf64_hppa_finalize_dynreloc): Likewise. + (elf64_hppa_size_dynamic_sections): Move comments and fix typo. + (elf64_hppa_finish_dynamic_symbol): Break up assert. + +2002-06-14 Sergey Grigoriev + + * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte + alignment for .bss, .data and .text sections so that sse and sse2 + code will work. + * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. + +2002-06013 J"orn Rennecke + + config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, + sh[1234]*-elf*. + +2002-06-12 John David Anglin + + * elflink.h (elf_bfd_final_link): Improve error handling for missing + dynamic sections. + + * elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry + for a symbol that has no output section. + (allocate_dynrel_entries): Correct comment. + (elf64_hppa_finalize_dynreloc): Likewise. Don't create an opd entry + unless we want one. + (elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL. + (elf64_hppa_finalize_dlt): Likewise. Prevent segfault for symbols + with no section. Remove unnecessary parentheses. + +2002-06-11 Tom Rix + + * coffcode.h (coff_compute_section_file_positions): Add data + section to AIX loader alignment check. + + * coff-rs6000.c (_bfd_xcoff_mkobject): Set default text section + alignment to 4 bytes. + (_bfd_xcoff_copy_private_bfd_data): Use text and data alignment + power accessor macro. + (do_shared_object_padding): Remove invalid assertion. + +2002-06-10 Richard Sandiford + + * section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE + for removed output sections. + +2002-06-10 Geoffrey Keating + + * merge.c (merge_strings): Use htab_create_alloc with calloc, not + htab_alloc. + * elf-strtab.c (_bfd_elf_strtab_finalize): Likewise. + +2002-06-08 H.J. Lu + + * elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to + work around a long long bug in gcc 2.96 on mips. + +2002-06-08 Jason Thorpe + + * Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo. + (BFD32_BACKENDS_CFILES): Add vax1knetbsd.c. + Regenerate dependency lists. + * Makefile.in: Regenerate. + * config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add + vax1knetbsd_vec to targ_selvecs. + * configure.in: Add vax1knetbsd_vec. + * configure: Regenerate. + * targets.c (_bfd_target_vector): Add vax1knetbsd_vec. + * vax1knetbsd.c: New file. + * vaxnetbsd.c: Update copyright years. + (TARGET_PAGE_SIZE): Set to 0x1000. + (DEFAULT_MID): Set to M_VAX4K_NETBSD. + +2002-06-08 Matt Thomas + + * libaout.h (enum machine_type): Add M_VAX4K_NETBSD. + +2002-06-08 Alan Modra + + * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static. + +2002-06-08 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + + * armnetbsd.c: Replace CONST with const. + * corefile.c: Likewise. + * elf32-dlx.c: Likewise. + * elf64-mips.c: Likewise. + * mmo.c: Likewise. + * ns32knetbsd.c: Likewise. + + * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash + table is elf64-sparc. + +2002-06-08 Thiemo Seufer + + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code. + Fix RELA addends to get not shifted in the result. Don't do special + handling of R_MIPS_64 for NewABI. + +2002-06-07 Alan Modra + + * aoutx.h (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. + (NAME(aout,slurp_reloc_table)): Likewise. + * coff-mips.c (mips_relax_section): Use bfd_zalloc. + * coff-rs6000.c (xcoff_write_armap_big): Use bfd_zmalloc. + (xcoff_write_archive_contents_big): Likewise. + (xcoff_generate_rtinit): Likewise. + (xcoff_generate_rtinit): Likewise, and check error return. + * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. + * coffgen.c (coff_section_symbol): Use bfd_zalloc. + (coff_get_normalized_symtab): Likewise. + (coff_make_empty_symbol): Likewise. + (bfd_coff_set_symbol_class): Likewise. + * cofflink.c (coff_link_add_symbols): Likewise. + * ecoff.c (_bfd_ecoff_make_empty_symbol): Likewise. + * ecofflink.c (ecoff_write_shuffle): Use bfd_zmalloc. + (bfd_ecoff_write_accumulated_debug): Likewise. + * elf64-alpha.c (get_got_entry): Use bfd_zalloc. + * i386linux.c (bfd_i386linux_size_dynamic_sections): Likewise. + * i386lynx.c (NAME(lynx,slurp_reloc_table)): Use bfd_zmalloc. + * ieee.c (do_with_relocs): Use bfd_zalloc. + * m68klinux.c (bfd_m68klinux_size_dynamic_sections): Likewise. + * pdp11.c (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. + (NAME(aout,slurp_reloc_table)): Likewise. + (NAME(aout,squirt_out_relocs)): Don't memset when zalloc'd. + * reloc16.c (bfd_coff_reloc16_relax_section): Use bfd_zmalloc. + * som.c (som_build_and_write_symbol_table): Likewise. + (som_slurp_string_table): Likewise. + (som_slurp_symbol_table): Likewise. + (som_bfd_ar_write_symbol_stuff): Likewise. + * sparclinux.c (bfd_sparclinux_size_dynamic_sections): Use bfd_zalloc. + * sunos.c (bfd_sunos_size_dynamic_sections): Likewise. + * tekhex.c (find_chunk): Likewise. Get rid of unused "sname". + * vms-gsd.c (_bfd_vms_slurp_gsd): Use bfd_zmalloc. + * xcofflink.c (xcoff_link_add_symbols): Use bfd_zalloc/bfd_zmalloc. + +2002-06-07 Alan Modra + + * elf-bfd.h (struct bfd_elf_section_data ): Replace with + "group" union. + (elf_group_name): Update. + (elf_group_id): Define. + (bfd_elf_set_group_contents): Declare. + * elf.c (elf_fake_sections): Qualify use of elf_group_name. + (set_group_contents): Rename to bfd_elf_set_group_contents. Remove + ATTRIBUTE_UNUSED from failedptrarg. If elf_group_id is set, use + that sym for the signature. + (_bfd_elf_compute_section_file_positions): Don't call + set_group_contents for "ld -r" case. + (swap_out_syms): Use bfd_zalloc. + * elflink.h (elf_link_add_archive_symbols): Likewise. + (NAME(bfd_elf,size_dynamic_sections)): Likewise. + (elf_bfd_final_link): Call bfd_elf_set_group_contents. + +2002-06-07 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved + relocs in opd for non-shared too. + +2002-06-06 Jeffrey Law + + * elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting + relocations. + +2002-06-06 Nick Clifton + + * merge.c: Include libiberty.h. + * elf-strtab.c: Include libiberty.h. + +2002-06-06 Elias Athanasopoulos + + * peXXigen.c (pe_print_idata): Remove unused variable. + +2002-06-06 David Heine + + * elf.c (assign_file_positions_for_segments): Remove unallocated + sections from the section to segment mapping for PT_LOAD segments. + Update comment about empty loadable segments. + +2002-06-06 Richard Sandiford + + * stabs.c (_bfd_link_section_stabs): Check that the symbol offset + is within the .stabstr section. + +2002-06-06 Alan Modra + + * elf-bfd.h (struct elf_size_info ): Function args + are "const PTR", not "const PTR *". + (bfd_elf32_swap_symbol_in): Likewise. + (bfd_elf64_swap_symbol_in): Likewise. + * elfcode.h (elf_swap_symbol_in): Change input args to const PTR. + (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. + * elflink.h (elf_link_is_defined_archive_symbol): Likewise. + (elf_link_add_object_symbols): Likewise. + (elf_link_record_local_dynamic_symbol): Likewise. + (elf_link_input_bfd): Likewise. + (elf_gc_mark): Likewise. + (elf_reloc_symbol_deleted_p): Likewise. + * elf-m10200.c (mn10200_elf_relax_section): Likewise. + (mn10200_elf_relax_delete_bytes): Likewise. + (mn10200_elf_symbol_address_p): Likewise. + (mn10200_elf_get_relocated_section_contents): Likewise. + * elf-m10300.c (mn10300_elf_relax_section): Likewise. + (mn10300_elf_relax_section): Likewise. + (mn10300_elf_relax_delete_bytes): Likewise. + (mn10300_elf_symbol_address_p): Likewise. + (mn10300_elf_get_relocated_section_contents): Likewise. + * elf32-h8300.c (elf32_h8_relax_section): Likewise. + (elf32_h8_relax_delete_bytes): Likewise. + (elf32_h8_symbol_address_p): Likewise. + (elf32_h8_get_relocated_section_contents): Likewise. + * elf32-hppa.c (get_local_syms): Likewise. + * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. + * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. + * elf32-sh.c (sh_elf_relax_section): Likewise. + (sh_elf_relax_delete_bytes): Likewise. + (sh_elf_get_relocated_section_contents): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. + * elf64-alpha.c (elf64_alpha_relax_section): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_relax_section): Likewise. + * elf64-ppc.c (get_local_syms): Likewise. + * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. + * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. + +2002-06-05 J"orn Rennecke + + * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. + +2002-06-05 Alan Modra + + * elf.c (group_signature): Swap in the whole symbol, and handle + extracting section symbol names. + (setup_group): Add comment. + (set_group_contents): When called from objcopy or ld, arrange for + section contents to be written. Write group member output section + indices to allow objcopy to reorganize sections. + (_bfd_elf_copy_private_section_data): Copy group info. + + * elf-bfd.h (struct elf_size_info): Add swap_symbol_in field. + (bfd_elf32_swap_symbol_in): Update prototype. + (bfd_elf64_swap_symbol_in): Likewise. + * elfcode.h (elf_swap_symbol_in): Change input args to const PTR *. + (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. + * elflink.h (elf_link_is_defined_archive_symbol): Likewise. + (elf_link_add_object_symbols): Likewise. + (elf_link_record_local_dynamic_symbol): Likewise. + (elf_link_input_bfd): Likewise. + (elf_gc_mark): Likewise. + (elf_reloc_symbol_deleted_p): Likewise. + * elf-m10200.c (mn10200_elf_relax_section): Likewise. + (mn10200_elf_relax_delete_bytes): Likewise. + (mn10200_elf_symbol_address_p): Likewise. + (mn10200_elf_get_relocated_section_contents): Likewise. + * elf-m10300.c (mn10300_elf_relax_section): Likewise. + (mn10300_elf_relax_section): Likewise. + (mn10300_elf_relax_delete_bytes): Likewise. + (mn10300_elf_symbol_address_p): Likewise. + (mn10300_elf_get_relocated_section_contents): Likewise. + * elf32-h8300.c (elf32_h8_relax_section): Likewise. + (elf32_h8_relax_delete_bytes): Likewise. + (elf32_h8_symbol_address_p): Likewise. + (elf32_h8_get_relocated_section_contents): Likewise. + * elf32-hppa.c (get_local_syms): Likewise. + * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. + * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. + * elf32-sh.c (sh_elf_relax_section): Likewise. + (sh_elf_relax_delete_bytes): Likewise. + (sh_elf_get_relocated_section_contents): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. + * elf64-alpha.c (elf64_alpha_relax_section): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_relax_section): Likewise. + * elf64-ppc.c (get_local_syms): Likewise. + * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. + * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. + * elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser. + * elf64-alpha.c (alpha_elf_size_info): Likewise. + * elf64-hppa.c (hppa64_elf_size_info): Likewise. + * elf64-mips.c (mips_elf64_size_info): Likewise. + * elf64-s390.c (s390_elf64_size_info): Likewise. + * elf64-sparc.c (sparc64_elf_size_info): Likewise. + +2002-06-05 Maciej W. Rozycki + + * elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to... + elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here. + elf64-mips.c (elf_backend_ignore_discarded_relocs): Use + _bfd_mips_elf_ignore_discarded_relocs. + elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare. + +2002-06-05 H.J. Lu + + * elfxx-mips.c (mips_elf_calculate_relocation): Call + _bfd_elf_rel_local_sym for STT_SECTION relocations against + the SEC_MERGE section. + +2002-06-05 Alan Modra + + * coff-alpha.c: Update copyright date. + * coff-mips.c: Likewise. + * xcoff-target.h: Likewise. + + * bfd-in.h: Remove "taken from the source" comment. + * libbfd-in.h: Likewise. + * libcoff-in.h: Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + + * elf.c (bfd_elf_discard_group): Return true. + * elf-bfd.h (bfd_elf_discard_group): Declare. + * bfd-in.h (bfd_elf_discard_group): Don't declare here. + * section.c (bfd_discard_group): Rename to bfd_generic_discard_group. + * bfd.c (bfd_discard_group): Define. + * targets.c (struct bfd_target): Add _bfd_discard_group. + (BFD_JUMP_TABLE_LINK): Here too. + * libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. + * aout-adobe.c (aout_32_bfd_discard_group): Define. + * aout-target.h (MY_bfd_discard_group): Define. + * aout-tic30.c (MY_bfd_discard_group): Define. + * binary.c (binary_bfd_discard_group): Define. + * bout.c (b_out_bfd_discard_group): Define. + * coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. + * coffcode.h (coff_bfd_discard_group): Define. + * coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. + * elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. + * i386msdos.c (msdos_bfd_discard_group): Define. + * i386os9k.c (os9k_bfd_discard_group): Define. + * ieee.c (ieee_bfd_discard_group): Define. + * ihex.c (ihex_bfd_discard_group): Define. + * mmo.c (mmo_bfd_discard_group): Define. + * nlm-target.h (nlm_bfd_discard_group): Define. + * oasys.c (oasys_bfd_discard_group): Define. + * ppcboot.c (ppcboot_bfd_discard_group): Define. + * som.c (som_bfd_discard_group): Define. + * srec.c (srec_bfd_discard_group): Define. + * tekhex.c (tekhex_bfd_discard_group): Define. + * versados.c (versados_bfd_discard_group): Define. + * vms.c (vms_bfd_discard_group): Define. + * xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. + * coff64-rs6000.c (rs6000coff64_vec): Update initialiser. + (aix5coff64_vec): Likewise. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. + +2002-06-04 Jason Thorpe + + * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo. + (BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c. + (elf32-sh64-com.lo): New dependency list. + * Makefile.in: Regenerate. + * configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec) + (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add + elf32-sh64-com.lo. + * configure: Regenerate. + * elf32-sh64.c (sh64_address_in_cranges) + (sh64_get_contents_type, sh64_address_is_shmedia): Move to... + (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb): + (crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to... + * elf32-sh64-com.c: ...here. New file. + +2002-06-04 Alan Modra + + * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove + ATTRIBUTE_UNUSED on used params. + * elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks + before calling bfd_section_from_elf_index on local syms. + * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. + +2002-06-04 Jason Thorpe + + * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. + (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. + (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. + (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. + (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. + * Makefile.in: Regenerate. + * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) + (sh64-*-netbsd*): New targets. + * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, + bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. + * configure: Regenerate. + * elf32-sh64-nbsd.c: New file. + * elf64-sh64-nbsd.c: New file. + * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, + bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and + bfd_elf64_sh64lnbsd_vec. + +2002-06-04 Alan Modra + + * elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups. + (bfd_section_from_shdr): Likewise. Set section name of group + sections from signature. + (group_signature): Split out from setup_group. Ensure symbol table + is available. + (bfd_elf_discard_group): New function. + (_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on + .gnu.linkonce* sections if they are members of a group. + (set_group_contents): Set GRP_COMDAT flag. + * section.c (bfd_discard_group): New function. + * bfd-in.h (bfd_elf_discard_group): Declare. + * bfd-in2.h: Regenerate. + * elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field. + (elf_linkonce_p): Define. + +2002-06-04 Alan Modra + + * elf.c (bfd_section_from_shdr): Make "name" const. + * elf-bfd.h (elf_backend_section_from_shdr): Likewise. + * elf32-i370.c (i370_elf_section_from_shdr): Likewise. + * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. + * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. + * elf32-v850.c (v850_elf_section_from_shdr): Likewise. + * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. + * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. + * elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. + * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. + * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. + * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. + +2002-06-03 Maciej W. Rozycki + + * elfxx-mips.c (ABI_64_P): Use backend's data to determine the + ABI. + +2002-06-02 Kazu Hirata + + * elf32-arc.c: Fix formatting. + * elf32-arm.h: Likewise. + * elf32-cris.c: Likewise. + * elf32-dlx.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-i386qnx.c: Likewise. + * elf32-or32.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xstormy16.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-mmix.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-x86-64.c: Likewise. + +2002-06-02 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference + null when there are no got entries for a symbol. + (elf64_alpha_relax_find_tls_segment): Rearrange to avoid + uninitialized variable warning. + +2002-06-01 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for + undefined symbols here. + (elf64_alpha_relax_section): Do it here. Also test for not + defined in the current module. + (elf64_alpha_relocate_section_r): Split out of ... + (elf64_alpha_relocate_section): ... here. Don't dereference + NULL when looking up local got entries. + +2002-06-01 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined + symbols from JSR relaxation. + (elf64_alpha_size_plt_section_1): New. + (elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ... + (elf64_alpha_size_rela_got_1): ... here. + (elf64_alpha_size_dynamic_sections): Split out .rela.got bits ... + (elf64_alpha_size_rela_got_section): ... here. + (elf64_alpha_size_plt_section): New. + (elf64_alpha_relax_section): Call them. + (elf64_alpha_size_got_sections): Remove output_bfd arg. + (elf64_alpha_finish_dynamic_symbol): Check gotent use_count. + +2002-06-01 Richard Henderson + + * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New. + (elf64_alpha_relocate_section): Use them. Reject LE TLS relocs + in shared libraries. Fix DTPRELHI and TPRELHI value. + (INSN_ADDQ, INSN_RDUNIQ): New. + (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent. + (elf64_alpha_relax_with_lituse): Return boolean. Remove irelend + argument. Reject dynamic symbols. Use LITUSE symbolic constants. + (elf64_alpha_relax_got_load): Rename from relax_without_lituse. + Handle GOTDTPREL and GOTTPREL relocations. + (elf64_alpha_relax_gprelhilo): New. + (elf64_alpha_relax_tls_get_addr): New. + (elf64_alpha_relax_find_tls_segment): New. + (elf64_alpha_relax_section): Handle TLS relocations. + (ALPHA_ELF_LINK_HASH_TLS_IE): New. + (elf64_alpha_check_relocs): Set it. + +2002-06-01 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp. + + * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic + check; don't suppress dynamic relocs for non-allocated sections. + + * elf64-alpha.c: Remove dead code. + +2002-05-31 Alan Modra + + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + + * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate + space for bss .plt. + +2002-05-31 Graeme Peterson + + * Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo. + (BFD32_BACKENDS_CFILES): Add elf32-i386qnx.c. + Run "make dep-am". + * Makefile.in: Regenerate. + * config.bfd: Add i[3456]86-*-nto-qnx* support. + * configure.in: Add bfd_elf32_i386qnx_vec support. + * configure: Regenerate. + * elf-bfd.h (struct elf_backend_data): Add set_nonloadable_filepos, + is_contained_by_filepos, and copy_private_bfd_data_p. + * elf.c (assign_file_positions_for_segments): Call backend + set_nonloadable_filepos. Fix non-K&R call to _bfd_error_handler. + (IS_CONTAINED_BY_FILEPOS): Define. + (INCLUDE_SECTION_IN_SEGMENT): Also test IS_CONTAINED_BY_FILEPOS. + (copy_private_bfd_data): Use IS_CONTAINED_BY_FILEPOS. Typo fix. + Fix non-K&R call to _bfd_error_handler. + (_bfd_elf_copy_private_section_data): Use backend + copy_private_bfd_data_p. + * elf32-i386.c: Don't include elfxx-target.h when + ELF32_I386_C_INCLUDED is defined. + * elf32-i386qnx.c: New QNX elf backend file. + * elfxx-target.h: Add elf_backend_set_nonloadable_filepos, + elf_backend_is_contained_by_filepos, and + elf_backend_do_copy_private_bfd_data. + * targets.c: Add bfd_target bfd_elf32_i386qnx_vec. + +2002-05-31 Alan Modra + + * elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define. + Move other similar defines to start of file. + +2002-05-30 Tom Rix + + * coff-rs6000.c (xcoff_rtype2howto): Handle 16 bit R_RBA. + * coff64-rs6000.c (xcoff64_rtype2howto): Same. + +2002-05-30 Richard Henderson + + * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, + ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. + (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. + (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. + (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. + (struct alpha_elf_obj_tdata): Rename total_got_entries and + n_local_got_entries to total_got_size and local_got_size. + (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. + (alpha_got_entry_size): New. + (elf64_alpha_relax_with_lituse): Use it. + (elf64_alpha_relax_without_lituse): Likewise. + (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. + (get_got_entry): New. + (elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. + (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. + (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. + (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. + (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. + (elf64_alpha_calc_got_offsets): Likewise. + (alpha_dynamic_entries_for_reloc): New. + (elf64_alpha_calc_dynrel_sizes): Use it. + (elf64_alpha_size_dynamic_sections): Likewise. + (elf64_alpha_relocate_section): Handle TLS relocations. + * reloc.c: Add Alpha TLS relocations. + * bfd-in2.h, libbfd.h: Rebuild. + +2002-05-29 Ralf Habacker + + * peXXigen.c (pe_print_idata): Remove double printed + import table lines; add Bound-To comment. + +2002-05-29 Matt Thomas + + * Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo. + (BFD32_BACKENDS_CFILES): Add elf32-vax.c. + (elf32-vax.lo): New rule. + * Makefile.in: Regenerate. + * configure.in (bfd_elf32_vax_vec) + (vaxnetbsd_vec): New vectors. + * configure: Regenerate. + * config.bfd (vax-*-netbsdelf*) + (vax-*-netbsdaout*) + (vax-*-netbsd*): New targets. + * elf32-vax.c: New file. + * reloc.c: Add VAX relocations. + * bfd-in2.h: Regenerate. + * targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec. + +2002-05-29 Jason Thorpe + + * config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec + and bfd_elf32_bigarm_vec to targ_selvecs. + +2002-05-29 Ralf Habacker + + * peXXigen.c (pe_print_idata): Fix seg faults on printing import tables + with auto-imported symbols. + +2002-05-29 Adam Nemet + + * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Don't add glue + sections only record bfd. + (bfd_elf32_arm_add_glue_sections_to_bfd): New function. + * bfd-in.h (bfd_elf32_arm_add_glue_sections_to_bfd): Declare it. + * bfd-in2.h: Regenerate. + +2002-05-28 Nick Clifton + + * syms.c (_bfd_stab_section_find_nearest_line): Move + declaration and initialisation of saw_line and saw_func out of + for loop. + +2002-05-29 Alan Modra + + * elf64-ppc.c (ppc64_elf_get_symbol_info): New function. + (bfd_elf64_get_symbol_info): Define. + * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef. + +2002-05-29 Andrey Volkov + + * cpu-h8300.c: Make default h8300 machine first in machine list. + +2002-05-28 Kuang Hwa Lin + + * config.bfd: Added DLX configuraton. + * Makefile.am: Added DLX configuraton. + * configure.in: Added DLX configuraton. + * archures.c: Add DLX architecture. + * reloc.c: Add DLX relocs. + * targets.c: Added DLX target vector. + * configure: Regenerate. + * Makefile.in: Regenreate. + * bfd-in2.h: Regenreate. + * elf32-dlx.c: New file: Support DLX target. + * cpu-dlx.c: New file: Support DLX target. + +2002-05-25 Alan Modra + + * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting. + + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change. + (ppc64_elf_check_relocs): Don't set up function descriptor symbol + strings to point inside function code sym string. + (func_desc_adjust): Likewise. + (ppc64_elf_hide_symbol): Rewrite code to look up function code sym. + +2002-05-24 Michal Ludvig + + * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added. + (elf64_x86_64_grok_psinfo): Added. + +2002-05-24 TAMURA Kent + + * config.bfd: Add a target for i386-netbsdpe. + +2002-05-24 Alan Modra + + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func + and is_func_descriptor. + (func_desc_adjust): Hide function code sym in shared libs unless + there is a matching exported function descriptor sym. + +2002-05-23 Jakub Jelinek + + * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL + for symbols from SHF_TLS section. + (_bfd_elf_print_private_bfd_data): Add PT_TLS. + (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. + (map_sections_to_segments): Build PT_TLS segment if necessary. + (assign_file_positions_for_segments): Likewise. + (get_program_header_size): Account for PT_TLS segment. + (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from + SEC_THREAD_LOCAL sections to STT_TLS. + * reloc.c: Add 386 and IA-64 TLS relocs. + * section.c (SEC_THREAD_LOCAL): Define. + (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): + Remove. + * elflink.h (elf_link_add_object_symbols): Support .tcommon. + (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS + unconditionally. + (struct elf_final_link_info): Add first_tls_sec. + (elf_bfd_final_link): Set first_tls_sec. + Compute elf_hash_table (info)->tls_segment. + (elf_link_output_extsym): Handle STT_TLS symbols. + (elf_link_input_bfd): Likewise. + * syms.c (BSF_THREAD_LOCAL): Define. + * bfd-in2.h: Rebuilt. + * libbfd.h: Rebuilt. + * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, + elf_i386_mkobject, elf_i386_object_p): New functions. + (elf_howto_table): Add TLS relocs. + (elf_i386_reloc_type_lookup): Support TLS relocs. + (elf_i386_info_to_howto_rel): Likewise. + (struct elf_i386_link_hash_entry): Add tls_type. + (struct elf_i386_obj_tdata): New. + (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): + New macros. + (struct elf_i386_link_hash_table): Add tls_ldm_got. + (link_hash_newfunc): Clear tls_type. + (elf_i386_check_relocs): Support TLS relocs. + (elf_i386_gc_sweep_hook): Likewise. + (allocate_dynrelocs): Likewise. + (elf_i386_size_dynamic_sections): Likewise. + (elf_i386_relocate_section): Likewise. + (elf_i386_finish_dynamic_symbol): Likewise. + (bfd_elf32_mkobject, elf_backend_object_p): Define. + * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, + dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, + want_tprel, want_dtpmod, want_dtprel. + (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. + (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to + R_IA64_LTOFF_TPREL22. + (elf_code_to_howto_index): Add TLS relocs. + (elfNN_ia64_check_relocs): Support TLS relocs. + (allocate_global_data_got): Account for TLS .got data. + (allocate_dynrel_entries): Account for TLS dynamic relocations. + (elfNN_ia64_install_value): Supprt TLS relocs. + (set_got_entry): Support TLS relocs. + (elfNN_ia64_relocate_section): Likewise. + +2002-05-23 Nick Clifton + + * elf32-arm.h (elf32_arm_final_link_relocate): For the Thumb + BLX reloc round the relocation up rather than down. + * coff-arm.c (coff_arm_relocate_section): Likewise. + +2002-05-21 H.J. Lu (hjl@gnu.org) + + * linker.c (_bfd_generic_link_add_one_symbol): Allow multiple + definition. + +2002-05-22 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. + (ppc64_elf_relocate_section): Handle unresolved relocs in opd. + +2002-05-22 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Return false for + unresolved relocs. + (ppc64_elf_size_dynamic_sections): Check for splt NULL. + +2002-05-21 Thiemo Seufer + + * bfd.c (bfd_get_arch_size): Remove bfd_set_error call for + non-ELF targets. + +2002-05-21 Thiemo Seufer + + * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return + an error value. + * elflink.h (elf_link_output_relocs): Likewise. Improve error message. + return with false on error. + (elf_link_input_bfd): Check reloc_emitter return value. + +2002-05-21 Jason Thorpe + + * config.bfd (armeb-*-netbsdelf*): New target. + +2002-05-20 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Point undefined function syms + at the plt call stub. + +2002-05-19 Thiemo Seufer + + * cpu-mips.c (mips_compatible): Don't try to check machine + compatibility. + +2002-05-18 Tom Rix + + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. + +2002-05-17 Alan Modra + + * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. + (ppc64_elf_relocate_section): Don't warn about reloc overflow when + we've already warned about an undefined symbol. Report more + detail on reloc errors. + +2002-05-17 Alan Modra + + * acinclude.m4 (AM_INSTALL_LIBBFD): New. + * configure.in: Invoke AM_INSTALL_LIBBFD. + * Makefile.am (install-data-local): Revert 2002-05-13. Move to.. + (install_libbfd): .. New target. + (uninstall_libbfd): Likewise. + (install-bfdlibLTLIBRARIES): Likewise. + (uninstall-bfdlibLTLIBRARIES): Likewise. + (bfdlibdir): New. + (bfdincludedir): New. + (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2002-05-17 Stuart Balfour + + * hash.c (bfd_hash_lookup): Remove computation of len from inside + hash loop. + +2002-05-16 Nick Clifton + + * config.bfd: Add targets for sh64-linux (little endian and + big endian). + +2002-05-15 Laurent Pinchart + + * peXXigen.c (pe_print_idata): Do not assume that the first thunk + is located in the same section as the import table. Instead + check, and if necessary load the section containing the thunk. + +2002-05-15 Nick Clifton + + * aix5ppc-core.c (xcoff64_core_p): Replace bfd_read with + bfd_bread. + (xcoff64_core_file_matches_executable_p): Replace bfd_read + with bfd_bread. + +2002-05-15 Alan Modra + + * aix5ppc-core.c: Warning fixes. + * aout-adobe.c (aout_32_bfd_link_just_syms): Define. + * aout-target.h (MY_bfd_link_just_syms): Define. + * aout-tic30.c (MY_bfd_link_just_syms): Define. + * bfd.c (bfd_link_just_syms): Define. + * binary.c (binary_bfd_link_just_syms): Define. + * bout.c (b_out_bfd_link_just_syms): Define. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update initializer. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. + * coffcode.h (coff_bfd_link_just_syms): Define. + * elf-bfd.h (enum elf_link_info_type): Add ELF_INFO_TYPE_JUST_SYMS. + (elf_discarded_section): Check for ELF_INFO_TYPE_JUST_SYMS. + (_bfd_elf_link_just_syms): Declare. + * elf.c (_bfd_elf_link_just_syms): New function. + * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Check that + sections haven't already been discarded by the linker. + * elflink.h (elf_link_add_object_symbols): Likewise for stab + sections and SEC_MERGE sections. + (elf_bfd_discard_info): Similarly here. + * elfxx-target.h (bfd_elfNN_bfd_link_just_syms): Define. + * i386msdos.c (msdos_bfd_link_just_syms): Define. + * i386os9k.c (os9k_bfd_link_just_syms): Define. + * ieee.c (ieee_bfd_link_just_syms): Define. + * ihex.c (ihex_bfd_link_just_syms): Define. + * libbfd-in.h (_bfd_nolink_bfd_link_just_syms): Define. + (_bfd_generic_link_just_syms): Declare. + * libecoff.h (_bfd_ecoff_bfd_link_just_syms): Define. + * linker.c (_bfd_generic_link_just_syms): New function. + * mmo.c (mmo_bfd_link_just_syms): Define. + * nlm-target.h (nlm_bfd_link_just_syms): Define. + * oasys.c (oasys_bfd_link_just_syms): Define. + * ppcboot.c (ppcboot_bfd_link_just_syms): Define. + * som.c (som_bfd_link_just_syms): Define. + * srec.c (srec_bfd_link_just_syms): Define. + * targets.c (struct bfd_target): Add _bfd_link_just_syms. + (BFD_JUMP_TABLE_LINK): And here. + * tekhex.c (tekhex_bfd_link_just_syms): Define. + * versados.c (versados_bfd_link_just_syms): Define. + * vms.c (vms_bfd_link_just_syms): Define. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2002-05-15 Thiemo Seufer + + * elf32-mips.c: Remove superfluous definitions copied from + elfxx-mips.c. + (bfd_elf32_bigmips_vec,bfd_elf32_littlemips_vec): Use the + SGIish vectors to check the special case. + (mips_elf_hi16_reloc): Fix comment. + (mips_elf_got16_reloc): Likewise. + (_bfd_mips_elf32_gprel16_reloc): Likewise. + (elf_reloc_map): Code cleanup. + (mips_reloc_map): Add comment. + (bfd_elf23_bfd_reloc_type_lookup): Code cleanup. + (mips_elf32_rtype_to_howto): Likewise. + (mips_elf32_discard_info): Likewise. + (elf32_mips_irix_compat): Invert logic: Only SGIish vectors + lead to IRIX compatibility now. + +2002-05-15 Thiemo Seufer + + * elfxx-mips.c: Call it IRIX, not Irix in comments. + +2002-05-13 Jason Thorpe + + * config.bfd (shle-*-netbsdelf*): Add target which includes + sh64 support. + +2002-05-13 David Edelsohn + + * configure.in: Revert 2002-04-07. Instead, auto-configure + HAVE_ST_C_IMPL. + * configure: Regenerate. + * config.in: Regenerate. + * rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL + or AIX_5_CORE. + +2002-05-11 Federico G. Schwindt + + * configure.in (sparc*-*-openbsd*): Support sparc64-openbsd + corefiles as well.2 + * configure: Regenerate. + +2002-05-13 Alan Modra + + * Makefile.am (install-data-local): Install headers to + $(exec_prefix)/include. + * Makefile.in: Regenerate. + +2002-05-11 Ralf Corsepius + Daniel Jacobowitz + + * coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE. Don't + map BFD_RELOC_RVA. + +2002-05-11 Federico G. Schwindt + + * config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*, + hppa*-*-openbsd*): New targets. + * configure.in (alpha*-*-openbsd*): Set COREFILE. + * configure: Regenerate. + +2002-05-10 Tom Rix + + * coff64-rs6000.c (xcoff64_reloc_type_br): New function for + xcoff64_ppc_relocate_section. + * coff-rs6000.c : Extern common xcoff_reloc_type functions. + * libxcoff.h: Common xcoff_reloc_type function declaration. + +2002-05-10 Alan Modra + + * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks + added in 2002-05-09 commit. + + * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, + don't look for stubs on all undefined syms. + +2002-05-09 Alan Modra + + * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete. + (ppc64_elf_howto_raw ): Not pc_relative or + pcrel_offset. + + * elf32-i386.c (elf_howto_table): Comments. + (elf_i386_relocate_section): Handle more relocs for relocatable + linking and against SEC_MERGE sections. + +2002-05-08 Alan Modra + + * elf32-ppc.c (ppc_elf_create_got): New function. + (ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before + _bfd_elf_create_dynamic_sections. Correct .plt flags. + (ppc_elf_check_relocs): Use ppc_elf_create_got in place of + _bfd_elf_create_got_section. + +2002-05-07 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add rela_normal. + * elfxx-target.h (elf_backend_rela_normal): Define. + (elfNN_bed): Init rela_normal. + * elflink.h (elf_link_input_bfd ): Handle adjustment + for section symbols here if rela_normal. Simplify abs section test. + * elf-m10200.c (mn10200_elf_relocate_section): If relocatable, + return immediately. Remove code handling relocatable linking. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf-m10200.c (elf_backend_rela_normal): Define. + * elf-m10300.c (elf_backend_rela_normal): Define. + * elf32-fr30.c (elf_backend_rela_normal): Define. + * elf32-i370.c (elf_backend_rela_normal): Define. + * elf32-i860.c (elf_backend_rela_normal): Define. + * elf32-m68k.c (elf_backend_rela_normal): Define. + * elf32-mcore.c (elf_backend_rela_normal): Define. + * elf32-openrisc.c (elf_backend_rela_normal): Define. + * elf32-ppc.c (elf_backend_rela_normal): Define. + * elf32-s390.c (elf_backend_rela_normal): Define. + * elf32-xstormy16.c (elf_backend_rela_normal): Define. + * elf64-ppc.c (elf_backend_rela_normal): Define. + * elf64-s390.c (elf_backend_rela_normal): Define. + * elf64-x86-64.c (elf_backend_rela_normal): Define. + * elfxx-ia64.c (elf_backend_rela_normal): Define. + * elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. + * elf32-m32r.c (elf_backend_rela_normal): Likewise. + +2002-05-06 Nick Clifton + + * elf32-arm.h (elf32_arm_final_link_relocate): Convert + 'reloc_signed_max' and 'reloc_signed_min' into half-word offsets. + +2002-05-06 Alan Modra + + * elflink.h (elf_link_input_bfd ): Adjust r_offset + when not relocatable. Fix reloc_emitter call for K&R. + +2002-05-04 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code + reloading local sym addend mistakenly removed in 2002-05-01 change. + + * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. + (read_abbrevs): Change "offset" param to bfd_vma. + (parse_comp_unit): Change "version" and addr_size to unsigned ints. + Change "abbrev_offset" to bfd_vma. + (read_indirect_string): Use correct conversion chars in error + message format string, cast bfd_vma's to unsigned long. + (read_abbrevs): Likewise. + (read_attribute_value): Likewise. + (decode_line_info): Likewise. + (scan_unit_for_functions): Likewise. + (parse_comp_unit): Likewise. + +2002-05-04 Tom Rix + + * coffswap.h (coff_swap_reloc_in): Remove XCOFF support. + (coff_swap_reloc_out): Same. + * coff-rs6000.c: (xcoff_swap_reloc_in): Moved from coffswap.h. + (xcoff_swap_reloc_out): Same. + (xcoff_rtype2howto): Renamed from _bfd_xcoff_rtype2howto. Special + case some 16 bit relocs. Add reloc value to output. + (xcoff_howto_table): Remove 64 bit R_POS, add 16 bit + R_RBR. Improve names. + (_bfd_xcoff_reloc_type_lookup): Adjust for removal of 64 bit R_POS. + (bfd_xcoff_backend_data): Update with new reloc swap names. + (bfd_pmac_xcoff_backend_data) : Same. + * coff64-rs6000.c: (xcoff64_swap_reloc_in): Moved from coffswap.h. + (xcoff64_swap_reloc_out): Same. + (xcoff64_rtype2howto): Special case some 16 bit relocs and 32 bit + R_POS. Add reloc value to output. + (xcoff64_howto_table): Move 64 bit R_POS to first entry. Add 16 + bit R_RBR. Improve names, masks. + (xcoff64_reloc_type_lookup): Adjust for move of 64 bit R_POS. + (bfd_xcoff_backend_data): Update with new reloc swap names. + (bfd_xcoff_aix5_backend_data) : Same. + +2002-05-04 Alan Modra + + * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add + bfd_count top_index, input_list, all_local_syms. + (elf32_hppa_setup_section_lists): New function, split from + elf32_hppa_size_stubs. + (elf32_hppa_next_input_section): Likewise. + (group_sections): Likewise. + (get_local_syms): Likewise. + (elf32_hppa_size_stubs): Adjust for split out functions. Look for + stubs on undefined syms too. + (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. + Only access htab elf fields when we have an elf hash table. + * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. + (elf32_hppa_next_input_section): Declare. + +2002-05-04 Bob Byrnes + + * opncls.c (_bfd_new_bfd_contained_in): Check return value of + _bfd_new_bfd. + +2002-05-03 H.J. Lu (hjl@gnu.org) + + * elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. + (mips_elf_link_hash_newfunc): Initialize forced_local to false. + (mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol + to hide a global symbol. + (_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set + forced_local to true. + +2002-05-02 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs + vs SHN_UNDEF to zero. + +2002-05-02 Alan Modra + + * elf64-ppc.c (ppc64_elf_howto_raw ): Change to a + 16 bit reloc. + : Likewise. + (ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to + SECTOFF reloc. + * elf32-ppc.c (ppc_elf_howto_raw ): Correct. + (ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to + SECTOFF reloc. + + * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. + (ppc64_elf_ha_reloc): New function. + (ppc64_elf_brtaken_reloc): New function. + (ppc64_elf_sectoff_reloc): New function. + (ppc64_elf_sectoff_ha_reloc): New function. + (ppc64_elf_toc_reloc): New function. + (ppc64_elf_toc_ha_reloc): New function. + (ppc64_elf_toc64_reloc): New function. + (ppc64_elf_unhandled_reloc): New function. + (ppc64_elf_howto_raw): Use the above. + : Mark pc_relative, pcrel_offset. + : Not pc_relative or pcrel_offset. Fix dst_mask. + : Likewise. + (IS_ABSOLUTE_RELOC): Update. + (struct ppc_link_hash_table): Add have_undefweak. + (ppc64_elf_link_hash_table_create): Init. + (func_desc_adjust): Set have_undefweak. + (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only + add the .sfpr blr when have_undefweak. + (ppc64_elf_setup_section_lists): Check hash table flavour. + (ppc64_elf_next_input_section): Move output_section->owner test to + ppc64elf.em. + (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param + and relocatable test. Return TOCstart and don't set elf_gp. + (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch + offset calculation. Add assert on weak sym branch tweaks. + * elf64-ppc.h (ppc64_elf_set_toc): Delete. + (ppc64_elf_toc): Declare. + (ppc64_elf_next_input_section): Update. + +2002-05-01 Alan Modra + + * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL + file_name. + +2002-05-01 Alan Modra + + * elf64-ppc.c (CROR_151515, CROR_313131): Define. + (ppc64_elf_relocate_section): Use them. Don't look for plt calls + on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt + call branches. Correct undefined weak destination. + (ppc64_elf_func_desc_adjust): Always create at least one blr in + .sfpr, and correct case where either only savef* or restf* is + needed. + + Long branch stubs, multiple stub sections. + * elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. + (ppc64_elf_next_input_section): Declare. + * elf64-ppc.c: Move linker-only prototypes. + (STUB_SUFFIX): Define. + (enum ppc_stub_type): New. + (struct ppc_stub_hash_entry): New. + (struct ppc_branch_hash_entry): New. + (struct ppc_link_hash_entry): Add stub_cache, oh. + (struct ppc_link_hash_table): Add stub_hash_table etc. Remove + sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. + Rename plt_overflow to stub_error. + (ppc_stub_hash_lookup): Define. + (ppc_branch_hash_lookup): Define. + (stub_hash_newfunc): New function. + (branch_hash_newfunc): New function. + (link_hash_newfunc): Init new fields. + (ppc64_elf_link_hash_table_create): Likewise. + (ppc64_elf_link_hash_table_free): New function. + (ppc_stub_name): New function. + (ppc_get_stub_entry): New function. + (ppc_add_stub): New function. + (create_linkage_sections): Use bfd_make_section_anyway. Create + .branch_lt and .rela.branch_lt sections. Don't create .stub. + (ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, + and set up for plt call stubs. Link func and func desc syms. + (ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. + (func_desc_adjust): Avoid hash lookup when func desc sym available + via shortcut, and set links when processing. + (ppc64_elf_hide_symbol): Likewise. + (allocate_dynrelocs): Don't allocate stub section here. + (ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. + Remove sstub code. + (ppc_type_of_stub): New function. + (build_one_stub): Delete. + (ppc_build_one_stub): New function. + (ppc_size_one_stub): New function. + (ppc64_elf_setup_section_lists): New function. + (ppc64_elf_next_input_section): New function. + (group_sections): New function. + (get_local_syms): New function. + (ppc64_elf_size_stubs): Rewrite. + (ppc64_elf_build_stubs): Rewrite. + (ppc64_elf_relocate_section): Look up stub entry for REL24 + relocs. Don't propagate REL14* to dynamic objects. Look for long + branch stubs if REL14* or REL24 relocs won't reach. + (bfd_elf64_bfd_link_hash_table_free): Define. + +2002-04-30 Mark Mitchell + + * config.bfd: Add support for powerpc-*-windiss. + +2002-04-30 Tom Rix + + * xcofflink.c (xcoff_link_add_symbols): Always copy undef C_EXT + symbol names into the hash table. + +2002-04-28 Tom Rix + + * coff-rs6000.c (xcoff_calculate_relocation) : Function table for + calulating relocations. + (xcoff_complain_overflow) : Function table for relocation errors. + (xcoff_ppc_relocate_section): Use relocation and complain function + tables. + (xcoff_complain_overflow_unsigned_func): New complain function. + (xcoff_complain_overflow_signed_func): Same. + (xcoff_complain_overflow_bitfield_func): Same. + (xcoff_complain_overflow_dont_func): Same. + (xcoff_reloc_type_crel): New recot function. + (xcoff_reloc_type_br): Same. + (xcoff_reloc_type_ba): Same. + (xcoff_reloc_type_toc): Same. + (xcoff_reloc_type_rel): Same. + (xcoff_reloc_type_neg): Same. + (xcoff_reloc_type_pos): Same. + (xcoff_reloc_type_fail): Same. + (xcoff_reloc_type_noop): Same. + * libxcoff.h : Declare common parts for xcoff64. + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Use relocation + and complain function tables. + +2002-04-28 Alan Modra + + * elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo. + * elf32-hppa.c (elf32_hppa_final_link): Formatting. + +2002-04-26 Alan Modra + + * opncls.c (bfd_make_readable): Call bfd_section_list_clear. + * xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. + + * elflink.h (elf_bfd_final_link): Ensure input bfd class is the + same as the output before calling elf_link_input_bfd. + + * coffcode.h (coff_compute_section_file_positions): Set + section_tail after shuffling section list. + +2002-04-24 Christian Groessler + + * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The + addresses are 23bit with a special layout, not plain 32bit + values. Prevent relocation of immediate values. + +2002-04-24 Chris G. Demetriou + + * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or + MIPS-16 ASE flags are set, print something to indicate that. + +2002-04-23 Alan Modra + + * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition + under which a plt call stub is used. + (final_link_relocate): Similarly. + (allocate_plt_static): Clear h-plabel except when plt entry is + exclusively used for a plabel. + (allocate_dynrelocs): Use the above to simplify plt sizing. + (struct elf32_hppa_link_hash_table): Add has_22bit_branch. + (elf32_hppa_link_hash_table_create): Init. + (BL22_RP): Define. + (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. + (elf32_hppa_check_relocs): Set has_22bit_branch. + + * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. + (final_link_relocate): Likewise. + +2002-04-22 Jakub Jelinek + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build + search table if some FDE is DW_EH_PE_aligned encoded either. + (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. + +2002-04-22 Richard Smith + Jakub Jelinek + + * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. + (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel + encoded personality. + (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality + for CIE/FDE removal. + +2002-04-20 Tom Rix + + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. + +2002-04-20 Alan Modra + + * archures.c (bfd_lookup_arch): Move the list order comment.. + (struct bfd_arch_info): ..to where it belongs. + * bfd-in2.h: Regenerate. + + * archures.c (bfd_lookup_arch): Add comment on list order. + (bfd_default_set_arch_mach): Use bfd_lookup_arch. + * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default + is always at head of list. + +2002-04-18 Nick Clifton + + * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, + insert_thumb_branch, record_thumb_to_arm_glue): Suppress + definition of these functions for ARM_WINCE builds as they are + not used. + (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define + for ARM_WINCE builds. + +2002-04-18 Nick Clifton + + * coff-arm.c (bfd_arm_process_before_allocation): + +2002-04-17 J"orn Rennecke + + * cpu-sh.c (scan_mach): Delete. + (arch_info_struct): Replace scan_mach with bfd_default_scan. + (bfd_sh_arch): Likewise. + +2002-04-16 Nick Clifton + + * ihex.c (ihex_write_object_contents): Fix check for records + crossing 64K boundaries. + +2002-04-16 Alan Modra + + * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table + type rather than just assuming entries are ELF. + * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. + * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. + * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. + * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry + rather than elf_link_hash_entry. + +2002-04-15 Richard Henderson + + * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow + n32 binaries. + +2002-04-15 Michael Snyder + + * opncls.c (bfd_close): Write contents if writeable. + Minor formatting tidy-ups. + +2002-04-15 Alan Modra + + * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. + +2002-04-12 Michael Snyder + + * bfd-in.h (bfd_get_section_lma): New access macro. + Minor white-space fix-up. + +2002-04-12 Alan Modra + + * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or + header pad. + +2002-04-09 DJ Delorie + + * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. + +2002-04-09 Casper S. Hornstrup + + * coffcode.h (coff_read_word): New. + (coff_compute_checksum): New. + (coff_apply_checksum): New. + (coff_write_object_contents): Call coff_apply_checksum () to + apply checksum to PE image. + +2002-04-08 Randolph Chung + + * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. + (elf32_hppa_final_link): Split out sorting logic to.. + * elf-hppa.h (elf_hppa_sort_unwind): ..here. + (elf_hppa_final_link): Call elf_hppa_sort_unwind. + +2002-04-07 Andrew Cagney + + * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* + pattern. + * configure: Re-generate. + +2002-04-07 Andrew Cagney + + * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version + is greater or equal to 4.3.3. + * configure: Regenerate. + Fix PR gdb/344. + +2002-04-05 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_howto_table) : Fix typo in name. + (cris_elf_check_relocs): Always create .rela.got here when + R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. + (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; + assume it's created. + +2002-04-04 Daniel Jacobowitz + + * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. + * aout-target.h (MY_bfd_link_hash_table_free): Conditionally + define. + * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. + * bfd.c (bfd_link_hash_table_free): Define. + * binary.c (binary_bfd_link_hash_table_free): Define. + * bout.c (b_out_bfd_link_hash_table_free): Define. + * coff-rs6000.c (rs6000coff_vec): Include + _bfd_generic_link_hash_table_free. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. + * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. + (bfd_elf32_bfd_link_hash_table_free): Define. + * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. + (bfd_elf32_bfd_link_hash_table_free): Define. + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally + define. + * i386msdos.c (msdos_bfd_link_hash_table_free): Define. + * i386os9k.c (os9k_bfd_link_hash_table_free): Define. + * ieee.c (ieee_bfd_link_hash_table_free): Define. + * ihex.c (ihex_bfd_link_hash_table_free): Define. + * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. + (_bfd_generic_link_hash_table_free): Add prototype. + * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. + * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. + * linker.c (_bfd_generic_link_hash_table_free): New function. + * mmo.c (mmo_bfd_link_hash_table_free): Define. + * nlm-target.h (nlm_bfd_link_hash_table_free): Define. + * oasys.c (oasys_bfd_link_hash_table_free): Define. + * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. + * som.c (som_bfd_link_hash_table_free): Define. + * srec.c (srec_bfd_link_hash_table_free): Define. + * tekhex.c (tekhex_bfd_link_hash_table_free): Define. + * versados.c (versados_bfd_link_hash_table_free): Define. + * vms.c (vms_bfd_link_hash_table_free): New function. + * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. + + * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc + instead of bfd_alloc. + * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. + * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. + * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. + * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. + * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. + * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. + * elf.c (_bfd_elf_link_hash_table_create): Likewise. + * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. + * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. + * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. + * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. + * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. + * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. + * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. + * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. + * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. + * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. + * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. + * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. + * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. + * linker.c (_bfd_generic_link_hash_table_create): Likewise. + * m68klinux.c (linux_link_hash_table_create): Likewise. + * sparclinux.c (linux_link_hash_table_create): Likewise. + * sunos.c (sunos_link_hash_table_create): Likewise. + * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. + + * targets.c: Add _bfd_link_hash_table_free to xvec. + + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + +2002-04-04 Alan Modra + + * dep-in.sed: Cope with absolute paths. + * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. + Run "make dep-am". + * Makefile.in: Regenerate. + * coff-arm.c: Fix copyright date. + * cpu-h8300.c: Likewise. + * cpu-i370.c: Likewise. + * cpu-s390.c: Likewise. + * cpu-mips.c: Likewise. + * po/SRC-POTFILES.in: Regenerate. + +2002-04-04 Thiemo Seufer + + * Makefile.am: Add elfxx-mips.c to the known backends. + (elf32-mips.lo): remove dependency to coff/external.h. + * Makefile.in: Regenerate. + * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo + Remove elf32-mips.lo from 64 bit vectors. Update dependencies + accordingly. + * configure: Regenerate. + * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. + (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. + (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New + MIPS specific backend functions. + * elf32-mips.c: Moved most code to elfxx-mips.c. + (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make + static. + (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. + (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. + (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. + (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed + interface to allow selection of the right REL or RELA howto table. + (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made + static. Let it refuse n32 objects. + (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. + (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. + (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. + (elf32_mips_ignore_discarded_relocs): Rename from + _bfd_elf32_mips_ignore_discarded_relocs. + (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. + (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. + (elf_mips_howto_table_rela): Remove. + * elf64-mips.c: Moved most code to elfxx-mips.c. + (bfd_elf64_bfd_reloc_type_lookup): Make static. + (mips_elf64_rtype_to_howto): New function. + (mips_elf64_object_p): Likewise. + (elf64_mips_irix_compat): Likewise. + * elfxx-mips.c: New file containing common code merged together from + elf32-mips.c and elf64-mips.c. + * elfxx-mips.h: New file containing MIPS specific prototypes from + elf-bfd.h. + * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and + elf_backend_mips_rtype_to_howto. + +2002-04-04 Alan Modra + + * srec.c (MAXCHUNK, Chunk): Revise comments. + (srec_write_record): Correct buffer size. + (srec_write_header): Do without intermediate buffer. + (srec_write_section): Validate Chunk. + (srec_write_terminator): Pass NULL instead of dummy buffer. + (srec_write_symbols): Pass file and symbol names directly to + bfd_bwrite so sprintf won't overflow buffer. + +2002-04-03 Jakub Jelinek + + * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic + PC relative relocs against hidden symbols. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + +2002-04-03 Alan Modra + + * elf.c (_bfd_elf_make_section_from_shdr): When setting section + LMAs, loop over segments until p_vaddr and p_memsz specify an + extent enclosing the section. + +2002-04-02 Nick Clifton + + * ihex.c (ihex_write_object_contents): Do not allow records to + cross a 64K boundary - wrap if necessary. + +2002-04-01 Nathan Williams + + * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error + which caused the returned LWP ID to always be 0. + +2002-04-01 Richard Henderson + + * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. + (elf32_sparc_relocate_section): Use it to figure out when to + initialize .got entries. + * elf64-sparc.c: Similarly. + +2002-03-28 Alan Modra + + * linker.c (link_action): Ignore duplicate warning syms. + (_bfd_generic_link_write_global_symbol): Follow warning symbol link. + * elflink.h (elf_adjust_dynstr_offsets): Likewise. + (elf_adjust_dynamic_symbol): Likewise. + (elf_export_symbol): Likewise. + (elf_link_find_version_dependencies): Likewise. + (elf_link_assign_sym_version): Likewise. + (elf_link_sec_merge_syms): Likewise. + (elf_link_output_extsym): Likewise. + (elf_gc_sweep_symbol): Likewise. + (elf_gc_propagate_vtable_entries_used): Likewise. + (elf_gc_smash_unused_vtentry_relocs): Likewise. + (elf_gc_allocate_got_offsets): Likewise. + (elf_collect_hash_codes): Likewise. + * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. + * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. + (elf_hppa_remark_useless_dynamic_symbols): Likewise. + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. + * elf32-arm.h (elf32_arm_discard_copies): Likewise. + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. + (elf_cris_discard_excess_dso_dynamics): Likewise. + * elf32-hppa.c (clobber_millicode_symbols): Likewise. + (mark_PIC_calls): Likewise. + (allocate_plt_static): Likewise. + (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elf32-i386.c (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. + * elf32-m68k.c (elf_m68k_discard_copies): Likewise. + * elf32-mips.c (mips_elf_output_extsym): Likewise. + (mips_elf_sort_hash_table_f): Likewise. + (mips_elf_check_mips16_stubs): Likewise. + * elf32-s390.c (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elf32-sh.c (sh_elf_discard_copies): Likewise. + * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. + (xstormy16_relax_plt_realloc): Likewise. + * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. + (elf64_alpha_output_extsym): Likewise. + * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. + * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. + (mips_elf64_check_mips16_stubs): Likewise. + (mips_elf64_output_extsym): Likewise. + * elf64-ppc.c (func_desc_adjust): Likewise. + (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elf64-s390.c (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. + * elf64-x86-64.c (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. + * aoutx.h (aout_link_write_other_symbol): Likewise. + * cofflink.c (_bfd_coff_write_task_globals): Likewise. + (_bfd_coff_write_global_sym): Likewise. + * i386linux.c (linux_tally_symbols): Likewise. + * m68klinux.c (linux_tally_symbols): Likewise. + * sparclinux.c (linux_tally_symbols): Likewise. + * pdp11.c (aout_link_write_other_symbol): Likewise. + * sunos.c (sunos_scan_dynamic_symbol): Likewise. + * xcofflink.c (xcoff_build_ldsyms): Likewise. + (xcoff_write_global_symbol): Likewise. + + * cofflink.c (_bfd_coff_final_link): Formatting. + * cpu-mips.c (mips_compatible): Make static, prototype. + * elf32-i386.c (elf_i386_check_relocs): Formatting. + * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. + * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. + * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. + (mips_elf64_final_link): Likewise. + * elflink.h (elf_link_find_version_dependencies): Remove duplicate + prototype. + +2002-03-27 Nick Clifton + + * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. + (SWAP_OUT_RELOC_OFFSET): Define. + +2002-03-27 Gregory Steuck + + * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for + terminating NULL if empty symbol table. + (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. + +2002-03-26 H.J. Lu (hjl@gnu.org) + + * elflink.h (elf_link_input_bfd): Revert the last change since + the gcc exception handling isn't fixed yet. + +2002-03-26 H.J. Lu (hjl@gnu.org) + + * elflink.h (elf_link_input_bfd): Complain about relocations + against local symbols in discarded sections. + +2002-03-26 Alan Modra + + * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. + +2002-03-23 Alan Modra + + * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on + section file offset for !SEC_LOAD sections. + +2002-03-21 Richard Earnshaw + + * elf32-arm.h (elf32_arm_final_link_relocate , + ): Handle relocations to Thumb functions. + +2002-03-21 Alan Modra + + * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. + Whitespace changes. + * archive.c: Update copyright date. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2002-03-20 Daniel Jacobowitz + + * dwarf2.c (struct funcinfo): Move up. + (lookup_address_in_function_table): New argument function_ptr. + Set it. + (lookup_address_in_line_table): New argument function. If function + is non-NULL, use it to handle ``addr'' before the first line note of + the function. + (comp_unit_find_nearest_line): Update and swap calls to + lookup_address_in_function_table and lookup_address_in_line_table. + * syms.c (_bfd_stab_section_find_nearest_line): Use the first + N_SLINE encountered if we see an N_FUN before any N_SLINE. + +2002-03-20 Tom Rix + + * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from + _bfd_xcoff_generic_stat_arch_elt. Fix format check. + * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. + +2002-03-19 Tom Rix + + * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all + dynamic objects in archives. + +2002-03-19 Hans-Peter Nilsson + + * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set + STT_NOTYPE symbols to STT_OBJECT. + +2002-03-18 Jan Hubicka + + * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" + +2002-03-18 Tom Rix + + * aix5ppc.core.c : New file for AIX 5 64 bit core support. + * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. + * coff-rs6000 (do_pad) : New function for archive padding. + (do_copy) : New function for object file copying in archives. + (do_shared_object_padding) : New function for padding shared + objects to their text section alignment in archives. + (bfd_xcoff_ar_achive_set_magic) : Stub. + (xcoff_write_armap_big) : Use do_copy and do_pad. + (xcoff_write_archive_contents_big) : Use do_shared_object_padding, + do_copy and do_pad. + * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use + bfd_xcoff_magic_number. + (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook + fop. + (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. + (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. + (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. + * rs6000-core.c : Update copyright date. + * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL + csectpp. + * coffcode.h (coff_new_section_hook) : Use new accessor macros. + (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. + (coff_set_flags) : Use bfd_xcoff_magic_number. + * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. + * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. + * Makefile.am : Same. + * config.bfd : Same. + * targets.c : Same. + * configure : Regnerate. + * Makefile.in : Same. + * bfd-in2.h : Same. + +2002-03-18 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-18 Alan Modra + + * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. + * libbfd.h: Regenerate. + * archive.c (coff_write_armap): Pass on failures from + bfd_write_bigendian_4byte_int. + +2002-03-14 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD + error to bfd_error_nonrepresentable_section for reinit_array + section in DSO. + +2002-03-14 Nick Clifton + + * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, + OR it in rather than replacing previously selected flags. + + * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. + (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. + +2002-03-14 Alan Modra + + * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. + (N): Use the above. + * elflink.h (elf_bfd_final_link): Revert last change. Instead, + ensure reloc size matches before calling elf_link_input_bfd. + Add an assert to check reloc size when counting output relocs. + +2002-03-14 Nick Clifton + + * mmo.c (mmo_get_loc): Return NULL rather than false. + +2002-03-13 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-13 Alan Modra + + * archures.c (bfd_default_compatible): Test bits_per_word. + * cpu-i386.c (i386_compatible): Remove. Replace occurrences with + bfd_default_compatible. + * cpu-i370.c (i370_compatible): Likewise. + * cpu-sparc.c (sparc_compatible): Likewise. + * cpu-h8300.c (compatible): Test in->arch == out->arch. + + * elflink.h: Formatting fixes. + (elf_link_output_extsym): Merge undefined and undef weak cases. + + * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd + when word size of input matches output word size. + +2002-03-12 Andreas Jaeger + + * cpu-i386.c (i386_compatible): New. Use it instead of + bfd_default_compatible. + +2002-03-07 H.J. Lu (hjl@gnu.org) + + * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type + as the type for bfd_reloc_val. + +2002-03-05 John David Anglin + + * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. + (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. + (elf_hppa_final_link_relocate): Correct relocations for indirect + references to local data through the DLT. Fix .opd creation for + local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 + relocations. Use e_lsel selector for R_PARISC_DLTIND21L, + R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per + "Processor-Specific ELF for PA_RISC, Version 1.43" document. + Similarly, use e_rsel for DLT and LTOFF 'R' relocations. + * elf32-hppa.c (final_link_relocate): Revise relocation selectors + as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. + +2002-03-05 Jakub Jelinek + + * merge.c (_bfd_merge_sections): Don't segfault if there + is nothing to merge due to GC. + +2002-03-05 Alan Modra + + * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep + symbols that have been forced local. + + * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym + to output forced local syms for non-shared link. + (elf_link_output_extsym): Tweak condition for calling backend + adjust_dynamic_symbol so that previous behaviour is kept. + Whitespace changes throughout file. + +2002-03-04 H.J. Lu + + * elf.c (bfd_section_from_shdr): Handle special sections, + .init_array, .fini_array and .preinit_array. + (elf_fake_sections): Likewise. + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the + DT entry only if the section is in output for .init_array, + .fini_array and .preinit_array. Complain about .preinit_array + section in DSO. + (elf_bfd_final_link): Warn zero size for .init_array, + .fini_array and .preinit_array sections. + + * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove + SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. + (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and + .preinit_array. + +2002-03-04 Alan Modra + + * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. + * configure: Regenerate. + +2002-03-02 Tom Rix + + * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with + symbolic equiv. + * coff-rs6000.c (xcoff_howto_table): Same. + +2002-03-01 David Mosberger + + * elflink.h (size_dynamic_sections): If section named + ".preinit_array" exists, create DT_PREINIT_ARRAY and + DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for + ".init_array" and ".fini_array". + (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, + DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and + DT_FINI_ARRAY. + +2002-02-26 Andrew Macleod + + * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local + dynsyms. + +2002-02-25 Alan Modra + + * elf64-hppa.h: Update copyright date. + + * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. + (ppc64_elf_relocate_section): Don't generate power4 style branch + hints for *_BRTAKEN and *_BRNTAKEN relocs. + +2002-02-22 Jakub Jelinek + + * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my + last patch. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + +2002-02-21 Andreas Jaeger + + * elf64-x86-64.c: Major rework that introduces all recent changes + to the x86-64 backend. Get a closer match to elf32-i386. + (struct elf64_x86_64_dyn_relocs): Rename from + elf64_x86_64_pcrel_relocs_copied, add additional fields. Change + all users. + (struct elf64_x86_64_link_hash_table): Add short cuts to some + sections. + (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, + remove casts, initialize new hash members. + (create_got_section): New. + (elf64_x86_64_create_dynamic_sections): New. + (elf64_x86_64_copy_indirect_symbol): New. + (elf64_x86_64_check_relocs): Don't allocate space for dynamic + relocs, .got or .relgot here but do it in allocate_dynrelocs. + Reference count possible .plt and .got entries. Don't test input + section SEC_READONLY here to try to avoid copy relocs, and keep + dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set + DF_TEXTREL here. Delay setting of variables until needed. Cache + pointer to "sreloc" section in elf_section_data. Tweak condition + under which .got created. Report files with bad relocation + section names. + (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. + Reference count possible .plt entries. Don't deallocate .got and + .relgot space here. + (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't + do copy reloc processing for weakdefs. Remove redundant casts and + aborts. Delay setting of vars until needed. Move creation of + dynamic symbols and allocation of .plt and .rela.plt to + allocate_dynrelocs. Replace BFD_ASSERT with abort. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. + (allocate_dynrelocs): New. + (readonly_dynrelocs): New. + (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. + Allocate space for dyn relocs. Replace BFD_ASSERT with abort. + Zero out the dynamic allocated content space. + (elf64_x86_64_discard_copies): Removed. + (elf64_x86_64_relocate_section): Make use of dynamic section + short-cuts. Localise vars, and delay setting. Better error + reporting, replace BFD_ASSERT with abort. Check + ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the + regular object file and tread the weak definition as the normal + one. Don't discard relocs for undefweak or undefined symbols and + check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy + relocs. + (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for + symbols that have been forced local. Use same test to decide if + we can use a relative reloc for got as relocate_section. Expand + SHN_UNDEF comment. Move expressions out of function calls. + Replace BFD_ASSERT with abort. + (bfd_elf64_bfd_final_link): Removed. + (elf_backend_copy_indirect_symbol): Define. + +2002-02-20 Tom Rix + + * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. + (_bfd_xcoff_reloc_type_lookup): Use it. + * coff64-rs6000.c (xcoff64_howto_table): Same. + (xcoff64_reloc_type_lookup): Same. + +2002-02-20 Peter Schauer + + * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are + little endian. + +2002-02-19 Martin Schwidefsky + + * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. + (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. + * bfd-in2.h: Regenerate. + * cpu-s390.c (arch_info_struct): Use renamed architecture defines. + Replace architecture name "s390" with "s390:31-bit" and "s390:esame" + with "s390:64-bit". + * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. + (elf_s390_reloc_type_lookup): Likewise. + (elf_s390_check_relocs): Likewise. + (elf_s390_gc_sweep_hook): Likewise. + (elf_s390_relocate_section): Likewise. + (elf_s390_object_p): Use renamed architecture define. + * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. + +2002-02-19 Frank Ch. Eigler + + * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. + +2002-02-19 Jakub Jelinek + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable + absptr -> pcrel optimization for shared libs. + Only create minimal .eh_frame_hdr if absptr FDE encoding in shared + library cannot be converted to pcrel. + (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr + relative. + * elf32-i386.c (elf_i386_relocate_section): If + _bfd_elf_section_offset returned -2, skip, but make sure the + relocation is installed. + * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Handle + _bfd_elf_section_offset returning -2 the same way as -1. + * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. + * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME + and BFD_ASSERT. + * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. + +2002-02-18 Tom Rix + + * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. + (bfd_xcoff_size_dynamic_sections): Same. + * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. + (bfd_xcoff_size_dynamic_sections): Same. + * coff-rs6000.c (xcoff_generate_rtinit): Same. + * coff-rs646000.c (xcoff64_generate_rtinit): Same. + * libxcoff.h (struct xcoff_backend_data_rec): Same. + * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. + * bfd-in2.h: Regenerate. + +2002-02-18 Alan Modra + + * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. + (struct ppc_link_hash_table): Add sfpr. + (ppc64_elf_link_hash_table_create): Init it. + (ppc64_elf_create_dynamic_sections): Split creation of .stub and + .glink out to.. + (create_linkage_sections): ..here. Make .sfpr too. + (ppc64_elf_check_relocs): Call create_linkage_sections, and set + dynobj early. + (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. + (ppc64_elf_func_desc_adjust): Look for missing ._savef* and + ._restf* functions, and create as needed. + (func_desc_adjust): Only force_local for shared libs. + +2002-02-18 David O'Brien + + * configure.in: Bump version number post 2.12 branching. + * configure: Regenerate. + +2002-02-17 Hans-Peter Nilsson + + * mmo.c: Correct and improve comments. + (mmo_write_chunk): Store trailing byte in bfd buffer; don't + zero-pad. Use input to fill up non-empty bfd buffer. + (mmo_flush_chunk): New function. + (mmo_write_loc_chunk): Add parameter last_vmap, all callers + changed. Don't emit location specifier if VMA is same as + *LAST_VMAP after omitting leading zero contents. Call + mmo_flush_chunk before emitting location specifier. + (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished + with mmo_write_loc_chunk calls. + (mmo_internal_write_section): Call mmo_flush_chunk after + mmo_write_chunk. + (mmo_write_symbols_and_terminator): Move :Main to first position + in symbol array. Add faked one if it does not exist if there are + other symbols. Don't add it if there are no symbols at all. Move + out test for value of :Main from symbol loop. Rename table + fakemain to maintable and variable mainsym to fakemain. + +2002-02-15 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target + section with no got matches any got. Simplify error generaion. + +2002-02-15 Alan Modra + + Support arbitrary length fill patterns. + * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. + (_bfd_default_link_order): Remove bfd_fill_link_order code. + Call default_data_link_order. + (default_fill_link_order): Delete. + (default_data_link_order): New function. + * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences + of bfd_fill_link_order with bfd_data_link_order. + * elf64-alpha.c (elf64_alpha_final_link): Likewise. + * elf64-mips.c (mips_elf64_final_link): Likewise. + + * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. + Correct value returned in "end" for "0x". + +2002-02-14 Nick Clifton + + * cpu-arm.c (processors): Replace 'arch' field with 'mach'. + (scan): Test against 'mach' field in info structure. + +2002-02-14 Alan Modra + + * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. + +2002-02-14 Matt Fredette + + * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize + EF_M68000. + +2002-02-13 Nick Clifton + + * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on + non-zero physical addresses when adjusting the LMAs of new + sections. + +2002-02-12 John David Anglin + + * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped + from _bfd_elf_hppa_gen_reloc_type. + (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. + * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. + * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. + * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. + +2002-02-12 Alexandre Oliva + + * elf-m10300.c (mn10300_elf_relax_section): Skip section before + loading its contents if there's nothing to do in it. + +2002-02-12 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing + 64k boundary. + + * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic + DT_PPC64_OPD and DT_PPC64_OPDSZ tags. + (ppc64_elf_finish_dynamic_sections): Set values for them. + +2002-02-11 Michael Snyder + + * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. + * elf.c (elfcore_grok_pstatus): Add prototype. + (elfcore_grok_lwpstatus): Add prototype. + (elfcore_write_lwpstatus): New function. + (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. + +2002-02-11 Alexandre Oliva + + * elf32-sh.c: Added missing prototypes. + * elf32-sh64.c: Likewise. + (sh_elf_align_loads): Mark unused args as such. + * elf64-sh64.c: Added missing prototypes. + (struct elf_sh64_link_hash_entry): Fix typo. + (sh_elf64_relocate_section): Fix info argument passed to + _bfd_elf_section_offset. + +2002-02-11 Alan Modra + + * Makefile.am: "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2002-02-10 Daniel Jacobowitz + + * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized + variable warnings. + * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned + comparison warning. + * trad-core.c (trad_unix_core_file_p): Silence pointer/integer + cast warnings for the common case. + +2002-02-10 Hans-Peter Nilsson + + * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 + vectors. + (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 + vectors. + +2002-02-09 Richard Henderson + + * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. + (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. + (elf64_alpha_relocate_section): Likewise. + * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. + * bfd-in2.h, libbfd.h: Rebuild. + +2002-02-09 Hans-Peter Nilsson + + * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check + that base-plus-offset reloc accounting is consistent. + (mmix_elf_relax_section): Keep base-plus-offset reloc accounting + up to date for undefined symbols. + +2002-02-08 Eric Christopher + + From Rainer Orth + + * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela + sections for the O32 ABI. + +2002-02-08 Chris Demetriou + + * elf32-arm.h: Fix formatting of _("..."). + * elf32-d10v.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-mips.c: Likewise. + +2002-02-08 Ivan Guzvinec + + * coff-or32.c: Fix compile time warning messages. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2002-01-23 Alexandre Oliva + * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, + R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, + R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, + R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, + R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, + R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, + R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, + R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, + R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): + New relocs. + * libbfd.h, bfd-in2.h: Rebuilt. + * elf32-sh.c (sh_elf_howto_table): Define new relocs. + (sh_reloc_map): Map them. + (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, + elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, + elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, + elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, + elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, + elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, + movi_shori_putval) [INCLUDE_SHMEDIA]: New. + (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add + datalabel_got_offset. + (sh_elf_link_hash_newfunc): Initialize it. + (sh_elf_relocate_section): Augment the scope of + seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, + GOT and GOTOFF handling to new SHmedia relocation types. Support + GOT_BIAS. + (sh_elf_check_relocs): Likewise. + (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in + PLT entries using movi_shori_putval. Support GOT_BIAS. + (sh_elf_finish_dynamic_sections): Likewise. + * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to + relocation, it's now done by the caller. + (GOT_BIAS): New. + * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, + elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, + elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, + elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, + elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, + elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, + sh64_elf64_hash_table): New. + (sh_elf64_howto_table): Introduce new relocs. + (sh_elf64_info_to_howto): Accept new PIC relocs. + (sh_elf64_relocate_section): Augment the scope of + seen_stt_datalabel. Support new PIC relocs. + (sh_elf64_check_relocs): Support new PIC relocs. + (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, + elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, + elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, + elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, + sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, + movi_shori_putval, movi_3shori_putval, + sh64_elf64_create_dynamic_sections, + sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, + sh64_elf64_size_dynamic_sections, + sh64_elf64_finish_dynamic_symbol, + sh64_elf64_finish_dynamic_sections): New. + (elf_backend_create_dynamic-sections, + bfd_elf64_bfd_link_hash_table_create, + elf_backend_adjust_dynamic_symbol, + elf_backend_size_dynamic_sections, + elf_backend_finish_dynamic_symbol, + elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, + elf_backend_plt_readonly, elf_backend_want_plt_sym, + elf_backend_got_header_size, elf_backend_plt_header_size): + Define. + 2001-05-16 Alexandre Oliva + * elf32-sh.c: Renumbered and renamed some SH5 relocations to + match official numbers and names; moved unmaching ones to the + range 0xf2-0xff. + * elf32-sh64.c, elf64-sh64.c: Likewise. + 2001-03-12 DJ Delorie + * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia + sections. + 2001-03-12 DJ Delorie + * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must + be aligned. + * elf64-sh64.c (sh_elf64_relocate_section): Ditto. + 2001-01-14 Hans-Peter Nilsson + * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. + (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a + .cranges section with SEC_SORT_ENTRIES set. + (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an + incoming sorted .cranges section. + (sh64_bfd_elf_copy_private_section_data): New. + (sh64_elf_final_write_processing): Only sort .cranges and modify + start address if called by linker. + 2001-01-08 Ben Elliston + * elf32-sh64.c (sh64_elf_final_write_processing): Activate + Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. + * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. + 2001-01-06 Hans-Peter Nilsson + * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of + line. Add comments before all entries. + : Correct and clarify describing + comment. + (sh_elf64_reloc): Correct head comment. + (sh_elf64_relocate_section): Correct spacing. + : Do not honour STO_SH5_ISA32; + instead call reloc_dangerous callback. + : New case. + (sh_elf64_gc_mark_hook): Correct spacing. + (sh_elf64_check_relocs): Ditto. + * elf32-sh64.c (shmedia_prepare_reloc) : + New case. + * elf32-sh.c: Correct #endif comments for #ifndef-wrapped + functions. + (sh_elf_howto_table) : Correct, + clarify describing comment. Add comments before all entries. + (sh_elf_relocate_section) : Do not + honour STO_SH5_ISA32; instead call reloc_dangerous callback. + 2001-01-06 Hans-Peter Nilsson + Sort .cranges section in final link. Prepare to set bit 0 on + entry address. + * elf32-sh64.c (struct sh64_find_section_vma_data): New. + (sh64_elf_link_output_symbol_hook): Fix typo in prototype. + (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming + .cranges section. + (sh64_backend_section_from_shdr): New, to recognize + SHT_SH5_CR_SORTED on incoming .cranges section. + (elf_backend_section_from_shdr): Define. + (sh64_elf_final_write_processing): Sort outgoing .cranges + section. (New, temporarily disabled:) Set bit 0 on entry address + according to ISA type. + (sh64_find_section_for_address): New. + (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, + crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. + (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use + bfd_malloc, not xmalloc. + (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make + global. + * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but + temporarily disabled) setting bit 0 on entry address. + (elf_backend_final_write_processing): Define. + 2001-01-05 Hans-Peter Nilsson + * elf32-sh.c (sh_elf_howto_table) : Adjust fields to + be a proper relocation for PTA and PTB rather than a marker. + : + Zero src_mask. + * elf64-sh64.c: Ditto. + (sh_elf64_relocate_section) : New case. + * elf32-sh64.c: Include opcodes/sh64-opc.h + (shmedia_prepare_reloc): Take a bfd_link_info pointer as first + argument. Drop const qualifiers from "bfd *" and "bfd_byte *" + parameters. No unused parameters. Caller changed. + : New case. + * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. + * Makefile.in: Regenerate. + 2000-12-30 Hans-Peter Nilsson + * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for + all code sections. + (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. + (sh64_elf_merge_private_data): Ditto. + * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data + to access stored section flags. + (sh64_elf_final_write_processing): Return immediately unless + called by linker. Use sh64_elf_section_data (cranges) to get size + of linker-generated cranges entries. + (sh64_elf_copy_private_data): Add missing "return true". + (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. + (sh_elf64_merge_private_data): Ditto. + 2000-12-19 Hans-Peter Nilsson + * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of + elf64-sh64.c:sh64_elf_fake_sections. + (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. + 2000-12-18 Hans-Peter Nilsson + * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. + (sh64_elf_final_write_processing): New. + (elf_backend_final_write_processing): Define. + (sh64_elf_fake_sections): Get header flags from tdata field. + (sh64_elf_copy_private_data): Do not call + sh64_elf_copy_private_data_internal, just copy e_flags field. + (sh64_elf_merge_private_data): Do not call + sh64_elf_copy_private_data_internal. + 2000-12-12 Hans-Peter Nilsson + Remove EF_SH64_ABI64, let ELF size make difference. + Remove SH64-specific BFD section flag. + * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as + containing SHmedia through elf_section_data (asect)->tdata + non-zero, not using a BFD section flag. + (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. + (sh64_elf_merge_private_data): Similar. + (elf_backend_section_flags): Don't define. + (sh64_elf_backend_section_flags): Delete. + * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, + not EF_SH64_ABI64. + (sh_elf64_merge_private_data): Similar. + * section.c (Section flags definitions): Don't define + SEC_SH_ISA_SHMEDIA. + (bfd-in2.h): Regenerate. + 2000-12-09 Hans-Peter Nilsson + Make DataLabel references work with partial linking. + * elf32-sh64.c: Fix formatting. + (sh64_elf_link_output_symbol_hook): New. + (elf_backend_link_output_symbol_hook): Define to + sh64_elf_link_output_symbol_hook. + (sh64_elf_add_symbol_hook): Make DataLabel symbol just global + undefined if partial linking. Adjust sanity check. + * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. + (elf_backend_link_output_symbol_hook): Define to + sh64_elf64_link_output_symbol_hook. + (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global + undefined if partial linking. Adjust sanity check. + 2000-12-07 Hans-Peter Nilsson + Implement semantics for inter-file DataLabel references. + * elf64-sh64.c (DATALABEL_SUFFIX): Define. + (sh64_elf64_add_symbol_hook): New. + (sh_elf64_relocate_section): If passing an indirect symbol with + st_type STT_DATALABEL on the way to a symbol with st_other + STO_SH5_ISA32, do not bitor 1 to the relocation. + (elf_backend_add_symbol_hook): Define to + sh64_elf64_add_symbol_hook. + * elf64-sh32.c: Tweak comments. + (DATALABEL_SUFFIX): Define. + (sh64_elf_add_symbol_hook): New. + (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. + * elf32-sh.c (sh_elf_relocate_section): If passing an indirect + symbol with st_type STT_DATALABEL on the way to a symbol with + st_other STO_SH5_ISA32, do not bitor 1 to the relocation. + 2000-12-05 Hans-Peter Nilsson + Pass through STT_DATALABEL. + * elf32-sh64.c (sh64_elf_get_symbol_type): New. + (elf_backend_get_symbol_type): Define. + * elf64-sh64.c (sh64_elf64_get_symbol_type): New. + (elf_backend_get_symbol_type): Define. + 2000-11-30 Hans-Peter Nilsson + * elf32-sh64.c: Tweak comments. + (sh64_elf_copy_private_data_internal): Add prototype. + (bfd_elf32_bfd_set_private_flags): Define. + (sh64_elf_copy_private_data_internal): Compare machine name, not + textual BFD target name, to check whether to copy section flag + SHF_SH5_ISA32. + (sh64_elf_merge_private_data): Validize bfd_get_arch_size. + Tweak section-contents-type-mismatch message. + (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. + Validize reloc-types. + * elf64-sh64.c: New file. + * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. + * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. + (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. + Regenerate dependencies. + * Makefile.in: Regenerate. + * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and + bfd_elf64_sh64l_vec. + * configure.in: Handle bfd_elf64_sh64_vec and + bfd_elf64_sh64l_vec. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + 2000-11-29 Hans-Peter Nilsson + * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize + anything else but EF_SH64 and EF_SH64_ABI64. + (sh64_elf_merge_private_data): Emit error for anything else but + EF_SH64 and EF_SH64_ABI64. + * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec + from targ_selvecs. + * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and + bfd_elf32_sh64l_vec as a temporary measure. + * configure: Regenerate. + 2000-11-27 Hans-Peter Nilsson + * cpu-sh.c (arch_info_struct): Include sh5 item + unconditionalized. + * config.bfd (sh64-*-elf*): Do not set targ_cflags. + Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, + bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. + * elf32-sh64.c: Tweak comments. + (sh64_elf_set_mach_from_flags): Recognize all machine flags that + are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. + (sh64_elf_copy_private_data_internal): Wrap long line. + (sh64_elf_merge_private_data): Rewrite to allow objects from + SH64 subsets to be linked together. + (INCLUDE_SHMEDIA): Define. + * elf32-sh.c (sh_elf_relocate_section) : + Parenthesize plus-expression inside or-expression. + : Ditto. + (sh_elf_set_mach_from_flags): Remove code refusing + deleted EF_SH64_32BIT_ABI flag. + 2000-11-26 Hans-Peter Nilsson + * elf32-sh.c (sh_elf_howto_table) : Set pcrel_offset to true. + (sh_elf_relocate_section) : Or 1 in + calculation of relocation if sym->st_other & STO_SH5_ISA32. + : Ditto if h->other & STO_SH5_ISA32. + * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to + relocation. + 2000-11-24 Hans-Peter Nilsson + * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. + (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. + Regenerate dependencies. + * Makefile.in: Regenerate. + * archures.c: Add bfd_mach_sh5. + * config.bfd: Map targ_cpu sh* to bfd_sh_arch. + Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. + * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. + * configure: Regenerate. + * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, + BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, + BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, + BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, + BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, + BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, + BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, + BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, + BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. + * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link + in item for SH5. + * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items + for SHmedia relocs. + [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. + [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call + shmedia_prepare_reloc, goto final_link_relocate if it returns + non-zero, else fail as before. + (sh_elf_set_mach_from_flags): Provide function only if not defined + as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. + (sh_elf_set_private_flags): Provide function only if not defined + as a macro. + (sh_elf_copy_private_data): Similar. + (sh_elf_merge_private_data): Similar. + * section.c (SEC_SH_ISA_SHMEDIA): New. + * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. + * elf32-sh64.c: New file. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * po/POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2002-02-07 Daniel Jacobowitz + + * bfd-in.h: Update check to only see if has + been included, not drag it in. + * bfd-in2.h: Regenerate. + +2002-02-06 H.J. Lu (hjl@gnu.org) + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update + the mach and ISA fields if necessary. + +2002-02-06 Nick Clifton + + * coffcode.h (coff_set_arch_mach_hook): Select the highest known + ARM architecture when an F_ARM_5 flag is detected, since we cannot + be sure exactly which architecture this represents. + +2002-02-05 Nick Clifton + + * po/tr.po: Updated translation. + +2002-02-05 Alan Modra + + From Jimi X + * archures (bfd_mach_ppc64): Define. + (bfd_powerpc_arch): Rename to bfd_powerpc_archs. + (bfd_powerpc_arch): Define. + * bfd-in2.h: Regenerate. + * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. + (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. + (bfd_powerpc_archs): Add default powerpc64 arch. + +2002-02-05 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs + against section syms in readonly sections. Don't do the global + sym check if we find one. + * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. + * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. + * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. + (elf_s390_grok_prstatus): Add missing prototype. + +2002-02-04 Hans-Peter Nilsson + + * elf64-mmix.c (mmix_dump_bpo_gregs): New function. + (mmix_elf_check_common_relocs) : + Call bfd_get_section_by_name only once. Initialize + bpodata->n_bpo_relocs_this_section. + (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment + referring to DSOs. + (bpo_reloc_request_sort_fn): Don't use difference of values as + return-value. + +2002-02-02 David O'Brien + + * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat + version 4.5 and later the same as 5-CURRENT. + * configure: Re-generate. + +2002-02-02 Jason Thorpe + + * config.bfd (hppa*-*-netbsd*): New target. + +2002-01-31 Philipp Thomas + + * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR + to front of message. Unify messages with elf32-arm.h. Use + commas where neccessary. + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase + ERROR in messages. Unify messages with coff-arm.c. Correct + VFP/FPA error message. + (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and + APCS-32 for translation. + +2002-02-01 Hans-Peter Nilsson + + Perform on-demand global register allocation from + R_MMIX_BASE_PLUS_OFFSET relocs. + * elf64-mmix.c (struct bpo_reloc_section_info, struct + bpo_reloc_request, struct bpo_greg_section_info): New. + (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, + bpo_reloc_request_sort_fn, mmix_elf_relax_section, + _bfd_mmix_check_all_relocs, + _bfd_mmix_prepare_linker_allocated_gregs, + _bfd_mmix_finalize_linker_allocated_gregs): New functions. + (elf_mmix_howto_table): Correct src_mask for most relocs. + (mmix_elf_perform_relocation) : New + case. + (mmix_final_link_relocate) : New + case. Fix typo in comment. New label do_mmix_reloc. + (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to + store first object file with a base-plus-offset reloc. Call + mmix_elf_check_common_relocs for the part common with mmo. + (mmix_elf_final_link): Write out linker-allocated register + contents section. + (elf_backend_gc_sweep_hook): Define. + (bfd_elf64_bfd_relax_section): Define. + + * mmo.c: Don't include + (mmo_init): Correct init-once logic. + +2002-02-01 Tom Rix + + * config.bfd: Conditionally support for pre AIX 4.3. + +2002-02-01 Alan Modra + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2002-01-31 David O'Brien + + * configure.in: Recognize the differences in core files from FreeBSD + 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as + 5-CURRENT. + * configure: Regenerate. + +2002-01-31 Ivan Guzvinec + + * coff-or32.c: New file. + * cpu-or32.c: New file. + * elf32-or32.c: New file. + * archures.c: Add support for or32. + * targets.c: Add support for or32. + * bfd-in2.h: Regenerate. + * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, + coff_write_object_contents): Add support for or32. + * config.bfd: Add target. + * configure.in: Add support for or32. + * configure: Regenerate. + * Makefile.am: Add support for or32. + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Add or32 files. + * po/bfd.pot: Regenerate. + +2002-01-31 Nick Clifton + Don Lindsay + + * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return + false' with a return of a bfd_reloc_ error code. + +2002-01-31 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't + unexport unreferenced symbols when --export-dynamic. Call + _bfd_elf_strtab_delref when unexporting. + +2002-01-30 Daniel Jacobowitz + + * bfd-in.h: Include if it is available. + * bfd-in2.h: Regenerated. + +2002-01-31 Alan Modra + + * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should + not go via the plt. + +2002-01-30 Nick Clifton + + * archures.c: Tidy up formatting of embedded comments. + * bfd.c: Tidy up formatting of embedded comments. + * bfd-in.h: Fix formatting of comments. + * reloc.c: Tidy up formatting of ordinary & embedded comments. + * section.c: Tidy up formatting of embedded comments. + * syms.c: Tidy up formatting of embedded comments. + * targets.c: Tidy up formatting of embedded comments. + + * bfd-in2.h: Regenerate. + +2002-01-30 Nick Clifton + + * vms-tir.c (cmd_name): New function. + (tir_cmd_name): New function. + (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). + (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). + Fix formatting. + + * peXXigen.c (pe_print_idata): Rearrange message to aid in + translation. + (pe_print_pdata): Rearrange message to aid in translation. + + * libbfd.c (warn_deprecated): Rearrange error message to aid in + translation. + + * ihex.c (ihex_write_object_contents): Fix spelling typo. + + * ieee.c (ieee_slurp_external_symbols): Remove spurious space. + + * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error + message to aid in translation. + + * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message + to aid in translation. + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. + +2002-01-30 Philipp Thomas + + * coff-arm.c, elf32-elf.h: Unify messages. + +2002-01-30 Nick Clifton + + * po/sv.po: Updated translation. + +2002-01-30 Philipp Thomas + + * dwarf2.c (read_abbrev): Use full section name in error message. + (decode_line_info): Likewise. + + * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging + message. + +2002-01-30 Alan Modra + + * elf64-ppc.c (func_desc_adjust): Only provide missing function + descriptor symbols for undefined function code syms. Clear + ELF_LINK_NON_ELF so that they can stay weak. + +2002-01-29 Chris Demetriou + Mitch Lichtenberg + + * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. + * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function + to handle 32-bit ELF embedded reloc (ld --embedded-relocs) + generation. + * bfd-in2.h: Regenerate. + +2002-01-29 Chris Demetriou + + * elf32-mips.c: Add additional comments about HI16 relocation + processing. + (_bfd_mips_elf_hi16_reloc): Don't subtract address here for + pc-relative relocations. (Reverts change made on 2001-10-31.) + (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here + for pc-relative relocations. + (mips_elf_calculate_relocation): Add a comment about a kludge + in the R_MIPS_GNU_REL_HI16 handling. + (_bfd_mips_elf_relocate_section): Implement that kludge; + adjust pc-relative HI16 relocation for difference in HI16 and + LO16 addresses, since it can't easily be done in + mips_elf_calculate_relocation. + +2002-01-29 Martin Schwidefsky + + * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 + relocations with PC32 relocations for undefined or weak symbols. + * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. + * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. + +2002-01-28 Jason Thorpe + + * elfcore.h (elf_core_file_p): Improve comment for last change. + +2002-01-27 Daniel Jacobowitz + + * configure: Regenerated. + +2002-01-27 Jason Thorpe + + * elfcore.h (elf_core_file_p): Set the machine architecture + before processing the program headers. + +2002-01-26 Hans-Peter Nilsson + + * configure.in <64-bit configuration>: If using gcc, check and + emit error for egcs-1.1.2. + * configure: Regenerate. + +2002-01-26 Egor Duda + + * elf.c (elfcore_grok_win32pstatus): Copy only as much information + as possible to avoid stack corruption. + +2002-01-26 Richard Henderson + + * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext + for non-allocated sections. + +2002-01-25 Mark Kettenis + + * elf.c (elfcore_write_prstatus): Make sure we pass the address of + prstat.pr_reg even if it is a struct. + +2002-01-25 Steve Ellcey + + * elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. + +2002-01-25 Philipp Thomas + + * coffgen.c (coff_print_symbol): Don't mark info message + for translation. + +2002-01-25 Nick Clifton + + * po/fr.po: Updated translation. + * po/es.po: Updated translation. + +2002-01-25 Philipp Thomas + + * coff-alpha.c (alpha_relocate_section): Unify warning message + for GP relative relocations without GP defined. + * coff-mips.c (mips_relocate_section): Likewise. + +2002-01-25 Alan Modra + + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid + unsigned overflow when new_offset < old_offset. + +2002-01-24 Philipp Thomas + + * bfd.c (_bfd_abort): Fix typo. + +2002-01-23 Richard Henderson + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress + plt entries for undefweak symbols. + +2002-01-23 Steve Ellcey + + * targets.c (bfd_elf32_ia64_hpux_big_vec): Add to DEFAULT_VECTOR. + (bfd_elf64_ia64_hpux_big_vec): Ditto. + (bfd_elf32_h8300_vec): Ditto. + +2002-01-23 Alan Modra + + * elf64-ppc.c: Remove stale part of ABI comment. + (NO_OPD_RELOCS): Define. + (ppc64_elf_check_relocs): Use it. + (ppc64_elf_relocate_section): Here too. + (build_one_stub): Don't point function syms at the stub. Instead, + hijack plt.offset. + (ppc64_elf_relocate_section): Check whether REL24 relocs should + really go to the stub. Make all dynamic relocs in opd against + locals. + (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of + plt.offset. + +2002-01-22 Richard Henderson + + * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. + +2002-01-22 Alan Modra + + * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of + TOC_BASE_OFF adjustment. + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2002-01-22 John David Anglin + + * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new + host defines. + +2002-01-21 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_relocate_section) : + Check for and emit error if sgot is NULL at this point. + +2002-01-21 Jason Thorpe + + * config.bfd (ia64*-*-netbsd*): New target. + +2002-01-21 Thomas Klausner + + * som.c (som_write_space_strings): Comment typo fix. + +2002-01-21 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and + is_func_descriptor fields. + (link_hash_newfunc): Init them. + (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a + dot are candidates for plt entries. When processing .opd relocs, + set function descriptor strings to point inside function code + string, and set new ppc_link_hash_entry fields. + (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. + (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with + function descriptors. It's now done in.. + (func_desc_adjust): New. + (ppc64_elf_func_desc_adjust): New. + (define elf_backend_always_size_sections): Define. + (ppc64_elf_hide_symbol): New. + (define elf_backend_hide_symbol): Define. + (allocate_dynrelocs): Remove code looking up function descriptors + as that has been done earlier. + (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash + table. + (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking + up function descriptor. + (build_one_stub): Look up the function code sym. Check for + invalid plt offsets. + (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. + Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. + + * elf-bfd.h (elf_backend_data ): Add + boolean param. + (_bfd_elf_link_hash_hide_symbol): Likewise. + * elflink.h (elf_link_add_object_symbols): Adjust call to + elf_backend_hide_symbol. + (elf_fix_symbol_flags): Likewise. + (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather + than bfd_alloc. + * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. + Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. + * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. + (clobber_millicode_symbols): Adjust to suit new hide_symbol. + * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param + and adjust to suit. + * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call + _bfd_elf_link_hash_hide_symbol rather than duplicating code. + * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. + +2002-01-18 Alan Modra + + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a + dynamic function descriptor symbol, not the associated function + symbol. + +2002-01-17 Eric Christopher + + * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. + +2002-01-17 Nick Clifton + + * po/bfd.pot: Regenerate. + * po/fr.po: Regenerate. + +2002-01-17 Alan Modra + + * elf-bfd.h (elf_backend_data ): + Remove "Elf_Internal_Shdr *" param. + (_bfd_mips_elf_section_from_bfd_section): Ditto. + * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. + * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. + * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. + * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. + * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. + * elf.c (_bfd_elf_section_from_bfd_section): Allow backend + function to override special sections. Remove hdr arg from + backend call, and don't loop. + +2002-01-16 Eric Christopher + + * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp + on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of + relocations requiring gp0 and gp. + +2002-01-16 Richard Earnshaw + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle + EF_ARM_VFP_FLOAT. + (elf32_arm_print_private_bfd_data): Likewise. + +2002-01-16 Nick Clifton + + * po/tr.po: Import new version. + +2002-01-16 Alan Modra + + * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. + (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. + (ORI_R0_R0_0): Correct. + +2002-01-16 Alan Modra + + * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE + when plt_not_loaded. + * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to + clear .plt SEC_CODE here. Create .stub and correct .glink flags. + (PLT_INITIAL_ENTRY_SIZE): Set to 24. + (ppc64_elf_glink_code): Delete. + (PPC64_ELF_GLINK_SIZE): Delete. + (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, + BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, + ORI_R0_R0_0): Define. + (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. + (struct ppc_link_hash_table): Add sstub and plt_overflow. + (ppc64_elf_link_hash_table_create): Init them. + (ppc64_elf_check_relocs ): Refcount .plt entry. + Don't copy to shared lib. + (ppc64_elf_check_relocs): Call bfd_set_error on errors. + (ppc64_elf_gc_sweep_hook ): Sweep plt refcount. + (allocate_dynrelocs ): Don't change function sym here. Make + room for .stub and .glink code. + (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for + DT_PPC64_GLINK. + (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call + bfd_elf64_bfd_final_link. + (bfd_elf64_bfd_final_link): Don't define. + (ppc64_elf_size_stubs): New. + (build_plt_stub): New. + (build_one_stub): New. + (ppc64_elf_build_stubs): New. + (ppc64_elf_relocate_section ): Remove assert. + (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. + (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set + DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in + case output sections not separate. Adjust DT_RELASZ to not + include plt relocs. Set reserved got entry. Set got and plt + entry size. + (elf_backend_got_header_size): Set to 8. + * elf64-ppc.h: New file. + +2002-01-16 Alan Modra + + * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing + sections, use bfd_section_list_remove. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. + * elflink.h (elf_link_add_object_symbols): When removing all + sections, use bfd_section_list_clear. + +2002-01-15 Nick Clifton + + * po/sv.po: New file: Swedish translation. + * configure.in (ALL_LINGUAS): Add sv. + * configure: Regenerate. + +2002-01-15 Jakub Jelinek + + * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. + * elf.c (merge_sections_remove_hook): New function. + (_bfd_elf_merge_sections): Pass it as 3rd argument to + _bfd_merge_sections. + * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. + * libbfd.h: Rebuilt. + * merge.c (_bfd_merge_sections): Add remove_hook argument. + Call remove_hook if a SEC_EXCLUDE section is encountered. + +2002-01-15 Nick Clifton + + * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. + (xstormy16_reloc_map): Initialise new field with correct howto + table. + (xstormy16_reloc_type_lookup): Use 'table' field to locate correct + howto entry. + +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: diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index 3636ed8bfaa..33163834229 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,594 +1,9 @@ -2003-10-15 Andrew Cagney - - * bfdint.texi (BFD target vector symbols): Rename _get_symtab to - _canonicalize_symtab. - -2003-10-08 David Taylor - - * bfd.texinfo: Remove spurious backslash. - -2003-07-04 Josh Baratz - - * Makefile.am (MKDOC rule): Add $(CFLAGS) in case it contains - CC_FOR_BUILD specific switches. - * Makefile.in: Regenerate. - -2003-06-29 Alan Modra - - * chew.c (paramstuff): Don't emit PARAMS. - -2003-02-12 Bob Wilson - - * bfd.texinfo: Fix quotes for texinfo. Make section title - capitalization more consistent. Use @example instead of @lisp. - Replace FDL appendix with include of fdl.texi. - * fdl.texi: New file. - -2002-11-18 Klee Dienes - - * Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi. - (PROTOS): Add bfdio.p, bfdwin.p. - (SRCDOC): Add bfdio.c, bfdwin.c. - (SRCPROT): Add bfdio.c, bfdwin.c. - (SRCIPROT): Add bfdio.c, bfdwin.c. - (LIBBFD_H_DEP): Add bfdio.c, bfdwin.c. - (BFD_H_DEP): Add bfdio.c, bfdwin.c. - Add rules for bfdio.texi, bfdwin.text. - * bfd.texinfo: Include bfdio.texi. - -2002-10-14 Alan Modra - - * Makefile.in: Regenerate. - -2002-10-11 Daniel Jacobowitz - - * Makefile.in: Regenerated. - -2002-08-29 John David Anglin - - * chew.c (paramstuff, outputdots, perform, bang and usage): Remove - void from function definitions. - -2002-08-13 Alan Modra - - * header.sed: Strip tabs. - -2002-06-08 Alan Modra - - * Makefile.am: Fix quote style in last change. - * Makefile.in: Regenerate. - -2002-06-07 Alan Modra - - * Makefile.am (libbfd.h): Don't use "echo -n". - (libcoff.h, bfd.h): Likewise. - * Makefile.in: Regenerate. - -2002-06-06 Lars Brinkhoff - - * bfdint.texi: Change registry@sco.com to registry@caldera.com. - -2002-06-05 Alan Modra - - * Makefile.am (libbfd.h): Add "Extracted from.." comment. - (libcoff.h, bfd.h): Likewise. - * Makefile.in: Regenerate. - -2002-05-25 Alan Modra - - * chew.c: Use #include "" instead of <> for local header files. - -2002-04-20 Alan Modra - - * Makefile.in: Regenerate. - -2002-02-11 Alan Modra - - * Makefile.in: Regenerate. - -2002-02-01 Alan Modra - - * chew.c (WORD): Eliminate. - -2002-01-31 Ivan Guzvinec - - * Makefile.in: Regenerate. - -2002-01-31 Alan Modra - - * chew.c (courierize): Don't modify @command params. - -2002-01-30 Nick Clifton - - * proto.str (ENUMDOC): Place two spaces between the end of - the text and the closing comment marker. - -2001-10-30 Hans-Peter Nilsson - - * bfdint.texi (BFD target vector miscellaneous): Add - bfd_target_mmo_flavour. - * bfd.texinfo (BFD back ends): Add entry for mmo. - * Makefile.am (DOCFILES): Add mmo.texi. - (SRCDOC): Add mmo.c. - (s-mmo, mmo.texi): New rules. - -2001-10-29 Kazu Hirata - - * bfdsumm.texi: Fix a typo. - -2001-10-26 Nick Clifton - - * bfd.texinfo: Change footer to refer to FSF. Change subtitle - to refer to original creation date. - -2002-01-26 Hans-Peter Nilsson - - * Makefile.am (install): Depend on install-info. - * Makefile.in: Regenerate. - -2001-10-03 Alan Modra - - * Makefile.am (BFD_H_DEP): Add ../version.h. - * Makefile.in: Regenerate. - -2001-10-02 Alan Modra - - * Makefile.in: Regenerate. - -2001-10-01 Alan Modra - - * header.sed: New file, adds header to generated files. - * Makefile.am: Rewrite rules generating libbfd.h, libcoff.h and - bfd.h, using above. Add missing elf.c dependecy for libbfd.h. - * Makefile.in: Regenerate. - -2001-09-21 Alan Modra - - * Makefile.in: Regenerate. - -2001-09-18 Alan Modra - - * bfdint.texi: Replace reference to bfd_read with bfd_bread. - Likewise for bfd_write. - -2001-07-24 Alan Modra - - * Makefile.in: Regenerate. - -2001-06-21 Hans-Peter Nilsson - - * bfdint.texi (BFD relocation functions) : - Mention that the GNU linker is aware of input-output format - restrictions when generating relocatable output. Make new - paragraph for final-link case. - (BFD target vector swap): Fix typo. - -2001-01-25 Kazu Hirata - - * chew.c: Do not output trailing whitespaces in type and - functionname. Update copyright. - -2001-01-24 Kazu Hirata - - * chew.c: Do not output a trailing whitespace. - -2000-11-06 Nick Clifton - - * bfd.texinfo: Add GNU Free Documentation License. - -2000-07-09 Alan Modra - - * Makefile.in: Regenerate. - -2000-07-08 Alan Modra - - * chew.c (outputdots): Don't add a space before `/*'. - (courierize): Likewise. - -Wed May 24 12:03:25 2000 Hans-Peter Nilsson - - * bfdint.texi (BFD ELF processor required): Add paragraph about - target necessities for readelf. - -2000-04-30 Ben Elliston - - * bfdint.texi (BFD generated files): Fix another typo. - -2000-04-17 Ben Elliston - - * bfdint.texi (BFD_JUMP_TABLE macros): Fix typo. - -2000-04-07 Andrew Cagney - - * Makefile.in: Rebuild with current autoconf/automake. - -1999-02-04 Ian Lance Taylor - - * Makefile.in: Rebuild with current autoconf/automake. - -1998-07-23 Nick Clifton - - * bfdint.texi (BFD ELF processor required): Add paragraph - describing the necessity to create "include/elf/CPU.h". - -1998-05-07 Ian Lance Taylor - - * Makefile.am (chew.o): Add -I options for intl srcdir and - objdir. - * Makefile.in: Rebuild. - -1998-04-27 Ian Lance Taylor - - * bfdint.texi: New file. - * Makefile.am (noinst_TEXINFOS): New variable. - * Makefile.in: Rebuild. - -1998-04-13 Ian Lance Taylor - - * Makefile.in: Rebuild. - -1998-04-06 Ian Lance Taylor - - * Makefile.am (STAGESTUFF): Remove variable. - (CLEANFILES): Don't remove $(STAGESTUFF). - (DISTCLEANFILES, MAINTAINERCLEANFILES): New variables. - * Makefile.in: Rebuild. - -1998-03-27 Ian Lance Taylor - - * chew.c (skip_white_and_starts): Remove unused declaration. - (skip_white_and_stars): Add casts to avoid warnings. - (skip_trailing_newlines, paramstuff, courierize): Likewise. - (bulletize, do_fancy_stuff, iscommand): Likewise. - (kill_bogus_lines, nextword, main): Likewise. - (manglecomments): Comment out. - (outputdots, kill_bogus_lines): Remove unused local variables. - (perform, compile): Likewise. - (courierize): Fully parenthesize expression. - (copy_past_newline): Declare return value. - (print): Change printf format string. - (main): Call usage for an unrecognized option. - -1998-02-13 Ian Lance Taylor - - * Makefile.am (AUTOMAKE_OPTIONS): Define. - * Makefile.in: Rebuild. - -1998-01-26 Andreas Schwab - - * doc.str (bodytext): Don't output @* at the end. - * chew.c (kill_bogus_lines): Make sure that a period at the - beginning is recognized. - (indent): Don't put indentation at the end. - (copy_past_newline): Expand tabs. - * Makefile.am (s-reloc, s-syms): Depend on doc.str. - * Makefile.in: Rebuild. - -1997-10-01 Ian Lance Taylor - - * Makefile.am (libbfd.h): Don't use cpu-h8300.c, cpu-i960.c, or - elfcode.h as input files; they don't contribute anything. - * Makefile.in: Rebuild. - -1997-08-15 Doug Evans - - * Makefile.am (libbfd.h, libcoff.h): Invoke $(MKDOC) as ./$(MKDOC). - * Makefile.in: Rebuild. - -1997-08-01 Ian Lance Taylor - - * Makefile.am (CC_FOR_BUILD): Don't set explicitly. - * Makefile.in: Rebuild. - -1997-07-31 Ian Lance Taylor - - * Makefile.am: New file, based on old Makefile.in. - * Makefile.in: Now built with automake. - -1997-07-22 Robert Hoehne - - * Makefile.in: Change stamp-* files to s-* files. Use bfdt.texi - rather than bfd.texi. - (DOCFILES): Change bfd.texi to bfdt.texi. - * bfd.texinfo: Include bfdt.texi, not bfd.texi. - -1997-06-16 Ian Lance Taylor - - * Makefile.in (CC, CFLAGS): Substitute from configure script. - From Jeff Makey . - -1997-04-15 Ian Lance Taylor - - * Makefile.in (install-info): Use mkinstalldirs to build - $(infodir). - -1997-04-08 Ian Lance Taylor - - * Makefile.in (install-info): Permit info files to be in srcdir. - (stamp-*): Add a stamp-X target for each X.texi target. - (*.texi): Just depend upon stamp-X. - (clean): Remove stamp-*. - (distclean): Depend upon mostlyclean. Remove stamp-*. Don't - remove $(DOCFILES). - -1997-04-07 Ian Lance Taylor - - * Makefile.in (distclean): Don't remove *.info files. - -1997-02-13 Klaus Kaempf (kkaempf@progis.de) - - * makefile.vms: New file. - -1996-06-18 Ian Lance Taylor - - * chew.c (kill_bogus_lines): Reset sl when not at the start of a - line. From Uwe Ohse . - -1996-01-30 Ian Lance Taylor - - From Ronald F. Guilmette : - * Makefile.in (libbfd.h): Depend upon proto.str. - (libcoff.h, bfd.h): Likewise. - -1995-11-03 Fred Fish - - * Makefile.in (SRCDOC, SRCPROT, core.texi, bfd.h): Use corefile.c, - renamed from core.c. - -1995-11-01 Manfred Hollstein KS/EF4A 60/1F/110 #40283 - - * chew.c: Include . - -1995-10-06 Ken Raeburn - - Mon Sep 25 22:49:32 1995 Andreas Schwab - - * Makefile.in (Makefile): Only remake this Makefile. - -1995-10-04 Ken Raeburn - - * chew.c: Include . - -1995-09-12 Ian Lance Taylor - - * Makefile.in (maintainer-clean): New target. - -1995-08-31 Ian Lance Taylor - - * Makefile.in (bfd.h): Add additional #endif at end of bfd.h if - __cplusplus is defined. - -1994-11-29 Doug Evans - - * chew.c (write_buffer): New argument `f', all callers changed. - (stdout, stderr, print, drop, idrop): New forth words. - * proto.str (COMMENT): New command. - * doc.str (COMMENT): Likewise. - -1994-09-12 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * Makefile.in (DOCFILES): Remove ctor.texi. - (IPROTOS): Remove ctor.ip. - (SRCIPROT): Remove $(srcdir)/../ctor.c. - (ctor.texi): Remove target. - (libbfd.h): Remove dependency on $(srcdir)/../ctor.c. Remove - $(MKDOC) run on $(srcdir)/../ctor.c. - * bfd.texinfo (Constructors): Remove section. - -1994-09-02 Ken Raeburn (raeburn@cujo.cygnus.com) - - * chew.c: Include assert.h. Added prototypes for most functions. - Changed most uses of int to long. Do bounds checking on the - stacks. Added comment at the beginning documenting most of the - intrinsics. Lots of whitespace changes. Re-ordered some - functions. - (die, check_range, icheck_range): New functions. - (strip_trailing_newlines, print_stack_level): New functions. - (translatecomments): Don't insert tab before "/*". - (iscommand): Minimum command length is now 4. - (nextword): Handle some \-sequences. - (push_addr): Deleted. - (main): Add new intrinsics strip_trailing_newlines and - print_stack_level. Complain at end if stack contains more than - one element, or less. - (remchar): Make sure the string is not empty before chopping off a - character. - - * doc.str, proto.str: Handle new commands SENUM, ENUM, ENUMX, - ENUMEQ, ENUMEQX, ENUMDOC. - -1994-01-12 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfd.texinfo: Added Linker Functions node. - * Makefile.in (DOCFILES): Added linker.texi. - (SRCDOC): Added linker.c. - (linker.texi): New target. - -1994-01-04 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * chew.c: Don't rely on a correct declaration of exit. - (chew_exit): New function which just calls exit. - (main): Use it. - -1994-01-03 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfd.texinfo: Added Hash Tables node. - * Makefile.in (DOCFILES): Added hash.texi. - (SRCDOC): Added hash.c. - (hash.texi): New target. - -1993-12-30 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in: Delete all references to seclet.c, since it's just - been deleted. Don't mention hash.c, linker.c, or genlink.h yet, - since they don't contain documentation yet (hint, hint!). - -1993-11-05 David J. Mackenzie (djm@thepub.cygnus.com) - - * bfd.texinfo: Small cleanups. - -1993-11-19 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (archures.texi): Depends on $(MKDOC). - -1993-08-10 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * bfd.texinfo (BFD back end): Don't include elfcode.texi, since - it's empty now and that triggers a makeinfo bug. - -1993-08-09 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * bfd.texinfo (BFD back end): New section on ELF, includes - elf.texi and elfcode.texi. - * Makefile.in (DOCFILES): Include elf.texi, elfcode.texi. - (SRCDOC): Include elfcode.h, elf.c. - (elf.texi, elfcode.texi): New intermediate targets. - -1993-06-24 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in (.c.o, chew.o): Put CFLAGS last. - * bfdsumm.texi: New file, broken out of bfd.texinfo, to share - with ld.texinfo. - -1993-06-14 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in (install-info): remove parentdir cruft, - -1993-06-09 Jim Kingdon (kingdon@cygnus.com) - - * Makefile.in (mostlyclean): Remove chew.o. - -1993-05-25 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (libbfd.h): Use elfcode.h, not elf32.c. - -1993-05-24 Ken Raeburn (raeburn@cygnus.com) - - * chew.c (compile): Add a couple of missing casts. - -1993-05-12 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (CC_FOR_BUILD): New variable, define to be $(CC). - (chew.o, $(MKDOC)): Build using CC_FOR_BUILD rather than CC, since - it must run on the build machine. - -1993-04-07 John Gilmore (gnu@cygnus.com) - - * Makefile.in (chew): Don't compile from .c to executable in a - single step; it puts a temporary .o filename into the executable, - which makes multi-stage comparisons fail. Compile chew.c to - chew.o, and link that, which makes identical executables every time. - -1993-03-24 david d `zoo' zuhn (zoo at poseidon.cygnus.com) - - * Makefile.in: fix typo (bfd.texinfo not bfd.texino) - -1993-03-19 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * bfd.texinfo: Since BFD version number has been bumped, do same - to "version number" on title page, and elsewhere. Should be - fixed to extract real version number. - -1993-03-16 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Add *clean rules. - -1993-01-11 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (libbfd.h): Removed duplicate init.c and libbfd.c. - Added seclet.c. - (bfd.h): Added dependency on bfd.c and seclet.c. Added seclet.c - to build. - -1992-12-17 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: added dvi target, define and use $(TEXI2DVI) - -1992-12-03 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (TEXIDIR): New variable. - (bfd.dvi): Look for bfd.texinfo in $(srcdir). Generate index. - - * bfd.texinfo: Minor doc fixes. - -1992-11-05 John Gilmore (gnu@cygnus.com) - - Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS. - - * chew.c (exfunstuff): Eliminate. - (paramstuff): Replace exfunstuff with function to generate PARAMS. - * proto.str: Use paramstuff rather than exfunstuff. - -1992-08-17 Steve Chamberlain (sac@thepub.cygnus.com) - - * chew.c: various patches provided by Howard Chu. - -1992-06-19 John Gilmore (gnu at cygnus.com) - - * Makefile.in (libbfd.h): Add elf.c as a source of prototypes. - -1992-05-11 John Gilmore (gnu at cygnus.com) - - * chew.c: exit() should be declared by config files, not by - portable source code. Its type could be int or void function. - -1992-05-04 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: another CFLAGS correction. - -1992-04-28 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: Do the CFLAGS thing. - -1992-04-11 Fred Fish (fnf@cygnus.com) - - * Makefile.in (MINUS_G): Add macro and default to -g. - -1992-03-06 Steve Chamberlain (sac@thepub.cygnus.com) - - * chew.c: now has -w switch turn on warnings - -1992-02-26 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, changed some from Cygnus to FSF. - -1991-12-10 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: build chew into the current directory. Complete - the MKDOC macro transition. - -1991-12-10 Steve Chamberlain (sac at rtl.cygnus.com) - - * chew.c: don't core dump when can't open file - * Makefile.in: get proto.str from the right place when built in - odd directories - -1991-12-10 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: infodir belongs in datadir. - -1991-12-07 Steve Chamberlain (sac at rtl.cygnus.com) - - * chew.c: Much modified - * proto.str, doc.str: New files for extracting to product - prototypes and documents respectively. - - -1991-12-06 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: added standards.text support, host/site/target - inclusion hooks, install using INSTALL_DATA rather than cp, - don't echo on install. - -1991-12-05 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: idestdir and ddestdir go away. Added copyrights - and shift gpl to v2. Added ChangeLog if it didn't exist. docdir - and mandir now keyed off datadir by default. +For older changes see ChangeLog-9103 Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/bfd/doc/ChangeLog-9103 b/bfd/doc/ChangeLog-9103 new file mode 100644 index 00000000000..3636ed8bfaa --- /dev/null +++ b/bfd/doc/ChangeLog-9103 @@ -0,0 +1,594 @@ +2003-10-15 Andrew Cagney + + * bfdint.texi (BFD target vector symbols): Rename _get_symtab to + _canonicalize_symtab. + +2003-10-08 David Taylor + + * bfd.texinfo: Remove spurious backslash. + +2003-07-04 Josh Baratz + + * Makefile.am (MKDOC rule): Add $(CFLAGS) in case it contains + CC_FOR_BUILD specific switches. + * Makefile.in: Regenerate. + +2003-06-29 Alan Modra + + * chew.c (paramstuff): Don't emit PARAMS. + +2003-02-12 Bob Wilson + + * bfd.texinfo: Fix quotes for texinfo. Make section title + capitalization more consistent. Use @example instead of @lisp. + Replace FDL appendix with include of fdl.texi. + * fdl.texi: New file. + +2002-11-18 Klee Dienes + + * Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi. + (PROTOS): Add bfdio.p, bfdwin.p. + (SRCDOC): Add bfdio.c, bfdwin.c. + (SRCPROT): Add bfdio.c, bfdwin.c. + (SRCIPROT): Add bfdio.c, bfdwin.c. + (LIBBFD_H_DEP): Add bfdio.c, bfdwin.c. + (BFD_H_DEP): Add bfdio.c, bfdwin.c. + Add rules for bfdio.texi, bfdwin.text. + * bfd.texinfo: Include bfdio.texi. + +2002-10-14 Alan Modra + + * Makefile.in: Regenerate. + +2002-10-11 Daniel Jacobowitz + + * Makefile.in: Regenerated. + +2002-08-29 John David Anglin + + * chew.c (paramstuff, outputdots, perform, bang and usage): Remove + void from function definitions. + +2002-08-13 Alan Modra + + * header.sed: Strip tabs. + +2002-06-08 Alan Modra + + * Makefile.am: Fix quote style in last change. + * Makefile.in: Regenerate. + +2002-06-07 Alan Modra + + * Makefile.am (libbfd.h): Don't use "echo -n". + (libcoff.h, bfd.h): Likewise. + * Makefile.in: Regenerate. + +2002-06-06 Lars Brinkhoff + + * bfdint.texi: Change registry@sco.com to registry@caldera.com. + +2002-06-05 Alan Modra + + * Makefile.am (libbfd.h): Add "Extracted from.." comment. + (libcoff.h, bfd.h): Likewise. + * Makefile.in: Regenerate. + +2002-05-25 Alan Modra + + * chew.c: Use #include "" instead of <> for local header files. + +2002-04-20 Alan Modra + + * Makefile.in: Regenerate. + +2002-02-11 Alan Modra + + * Makefile.in: Regenerate. + +2002-02-01 Alan Modra + + * chew.c (WORD): Eliminate. + +2002-01-31 Ivan Guzvinec + + * Makefile.in: Regenerate. + +2002-01-31 Alan Modra + + * chew.c (courierize): Don't modify @command params. + +2002-01-30 Nick Clifton + + * proto.str (ENUMDOC): Place two spaces between the end of + the text and the closing comment marker. + +2001-10-30 Hans-Peter Nilsson + + * bfdint.texi (BFD target vector miscellaneous): Add + bfd_target_mmo_flavour. + * bfd.texinfo (BFD back ends): Add entry for mmo. + * Makefile.am (DOCFILES): Add mmo.texi. + (SRCDOC): Add mmo.c. + (s-mmo, mmo.texi): New rules. + +2001-10-29 Kazu Hirata + + * bfdsumm.texi: Fix a typo. + +2001-10-26 Nick Clifton + + * bfd.texinfo: Change footer to refer to FSF. Change subtitle + to refer to original creation date. + +2002-01-26 Hans-Peter Nilsson + + * Makefile.am (install): Depend on install-info. + * Makefile.in: Regenerate. + +2001-10-03 Alan Modra + + * Makefile.am (BFD_H_DEP): Add ../version.h. + * Makefile.in: Regenerate. + +2001-10-02 Alan Modra + + * Makefile.in: Regenerate. + +2001-10-01 Alan Modra + + * header.sed: New file, adds header to generated files. + * Makefile.am: Rewrite rules generating libbfd.h, libcoff.h and + bfd.h, using above. Add missing elf.c dependecy for libbfd.h. + * Makefile.in: Regenerate. + +2001-09-21 Alan Modra + + * Makefile.in: Regenerate. + +2001-09-18 Alan Modra + + * bfdint.texi: Replace reference to bfd_read with bfd_bread. + Likewise for bfd_write. + +2001-07-24 Alan Modra + + * Makefile.in: Regenerate. + +2001-06-21 Hans-Peter Nilsson + + * bfdint.texi (BFD relocation functions) : + Mention that the GNU linker is aware of input-output format + restrictions when generating relocatable output. Make new + paragraph for final-link case. + (BFD target vector swap): Fix typo. + +2001-01-25 Kazu Hirata + + * chew.c: Do not output trailing whitespaces in type and + functionname. Update copyright. + +2001-01-24 Kazu Hirata + + * chew.c: Do not output a trailing whitespace. + +2000-11-06 Nick Clifton + + * bfd.texinfo: Add GNU Free Documentation License. + +2000-07-09 Alan Modra + + * Makefile.in: Regenerate. + +2000-07-08 Alan Modra + + * chew.c (outputdots): Don't add a space before `/*'. + (courierize): Likewise. + +Wed May 24 12:03:25 2000 Hans-Peter Nilsson + + * bfdint.texi (BFD ELF processor required): Add paragraph about + target necessities for readelf. + +2000-04-30 Ben Elliston + + * bfdint.texi (BFD generated files): Fix another typo. + +2000-04-17 Ben Elliston + + * bfdint.texi (BFD_JUMP_TABLE macros): Fix typo. + +2000-04-07 Andrew Cagney + + * Makefile.in: Rebuild with current autoconf/automake. + +1999-02-04 Ian Lance Taylor + + * Makefile.in: Rebuild with current autoconf/automake. + +1998-07-23 Nick Clifton + + * bfdint.texi (BFD ELF processor required): Add paragraph + describing the necessity to create "include/elf/CPU.h". + +1998-05-07 Ian Lance Taylor + + * Makefile.am (chew.o): Add -I options for intl srcdir and + objdir. + * Makefile.in: Rebuild. + +1998-04-27 Ian Lance Taylor + + * bfdint.texi: New file. + * Makefile.am (noinst_TEXINFOS): New variable. + * Makefile.in: Rebuild. + +1998-04-13 Ian Lance Taylor + + * Makefile.in: Rebuild. + +1998-04-06 Ian Lance Taylor + + * Makefile.am (STAGESTUFF): Remove variable. + (CLEANFILES): Don't remove $(STAGESTUFF). + (DISTCLEANFILES, MAINTAINERCLEANFILES): New variables. + * Makefile.in: Rebuild. + +1998-03-27 Ian Lance Taylor + + * chew.c (skip_white_and_starts): Remove unused declaration. + (skip_white_and_stars): Add casts to avoid warnings. + (skip_trailing_newlines, paramstuff, courierize): Likewise. + (bulletize, do_fancy_stuff, iscommand): Likewise. + (kill_bogus_lines, nextword, main): Likewise. + (manglecomments): Comment out. + (outputdots, kill_bogus_lines): Remove unused local variables. + (perform, compile): Likewise. + (courierize): Fully parenthesize expression. + (copy_past_newline): Declare return value. + (print): Change printf format string. + (main): Call usage for an unrecognized option. + +1998-02-13 Ian Lance Taylor + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * Makefile.in: Rebuild. + +1998-01-26 Andreas Schwab + + * doc.str (bodytext): Don't output @* at the end. + * chew.c (kill_bogus_lines): Make sure that a period at the + beginning is recognized. + (indent): Don't put indentation at the end. + (copy_past_newline): Expand tabs. + * Makefile.am (s-reloc, s-syms): Depend on doc.str. + * Makefile.in: Rebuild. + +1997-10-01 Ian Lance Taylor + + * Makefile.am (libbfd.h): Don't use cpu-h8300.c, cpu-i960.c, or + elfcode.h as input files; they don't contribute anything. + * Makefile.in: Rebuild. + +1997-08-15 Doug Evans + + * Makefile.am (libbfd.h, libcoff.h): Invoke $(MKDOC) as ./$(MKDOC). + * Makefile.in: Rebuild. + +1997-08-01 Ian Lance Taylor + + * Makefile.am (CC_FOR_BUILD): Don't set explicitly. + * Makefile.in: Rebuild. + +1997-07-31 Ian Lance Taylor + + * Makefile.am: New file, based on old Makefile.in. + * Makefile.in: Now built with automake. + +1997-07-22 Robert Hoehne + + * Makefile.in: Change stamp-* files to s-* files. Use bfdt.texi + rather than bfd.texi. + (DOCFILES): Change bfd.texi to bfdt.texi. + * bfd.texinfo: Include bfdt.texi, not bfd.texi. + +1997-06-16 Ian Lance Taylor + + * Makefile.in (CC, CFLAGS): Substitute from configure script. + From Jeff Makey . + +1997-04-15 Ian Lance Taylor + + * Makefile.in (install-info): Use mkinstalldirs to build + $(infodir). + +1997-04-08 Ian Lance Taylor + + * Makefile.in (install-info): Permit info files to be in srcdir. + (stamp-*): Add a stamp-X target for each X.texi target. + (*.texi): Just depend upon stamp-X. + (clean): Remove stamp-*. + (distclean): Depend upon mostlyclean. Remove stamp-*. Don't + remove $(DOCFILES). + +1997-04-07 Ian Lance Taylor + + * Makefile.in (distclean): Don't remove *.info files. + +1997-02-13 Klaus Kaempf (kkaempf@progis.de) + + * makefile.vms: New file. + +1996-06-18 Ian Lance Taylor + + * chew.c (kill_bogus_lines): Reset sl when not at the start of a + line. From Uwe Ohse . + +1996-01-30 Ian Lance Taylor + + From Ronald F. Guilmette : + * Makefile.in (libbfd.h): Depend upon proto.str. + (libcoff.h, bfd.h): Likewise. + +1995-11-03 Fred Fish + + * Makefile.in (SRCDOC, SRCPROT, core.texi, bfd.h): Use corefile.c, + renamed from core.c. + +1995-11-01 Manfred Hollstein KS/EF4A 60/1F/110 #40283 + + * chew.c: Include . + +1995-10-06 Ken Raeburn + + Mon Sep 25 22:49:32 1995 Andreas Schwab + + * Makefile.in (Makefile): Only remake this Makefile. + +1995-10-04 Ken Raeburn + + * chew.c: Include . + +1995-09-12 Ian Lance Taylor + + * Makefile.in (maintainer-clean): New target. + +1995-08-31 Ian Lance Taylor + + * Makefile.in (bfd.h): Add additional #endif at end of bfd.h if + __cplusplus is defined. + +1994-11-29 Doug Evans + + * chew.c (write_buffer): New argument `f', all callers changed. + (stdout, stderr, print, drop, idrop): New forth words. + * proto.str (COMMENT): New command. + * doc.str (COMMENT): Likewise. + +1994-09-12 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * Makefile.in (DOCFILES): Remove ctor.texi. + (IPROTOS): Remove ctor.ip. + (SRCIPROT): Remove $(srcdir)/../ctor.c. + (ctor.texi): Remove target. + (libbfd.h): Remove dependency on $(srcdir)/../ctor.c. Remove + $(MKDOC) run on $(srcdir)/../ctor.c. + * bfd.texinfo (Constructors): Remove section. + +1994-09-02 Ken Raeburn (raeburn@cujo.cygnus.com) + + * chew.c: Include assert.h. Added prototypes for most functions. + Changed most uses of int to long. Do bounds checking on the + stacks. Added comment at the beginning documenting most of the + intrinsics. Lots of whitespace changes. Re-ordered some + functions. + (die, check_range, icheck_range): New functions. + (strip_trailing_newlines, print_stack_level): New functions. + (translatecomments): Don't insert tab before "/*". + (iscommand): Minimum command length is now 4. + (nextword): Handle some \-sequences. + (push_addr): Deleted. + (main): Add new intrinsics strip_trailing_newlines and + print_stack_level. Complain at end if stack contains more than + one element, or less. + (remchar): Make sure the string is not empty before chopping off a + character. + + * doc.str, proto.str: Handle new commands SENUM, ENUM, ENUMX, + ENUMEQ, ENUMEQX, ENUMDOC. + +1994-01-12 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfd.texinfo: Added Linker Functions node. + * Makefile.in (DOCFILES): Added linker.texi. + (SRCDOC): Added linker.c. + (linker.texi): New target. + +1994-01-04 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * chew.c: Don't rely on a correct declaration of exit. + (chew_exit): New function which just calls exit. + (main): Use it. + +1994-01-03 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfd.texinfo: Added Hash Tables node. + * Makefile.in (DOCFILES): Added hash.texi. + (SRCDOC): Added hash.c. + (hash.texi): New target. + +1993-12-30 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in: Delete all references to seclet.c, since it's just + been deleted. Don't mention hash.c, linker.c, or genlink.h yet, + since they don't contain documentation yet (hint, hint!). + +1993-11-05 David J. Mackenzie (djm@thepub.cygnus.com) + + * bfd.texinfo: Small cleanups. + +1993-11-19 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (archures.texi): Depends on $(MKDOC). + +1993-08-10 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * bfd.texinfo (BFD back end): Don't include elfcode.texi, since + it's empty now and that triggers a makeinfo bug. + +1993-08-09 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * bfd.texinfo (BFD back end): New section on ELF, includes + elf.texi and elfcode.texi. + * Makefile.in (DOCFILES): Include elf.texi, elfcode.texi. + (SRCDOC): Include elfcode.h, elf.c. + (elf.texi, elfcode.texi): New intermediate targets. + +1993-06-24 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in (.c.o, chew.o): Put CFLAGS last. + * bfdsumm.texi: New file, broken out of bfd.texinfo, to share + with ld.texinfo. + +1993-06-14 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in (install-info): remove parentdir cruft, + +1993-06-09 Jim Kingdon (kingdon@cygnus.com) + + * Makefile.in (mostlyclean): Remove chew.o. + +1993-05-25 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (libbfd.h): Use elfcode.h, not elf32.c. + +1993-05-24 Ken Raeburn (raeburn@cygnus.com) + + * chew.c (compile): Add a couple of missing casts. + +1993-05-12 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (CC_FOR_BUILD): New variable, define to be $(CC). + (chew.o, $(MKDOC)): Build using CC_FOR_BUILD rather than CC, since + it must run on the build machine. + +1993-04-07 John Gilmore (gnu@cygnus.com) + + * Makefile.in (chew): Don't compile from .c to executable in a + single step; it puts a temporary .o filename into the executable, + which makes multi-stage comparisons fail. Compile chew.c to + chew.o, and link that, which makes identical executables every time. + +1993-03-24 david d `zoo' zuhn (zoo at poseidon.cygnus.com) + + * Makefile.in: fix typo (bfd.texinfo not bfd.texino) + +1993-03-19 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * bfd.texinfo: Since BFD version number has been bumped, do same + to "version number" on title page, and elsewhere. Should be + fixed to extract real version number. + +1993-03-16 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Add *clean rules. + +1993-01-11 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (libbfd.h): Removed duplicate init.c and libbfd.c. + Added seclet.c. + (bfd.h): Added dependency on bfd.c and seclet.c. Added seclet.c + to build. + +1992-12-17 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: added dvi target, define and use $(TEXI2DVI) + +1992-12-03 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (TEXIDIR): New variable. + (bfd.dvi): Look for bfd.texinfo in $(srcdir). Generate index. + + * bfd.texinfo: Minor doc fixes. + +1992-11-05 John Gilmore (gnu@cygnus.com) + + Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS. + + * chew.c (exfunstuff): Eliminate. + (paramstuff): Replace exfunstuff with function to generate PARAMS. + * proto.str: Use paramstuff rather than exfunstuff. + +1992-08-17 Steve Chamberlain (sac@thepub.cygnus.com) + + * chew.c: various patches provided by Howard Chu. + +1992-06-19 John Gilmore (gnu at cygnus.com) + + * Makefile.in (libbfd.h): Add elf.c as a source of prototypes. + +1992-05-11 John Gilmore (gnu at cygnus.com) + + * chew.c: exit() should be declared by config files, not by + portable source code. Its type could be int or void function. + +1992-05-04 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: another CFLAGS correction. + +1992-04-28 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: Do the CFLAGS thing. + +1992-04-11 Fred Fish (fnf@cygnus.com) + + * Makefile.in (MINUS_G): Add macro and default to -g. + +1992-03-06 Steve Chamberlain (sac@thepub.cygnus.com) + + * chew.c: now has -w switch turn on warnings + +1992-02-26 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in, configure.in: removed traces of namesubdir, + -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced + copyrights to '92, changed some from Cygnus to FSF. + +1991-12-10 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: build chew into the current directory. Complete + the MKDOC macro transition. + +1991-12-10 Steve Chamberlain (sac at rtl.cygnus.com) + + * chew.c: don't core dump when can't open file + * Makefile.in: get proto.str from the right place when built in + odd directories + +1991-12-10 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: infodir belongs in datadir. + +1991-12-07 Steve Chamberlain (sac at rtl.cygnus.com) + + * chew.c: Much modified + * proto.str, doc.str: New files for extracting to product + prototypes and documents respectively. + + +1991-12-06 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: added standards.text support, host/site/target + inclusion hooks, install using INSTALL_DATA rather than cp, + don't echo on install. + +1991-12-05 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + + +Local Variables: +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b25ef14e9b9..eacd2653890 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,4229 +1,5 @@ -2003-12-31 Daniel Jacobowitz - * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself. - -2003-12-29 Nick Clifton - - * readelf.c (debug_line_pointer_size): Replace with an array - called 'debug_line_pointer_sizes'. - (num_debug_line_pointer_sizes): New variable. - (display_debug_lines): Extract pointer size from the - debug_line_pointer_sizes array. - (display_debug_loc): Likewise. - (prescan_debug_info): Fill in the debug_line_pointer_sizes - array. - -2003-12-23 Ralf Baechle - Maciej W. Rozycki - - * objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables - to handle flags for tweaking. - (copy_options): New options: impure, pure, readonly-text, - writable-text. - (copy_usage, copy_object, command_line_switch): Handle the new - options. - * doc/binutils.texi: Document the new options. - -2003-12-22 Jakub Jelinek - - * objdump.c (disassemble_bytes): Subtract rel_offset from printed - reloc address. - (disassemble_section): Set rel_offset to section->vma instead of - pinfo->buffer_vma. - -2003-12-19 Kazuhiro Inaoka - - * readelf.c (guess_is_rela): Changed m32r's default type to RELA. - -2003-12-11 Nick Clifton - - * objcopy.c (strip_usage): Add --only-keep-debug. - (copy_usage): Likewise. - -2003-12-04 Nick Clifton - - * objcopy.c (copy_object): Do not copy the object if the - output file's format cannot be set to that of the input file. - If the input file's format is unknown, fail. - -2003-11-28 Ian Lance Taylor - - * cxxfilt.c (usage): Mention new -p/--no-params options. - -2003-11-28 Alan Modra - - * Makefile.am (install-exec-local): Remove common term from string - comparison. - * Makefile.in: Regenerate. - * doc/Makefile.am: Don't use $<. - * doc/Makefile.in: Regenerate. - -2003-11-27 Nick Clifton - - * rename.c (smart_rename): Make sure that we have write - permission on the destination file before renaming. - -2003-11-26 Daniel Jacobowitz - Nick Clifton - - * readelf.c: Add a comment describing the difference between - readelf and objdump. - * doc/binutils.texi (readelf): Likewise. - -2003-11-25 Danny Smith - - * doc/binutils.texi (dlltool): Document dlltool --temp-prefix - option. - * dlltool.c (usage): Likewise. - -2003-11-22 Ian Lance Taylor - - * cxxfilt.c (long_options): Add --no-params. - (main): Handle -p/--no-params. - * doc/binutils.texi (c++filt): Document -p/--no-params. - -2003-11-19 Alan Modra - - * objdump.c: Wrap long lines, init vars separately from decl. - (disassemble_section): Reset require_sec after call to - find_symbol_for_address. - -2003-11-14 Nick Clifton - - * objdump.c (find_symbol_for_address): Change parameters so - that the entire disassemble_info structure is passed, not just - a few fields. Use the symbol_is_valid field to check the - validity of located symbols and continue searching if they are - not valid. - (objdump_print_addr): Alter parameters passed to - find_symbol_for_address. - (objdump_symbol_at_address): Likewise. - (disassemble_section): Likewise. Also use symbol_is_valid - function to check the validity of located symbols. - -2003-11-13 Tobias Burnus - - * ar.c (open_inarch): Emit a warning when an archive is created - (only shown with -v) in order to confrom to POSIX specification. - -2003-11-11 Wang Li - - * objcopy.c (wildcard): New variable. True if wildcard pattern - matching is allowed in symbol names. - (strip_options): Add -w option to enable wildcard pattern - matching. - (copy_options): Likewise. - (copy_usage): Mention new switch. - (strip_usage): Likewise. - (is_specified_symbol): If performing wildcard matches use fnmatch - to compare symbol names with entries on the symbol list. - (strip_main): Accept -w switch. - (copy_main): Likewise. - * Makefile.am: Add dependency on fnmatch.h for objcopy.c - * Makefile.in: Regenerate. - * doc/binutils.texi: Document new switch. - * NEWS: Mention new switch. - -2003-11-11 Alan Modra - - * objdump.c: Revert rev 1.81 commit. - -2003-11-10 Tobias Burnus - - * ar.c (print_contents): Remove "member" from verbose output in - order to conform to POSIX specification. - -2003-11-10 Alan Modra - - * README: Expand bug reporting information. - -2003-11-07 Jonathan R. Grant - - * bucomm,c (get_file_size): New function. Returns the size of a - file. - * bucomm.h: Add prototype for get_file_size. - * addr2line.c (process_file): Use new function. - * ar.c (main, ranlib_only, ranlib_touch): Likewise. - * nm.c (display_file): Likewise. - * objcopy.c (add_specific_symbols, copy_file, strip_main, - copy_main): Likewise. - * objdump.c (display_file): Likewise. - * size.c (display_file): Likewise. - * strings.c (strings_file): Likewise. - * readelf.c (process_file): Use similar code to get_file_size. - -2003-11-06 Bruno Rohee - - * ieee.c: Fix "the the" typo. - * stabs.c: Likewise. - -2003-10-30 Marshall T. Vandegrift - - * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS - sections - they have no file space assigned to their contents. - -2003-10-28 Segher Boessenkool - - * readelf.c (dump_section): Don't display DEL characters. - -2003-10-27 Kazu Hirata - - * ChangeLog: Fix typos. - * ChangeLog-9197: Likewise. - * ChangeLog-9899: Likewise. - * NEWS: Likewise. - * ar.c: Fix comment typos. - * arsup.c: Likewise. - * coffgrok.c: Likewise. - * debug.c: Likewise. - * debug.h: Likewise. - * dlltool.c: Likewise. - * ieee.c: Likewise. - * nm.c: Likewise. - * objdump.c: Likewise. - * prdbg.c: Likewise. - * readelf.c: Likewise. - * resrc.c: Likewise. - * sysinfo.y: Likewise. - * windres.c: Likewise. - -2003-10-27 Nick Clifton - - * objcopy.c (copy_section): Do not complain when a target does not - support relocations. - (mark_symbols_used_in_relocations): Likewise. - -2003-10-14 Anil Paranjpe - - * objcopy.c (copy_main): Reads machine flags from arch_info - structure. - -2003-10-20 Andrew Cagney - - * coffgrok.h (coff_section): Replace 'struct sec" with "struct - bfd_section". - -2003-10-07 Nathan Sidwell - - * objdump.c (read_section_stabs): Just read one section, return - pointer to it. Add size parameter. - (print_section_stabs): Add string offset parameter. Adjust. - (struct stab_section_names): Add string offset member. - (find_stabs_sections): Correct check for split section suffix, - adjust read_section_stabs and print_section_stabs calls. - (dump_stabs_section): Clear string_offset, free string table. - -2003-10-01 Martin Fuchs - - * resrc.c (define_icon): Fix storage of color attributes 'planes' and - 'bit count' in icon groups. - -2003-09-30 Chris Demetriou - - * NEWS: Add an indication of the cutoff for 2.14. - -2003-09-30 Chris Demetriou - - * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. - -2003-09-29 H.J. Lu - - * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON. - (get_symbol_index_type): Likewise. - -2003-09-25 H.J. Lu - - * readelf.c (process_version_sections): Indent version names. - -2003-09-15 Anthony Green - - * dlltool.c (prefix_encode): Fix ISO C90 conversion. - (dlltmp): Ditto. - (dtab): Ditto. - -2003-09-14 Andreas Jaeger - - * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove - unneeded (void *) casts. - * ar.c: Likewise. - * arlex.l: Likewise. - * arparse.y: Likewise. - * arsup.c: Likewise. - * binemul.c: Likewise. - * binemul.h: Likewise. - * bucomm.c: Likewise. - * bucomm.h: Likewise. - * budbg.h: Likewise. - * budemang.c: Likewise. - * budemang.h: Likewise. - * coffdump.c: Likewise. - * coffgrok.c: Likewise. - * cxxfilt.c: Likewise. - * debug.c: Likewise. - * debug.h: Likewise. - * deflex.l: Likewise. - * dlltool.c: Likewise. - * dlltool.h: Likewise. - * dllwrap.c: Likewise. - * emul_aix.c: Likewise. - * filemode.c: Likewise. - * ieee.c: Likewise. - * nlmconv.c: Likewise. - * nlmconv.h: Likewise. - * nlmheader.y: Likewise. - * nm.c: Likewise. - * prdbg.c: Likewise. - * rclex.l: Likewise. - * rcparse.y: Likewise. - * rdcoff.c: Likewise. - * rddbg.c: Likewise. - * rename.c: Likewise. - * resbin.c: Likewise. - * rescoff.c: Likewise. - * resrc.c: Likewise. - * size.c: Likewise. - * srconv.c: Likewise. - * stabs.c: Likewise. - * strings.c: Likewise. - * sysdump.c: Likewise. - * sysinfo.y: Likewise. - * syslex.l: Likewise. - * unwind-ia64.c: Likewise. - * unwind-ia64.h: Likewise. - * version.c: Likewise. - * windres.c: Likewise. - * windres.h: Likewise. - * winduni.c: Likewise. - * wrstabs.c: Likewise. - -2003-09-10 James E Wilson - - * MAINTAINERS: Update my e-mail address. - -2003-09-09 Ian Lance Taylor - - * MAINTAINERS: Update my e-mail address. - -2003-09-04 Nick Clifton - - * MAINTAINERS: Make it clear what should be done with patches to - the top level configure files (other than config.guess and - config.sub). Add binutils@sources.redhat.com as an address to - which patches can be sent. - -2003-09-04 Nick Clifton - - * readelf.c (get_machine_flags): Recognise V850E1 machine type. - -2003-09-03 Andrew Cagney - - * objdump.c: Refer to init_disassemble_info in comments. - (disassemble_data): Replace INIT_DISASSEMBLE_INFO with - init_disassemble_info. - -2003-09-03 Nick Clifton - - * objdump.c (struct objdump_disasm_info): Add new fields - 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'. - (process_section_p): New function: Returns TRUE if a section - can be dumped. - (disassemble_section): New function: Contains the body of - disassemble_data(), but just for one section. - (disassemble_data): Use bfd_map_over_sections to walk section - chain. - (find_stabs_section): New function: Find a stabs containing - section and then dump it. - (dump_stabs_section): New function: Use bfd_map_over_sections - to find the section to dump. - (dump_stabs): Use dump_stabs_section. - (dump_section): New function: Display the contents of a - section. - (dump_data): Use bfd_map_over_sections to display section - contents. - (dump_relocs_in_section): Display the relocs in a given section. - (dump_relocs): Use bfd_map_over_sections to display relocs. - (adjust_addresses): New function: Adjust the vma and lma of - sections. - (dump_bfd): Use bfd_map_over_sections. - * doc/binutils.texi: Document the "objdump -s" (no longer) - dumps empty sections. - -2003-08-24 Jonathan R. Grant - - * objdump.c: Improve comments/documentation. - dump_data: Eliminate duplicate function calls to bfd_section_size. - -2003-09-02 Alan Modra - - * MAINTAINERS: Move Dave Anglin's entry to where it belongs. - -2003-08-21 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2003-08-14 Alan Modra - - * dep-in.sed: Remove libintl.h. - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - Run "make dep-am". - * Makefile.in: Regenerate. - -2003-08-11 Ian Lance Taylor - - * readelf.c (process_archive): Fix error handling. Remove memory - leak. - - * readelf.c: Add ability to read archives. - (archive_file_offset): New variable. - (archive_file_size): New variable. - (get_data): Include archive_file_offset in file offset - calculation when fseeking. - (process_program_headers): Likewise. - (process_symbol_table): Likewise. - (process_dynamic_segment): Handle computation of end of file - position when the file is in an archive. - (process_object): New function. Contains the body of - process_file(). - (process_archive): New function. Call process_object on each - member of an archive. - (process_file): Detect archives and handle appropriately. - * Makefile.am: Add dependency on aout/ar.h for readelf.c - * Makefile.in: Regenerate. - * NEWS: Document readelf's new ability. - * doc/binutils: Alter text to say that readelf supports archives - and 64-bit ELF files. - -2003-08-08 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-08-05 Alan Modra - - * objcopy.c: Remove unnecessary prototypes and casts. - * objdump.c: Remove unnecessary casts. - * readelf.c: Convert to C90. Remove unnecessary prototypes and casts. - (get_osabi_name): Move so we don't need a forward declaration. - -2003-08-04 Bradley Harrington - Alan Modra - - * objdump.c (include_paths, include_path_count): New vars. - (usage): Describe --include. - (long_options): Add "include". - (add_include_path): New function. - (struct print_file_list): Make filename const. Add modname. - (try_print_file_open, update_source_path): New functions. - (show_line): Use them. - (main): Handle 'I' option. Don't check for NULL xrealloc arg. - -2003-07-30 Alan Modra - - * objdump.c: Remove unnecessary prototypes. - (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping - code, and print relocs when dump_dynamic_reloc_info. - (disassemble_data): Read and handle dynamic relocs. Correct reloc - skip code. Formatting. - (dump_bfd): Don't dump dynamic relocs when disassembling. - -2003-07-29 Ben Elliston - - * MAINTAINERS: Remove self as M88k maintainer. Future M88k - maintenance defaults to the blanket write privilege maintainers. - -2003-07-29 Michael Meissner - - * MAINTAINERS: Updated my email address. - -2003-07-29 Nick Clifton - - * objdump.c: Update to ISO C. - -2003-07-24 Nick Clifton - - * objdump.c (disassemble_data): Do not ignore sections without the - LOAD flag when disassemble_all is true. Only print a message - about disassembling a section if it contains some data. - - * po/fr.po: Updated French translation. - -2003-07-23 Nick Clifton - - * objcopy.c: Switch to ISO C. Remove debugging code accidentally - left in. Some formatting tidy ups. - -2003-07-22 Salvador Eduardo Tropea - - * objdump.c: New command line option --debugging-tags. - * doc/binutils.texi: Document new command line option. - * prdbg.c: Code to print the debug info as tags compatible - with ctags. - * budbg.h: Adjust prototype. - * NEWS: Mention new switch - -2003-07-18 Nick Clifton - - * objdump.c (main) :Accept multiple -M switch. - * doc/binutils.texi: Document that multiple -M switches are - accepted and that a single -M switch can contain comma - separated options. - -2003-07-17 Nick Clifton - - * objdump.c (main): Issue a warning message if multiple -M - switches are used. - - * doc/binutils.texi (objdump): Update documentation about -M - option. - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - -2003-07-11 Alan Modra - - * po/binutils.pot: Regenerate. - -2003-07-05 Christopher Faylor - - * dlltool.c (prefix_encode): Use a fixed length for alpha. - -2003-07-04 Christopher Faylor - - * dlltool.c (prefix_encode): New function. Encode temp file prefix - from pid. - (dlltmp): Pass address of pointer being alloced or suffer neverending - mallocs. - (make_one_lib_file): Allocate enough space for new longer stub names. - (gen_lib_file): Ditto. - (main): Generate the temp file prefix from the pid if prefix was not - specified on the command line. - -2003-07-04 Nick Clifton - - * readelf.c (get_data): Print (unsigned) hex values for size and - offset in error messages. - (process_section_headers): If the string table could not be - allocated, do not continue. - -2003-07-01 Jakub Jelinek - - * readelf.c (dynamic_segment_ia64_val): Print address and newline - for sections by default. Comment fix. - -2003-06-28 Danny Smith - - * rcparse.y (res_text_field): New res_id variable. - (res_null_text): New static const struct res_id object, - with empty unicode name field. - (control): Pop parsing of optresidc up one level. Set - res_text_field to $2 except for controls which do not accept - a text field. Set res_text_field to res_null_text for the - special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). - (control_params): Adjust to use res_text_field rather - than optresidc. - (COMBOBOX): Add comment about discrepency between documented - vs. observed default style. - * resrc.c (define_control): Make first param const. - * windres.h (define_control): Adjust prototype. - -2003-06-27 Nick Clifton - - * objcopy.c (copy_object): Replace call to - bfd_create_gnu_debuglink_section with separate calls to - bfd_add_gnu_debuglink_section and - bfd_fill_in_gnu_debuglink_section, separated by a walk over the - symbol tables. - -2003-06-26 Roland McGrath - - * readelf.c (loadaddr): Variable removed. - (dynamic_info, version_info): Fix type long -> bfd_vma. - (program_headers): New variable. - (get_program_headers): New function, broken out of - process_program_headers. - (process_program_headers): Call it. Don't set `loadaddr'. - (slurp_ia64_unwind_table): Use get_program_headers. - (process_corefile_note_segments): Likewise. - (offset_from_vma): New function. - (process_relocs, process_dynamic_segment): Call that instead of - subtracting `loadaddr'. - (process_version_sections, process_symbol_table): Likewise. - (process_mips_specific): Likewise. - -2003-06-26 Nick Clifton - - * objcopy (enum strip_action): Add STRIP_NONDEBUG. - (OPTION_ONLY_KEEP_DEBUG): New. - (strip_options): Add --only-keep-debug. - (copy_options): Likewise. - (is_strip_section): Invert return value if STRIP_NONDEBUG is - active. - (copy_object): Do not copy private data when STRIP_NONDEBUG is - active. - (setup_section): Likewise. - (strip_main): Handle --only-keep-debug. - (copy_main): Likewise. - * NEWS: Mention new switch - * doc/binutils.texi: Document new switch. - -2003-06-25 Alan Modra - - * NEWS: Correct spelling of "relocatable". - * objdump.c: Likewise. - * sysroff.info: Likewise. - -2003-06-19 Nick Clifton - - * readelf.c (print_vma): When printing DEC_5 values, if the - number is bigger than 99999 switch to using hexadecimal - notation. - -2003-06-11 Nick Clifton - - * objcopy.c (gnu_debuglink_filename): New variable. - (OPTION_ADD_GNU_DEBUGLINK): New switch - (copy_options): Describe --add-gnu-debuglink switch. - Mention that --strip-debug removes sections as well. - (is_strip_section): Process the sections removed and kept - lists before checking for debugging sections. - (add_redefine_syms_file): Make function static. - (copy_object): Use is_strip_section. - Check to see if a .gnu_debuglink section should be added. If - so, call bfd_add_gnu_debuglink. - (setup_section): Use is_strip_section. - (copy_section): Use is_strip_section. - (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK. - * NEWS: Mention new objcopy switch. - * doc/binutils.texi: Document new switch. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-11 Alan Modra - - * Makefile.in: Regenerate. - -2003-05-23 Jakub Jelinek - - * readelf.c (get_segment_type): Handle PT_GNU_STACK. - -2003-06-03 Elias Athanasopoulos - - * NEWS: Document the new BSD/POSIX single-character mapping for - .comment/.note sections. - -2003-06-02 Chris Demetriou - Jason Thorpe - - * objcopy.c (redefine_list_append): Add an argument that - indicates the context from which this function is being - called. Change all callers. - (copy_options): Add a new option, --redefine-syms. - (copy_usage): Document new option. - (copy_main): Handle the --redefine-syms option. - * doc/binutils.text (objcopy): Document new option. - -2003-05-31 Richard Henderson - - * readelf.c (byte_get_signed): New. - (get_encoded_value): New. - (display_debug_frames): Use it. Always pre-process opcodes. - -2003-05-20 Michal Ludvig - - * readelf.c (display_debug_frames): Print both registers - for DW_CFA_register. - -2003-05-16 Kelley Cook - - * configure.in: Accept i[3-7]86 variants. Escape '[]' for - i[3-7]86-*-interix. - * configure.in: Regenerate. - -2003-05-13 Michael Eager - - * objcopy.c: Treat identical src/dst file names as if only one - entered. One Windows creating an output file of the same name as - the input file will delete the input file before it is read. - -2003-05-12 Salvador Eduardo Tropea - - * debug.c (debug_get_real_type): Extend test for circular debug - references. - -2003-05-12 Nick Clifton - - * configure.in (ALL_LINGUAS): Add zh_CN. - * configure: Regenerate. - * po/zh_CN.po: New file: Chinese (simplified) translation. - -2003-05-11 Jason Eckhardt - - * MAINTAINERS: Update my mail address. - -2003-05-07 H.J. Lu - - * readelf.c (dump_relocations): Enlarge the type field in wide - mode by one character. - -2003-05-03 Richard Henderson - - * readelf.c (struct Frame_Chunk): Add cfa_exp. - (frame_display_row): Just print "exp" for cfa or register - defined by a location expression. - (display_debug_frames): Handle DW_CFA_def_cfa_expression, - DW_CFA_expression, DW_CFA_MIPS_advance_loc8. - -2003-04-30 H.J. Lu - - * objdump.c (only): Change it to char **. - (only_size): New. - (only_used): New. - (disassemble_data): Check only as an array. - (dump_data): Likewise. - (dump_relocs): Likewise. - (main): Treat only as an array. - -2003-04-24 Dimitrie O. Paun - - * doc/binutils.texi: Fix the documentation for the -fo option. - -2003-04-23 J"orn Rennecke - - * readelf.c (get_machine_name) : Amend return value - to refer to SuperH. - - * readelf.c (decode_location_expression): Don't add a trailing ';'. - -2003-04-23 Dimitrie O. Paun - Nick Clifton - - * windres.c (long_options): Move close to main, where it is used. - Add 'input' and 'output' long options. - (main): Accept "-fo" as an alias for "-o". This is for rc - comptibility. - * doc/binutils.texi: Mention that -fo is accepted as an alias for - -o, but discourage its use. - -2003-04-22 Dimitrie O. Paun - - * windres.c (format_from_name): Make the exit on error - behaviour optional. - (main): Rename the -I option to -J. Introduce -I as a synonym - for --include-dir. For backwards compatibility also support the - old -I behaviour, but issue a deprecation warning. - * doc/binutils.texi: Rename -I to -J. Document the new behaviour - of the -I option. - -2003-04-22 Kazuhiro Inaoka - - * readelf.c: Replace references to Mitsubishi M32R with - references to Renesas M32R. - -2003-04-15 Rohit Kumar Srivastava - - * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'. - -2003-04-09 Alexandre Oliva - - * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w - for debugging information types not supported by objdump. - -2003-04-09 Bernd Jendrissek - - * configure.in: Recognize canonical form of i[3-6]86-pe*. - * configure: Regenerate. - -2003-04-09 Alexandre Oliva - - * readelf.c (display_debug_info): Apply RELA relocations on the - entire section. - (byte_put_little_endian, byte_put_big_endian): New functions. - (byte_put): New variable. - (get_file_header): Initialize it. - -2003-04-05 Dimitrie O. Paun - - * windres.c: Add -l for compatibility with wrc, and rc. - Use the short option as a key for long options that have - a synonymous short option. - * doc/binutils.texi: Added -l to the list of options. - -2003-04-03 Dimitrie O. Paun - - * windres.c: Add -U for compatibility with wrc, rc, and cpp. - (main): Just pass the -U option down to the preprocessor. - * doc/binutils.texi: Added -U to the list of options. - -2003-04-01 Dimitrie O. Paun - - * windres.c (usage): Report -r option. - (main): Ignore the -r option. - * doc/binutils.texi: Add -r to the list of options. - -2003-04-01 Bob Wilson - - * MAINTAINERS: Add myself as Xtensa maintainer. - -2003-04-01 Bob Wilson - - * readelf.c: Include "elf/xtensa.h". - (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of - targets that use RELA relocations. - (dump_relocations): Call elf_xtensa_reloc_type for - EM_XTENSA and EM_XTENSA_OLD. - (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD. - -2003-04-01 Nick Clifton - - * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for - thumb-pe*, mcore-pe and mcore-*elf. - * configure: Regenerate. - -2003-03-31 Alexandre Oliva - - * objdump.c (dump_data): Don't truncate the address to long; make - the width large enough, and uniform for all entries in a section. - -2003-03-31 H.J. Lu - - * readelf.c: Include "libiberty.h". - (dynamic_relocations): New. - (process_relocs): Properly handle dynamic relocation. - (process_dynamic_segment): Fill relocation elements in - dynamic_info. - -2003-03-31 Kevin Buettner - - * readelf.c (read_and_display_attr, read_and_display_attr_value): - Add new arguments ``offset_size'' and ``dwarf_version''. Adjust - all callers. - (display_debug_lines, display_debug_pubnames, display_debug_info) - (display_debug_aranges, display_debug_frames, read_and_display_attr) - (read_and_display_attr_value): Add 64-bit DWARF support. - -2003-03-31 Ian Lance Taylor - - * rcparse.y: Replace uses of 'optstringrc' with 'optresid'. - (optresid): Handle a resource id that can be a string or a number. - * resrc.c (define_control): Replace 'text' parameter with 'iid' a - struct res_id. - (define_icon_control): Pass a struct res_id to define_control. - * windres.h (define_control): Change prototype. - -2003-03-24 Elias Athanasopoulos - - * objcopy (OPTION_FORMATS_INFO): Define. - (strip_options): Add "info"/OPTION_FORMATS_INFO option. - (copy_options): Likewise. - (strip_usage): Add "--info" to usage. - (copy_usage): Likewise. - (strip_main): Declare formats_info. Iniatilize it to FALSE. - Handle "info". - (copy_main). Likewise. - * doc/binutils.texi. Document the "--info" option for - objcopy/strip. - * NEWS: Mention the new command line switch. - - * objdump.c (endian_string): Move to bucomm.c. - (display_info): Likewise. - (display_target_list): Likewise. - (display_info_table): Likewise. - (display_target_tables): Likewise. - (main): Assign the return value of display_info to exit_status. - * bucomm.c: Include bfdver.h and libbfd.h - (display_target_list): Call bfd_nonfatal instead of nonfatal and - return 0 on a non-fatal error, 1 on success. - (display_info_table): Likewise. - * bucomm.h (display_info): Provide a prototype. - * Makefile.am (bucomm.o): Add dependencies on bfdver.h and - libbfd.h. - * Makefile.in: Regenerate. - -2003-03-22 Danny Smith - - * dlltool.c (gen_def_file): Put demangled name comments on - own line preceding export name. - -2003-03-17 Nick Clifton - - * objdump.c (disassemble_data): Use disasm_info.fprintf_func not - printf for emitting new lines. - -2003-03-16 Elias Athanasopoulos - - * nm.c (print_symbol_info_bsd): Print the symbol's size instead of - the symbol's value when --size-sort is used, unless -S is used. - doc/binutils.texi (--size-sort): For non-bsd formats both the - value and size of the symbols are displayed. - -2003-03-13 Nick Clifton - - * po/da.po: Update. - -2003-03-12 Nick Clifton - - * MAINTAINERS: Remove Peter Targett as ARC maintainer. - -2003-03-10 Ben Elliston - - * MAINTAINERS: Update my mail address. - -2003-03-06 Elias Athanasopoulos - - * stabs.c (BYTES_IN_WORD): Remove definition. - * wrstabs.c (BYTES_IN_WORD): Likewise. - -2003-03-04 Nick Clifton - - * nm.c (main): Print a warning message if --size-sort and - --undefined-only are used together. - -2003-03-04 Elias Athanasopoulos - - * nm.c (print_symbol): Remove check for undefined_only. - -2003-03-03 Nick Clifton - - * po/da.po: Installed latest translation. - -2003-02-24 Nick Clifton - - * README: Update binutils references to 2.13. - Add paragraph about using --disable-nls. - -2003-02-24 Elias Athanasopoulos - - * doc/binutils.texi (nm --size-sort): Update. - -2003-02-21 James E Wilson - - * MAINTAINERS: Update email address. - -2003-02-21 Ian Wienand - - * readelf.c (get_ia64_dynamic_type): New function. - (dynamic_segment_ia64_val): New function. - (get_dynamic_type): If machine type is EM_IA_64 call - get_ia64_dynamic_val. - (get_ia64_section_type_name): Handle sections with types in the - SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range. - (get_dynamic_flags): If machine type is EM_IA_64 call - dynamic_segment_ia64_val. - -2003-02-21 Bob Wilson - - * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make - section title capitalization more consistent. Update descriptions - of various options to be consistent with the code. Fix errors and - incomplete list in the description of c++filt format options. Remove - information about the linker. Change to be more polite about poor - bug reports. Replace FDL appendix with include of fdl.texi. - * doc/fdl.texi: New file. - -2003-02-21 Roger Sayle - - * objcopy.c (filter_symbols): Fix compilation problems with - HP-UX's C compiler. - -2003-02-19 Christopher Faylor - - * rclex.l (handle_quotes): Fix minor formatting problems introduced in - previous change. - -2003-02-19 Mark Blackburn - - * rclex.l (handle_quotes): Handle strings spanning more than one line. - -2003-02-12 Bob Wilson - - * nm.c (usage): Add `java' and `gnat' demangle styles and make - quotes consistent. - * objdump.c (usage): Ditto. Also fix some typos. - - * readelf.c (parse_args): Include 'H' option in call to getopt_long. - - * debug.c (debug_record_variable): Handle global register variables. - - * stabs.c (parse_stab): For N_SLINE only include - function_start_offset if the symbol is within a function; - otherwise, the value is absolute. - -2003-02-10 Nick Clifton - - * readelf.c (decode_ARM_machine_flags): Handle the - EF_ARM_MAVERICK_FLOAT flag. - -2003-02-04 Andreas Schwab - - * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to - long and use %ld in printf format. - -2003-01-28 Richard Sandiford - - * readelf.c (dump_relocations): Reorder the r_info field for - little-endian mips elf64. Move #ifdef BFD64 to cover the new code. - -2003-01-21 Daniel Berlin - - * readelf.c (display_debug_loc): Skip address base changes. - -2003-01-17 Fabio Alemagna - - * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS - and ELFOSABI_NSK. - -2003-01-16 Alan Modra - - * readelf.c: Include elf/ppc64.h. - (dump_relocations ): Use elf_ppc64_reloc_type. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-01-02 Ben Elliston - - * readelf.c (guess_is_rela): Handle EM_IQ2000. - (get_machine_name): Likewise. - (dump_relocations): Likewise. - * NEWS: Mention IQ2000 support. - -2003-01-02 Richard Sandiford - - * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2. - -2002-12-30 Chris Demetriou - - * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) - changes in MIPS -M options. - -2002-12-30 Dmitry Diky - - * Makefile.am: Add msp430 target. - * Makefile.in: Regenerate. - * readelf.c: Add support for msp430 target. - -2002-12-27 Chris Demetriou - - * doc/binutils.texi (objdump): Document MIPS -M options. - -2002-12-23 Andreas Schwab - - * readelf.c (main): Reset dump request after each file. - -2002-12-23 Nick Clifton - - * nlmconv.c (main): Pass TRUE as third argument to - bfd_arch_get_compatible. - -2002-12-23 Nick Clifton - - * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC - macro. Handle 'S' encoding, accepting 8-bit characters. - (main): Parse 'S' encoding. - (get_char): Accept 'S' encoding. - (print_strings): Use STRING_ISGRAPHIC. - (usage): Document support of 'S' encoding. - * doc/binutils.texi: Document support of 'S' encoding/ - * NEWS: Mention new feature. - -2002-12-20 Alan Modra - - * README : Don't use libibery's needed_list or - required_list, instead link libiberty/*.o. - -2002-12-19 Kazu Hirata - - * doc/binutils.texi: Fix typos. - -2002-12-14 John David Anglin - - * doc/binutils.texi: Add missing parenthesis. - -2002-12-15 Nick Kelsey - - * objcopy.c: Add --prefix-symbols= option to rename all - symbols by adding the given prefix to the begining of the symbol - name. This is useful to provide name space separation regardless - of how the object file was created. Added --prefix-sections= - and --prefix-alloc-sections= options to rename all - sections (or all sections with the alloc flag set) by adding the given - prefix to the begining of the symbol name. - * NEWS: Mention this new feature. - * doc/binutils.texi: Document this new feature. - -2002-12-13 Alan Modra - - * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of - dyn_string_append with dyn_string_append_cstr. - - * emul_aix.c (ar_emul_aix_create): Remove unused function. - -2002-12-10 James Cownie - - * readelf.h (get_TAG_name, get_AT_name, - read_and_display_attr_value): Add support for UPC extensions to - DWARF2 spec. - * NEWS: Mention this new support. - -2002-12-08 Alan Modra - - * NEWS: Mention that bfd no longer declares a "boolean" type. - -2002-12-07 Alan Modra - - * readelf.c (process_program_headers): When setting loadaddr, don't - assume segment size is 4k. Use p_align instead. - (loadaddr): Change from int to long. - (dynamic_addr, dynamic_info, version_info): Likewise. - (process_dynamic_segment ): Likewise. - (process_dynamic_segment): Adjust print format string. - (rela_addr, rela_size): Delete. - (process_relocs): Formatting. - -2002-12-05 Jim Wilson - - * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64. - * configure: Regenerate. - -2002-12-04 Ian Lance Taylor - - * MAINTAINERS: Change e-mail address back to airs.com. - -2002-12-04 Aldy Hernandez - - * MAINTAINERS: Add self. - -2002-11-30 Alan Modra - - * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h, - budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c, - nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c, - rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c, - unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with - TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars - with TRUE/FALSE. Formatting. - -2002-11-29 Jakub Jelinek - - * readelf.c Replace occurrences of Elf32_Internal_* and - Elf64_Internal_* with Elf_Internal_*. - (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela. - Zero r_addend fields. - (dump_relocations): Remove relas variable, change Elf_Internal_Rel to - Elf_Internal_Rela. - -2002-11-23 Nick Clifton - - * size.c (usage): Fix typo describing switch for hex format. - -2002-11-18 Svein E. Seldal - - * testsuite/binutils-all/objcopy.exp: Disable tic4x from test - * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x - testcase - -2002-11-14 Nick Clifton - - * readelf.c (process_program_headers): Add comment about return - value. Ensure that 0 is returned if the headers are not loaded. - (process_file): If process_section_headers failed to load the - headers disable any tests that rely upon them. Similarly for - process_program_headers. - -2002-11-12 Nick Clifton - - * po/da.po: Updated Danish translation. - -2002-11-12 Klee Dienes - - * rddbg.c (read_section_stabs_debugging_info): Also recognize - LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections. - -2002-11-11 Christopher Faylor - - * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from - cgf maintainership. - -2002-11-11 Christopher Faylor - - * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer. - -2002-11-07 Nick Clifton - - * configure.in (ALL_LINGUAS): Add 'da'. - * configure: Regenerate. - * po/da.po: New Danish translation. - - * readelf.c (get_symbol_index_type): Revert part of previous - patch: Display unknown symbol types in decimal, not hex. - -2002-11-07 Danny Smith - - * dlltool.c (add_excludes): Don't prefix excluded fastcall - symbols with underscore. - (xlate): Ignore add_underscore for decorated fastcall symbols. - -2002-11-07 Eric Kohl - - * deflex.l: Accept '@' as first character of an ID. - * dlltool.c (gen_exp_file): Use existing '@' prefix rather than - ASM_PREFIX for fastcall symbols. - (scan_drectve_symbols): Handle fastcall symbols when generating - undecorated aliases for symbols in drectve section. - (scan_filtered_symbols): Likewise, with export-all. - (xlate): Likewise, with --kill-at. - (make_imp_label): New function to handle fastcall symbols - correctly. - (make_one_lib_file): Use make_imp_label instead of make_label - for imp symbols. - -2002-11-06 Svein E. Seldal - - * MAINTAINERS: Add self as TIC4X maintainer. - -2002-11-06 Hiroyuki Machida - - * readelf.c (get_symbol_index_type): Add hex number to - PROCESSOR-specific, OS-specific, reserved and unknown symbol - types. - -2002-11-04 Alan Modra - - * readelf.c (byte_get_little_endian): Comment typo fix. - (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf - as the format string. - (dump_relocations): Correct section sym names. - (process_section_headers): Clear symtab_shndx_hdr. - (read_and_display_attr_value): Don't pass indirect string to printf - as the format string. - (display_debug_frames): Indicate when zero terminator found. Decode - DW_EH_PE_pcrel addresses. - -2002-10-23 Svein E. Seldal - - * configure.in: Define SKIP_ZEROES as 32 for tic4x target in - order to ensure proper disassembly of the valid 0-value opcode. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/binutils.pot: Regenerate. - -2002-10-23 Kaz Kojima - - * MAINTAINERS: Add self as SH maintainer. - -2002-10-23 Ben Elliston - - * doc/binutils.texi (objdump): Document -z and move the entry for - --disassemble-zeroes to the end of the options section (for `z'). - -2002-10-21 Nick Clifton - - * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer. - -2002-10-21 Svein E. Seldal - - * objdump.c (dump_data): Correct addr_offset for opb != 1. - -2002-10-15 Alan Modra - - * bucomm.c (list_supported_targets): Use bfd_target_list. - - * objcopy.c (copy_file): Report ambiguous bfd_object matches, and - other object errors in preference to bfd_core errors. - -2002-10-14 Alan Modra - - * Makefile.am: Run "make dep-am". - * objdump.c: #include "bfdver.h". - * version.c: Likewise. - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-10-09 Daniel Jacobowitz - - * readelf.c (display_debug_info): Ignore empty .rela.debug_info - sections. Allow relocations against the absolute symbol. Don't - use the value in compunit.cu_abbrev_offset if we found a RELA - relocation. - -2002-10-07 Gordon Chaffee - - * addr2line.c (slurp_symtab): Read in dynamic symbols if no - ordinary ones are available. - -2002-09-30 H.J. Lu - - * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120, - E_MIPS_MACH_5400 and E_MIPS_MACH_5500. - -2002-09-17 Zack Weinberg - - * Makefile.am (CFILES): Add cxxfilt.c. - (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS). - (cxxfilt_LDADD): Delete. - Remove all references to underscore.c. - Regen dependencies. - * configure.in: Define TARGET_PREPENDS_UNDERSCORE in - config.h from $UNDERSCORE, rather than AC_SUBSTing it. - * binutils/cxxfilt.c: Moved here from gcc/cp, minor - adjustments to fit into binutils framework. - * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate. - -2002-09-12 Roland McGrath - - * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref - Handle DW_OP_GNU_push_tls_address. - -2002-09-11 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2002-09-10 Nick Clifton - - * MAINTAINERS: Add Ben Elliston as a maintainer for configure and - testsuite changes. Add paragraphs about testsuite and config - patches. - -2002-08-29 Nick Clifton - - * readelf.c (get_machine_flags): Remove redundant reference to - E_V850EA_ARCH. - -2002-08-28 Alan Modra - - * objdump.c (dump_bfd): Restore lines accidentally deleted in - last commit. - -2002-08-28 Michael Hayes - - * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag. - (dump_bfd_header): Likewise. - -2002-08-27 Alan Modra - - * nm.c: Revert last change. - -2002-08-26 Alan Modra - - * nm.c (display_rel_file): Don't report "no symbols" as an error. - * objdump.c (slurp_symtab): Likewise. - (slurp_dynamic_symtab): Likewise. - (dump_symbols): Likewise. Do print "no symbols" to stdout. - -2002-08-24 Geoffrey Keating - - * MAINTAINERS: Change my mailing address. - -2002-08-23 John David Anglin - - * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer. - -2002-08-22 Nick Clifton - - * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for - HPPA. - -2002-08-21 John David Anglin - - * readelf.c (parse_args): Change debug_dump_opt to static. - -2002-08-16 Sivaguru Sankaridurg - - * stabs.c (parse_stab_argtype): Pass length of physname to - stab_demangle_argtypes. - (stab_demangle_argtypes): Add new parameter - length of physname. - Pass length of physname on to stab_demangle_prefix. - (stab_demangle_prefix): Add new parameter - length of physname. - Use length of physname (if supplied) to compute end of function - name. - -2002-08-15 Alan Modra - - * readelf.c: Include elf/i370.h. - (dump_relocations): Handle EM_S370. - (dynamic_segment_parisc_val): Print \n. - (process_dynamic_segment ): Here too. - -2002-08-14 Nick Clifton - - * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'. - * objdump.c (usage): Likewise. - * doc/binutils.texi: Likewise. - -2002-08-14 Luke Dunstan - - * rcparse.y (acc_entry): Don't warn about ALT use with - non-VIRTKEY. - -2002-08-13 H.J. Lu - - * objcopy.c (copy_object): Don't warn about the unsupported - architecture unless the input target is defaulted or the - output architecture is different from the input. - -2002-08-09 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2002-08-05 Alan Modra - - * prdbg.c (pr_fix_visibility): Remove assert. - -2002-07-31 Nick Clifton - - * addr2line.c (process_file): Rename parameter 'filename' to - 'file_name' in order to avoid shadowing global symbol of the - same name. - (main): Likewise. - -2002-07-30 Jakub Jelinek - - * readelf.c (OPTION_DEBUG_DUMP): Define. - (options): Use it. - (usage): Update help. - (parse_args): Handle --debug-dump separately from -w. - * doc/binutils.texi (readelf): Update documentation. - -2002-07-25 Nick Clifton - - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-24 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2002-07-23 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - -2002-07-23 Eric S. Raymond - - * doc/binutils.texi (addr2line ): Correct brackets. - -2002-07-20 Alan Modra - - * budemang.c: Include config.h and string.h/strings.h. - -2002-07-18 Denis Chertykov - Frank Ch. Eigler - - * readelf.c: Include "elf/ip2k.h". - (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - * NEWS: Mention IP2K support. - -2002-07-16 Nick Clifton - - * NEWS: Add 'Changes in 2.13'. - -2002-07-10 Jakub Jelinek - - * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED, - DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*. - (get_section_type_name): Handle SHT_GNU_LIBLIST. - (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ, - DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED. - (process_gnu_liblist): New. - (process_file): Call it. - -2002-07-03 Alan Modra - - * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. - * Makefile.in: Regenerate. - -2002-07-02 Alan Modra - - * budemang.c: New file, "demangle" function. - * budemang.h: New file. - * addr2line.c (translate_addresses): Use "demangle". - * nm.c (print_symname): Likewise. - * objdump.c (objdump_print_symname): Likewise. - (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro - here since that obfuscates. - * rdcoff.c: Don't #include demangle.h. - * Makefile.am (CFILES): Add budemang.c, emul_aix.c, - emul_vanilla.c. Remove emul_$(EMULATION).c. Sort. - (HFILES): Add budemang.h. Sort. - (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-07-01 Matt Thomas - - * readelf.c: Include "elf/vax.h". - (guess_is_rela): Move EM_VAX from unknown to RELA case. - (dump_relocations): Handle VAX relocations. - (get_machine_flags): Handle VAX machine flags. - -2002-06-29 Stephane Carrez - - * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations. - -2002-06-26 Nick Clifton - - * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships. - -2002-06-26 Alan Modra - - * nm.c (print_symname): When demangling, strip leading dots from - symbol names to avoid confusing the demangler. - -2002-06-25 H.J. Lu - - * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. - * Makefile.in: Regenerated. - -2002-06-21 Igor Schein - - * configure.in: Quote bu_cv_have_fopen64. - * configure: Regenerate. - -2002-06-21 Mitsru Chinen - - * configure.in: Check for strcoll. - * configure: Regenerate. - * config.in: Regenerate. - * nm.c (main): Set locale for LC_COLLATE category. - (non_numeric_forward): Use strcoll if available. - -2002-06-20 Dave Brolley - - * MAINTAINERS: Add self as fr30 and frv maintainer. - -2002-06-18 H.J. Lu (hjl@gnu.org) - - * nm.c: Include "elf/common.h". - (extended_symbol_info): Add elfinfo, a pointer to - elf_symbol_type. - (SYM_SIZE): Use elfinfo if it is not NULL. - (get_symbol_type): New function. - (display_archive): Set print_width for each archive member. - (display_file): Likewise. - (display_rel_file): Don't set print_width here. - (print_object_filename_sysv): Handle print_width. - (print_archive_member_sysv): Likewise. - (print_symbols): Pass (bfd_vma) 0 to print_symbol. - (print_symbol): Set the elfinfo field in extended_symbol_info - for ELF. - (print_object_filename_sysv): Fix the output format. - (print_symbol_info_sysv): Print type and section for ELF. - -2002-06-18 Elias Athanasopoulos - - * nm.c (print_size_symbols): Remove assignment, which makes - the symbol's size equal to its value when --size-sort is - used. - -2002-06-18 Dave Brolley - - From Catherine Moore: - * readelf.c (elf/frv.h): #include it. - (guess_is_rela): Support EM_CYGNUS_FRV. - (dump_relocations): Ditto. - (get_machine_name): Ditto. - * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h. - -2002-06-18 Jakub Jelinek - - * readelf.c (get_file_header): Only read the first section header if - e_shoff is non-zero. - -2002-06-15 H.J. Lu (hjl@gnu.org) - - * nm.c (print_size): New variable. Initialize to 0. - (long_options): Add 'S'/"print-size". - (main): Handle 'S'. - (print_symbol_info_bsd): Print size only if print_size is not - 0. - - * doc/binutils.texi: Document -S/--print-size. - -2002-6-13 Elias Athanasopoulos - - * nm.c (struct extended_symbol_info): New structure: Add the size - of the symbols to the information provided by the symbol_info - structure. - (print_symbols): Pass the symbol size to print_symbol. - (print_size_symbols): Pass the symbol size to print_symbol. - (print_symbol): Extra argument: The size of the symbol. Store - this in the extended_symbol_info structure. - (print_symbol_info): Change type of info parameter to - extended_symbol_info. Display the size, if known. - (print_symbol_info_posix): Likewise. - (print_symbol_info_sysv): Likewise. - -2002-06-08 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regnerate. - - * bucomm.c: Replace CONST with const. - * nm.c: Likewise. - * objdump.c: Likewise. - -2002-06-07 H.J. Lu - - * readelf.c (DW_CFA_GNU_args_size): Don't define. - (DW_CFA_GNU_negative_offset_extended): Likewise. - (DW_CFA_GNU_window_save): Likewise. - (display_debug_frames): Handle DW_CFA_offset_extended_sf, - DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. - -2002-06-07 Elias Athanasopoulos - - * nm.c: When computing size of symbols for an ELF target use the - internal size field. - -2002-06-06 John David Anglin - - * testsuite/binutils-all/objcopy.exp: clear xfail for - "hppa*64*-*-hpux*". - * testsuite/binutils-all/hppa/objdump.exp: Return if - "*64*-*-*". - -2002-06-05 Alan Modra - - * objcopy.c (copy_section): Don't copy SEC_GROUP sections. - -2002-06-03 Elias Athanasopoulos - - * objdump.c: Fix formatting. - -2002-05-29 Ben Elliston - - * MAINTAINERS: Add self as M68k maintainer. - -2002-05-28 Kuang Hwa Lin - - * readelf.c: Modified/Added DLX elf support. - -2002-05-27 Nick Clifton - - * arsup.c: Fix formatting. - * debug.c (debug_record_label): Add missing colon to error - message. - * ieee.c (parse_ieee_ty): Fix spelling typo. - * readelf.c (process_program_headers): Remove English assumption - about making a plural word. - (process_section_headers): Likewise. - (process_relocs): Allow quotes to be translated. - (process_unwind): Likewise, - (process_mips_specific): Improve error message. - (get_note_type): Fix spelling typo. - - * configure.in (ALL_LINGUAS): Add sv - * po/sv.po: New file. - -2002-05-27 Alan Modra - - * unwind-ia64.c (unw_print_brmask): Don't use sprintf. - (unw_print_grmask): Likewise. - (unw_print_frmask): Likewise. - -2002-05-26 Kazu Hirata - - * arsup.c: Remove ARGSUSED. - * debug.c: Likewise. - * ieee.c: Likewise. - * nlmconv.c: Likewise. - * prdbg.c: Likewise. - * stabs.c: Likewise. - * wrstabs.c: Likewise. - -2002-05-25 Alan Modra - - * arlex.l: Use #include "" instead of <> for local header files. - * coffdump.c: Likewise. - * coffgrok.c: Likewise. - * nlmconv.c: Likewise. - * nlmheader.y: Likewise. - * srconv.c: Likewise. - * strings.c: Likewise. - * sysdump.c: Likewise. - * unwind-ia64.h: Likewise. - * windres.h: Likewise. - * winduni.h: Likewise. - -2002-05-24 Tom Rix - - * MAINTAINERS: Add self as the d10v maintainer. - -2002-05-24 TAMURA Kent - - * configure.in: Builds dlltool for i386-netbsdpe. - * configure: Regenerate. - -2002-05-23 Kazu Hirata - - * size.c: Fix formatting. - * srconv.c: Likewise. - * stabs.c: Likewise. - * sysdump.c: Likewise. - * unwind-ia64.c: Likewise. - * wrstabs.c: Likewise. - -2002-05-23 Jakub Jelinek - - * readelf.c (get_segment_type): Add PT_TLS. - (get_elf_section_flags): Add SHF_TLS. - (get_dynamic_flags): Optimize. Add DF_STATIC_TLS. - (process_dynamic_segment): Use puts instead of printf. - (get_symbol_type): Support STT_TLS. - * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT, - SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS. - Add SEC_THREAD_LOCAL. - -2002-05-23 Kazu Hirata - - * rdcoff.c: Fix formatting. - * rddbg.c: Likewise. - * readelf.c: Likewise. - * rename.c: Likewise. - * resbin.c: Likewise. - * resrc.c: Likewise. - * resres.c: Likewise. - -2002-05-21 Kazu Hirata - - * filemode.c: Fix formatting. - * ieee.c: Likewise. - * is-ranlib.c: Likewise. - * is-strip.c: Likewise. - * maybe-ranlib.c: Likewise. - * maybe-strip.c: Likewise. - * nlmconv.c: Likewise. - * nm.c: Likewise. - * not-ranlib.c: Likewise. - * not-strip.c: Likewise. - * objcopy.c: Likewise. - * objdump.c: Likewise. - -2002-05-21 Thiemo Seufer - - * objdump.c (dump_headers): Fix output formatting for ELF32 - architectures in a BFD64 enabled toolchain. - -2002-05-20 Kazu Hirata - - * debug.c: Fix formatting. - * debug.h: Likewise. - * dlltool.c: Likewise. - * dllwrap.c: Likewise. - * emul_aix.c: Likewise. - * emul_vanilla.c: Likewise. - -2002-05-19 Kazu Hirata - - * addr2line.c: Fix formatting. - * ar.c: Likewise. - * arsup.c: Likewise. - * arsup.h: Likewise. - * binemul.c: Likewise. - * binemul.h: Likewise. - * bucomm.c: Likewise. - * coffdump.c: Likewise. - * coffgrok.c: Likewise. - * coffgrok.h: Likewise. - -2002-05-16 Marek Michalkiewicz - - * MAINTAINERS: Add myself as the second AVR port maintainer. - -2002-05-16 Stephane Carrez - - * MAINTAINERS: Update my email address. - -2002-05-09 Nick Clifton - - * MAINTAINERS: Add Jason Thorpe as VAX maintainer. - -2002-05-09 Alan Modra - - * configure.in: Replace `*pe' with `pe' throughout. - * configure: Regenerate. - -2002-05-07 Federico G. Schwindt - - * Makefile.am: Honour DESTDIR. - * Makefile.in: Regenerate. - -2002-05-06 Alan Modra - - * dlltool.c (process_def_file): Add missing prototype. - (new_directive, assemble_file, main): Likewise. - (process_def_file, new_directive): Make static. - (inform): Rewrite using VA_FIXEDARG. - * dllwrap.c (mybasename): Add missing prototype. - (strhash, main): Likewise. - (inform): Rewrite using VA_FIXEDARG. - (warn): Likewise. - (cleanup_and_exit): Use old style function definition. - (strhash): Likewise. - * windres.c (define_resource): Use one memset to clear all of - struct res_resource. - - * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings - call to rules that need no lookahead. Check for no lookahead. - -2002-05-06 Borut Razem - - * rclex.l (get_string): Correct "strings" list handling. - * resrc.c (read_rc_file): Discard strings. - -2002-05-04 Alan Modra - - * ar.c (replace_members): Remove unused var. Formatting fix. - * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED. - - * MAINTAINERS: Sort port maintainers by CPU. - -2002-05-04 Bob Byrnes - - * size.c (display_archive): Add last_arfile and code to close archives. - -2002-05-01 Alan Modra - - * nm.c (print_symbol): Check returned filename from - bfd_find_nearest_line is non-NULL. - -2002-04-25 Elena Zannoni - - * readelf.c (get_AT_name): Handle DW_AT_GNU_vector. - -2002-04-24 Christian Groessler - - * MAINTAINERS: Changed my email address. - -2002-04-17 Thiemo Seufer - - * arparse.y: Fix syntax warning. - -2002-04-16 Nick Clifton - - * readelf.c (fetch_location_list): Remove unused function. - - * readelf.c (process_corefile_note_segment): Catch corrupt notes - and display a warning message, then exit the loop. - - * rcparse.y: Set MEMFLAG_DISCARDABLE by default. - -2002-04-15 Nick Clifton - - * resrc.c (write_rc_dialog): If charset is non-default value - display all of the DIALOGEX parameters. - -2002-04-15 Eric Kohl - - * rcparse.y: Allow two to five parameter in FONT statement of - DIALOGEX resources. - * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex - resource data. - (res_to_bin_dialog): Likewise. - * windres.h: Added misssing charset variable to dialog_ex - structure. - -2002-04-10 Nick Clifton - - * rcparse.y: Set MEMFLAG_PURE by default. - -2002-04-09 Bernd Herd - - * rcparse.y: CLASS definitions in DIALOG resources - are quoted. - Fix typo in BEDIT warning. - Don't add default dialog style when explicit style specified. - Add WS_CAPTION dialog style if CAPTION is specified. - - * rclex.l (handle_quotes): "\xhex" encoding in strings corrected. - (handle_quotes) "\a" escape (used for right justified key - definitions in menus) is encodes as binary 8. - - * resrc.c (write_rc_dialog): Print style even if it is 0. - (write_rc_directory): Fix overlooked sublang shift bug. - (bin_to_res_dialog): Don't print empty dialog caption. - - * resbin.c (bin_to_res_dialog): Use signature to identify - DIALOGEX. - - * windres.c (main): Set default LANGUAGE to english/us. - -2002-04-09 Gunnar Degnbol - - * resrc.c: print CLASS names in quotes - -2002-04-09 J"orn Rennecke - - * MAINTAINERS: Update my email address. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-27 Peter Targett - - * MAINTAINERS: Update my email address. - -2002-03-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-03-20 Daniel Berlin - - * readelf.c: Add support for displaying dwarf2 location lists. - (do_debug_loc, debug_loc_section, debug_loc_size): New. - (parse_args): Use 'O' as shorthand for displaying location list - section. - (process_section_headers): Handle debug_loc as well. - (load_debug_loc): New. - (free_debug_loc): New. - (fetch_location_list): New. - (display_debug_loc): New. - (display_debug_info): Call load_debug_loc and free_debug_loc. - (debug_displays): We can display .debug_loc now, too. - (usage): Update usage string. - (read_and_display_attr_value): Note location lists, but don't - display them inline. - -2002-03-18 Tom Rix - - * Makefile.am: Add binutils emulation support. - * configure.in: Same. - * configure.tgt: New file. Same. - * ar.c (main): Use ar_emul_parse_arg. - (usage): Use ar_emul_usage. - (replace_members): Use ar_emul_replace, ar_emul_append. - * binemul.c: New file. Define the binutils emulation - layer. Define default methods. - * binemul.h: New file. Binutils emulation layer header file. - * emul_aix.c: New file. AIX binutils emulation. - * emul_vanilla.c: New file. Default binutils emulation. - * Makefile.in: Regenerate. - * configure: Same. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-07 Daniel Jacobowitz - - * README: Update some version numbers. - -2002-03-07 Daniel Jacobowitz - - * doc/binutils.texi (Target Selection): Fix LD crossreferences. - (Architecture Selection): Likewise. - -2002-03-01 Dmitry Timoshkov - - * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while - generating .exp file. - -2002-02-21 Nick Clifton - - * readelf.c (dump_relocations): Fix typo. - -2002-02-20 Nick Clifton - - * NEWS: Mark 2.12 branch. - -2002-02-18 Timothy Daly - - * readelf.c (dump_relocations): Display 2nd and 3rd reloc - types for 64-bit MIPS. Narrow some fields for 80-char - output. - (dump_relocations): Change spelling from 'unrecognised' - to 'unrecognized'. - (decode_ARM_machine_flags): Likewise. - (parse_args): Likewise. - (read_and_display_attr_value): Likewise. - (display_debug_section): Likewise. - -2002-02-15 Hans-Peter Nilsson - - * NEWS: Mention support for MMIX. - -2002-02-13 Matt Fredette - - * readelf.c (get_machine_flags): Recognize EF_M68000. - -2002-02-12 Alexandre Oliva - - * MAINTAINERS: Added self as MN10300 co-maintainer. - -2002-02-12 Alan Modra - - * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and - DT_PPC64_OPDSZ. - -2002-02-11 Daniel Jacobowitz - - * MAINTAINERS: List myself as branch maintainer. - -2002-02-11 Alan Modra - - * configure: Regenerate. - * objcopy.c: Update copyright date. - * doc/Makefile.in: Regenerate. - -2002-02-10 Daniel Jacobowitz - - * nlmconv.c: Back out localtime PARAMS change. - -2002-02-11 Alan Modra - - * objcopy.c (MKDIR): Define. - (copy_archive): Make name_list.name const. Use MKDIR. - Handle duplicate files in archives by making more temp dirs. - -2002-02-10 Daniel Jacobowitz - - * coffdump.c: Include "getopt.h" after "bucomm.h" - so that macros are defined correctly. - * nlmconv.c: Add PARAMS ((const time_t *)) to localtime - prototype. Prototype main. - * nlmheader.y: Add PARAMS ((int)) to strerror prototype. - -2002-02-06 Alexandre Oliva - - * MAINTAINERS: Added self as SH co-maintainer. - -2002-02-05 Nick Clifton - - * po/tr.po: Updated translation. - -2002-02-01 Alan Modra - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2002-01-29 Daniel Jacobowitz - - * nm.c (print_value): Mark abfd unused. - -2002-01-29 Daniel Jacobowitz - - * unwind-ia64.c (unw_decoder): Change second argument - to unsigned int, to match function prototypes. - -2002-01-29 Daniel Jacobowitz - - * objdump.c: Include "getopt.h" after "bucomm.h" so that - __GNU_LIBRARY__ will be defined. - * size.c: Likewise. - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-26 Hans-Peter Nilsson - - * doc/Makefile.am (install): Depend on install-info. - * doc/Makefile.in: Regenerate. - -2002-01-25 Jason R. Thorpe - - * objcopy.c (strip_usage): Document -d as an alias - --strip-debug. - - * size.c (usage): Document [-t | --totals] options. - (long_options): Add --totals option. - (main): If the [-t | --totals] option is specified and - the output format is Berkeley-style, print the total - text, data, and bss sizes of all objects listed. - (print_berkeley_format): If the [-t | --totals] option - is specified, track the total text, data, and bss - sizes. - * doc/binutils.texi (size): Document [-t | --totals] options. - (strip): Document -d as an alias for --strip-debug. - * NEWS: Mention new feature of size. - -2002-01-25 Nick Clifton - - * po/fr.po: Updated version. - * po/es.po: Updated version. - -2002-01-23 Nick Clifton - - * addr2line.c (usage): Update text to provide verbose - description of the command line options. - * ar.c (usage): Update text to provide verbose - description of the command line options. - (main): Accept -h and -H when running as ranlib. - * coffdump.c (show_usage): Update text to provide verbose - description of the command line options. - * dlltool.c (main): Accept -H as an alias for --help. - * nlmconv.c (show_usage): Update text to provide verbose - description of the command line options. - * nm.c (usage): Replace OPTIONS with option(s). - (main): Accept -H as an alias for --help. - * objcopy.c (strip_main): Accept -H as an alias for --help. - * objdump.c (main): Accept -v as an alias for --verbose. - * readelf.c (usage): Adjust format to match style used in - other binutils. - * size.c (usage): Update text to provide verbose description - of the command line options. - (main): Accept -v, -h and -H as command line options. - * srconv.c (show_usage): Update text to provide verbose - description of the command line options. - * strings.c (main): Accept -H and -v as command line options. - (usage): Update text to provide verbose description of the - command line options. - * sysdump.c (show_usage): Update text to provide verbose - description of the command line options. - * windres.c (usage): Adjust format to match style used in - other binutils. - - * coffdump.c: Fix formatting. - * nlmconv.c: Fix formatting. - * srconv.c: Fix formatting. - * sysdump.c: Fix formatting. - -2002-01-22 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-01-18 Andreas Jaeger - - * version.c (print_version): Update year. - -2002-01-17 Alan Modra - - * readelf.c (get_machine_name): Handle EM_PPC64. - (guess_is_rela): Here too. - -2002-01-17 Nick Clifton - - * po/binutils.pot: Regenerate. - * po/fr.po: Regenerate. - * po/tr.po: Regenerate. - -2002-01-16 Nick Clifton - - * po/tr.po: Import new version. - -2002-01-16 Alan Modra - - * readelf.c (get_ppc64_dynamic_type): New. - (get_dynamic_type): Call it. - -2002-01-15 Nick Clifton - - * objcopy.c (copy_usage): Use "options" instead of "switches". - (strip_usage): Use "options" instead of "switches". - * doc/binutils.texi (dlltool): Refer to "options" instead of - "switches". - -2002-01-14 Richard Earnshaw - - * MAINTAINERS: Add self as co-maintainer for the ARM code. - -2001-12-18 Nick Clifton - - * po/es.po: Import from translation project. - * configure.in (ALL_LINGUAS): Add es. - * configure: Regenerate. - -2002-01-09 Jason Thorpe - - * readelf.c (get_netbsd_elfcore_note_type): Use - NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH. - -2002-01-09 Jason Thorpe - - * readelf.c: Update copyright years. - (get_note_type): Return a const char *. - (get_netbsd_elfcore_note_type): New function. - (process_note): Use get_netbsd_elfcore_note_type to get - the note type string for NetBSD ELF core files. - -2002-01-06 Steve Ellcey - - * readelf.c (get_ia64_segment_type): Add support for macros. - (get_segment_type): Add support for IA64 specific macros. - -2001-12-20 Julian v. Bock - - * readelf.c (print_symbol): New function: Print a formatted symbol - name. If --wide is specified do not truncate it. - (dump_relocations): Use print_symbol() to print symbol names. - (process_symbol_table): Likewise. - (process_syminfo): Likewise. - (process_mips_specific): Likewise. - (usage): Document new feature of --wide switch. - * doc/binutils.texi (objdump): Document additional behaviour of - --wide. - -2001-12-18 Michael Snyder - - * objcopy.c (copy_file): Accept corefiles (format bfd_core). - (copy_object): Don't set the start address or flags of a core file. - (copy_section): Don't relocate a core file. Don't copy contents - if the input section has the contents flag set, but the output - section does not (which happens with the fake 'note' pseudo- - sections that BFD creates for corefiles). - -2001-12-18 Thiemo Seufer - - * readelf.c (get_machine_flags): Recognize header flags for ABI and - ASE extensions. More robust code for ISA checking. Ignore empty fields - in header flags for GNU extensions. - -2001-12-18 Alan Modra - - * objcopy.c (copy_archive): Set output bfd format outside the loop. - -2001-12-18 Nick Clifton - - * po/ja.po: Import from translation project. - * configure.in (ALL_LINGUAS): Add ja. - * configure: Regenerate. - -2001-12-18 Thiemo Seufer - - * addr2line.c (main): Protoype. - * ar.c (main): Protoype. - * nm.c (main): Protoype. - * objcopy.c (main): Protoype. - * objdump.c (main): Protoype. - * size.c (main): Protoype. - * strings.c (main): Protoype. - -2001-12-17 Alan Modra - - * readelf.c (symtab_shndx_hdr): New global. - (SECTION_HEADER_INDEX): Define. - (SECTION_HEADER_NUM): Define. - (SECTION_HEADER): Define. - (GET_ELF_SYMBOLS): Pass two params rather than three. - (get_32bit_elf_symbols): Take file and section args. Read and - use SHT_SYMTAB_SHNDX. - (get_64bit_elf_symbols): Likewise. - (dump_relocations): Use SECTION_HEADER to index "section_headers". - (process_section_headers): Likewise. Use SECTION_HEADER_NUM too. - Remember symtab_shdx_hdr. - (process_program_headers): Scan from index 1 for segment map. - (slurp_ia64_unwind_table): Use SECTION_HEADER to index - "section_headers". - (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS. - (process_unwind): Likewise. - (process_version_sections): Likewise. - (process_symbol_table): Likewise. - (display_debug_info): Likewise. - (process_dynamic_segment): Fake up a symtab section for changed - GET_ELF_SYMBOLS. - (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE. - (process_program_headers): Kill signed/unsigned warning. - (load_debug_str): Likewise. - (display_debug_info): Likewise. - -2001-12-13 Jakub Jelinek - - * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME. - -2001-12-11 Alan Modra - - * readelf.c (process_file_header): Print extended e_shnum and - e_shdtrndx values. Set elf_header values for same. - (get_32bit_section_headers): Add "num" arg to read "num" headers. - (get_64bit_section_headers): Likewise. - (process_section_headers): Update calls. - (get_file_header): Call get_32bit_section_headers or 64bit variant. - -2001-12-10 Jakub Jelinek - - * objcopy.c (setup_section): Copy entsize. - -2001-12-07 Geoffrey Keating - - * readelf.c (guess_is_rela): Add support for stormy16. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - -2001-12-05 Nick Clifton - - * dllwrap.c (main) Replace multiple strings describing a - single error with a single, newline escaped sentence to permit - better translation into foreign languages. - - * readelf.c (get_elf_class): Remove internalionalisation of ELF - class names. - -2001-12-04 Thiemo Seufer - - * strings.c (get_char): Initialize value. - -2001-12-04 Thiemo Seufer - - * arlex.l: Silence compile warnings. - * arsup.h: Likewise. Fix formatting. - -2001-12-04 Jakub Jelinek - - * strings.c: Include config.h before bfd.h. - (file_off): New type. - (file_open): Define. - (print_strings): Use file_off instead of file_ptr. Print addresses - which don't fit into long correctly. - (get_char): Use file_off instead of file_ptr. Use getc_unlocked if - available. - (strings_file): Use file_off instead of file_ptr. Use file_open. - * configure.in: Check for getc_unlocked. - Check for fopen64 and whether _LARGEFILE64_SOURCE needs to - be defined for it. - * configure: Rebuilt. - * config.h.in: Rebuilt. - -2001-11-29 H.J. Lu - - * bucomm.c (make_tempname): Revert the changes made on - 2001-11-14 and 2001-11-12. They won't work with directories. - -2001-11-23 John David Anglin - - * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and - CFLAGS_FOR_TARGET to runtest in environment. - * Makefile.in: Rebuild. - * doc/Makefile.in: Rebuild. - -2001-11-28 Mike Stump - - * objcopy.c (setup_section): Preserve SEC_RELOC when - --set-section-flags is used. - -2001-11-19 Nick Clifton - - * readelf.c (do_debug_str): New variable. - (display_debug_str): New function: Display the contents of a - .debug_str section. - (load_debug_str): New function: Load in the contents of a - .debug_str section. - (free_debug_str): New function: Free the memory used by - load_debug_str(). - (fetch_indirect_string): Retrieve a string from the .debug_str - section. - (usage): Add -ws. - (parse_args): Accept -ws. - (process_section_headers): Allow the display of the .debug_str - section. - (read_and_display_attr_value): Use fetch_indirect_string. Show - offset into .debug_str section. - (display_debug_info): Use load_debug_str and free_debug_str. - (debug_displays): Add .debug_str. - * doc/binutils.texi: Document -ws. - -2001-11-19 Andreas Jaeger - - * testsuite/binutils-all/objdump.exp: Add x86-64. - -2001-11-15 Andreas Schwab - - * readelf.c: Fix warnings without terminating newline. - -2001-11-15 Alan Modra - - * doc/binutils.texi (objdump): Document ppc -M options. - -2001-11-14 Andreas Jaeger - - * doc/binutils.texi (objdump): Fix description to use x86-64. - -2001-11-14 Nick Clifton - - * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since - not all systems provide mkstemp. - -2001-11-14 Alan Modra - - * doc/binutils.texi (objdump): Document x86 -M options. - -2001-11-13 Keith Walker - - * readelf.c (read_and_display_attr_value): New function to - handle DW_FORM_indirect. - (read_and_display_attr): Use it. - -2001-11-13 Geoffrey Keating - - * readelf.c (display_debug_lines): Deal with unknown standard - opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, - DW_LNS_set_isa. - -2001-11-13 Timothy Wall - - * MAINTAINERS: Add self as tic54x maintainer. This target - includes the IBM C54XDSP clone. - -2001-11-12 * Steven J. Hill - - * bucomm.c (make_tempname): Use mkstemp in place of mktemp. - -2001-11-09 Jeffrey A Law (law@cygnus.com) - - * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch. - (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise. - (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise. - (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise. - (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise. - (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise. - (unw_decode_b2, unw_decode_b3_b4): Likewise. - - * readelf.c (get_elf_class): Fix ISO portability glitch. - (get_data_encoding, get_osabi_name, request_dump): Likewise. - -2001-11-07 Jakub Jelinek - - * readelf.c (debug_str, debug_str_size): New. - (display_debug_abbrev): If no abbrevs were read, skip the CU. - Call free_abbrevs. - (read_and_display_addr): Handle DW_FORM_strp. - (display_debug_info): Read .debug_str section if present, - so that DW_FORM_strp can be handled. - Fix test for non-existant .debug_abbrev section. - -2001-11-05 Jakub Jelinek - - * arlex.l: Accept `\' in filenames. Patch by . - - * arsup.c (ar_open): Prepend tmp- to basename, not whole path. - -2001-11-05 Martin Schwidefsky - - * MAINTAINERS: Add self as s390/s390x maintainer. - -2001-11-02 Tom Rix - - * MAINTAINERS: Add self as PPC XCOFF maintainer. - -2001-11-02 Nick Clifton - - * configure.in (ALL_LINGUAS): Add "fr" and "tr". - * configure: Regernate. - * po/fr.po: New file. - * po/tr.po: New file. - -2001-10-30 Hans-Peter Nilsson - - * MAINTAINERS: Add self as MMIX port maintainer. - * readelf.c: Include elf/mmix.h. - (guess_is_rela): MMIX is RELA. - (dump_relocations): Handle MMIX relocations. - * Makefile.am: Regenerate dependencies. - * Makefile.in: Regenerate. - -2001-10-13 Nick Clifton - - * readelf.c (parse_args): Handle multiple options to the -w - switch. - -2001-10-12 Jakub Jelinek - - * readelf.c (get_section_type_name): Don't print SHT_ prefix for - LOPROC, LOOS and LOUSER. - -2001-10-11 J"orn Rennecke - - * MAINTAINERS: Update my email address. - -2001-10-03 Alan Modra - - * doc/Makefile.in: Regenerate. - * configure: Regenerate. - -2001-10-02 Nick Clifton - - * readelf.c (display_debug_line, display_debug_pubnames, - display_debug_info, display_debug_frames): Detect and warn - about 64-bit format entries. - (display_debug_aranges): Reword 64-bit warning. - (debug_displays): Add .debug_pubtypes as a known, but not yet - supported, debug section. - -2001-10-02 Alan Modra - - * coffdump.c (PROGRAM_VERSION): Delete. - (main <'V'>): Call print_version. - * srconv.c: Likewise. - * sysdump.c: Likewise. - * version.c (program_version): Remove. - (print_version): Use BFD_VERSION_STRING. Just print the current - year in copyright message. - * addr2line.c (program_version): Remove unused declaration. - * objdump.c (display_target_tables): Use BFD_VERSION_STRING in - place of BFD_VERSION. - * Makefile.am (Makefile): Depend on bfd/configure.in. - (cplus-dem.o): Depend on Makefile. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-10-01 Nick Clifton - - * readelf.c (display_debug_aranges): Detect and warn about DWARF64 - format .debug_arange sections. - (main): Add missing prototype. - -2001-09-30 Hans-Peter Nilsson - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate. - -2001-09-28 Richard Henderson - - * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0. - -2001-09-26 Alan Modra - - * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, - VA_CLOSE. - (non_fatal): Likewise. - * objdump.c (objdump_sprintf): Likewise. - * readelf.c (error): Likewise. - (warn): Likewise. - -2001-09-25 Jakub Jelinek - - * readelf.c (do_wide): New. - (options): Add --wide. - (usage, parse_args): Likewise. - (process_program_headers): Put each segment on a single line if - --wide is given. - (process_section_headers): Put each section on a single line if - --wide is given. - * doc/binutils.texi: Document it. - * NEWS: Likewise. - -2001-09-25 Alan Modra - - * readelf.c (print_vma): Print 8 digits of low hex value. - -2001-09-24 Andreas Jaeger - - * nlmconv.c: Fix warnings about unused attributes and function - prototypes. - - * strings.c: Add prototype for get_char. - -2000-09-19 H.J. Lu - - * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and - $(srcdir)/cxxfilt.man. - * doc/Makefile.in: Rebuild. - -2001-09-19 Alan Modra - - * objcopy.c (copy_main): Correct rename-section string parsing. - Consolidate new_name parsing, and error messages. - -2001-09-18 Bruno Haible - - * addr2line.c: Don't include . - (main): For gettext, also set the LC_CTYPE locate facet. - * ar.c (main): Likewise. - * coffdump.c (main): Likewise. - * dlltool.c: Include "safe-ctype.h" instead of . - (main): For gettext, also set the LC_CTYPE locate facet. - Use ISALNUM instead of isalpha/isdigit. - * dllwrap.c: Don't include . - (main): For gettext, also set the LC_CTYPE locate facet. - * nlmconv.c: Include "safe-ctype.h" instead of . - (main): For gettext, also set the LC_CTYPE locate facet. - Use TOUPPER instead of islower/toupper. - * nlmheader.y: Include "safe-ctype.h" instead of . - (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum. - Use TOUPPER instead of islower/toupper. - * nm.c (main): For gettext, also set the LC_CTYPE locate facet. - * objcopy.c (main): Likewise. - * objdump.c: Include "safe-ctype.h" instead of . - (disassemble_bytes): Use ISPRINT instead of isprint. - (dump_section_stabs): Use ISDIGIT instead of isdigit. - (dump_data): Use ISPRINT instead of isprint. - (main): For gettext, also set the LC_CTYPE locate facet. - * rclex.l: Include "safe-ctype.h" instead of . - (cpp_line, handle_quotes): Use ISSPACE instead of isspace. - * rcparse.y: Include "safe-ctype.h" instead of . - Use TOUPPER instead of islower/toupper. - * readelf.c (main): For gettext, also set the LC_CTYPE locate facet. - * resrc.c: Include "safe-ctype.h" instead of . - (write_rc_accelerators): Use ISPRINT instead of isprint. - (write_rc_rcdata): Likewise. - * size.c (main): For gettext, also set the LC_CTYPE locate facet. - * srconv.c (main): Likewise. - * stabs.c: Include "safe-ctype.h" instead of . - (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of - isdigit/isupper/islower. - (parse_stab_string, parse_stab_type, parse_stab_argtypes, - parse_stab_array_type, stab_demangle_count, stab_demangle_get_count, - stab_demangle_prefix, stab_demangle_qualified, - stab_demangle_template, stab_demangle_type, - stab_demangle_fund_type): Use ISDIGIT instead of isdigit. - * strings.c: Include "safe-ctype.h" instead of . - (isgraphic): Use ISPRINT instead of isascii/isprint. - (main): Remove HAVE_LC_MESSAGES dependency. - * sysdump.c: Include "safe-ctype.h" instead of . - (pbarray): Use ISPRINT instead of isprint. - (main): For gettext, also set the LC_CTYPE locate facet. - * windres.c: Include "safe-ctype.h" instead of . - (format_from_filename): Use ISPRINT instead of isprint. - (main): For gettext, also set the LC_CTYPE locate facet. - * winduni.c: Include "safe-ctype.h" instead of . - (unicode_print): Use ISPRINT instead of isprint. - * wrstabs.c: Include "safe-ctype.h" instead of . - (stab_variable): Use ISDIGIT instead of isdigit. - -2001-09-18 Alan Modra - - * ar.c (print_contents): Cast args of bfd_seek to the right types. - Replace bfd_read call with call to bfd_bread. - (extract_file): Likewise. - - * objdump.c (dump_section_header): Cast section->filepos to - unsigned long to suit printf format string. - * readelf.c (process_section_headers): Similarly for sh_offset. - (process_unwind): Likewise. - -2001-09-14 Nick Clifton - - * strings.c (encoding, encoding_bytes): New variables. - (long_options): Add --encoding. - (main): Accept -e and --encoding. - (get_char): New function. Read a, possibly wide, character from - the input stream. - (print_strings): Use get_char(). - (usage): Document new command line option. - * doc/binutils.texi: Document new command line option. - * NEWS: Announce new command line option. - -2001-09-12 Alexandre Oliva - - * readelf.c (guess_is_rela, dump_relocations, get_machine_name, - get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V, - EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD. - Removed EM_CYGNUS_ARC. - -2001-09-04 Jeffrey A Law (law@cygnus.com) - - * readelf.c: Include elf/h8 for H8 series definitions. - (guess_is_rela): H8 series if RELA. - (dump_relocations): Handle H8 series relocations. - -2001-08-31 Eric Christopher - - * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K. - -2001-08-29 Peter Targett - - * MAINTAINERS: Include ARC Maintainer. - -2001-08-29 Ben Elliston - - * stabs.c (stab_demangle_template): Initialise s4. - -2001-08-27 Alan Modra - - * readelf.c (dump_relocations): Recognise EM_PPC64. - -2001-08-26 Thiemo Seufer - - * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. - -2001-08-25 H.J. Lu - - * nm.c (print_width): New. - (display_rel_file): Set `print_width' according to - bfd_sprintf_vma. - (print_symbol_info_bsd): Check `print_width' instead of BFD64. - -2001-08-24 Alexandre Oliva - - * objcopy.c (use_alt_mach_code): New variable. - (OPTION_ALT_MACH_CODE): Define. - (copy_options): Added --alt-machine-code. - (copy_main): Handle it. - (copy_object): Switch to alternate machine code if requested. - * doc/binutils.texi: Document new option. - * NEWS: Likewise. - -2001-08-22 Thiemo Seufer - - * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE. - -2001-08-21 H.J. Lu - - * readelf.c (dump_relocations): Support ELF64 on 32bit hosts. - (display_debug_info): Cast for 64bit hosts. - (display_debug_frames): Likewise. - (process_mips_specific): Likewise. - -2001-08-21 Andreas Jaeger - - * coffgrok.h: Add missing parameter for prototype of coff_grok. - - * sysdump.c: Add missing prototypes. - * srconv.c: Likewise. - * unwind-ia64.c: Likewise. - * coffdump.c: Likewise. - - * sysinfo.y: Print prototypes, include . - - * coffgrok.c: Add missing prototypes, include libiberty.h instead - of declaring xcalloc. - -2001-08-10 H.J. Lu - - * nm.c (print_value): Add one arg, bfd *. - (print_value): Replace fprintf_vma with bfd_fprintf_vma. - (print_symbol_info_bsd): Also pass `abfd' to print_value (). - (print_symbol_info_sysv): Likewise. - (print_symbol_info_posix): Likewise. - - * objdump.c (dump_section_header): Replace printf_vma with - bfd_printf_vma. - (print_section_stabs): Likewise. - (dump_bfd_header): Likewise. - (objdump_print_value): Replace sprintf_vma with - bfd_sprintf_vma. - (disassemble_bytes): Likewise. - (dump_reloc_set): Likewise. - -2001-08-10 Andreas Jaeger - - * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes - to build warnings. - * configure: Regenerate. - -2001-08-09 Alan Modra - - * readelf.c: Add missing prototypes. - * objdump.c: Likewise. Format existing prototypes. - -2001-08-08 Alexandre Oliva - - * readelf.c (display_debug_info): Add to abbrev_offset the addend - of any RELA relocation for the abbrev_offset memory location that - refers to the .debug_abbrev section symbol. - -2001-08-07 H.J. Lu - - * readelf.c (process_file): Return 0 if OK, otherwise return 1. - (main): Return process_file (). - -2001-08-05 Philip Blundell - - * doc/binutils.texi: Use "Thumb" not "THUMB". - -2001-08-03 John Healy - - Patch suggested by Frank Eigler . - * objdump.c (disassemble_data): Fill in section member of the - disasm_info structure. - -2001-08-03 Tom Walsh - - * configure.in: Added --with-windres option. - * configure: Regenerated. - -2001-07-11 Stephane Carrez - - * doc/binutils.texi: Use @command{name} for commands; - use @option{-opt} for options; use @table @env for list of options; - remove spaces arround [ | ] in synopsis. - - * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the - center title. - -2001-07-31 Nick Clifton - - * objcopy.c: Fix formatting. - (section_rename): New structure. - (OPTION_RENAME_SECTION): New switch. - (copy_usage): Document new switch. - (add_section_rename): New function: Add a node to the section - rename list. - (find_section_rename): New function: Find the new name and - flags for a section. - (setup_section): Call find_section_name to determine the name - of the output section. - (copy_main): Handle OPTION_RENAME_SECTION. - * binutils.texi: Document new switch. - * NEWS: Mention new switch. - -2001-07-30 Nick Clifton - - * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org. - * MAINTAINERS: Rename bug-gnu-utils@gcc.org to - bug-binutils@gcc.org. - -2001-07-28 Matthias Kramm - - * bucomm.c (list_supported_architectures): New function. - * bucomm.h (list_supported_architectures): Declare. - * objdump.c (usage): Call the above. - -2001-07-25 Dave Brolley - - * objdump.c (SKIP_ZEROES): Only define it if it is not already defined. - (SKIP_ZEROES_AT_END): Only define it if it is not already defined. - -2001-07-19 Nick Clifton - - * README: Update for 2.11. Change bug reporting email address. - * MAINTAINERS: Tidy up. Change bug reporting email address. - -2001-07-16 DJ Delorie - - * resres.c (write_res_header): Align header size. - (res_align_file): Calculate alignment correctly. - - * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more - correct 10). - * resrc.c (write_rc_resource): Likewise. - * windres.h (SUBLANG_SHIFT): Define - as 10. - -2001-07-15 Nick Clifton - - * MAINTAINERS: Add Christian Groessler as maintainer for z8k port. - -2001-07-11 Nick Clifton - - * MAINTAINERS: Add notes about branch checkins. - -2001-07-05 Daniel Berlin - - * readelf.c (display_debug_macinfo): New function, display - .debug_macinfo section. - (do_debug_macinfo): New variable. - (parse_args): Handle "-w[mM]" to mean display macro info. - (process_section_headers): Handle debug_macinfo. - (debug_displays): Replace unsupported function with macinfo - function for .debug_macinfo display. - * doc/binutils.texi: Document new command line switch. - * NEWS: Document new feature of readelf. - -2001-07-05 H.J. Lu - - * objcopy.c (filter_symbols): Don't turn undefined symbols - into local. - -2001-07-03 H.J. Lu - - * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of - $@.pod. - (ar.1): Likewise. - (dlltool.1): Likewise. - (nlmconv.1): Likewise. - (nm.1): Likewise. - (objcopy.1): Likewise. - (objdump.1): Likewise. - (ranlib.1): Likewise. - (readelf.1): Likewise. - (size.1): Likewise. - (strings.1): Likewise. - (strip.1): Likewise. - (windres.1): Likewise. - (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod. - ($(DEMANGLER_NAME).1): Also substitute cxxfilt with - $(DEMANGLER_NAME). - (as.1): Removed. - * doc/Makefile.in: Regenerated. - -2001-07-03 Nick Clifton - - * MAINTAINERS: Change MIPS maintainer to Eric Christopher. - -2001-07-01 Daniel Berlin - - * readelf.c: Support DWARF 2.1 tags, encodings, languages. - -2001-06-29 James Cownie - - * readelf.c: Support DWARF 2.1 attributes. - -2001-06-28 Alan Modra - - * readelf.c (GET_DATA_ALLOC): Remove. - (GET_DATA): Remove. - (get_data): New function combining above macros, with an extra - test for zero size. - (slurp_rela_relocs): Use get_data, and catch error return. - (slurp_rel_relocs): Likewise. - (get_32bit_program_headers): Likewise. - (get_64bit_program_headers): Likewise. - (get_32bit_section_headers): Likewise. - (get_64bit_section_headers): Likewise. - (get_32bit_elf_symbols): Likewise. - (get_64bit_elf_symbols): Likewise. - (process_section_headers): Likewise. - (process_relocs): Likewise. - (slurp_ia64_unwind_table): Likewise. - (process_unwind): Likewise. - (get_32bit_dynamic_segment): Likewise. - (get_64bit_dynamic_segment): Likewise. - (process_dynamic_segment): Likewise. - (process_version_sections): Likewise. - (process_symbol_table): Likewise. - (dump_section): Likewise. - (display_debug_info): Likewise. - (display_debug_section): Likewise. - (process_section_contents): Likewise. - (process_corefile_note_segment): Likewise. - (process_mips_specific): Likewise. Also free econf32, econf64. - -2001-06-25 Alan Modra - - * readelf.c (dump_relocations): Print "bad symbol index" if - symtab == NULL with non-zero symtab_index. - (process_relocs): Don't bomb if reloc section has no symsec. - -2001-06-24 H.J. Lu - - * objcopy.c (strip_main): Revert the change made on 2001-05-30 - by accident. - (copy_main): Apply the the change made to strip_main on - 2001-05-30 by accident. - -2001-06-23 Andreas Jaeger - - * unwind-ia64.c (unw_decode_x1): Add unused attribute for - parameter 'code'. - (unw_decode_x2): Likewise. - (unw_decode_x3): Likewise. - (unw_decode_x4): Likewise. - -2001-06-23 Ben Elliston - - * MAINTAINERS: Add myself as M88k maintainer. - -2001-06-22 Jocelyn Mayer - - * objcopy.c (strip_main): Support -o or --output-file command lien - switch. - -2001-06-19 H.J. Lu - - * doc/Makefile.in: Regenerated. - -2001-06-19 Nick Clifton - - * readelf.c: Restore formatting. - -2001-06-18 H.J. Lu & Nick Clifton - - * Makefile.am: Move documentation into doc subdirectory. - * Makefile.in: Regenerated. - * binutils.texi: Move into doc subdirectory. - * addr2line.1: Removed. - * ar.1: Likewise. - * dlltool.1: Likewise. - * nlmconv.1: Likewise. - * nm.1: Likewise. - * objcopy.1: Likewise. - * objdump.1: Likewise. - * ranlib.1: Likewise. - * readelf.1: Likewise. - * size.1: Likewise. - * strings.1: Likewise. - * strip.1: Likewise. - * windres.1: Likewise. - * cxxfilt.man: Likewise. - * doc: New Directory. - * doc/Makefile.am: New file. - * doc/Makefile.in: Generate. - -2001-06-09 Alan Modra - - * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker. - -2001-06-01 Alan Modra - - * MAINTAINERS: Update my email address. - -2001-05-30 Honda Hiroki - - * objcopy.c: Add new switches: --keep-global-symbol, - --keep-symbols, --localize-symbols, --keep-global-symbols and - --weaken-symbols. - * binutils.texi: Document new switches. - * objcopy.1: Regenerate. - * NEWS: Announce new feature. - -2001-05-28 Andreas Jaeger - - * readelf.c (display_debug_frames): Fix warnings: Remove unused - variables, fix format strings. - -2001-05-28 Nick Clifton - - * objdump.c (disassemble_bytes): Remove section VMA adjustment - when computing the address of the line to show. - -2001-05-16 Richard Henderson - - * readelf.c (do_debug_frames_interp): New. - (byte_get_little_endian): If BFD64, always read entire 8-byte fields. - (byte_get_big_endian): Likewise. - (parse_args) ['F']: Set do_debug_frames_interp. - (Frame_Chunk): Make data_factor signed, add fde_encoding. - (frame_display_row): Don't trunc pc_begin to int. - (size_of_encoded_value): New. - (display_debug_frames): Handle 64-bit targets. Print raw data - unless do_debug_frames_interp. - (debug_displays): Remove duplicate .debug_frame. - -2001-05-15 Ralf Baechle - - * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE. - The former constant was never in active use and is used otherwise - by the ABI. - -2001-05-11 Jakub Jelinek - - * readelf.c (process_unwind): Print all unwind sections, not just - one. - -2001-05-07 Thiemo Seufer - - * readelf.c (process_unwind): Remove const specifier. - -2001-04-27 Michal Svec - - * strings.c (isgraphic): Do not use isascii() unless it is needed - for isprint() to work. - (main): Set the locale domain to LC_ALL not just LC_MESSAGES. - -2001-04-27 Johan Rydberg - - * NEWS: Announce support for OpenRISC. - -2001-04-17 Danny Smith - - * dlltool.c (do_default_excludes): Initialise to true. - -2001-04-10 Alan Modra - - * MAINTAINERS: Update my email address - * nm.c (print_symbol_info_bsd): Use a simple printf string. - -2001-04-05 Hans-Peter Nilsson - - * readelf.c (display_debug_lines): Fix typo for "Prologue". - -2001-03-30 H.J. Lu - - * readelf.c (process_unwind): Just return if do_unwind is 0. - -2001-03-28 Roger Sayle - - * dlltool.c (make_one_lib_file): Fix section flags for - .text, .data and .bss in stub ds*.o files to match those - generated by gas. - -2001-03-29 H.J. Lu - - * readelf.c (process_unwind): Only do unwind sections for - IA64. - -2001-03-28 H.J. Lu - - * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target. - * Makefile.in: Regenerate. - -2001-03-26 Andreas Jaeger - - * binutils.texi (nm): Fix texi syntax. - -2001-03-25 Stephane Carrez - - * binutils.texi: Put @c man begin and @c man end indications - to generate man pages using texi2pod and pod2man. Put @c man title - to identify each man. Add SEEALSO entries. - * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. - (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1, - sort the list. - (*.1): Build the man pages from binutils.texi. - * Makefile.in: Regenerate. - -2001-03-13 Eric Kohl - - * defparse.y (opt_equal_name): allow "." in name. - * dlltool.c (def_exports): Added ability to generate forwarded exports. - (gen_exp_file): Likewise. - -2001-03-12 Stefan Geuken - - * NEWS: Document addition of -B switch to objcopy. - * binutils.texi: Document addition of -B switch to objcopy. - * objcopy.c: (copy_options): Add --binary-architecture. - (copy_usage): Document -B/--binary-architecture. - (copy_main): Support -B/--binary-architecture. Set - bfd_external_binary_architecture. - -2001-03-11 Andreas Jaeger - - * readelf.c (guess_is_rela): Handle EM_S390_OLD. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - -2001-02-28 Nick Clifton - - * readelf.c: (struct unw_aux_info): Remove const modifier for - 'strtab' field. - (process_unwind): Remove non-K&R compliant LHS type cast in call - to GET_DATA_ALLOC macro. - -2001-02-28 Philip Blundell - - * readelf.c (decode_ARM_machine_flags): Explicitly mention which - ABI is in use; remove ambiguity between the "unknown" EABI and - unrecognised ABIs. Handle version 2 ARM EABI. Update uses of - renamed EF_xx constants. - -2001-02-27 Alan Modra - - * configure.in (BFD_VERSION): New. - (AM_INIT_AUTOMAKE): Use $BFD_VERSION. - * configure: Regenerate. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2001-02-14 Nick Clifton - - * MAINTAINERS: Add "Obvious Fix" rule. - -2001-02-11 Michael Sokolov - - * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string - literal concatenation. - -2001-02-11 Michael Sokolov - - * readelf.c (struct unw_aux_info): Remove const from the info member. - (process_unwind): Don't type-cast the third argument to the - GET_DATA_ALLOC macro. - -2001-02-11 Nick Clifton - - * readelf.c (dump_relocations): Free corrected allocated - array. - (process_unwind): Fix compile time warning. - -2001-02-10 Nick Clifton - - * binutils.texi: Document new --unwind option to readelf. - -2001-02-09 Martin Schwidefsky - - * readelf.c: Add linux target for S/390. - -2001-02-10 Alan Modra - - * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case - printf is a macro. - -2001-02-08 Hans-Peter Nilsson - - * acinclude.m4 (AM_PROG_LEX): Override installed definition. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2001-02-07 Todd Vierling - - * bucomm.c (bfd_target_vector): Change extern array to pointer. - * objdump.c (bfd_target_vector): Likewise. - -2001-02-07 David Mosberger - - * readelf.c (process_unwind): New function. - (slurp_ia64_unwind_table): Ditto. - (dump_ia64_unwind): Ditto. - (find_symbol_for_address): Ditto. - (slurp_rela_relocs): New function (split off from dump_relocations()). - (slurp_rel_relocs): Ditto. - (parse_args): Handle '-u' option. - - * unwind-ia64.c: New file. - * unwind-ia64.h: New file. - * Makefile.am: Include unwind-ia64.c in readelf build. - * Makefile.in: Regenerate. - * po/binutils.pot: Regenerate. - -2001-02-04 Philip Blundell - - * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'. - * configure: Regenerate. - -2001-01-31 Steve deRosier - - * ieee.c (ieee_add_bb11): Don't check for backslashes - unless HAVE_DOS_BASED_FILE_SYSTEM is defined. - -2001-01-24 Mark Elbrecht - - * ieee.c: Update copyright. - (ieee_start_compilation_unit): Don't check for backslashes - unless HAVE_DOS_BASED_FILE_SYSTEM is defined. - - * stabs.c: Update copyright. Include "filenames.h". - (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs. - -2001-01-23 Jakub Jelinek - - * readelf.c (process_version_sections): Check if VERDEF or VERNEED - sections are present before using them. Remove code duplication. - (process_symbol_table): Check if VERDEF or VERNEED sections are - present before using them. - -2001-01-17 Nick Clifton - - * objcopy.c (copy_object): Fail if attempting to convert the - endianness of the input object file. - - * binutils.texi: Explain that objcopy cannot convert endianness. - -2001-01-16 Nick Clifton - - * readelf.c (string_table_length): New variable. - (SECTION_NAME): Catch out of range indices and missing section - pointers. - (process_section_headers): Delete useless local variable - string_table_offset. Set the value of string_table_length - after loading the string table. - (process_mips_specific): Use SECTION_NAME macro. - (process_file): Set string_table_length to 0 when it is freed. - -2001-01-12 Nick Clifton - - * version.c (print_version): Update copyright date. - -2001-01-11 Peter Targett - - * readelf.c (dump_relocations): Include selection with EM_ARC. - (get_machine_name) Update name to "ARC". - -2001-01-09 Nick Clifton - - * Makefile.am: Add rule to build objdump.o from objdump.c and - using OBJDUMP_DEFS. - * Makefile.in: Regenerate. - - * configure.in: Define OBJDUMP_DEFS. Default to empty. - (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to - -DDISASSEMBLER_NEEDS_RELOCS. - * configure: Regenerate. - - * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS - is defined read in the relocs even if dump_reloc_info is - false. - -2001-01-07 Philip Blundell - - * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with - `bug-binutils'. - * README: Likewise. - -2000-12-19 Nick Clifton - - * dlltool.c: Add missing support for arm-epoc-pe. - * configure.in: Add missing support for arm-epoc-pe. - * configure: Regenerate. - -2000-12-15 Nick Clifton - - * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel - Mode parts of the x86 port. - -2000-12-04 Andreas Jaeger - - * readelf.c (guess_is_rela): Add EM_X86_64. - (dump_relocations): Add EM_X86_64. - (get_machine_name): Add EM_X86_64. - Include "elf/x86-64.h". - -2000-12-12 Nick Clifton - - * readelf.c: Fix formatting. - -2000-12-11 Jan Hubicka - - * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer. - -2000-12-07 Andrew Haley - - * readelf.c (display_debug_frames): Only display columns that are - referenced by the frame debug info. - -2000-12-05 Nick Clifton - - * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer. - -2000-12-04 Jason Merrill - - * readelf.c (process_section_headers): Handle linkonce.wi sections. - (display_debug_section): Likewise. - (display_debug_info): Display CU header before bailing. - -2000-12-01 Chris Demetriou - - * readelf.c (get_machine_flags): Recognize MIPS32 ISA in - EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with - E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly. - - * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5, - and E_MIPS_ARCH_64. - - * readelf.c (get_machine_flags): Add case for - E_MIPS_MACH_SB1. - -2000-11-30 Richard Earnshaw - - * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value. - -2000-11-28 Hans-Peter Nilsson - - * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers. - Change sourceware.cygnus.com to sources.redhat.com. - Fix typo for "amongst". - -2000-11-28 Nick Clifton - - * strip.1 (COPYING): Mention that the GNU Free Documentation - License is present in the sources, but not the output, and - also available from the GNU website. - (GNU Free Documentation License): Comment out this section. - * strings.1: Ditto. - * size.1: Ditto. - * ranlib.1: Ditto. - * objdump.1: Ditto. - * objcopy.1: Ditto. - * nm.1: Ditto. - * nlmconv.1: Ditto. - * ar.1: Ditto. - * addr2line.1: Ditto. - -2000-11-27 DJ Delorie - - * readelf.c (usage): Add -wf (--debug-dump=frames) option. - (parse_args): Support -wf option. - (process_section_headers): Ditto. - (debug_displays): Ditto. - (display_debug_frames): New, dump *_frame sections. - (frame_need_space): Support for above. - (frame_display_row): Ditto. - * binutils.texi: Document it. - -2000-11-24 Nick Clifton - - * NEWS: Announce support for v5t, v5te and XScale. - -2000-11-22 Nick Clifton - - * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH, - EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM. - (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX. - (get_elf_section_flags: Add SHF_GROUP. - (process_section_headers): Adjust output for 32-bit binaries - to look nice on an 80 column terminal. - -2000-11-20 H.J. Lu - - * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to - ELFOSABI_AIX. - -2000-11-17 Richard Henderson - - * readelf.c (display_debug_lines): Adjust last change to - use sizeof (external->li_length). - -2000-11-17 Richard Henderson - - * readelf.c (display_debug_lines): Fix section length check - and end_of_sequence computation. - -2000-11-06 Nick Clifton - - * binutils.texi: Add GNU Free Documentation License. - * objcopy.1: Add GNU Free Documentation License. - * objdump.1: Add GNU Free Documentation License. - * addr2line.1: Add GNU Free Documentation License. - * ar.1: Add GNU Free Documentation License. - * nlmconv.1: Add GNU Free Documentation License. - * nm.1: Add GNU Free Documentation License. - * ranlib.1: Add GNU Free Documentation License. - * size.1: Add GNU Free Documentation License. - * strings.1: Add GNU Free Documentation License. - * strip.1: Add GNU Free Documentation License. - -2000-10-06 Luciano Gemme - - * objcopy.c (--srec-len=nn): New parameter to set the - maximum length of generated Srecords. - (--srec-forceS3): New parameter that restricts the generation of - Srecords to type S3 only. - * binutils.texi: Document new command line switches. - * objcopy.1: Docuemnt the new command line switches. - * NEWS: Announce the existence of the new command line switches. - -2000-10-31 Nick Clifton - - * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64 - code. Add Eric Chrisopher as maintainer of MN10300 port. - -2000-10-12 Roger Sayle - - * Make comma after string after icon/control optional. - -2000-09-13 Anders Norlander - - * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field. - - * NEWS: Mention support for MIPS32. - -2000-09-08 Nick Clifton - - * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12]. - -2000-09-07 H.J. Lu - - * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. - * configure: Rebuild. - -2000-09-06 Alexandre Oliva - - * configure: Rebuilt with new libtool.m4. - -2000-09-05 Nick Clifton - - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2000-09-04 Todd Vierling - - * strip.1: Fix stray '\' in -o formatting. - -2000-09-02 Nick Clifton - - * configure.in: Increase version number to 2.10.91. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/binutils.pot: Regenerate. - -2000-08-31 Alexandre Oliva - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-08-30 Jamie Guinan - - * resrc.c (close_input_stream): Delete extraneous logic - -2000-08-24 Hans-Peter Nilsson - - * NEWS: Mention support for CRIS. - -2000-08-21 Nick Clifton - - * addr2line.c: Changed email address for Ulrich Lauther. - -2000-08-17 Christopher C. Chimelis - - * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common"). - -2000-08-17 Nick Clifton - - * readelf.c (display_debug_pubnames): Only issue warning - message once. Terminate message with a new line. - (display_debug_aranges): Only display version 2 debug info. - -2000-08-14 Todd Vierling - - * objcopy.c (strip_main): Silently accept -d as an alias for -g - for compatibility with old BSD systems. - -2000-08-14 Jason Eckhardt - - * NEWS: Mention i860 support. - -2000-08-11 Carlo Wood - - * addr2line.c (main): Add const to char *. - -2000-08-11 Geoff Keating - - * ar.c (main): Don't crash if called with no arguments - or only '-X32_64' as an argument. - -2000-08-08 DJ Delorie - - * resrc.c: use "gcc -xc" instead of -xc-header - -2000-08-05 Jason Eckhardt - - * readelf.c (elf/i860.h): Include. - (dump_relocations): Add recognition of i860 architecture. - (guess_is_rela): Add recognition of i860 architecture. - -2000-08-03 Nick Clifton - - * MAINTAINERS: Add information about CGEN maintainers. - -2000-07-26 Geoff Keating - - * nm.c (main): Ignore '-X32_64' as an option. - * ar.c (main): Likewise. - * binutils.texi (nm): Document new option. - (ar): Likewise. - -2000-07-23 Michael Sokolov - - * rdcoff.c (external_coff_symbol_p): K&R-ise. - -2000-07-20 H.J. Lu - - * binutils.texi: Put back "@end table" deleted by - accident. - -2000-07-05 Kenneth Block - - * nm.c: Add optional style to demangle switch. - * objdump.c: Add optional style to demangle switch. - * addr2line.c: Add optional style to demangle switch. - * binutils.texi: Document optional style to demangle - switch. - -2000-07-20 Hans-Peter Nilsson - - * MAINTAINERS: Add self as CRIS port maintainer. - * readelf.c: Include elf/cris.h. - (guess_is_rela): Handle EM_CRIS. - (dump_relocations): Ditto. - (get_machine_name): Ditto. - * Makefile.am: Rebuild dependencies. - * Makefile.in: Regenerate. - * po/binutils.pot: Regenerate. - -2000-07-19 H.J. Lu - - * readelf.c (get_dynamic_type): Change "AUXILARY" to - "AUXILIARY". - (process_dynamic_segment): Print out strings for DT_CONFIG, - DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH. - -2000-07-19 Mark Kettenis - - * nm.c (usage): Change output of `nm --help' to include a - description of the purpose of the program and a detailed - description of the accepted options. - -2000-07-19 H.J. Lu - - * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB - to DF_1_NODEFLIB. - -2000-07-19 H.J. Lu - - * readelf.c (get_dynamic_type): Fix DT_CHECKSUM. - -2000-07-19 H.J. Lu - - * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to - DT_FEATURE. - (process_dynamic_segment): Likewise. - - * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT, - DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM. - (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB, - DF_1_NODUMP and DF_1_CONLFAT. - -2000-07-18 Nick Clifton - - * binutils.texi (readelf): Fix spelling typo. - -2000-07-11 Mark Kettenis - - * objdump.c (usage): Make output of `objdump --help' more - consistent with the rest of the GNU world. Add a line describing - the purpose of the program. - -2000-07-10 David Huggins-Daines - - * stabs.c (parse_stab_range_type): Cast to proper type to fix - warning. - -2000-07-10 Ryan Bradetich - - * readelf.c (get_dynamic_data): Add casts and use unsigned chars - to fix warnings. - (process_symbol_table): Ditto. - (procesS_extended_line_op): Ditto. - (display_debug_lines): Ditto. - (display_debug_pubnames): Ditto. - (read_and_display_attr): Ditto. - -2000-07-09 Nick Clifton - - * MAINTAINERS: Add several more port specific maintainers. - -2000-07-05 Nick Clifton - - * MAINTAINERS: Add blanket write privs for Michael Meissner. - -2000-06-05 DJ Delorie - - * MAINTAINERS: New. - -2000-07-01 Eric Fifer - - * dllwrap.c: Changed mistaken dyn_string_append() calls - to dyn_string_append_cstr(). - -2000-07-01 Alexander Aganichev - - * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils - struct debug_type stores size in bytes. - -2000-07-01 Alan Modra - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-27 Alan Modra - - * ar.c: Revert incorrect 2000-06-25 patch. - * bucomm.c: Likewise. - -2000-06-25 Mark Elbrecht - - * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external. - (external_coff_symbol_p): New function. - (parse_coff): Use it. - -2000-06-25 Alexander Aganichev - - * ar.c (normalize): Advance past both characters in a DOS based - : filepath prefix. - (main): Likewise. - * bucomm.c (make_tempname): Likewise. - -2000-06-24 Nick Clifton - - * objdump.c (usage): Fix description of --stabs switch. - -2000-06-22 Alan Modra - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - -2000-06-20 Alexander Aganichev - - * ar.c (normalize): Correct pointer comparison when checking for - backslashes. - (main): Likewise. - * bucomm.c (make_tempname): Likewise. - - * ieee.c (ieee_start_compilation_unit): Correct pointer comparison - and search for backslashes in the original pathname. - (ieee_add_bb11): Likewise. - -2000-06-18 Nick Clifton - - * ar.c (print_contents): Improve verbose message. - -2000-06-15 H.J. Lu - - * dyn-string.c: Removed. Not needed with dyn-string.c in - libiberty. - * dyn-string.h: Likewise. - - * Makefile.am: Remove references to dyn-string.c and - dyn-string.h. Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-15 H.J. Lu - - * binutils.texi: Put a warning on copying relocatable object - files between two different formats. - -2000-06-13 DJ Delorie - - * rcparse.y (control): ICON controls take an id as the first - parameter, not an optional string. Also, call new convenience - function that takes res_id's. - * resrc.c (define_control): missing text means zero-length string, - not zero ID. - (define_icon_control): New. - * windres.h: declare define_icon_control. - -2000-06-13 H.J. Lu - - * configure: Regenerate. - -2000-06-08 David O'Brien - - * configure.in (VERSION): Update to show this is the CVS mainline. - -2000-06-02 David O'Brien - - * strings.c (isgraphic): Interpret as a printable character, - analogous to . - -2000-05-30 Alan Modra - - * objdump.c (display_target_list): Use bfd_close_all_done, not - bfd_close to fix crash caused by 2000-05-24 change. - -2000-05-25 DJ Delorie - - * resrc.c (close_input_stream): zero out cpp_pipe after closing it. - -2000-05-26 Alan Modra - - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - -2000-05-26 Eli Zaretskii - - * ar.c: Include filenames.h. - (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes - and drive letters in file names. - (main): Support backslashes and drive letters in argv[0]. Drop - the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use - FILENAME_CMP instead of strcmp to compare file names. - (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for - DJGPP v2. - (do_quick_append) [__GO32__]: Ditto. - (get_pos_bfd, delete_members, move_members, replace_members): - Compare file names with FILENAME_CMP. - - * bucomm.c: Include filenames.h. - (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed - forward/backward slashes and drive letters in file names. - - * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support - mixed forward/backward slashes and drive letters in file names. - - * strings.c (O_BINARY, setmode, SET_BINARY): Define. - (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary - mode. - - * objcopy.c: Include filenames.h. - (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix - before comparing to "strip". - Use FILENAME_CMP to compare file names. - - * arsup.c: Include filenames.h. - (map_over_list, ar_delete, ar_replace, ar_extract): Use - FILENAME_CMP to compare file names. - (ar_open): Prepend "tmp-" instead of appending "-tmp", to create - the temporary file name. - - * configure.in: Check for setmode. - * configure: Regenerate. - -2000-05-24 Alan Modra - - * objdump.c (display_target_list): Close the bfd. - (display_info_table): Likewise. - -2000-05-14 H.J. Lu (hjl@gnu.org) - - * objcopy.c (filter_symbols): Don't strip global symbols in - relocatable object files. - -2000-05-14 Alan Modra - - * size.c (usage): Associate short options with corresponding long - option to give a clue as to their function. - -2000-05-14 Philippe De Muyter - - * size.c (main): Accept and ignore `-f' option. - -2000-05-13 Alan Modra - - * bucomm.h (gettext, dgettext, dcgettext, textdomain, - bindtextdomain): Replace defines with those from intl/libgettext.h - to quieten gcc warnings. - -2000-05-12 H.J. Lu - - * nlmconv.c (temp_filename): Removed. - - * nlmconv.c (link_inputs): Use make_temp_file () instead of - choose_temp_base (). - * objdump.c (display_target_list): Likewise. - (display_info_table): Likewise. - -2000-05-08 Alan Modra - - * objcopy.c (setup_section): Add const and gettext calls for err. - -2000-05-02 H.J. Lu - - * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of - ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD, - ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX, - ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO - and ELFOSABI_OPENBSD. - -2000-05-02 Kazu Hirata - - * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate. - * srconv.c: Likewise. - * sysdump.c: Likewise. - -2000-04-23 Denis Chertykov - - * readelf.c (guess_is_rela): AVR uses RELA relocations. - (get_machine_name): machine name for EM_AVR added. - -2000-04-21 Richard Henderson - David Mosberger - - * Makefile.am (readelf.o): Add elf/ia64.h. - * Makefile.in: Rebuild. - * readelf.c: Include elf/ia64.h. - (guess_is_rela, dump_relocations): Handle EM_IA_64. - -2000-04-17 Timothy Wall - - * objdump.c (disassemble_data): Set octets per byte *after* - resolving arch/mach for binary files. - -2000-04-14 Michael Sokolov - - * arlex.l: Add directives to increase lex buffer size. - - * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are - already included by bucomm.h. - -2000-04-10 Philippe De Muyter - - * readelf.c (dynamic_segment_mips_val): Call `sprintf', not - `strftime' since strftime is not available on all systems. - (process_mips_specific): Ditto. - -2000-04-07 Andrew Cagney - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure: Re-generate. - -2000-04-06 Alan Modra - - * addr2line.c: Update copyright. - * objcopy.1: Likewise, and title. - * strings.1: Likewise. - - * version.c (print_version): Add 2000. - - * rddbg.c (read_section_stabs_debugging_info): Don't use - bfd_size_type for strx to avoid printf problems if BFD64. - - * bucomm.c: (report): Remove `static'. - Move inclusion of stdarg.h/vararg.h from here. - * bucomm.h: To here. - (CONST): Change all occurences to const. - (report): Declare it. - (bfd_fatal): Add ATTRIBUTE_NORETURN. - (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN. - (non_fatal): Add ATTRIBUTE_PRINTF_1. - - * ar.c (main): Use fatal or non_fatal instead of fprintf. - Correct a typo in an error message. - (do_quick_append): Use non_fatal instead of fprintf. - (move_members): Use fatal instead of fprintf, exit. - * coffdump.c (main): Same here. - - * dlltool.c (display): Delete. - (warn): Delete. - (inform): Use `report' instead of `display'. - (rvaafter): Remove trailing \n from fatal error msg. - (rvabefore): Ditto. - (asm_prefix): Ditto. - (yyerror): Replace `warn' with `non_fatal', and remove \n. - (def_name): Likewise. - (run): Likewise. - (scan_all_symbols): Likewise. - (gen_lib_file): Likewise. - (def_library): Likewise. Remove extra program_name too. - (run): Remove \n from inform strings. - (scan_drectve_symbols): Likewise. - (add_excludes): Likewise. - (scan_open_obj_file): Likewise. - (gen_exp_file): Likewise. - (gen_lib_file): Likewise. - (process_duplicates): Likewise. - - * Makefile.am (dllwrap_SOURCES): Add version.c. - * dllwrap.c (program_version): Delete. - (print_version): Delete. - (display): Always print trailing \n. - (warn): New. - (delete_temp_files): Use warn instead of fprintf. Use gettext. - (run): Here too. - (main): And here. - (usage): gettext'ify. - (long_options): Add missing initialisers. - - * nlmconv.c (main): Use fatal/non_fatal instead of fprintf. - (select_output_format): Likewise. - (powerpc_mangle_relocs): Likewise. - (link_inputs): Likewise. - - * nm.c (set_print_radix): Use fatal instead of fprintf, exit. - (set_output_format): Likewise. - (main): Use non_fatal instead of fprintf. - (display_rel_file): Likewise. - - * objdump.c (slurp_symtab): Use non_fatal instead of fprintf. - (slurp_dynamic_symtab): Same here. - (disassemble_data): And here. - (read_section_stabs): And here. - (read_section_stabs): And here. - (dump_bfd): And here. - (main): And here. - (objdump_sprintf): Use fatal instead of fprintf, exit. - (disassemble_data): Same here. - - * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf. - (parse_coff_struct_type): Same here. - (parse_coff_enum_type): And here. - (parse_coff): And here. - * rddbg.c (read_debugging_info): And here. - * size.c (main): And here. - * windres.c (format_from_name): And here. - * wrstabs.c (stab_write_symbol): Here too. - (write_stabs_in_sections_debugging_info): And here. - (stab_int_type): And here. - (stab_struct_field): And here. - (stab_typdef): And here. - - * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit. - * srconv.c (main): Same here. - * strings.c (main): And here. - (integer_arg): And here. - * sysdump.c (main): And here. - -2000-04-06 Timothy Wall - - * objdump.c (dump_section_header): Print CLINK and BLOCK flags. - -2000-04-06 Jason Merrill - - * readelf.c (decode_location_expression): Loop through multiple - operations. - (read_and_display_attr): Pass in length. - - * readelf.c (read_and_display_attr): Add CU offset to references. - (display_debug_info): Pass it in. - -2000-04-06 Nick Clifton - - * readelf.c (decode_ARM_machine_flags): New function. - (get_machine_flags): Call decode_ARM_machine_flags for ARM - targets. - - (get_machine_name): Catch EM_AVR - -2000-04-05 Alan Modra - - * binutils.texi: Remove optional `=' from long options that have - an `=' in the argument. - * objcopy.1: Here too. Remove extra space on discard-all. - - * binutils.texi (objcopy): Mention --redefine-sym. - * objcopy.1: Here too. - * NEWS: And here. - - * objcopy.c (parse_flags): Split off flag names from error message - gettext as they are not translated. - (copy_main): Similarly split off option name for --add-section, - --set-section-flags, --change-section-vma, --change-section-lma - error messages. - Some white space changes. - - from Matthew Benjamin - * objcopy.c (struct redefine_node): New. - (redefine_sym_list): New. - (redefine_list_append): New. - (lookup_sym_redefinition): New. - (OPTION_REDEFINE_SYM): New. - (copy_options): Add --redefine-sym option. - (copy_usage): Mention it. - (filter_symbols): Rename symbols on redefine_sym_list. - (copy_object): Call filter_symbols if redefine_sym_list != NULL. - (copy_main): Handle OPTION_REDEFINE_SYM. - -2000-04-04 H.J. Lu - - * readelf.c (process_symbol_table): Correctly read in symbol - versioning information. - -2000-04-04 Alan Modra - - * po/binutils.pot: Regenerate. - - * addr2line.c (usage): Restore translated part of bug string. - * ar.c (usage): Likewise. - * nlmconv.c (show_usage): Likewise. - * nm.c (usage): Likewise. - * objcopy.c (copy_usage): Likewise. - (strip_usage): Likewise. - * objdump.c (usage): Likewise. - * readelf.c (usage): Likewise. - * size.c (usage): Likewise. - * strings.c (usage): Likewise. - * windres.c (usage): Likewise. - - * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. - (DEP): Quote when passing vars to sub-make. Add warning - message to end. - (DEP1): Rewrite for "gcc -MM". - (CLEANFILES): Add DEP2. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-04 H.J. Lu - - * Makefile.am (GENERATED_HFILES): Add rcparse.h - (arparse.h): Depend on arparse.c - (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly. - -2000-04-03 H.J. Lu (hjl@gnu.org) - - * size.c (usage): Use REPORT_BUGS_TO. - -2000-04-03 Alan Modra - - * bucomm.h: #include "bin-bugs.h" - * addr2line.c (usage): Use REPORT_BUGS_TO. - * ar.c (usage): Likewise. - * nlmconv.c (show_usage): Likewise. - * nm.c (usage): Likewise. - (OPTION_TARGET): Define. - (long_options): Use OPTION_TARGET rather than 200. - (main): Likewise. - - * objcopy.c (copy_usage): Use REPORT_BUGS_TO. - (strip_usage): Likewise. - * objdump.c (usage): Likewise. - * readelf.c (usage): Likewise. - * strings.c (usage): Likewise. - * windres.c (usage): Likewise. - -2000-03-31 John David Anglin - - * readelf.c: Include sys/types.h before sys/stat.h for ultrix. - -2000-03-27 Nick Clifton - - * rddbg.c (read_section_stabs_debugging_info): Catch out of range - string offsets in corrupt stabs entries. - -2000-03-27 Alan Modra - - * readelf.c: Include elf/avr.h - (dump_relocations): Add EM_AVR case. - -2000-03-09 Tim Waugh - - * strings.1: Correct '-bytes' to '--bytes'. - -2000-03-08 H.J. Lu - - * Makefile.am (install-exec-local): Depend on - install-binPROGRAMS for parallel make. - * Makefile.in: Regenerated. - -2000-02-27 Ian Lance Taylor - - From Brad Lucier : - * readelf.c (process_dynamic_segment): Add cast to make sure - argument to %* is int. - -2000-02-25 H.J. Lu - - * configure.in (AC_SEARCH_LIBS): Pass m, not -lm. - -2000-02-24 Nick Clifton - - * configure.in: Add arm-wince, mips-pe and sh-pe targets. - * configure: Regenerate. - - * dlltool.c: Add support for sh-pe and mips-pe targets. - * rescoff.c: Add support for sh-pe and mips-pe targets. - -2000-02-23 H.J. Lu - - * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX. - -2000-02-22 Nick Clifton - - * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER. - -2000-02-22 Ian Lance Taylor - - From Brad Lucier : - * readelf.c (process_version_sections): Add casts to make sure - argument to %* is an int. - (process_mips_specific): Add casts to make printf arguments match - format. - -2000-02-21 Alan Modra - - * objdump.c (dump_section_header): Change `opb' to unsigned. - (find_symbol_for_address): Same here. - (disassemble_data): And here. Change `addr_offset', - `stop_offset', `nextstop_offset' to unsigned long. - (dump_data): Change opb to unsigned. - -2000-02-18 Frank Ch. Eigler - - * resrc.c: Remove unmatched #if for cygwin. - -2000-02-14 Fernando Nasser - - * binutils.texi: Document the change of flavor name from atpcs-special - to special-atpcs to prevent name conflict in gdb. - -2000-02-08 Timothy Wall - - * objdump.c (show_line): Fix bug preventing printing of the very - first line (line zero) of a file when interlisting source and - assembly. Added option to print entire context from start of file - when the first line from that file is encountered. - -2000-02-03 Timothy Wall - - * objdump.c (dump_section_header, find_symbol_for_address, - show_line, disassemble_bytes, disassemble_data, dump_data): - distinguish between octets and bytes. - -2000-01-27 Thomas de Lellis - - * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to - check to unresolved symbols. - (print_symbol_info_sysv): Ditto. - (print_symbol_info_posix): Ditto. - - * binutils.texi: Document new 'V' symclass flag for nm. - -2000-01-27 Nick Clifton - - * binutils.texi (objdump): Document new ARM specific - disassembler options. - - * objdump.c (usage): Call disassembler_usage(). - -2000-01-27 Alan Modra - - * readelf.c (get_dynamic_flags): Return buff. - (process_dynamic_segment): Don't pass error strings to printf - as format arg. - (read_and_display_attr): Use lx and ld to print longs. - (process_corefile_note_segment): Cast bfd_vma to unsigned long - before printing. - Update copyright. - -2000-01-17 Nick Clifton - - * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM. - -2000-01-15 Alan Modra - - * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than - false. - (debug_tag_type): Here too. - * ieee.c (ieee_builtin_type): And here. - * stabs.c (parse_stab_type, parse_stab_array_type): And here. - -2000-01-13 Nick Clifton - - * readelf.c (get_machine_name): Change EM_S370 to return "IBM - System/370". - -2000-01-11 Nick Clifton - - * readelf.c (get_dynamic_type): Remove DT_ENCODING. - -2000-01-10 Nick Clifton - - * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes. - -2000-01-07 Mumit Khan - - * windres.c (long_options): Add --use-temp-file and - --no-use-temp-file options. - (usage): Document. - (main): Handle. - - * windres.h: Update read_rc_file prototype. - - * resrc.c (cpp_temp_file): New static variable. - (istream_type): New static variable. - (close_pipe): Delete function. - (run_cmd): New static function. - (open_input_stream): New static function. - (close_input_stream): New static function. - (look_for_default): Handle DOS directory separator. Use - open_input_stream instead of popen. - (read_rc_file): Likewise. - - * binutils.texi: Document --use-temp-file, --no-use-temp-file - options. - -2000-01-04 Mumit Khan - - * dlltool.c (create_compat_implib): New variable. - (gen_exp_file): Use. - (make_one_lib_file): Use. - (long_options): Add --compat-implib option. - (usage): Handle. - (main): Handle. - - * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET. - (main): Use. Don't look for "32" in cygwin and mingw target names. - -2000-01-03 Nick Clifton - - * binutils.texi: Document new, ARM specific disassembler - command line switch "-M force-thumb". - -For older changes see ChangeLog-9899 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-0001 b/binutils/ChangeLog-0001 new file mode 100644 index 00000000000..9d1489432e8 --- /dev/null +++ b/binutils/ChangeLog-0001 @@ -0,0 +1,2060 @@ +2001-12-20 Julian v. Bock + + * readelf.c (print_symbol): New function: Print a formatted symbol + name. If --wide is specified do not truncate it. + (dump_relocations): Use print_symbol() to print symbol names. + (process_symbol_table): Likewise. + (process_syminfo): Likewise. + (process_mips_specific): Likewise. + (usage): Document new feature of --wide switch. + * doc/binutils.texi (objdump): Document additional behaviour of + --wide. + +2001-12-18 Michael Snyder + + * objcopy.c (copy_file): Accept corefiles (format bfd_core). + (copy_object): Don't set the start address or flags of a core file. + (copy_section): Don't relocate a core file. Don't copy contents + if the input section has the contents flag set, but the output + section does not (which happens with the fake 'note' pseudo- + sections that BFD creates for corefiles). + +2001-12-18 Thiemo Seufer + + * readelf.c (get_machine_flags): Recognize header flags for ABI and + ASE extensions. More robust code for ISA checking. Ignore empty fields + in header flags for GNU extensions. + +2001-12-18 Alan Modra + + * objcopy.c (copy_archive): Set output bfd format outside the loop. + +2001-12-18 Nick Clifton + + * po/ja.po: Import from translation project. + * configure.in (ALL_LINGUAS): Add ja. + * configure: Regenerate. + +2001-12-18 Thiemo Seufer + + * addr2line.c (main): Protoype. + * ar.c (main): Protoype. + * nm.c (main): Protoype. + * objcopy.c (main): Protoype. + * objdump.c (main): Protoype. + * size.c (main): Protoype. + * strings.c (main): Protoype. + +2001-12-17 Alan Modra + + * readelf.c (symtab_shndx_hdr): New global. + (SECTION_HEADER_INDEX): Define. + (SECTION_HEADER_NUM): Define. + (SECTION_HEADER): Define. + (GET_ELF_SYMBOLS): Pass two params rather than three. + (get_32bit_elf_symbols): Take file and section args. Read and + use SHT_SYMTAB_SHNDX. + (get_64bit_elf_symbols): Likewise. + (dump_relocations): Use SECTION_HEADER to index "section_headers". + (process_section_headers): Likewise. Use SECTION_HEADER_NUM too. + Remember symtab_shdx_hdr. + (process_program_headers): Scan from index 1 for segment map. + (slurp_ia64_unwind_table): Use SECTION_HEADER to index + "section_headers". + (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS. + (process_unwind): Likewise. + (process_version_sections): Likewise. + (process_symbol_table): Likewise. + (display_debug_info): Likewise. + (process_dynamic_segment): Fake up a symtab section for changed + GET_ELF_SYMBOLS. + (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE. + (process_program_headers): Kill signed/unsigned warning. + (load_debug_str): Likewise. + (display_debug_info): Likewise. + +2001-12-13 Jakub Jelinek + + * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME. + +2001-12-11 Alan Modra + + * readelf.c (process_file_header): Print extended e_shnum and + e_shdtrndx values. Set elf_header values for same. + (get_32bit_section_headers): Add "num" arg to read "num" headers. + (get_64bit_section_headers): Likewise. + (process_section_headers): Update calls. + (get_file_header): Call get_32bit_section_headers or 64bit variant. + +2001-12-10 Jakub Jelinek + + * objcopy.c (setup_section): Copy entsize. + +2001-12-07 Geoffrey Keating + + * readelf.c (guess_is_rela): Add support for stormy16. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + +2001-12-05 Nick Clifton + + * dllwrap.c (main) Replace multiple strings describing a + single error with a single, newline escaped sentence to permit + better translation into foreign languages. + + * readelf.c (get_elf_class): Remove internalionalisation of ELF + class names. + +2001-12-04 Thiemo Seufer + + * strings.c (get_char): Initialize value. + +2001-12-04 Thiemo Seufer + + * arlex.l: Silence compile warnings. + * arsup.h: Likewise. Fix formatting. + +2001-12-04 Jakub Jelinek + + * strings.c: Include config.h before bfd.h. + (file_off): New type. + (file_open): Define. + (print_strings): Use file_off instead of file_ptr. Print addresses + which don't fit into long correctly. + (get_char): Use file_off instead of file_ptr. Use getc_unlocked if + available. + (strings_file): Use file_off instead of file_ptr. Use file_open. + * configure.in: Check for getc_unlocked. + Check for fopen64 and whether _LARGEFILE64_SOURCE needs to + be defined for it. + * configure: Rebuilt. + * config.h.in: Rebuilt. + +2001-11-29 H.J. Lu + + * bucomm.c (make_tempname): Revert the changes made on + 2001-11-14 and 2001-11-12. They won't work with directories. + +2001-11-23 John David Anglin + + * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and + CFLAGS_FOR_TARGET to runtest in environment. + * Makefile.in: Rebuild. + * doc/Makefile.in: Rebuild. + +2001-11-28 Mike Stump + + * objcopy.c (setup_section): Preserve SEC_RELOC when + --set-section-flags is used. + +2001-11-19 Nick Clifton + + * readelf.c (do_debug_str): New variable. + (display_debug_str): New function: Display the contents of a + .debug_str section. + (load_debug_str): New function: Load in the contents of a + .debug_str section. + (free_debug_str): New function: Free the memory used by + load_debug_str(). + (fetch_indirect_string): Retrieve a string from the .debug_str + section. + (usage): Add -ws. + (parse_args): Accept -ws. + (process_section_headers): Allow the display of the .debug_str + section. + (read_and_display_attr_value): Use fetch_indirect_string. Show + offset into .debug_str section. + (display_debug_info): Use load_debug_str and free_debug_str. + (debug_displays): Add .debug_str. + * doc/binutils.texi: Document -ws. + +2001-11-19 Andreas Jaeger + + * testsuite/binutils-all/objdump.exp: Add x86-64. + +2001-11-15 Andreas Schwab + + * readelf.c: Fix warnings without terminating newline. + +2001-11-15 Alan Modra + + * doc/binutils.texi (objdump): Document ppc -M options. + +2001-11-14 Andreas Jaeger + + * doc/binutils.texi (objdump): Fix description to use x86-64. + +2001-11-14 Nick Clifton + + * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since + not all systems provide mkstemp. + +2001-11-14 Alan Modra + + * doc/binutils.texi (objdump): Document x86 -M options. + +2001-11-13 Keith Walker + + * readelf.c (read_and_display_attr_value): New function to + handle DW_FORM_indirect. + (read_and_display_attr): Use it. + +2001-11-13 Geoffrey Keating + + * readelf.c (display_debug_lines): Deal with unknown standard + opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, + DW_LNS_set_isa. + +2001-11-13 Timothy Wall + + * MAINTAINERS: Add self as tic54x maintainer. This target + includes the IBM C54XDSP clone. + +2001-11-12 * Steven J. Hill + + * bucomm.c (make_tempname): Use mkstemp in place of mktemp. + +2001-11-09 Jeffrey A Law (law@cygnus.com) + + * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch. + (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise. + (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise. + (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise. + (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise. + (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise. + (unw_decode_b2, unw_decode_b3_b4): Likewise. + + * readelf.c (get_elf_class): Fix ISO portability glitch. + (get_data_encoding, get_osabi_name, request_dump): Likewise. + +2001-11-07 Jakub Jelinek + + * readelf.c (debug_str, debug_str_size): New. + (display_debug_abbrev): If no abbrevs were read, skip the CU. + Call free_abbrevs. + (read_and_display_addr): Handle DW_FORM_strp. + (display_debug_info): Read .debug_str section if present, + so that DW_FORM_strp can be handled. + Fix test for non-existant .debug_abbrev section. + +2001-11-05 Jakub Jelinek + + * arlex.l: Accept `\' in filenames. Patch by . + + * arsup.c (ar_open): Prepend tmp- to basename, not whole path. + +2001-11-05 Martin Schwidefsky + + * MAINTAINERS: Add self as s390/s390x maintainer. + +2001-11-02 Tom Rix + + * MAINTAINERS: Add self as PPC XCOFF maintainer. + +2001-11-02 Nick Clifton + + * configure.in (ALL_LINGUAS): Add "fr" and "tr". + * configure: Regernate. + * po/fr.po: New file. + * po/tr.po: New file. + +2001-10-30 Hans-Peter Nilsson + + * MAINTAINERS: Add self as MMIX port maintainer. + * readelf.c: Include elf/mmix.h. + (guess_is_rela): MMIX is RELA. + (dump_relocations): Handle MMIX relocations. + * Makefile.am: Regenerate dependencies. + * Makefile.in: Regenerate. + +2001-10-13 Nick Clifton + + * readelf.c (parse_args): Handle multiple options to the -w + switch. + +2001-10-12 Jakub Jelinek + + * readelf.c (get_section_type_name): Don't print SHT_ prefix for + LOPROC, LOOS and LOUSER. + +2001-10-11 J"orn Rennecke + + * MAINTAINERS: Update my email address. + +2001-10-03 Alan Modra + + * doc/Makefile.in: Regenerate. + * configure: Regenerate. + +2001-10-02 Nick Clifton + + * readelf.c (display_debug_line, display_debug_pubnames, + display_debug_info, display_debug_frames): Detect and warn + about 64-bit format entries. + (display_debug_aranges): Reword 64-bit warning. + (debug_displays): Add .debug_pubtypes as a known, but not yet + supported, debug section. + +2001-10-02 Alan Modra + + * coffdump.c (PROGRAM_VERSION): Delete. + (main <'V'>): Call print_version. + * srconv.c: Likewise. + * sysdump.c: Likewise. + * version.c (program_version): Remove. + (print_version): Use BFD_VERSION_STRING. Just print the current + year in copyright message. + * addr2line.c (program_version): Remove unused declaration. + * objdump.c (display_target_tables): Use BFD_VERSION_STRING in + place of BFD_VERSION. + * Makefile.am (Makefile): Depend on bfd/configure.in. + (cplus-dem.o): Depend on Makefile. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-10-01 Nick Clifton + + * readelf.c (display_debug_aranges): Detect and warn about DWARF64 + format .debug_arange sections. + (main): Add missing prototype. + +2001-09-30 Hans-Peter Nilsson + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate. + +2001-09-28 Richard Henderson + + * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0. + +2001-09-26 Alan Modra + + * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, + VA_CLOSE. + (non_fatal): Likewise. + * objdump.c (objdump_sprintf): Likewise. + * readelf.c (error): Likewise. + (warn): Likewise. + +2001-09-25 Jakub Jelinek + + * readelf.c (do_wide): New. + (options): Add --wide. + (usage, parse_args): Likewise. + (process_program_headers): Put each segment on a single line if + --wide is given. + (process_section_headers): Put each section on a single line if + --wide is given. + * doc/binutils.texi: Document it. + * NEWS: Likewise. + +2001-09-25 Alan Modra + + * readelf.c (print_vma): Print 8 digits of low hex value. + +2001-09-24 Andreas Jaeger + + * nlmconv.c: Fix warnings about unused attributes and function + prototypes. + + * strings.c: Add prototype for get_char. + +2000-09-19 H.J. Lu + + * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and + $(srcdir)/cxxfilt.man. + * doc/Makefile.in: Rebuild. + +2001-09-19 Alan Modra + + * objcopy.c (copy_main): Correct rename-section string parsing. + Consolidate new_name parsing, and error messages. + +2001-09-18 Bruno Haible + + * addr2line.c: Don't include . + (main): For gettext, also set the LC_CTYPE locate facet. + * ar.c (main): Likewise. + * coffdump.c (main): Likewise. + * dlltool.c: Include "safe-ctype.h" instead of . + (main): For gettext, also set the LC_CTYPE locate facet. + Use ISALNUM instead of isalpha/isdigit. + * dllwrap.c: Don't include . + (main): For gettext, also set the LC_CTYPE locate facet. + * nlmconv.c: Include "safe-ctype.h" instead of . + (main): For gettext, also set the LC_CTYPE locate facet. + Use TOUPPER instead of islower/toupper. + * nlmheader.y: Include "safe-ctype.h" instead of . + (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum. + Use TOUPPER instead of islower/toupper. + * nm.c (main): For gettext, also set the LC_CTYPE locate facet. + * objcopy.c (main): Likewise. + * objdump.c: Include "safe-ctype.h" instead of . + (disassemble_bytes): Use ISPRINT instead of isprint. + (dump_section_stabs): Use ISDIGIT instead of isdigit. + (dump_data): Use ISPRINT instead of isprint. + (main): For gettext, also set the LC_CTYPE locate facet. + * rclex.l: Include "safe-ctype.h" instead of . + (cpp_line, handle_quotes): Use ISSPACE instead of isspace. + * rcparse.y: Include "safe-ctype.h" instead of . + Use TOUPPER instead of islower/toupper. + * readelf.c (main): For gettext, also set the LC_CTYPE locate facet. + * resrc.c: Include "safe-ctype.h" instead of . + (write_rc_accelerators): Use ISPRINT instead of isprint. + (write_rc_rcdata): Likewise. + * size.c (main): For gettext, also set the LC_CTYPE locate facet. + * srconv.c (main): Likewise. + * stabs.c: Include "safe-ctype.h" instead of . + (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of + isdigit/isupper/islower. + (parse_stab_string, parse_stab_type, parse_stab_argtypes, + parse_stab_array_type, stab_demangle_count, stab_demangle_get_count, + stab_demangle_prefix, stab_demangle_qualified, + stab_demangle_template, stab_demangle_type, + stab_demangle_fund_type): Use ISDIGIT instead of isdigit. + * strings.c: Include "safe-ctype.h" instead of . + (isgraphic): Use ISPRINT instead of isascii/isprint. + (main): Remove HAVE_LC_MESSAGES dependency. + * sysdump.c: Include "safe-ctype.h" instead of . + (pbarray): Use ISPRINT instead of isprint. + (main): For gettext, also set the LC_CTYPE locate facet. + * windres.c: Include "safe-ctype.h" instead of . + (format_from_filename): Use ISPRINT instead of isprint. + (main): For gettext, also set the LC_CTYPE locate facet. + * winduni.c: Include "safe-ctype.h" instead of . + (unicode_print): Use ISPRINT instead of isprint. + * wrstabs.c: Include "safe-ctype.h" instead of . + (stab_variable): Use ISDIGIT instead of isdigit. + +2001-09-18 Alan Modra + + * ar.c (print_contents): Cast args of bfd_seek to the right types. + Replace bfd_read call with call to bfd_bread. + (extract_file): Likewise. + + * objdump.c (dump_section_header): Cast section->filepos to + unsigned long to suit printf format string. + * readelf.c (process_section_headers): Similarly for sh_offset. + (process_unwind): Likewise. + +2001-09-14 Nick Clifton + + * strings.c (encoding, encoding_bytes): New variables. + (long_options): Add --encoding. + (main): Accept -e and --encoding. + (get_char): New function. Read a, possibly wide, character from + the input stream. + (print_strings): Use get_char(). + (usage): Document new command line option. + * doc/binutils.texi: Document new command line option. + * NEWS: Announce new command line option. + +2001-09-12 Alexandre Oliva + + * readelf.c (guess_is_rela, dump_relocations, get_machine_name, + get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V, + EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD. + Removed EM_CYGNUS_ARC. + +2001-09-04 Jeffrey A Law (law@cygnus.com) + + * readelf.c: Include elf/h8 for H8 series definitions. + (guess_is_rela): H8 series if RELA. + (dump_relocations): Handle H8 series relocations. + +2001-08-31 Eric Christopher + + * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K. + +2001-08-29 Peter Targett + + * MAINTAINERS: Include ARC Maintainer. + +2001-08-29 Ben Elliston + + * stabs.c (stab_demangle_template): Initialise s4. + +2001-08-27 Alan Modra + + * readelf.c (dump_relocations): Recognise EM_PPC64. + +2001-08-26 Thiemo Seufer + + * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. + +2001-08-25 H.J. Lu + + * nm.c (print_width): New. + (display_rel_file): Set `print_width' according to + bfd_sprintf_vma. + (print_symbol_info_bsd): Check `print_width' instead of BFD64. + +2001-08-24 Alexandre Oliva + + * objcopy.c (use_alt_mach_code): New variable. + (OPTION_ALT_MACH_CODE): Define. + (copy_options): Added --alt-machine-code. + (copy_main): Handle it. + (copy_object): Switch to alternate machine code if requested. + * doc/binutils.texi: Document new option. + * NEWS: Likewise. + +2001-08-22 Thiemo Seufer + + * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE. + +2001-08-21 H.J. Lu + + * readelf.c (dump_relocations): Support ELF64 on 32bit hosts. + (display_debug_info): Cast for 64bit hosts. + (display_debug_frames): Likewise. + (process_mips_specific): Likewise. + +2001-08-21 Andreas Jaeger + + * coffgrok.h: Add missing parameter for prototype of coff_grok. + + * sysdump.c: Add missing prototypes. + * srconv.c: Likewise. + * unwind-ia64.c: Likewise. + * coffdump.c: Likewise. + + * sysinfo.y: Print prototypes, include . + + * coffgrok.c: Add missing prototypes, include libiberty.h instead + of declaring xcalloc. + +2001-08-10 H.J. Lu + + * nm.c (print_value): Add one arg, bfd *. + (print_value): Replace fprintf_vma with bfd_fprintf_vma. + (print_symbol_info_bsd): Also pass `abfd' to print_value (). + (print_symbol_info_sysv): Likewise. + (print_symbol_info_posix): Likewise. + + * objdump.c (dump_section_header): Replace printf_vma with + bfd_printf_vma. + (print_section_stabs): Likewise. + (dump_bfd_header): Likewise. + (objdump_print_value): Replace sprintf_vma with + bfd_sprintf_vma. + (disassemble_bytes): Likewise. + (dump_reloc_set): Likewise. + +2001-08-10 Andreas Jaeger + + * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes + to build warnings. + * configure: Regenerate. + +2001-08-09 Alan Modra + + * readelf.c: Add missing prototypes. + * objdump.c: Likewise. Format existing prototypes. + +2001-08-08 Alexandre Oliva + + * readelf.c (display_debug_info): Add to abbrev_offset the addend + of any RELA relocation for the abbrev_offset memory location that + refers to the .debug_abbrev section symbol. + +2001-08-07 H.J. Lu + + * readelf.c (process_file): Return 0 if OK, otherwise return 1. + (main): Return process_file (). + +2001-08-05 Philip Blundell + + * doc/binutils.texi: Use "Thumb" not "THUMB". + +2001-08-03 John Healy + + Patch suggested by Frank Eigler . + * objdump.c (disassemble_data): Fill in section member of the + disasm_info structure. + +2001-08-03 Tom Walsh + + * configure.in: Added --with-windres option. + * configure: Regenerated. + +2001-07-11 Stephane Carrez + + * doc/binutils.texi: Use @command{name} for commands; + use @option{-opt} for options; use @table @env for list of options; + remove spaces arround [ | ] in synopsis. + + * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the + center title. + +2001-07-31 Nick Clifton + + * objcopy.c: Fix formatting. + (section_rename): New structure. + (OPTION_RENAME_SECTION): New switch. + (copy_usage): Document new switch. + (add_section_rename): New function: Add a node to the section + rename list. + (find_section_rename): New function: Find the new name and + flags for a section. + (setup_section): Call find_section_name to determine the name + of the output section. + (copy_main): Handle OPTION_RENAME_SECTION. + * binutils.texi: Document new switch. + * NEWS: Mention new switch. + +2001-07-30 Nick Clifton + + * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org. + * MAINTAINERS: Rename bug-gnu-utils@gcc.org to + bug-binutils@gcc.org. + +2001-07-28 Matthias Kramm + + * bucomm.c (list_supported_architectures): New function. + * bucomm.h (list_supported_architectures): Declare. + * objdump.c (usage): Call the above. + +2001-07-25 Dave Brolley + + * objdump.c (SKIP_ZEROES): Only define it if it is not already defined. + (SKIP_ZEROES_AT_END): Only define it if it is not already defined. + +2001-07-19 Nick Clifton + + * README: Update for 2.11. Change bug reporting email address. + * MAINTAINERS: Tidy up. Change bug reporting email address. + +2001-07-16 DJ Delorie + + * resres.c (write_res_header): Align header size. + (res_align_file): Calculate alignment correctly. + + * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more + correct 10). + * resrc.c (write_rc_resource): Likewise. + * windres.h (SUBLANG_SHIFT): Define - as 10. + +2001-07-15 Nick Clifton + + * MAINTAINERS: Add Christian Groessler as maintainer for z8k port. + +2001-07-11 Nick Clifton + + * MAINTAINERS: Add notes about branch checkins. + +2001-07-05 Daniel Berlin + + * readelf.c (display_debug_macinfo): New function, display + .debug_macinfo section. + (do_debug_macinfo): New variable. + (parse_args): Handle "-w[mM]" to mean display macro info. + (process_section_headers): Handle debug_macinfo. + (debug_displays): Replace unsupported function with macinfo + function for .debug_macinfo display. + * doc/binutils.texi: Document new command line switch. + * NEWS: Document new feature of readelf. + +2001-07-05 H.J. Lu + + * objcopy.c (filter_symbols): Don't turn undefined symbols + into local. + +2001-07-03 H.J. Lu + + * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of + $@.pod. + (ar.1): Likewise. + (dlltool.1): Likewise. + (nlmconv.1): Likewise. + (nm.1): Likewise. + (objcopy.1): Likewise. + (objdump.1): Likewise. + (ranlib.1): Likewise. + (readelf.1): Likewise. + (size.1): Likewise. + (strings.1): Likewise. + (strip.1): Likewise. + (windres.1): Likewise. + (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod. + ($(DEMANGLER_NAME).1): Also substitute cxxfilt with + $(DEMANGLER_NAME). + (as.1): Removed. + * doc/Makefile.in: Regenerated. + +2001-07-03 Nick Clifton + + * MAINTAINERS: Change MIPS maintainer to Eric Christopher. + +2001-07-01 Daniel Berlin + + * readelf.c: Support DWARF 2.1 tags, encodings, languages. + +2001-06-29 James Cownie + + * readelf.c: Support DWARF 2.1 attributes. + +2001-06-28 Alan Modra + + * readelf.c (GET_DATA_ALLOC): Remove. + (GET_DATA): Remove. + (get_data): New function combining above macros, with an extra + test for zero size. + (slurp_rela_relocs): Use get_data, and catch error return. + (slurp_rel_relocs): Likewise. + (get_32bit_program_headers): Likewise. + (get_64bit_program_headers): Likewise. + (get_32bit_section_headers): Likewise. + (get_64bit_section_headers): Likewise. + (get_32bit_elf_symbols): Likewise. + (get_64bit_elf_symbols): Likewise. + (process_section_headers): Likewise. + (process_relocs): Likewise. + (slurp_ia64_unwind_table): Likewise. + (process_unwind): Likewise. + (get_32bit_dynamic_segment): Likewise. + (get_64bit_dynamic_segment): Likewise. + (process_dynamic_segment): Likewise. + (process_version_sections): Likewise. + (process_symbol_table): Likewise. + (dump_section): Likewise. + (display_debug_info): Likewise. + (display_debug_section): Likewise. + (process_section_contents): Likewise. + (process_corefile_note_segment): Likewise. + (process_mips_specific): Likewise. Also free econf32, econf64. + +2001-06-25 Alan Modra + + * readelf.c (dump_relocations): Print "bad symbol index" if + symtab == NULL with non-zero symtab_index. + (process_relocs): Don't bomb if reloc section has no symsec. + +2001-06-24 H.J. Lu + + * objcopy.c (strip_main): Revert the change made on 2001-05-30 + by accident. + (copy_main): Apply the the change made to strip_main on + 2001-05-30 by accident. + +2001-06-23 Andreas Jaeger + + * unwind-ia64.c (unw_decode_x1): Add unused attribute for + parameter 'code'. + (unw_decode_x2): Likewise. + (unw_decode_x3): Likewise. + (unw_decode_x4): Likewise. + +2001-06-23 Ben Elliston + + * MAINTAINERS: Add myself as M88k maintainer. + +2001-06-22 Jocelyn Mayer + + * objcopy.c (strip_main): Support -o or --output-file command lien + switch. + +2001-06-19 H.J. Lu + + * doc/Makefile.in: Regenerated. + +2001-06-19 Nick Clifton + + * readelf.c: Restore formatting. + +2001-06-18 H.J. Lu & Nick Clifton + + * Makefile.am: Move documentation into doc subdirectory. + * Makefile.in: Regenerated. + * binutils.texi: Move into doc subdirectory. + * addr2line.1: Removed. + * ar.1: Likewise. + * dlltool.1: Likewise. + * nlmconv.1: Likewise. + * nm.1: Likewise. + * objcopy.1: Likewise. + * objdump.1: Likewise. + * ranlib.1: Likewise. + * readelf.1: Likewise. + * size.1: Likewise. + * strings.1: Likewise. + * strip.1: Likewise. + * windres.1: Likewise. + * cxxfilt.man: Likewise. + * doc: New Directory. + * doc/Makefile.am: New file. + * doc/Makefile.in: Generate. + +2001-06-09 Alan Modra + + * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker. + +2001-06-01 Alan Modra + + * MAINTAINERS: Update my email address. + +2001-05-30 Honda Hiroki + + * objcopy.c: Add new switches: --keep-global-symbol, + --keep-symbols, --localize-symbols, --keep-global-symbols and + --weaken-symbols. + * binutils.texi: Document new switches. + * objcopy.1: Regenerate. + * NEWS: Announce new feature. + +2001-05-28 Andreas Jaeger + + * readelf.c (display_debug_frames): Fix warnings: Remove unused + variables, fix format strings. + +2001-05-28 Nick Clifton + + * objdump.c (disassemble_bytes): Remove section VMA adjustment + when computing the address of the line to show. + +2001-05-16 Richard Henderson + + * readelf.c (do_debug_frames_interp): New. + (byte_get_little_endian): If BFD64, always read entire 8-byte fields. + (byte_get_big_endian): Likewise. + (parse_args) ['F']: Set do_debug_frames_interp. + (Frame_Chunk): Make data_factor signed, add fde_encoding. + (frame_display_row): Don't trunc pc_begin to int. + (size_of_encoded_value): New. + (display_debug_frames): Handle 64-bit targets. Print raw data + unless do_debug_frames_interp. + (debug_displays): Remove duplicate .debug_frame. + +2001-05-15 Ralf Baechle + + * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE. + The former constant was never in active use and is used otherwise + by the ABI. + +2001-05-11 Jakub Jelinek + + * readelf.c (process_unwind): Print all unwind sections, not just + one. + +2001-05-07 Thiemo Seufer + + * readelf.c (process_unwind): Remove const specifier. + +2001-04-27 Michal Svec + + * strings.c (isgraphic): Do not use isascii() unless it is needed + for isprint() to work. + (main): Set the locale domain to LC_ALL not just LC_MESSAGES. + +2001-04-27 Johan Rydberg + + * NEWS: Announce support for OpenRISC. + +2001-04-17 Danny Smith + + * dlltool.c (do_default_excludes): Initialise to true. + +2001-04-10 Alan Modra + + * MAINTAINERS: Update my email address + * nm.c (print_symbol_info_bsd): Use a simple printf string. + +2001-04-05 Hans-Peter Nilsson + + * readelf.c (display_debug_lines): Fix typo for "Prologue". + +2001-03-30 H.J. Lu + + * readelf.c (process_unwind): Just return if do_unwind is 0. + +2001-03-28 Roger Sayle + + * dlltool.c (make_one_lib_file): Fix section flags for + .text, .data and .bss in stub ds*.o files to match those + generated by gas. + +2001-03-29 H.J. Lu + + * readelf.c (process_unwind): Only do unwind sections for + IA64. + +2001-03-28 H.J. Lu + + * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target. + * Makefile.in: Regenerate. + +2001-03-26 Andreas Jaeger + + * binutils.texi (nm): Fix texi syntax. + +2001-03-25 Stephane Carrez + + * binutils.texi: Put @c man begin and @c man end indications + to generate man pages using texi2pod and pod2man. Put @c man title + to identify each man. Add SEEALSO entries. + * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. + (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1, + sort the list. + (*.1): Build the man pages from binutils.texi. + * Makefile.in: Regenerate. + +2001-03-13 Eric Kohl + + * defparse.y (opt_equal_name): allow "." in name. + * dlltool.c (def_exports): Added ability to generate forwarded exports. + (gen_exp_file): Likewise. + +2001-03-12 Stefan Geuken + + * NEWS: Document addition of -B switch to objcopy. + * binutils.texi: Document addition of -B switch to objcopy. + * objcopy.c: (copy_options): Add --binary-architecture. + (copy_usage): Document -B/--binary-architecture. + (copy_main): Support -B/--binary-architecture. Set + bfd_external_binary_architecture. + +2001-03-11 Andreas Jaeger + + * readelf.c (guess_is_rela): Handle EM_S390_OLD. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + +2001-02-28 Nick Clifton + + * readelf.c: (struct unw_aux_info): Remove const modifier for + 'strtab' field. + (process_unwind): Remove non-K&R compliant LHS type cast in call + to GET_DATA_ALLOC macro. + +2001-02-28 Philip Blundell + + * readelf.c (decode_ARM_machine_flags): Explicitly mention which + ABI is in use; remove ambiguity between the "unknown" EABI and + unrecognised ABIs. Handle version 2 ARM EABI. Update uses of + renamed EF_xx constants. + +2001-02-27 Alan Modra + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2001-02-14 Nick Clifton + + * MAINTAINERS: Add "Obvious Fix" rule. + +2001-02-11 Michael Sokolov + + * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string + literal concatenation. + +2001-02-11 Michael Sokolov + + * readelf.c (struct unw_aux_info): Remove const from the info member. + (process_unwind): Don't type-cast the third argument to the + GET_DATA_ALLOC macro. + +2001-02-11 Nick Clifton + + * readelf.c (dump_relocations): Free corrected allocated + array. + (process_unwind): Fix compile time warning. + +2001-02-10 Nick Clifton + + * binutils.texi: Document new --unwind option to readelf. + +2001-02-09 Martin Schwidefsky + + * readelf.c: Add linux target for S/390. + +2001-02-10 Alan Modra + + * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case + printf is a macro. + +2001-02-08 Hans-Peter Nilsson + + * acinclude.m4 (AM_PROG_LEX): Override installed definition. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2001-02-07 Todd Vierling + + * bucomm.c (bfd_target_vector): Change extern array to pointer. + * objdump.c (bfd_target_vector): Likewise. + +2001-02-07 David Mosberger + + * readelf.c (process_unwind): New function. + (slurp_ia64_unwind_table): Ditto. + (dump_ia64_unwind): Ditto. + (find_symbol_for_address): Ditto. + (slurp_rela_relocs): New function (split off from dump_relocations()). + (slurp_rel_relocs): Ditto. + (parse_args): Handle '-u' option. + + * unwind-ia64.c: New file. + * unwind-ia64.h: New file. + * Makefile.am: Include unwind-ia64.c in readelf build. + * Makefile.in: Regenerate. + * po/binutils.pot: Regenerate. + +2001-02-04 Philip Blundell + + * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'. + * configure: Regenerate. + +2001-01-31 Steve deRosier + + * ieee.c (ieee_add_bb11): Don't check for backslashes + unless HAVE_DOS_BASED_FILE_SYSTEM is defined. + +2001-01-24 Mark Elbrecht + + * ieee.c: Update copyright. + (ieee_start_compilation_unit): Don't check for backslashes + unless HAVE_DOS_BASED_FILE_SYSTEM is defined. + + * stabs.c: Update copyright. Include "filenames.h". + (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs. + +2001-01-23 Jakub Jelinek + + * readelf.c (process_version_sections): Check if VERDEF or VERNEED + sections are present before using them. Remove code duplication. + (process_symbol_table): Check if VERDEF or VERNEED sections are + present before using them. + +2001-01-17 Nick Clifton + + * objcopy.c (copy_object): Fail if attempting to convert the + endianness of the input object file. + + * binutils.texi: Explain that objcopy cannot convert endianness. + +2001-01-16 Nick Clifton + + * readelf.c (string_table_length): New variable. + (SECTION_NAME): Catch out of range indices and missing section + pointers. + (process_section_headers): Delete useless local variable + string_table_offset. Set the value of string_table_length + after loading the string table. + (process_mips_specific): Use SECTION_NAME macro. + (process_file): Set string_table_length to 0 when it is freed. + +2001-01-12 Nick Clifton + + * version.c (print_version): Update copyright date. + +2001-01-11 Peter Targett + + * readelf.c (dump_relocations): Include selection with EM_ARC. + (get_machine_name) Update name to "ARC". + +2001-01-09 Nick Clifton + + * Makefile.am: Add rule to build objdump.o from objdump.c and + using OBJDUMP_DEFS. + * Makefile.in: Regenerate. + + * configure.in: Define OBJDUMP_DEFS. Default to empty. + (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to + -DDISASSEMBLER_NEEDS_RELOCS. + * configure: Regenerate. + + * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS + is defined read in the relocs even if dump_reloc_info is + false. + +2001-01-07 Philip Blundell + + * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with + `bug-binutils'. + * README: Likewise. + +2000-12-19 Nick Clifton + + * dlltool.c: Add missing support for arm-epoc-pe. + * configure.in: Add missing support for arm-epoc-pe. + * configure: Regenerate. + +2000-12-15 Nick Clifton + + * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel + Mode parts of the x86 port. + +2000-12-04 Andreas Jaeger + + * readelf.c (guess_is_rela): Add EM_X86_64. + (dump_relocations): Add EM_X86_64. + (get_machine_name): Add EM_X86_64. + Include "elf/x86-64.h". + +2000-12-12 Nick Clifton + + * readelf.c: Fix formatting. + +2000-12-11 Jan Hubicka + + * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer. + +2000-12-07 Andrew Haley + + * readelf.c (display_debug_frames): Only display columns that are + referenced by the frame debug info. + +2000-12-05 Nick Clifton + + * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer. + +2000-12-04 Jason Merrill + + * readelf.c (process_section_headers): Handle linkonce.wi sections. + (display_debug_section): Likewise. + (display_debug_info): Display CU header before bailing. + +2000-12-01 Chris Demetriou + + * readelf.c (get_machine_flags): Recognize MIPS32 ISA in + EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with + E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly. + + * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5, + and E_MIPS_ARCH_64. + + * readelf.c (get_machine_flags): Add case for + E_MIPS_MACH_SB1. + +2000-11-30 Richard Earnshaw + + * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value. + +2000-11-28 Hans-Peter Nilsson + + * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers. + Change sourceware.cygnus.com to sources.redhat.com. + Fix typo for "amongst". + +2000-11-28 Nick Clifton + + * strip.1 (COPYING): Mention that the GNU Free Documentation + License is present in the sources, but not the output, and + also available from the GNU website. + (GNU Free Documentation License): Comment out this section. + * strings.1: Ditto. + * size.1: Ditto. + * ranlib.1: Ditto. + * objdump.1: Ditto. + * objcopy.1: Ditto. + * nm.1: Ditto. + * nlmconv.1: Ditto. + * ar.1: Ditto. + * addr2line.1: Ditto. + +2000-11-27 DJ Delorie + + * readelf.c (usage): Add -wf (--debug-dump=frames) option. + (parse_args): Support -wf option. + (process_section_headers): Ditto. + (debug_displays): Ditto. + (display_debug_frames): New, dump *_frame sections. + (frame_need_space): Support for above. + (frame_display_row): Ditto. + * binutils.texi: Document it. + +2000-11-24 Nick Clifton + + * NEWS: Announce support for v5t, v5te and XScale. + +2000-11-22 Nick Clifton + + * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH, + EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM. + (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX. + (get_elf_section_flags: Add SHF_GROUP. + (process_section_headers): Adjust output for 32-bit binaries + to look nice on an 80 column terminal. + +2000-11-20 H.J. Lu + + * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to + ELFOSABI_AIX. + +2000-11-17 Richard Henderson + + * readelf.c (display_debug_lines): Adjust last change to + use sizeof (external->li_length). + +2000-11-17 Richard Henderson + + * readelf.c (display_debug_lines): Fix section length check + and end_of_sequence computation. + +2000-11-06 Nick Clifton + + * binutils.texi: Add GNU Free Documentation License. + * objcopy.1: Add GNU Free Documentation License. + * objdump.1: Add GNU Free Documentation License. + * addr2line.1: Add GNU Free Documentation License. + * ar.1: Add GNU Free Documentation License. + * nlmconv.1: Add GNU Free Documentation License. + * nm.1: Add GNU Free Documentation License. + * ranlib.1: Add GNU Free Documentation License. + * size.1: Add GNU Free Documentation License. + * strings.1: Add GNU Free Documentation License. + * strip.1: Add GNU Free Documentation License. + +2000-10-06 Luciano Gemme + + * objcopy.c (--srec-len=nn): New parameter to set the + maximum length of generated Srecords. + (--srec-forceS3): New parameter that restricts the generation of + Srecords to type S3 only. + * binutils.texi: Document new command line switches. + * objcopy.1: Docuemnt the new command line switches. + * NEWS: Announce the existence of the new command line switches. + +2000-10-31 Nick Clifton + + * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64 + code. Add Eric Chrisopher as maintainer of MN10300 port. + +2000-10-12 Roger Sayle + + * Make comma after string after icon/control optional. + +2000-09-13 Anders Norlander + + * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field. + + * NEWS: Mention support for MIPS32. + +2000-09-08 Nick Clifton + + * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12]. + +2000-09-07 H.J. Lu + + * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. + * configure: Rebuild. + +2000-09-06 Alexandre Oliva + + * configure: Rebuilt with new libtool.m4. + +2000-09-05 Nick Clifton + + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2000-09-04 Todd Vierling + + * strip.1: Fix stray '\' in -o formatting. + +2000-09-02 Nick Clifton + + * configure.in: Increase version number to 2.10.91. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/binutils.pot: Regenerate. + +2000-08-31 Alexandre Oliva + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-08-30 Jamie Guinan + + * resrc.c (close_input_stream): Delete extraneous logic + +2000-08-24 Hans-Peter Nilsson + + * NEWS: Mention support for CRIS. + +2000-08-21 Nick Clifton + + * addr2line.c: Changed email address for Ulrich Lauther. + +2000-08-17 Christopher C. Chimelis + + * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common"). + +2000-08-17 Nick Clifton + + * readelf.c (display_debug_pubnames): Only issue warning + message once. Terminate message with a new line. + (display_debug_aranges): Only display version 2 debug info. + +2000-08-14 Todd Vierling + + * objcopy.c (strip_main): Silently accept -d as an alias for -g + for compatibility with old BSD systems. + +2000-08-14 Jason Eckhardt + + * NEWS: Mention i860 support. + +2000-08-11 Carlo Wood + + * addr2line.c (main): Add const to char *. + +2000-08-11 Geoff Keating + + * ar.c (main): Don't crash if called with no arguments + or only '-X32_64' as an argument. + +2000-08-08 DJ Delorie + + * resrc.c: use "gcc -xc" instead of -xc-header + +2000-08-05 Jason Eckhardt + + * readelf.c (elf/i860.h): Include. + (dump_relocations): Add recognition of i860 architecture. + (guess_is_rela): Add recognition of i860 architecture. + +2000-08-03 Nick Clifton + + * MAINTAINERS: Add information about CGEN maintainers. + +2000-07-26 Geoff Keating + + * nm.c (main): Ignore '-X32_64' as an option. + * ar.c (main): Likewise. + * binutils.texi (nm): Document new option. + (ar): Likewise. + +2000-07-23 Michael Sokolov + + * rdcoff.c (external_coff_symbol_p): K&R-ise. + +2000-07-20 H.J. Lu + + * binutils.texi: Put back "@end table" deleted by + accident. + +2000-07-05 Kenneth Block + + * nm.c: Add optional style to demangle switch. + * objdump.c: Add optional style to demangle switch. + * addr2line.c: Add optional style to demangle switch. + * binutils.texi: Document optional style to demangle + switch. + +2000-07-20 Hans-Peter Nilsson + + * MAINTAINERS: Add self as CRIS port maintainer. + * readelf.c: Include elf/cris.h. + (guess_is_rela): Handle EM_CRIS. + (dump_relocations): Ditto. + (get_machine_name): Ditto. + * Makefile.am: Rebuild dependencies. + * Makefile.in: Regenerate. + * po/binutils.pot: Regenerate. + +2000-07-19 H.J. Lu + + * readelf.c (get_dynamic_type): Change "AUXILARY" to + "AUXILIARY". + (process_dynamic_segment): Print out strings for DT_CONFIG, + DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH. + +2000-07-19 Mark Kettenis + + * nm.c (usage): Change output of `nm --help' to include a + description of the purpose of the program and a detailed + description of the accepted options. + +2000-07-19 H.J. Lu + + * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB + to DF_1_NODEFLIB. + +2000-07-19 H.J. Lu + + * readelf.c (get_dynamic_type): Fix DT_CHECKSUM. + +2000-07-19 H.J. Lu + + * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to + DT_FEATURE. + (process_dynamic_segment): Likewise. + + * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT, + DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM. + (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB, + DF_1_NODUMP and DF_1_CONLFAT. + +2000-07-18 Nick Clifton + + * binutils.texi (readelf): Fix spelling typo. + +2000-07-11 Mark Kettenis + + * objdump.c (usage): Make output of `objdump --help' more + consistent with the rest of the GNU world. Add a line describing + the purpose of the program. + +2000-07-10 David Huggins-Daines + + * stabs.c (parse_stab_range_type): Cast to proper type to fix + warning. + +2000-07-10 Ryan Bradetich + + * readelf.c (get_dynamic_data): Add casts and use unsigned chars + to fix warnings. + (process_symbol_table): Ditto. + (procesS_extended_line_op): Ditto. + (display_debug_lines): Ditto. + (display_debug_pubnames): Ditto. + (read_and_display_attr): Ditto. + +2000-07-09 Nick Clifton + + * MAINTAINERS: Add several more port specific maintainers. + +2000-07-05 Nick Clifton + + * MAINTAINERS: Add blanket write privs for Michael Meissner. + +2000-06-05 DJ Delorie + + * MAINTAINERS: New. + +2000-07-01 Eric Fifer + + * dllwrap.c: Changed mistaken dyn_string_append() calls + to dyn_string_append_cstr(). + +2000-07-01 Alexander Aganichev + + * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils + struct debug_type stores size in bytes. + +2000-07-01 Alan Modra + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-27 Alan Modra + + * ar.c: Revert incorrect 2000-06-25 patch. + * bucomm.c: Likewise. + +2000-06-25 Mark Elbrecht + + * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external. + (external_coff_symbol_p): New function. + (parse_coff): Use it. + +2000-06-25 Alexander Aganichev + + * ar.c (normalize): Advance past both characters in a DOS based + : filepath prefix. + (main): Likewise. + * bucomm.c (make_tempname): Likewise. + +2000-06-24 Nick Clifton + + * objdump.c (usage): Fix description of --stabs switch. + +2000-06-22 Alan Modra + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-20 Alexander Aganichev + + * ar.c (normalize): Correct pointer comparison when checking for + backslashes. + (main): Likewise. + * bucomm.c (make_tempname): Likewise. + + * ieee.c (ieee_start_compilation_unit): Correct pointer comparison + and search for backslashes in the original pathname. + (ieee_add_bb11): Likewise. + +2000-06-18 Nick Clifton + + * ar.c (print_contents): Improve verbose message. + +2000-06-15 H.J. Lu + + * dyn-string.c: Removed. Not needed with dyn-string.c in + libiberty. + * dyn-string.h: Likewise. + + * Makefile.am: Remove references to dyn-string.c and + dyn-string.h. Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-15 H.J. Lu + + * binutils.texi: Put a warning on copying relocatable object + files between two different formats. + +2000-06-13 DJ Delorie + + * rcparse.y (control): ICON controls take an id as the first + parameter, not an optional string. Also, call new convenience + function that takes res_id's. + * resrc.c (define_control): missing text means zero-length string, + not zero ID. + (define_icon_control): New. + * windres.h: declare define_icon_control. + +2000-06-13 H.J. Lu + + * configure: Regenerate. + +2000-06-08 David O'Brien + + * configure.in (VERSION): Update to show this is the CVS mainline. + +2000-06-02 David O'Brien + + * strings.c (isgraphic): Interpret as a printable character, + analogous to . + +2000-05-30 Alan Modra + + * objdump.c (display_target_list): Use bfd_close_all_done, not + bfd_close to fix crash caused by 2000-05-24 change. + +2000-05-25 DJ Delorie + + * resrc.c (close_input_stream): zero out cpp_pipe after closing it. + +2000-05-26 Alan Modra + + * Makefile.am: Update dependencies with "make dep-am" + * Makefile.in: Regenerate. + +2000-05-26 Eli Zaretskii + + * ar.c: Include filenames.h. + (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes + and drive letters in file names. + (main): Support backslashes and drive letters in argv[0]. Drop + the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use + FILENAME_CMP instead of strcmp to compare file names. + (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for + DJGPP v2. + (do_quick_append) [__GO32__]: Ditto. + (get_pos_bfd, delete_members, move_members, replace_members): + Compare file names with FILENAME_CMP. + + * bucomm.c: Include filenames.h. + (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed + forward/backward slashes and drive letters in file names. + + * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support + mixed forward/backward slashes and drive letters in file names. + + * strings.c (O_BINARY, setmode, SET_BINARY): Define. + (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary + mode. + + * objcopy.c: Include filenames.h. + (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix + before comparing to "strip". + Use FILENAME_CMP to compare file names. + + * arsup.c: Include filenames.h. + (map_over_list, ar_delete, ar_replace, ar_extract): Use + FILENAME_CMP to compare file names. + (ar_open): Prepend "tmp-" instead of appending "-tmp", to create + the temporary file name. + + * configure.in: Check for setmode. + * configure: Regenerate. + +2000-05-24 Alan Modra + + * objdump.c (display_target_list): Close the bfd. + (display_info_table): Likewise. + +2000-05-14 H.J. Lu (hjl@gnu.org) + + * objcopy.c (filter_symbols): Don't strip global symbols in + relocatable object files. + +2000-05-14 Alan Modra + + * size.c (usage): Associate short options with corresponding long + option to give a clue as to their function. + +2000-05-14 Philippe De Muyter + + * size.c (main): Accept and ignore `-f' option. + +2000-05-13 Alan Modra + + * bucomm.h (gettext, dgettext, dcgettext, textdomain, + bindtextdomain): Replace defines with those from intl/libgettext.h + to quieten gcc warnings. + +2000-05-12 H.J. Lu + + * nlmconv.c (temp_filename): Removed. + + * nlmconv.c (link_inputs): Use make_temp_file () instead of + choose_temp_base (). + * objdump.c (display_target_list): Likewise. + (display_info_table): Likewise. + +2000-05-08 Alan Modra + + * objcopy.c (setup_section): Add const and gettext calls for err. + +2000-05-02 H.J. Lu + + * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of + ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD, + ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX, + ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO + and ELFOSABI_OPENBSD. + +2000-05-02 Kazu Hirata + + * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate. + * srconv.c: Likewise. + * sysdump.c: Likewise. + +2000-04-23 Denis Chertykov + + * readelf.c (guess_is_rela): AVR uses RELA relocations. + (get_machine_name): machine name for EM_AVR added. + +2000-04-21 Richard Henderson + David Mosberger + + * Makefile.am (readelf.o): Add elf/ia64.h. + * Makefile.in: Rebuild. + * readelf.c: Include elf/ia64.h. + (guess_is_rela, dump_relocations): Handle EM_IA_64. + +2000-04-17 Timothy Wall + + * objdump.c (disassemble_data): Set octets per byte *after* + resolving arch/mach for binary files. + +2000-04-14 Michael Sokolov + + * arlex.l: Add directives to increase lex buffer size. + + * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are + already included by bucomm.h. + +2000-04-10 Philippe De Muyter + + * readelf.c (dynamic_segment_mips_val): Call `sprintf', not + `strftime' since strftime is not available on all systems. + (process_mips_specific): Ditto. + +2000-04-07 Andrew Cagney + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure: Re-generate. + +2000-04-06 Alan Modra + + * addr2line.c: Update copyright. + * objcopy.1: Likewise, and title. + * strings.1: Likewise. + + * version.c (print_version): Add 2000. + + * rddbg.c (read_section_stabs_debugging_info): Don't use + bfd_size_type for strx to avoid printf problems if BFD64. + + * bucomm.c: (report): Remove `static'. + Move inclusion of stdarg.h/vararg.h from here. + * bucomm.h: To here. + (CONST): Change all occurences to const. + (report): Declare it. + (bfd_fatal): Add ATTRIBUTE_NORETURN. + (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN. + (non_fatal): Add ATTRIBUTE_PRINTF_1. + + * ar.c (main): Use fatal or non_fatal instead of fprintf. + Correct a typo in an error message. + (do_quick_append): Use non_fatal instead of fprintf. + (move_members): Use fatal instead of fprintf, exit. + * coffdump.c (main): Same here. + + * dlltool.c (display): Delete. + (warn): Delete. + (inform): Use `report' instead of `display'. + (rvaafter): Remove trailing \n from fatal error msg. + (rvabefore): Ditto. + (asm_prefix): Ditto. + (yyerror): Replace `warn' with `non_fatal', and remove \n. + (def_name): Likewise. + (run): Likewise. + (scan_all_symbols): Likewise. + (gen_lib_file): Likewise. + (def_library): Likewise. Remove extra program_name too. + (run): Remove \n from inform strings. + (scan_drectve_symbols): Likewise. + (add_excludes): Likewise. + (scan_open_obj_file): Likewise. + (gen_exp_file): Likewise. + (gen_lib_file): Likewise. + (process_duplicates): Likewise. + + * Makefile.am (dllwrap_SOURCES): Add version.c. + * dllwrap.c (program_version): Delete. + (print_version): Delete. + (display): Always print trailing \n. + (warn): New. + (delete_temp_files): Use warn instead of fprintf. Use gettext. + (run): Here too. + (main): And here. + (usage): gettext'ify. + (long_options): Add missing initialisers. + + * nlmconv.c (main): Use fatal/non_fatal instead of fprintf. + (select_output_format): Likewise. + (powerpc_mangle_relocs): Likewise. + (link_inputs): Likewise. + + * nm.c (set_print_radix): Use fatal instead of fprintf, exit. + (set_output_format): Likewise. + (main): Use non_fatal instead of fprintf. + (display_rel_file): Likewise. + + * objdump.c (slurp_symtab): Use non_fatal instead of fprintf. + (slurp_dynamic_symtab): Same here. + (disassemble_data): And here. + (read_section_stabs): And here. + (read_section_stabs): And here. + (dump_bfd): And here. + (main): And here. + (objdump_sprintf): Use fatal instead of fprintf, exit. + (disassemble_data): Same here. + + * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf. + (parse_coff_struct_type): Same here. + (parse_coff_enum_type): And here. + (parse_coff): And here. + * rddbg.c (read_debugging_info): And here. + * size.c (main): And here. + * windres.c (format_from_name): And here. + * wrstabs.c (stab_write_symbol): Here too. + (write_stabs_in_sections_debugging_info): And here. + (stab_int_type): And here. + (stab_struct_field): And here. + (stab_typdef): And here. + + * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit. + * srconv.c (main): Same here. + * strings.c (main): And here. + (integer_arg): And here. + * sysdump.c (main): And here. + +2000-04-06 Timothy Wall + + * objdump.c (dump_section_header): Print CLINK and BLOCK flags. + +2000-04-06 Jason Merrill + + * readelf.c (decode_location_expression): Loop through multiple + operations. + (read_and_display_attr): Pass in length. + + * readelf.c (read_and_display_attr): Add CU offset to references. + (display_debug_info): Pass it in. + +2000-04-06 Nick Clifton + + * readelf.c (decode_ARM_machine_flags): New function. + (get_machine_flags): Call decode_ARM_machine_flags for ARM + targets. + + (get_machine_name): Catch EM_AVR + +2000-04-05 Alan Modra + + * binutils.texi: Remove optional `=' from long options that have + an `=' in the argument. + * objcopy.1: Here too. Remove extra space on discard-all. + + * binutils.texi (objcopy): Mention --redefine-sym. + * objcopy.1: Here too. + * NEWS: And here. + + * objcopy.c (parse_flags): Split off flag names from error message + gettext as they are not translated. + (copy_main): Similarly split off option name for --add-section, + --set-section-flags, --change-section-vma, --change-section-lma + error messages. + Some white space changes. + + from Matthew Benjamin + * objcopy.c (struct redefine_node): New. + (redefine_sym_list): New. + (redefine_list_append): New. + (lookup_sym_redefinition): New. + (OPTION_REDEFINE_SYM): New. + (copy_options): Add --redefine-sym option. + (copy_usage): Mention it. + (filter_symbols): Rename symbols on redefine_sym_list. + (copy_object): Call filter_symbols if redefine_sym_list != NULL. + (copy_main): Handle OPTION_REDEFINE_SYM. + +2000-04-04 H.J. Lu + + * readelf.c (process_symbol_table): Correctly read in symbol + versioning information. + +2000-04-04 Alan Modra + + * po/binutils.pot: Regenerate. + + * addr2line.c (usage): Restore translated part of bug string. + * ar.c (usage): Likewise. + * nlmconv.c (show_usage): Likewise. + * nm.c (usage): Likewise. + * objcopy.c (copy_usage): Likewise. + (strip_usage): Likewise. + * objdump.c (usage): Likewise. + * readelf.c (usage): Likewise. + * size.c (usage): Likewise. + * strings.c (usage): Likewise. + * windres.c (usage): Likewise. + + * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. + (DEP): Quote when passing vars to sub-make. Add warning + message to end. + (DEP1): Rewrite for "gcc -MM". + (CLEANFILES): Add DEP2. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-04 H.J. Lu + + * Makefile.am (GENERATED_HFILES): Add rcparse.h + (arparse.h): Depend on arparse.c + (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly. + +2000-04-03 H.J. Lu (hjl@gnu.org) + + * size.c (usage): Use REPORT_BUGS_TO. + +2000-04-03 Alan Modra + + * bucomm.h: #include "bin-bugs.h" + * addr2line.c (usage): Use REPORT_BUGS_TO. + * ar.c (usage): Likewise. + * nlmconv.c (show_usage): Likewise. + * nm.c (usage): Likewise. + (OPTION_TARGET): Define. + (long_options): Use OPTION_TARGET rather than 200. + (main): Likewise. + + * objcopy.c (copy_usage): Use REPORT_BUGS_TO. + (strip_usage): Likewise. + * objdump.c (usage): Likewise. + * readelf.c (usage): Likewise. + * strings.c (usage): Likewise. + * windres.c (usage): Likewise. + +2000-03-31 John David Anglin + + * readelf.c: Include sys/types.h before sys/stat.h for ultrix. + +2000-03-27 Nick Clifton + + * rddbg.c (read_section_stabs_debugging_info): Catch out of range + string offsets in corrupt stabs entries. + +2000-03-27 Alan Modra + + * readelf.c: Include elf/avr.h + (dump_relocations): Add EM_AVR case. + +2000-03-09 Tim Waugh + + * strings.1: Correct '-bytes' to '--bytes'. + +2000-03-08 H.J. Lu + + * Makefile.am (install-exec-local): Depend on + install-binPROGRAMS for parallel make. + * Makefile.in: Regenerated. + +2000-02-27 Ian Lance Taylor + + From Brad Lucier : + * readelf.c (process_dynamic_segment): Add cast to make sure + argument to %* is int. + +2000-02-25 H.J. Lu + + * configure.in (AC_SEARCH_LIBS): Pass m, not -lm. + +2000-02-24 Nick Clifton + + * configure.in: Add arm-wince, mips-pe and sh-pe targets. + * configure: Regenerate. + + * dlltool.c: Add support for sh-pe and mips-pe targets. + * rescoff.c: Add support for sh-pe and mips-pe targets. + +2000-02-23 H.J. Lu + + * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX. + +2000-02-22 Nick Clifton + + * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER. + +2000-02-22 Ian Lance Taylor + + From Brad Lucier : + * readelf.c (process_version_sections): Add casts to make sure + argument to %* is an int. + (process_mips_specific): Add casts to make printf arguments match + format. + +2000-02-21 Alan Modra + + * objdump.c (dump_section_header): Change `opb' to unsigned. + (find_symbol_for_address): Same here. + (disassemble_data): And here. Change `addr_offset', + `stop_offset', `nextstop_offset' to unsigned long. + (dump_data): Change opb to unsigned. + +2000-02-18 Frank Ch. Eigler + + * resrc.c: Remove unmatched #if for cygwin. + +2000-02-14 Fernando Nasser + + * binutils.texi: Document the change of flavor name from atpcs-special + to special-atpcs to prevent name conflict in gdb. + +2000-02-08 Timothy Wall + + * objdump.c (show_line): Fix bug preventing printing of the very + first line (line zero) of a file when interlisting source and + assembly. Added option to print entire context from start of file + when the first line from that file is encountered. + +2000-02-03 Timothy Wall + + * objdump.c (dump_section_header, find_symbol_for_address, + show_line, disassemble_bytes, disassemble_data, dump_data): + distinguish between octets and bytes. + +2000-01-27 Thomas de Lellis + + * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to + check to unresolved symbols. + (print_symbol_info_sysv): Ditto. + (print_symbol_info_posix): Ditto. + + * binutils.texi: Document new 'V' symclass flag for nm. + +2000-01-27 Nick Clifton + + * binutils.texi (objdump): Document new ARM specific + disassembler options. + + * objdump.c (usage): Call disassembler_usage(). + +2000-01-27 Alan Modra + + * readelf.c (get_dynamic_flags): Return buff. + (process_dynamic_segment): Don't pass error strings to printf + as format arg. + (read_and_display_attr): Use lx and ld to print longs. + (process_corefile_note_segment): Cast bfd_vma to unsigned long + before printing. + Update copyright. + +2000-01-17 Nick Clifton + + * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM. + +2000-01-15 Alan Modra + + * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than + false. + (debug_tag_type): Here too. + * ieee.c (ieee_builtin_type): And here. + * stabs.c (parse_stab_type, parse_stab_array_type): And here. + +2000-01-13 Nick Clifton + + * readelf.c (get_machine_name): Change EM_S370 to return "IBM + System/370". + +2000-01-11 Nick Clifton + + * readelf.c (get_dynamic_type): Remove DT_ENCODING. + +2000-01-10 Nick Clifton + + * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes. + +2000-01-07 Mumit Khan + + * windres.c (long_options): Add --use-temp-file and + --no-use-temp-file options. + (usage): Document. + (main): Handle. + + * windres.h: Update read_rc_file prototype. + + * resrc.c (cpp_temp_file): New static variable. + (istream_type): New static variable. + (close_pipe): Delete function. + (run_cmd): New static function. + (open_input_stream): New static function. + (close_input_stream): New static function. + (look_for_default): Handle DOS directory separator. Use + open_input_stream instead of popen. + (read_rc_file): Likewise. + + * binutils.texi: Document --use-temp-file, --no-use-temp-file + options. + +2000-01-04 Mumit Khan + + * dlltool.c (create_compat_implib): New variable. + (gen_exp_file): Use. + (make_one_lib_file): Use. + (long_options): Add --compat-implib option. + (usage): Handle. + (main): Handle. + + * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET. + (main): Use. Don't look for "32" in cygwin and mingw target names. + +2000-01-03 Nick Clifton + + * binutils.texi: Document new, ARM specific disassembler + command line switch "-M force-thumb". + +For older changes see ChangeLog-9899 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog-0203 b/binutils/ChangeLog-0203 new file mode 100644 index 00000000000..c633775078d --- /dev/null +++ b/binutils/ChangeLog-0203 @@ -0,0 +1,2181 @@ +2003-12-31 Daniel Jacobowitz + + * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself. + +2003-12-29 Nick Clifton + + * readelf.c (debug_line_pointer_size): Replace with an array + called 'debug_line_pointer_sizes'. + (num_debug_line_pointer_sizes): New variable. + (display_debug_lines): Extract pointer size from the + debug_line_pointer_sizes array. + (display_debug_loc): Likewise. + (prescan_debug_info): Fill in the debug_line_pointer_sizes + array. + +2003-12-23 Ralf Baechle + Maciej W. Rozycki + + * objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables + to handle flags for tweaking. + (copy_options): New options: impure, pure, readonly-text, + writable-text. + (copy_usage, copy_object, command_line_switch): Handle the new + options. + * doc/binutils.texi: Document the new options. + +2003-12-22 Jakub Jelinek + + * objdump.c (disassemble_bytes): Subtract rel_offset from printed + reloc address. + (disassemble_section): Set rel_offset to section->vma instead of + pinfo->buffer_vma. + +2003-12-19 Kazuhiro Inaoka + + * readelf.c (guess_is_rela): Changed m32r's default type to RELA. + +2003-12-11 Nick Clifton + + * objcopy.c (strip_usage): Add --only-keep-debug. + (copy_usage): Likewise. + +2003-12-04 Nick Clifton + + * objcopy.c (copy_object): Do not copy the object if the + output file's format cannot be set to that of the input file. + If the input file's format is unknown, fail. + +2003-11-28 Ian Lance Taylor + + * cxxfilt.c (usage): Mention new -p/--no-params options. + +2003-11-28 Alan Modra + + * Makefile.am (install-exec-local): Remove common term from string + comparison. + * Makefile.in: Regenerate. + * doc/Makefile.am: Don't use $<. + * doc/Makefile.in: Regenerate. + +2003-11-27 Nick Clifton + + * rename.c (smart_rename): Make sure that we have write + permission on the destination file before renaming. + +2003-11-26 Daniel Jacobowitz + Nick Clifton + + * readelf.c: Add a comment describing the difference between + readelf and objdump. + * doc/binutils.texi (readelf): Likewise. + +2003-11-25 Danny Smith + + * doc/binutils.texi (dlltool): Document dlltool --temp-prefix + option. + * dlltool.c (usage): Likewise. + +2003-11-22 Ian Lance Taylor + + * cxxfilt.c (long_options): Add --no-params. + (main): Handle -p/--no-params. + * doc/binutils.texi (c++filt): Document -p/--no-params. + +2003-11-19 Alan Modra + + * objdump.c: Wrap long lines, init vars separately from decl. + (disassemble_section): Reset require_sec after call to + find_symbol_for_address. + +2003-11-14 Nick Clifton + + * objdump.c (find_symbol_for_address): Change parameters so + that the entire disassemble_info structure is passed, not just + a few fields. Use the symbol_is_valid field to check the + validity of located symbols and continue searching if they are + not valid. + (objdump_print_addr): Alter parameters passed to + find_symbol_for_address. + (objdump_symbol_at_address): Likewise. + (disassemble_section): Likewise. Also use symbol_is_valid + function to check the validity of located symbols. + +2003-11-13 Tobias Burnus + + * ar.c (open_inarch): Emit a warning when an archive is created + (only shown with -v) in order to confrom to POSIX specification. + +2003-11-11 Wang Li + + * objcopy.c (wildcard): New variable. True if wildcard pattern + matching is allowed in symbol names. + (strip_options): Add -w option to enable wildcard pattern + matching. + (copy_options): Likewise. + (copy_usage): Mention new switch. + (strip_usage): Likewise. + (is_specified_symbol): If performing wildcard matches use fnmatch + to compare symbol names with entries on the symbol list. + (strip_main): Accept -w switch. + (copy_main): Likewise. + * Makefile.am: Add dependency on fnmatch.h for objcopy.c + * Makefile.in: Regenerate. + * doc/binutils.texi: Document new switch. + * NEWS: Mention new switch. + +2003-11-11 Alan Modra + + * objdump.c: Revert rev 1.81 commit. + +2003-11-10 Tobias Burnus + + * ar.c (print_contents): Remove "member" from verbose output in + order to conform to POSIX specification. + +2003-11-10 Alan Modra + + * README: Expand bug reporting information. + +2003-11-07 Jonathan R. Grant + + * bucomm,c (get_file_size): New function. Returns the size of a + file. + * bucomm.h: Add prototype for get_file_size. + * addr2line.c (process_file): Use new function. + * ar.c (main, ranlib_only, ranlib_touch): Likewise. + * nm.c (display_file): Likewise. + * objcopy.c (add_specific_symbols, copy_file, strip_main, + copy_main): Likewise. + * objdump.c (display_file): Likewise. + * size.c (display_file): Likewise. + * strings.c (strings_file): Likewise. + * readelf.c (process_file): Use similar code to get_file_size. + +2003-11-06 Bruno Rohee + + * ieee.c: Fix "the the" typo. + * stabs.c: Likewise. + +2003-10-30 Marshall T. Vandegrift + + * readelf.c (dump_section): Do not dump the contents of SHT_NOBITS + sections - they have no file space assigned to their contents. + +2003-10-28 Segher Boessenkool + + * readelf.c (dump_section): Don't display DEL characters. + +2003-10-27 Kazu Hirata + + * ChangeLog: Fix typos. + * ChangeLog-9197: Likewise. + * ChangeLog-9899: Likewise. + * NEWS: Likewise. + * ar.c: Fix comment typos. + * arsup.c: Likewise. + * coffgrok.c: Likewise. + * debug.c: Likewise. + * debug.h: Likewise. + * dlltool.c: Likewise. + * ieee.c: Likewise. + * nm.c: Likewise. + * objdump.c: Likewise. + * prdbg.c: Likewise. + * readelf.c: Likewise. + * resrc.c: Likewise. + * sysinfo.y: Likewise. + * windres.c: Likewise. + +2003-10-27 Nick Clifton + + * objcopy.c (copy_section): Do not complain when a target does not + support relocations. + (mark_symbols_used_in_relocations): Likewise. + +2003-10-14 Anil Paranjpe + + * objcopy.c (copy_main): Reads machine flags from arch_info + structure. + +2003-10-20 Andrew Cagney + + * coffgrok.h (coff_section): Replace 'struct sec" with "struct + bfd_section". + +2003-10-07 Nathan Sidwell + + * objdump.c (read_section_stabs): Just read one section, return + pointer to it. Add size parameter. + (print_section_stabs): Add string offset parameter. Adjust. + (struct stab_section_names): Add string offset member. + (find_stabs_sections): Correct check for split section suffix, + adjust read_section_stabs and print_section_stabs calls. + (dump_stabs_section): Clear string_offset, free string table. + +2003-10-01 Martin Fuchs + + * resrc.c (define_icon): Fix storage of color attributes 'planes' and + 'bit count' in icon groups. + +2003-09-30 Chris Demetriou + + * NEWS: Add an indication of the cutoff for 2.14. + +2003-09-30 Chris Demetriou + + * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. + +2003-09-29 H.J. Lu + + * readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON. + (get_symbol_index_type): Likewise. + +2003-09-25 H.J. Lu + + * readelf.c (process_version_sections): Indent version names. + +2003-09-15 Anthony Green + + * dlltool.c (prefix_encode): Fix ISO C90 conversion. + (dlltmp): Ditto. + (dtab): Ditto. + +2003-09-14 Andreas Jaeger + + * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove + unneeded (void *) casts. + * ar.c: Likewise. + * arlex.l: Likewise. + * arparse.y: Likewise. + * arsup.c: Likewise. + * binemul.c: Likewise. + * binemul.h: Likewise. + * bucomm.c: Likewise. + * bucomm.h: Likewise. + * budbg.h: Likewise. + * budemang.c: Likewise. + * budemang.h: Likewise. + * coffdump.c: Likewise. + * coffgrok.c: Likewise. + * cxxfilt.c: Likewise. + * debug.c: Likewise. + * debug.h: Likewise. + * deflex.l: Likewise. + * dlltool.c: Likewise. + * dlltool.h: Likewise. + * dllwrap.c: Likewise. + * emul_aix.c: Likewise. + * filemode.c: Likewise. + * ieee.c: Likewise. + * nlmconv.c: Likewise. + * nlmconv.h: Likewise. + * nlmheader.y: Likewise. + * nm.c: Likewise. + * prdbg.c: Likewise. + * rclex.l: Likewise. + * rcparse.y: Likewise. + * rdcoff.c: Likewise. + * rddbg.c: Likewise. + * rename.c: Likewise. + * resbin.c: Likewise. + * rescoff.c: Likewise. + * resrc.c: Likewise. + * size.c: Likewise. + * srconv.c: Likewise. + * stabs.c: Likewise. + * strings.c: Likewise. + * sysdump.c: Likewise. + * sysinfo.y: Likewise. + * syslex.l: Likewise. + * unwind-ia64.c: Likewise. + * unwind-ia64.h: Likewise. + * version.c: Likewise. + * windres.c: Likewise. + * windres.h: Likewise. + * winduni.c: Likewise. + * wrstabs.c: Likewise. + +2003-09-10 James E Wilson + + * MAINTAINERS: Update my e-mail address. + +2003-09-09 Ian Lance Taylor + + * MAINTAINERS: Update my e-mail address. + +2003-09-04 Nick Clifton + + * MAINTAINERS: Make it clear what should be done with patches to + the top level configure files (other than config.guess and + config.sub). Add binutils@sources.redhat.com as an address to + which patches can be sent. + +2003-09-04 Nick Clifton + + * readelf.c (get_machine_flags): Recognise V850E1 machine type. + +2003-09-03 Andrew Cagney + + * objdump.c: Refer to init_disassemble_info in comments. + (disassemble_data): Replace INIT_DISASSEMBLE_INFO with + init_disassemble_info. + +2003-09-03 Nick Clifton + + * objdump.c (struct objdump_disasm_info): Add new fields + 'dynrelbuf', 'dynrelcount' and 'disassemble_fn'. + (process_section_p): New function: Returns TRUE if a section + can be dumped. + (disassemble_section): New function: Contains the body of + disassemble_data(), but just for one section. + (disassemble_data): Use bfd_map_over_sections to walk section + chain. + (find_stabs_section): New function: Find a stabs containing + section and then dump it. + (dump_stabs_section): New function: Use bfd_map_over_sections + to find the section to dump. + (dump_stabs): Use dump_stabs_section. + (dump_section): New function: Display the contents of a + section. + (dump_data): Use bfd_map_over_sections to display section + contents. + (dump_relocs_in_section): Display the relocs in a given section. + (dump_relocs): Use bfd_map_over_sections to display relocs. + (adjust_addresses): New function: Adjust the vma and lma of + sections. + (dump_bfd): Use bfd_map_over_sections. + * doc/binutils.texi: Document the "objdump -s" (no longer) + dumps empty sections. + +2003-08-24 Jonathan R. Grant + + * objdump.c: Improve comments/documentation. + dump_data: Eliminate duplicate function calls to bfd_section_size. + +2003-09-02 Alan Modra + + * MAINTAINERS: Move Dave Anglin's entry to where it belongs. + +2003-08-21 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2003-08-14 Alan Modra + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + Run "make dep-am". + * Makefile.in: Regenerate. + +2003-08-11 Ian Lance Taylor + + * readelf.c (process_archive): Fix error handling. Remove memory + leak. + + * readelf.c: Add ability to read archives. + (archive_file_offset): New variable. + (archive_file_size): New variable. + (get_data): Include archive_file_offset in file offset + calculation when fseeking. + (process_program_headers): Likewise. + (process_symbol_table): Likewise. + (process_dynamic_segment): Handle computation of end of file + position when the file is in an archive. + (process_object): New function. Contains the body of + process_file(). + (process_archive): New function. Call process_object on each + member of an archive. + (process_file): Detect archives and handle appropriately. + * Makefile.am: Add dependency on aout/ar.h for readelf.c + * Makefile.in: Regenerate. + * NEWS: Document readelf's new ability. + * doc/binutils: Alter text to say that readelf supports archives + and 64-bit ELF files. + +2003-08-08 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-08-05 Alan Modra + + * objcopy.c: Remove unnecessary prototypes and casts. + * objdump.c: Remove unnecessary casts. + * readelf.c: Convert to C90. Remove unnecessary prototypes and casts. + (get_osabi_name): Move so we don't need a forward declaration. + +2003-08-04 Bradley Harrington + Alan Modra + + * objdump.c (include_paths, include_path_count): New vars. + (usage): Describe --include. + (long_options): Add "include". + (add_include_path): New function. + (struct print_file_list): Make filename const. Add modname. + (try_print_file_open, update_source_path): New functions. + (show_line): Use them. + (main): Handle 'I' option. Don't check for NULL xrealloc arg. + +2003-07-30 Alan Modra + + * objdump.c: Remove unnecessary prototypes. + (disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping + code, and print relocs when dump_dynamic_reloc_info. + (disassemble_data): Read and handle dynamic relocs. Correct reloc + skip code. Formatting. + (dump_bfd): Don't dump dynamic relocs when disassembling. + +2003-07-29 Ben Elliston + + * MAINTAINERS: Remove self as M88k maintainer. Future M88k + maintenance defaults to the blanket write privilege maintainers. + +2003-07-29 Michael Meissner + + * MAINTAINERS: Updated my email address. + +2003-07-29 Nick Clifton + + * objdump.c: Update to ISO C. + +2003-07-24 Nick Clifton + + * objdump.c (disassemble_data): Do not ignore sections without the + LOAD flag when disassemble_all is true. Only print a message + about disassembling a section if it contains some data. + + * po/fr.po: Updated French translation. + +2003-07-23 Nick Clifton + + * objcopy.c: Switch to ISO C. Remove debugging code accidentally + left in. Some formatting tidy ups. + +2003-07-22 Salvador Eduardo Tropea + + * objdump.c: New command line option --debugging-tags. + * doc/binutils.texi: Document new command line option. + * prdbg.c: Code to print the debug info as tags compatible + with ctags. + * budbg.h: Adjust prototype. + * NEWS: Mention new switch + +2003-07-18 Nick Clifton + + * objdump.c (main) :Accept multiple -M switch. + * doc/binutils.texi: Document that multiple -M switches are + accepted and that a single -M switch can contain comma + separated options. + +2003-07-17 Nick Clifton + + * objdump.c (main): Issue a warning message if multiple -M + switches are used. + + * doc/binutils.texi (objdump): Update documentation about -M + option. + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + +2003-07-11 Alan Modra + + * po/binutils.pot: Regenerate. + +2003-07-05 Christopher Faylor + + * dlltool.c (prefix_encode): Use a fixed length for alpha. + +2003-07-04 Christopher Faylor + + * dlltool.c (prefix_encode): New function. Encode temp file prefix + from pid. + (dlltmp): Pass address of pointer being alloced or suffer neverending + mallocs. + (make_one_lib_file): Allocate enough space for new longer stub names. + (gen_lib_file): Ditto. + (main): Generate the temp file prefix from the pid if prefix was not + specified on the command line. + +2003-07-04 Nick Clifton + + * readelf.c (get_data): Print (unsigned) hex values for size and + offset in error messages. + (process_section_headers): If the string table could not be + allocated, do not continue. + +2003-07-01 Jakub Jelinek + + * readelf.c (dynamic_segment_ia64_val): Print address and newline + for sections by default. Comment fix. + +2003-06-28 Danny Smith + + * rcparse.y (res_text_field): New res_id variable. + (res_null_text): New static const struct res_id object, + with empty unicode name field. + (control): Pop parsing of optresidc up one level. Set + res_text_field to $2 except for controls which do not accept + a text field. Set res_text_field to res_null_text for the + special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR). + (control_params): Adjust to use res_text_field rather + than optresidc. + (COMBOBOX): Add comment about discrepency between documented + vs. observed default style. + * resrc.c (define_control): Make first param const. + * windres.h (define_control): Adjust prototype. + +2003-06-27 Nick Clifton + + * objcopy.c (copy_object): Replace call to + bfd_create_gnu_debuglink_section with separate calls to + bfd_add_gnu_debuglink_section and + bfd_fill_in_gnu_debuglink_section, separated by a walk over the + symbol tables. + +2003-06-26 Roland McGrath + + * readelf.c (loadaddr): Variable removed. + (dynamic_info, version_info): Fix type long -> bfd_vma. + (program_headers): New variable. + (get_program_headers): New function, broken out of + process_program_headers. + (process_program_headers): Call it. Don't set `loadaddr'. + (slurp_ia64_unwind_table): Use get_program_headers. + (process_corefile_note_segments): Likewise. + (offset_from_vma): New function. + (process_relocs, process_dynamic_segment): Call that instead of + subtracting `loadaddr'. + (process_version_sections, process_symbol_table): Likewise. + (process_mips_specific): Likewise. + +2003-06-26 Nick Clifton + + * objcopy (enum strip_action): Add STRIP_NONDEBUG. + (OPTION_ONLY_KEEP_DEBUG): New. + (strip_options): Add --only-keep-debug. + (copy_options): Likewise. + (is_strip_section): Invert return value if STRIP_NONDEBUG is + active. + (copy_object): Do not copy private data when STRIP_NONDEBUG is + active. + (setup_section): Likewise. + (strip_main): Handle --only-keep-debug. + (copy_main): Likewise. + * NEWS: Mention new switch + * doc/binutils.texi: Document new switch. + +2003-06-25 Alan Modra + + * NEWS: Correct spelling of "relocatable". + * objdump.c: Likewise. + * sysroff.info: Likewise. + +2003-06-19 Nick Clifton + + * readelf.c (print_vma): When printing DEC_5 values, if the + number is bigger than 99999 switch to using hexadecimal + notation. + +2003-06-11 Nick Clifton + + * objcopy.c (gnu_debuglink_filename): New variable. + (OPTION_ADD_GNU_DEBUGLINK): New switch + (copy_options): Describe --add-gnu-debuglink switch. + Mention that --strip-debug removes sections as well. + (is_strip_section): Process the sections removed and kept + lists before checking for debugging sections. + (add_redefine_syms_file): Make function static. + (copy_object): Use is_strip_section. + Check to see if a .gnu_debuglink section should be added. If + so, call bfd_add_gnu_debuglink. + (setup_section): Use is_strip_section. + (copy_section): Use is_strip_section. + (copy_main): Handle OPTION_ADD_GNU_DEBUGLINK. + * NEWS: Mention new objcopy switch. + * doc/binutils.texi: Document new switch. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-11 Alan Modra + + * Makefile.in: Regenerate. + +2003-05-23 Jakub Jelinek + + * readelf.c (get_segment_type): Handle PT_GNU_STACK. + +2003-06-03 Elias Athanasopoulos + + * NEWS: Document the new BSD/POSIX single-character mapping for + .comment/.note sections. + +2003-06-02 Chris Demetriou + Jason Thorpe + + * objcopy.c (redefine_list_append): Add an argument that + indicates the context from which this function is being + called. Change all callers. + (copy_options): Add a new option, --redefine-syms. + (copy_usage): Document new option. + (copy_main): Handle the --redefine-syms option. + * doc/binutils.text (objcopy): Document new option. + +2003-05-31 Richard Henderson + + * readelf.c (byte_get_signed): New. + (get_encoded_value): New. + (display_debug_frames): Use it. Always pre-process opcodes. + +2003-05-20 Michal Ludvig + + * readelf.c (display_debug_frames): Print both registers + for DW_CFA_register. + +2003-05-16 Kelley Cook + + * configure.in: Accept i[3-7]86 variants. Escape '[]' for + i[3-7]86-*-interix. + * configure.in: Regenerate. + +2003-05-13 Michael Eager + + * objcopy.c: Treat identical src/dst file names as if only one + entered. One Windows creating an output file of the same name as + the input file will delete the input file before it is read. + +2003-05-12 Salvador Eduardo Tropea + + * debug.c (debug_get_real_type): Extend test for circular debug + references. + +2003-05-12 Nick Clifton + + * configure.in (ALL_LINGUAS): Add zh_CN. + * configure: Regenerate. + * po/zh_CN.po: New file: Chinese (simplified) translation. + +2003-05-11 Jason Eckhardt + + * MAINTAINERS: Update my mail address. + +2003-05-07 H.J. Lu + + * readelf.c (dump_relocations): Enlarge the type field in wide + mode by one character. + +2003-05-03 Richard Henderson + + * readelf.c (struct Frame_Chunk): Add cfa_exp. + (frame_display_row): Just print "exp" for cfa or register + defined by a location expression. + (display_debug_frames): Handle DW_CFA_def_cfa_expression, + DW_CFA_expression, DW_CFA_MIPS_advance_loc8. + +2003-04-30 H.J. Lu + + * objdump.c (only): Change it to char **. + (only_size): New. + (only_used): New. + (disassemble_data): Check only as an array. + (dump_data): Likewise. + (dump_relocs): Likewise. + (main): Treat only as an array. + +2003-04-24 Dimitrie O. Paun + + * doc/binutils.texi: Fix the documentation for the -fo option. + +2003-04-23 J"orn Rennecke + + * readelf.c (get_machine_name) : Amend return value + to refer to SuperH. + + * readelf.c (decode_location_expression): Don't add a trailing ';'. + +2003-04-23 Dimitrie O. Paun + Nick Clifton + + * windres.c (long_options): Move close to main, where it is used. + Add 'input' and 'output' long options. + (main): Accept "-fo" as an alias for "-o". This is for rc + comptibility. + * doc/binutils.texi: Mention that -fo is accepted as an alias for + -o, but discourage its use. + +2003-04-22 Dimitrie O. Paun + + * windres.c (format_from_name): Make the exit on error + behaviour optional. + (main): Rename the -I option to -J. Introduce -I as a synonym + for --include-dir. For backwards compatibility also support the + old -I behaviour, but issue a deprecation warning. + * doc/binutils.texi: Rename -I to -J. Document the new behaviour + of the -I option. + +2003-04-22 Kazuhiro Inaoka + + * readelf.c: Replace references to Mitsubishi M32R with + references to Renesas M32R. + +2003-04-15 Rohit Kumar Srivastava + + * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'. + +2003-04-09 Alexandre Oliva + + * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w + for debugging information types not supported by objdump. + +2003-04-09 Bernd Jendrissek + + * configure.in: Recognize canonical form of i[3-6]86-pe*. + * configure: Regenerate. + +2003-04-09 Alexandre Oliva + + * readelf.c (display_debug_info): Apply RELA relocations on the + entire section. + (byte_put_little_endian, byte_put_big_endian): New functions. + (byte_put): New variable. + (get_file_header): Initialize it. + +2003-04-05 Dimitrie O. Paun + + * windres.c: Add -l for compatibility with wrc, and rc. + Use the short option as a key for long options that have + a synonymous short option. + * doc/binutils.texi: Added -l to the list of options. + +2003-04-03 Dimitrie O. Paun + + * windres.c: Add -U for compatibility with wrc, rc, and cpp. + (main): Just pass the -U option down to the preprocessor. + * doc/binutils.texi: Added -U to the list of options. + +2003-04-01 Dimitrie O. Paun + + * windres.c (usage): Report -r option. + (main): Ignore the -r option. + * doc/binutils.texi: Add -r to the list of options. + +2003-04-01 Bob Wilson + + * MAINTAINERS: Add myself as Xtensa maintainer. + +2003-04-01 Bob Wilson + + * readelf.c: Include "elf/xtensa.h". + (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of + targets that use RELA relocations. + (dump_relocations): Call elf_xtensa_reloc_type for + EM_XTENSA and EM_XTENSA_OLD. + (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD. + +2003-04-01 Nick Clifton + + * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for + thumb-pe*, mcore-pe and mcore-*elf. + * configure: Regenerate. + +2003-03-31 Alexandre Oliva + + * objdump.c (dump_data): Don't truncate the address to long; make + the width large enough, and uniform for all entries in a section. + +2003-03-31 H.J. Lu + + * readelf.c: Include "libiberty.h". + (dynamic_relocations): New. + (process_relocs): Properly handle dynamic relocation. + (process_dynamic_segment): Fill relocation elements in + dynamic_info. + +2003-03-31 Kevin Buettner + + * readelf.c (read_and_display_attr, read_and_display_attr_value): + Add new arguments ``offset_size'' and ``dwarf_version''. Adjust + all callers. + (display_debug_lines, display_debug_pubnames, display_debug_info) + (display_debug_aranges, display_debug_frames, read_and_display_attr) + (read_and_display_attr_value): Add 64-bit DWARF support. + +2003-03-31 Ian Lance Taylor + + * rcparse.y: Replace uses of 'optstringrc' with 'optresid'. + (optresid): Handle a resource id that can be a string or a number. + * resrc.c (define_control): Replace 'text' parameter with 'iid' a + struct res_id. + (define_icon_control): Pass a struct res_id to define_control. + * windres.h (define_control): Change prototype. + +2003-03-24 Elias Athanasopoulos + + * objcopy (OPTION_FORMATS_INFO): Define. + (strip_options): Add "info"/OPTION_FORMATS_INFO option. + (copy_options): Likewise. + (strip_usage): Add "--info" to usage. + (copy_usage): Likewise. + (strip_main): Declare formats_info. Iniatilize it to FALSE. + Handle "info". + (copy_main). Likewise. + * doc/binutils.texi. Document the "--info" option for + objcopy/strip. + * NEWS: Mention the new command line switch. + + * objdump.c (endian_string): Move to bucomm.c. + (display_info): Likewise. + (display_target_list): Likewise. + (display_info_table): Likewise. + (display_target_tables): Likewise. + (main): Assign the return value of display_info to exit_status. + * bucomm.c: Include bfdver.h and libbfd.h + (display_target_list): Call bfd_nonfatal instead of nonfatal and + return 0 on a non-fatal error, 1 on success. + (display_info_table): Likewise. + * bucomm.h (display_info): Provide a prototype. + * Makefile.am (bucomm.o): Add dependencies on bfdver.h and + libbfd.h. + * Makefile.in: Regenerate. + +2003-03-22 Danny Smith + + * dlltool.c (gen_def_file): Put demangled name comments on + own line preceding export name. + +2003-03-17 Nick Clifton + + * objdump.c (disassemble_data): Use disasm_info.fprintf_func not + printf for emitting new lines. + +2003-03-16 Elias Athanasopoulos + + * nm.c (print_symbol_info_bsd): Print the symbol's size instead of + the symbol's value when --size-sort is used, unless -S is used. + doc/binutils.texi (--size-sort): For non-bsd formats both the + value and size of the symbols are displayed. + +2003-03-13 Nick Clifton + + * po/da.po: Update. + +2003-03-12 Nick Clifton + + * MAINTAINERS: Remove Peter Targett as ARC maintainer. + +2003-03-10 Ben Elliston + + * MAINTAINERS: Update my mail address. + +2003-03-06 Elias Athanasopoulos + + * stabs.c (BYTES_IN_WORD): Remove definition. + * wrstabs.c (BYTES_IN_WORD): Likewise. + +2003-03-04 Nick Clifton + + * nm.c (main): Print a warning message if --size-sort and + --undefined-only are used together. + +2003-03-04 Elias Athanasopoulos + + * nm.c (print_symbol): Remove check for undefined_only. + +2003-03-03 Nick Clifton + + * po/da.po: Installed latest translation. + +2003-02-24 Nick Clifton + + * README: Update binutils references to 2.13. + Add paragraph about using --disable-nls. + +2003-02-24 Elias Athanasopoulos + + * doc/binutils.texi (nm --size-sort): Update. + +2003-02-21 James E Wilson + + * MAINTAINERS: Update email address. + +2003-02-21 Ian Wienand + + * readelf.c (get_ia64_dynamic_type): New function. + (dynamic_segment_ia64_val): New function. + (get_dynamic_type): If machine type is EM_IA_64 call + get_ia64_dynamic_val. + (get_ia64_section_type_name): Handle sections with types in the + SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range. + (get_dynamic_flags): If machine type is EM_IA_64 call + dynamic_segment_ia64_val. + +2003-02-21 Bob Wilson + + * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make + section title capitalization more consistent. Update descriptions + of various options to be consistent with the code. Fix errors and + incomplete list in the description of c++filt format options. Remove + information about the linker. Change to be more polite about poor + bug reports. Replace FDL appendix with include of fdl.texi. + * doc/fdl.texi: New file. + +2003-02-21 Roger Sayle + + * objcopy.c (filter_symbols): Fix compilation problems with + HP-UX's C compiler. + +2003-02-19 Christopher Faylor + + * rclex.l (handle_quotes): Fix minor formatting problems introduced in + previous change. + +2003-02-19 Mark Blackburn + + * rclex.l (handle_quotes): Handle strings spanning more than one line. + +2003-02-12 Bob Wilson + + * nm.c (usage): Add `java' and `gnat' demangle styles and make + quotes consistent. + * objdump.c (usage): Ditto. Also fix some typos. + + * readelf.c (parse_args): Include 'H' option in call to getopt_long. + + * debug.c (debug_record_variable): Handle global register variables. + + * stabs.c (parse_stab): For N_SLINE only include + function_start_offset if the symbol is within a function; + otherwise, the value is absolute. + +2003-02-10 Nick Clifton + + * readelf.c (decode_ARM_machine_flags): Handle the + EF_ARM_MAVERICK_FLOAT flag. + +2003-02-04 Andreas Schwab + + * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to + long and use %ld in printf format. + +2003-01-28 Richard Sandiford + + * readelf.c (dump_relocations): Reorder the r_info field for + little-endian mips elf64. Move #ifdef BFD64 to cover the new code. + +2003-01-21 Daniel Berlin + + * readelf.c (display_debug_loc): Skip address base changes. + +2003-01-17 Fabio Alemagna + + * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS + and ELFOSABI_NSK. + +2003-01-16 Alan Modra + + * readelf.c: Include elf/ppc64.h. + (dump_relocations ): Use elf_ppc64_reloc_type. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-01-02 Ben Elliston + + * readelf.c (guess_is_rela): Handle EM_IQ2000. + (get_machine_name): Likewise. + (dump_relocations): Likewise. + * NEWS: Mention IQ2000 support. + +2003-01-02 Richard Sandiford + + * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2. + +2002-12-30 Chris Demetriou + + * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) + changes in MIPS -M options. + +2002-12-30 Dmitry Diky + + * Makefile.am: Add msp430 target. + * Makefile.in: Regenerate. + * readelf.c: Add support for msp430 target. + +2002-12-27 Chris Demetriou + + * doc/binutils.texi (objdump): Document MIPS -M options. + +2002-12-23 Andreas Schwab + + * readelf.c (main): Reset dump request after each file. + +2002-12-23 Nick Clifton + + * nlmconv.c (main): Pass TRUE as third argument to + bfd_arch_get_compatible. + +2002-12-23 Nick Clifton + + * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC + macro. Handle 'S' encoding, accepting 8-bit characters. + (main): Parse 'S' encoding. + (get_char): Accept 'S' encoding. + (print_strings): Use STRING_ISGRAPHIC. + (usage): Document support of 'S' encoding. + * doc/binutils.texi: Document support of 'S' encoding/ + * NEWS: Mention new feature. + +2002-12-20 Alan Modra + + * README : Don't use libibery's needed_list or + required_list, instead link libiberty/*.o. + +2002-12-19 Kazu Hirata + + * doc/binutils.texi: Fix typos. + +2002-12-14 John David Anglin + + * doc/binutils.texi: Add missing parenthesis. + +2002-12-15 Nick Kelsey + + * objcopy.c: Add --prefix-symbols= option to rename all + symbols by adding the given prefix to the begining of the symbol + name. This is useful to provide name space separation regardless + of how the object file was created. Added --prefix-sections= + and --prefix-alloc-sections= options to rename all + sections (or all sections with the alloc flag set) by adding the given + prefix to the begining of the symbol name. + * NEWS: Mention this new feature. + * doc/binutils.texi: Document this new feature. + +2002-12-13 Alan Modra + + * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of + dyn_string_append with dyn_string_append_cstr. + + * emul_aix.c (ar_emul_aix_create): Remove unused function. + +2002-12-10 James Cownie + + * readelf.h (get_TAG_name, get_AT_name, + read_and_display_attr_value): Add support for UPC extensions to + DWARF2 spec. + * NEWS: Mention this new support. + +2002-12-08 Alan Modra + + * NEWS: Mention that bfd no longer declares a "boolean" type. + +2002-12-07 Alan Modra + + * readelf.c (process_program_headers): When setting loadaddr, don't + assume segment size is 4k. Use p_align instead. + (loadaddr): Change from int to long. + (dynamic_addr, dynamic_info, version_info): Likewise. + (process_dynamic_segment ): Likewise. + (process_dynamic_segment): Adjust print format string. + (rela_addr, rela_size): Delete. + (process_relocs): Formatting. + +2002-12-05 Jim Wilson + + * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64. + * configure: Regenerate. + +2002-12-04 Ian Lance Taylor + + * MAINTAINERS: Change e-mail address back to airs.com. + +2002-12-04 Aldy Hernandez + + * MAINTAINERS: Add self. + +2002-11-30 Alan Modra + + * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h, + budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c, + nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c, + rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c, + unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with + TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars + with TRUE/FALSE. Formatting. + +2002-11-29 Jakub Jelinek + + * readelf.c Replace occurrences of Elf32_Internal_* and + Elf64_Internal_* with Elf_Internal_*. + (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela. + Zero r_addend fields. + (dump_relocations): Remove relas variable, change Elf_Internal_Rel to + Elf_Internal_Rela. + +2002-11-23 Nick Clifton + + * size.c (usage): Fix typo describing switch for hex format. + +2002-11-18 Svein E. Seldal + + * testsuite/binutils-all/objcopy.exp: Disable tic4x from test + * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x + testcase + +2002-11-14 Nick Clifton + + * readelf.c (process_program_headers): Add comment about return + value. Ensure that 0 is returned if the headers are not loaded. + (process_file): If process_section_headers failed to load the + headers disable any tests that rely upon them. Similarly for + process_program_headers. + +2002-11-12 Nick Clifton + + * po/da.po: Updated Danish translation. + +2002-11-12 Klee Dienes + + * rddbg.c (read_section_stabs_debugging_info): Also recognize + LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections. + +2002-11-11 Christopher Faylor + + * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from + cgf maintainership. + +2002-11-11 Christopher Faylor + + * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer. + +2002-11-07 Nick Clifton + + * configure.in (ALL_LINGUAS): Add 'da'. + * configure: Regenerate. + * po/da.po: New Danish translation. + + * readelf.c (get_symbol_index_type): Revert part of previous + patch: Display unknown symbol types in decimal, not hex. + +2002-11-07 Danny Smith + + * dlltool.c (add_excludes): Don't prefix excluded fastcall + symbols with underscore. + (xlate): Ignore add_underscore for decorated fastcall symbols. + +2002-11-07 Eric Kohl + + * deflex.l: Accept '@' as first character of an ID. + * dlltool.c (gen_exp_file): Use existing '@' prefix rather than + ASM_PREFIX for fastcall symbols. + (scan_drectve_symbols): Handle fastcall symbols when generating + undecorated aliases for symbols in drectve section. + (scan_filtered_symbols): Likewise, with export-all. + (xlate): Likewise, with --kill-at. + (make_imp_label): New function to handle fastcall symbols + correctly. + (make_one_lib_file): Use make_imp_label instead of make_label + for imp symbols. + +2002-11-06 Svein E. Seldal + + * MAINTAINERS: Add self as TIC4X maintainer. + +2002-11-06 Hiroyuki Machida + + * readelf.c (get_symbol_index_type): Add hex number to + PROCESSOR-specific, OS-specific, reserved and unknown symbol + types. + +2002-11-04 Alan Modra + + * readelf.c (byte_get_little_endian): Comment typo fix. + (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf + as the format string. + (dump_relocations): Correct section sym names. + (process_section_headers): Clear symtab_shndx_hdr. + (read_and_display_attr_value): Don't pass indirect string to printf + as the format string. + (display_debug_frames): Indicate when zero terminator found. Decode + DW_EH_PE_pcrel addresses. + +2002-10-23 Svein E. Seldal + + * configure.in: Define SKIP_ZEROES as 32 for tic4x target in + order to ensure proper disassembly of the valid 0-value opcode. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/binutils.pot: Regenerate. + +2002-10-23 Kaz Kojima + + * MAINTAINERS: Add self as SH maintainer. + +2002-10-23 Ben Elliston + + * doc/binutils.texi (objdump): Document -z and move the entry for + --disassemble-zeroes to the end of the options section (for `z'). + +2002-10-21 Nick Clifton + + * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer. + +2002-10-21 Svein E. Seldal + + * objdump.c (dump_data): Correct addr_offset for opb != 1. + +2002-10-15 Alan Modra + + * bucomm.c (list_supported_targets): Use bfd_target_list. + + * objcopy.c (copy_file): Report ambiguous bfd_object matches, and + other object errors in preference to bfd_core errors. + +2002-10-14 Alan Modra + + * Makefile.am: Run "make dep-am". + * objdump.c: #include "bfdver.h". + * version.c: Likewise. + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-10-09 Daniel Jacobowitz + + * readelf.c (display_debug_info): Ignore empty .rela.debug_info + sections. Allow relocations against the absolute symbol. Don't + use the value in compunit.cu_abbrev_offset if we found a RELA + relocation. + +2002-10-07 Gordon Chaffee + + * addr2line.c (slurp_symtab): Read in dynamic symbols if no + ordinary ones are available. + +2002-09-30 H.J. Lu + + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120, + E_MIPS_MACH_5400 and E_MIPS_MACH_5500. + +2002-09-17 Zack Weinberg + + * Makefile.am (CFILES): Add cxxfilt.c. + (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS). + (cxxfilt_LDADD): Delete. + Remove all references to underscore.c. + Regen dependencies. + * configure.in: Define TARGET_PREPENDS_UNDERSCORE in + config.h from $UNDERSCORE, rather than AC_SUBSTing it. + * binutils/cxxfilt.c: Moved here from gcc/cp, minor + adjustments to fit into binutils framework. + * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate. + +2002-09-12 Roland McGrath + + * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref + Handle DW_OP_GNU_push_tls_address. + +2002-09-11 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2002-09-10 Nick Clifton + + * MAINTAINERS: Add Ben Elliston as a maintainer for configure and + testsuite changes. Add paragraphs about testsuite and config + patches. + +2002-08-29 Nick Clifton + + * readelf.c (get_machine_flags): Remove redundant reference to + E_V850EA_ARCH. + +2002-08-28 Alan Modra + + * objdump.c (dump_bfd): Restore lines accidentally deleted in + last commit. + +2002-08-28 Michael Hayes + + * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag. + (dump_bfd_header): Likewise. + +2002-08-27 Alan Modra + + * nm.c: Revert last change. + +2002-08-26 Alan Modra + + * nm.c (display_rel_file): Don't report "no symbols" as an error. + * objdump.c (slurp_symtab): Likewise. + (slurp_dynamic_symtab): Likewise. + (dump_symbols): Likewise. Do print "no symbols" to stdout. + +2002-08-24 Geoffrey Keating + + * MAINTAINERS: Change my mailing address. + +2002-08-23 John David Anglin + + * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer. + +2002-08-22 Nick Clifton + + * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for + HPPA. + +2002-08-21 John David Anglin + + * readelf.c (parse_args): Change debug_dump_opt to static. + +2002-08-16 Sivaguru Sankaridurg + + * stabs.c (parse_stab_argtype): Pass length of physname to + stab_demangle_argtypes. + (stab_demangle_argtypes): Add new parameter - length of physname. + Pass length of physname on to stab_demangle_prefix. + (stab_demangle_prefix): Add new parameter - length of physname. + Use length of physname (if supplied) to compute end of function + name. + +2002-08-15 Alan Modra + + * readelf.c: Include elf/i370.h. + (dump_relocations): Handle EM_S370. + (dynamic_segment_parisc_val): Print \n. + (process_dynamic_segment ): Here too. + +2002-08-14 Nick Clifton + + * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'. + * objdump.c (usage): Likewise. + * doc/binutils.texi: Likewise. + +2002-08-14 Luke Dunstan + + * rcparse.y (acc_entry): Don't warn about ALT use with + non-VIRTKEY. + +2002-08-13 H.J. Lu + + * objcopy.c (copy_object): Don't warn about the unsupported + architecture unless the input target is defaulted or the + output architecture is different from the input. + +2002-08-09 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2002-08-05 Alan Modra + + * prdbg.c (pr_fix_visibility): Remove assert. + +2002-07-31 Nick Clifton + + * addr2line.c (process_file): Rename parameter 'filename' to + 'file_name' in order to avoid shadowing global symbol of the + same name. + (main): Likewise. + +2002-07-30 Jakub Jelinek + + * readelf.c (OPTION_DEBUG_DUMP): Define. + (options): Use it. + (usage): Update help. + (parse_args): Handle --debug-dump separately from -w. + * doc/binutils.texi (readelf): Update documentation. + +2002-07-25 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/fr.po: Updated French translation. + +2002-07-24 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2002-07-23 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2002-07-23 Nick Clifton + + * po/fr.po: Updated French translation. + +2002-07-23 Eric S. Raymond + + * doc/binutils.texi (addr2line ): Correct brackets. + +2002-07-20 Alan Modra + + * budemang.c: Include config.h and string.h/strings.h. + +2002-07-18 Denis Chertykov + Frank Ch. Eigler + + * readelf.c: Include "elf/ip2k.h". + (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + * NEWS: Mention IP2K support. + +2002-07-16 Nick Clifton + + * NEWS: Add 'Changes in 2.13'. + +2002-07-10 Jakub Jelinek + + * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED, + DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*. + (get_section_type_name): Handle SHT_GNU_LIBLIST. + (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ, + DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED. + (process_gnu_liblist): New. + (process_file): Call it. + +2002-07-03 Alan Modra + + * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. + * Makefile.in: Regenerate. + +2002-07-02 Alan Modra + + * budemang.c: New file, "demangle" function. + * budemang.h: New file. + * addr2line.c (translate_addresses): Use "demangle". + * nm.c (print_symname): Likewise. + * objdump.c (objdump_print_symname): Likewise. + (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro + here since that obfuscates. + * rdcoff.c: Don't #include demangle.h. + * Makefile.am (CFILES): Add budemang.c, emul_aix.c, + emul_vanilla.c. Remove emul_$(EMULATION).c. Sort. + (HFILES): Add budemang.h. Sort. + (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c. + Run "make dep-am". + * Makefile.in: Regenerate. + +2002-07-01 Matt Thomas + + * readelf.c: Include "elf/vax.h". + (guess_is_rela): Move EM_VAX from unknown to RELA case. + (dump_relocations): Handle VAX relocations. + (get_machine_flags): Handle VAX machine flags. + +2002-06-29 Stephane Carrez + + * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations. + +2002-06-26 Nick Clifton + + * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships. + +2002-06-26 Alan Modra + + * nm.c (print_symname): When demangling, strip leading dots from + symbol names to avoid confusing the demangler. + +2002-06-25 H.J. Lu + + * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. + * Makefile.in: Regenerated. + +2002-06-21 Igor Schein + + * configure.in: Quote bu_cv_have_fopen64. + * configure: Regenerate. + +2002-06-21 Mitsru Chinen + + * configure.in: Check for strcoll. + * configure: Regenerate. + * config.in: Regenerate. + * nm.c (main): Set locale for LC_COLLATE category. + (non_numeric_forward): Use strcoll if available. + +2002-06-20 Dave Brolley + + * MAINTAINERS: Add self as fr30 and frv maintainer. + +2002-06-18 H.J. Lu (hjl@gnu.org) + + * nm.c: Include "elf/common.h". + (extended_symbol_info): Add elfinfo, a pointer to + elf_symbol_type. + (SYM_SIZE): Use elfinfo if it is not NULL. + (get_symbol_type): New function. + (display_archive): Set print_width for each archive member. + (display_file): Likewise. + (display_rel_file): Don't set print_width here. + (print_object_filename_sysv): Handle print_width. + (print_archive_member_sysv): Likewise. + (print_symbols): Pass (bfd_vma) 0 to print_symbol. + (print_symbol): Set the elfinfo field in extended_symbol_info + for ELF. + (print_object_filename_sysv): Fix the output format. + (print_symbol_info_sysv): Print type and section for ELF. + +2002-06-18 Elias Athanasopoulos + + * nm.c (print_size_symbols): Remove assignment, which makes + the symbol's size equal to its value when --size-sort is + used. + +2002-06-18 Dave Brolley + + From Catherine Moore: + * readelf.c (elf/frv.h): #include it. + (guess_is_rela): Support EM_CYGNUS_FRV. + (dump_relocations): Ditto. + (get_machine_name): Ditto. + * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h. + +2002-06-18 Jakub Jelinek + + * readelf.c (get_file_header): Only read the first section header if + e_shoff is non-zero. + +2002-06-15 H.J. Lu (hjl@gnu.org) + + * nm.c (print_size): New variable. Initialize to 0. + (long_options): Add 'S'/"print-size". + (main): Handle 'S'. + (print_symbol_info_bsd): Print size only if print_size is not + 0. + + * doc/binutils.texi: Document -S/--print-size. + +2002-6-13 Elias Athanasopoulos + + * nm.c (struct extended_symbol_info): New structure: Add the size + of the symbols to the information provided by the symbol_info + structure. + (print_symbols): Pass the symbol size to print_symbol. + (print_size_symbols): Pass the symbol size to print_symbol. + (print_symbol): Extra argument: The size of the symbol. Store + this in the extended_symbol_info structure. + (print_symbol_info): Change type of info parameter to + extended_symbol_info. Display the size, if known. + (print_symbol_info_posix): Likewise. + (print_symbol_info_sysv): Likewise. + +2002-06-08 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regnerate. + + * bucomm.c: Replace CONST with const. + * nm.c: Likewise. + * objdump.c: Likewise. + +2002-06-07 H.J. Lu + + * readelf.c (DW_CFA_GNU_args_size): Don't define. + (DW_CFA_GNU_negative_offset_extended): Likewise. + (DW_CFA_GNU_window_save): Likewise. + (display_debug_frames): Handle DW_CFA_offset_extended_sf, + DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. + +2002-06-07 Elias Athanasopoulos + + * nm.c: When computing size of symbols for an ELF target use the + internal size field. + +2002-06-06 John David Anglin + + * testsuite/binutils-all/objcopy.exp: clear xfail for + "hppa*64*-*-hpux*". + * testsuite/binutils-all/hppa/objdump.exp: Return if + "*64*-*-*". + +2002-06-05 Alan Modra + + * objcopy.c (copy_section): Don't copy SEC_GROUP sections. + +2002-06-03 Elias Athanasopoulos + + * objdump.c: Fix formatting. + +2002-05-29 Ben Elliston + + * MAINTAINERS: Add self as M68k maintainer. + +2002-05-28 Kuang Hwa Lin + + * readelf.c: Modified/Added DLX elf support. + +2002-05-27 Nick Clifton + + * arsup.c: Fix formatting. + * debug.c (debug_record_label): Add missing colon to error + message. + * ieee.c (parse_ieee_ty): Fix spelling typo. + * readelf.c (process_program_headers): Remove English assumption + about making a plural word. + (process_section_headers): Likewise. + (process_relocs): Allow quotes to be translated. + (process_unwind): Likewise, + (process_mips_specific): Improve error message. + (get_note_type): Fix spelling typo. + + * configure.in (ALL_LINGUAS): Add sv + * po/sv.po: New file. + +2002-05-27 Alan Modra + + * unwind-ia64.c (unw_print_brmask): Don't use sprintf. + (unw_print_grmask): Likewise. + (unw_print_frmask): Likewise. + +2002-05-26 Kazu Hirata + + * arsup.c: Remove ARGSUSED. + * debug.c: Likewise. + * ieee.c: Likewise. + * nlmconv.c: Likewise. + * prdbg.c: Likewise. + * stabs.c: Likewise. + * wrstabs.c: Likewise. + +2002-05-25 Alan Modra + + * arlex.l: Use #include "" instead of <> for local header files. + * coffdump.c: Likewise. + * coffgrok.c: Likewise. + * nlmconv.c: Likewise. + * nlmheader.y: Likewise. + * srconv.c: Likewise. + * strings.c: Likewise. + * sysdump.c: Likewise. + * unwind-ia64.h: Likewise. + * windres.h: Likewise. + * winduni.h: Likewise. + +2002-05-24 Tom Rix + + * MAINTAINERS: Add self as the d10v maintainer. + +2002-05-24 TAMURA Kent + + * configure.in: Builds dlltool for i386-netbsdpe. + * configure: Regenerate. + +2002-05-23 Kazu Hirata + + * size.c: Fix formatting. + * srconv.c: Likewise. + * stabs.c: Likewise. + * sysdump.c: Likewise. + * unwind-ia64.c: Likewise. + * wrstabs.c: Likewise. + +2002-05-23 Jakub Jelinek + + * readelf.c (get_segment_type): Add PT_TLS. + (get_elf_section_flags): Add SHF_TLS. + (get_dynamic_flags): Optimize. Add DF_STATIC_TLS. + (process_dynamic_segment): Use puts instead of printf. + (get_symbol_type): Support STT_TLS. + * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT, + SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS. + Add SEC_THREAD_LOCAL. + +2002-05-23 Kazu Hirata + + * rdcoff.c: Fix formatting. + * rddbg.c: Likewise. + * readelf.c: Likewise. + * rename.c: Likewise. + * resbin.c: Likewise. + * resrc.c: Likewise. + * resres.c: Likewise. + +2002-05-21 Kazu Hirata + + * filemode.c: Fix formatting. + * ieee.c: Likewise. + * is-ranlib.c: Likewise. + * is-strip.c: Likewise. + * maybe-ranlib.c: Likewise. + * maybe-strip.c: Likewise. + * nlmconv.c: Likewise. + * nm.c: Likewise. + * not-ranlib.c: Likewise. + * not-strip.c: Likewise. + * objcopy.c: Likewise. + * objdump.c: Likewise. + +2002-05-21 Thiemo Seufer + + * objdump.c (dump_headers): Fix output formatting for ELF32 + architectures in a BFD64 enabled toolchain. + +2002-05-20 Kazu Hirata + + * debug.c: Fix formatting. + * debug.h: Likewise. + * dlltool.c: Likewise. + * dllwrap.c: Likewise. + * emul_aix.c: Likewise. + * emul_vanilla.c: Likewise. + +2002-05-19 Kazu Hirata + + * addr2line.c: Fix formatting. + * ar.c: Likewise. + * arsup.c: Likewise. + * arsup.h: Likewise. + * binemul.c: Likewise. + * binemul.h: Likewise. + * bucomm.c: Likewise. + * coffdump.c: Likewise. + * coffgrok.c: Likewise. + * coffgrok.h: Likewise. + +2002-05-16 Marek Michalkiewicz + + * MAINTAINERS: Add myself as the second AVR port maintainer. + +2002-05-16 Stephane Carrez + + * MAINTAINERS: Update my email address. + +2002-05-09 Nick Clifton + + * MAINTAINERS: Add Jason Thorpe as VAX maintainer. + +2002-05-09 Alan Modra + + * configure.in: Replace `*pe' with `pe' throughout. + * configure: Regenerate. + +2002-05-07 Federico G. Schwindt + + * Makefile.am: Honour DESTDIR. + * Makefile.in: Regenerate. + +2002-05-06 Alan Modra + + * dlltool.c (process_def_file): Add missing prototype. + (new_directive, assemble_file, main): Likewise. + (process_def_file, new_directive): Make static. + (inform): Rewrite using VA_FIXEDARG. + * dllwrap.c (mybasename): Add missing prototype. + (strhash, main): Likewise. + (inform): Rewrite using VA_FIXEDARG. + (warn): Likewise. + (cleanup_and_exit): Use old style function definition. + (strhash): Likewise. + * windres.c (define_resource): Use one memset to clear all of + struct res_resource. + + * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings + call to rules that need no lookahead. Check for no lookahead. + +2002-05-06 Borut Razem + + * rclex.l (get_string): Correct "strings" list handling. + * resrc.c (read_rc_file): Discard strings. + +2002-05-04 Alan Modra + + * ar.c (replace_members): Remove unused var. Formatting fix. + * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED. + + * MAINTAINERS: Sort port maintainers by CPU. + +2002-05-04 Bob Byrnes + + * size.c (display_archive): Add last_arfile and code to close archives. + +2002-05-01 Alan Modra + + * nm.c (print_symbol): Check returned filename from + bfd_find_nearest_line is non-NULL. + +2002-04-25 Elena Zannoni + + * readelf.c (get_AT_name): Handle DW_AT_GNU_vector. + +2002-04-24 Christian Groessler + + * MAINTAINERS: Changed my email address. + +2002-04-17 Thiemo Seufer + + * arparse.y: Fix syntax warning. + +2002-04-16 Nick Clifton + + * readelf.c (fetch_location_list): Remove unused function. + + * readelf.c (process_corefile_note_segment): Catch corrupt notes + and display a warning message, then exit the loop. + + * rcparse.y: Set MEMFLAG_DISCARDABLE by default. + +2002-04-15 Nick Clifton + + * resrc.c (write_rc_dialog): If charset is non-default value + display all of the DIALOGEX parameters. + +2002-04-15 Eric Kohl + + * rcparse.y: Allow two to five parameter in FONT statement of + DIALOGEX resources. + * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex + resource data. + (res_to_bin_dialog): Likewise. + * windres.h: Added misssing charset variable to dialog_ex + structure. + +2002-04-10 Nick Clifton + + * rcparse.y: Set MEMFLAG_PURE by default. + +2002-04-09 Bernd Herd + + * rcparse.y: CLASS definitions in DIALOG resources + are quoted. + Fix typo in BEDIT warning. + Don't add default dialog style when explicit style specified. + Add WS_CAPTION dialog style if CAPTION is specified. + + * rclex.l (handle_quotes): "\xhex" encoding in strings corrected. + (handle_quotes) "\a" escape (used for right justified key + definitions in menus) is encodes as binary 8. + + * resrc.c (write_rc_dialog): Print style even if it is 0. + (write_rc_directory): Fix overlooked sublang shift bug. + (bin_to_res_dialog): Don't print empty dialog caption. + + * resbin.c (bin_to_res_dialog): Use signature to identify + DIALOGEX. + + * windres.c (main): Set default LANGUAGE to english/us. + +2002-04-09 Gunnar Degnbol + + * resrc.c: print CLASS names in quotes + +2002-04-09 J"orn Rennecke + + * MAINTAINERS: Update my email address. + +2002-04-04 Alan Modra + + * dep-in.sed: Cope with absolute paths. + * Makefile.am (dep.sed): Subst TOPDIR. + Run "make dep-am". + * Makefile.in: Regenerate. + +2002-03-27 Peter Targett + + * MAINTAINERS: Update my email address. + +2002-03-21 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2002-03-20 Daniel Berlin + + * readelf.c: Add support for displaying dwarf2 location lists. + (do_debug_loc, debug_loc_section, debug_loc_size): New. + (parse_args): Use 'O' as shorthand for displaying location list + section. + (process_section_headers): Handle debug_loc as well. + (load_debug_loc): New. + (free_debug_loc): New. + (fetch_location_list): New. + (display_debug_loc): New. + (display_debug_info): Call load_debug_loc and free_debug_loc. + (debug_displays): We can display .debug_loc now, too. + (usage): Update usage string. + (read_and_display_attr_value): Note location lists, but don't + display them inline. + +2002-03-18 Tom Rix + + * Makefile.am: Add binutils emulation support. + * configure.in: Same. + * configure.tgt: New file. Same. + * ar.c (main): Use ar_emul_parse_arg. + (usage): Use ar_emul_usage. + (replace_members): Use ar_emul_replace, ar_emul_append. + * binemul.c: New file. Define the binutils emulation + layer. Define default methods. + * binemul.h: New file. Binutils emulation layer header file. + * emul_aix.c: New file. AIX binutils emulation. + * emul_vanilla.c: New file. Default binutils emulation. + * Makefile.in: Regenerate. + * configure: Same. + +2002-03-18 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-13 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-07 Daniel Jacobowitz + + * README: Update some version numbers. + +2002-03-07 Daniel Jacobowitz + + * doc/binutils.texi (Target Selection): Fix LD crossreferences. + (Architecture Selection): Likewise. + +2002-03-01 Dmitry Timoshkov + + * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while + generating .exp file. + +2002-02-21 Nick Clifton + + * readelf.c (dump_relocations): Fix typo. + +2002-02-20 Nick Clifton + + * NEWS: Mark 2.12 branch. + +2002-02-18 Timothy Daly + + * readelf.c (dump_relocations): Display 2nd and 3rd reloc + types for 64-bit MIPS. Narrow some fields for 80-char + output. + (dump_relocations): Change spelling from 'unrecognised' + to 'unrecognized'. + (decode_ARM_machine_flags): Likewise. + (parse_args): Likewise. + (read_and_display_attr_value): Likewise. + (display_debug_section): Likewise. + +2002-02-15 Hans-Peter Nilsson + + * NEWS: Mention support for MMIX. + +2002-02-13 Matt Fredette + + * readelf.c (get_machine_flags): Recognize EF_M68000. + +2002-02-12 Alexandre Oliva + + * MAINTAINERS: Added self as MN10300 co-maintainer. + +2002-02-12 Alan Modra + + * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and + DT_PPC64_OPDSZ. + +2002-02-11 Daniel Jacobowitz + + * MAINTAINERS: List myself as branch maintainer. + +2002-02-11 Alan Modra + + * configure: Regenerate. + * objcopy.c: Update copyright date. + * doc/Makefile.in: Regenerate. + +2002-02-10 Daniel Jacobowitz + + * nlmconv.c: Back out localtime PARAMS change. + +2002-02-11 Alan Modra + + * objcopy.c (MKDIR): Define. + (copy_archive): Make name_list.name const. Use MKDIR. + Handle duplicate files in archives by making more temp dirs. + +2002-02-10 Daniel Jacobowitz + + * coffdump.c: Include "getopt.h" after "bucomm.h" + so that macros are defined correctly. + * nlmconv.c: Add PARAMS ((const time_t *)) to localtime + prototype. Prototype main. + * nlmheader.y: Add PARAMS ((int)) to strerror prototype. + +2002-02-06 Alexandre Oliva + + * MAINTAINERS: Added self as SH co-maintainer. + +2002-02-05 Nick Clifton + + * po/tr.po: Updated translation. + +2002-02-01 Alan Modra + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2002-01-29 Daniel Jacobowitz + + * nm.c (print_value): Mark abfd unused. + +2002-01-29 Daniel Jacobowitz + + * unwind-ia64.c (unw_decoder): Change second argument + to unsigned int, to match function prototypes. + +2002-01-29 Daniel Jacobowitz + + * objdump.c: Include "getopt.h" after "bucomm.h" so that + __GNU_LIBRARY__ will be defined. + * size.c: Likewise. + +2002-01-27 Daniel Jacobowitz + + * configure: Regenerated. + +2002-01-26 Hans-Peter Nilsson + + * doc/Makefile.am (install): Depend on install-info. + * doc/Makefile.in: Regenerate. + +2002-01-25 Jason R. Thorpe + + * objcopy.c (strip_usage): Document -d as an alias + --strip-debug. + + * size.c (usage): Document [-t | --totals] options. + (long_options): Add --totals option. + (main): If the [-t | --totals] option is specified and + the output format is Berkeley-style, print the total + text, data, and bss sizes of all objects listed. + (print_berkeley_format): If the [-t | --totals] option + is specified, track the total text, data, and bss + sizes. + * doc/binutils.texi (size): Document [-t | --totals] options. + (strip): Document -d as an alias for --strip-debug. + * NEWS: Mention new feature of size. + +2002-01-25 Nick Clifton + + * po/fr.po: Updated version. + * po/es.po: Updated version. + +2002-01-23 Nick Clifton + + * addr2line.c (usage): Update text to provide verbose + description of the command line options. + * ar.c (usage): Update text to provide verbose + description of the command line options. + (main): Accept -h and -H when running as ranlib. + * coffdump.c (show_usage): Update text to provide verbose + description of the command line options. + * dlltool.c (main): Accept -H as an alias for --help. + * nlmconv.c (show_usage): Update text to provide verbose + description of the command line options. + * nm.c (usage): Replace OPTIONS with option(s). + (main): Accept -H as an alias for --help. + * objcopy.c (strip_main): Accept -H as an alias for --help. + * objdump.c (main): Accept -v as an alias for --verbose. + * readelf.c (usage): Adjust format to match style used in + other binutils. + * size.c (usage): Update text to provide verbose description + of the command line options. + (main): Accept -v, -h and -H as command line options. + * srconv.c (show_usage): Update text to provide verbose + description of the command line options. + * strings.c (main): Accept -H and -v as command line options. + (usage): Update text to provide verbose description of the + command line options. + * sysdump.c (show_usage): Update text to provide verbose + description of the command line options. + * windres.c (usage): Adjust format to match style used in + other binutils. + + * coffdump.c: Fix formatting. + * nlmconv.c: Fix formatting. + * srconv.c: Fix formatting. + * sysdump.c: Fix formatting. + +2002-01-22 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2002-01-18 Andreas Jaeger + + * version.c (print_version): Update year. + +2002-01-17 Alan Modra + + * readelf.c (get_machine_name): Handle EM_PPC64. + (guess_is_rela): Here too. + +2002-01-17 Nick Clifton + + * po/binutils.pot: Regenerate. + * po/fr.po: Regenerate. + * po/tr.po: Regenerate. + +2002-01-16 Nick Clifton + + * po/tr.po: Import new version. + +2002-01-16 Alan Modra + + * readelf.c (get_ppc64_dynamic_type): New. + (get_dynamic_type): Call it. + +2002-01-15 Nick Clifton + + * objcopy.c (copy_usage): Use "options" instead of "switches". + (strip_usage): Use "options" instead of "switches". + * doc/binutils.texi (dlltool): Refer to "options" instead of + "switches". + +2002-01-14 Richard Earnshaw + + * MAINTAINERS: Add self as co-maintainer for the ARM code. + +2001-12-18 Nick Clifton + + * po/es.po: Import from translation project. + * configure.in (ALL_LINGUAS): Add es. + * configure: Regenerate. + +2002-01-09 Jason Thorpe + + * readelf.c (get_netbsd_elfcore_note_type): Use + NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH. + +2002-01-09 Jason Thorpe + + * readelf.c: Update copyright years. + (get_note_type): Return a const char *. + (get_netbsd_elfcore_note_type): New function. + (process_note): Use get_netbsd_elfcore_note_type to get + the note type string for NetBSD ELF core files. + +2002-01-06 Steve Ellcey + + * readelf.c (get_ia64_segment_type): Add support for macros. + (get_segment_type): Add support for IA64 specific macros. + +For older changes see ChangeLog-0001 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 50b4e336d07..829c5b8cc86 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,1044 +1,9 @@ -2003-12-03 Nick Clifton - * binutils-all/objdump.exp (cpus_expected): Add "msp". - -2003-10-06 Dave Brolley - - * binutils-all/objdump.exp (cpu_expected): Add fr550. - -2003-09-29 H.J. Lu - - * binutils-all/readelf.exp: Use is_elf_format. - - * binutils-all/readelf.h: Support IA64/ILP32. - * binutils-all/readelf.s: Likewise. - * binutils-all/readelf.ss: Likewise. - - * lib/utils-lib.exp (proc is_elf_format): Copy from ld - testsuite. Add ia64-*-hpux*. - -2003-06-29 Danny Smith - - * binutils-all/objcopy.exp: Initialise $test_prog to - testprog.exe on mingw targeted systems too. - -2003-06-28 Danny Smith - - * binutils-all/windres/checkbox.rc: New file. - * binutils-all/windres/checkbox.rsd: New file. - * binutils-all/windres/combobox.rc: New file. - * binutils-all/windres/combobox.rsd: New file. - * binutils-all/windres/edittext.rc: New file. - * binutils-all/windres/edittext.rsd: New file. - * binutils-all/windres/listbox.rc: New file. - * binutils-all/windres/listbox.rsd: New file. - * binutils-all/windres/scrollbar.rc: New file. - * binutils-all/windres/scrollbar.rsd: New file. - -2003-06-27 Thiemo Seufer - - * binutils-all/readelf.ss-tmips: Adjust symbol indices. - -2003-06-19 Nick Clifton - - * binutils-all/objcopy.exp: Replace occurances of testprog with - $test_prog. Initialise this variable to testprog.exe on Cygwin - targeted systems. - -2003-04-26 Nick Clifton - - * binutils-all/readelf.exp (prune_read_warnings): Rename to - prune_readelf_wi_warnings. - (readelf_wi_test): New proc: Test 'readelf -wi' by grepping - through its output. - Replace invocation of "readelf_test -wi" with "readelf_wi_test" - * binutils-all/readelf.wi: Delete. - -2003-04-23 Nick Clifton - - * binutils-all/readelf.exp (proc prune_readelf_warnings): New - function. - (proc readelf_test): Prune warning messages. - (readelf_test -wi): Add more expected failures. - * binutils-all/readelf.wi: Severly reduce expected output. - * binutils-all/testprog.c (string): Explicitly use unsigned - chars. - (stdio.h, string.h): Remove inclusion. - -2003-04-23 J"orn Rennecke - - * binutils-all/readelf.wi: Update. - -2003-04-22 Dimitrie O. Paun - - * binutils-all/windres/windres.exp: Add test for the new -J - option. Remove use of -I as it now generates a warning message. - -2003-04-03 Nick Clifton - - * binutils-all/windres/dialogid.rc: Replace "Static" with - "classname" so that compilation will match behaviour of the - Windows resource compiler. - -2003-03-31 Nick Clifton - - * binutils-all/windres/dialogid.rc: New test source file. - * binutils-all/windres/dialogid.rsd: New test expected results. - -2002-11-07 Casper S. Hornstrup - - * binutils-all/dlltool.exp: New file for testing dlltool. - * binutils-all/fastcall.def: New file for testing fastcall - exports. - * config/default.exp: Set DLLTOOL variable. - -2002-08-27 Alan Modra - - * binutils-all/objcopy.exp: Revert last change. - -2002-08-26 Alan Modra - - * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on - stdout. - (strip_executable): Likewise. - -2002-08-13 Alan Modra - - * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022, - tic80, tms320c30. - * binutils-all/objcopy.exp (simple copy): Revise xfails. - -2002-05-29 Alan Modra - - * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol): - Revert 2001-11-15. Instead allow `D main'. - -2002-04-16 Eric Kohl - - * binutils-all/windres/dialog0.rc: New test case: Check default - attributes for dialogs - * binutils-all/windres/dialog0.rsd: New file: Expected output. - * binutils-all/windres/dialog1.rc: New test case: Check - DISCARDABLE flag is propogated. - * binutils-all/windres/dialog1.rsd: New file: Expected output. - -2002-04-15 Eric Kohl - - * binutils-all/windres/dlgfont.rc: New test case: Checks FONT - statement in DIALOG and DIALOGEX resources. - * binutils-all/windres/dlgfont.rsd: Expected output. - -2002-04-11 Nick Clifton - - * binutils-all/ar.exp (long_filenames): Use 'file delete' instead - of 'exec rm -f'. - -2002-04-10 Nick Clifton - - * binutils-all/ar.exp (long_filenames): Delete the abc... files - upon successfully completion of the test. - - * binutils-all/windres/capstyle.rsd: Regenerate using MSVC. - * binutils-all/windres/deflang.rsd: Regenerate using MSVC. - * binutils-all/windres/dialogsignature.rsd: Regenerate using MSVC. - * binutils-all/windres/escapea.rsd: Regenerate using MSVC. - * binutils-all/windres/escapex.rsd: Regenerate using MSVC. - * binutils-all/windres/nocaption.rsd: Regenerate using MSVC. - * binutils-all/windres/printstyle.rsd: Regenerate using MSVC. - * binutils-all/windres/sublang.rsd: Regenerate using MSVC. - -2002-04-09 Nick Clifton - - * binutils-all/windres/capstyle.rc: New test case: Set default - style for captions. - * binutils-all/windres/capstyle.rsd: Expected output. - - * binutils-all/windres/deflang.rc: New test case: Check default - language. - * binutils-all/windres/deflang.rsd: Expected output. - - * binutils-all/windres/dialogsignature.rc: New test case for - decoding the dialog signature. - * binutils-all/windres/dialogsignature.rsd: Expected output. - - * binutils-all/windres/escapea.rc: New test case for encoding \a - escape sequence. - * binutils-all/windres/escapea.rsd: Expected output. - - * binutils-all/windres/escapex.rc: New test case for hex constants - in strings. - * binutils-all/windres/escapex.rsd: Expected output - - * binutils-all/windres/nocaption.rc: New test case dialogs without - captions. - * binutils-all/windres/nocaption.rsd: Expected output - - * binutils-all/windres/quoteclass.rc: New test case for quoted - CLASS definitions in DIALOG resources. - - * binutils-all/windres/sublang.rc: New test case: Check assignment - of sub-language. - * binutils-all/windres/sublang.rsd: Expected output. - -2002-02-18 Timothy Daly - - * binutils-all/readelf.r: Change expected output to match new, - narrowed-to-80-chars format. - * binutils-all/readelf.r-64: Change expected output to match new, - narrowed-to-80-chars format. - -2002-02-18 Hans-Peter Nilsson - - * binutils-all/objcopy.exp - (strip_executable_with_saving_a_symbol): Prune symbol Main in nm - output for mmix-knuth-mmixware. - -2002-02-13 Nick Clifton - - * binutils-all/readelf.ss-mips: Do not expect an explicit - ordering of the sections. - -2002-02-10 Nick Clifton - - * binutils-all/objdump.exp: Add 'xscale' to the list of expected - CPUs. - -2002-01-14 Nick Clifton - - * binutils-all/objcopy.exp: Expect xscale-coff to fail simple - objcopy test for the same reason as arm-coff. - -2001-11-29 H.J. Lu - - * binutils-all/objcopy.exp (strip_test): Add strip on archive. - -2001-11-15 Alan Modra - - * binutils-all/objcopy.exp: (strip_test_with_saving_a_symbol): - Allow '? main', to suit powerpc64. - -2001-11-14 Geoffrey Keating - - * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target. - -2001-10-03 Thiemo Seufer - - * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi' - test. - -Tue Sep 4 20:25:41 2001 Jeffrey A Law (law@cygnus.com) - - * binutils/all/readelf.exp: Expect readelf -wi to - fail for the H8 series. - -2001-08-27 Alan Modra - - * binutils-all/readelf.s-64: Adjust offsets for powerpc64. Don't - use constructs like [45][08] when all combinations are not valid. - Instead use (48|50) to explicitly state which values are correct. - -2001-08-21 H.J. Lu - - * binutils-all/readelf.r: Updated for the readelf change. - - * binutils-all/readelf.r-64: New for the readelf change. - -2001-07-27 H.J. Lu - - * binutils-all/windres/windres.exp: Don't set xfail for - bmpalign (compare) on none-ix86/pe targets. - -2001-07-24 H.J. Lu - - * binutils-all/windres/windres.exp: Set xfail on none-ix86/pe - targets. - -2001-07-18 DJ Delorie - - * config/default.exp (WINDRES): Add. - * binutils-all/windres/windres.exp: New. - * binutils-all/windres/README: New. - * binutils-all/windres/bmp1.bmp: New. - * binutils-all/windres/bmpalign.rc: New. - * binutils-all/windres/bmpalign.rsd: New. - * binutils-all/windres/lang.rc: New. - * binutils-all/windres/lang.rsd: New. - * binutils-all/windres/msupdate: New. - * binutils-all/windres/strtab1.rc: New. - * binutils-all/windres/strtab1.rsd: New. - -2001-07-05 Ben Elliston - - * lib/utils-lib.exp (target_assemble): Remove duplicate copy. - (default_target_assemble): Likewise. - -2001-06-18 Thiemo Seufer - - * binutils-all/readelf.exp: Typo. - -2001-06-19 Andreas Jaeger - - * binutils-all/readelf.r: Don't check for specific info value to - pass testsuite on ia64 and alpha. - -2001-06-07 H.J. Lu - - * binutils-all/readelf.ss-mips: Support stabs. - * binutils-all/readelf.ss-tmips: Likewise. - -2001-05-25 H.J. Lu - - * binutils-all/readelf.exp (readelf_test): Set target_machine - to tmips for traditional mips. - - * binutils-all/readelf.s: Support traditional mips. - - * binutils-all/readelf.ss-tmips: New for traditional mips. - -2001-05-25 Alan Modra - - * binutils-all/readelf.exp: Replace linuxoldld with linux*oldld - and linuxaout with linux*aout. - * binutils-all/objcopy.exp: Remove xfail for linuxaout. - -2001-05-24 H.J. Lu - - * binutils-all/objdump.exp (cpus_expected): Add s390. - -2001-03-30 H.J. Lu - - * binutils-all/readelf.exp: Run on more ELF targets. - -2001-02-11 H.J. Lu - - * config/default.exp: Set up gcc_gas_flag. - - * binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag - for Linux only. - - * binutils-all/testprog.c: Include and don't use - exit (). - -2001-01-16 Matthew Green - - * binutils-all/readelf.s-64: Match readelf -S output. - -2000-12-09 Nick Clifton - - * binutils-all/objdump.exp (cpus_expected): Add tic54x and - tms320c54x. - -2000-11-28 Hans-Peter Nilsson - - * binutils-all/readelf.s: Adjust to readelf.c formatting changes. - -2000-11-02 Chris Demetriou - - * binutils-all/readelf.exp (regexp_diff): Add code - from gas testsuite to treat "#..." at beginning of line - as an indicator to skip extra non-matching lines at that - location. - (readelf_test): Add support for using a machine-specific - regexp comparison file. - (readelf -S test, readelf -s test): Remove v850*-*-* and - mips*-*-* from list of expected failures. - * binutils-all/readelf.s: Accomodate changes due to - additional sections (and therefore section numbering - differences) on v850*-*-* and mips*-*-* targets. - * binutils-all/readelf.ss: Likewise. - * binutils-all/readelf.ss-mips: New file, which matches - expected output of readelf -s test for mips*-*-*. - -2000-10-25 Hans-Peter Nilsson - - * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails. - -2000-10-19 Chris Demetriou - - * binutils-all/readelf.exp (readelf_test): Work properly - when multiple targets expect failtures. - (readelf -S test, readelf -s test): Expect mips*-*-* - to fail. - -2000-07-10 Alan Modra - - * lib/utils-lib.exp (default_binutils_assemble): Don't do the hppa - sed fudges for hppa-linux. - -2000-07-01 Frank Ch. Eigler - - * binutils-all/objdump.exp (cpus_expected, cpus_regex): Reorganize - syntax to display more tcl nature. - -2000-06-18 Stephane Carrez - - * binutils-all/objdump.exp (cpus_expected): Recognize m68hc11 and - m68hc12. - -2000-06-18 Nick Clifton - - * binutils-all/readelf.wi: Do not assume the compilation tag to be - unit 1. - - * binutils-all/objcopy.exp: Expect all arm variants to fail the - copying executable test. - -2000-06-14 Hans-Peter Nilsson - - * binutils-all/readelf.exp (regexp_diff): Do not break when a - mismatching line is found. - (readelf_find_size): New. - (readelf_size): New global variable. - (readelf_test): Add newline to send_log of command. - If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it - instead of $srcdir/$subdir/$regexp_file. - (*-*elf test): Fix typo in message. - * binutils-all/readelf.s-64: New. - * binutils-all/readelf.ss-64: New. - -2000-05-02 Alan Modra - - * binutils-all/objcopy.exp (simple copy): Clear xfail for hppa-linux. - - * binutils-all/hppa/objdump.exp: Disable test for elf. - -2000-03-13 Nick Clifton - - * binutils-all/readelf.s: Adjust to match new format of readelf - output. - * binutils-all/readelf.ss: Adjust to match new format of readelf - output. - -1999-11-01 Nick Clifton - - * binutils-all/objcopy.exp: Expect simple objcopy test to fail - for COFF based ARM and Thumb ports. - -Tue Sep 14 00:28:17 1999 Jeffrey A Law (law@cygnus.com) - - * binutils-all/hppa/objdump.exp: Do not run for PA64. - -1999-09-04 Steve Chamberlain - - * binutils-all/objdump.exp: Add pj to cpus_expected. - -Sat Aug 28 00:24:27 1999 Jerry Quinn - - * binutils-all/hppa/freg.s: New file. - * binutils-all/hppa/objdump.exp: Add freg.s test. - -1999-08-09 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for simple copy test - for i*86-*-msdos*. - -1999-07-21 H.J. Lu - - * binutils-all/testprog.c: Include . - -1999-06-29 Nick Clifton - - * binutils-all/objdump.exp: Add fr30 and MCore to expected cpus - list. - - * binutils-all/readelf.r: Do not assume a fixed number of spaces - in the output. - -1999-06-10 Nick Clifton - - * binutils-all/readelf.wi: Update to match latest output. - * binutils-all/readelf.h: Update to match latest output. - -Wed Jun 9 11:59:22 1999 Andreas Schwab - - * binutils-all/objdump.exp: Tighten regexp to match `objdump -i' - output to avoid massive exponential behaviour. - -1999-05-28 Ian Lance Taylor - - * binutils-all/readelf.h: Update for changes of 1999-04-08. - -1999-03-12 Nick Clifton - - * binutils-all/readelf.wi: Remove FR30 specific components. - * binutils-all/readelf.s: Remove RELA specific components. - -1999-02-16 Nick Clifton - - * binutils-all/readelf.s: Do not assume section alignment is 4. - * binutils-all/readelf.r: Do not assume rela's are being used. - * binutils-all/readelf.exp: disable tests for non ELF based - targets. - -1999-02-02 Nick Clifton - - * binutils-all/readelf.wi: Amend to match new readelf output. - * binutils-all/readelf.r: Do not assume that RELAs will be used. - -1999-01-29 Nick Clifton - - * config/default.exp: Add definitions of READELF and READELFFLAGS. - - * binutils-all/readelf.exp: New file: Readelf tests - * binutils-all/readelf.h: New file: Expected results for 'readelf -h' - * binutils-all/readelf.s: New file: Expected results for 'readelf -S' - * binutils-all/readelf.ss: New file: Expected results for 'readelf -s' - * binutils-all/readelf.r: New file: Expected results for 'readelf -r' - * binutils-all/readelf.wi: New file: Expected results for 'readelf -wi' - -Wed Dec 9 19:11:39 1998 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objcopy.exp (copy_executable): Expect comparison - failure for mips*-*-elf. - -Fri Oct 16 22:57:12 1998 Felix Lee - - * binutils-all/objcopy.exp: fix "no symbols" message. - -Tue Jul 28 15:14:04 1998 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objcopy.exp: Keep "main" and "_main" for strip with - saving symbol tests. Look for either "main" or "_main" in the output - file. Fix test for "no symbols" in the output file. - -1998-07-22 Vladimir N. Makarov - - * binutils-all/objcopy.exp: Polish output about fail for objcopy - (simple copy), strip with/without saving a symbol for object file - and executable. - -Wed Jul 1 16:27:40 1998 Nick Clifton - - * binutils-all/objcopy.exp: ARM simple objcopy now passes. - -Wed Jun 24 09:20:21 1998 Nick Clifton - - * binutils-all/objdump.exp: Look for '.data' rather than 'data' - when parsing output of objdump -h. - * binutils-all/size.exp: Look for '.data' rather than 'data' when - parsing output of size -A. - -1998-07-20 Vladimir N. Makarov - - * binutils-all/objcopy.exp: Two new tests - strip object file with - saving a symbol and strip executable file with saving a symbol. - -Fri May 29 14:50:24 1998 Ian Lance Taylor - - * binutils-all/objcopy.exp: Don't xfail the simple objcopy test - when cross compiling. - -Thu Nov 6 14:32:37 1997 Bob Manson - - * lib/utils-lib.exp: Temporary definition of target_assemble and - default_target_assemble so that testing can work with older - dejagnu versions. - -Wed Sep 24 12:09:15 1997 Bob Manson - - * binutils-all/objcopy.exp(strip_executable): Make a new copy of - the executable being tested. - -Mon Sep 15 21:25:20 1997 Bob Manson - - * binutils-all/objcopy.exp: Compile the executables to be tested - on the target with a status wrapper (as necessary). - - * binutils-all/ar.exp: If testing on a remote host, don't bother - looking on the local host for the program being tested. Use the - correct filenames on the remote host. - - * binutils-all/nm.exp: Ditto. - - * binutils-all/size.exp: Ditto. - - * binutils-all/objdump.exp: Ditto. - (cpus_expected): Add the target CPU to the regexp of CPUs to be - expected, if it's not already there. - -Thu Aug 28 09:57:27 1997 Doug Evans - - * binutils-all/objdump.exp (cpus_expected): Add arc. - -Tue Aug 5 00:03:20 1997 Ian Lance Taylor - - * config/default.exp: Look for nm-new and strip-new. - -Tue Jun 3 17:12:54 1997 Bob Manson - - * config/default.exp: Remove expect_before statement. - - * binutils-all/objcopy.exp: Don't use global exec_output variable; - the output is returned from remote_load instead. - -Mon May 12 22:14:20 1997 Bob Manson - - * binutils-all/objcopy.exp(strip_test): Tests that - fail to compile are untested, not unresolved. - (copy_setup): Ditto. - - * lib/utils-lib.exp(default_binutils_assemble): Call - target_assemble instead of target_compile. - -Wed Apr 30 20:37:51 1997 Bob Manson - - Changes to support multilib and remote hosted testing, along with - general cleanups and simplifications. - - * lib/utils-lib.exp(binutil_version): Use remote_exec. - (default_binutils_run): Ditto. - (default_binutils_assemble): Remove first argument; call - target_compile to actually do the assembly. - (default_binutils_compile,default_binutils_remove,prune_warnings): - Delete. - - * config/default.exp: Remove AS and ASFLAGS. - (binutils_compile,binutils_remove): Delete. - (binutils_assemble): Remove first argument. - - * binutils-all/ar.exp: See if we're running the tests on - a remote host, and download/upload files as appropriate. - Replace calls to binutils_remove with remote_file. Replace - calls to binutils_compile with target_compile. Remove initial - argument to binutils_assemble. Use remote_load to execute - programs on the target. - * binutils-all/nm.exp: Ditto. - * binutils-all/objcopy.exp: Ditto. - * binutils-all/objdump.exp: Ditto. - * binutils-all/size.exp: Ditto. - -Mon Apr 14 12:36:41 1997 Ian Lance Taylor - - * binutils-all/ar.exp (long_filenames): Check for a file system - with a 14 character file name length limit. - -Tue Apr 1 09:52:15 1997 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objdump.exp: Handle d10v. - -Fri Feb 7 16:45:34 1997 Bob Manson - - * binutils-all/ar.exp: Use prune_warnings instead of - prune_system_crud. - * binutils-all/objcopy.exp: Ditto. - -Wed Jan 29 00:16:43 1997 Bob Manson - - * binutils-all/nm.exp: Use / between $srcdir and $subdir. - * binutils-all/objcopy.exp: Ditto. - * binutils-all/objdump.exp: Ditto. - * binutils-all/size.exp: Ditto. - * binutils-all/hppa/objdump.exp: Ditto. - - -Wed Oct 16 22:57:59 1996 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objdump.exp: Add mn10200 and mn10300 to expected - cpus list. - -Tue Oct 1 15:06:55 1996 Ian Lance Taylor - - * lib/utils-lib.exp (binutil_version): Fix for current version - printing. - -Sun Aug 4 22:25:40 1996 Ian Lance Taylor - - * binutils-all/objcopy.exp: Fix end of line matching in srec tests - to work with TCL 7.5. - -Sat Jun 29 12:51:30 1996 Ian Lance Taylor - - * binutils-all/objcopy.exp: Simple copy test works for i960 b.out - targets. - -Mon Jun 24 14:33:04 1996 Ian Lance Taylor - - * binutils-all/objcopy.exp: On OSF/1, the simple copy test will - succeed with gas, and fail with /bin/as, so mark it as an expected - failure only if it fails. - -Tue Mar 26 16:55:08 1996 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objcopy.exp: No longer expect adjust-section-vma - test to fail for hppa*-*-proelf*. - -Mon Mar 11 08:25:14 1996 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objdump.exp: Look for "$CODE$", not just "CODE". - -Wed Jan 31 11:55:13 1996 Jeffrey A Law (law@cygnus.com) - - * binutils-all/objcopy.exp: Expect adjust-section-vma tests to - fail for hppa*-*-proelf* targets. - -Thu Jan 25 13:53:04 1996 Ian Lance Taylor - - * binutils-all/objdump.exp: Update for objdump -h format change. - * binutils-all/objcopy.exp: Likewise. - -Mon Jan 15 18:14:14 1996 Ian Lance Taylor - - * binutils-all/objcopy.exp: Use the lma, not the vma, when testing - address adjustments. - -Fri Dec 15 16:31:55 1995 Ian Lance Taylor - - * binutils-all/objdump.exp: Update objdump -i test for current - objdump output. - -Mon Nov 27 15:15:09 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Correct fail calls to always use the - same string as the pass call. - -Wed Nov 22 13:18:58 1995 Ian Lance Taylor - - * lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings - from native compilers on OSF/1 and SunOS. - -Fri Nov 17 10:36:09 1995 Ian Lance Taylor - - * lib/utils-lib.exp (default_binutils_compiler: Change error - message to say compilation rather than assembly. - -Wed Nov 15 18:34:42 1995 Ken Raeburn - - * binutils-all/objcopy.exp: Simple copy test does appear to work - on i*86-svr4. - -Wed Nov 15 12:19:28 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: If assembly fails, call unresolved. - Test running objcopy and strip on a final executable. - * binutils-all/testprog.c: New file. - * config/default.exp (STRIP, STRIPFLAGS): Define. - (binutils_compile): New procedure. - * lib/utils-lib.exp (default_binutils_compile): New procedure. - -Fri Nov 3 13:22:33 1995 Ian Lance Taylor - - * lib/utils-lib.exp (default_binutils_run): Don't use verbose - -log, reverting part of Oct 2 change. - -Wed Nov 1 15:09:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 - - * binutils-all/objcopy.exp: Add setup_xfails for - m68*-motorola-sysv* and m88*-motorola-sysv*. - -Wed Oct 4 14:38:31 1995 Ian Lance Taylor - - * binutils-all/nm.exp: Add setup_xfails for XCOFF. - -Mon Oct 2 12:41:48 1995 Ian Lance Taylor - - * binutils-all/ar.exp: New file. - * binutils-all/bintest.s: Make text_symbol and data_symbol global. - Add new static symbols static_text_symbol and static_data_symbol. - * binutils-all/nm.exp: Adjust accordingly. - * config/default.exp (AR): Set if not set. - (binutils_remove): New procedure. - * lib/utils-lib.exp (default_binutils_run): Call - prune_system_crud on program output. Use verbose -log instead of - both verbose and send_log. - (default_binutils_remove): New procedure. - - * lib/utils-lib.exp (default_binutils_assemble): Call - prune_system_crud on assembler output. - -Tue Sep 26 14:07:05 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfails for simple copy test - for i386 COFF targets. - -Wed Sep 13 13:20:21 1995 Ian Lance Taylor - - * lib/utils-lib.exp (prune_system_crud): Define if not defined. - * binutils-all/objcopy.exp: Call prune_system_crud on cmp output. - -Sat Aug 19 17:38:06 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add xfail for i*86-*-aout* for simple - copy test. - -Wed Aug 16 16:52:53 1995 Ian Lance Taylor - - * binutils-all/nm.exp: Add setup_xfail for mips*-sony-bsd* for - tests which fail on ECOFF targets. - - * binutils-all/objcopy.exp: Change i*86-*-linux xfail for simple - copy test to check for i*86-*-linuxaout* instead. - -Tue Aug 8 17:48:37 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks* - for simple copy test. - -Tue Jul 25 11:57:12 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Change setup_xfail for simple copy - test from i960-*-vxworks5.1 to i960-*-vxworks*. - -Mon Jul 10 12:25:46 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for z8*-*-coff for - simple copy test. - * binutils-all/objdump.exp (cpus_expected): Add z8001 and z8002. - -Sun May 21 20:32:53 1995 Jeff Law (law@snake.cs.utah.edu) - - * binutils-all/hppa/objdump.exp (addendbug): Handle PA ELF targets - too. - * binutils-all/objcopy.exp (simple copy): Don't expect PA ELF - targets to fail. - -Tue Apr 4 14:52:08 1995 Jeff Law (law@snake.cs.utah.edu) - - * binutils-all/hppa: Renamed from binutils-hppa. - -Wed Mar 29 12:02:43 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for simple copy test - for h8500-*-hms and h8500-*-coff. - -Tue Mar 28 11:18:28 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for simple copy test - for m68*-ericsson-ose and m88*-*-coff. - -Mon Mar 27 11:27:31 1995 Ian Lance Taylor - - * binutils-all/objcopy.exp: Add setup_xfail for simple copy test - for m68*-*-vxworks*. - -Fri Mar 24 11:44:25 1995 Ian Lance Taylor - - * binutils-hppa/objdump.exp: Correct hppa*-*-* check. - -Tue Mar 21 10:48:45 1995 Jeff Law (law@snake.cs.utah.edu) - - * binutils-hppa/addendbug.s: New testcase. - * binutils-hppa/objdump.exp: Run it. - -Mon Mar 20 11:31:05 1995 Ian Lance Taylor - - * lib/utils-lib.exp (default_binutils_run): Quote any dollar signs - in progargs before passing it to exec. - -Fri Mar 17 16:39:31 1995 Jeff Law (law@snake.cs.utah.edu) - - * config/hppa.sed: Sed script to transform bintest.s into proper - PA assembly code. - * binutils-all/nm.exp: Enable these tests on the PA. - * binutils-all/objcopy.exp: Enable these tests on the PA. Expect - simple copy to fail. - * binutils-all/objdump.exp: Enable these tests on the PA. Handle - "CODE" as a section name. - * binutils-all/size.exp: Enable these tests on the PA. - * lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*", - run the assembly through a sed script before passing it to the - assembler. - -Wed Mar 15 16:47:13 1995 Ian Lance Taylor - - * binutils-all/objdump.exp: Force section sizes to be interpreted - in hex. Change objdump -h failure mode to always use the same - string. - -Thu Jan 5 13:01:43 1995 Ian Lance Taylor - - * binutils-all/nm.exp: Just check for irix4*, rather than - irix\[0-4\]*, to avoid DejaGnu bug. - -Thu Dec 15 19:35:31 1994 Ken Raeburn - - * binutils-all/objcopy.exp: Expect simple-objcopy test to fail - for various other targets for which gas doesn't use bfd: sh-hms, - m68k-hpux, m68k-sunos, m68k-coff, i386-linux, a29k-udi, a29k-coff, - i960-vxworks5.1, i960-coff, h8300-hms, h8300-coff. - -Wed Dec 14 15:54:46 1994 Ken Raeburn - - * binutils-all/size.exp: Skip tests requiring bintest.o on hppa, - since it (correctly) generates syntax errors on that platform. - * binutils-all/objdump.exp: Ditto. - * binutils-all/nm.exp: Ditto. - * binutils-all/objcopy.exp: Ditto. Also, move setup_xfail for - sh-coff to branch where objcopy execution produced no error - messages. Expect failure for hp300 also. - -Thu Dec 8 14:36:15 1994 Ken Raeburn - - * binutils-all/objdump.exp (cpus_expected): New variable, taken - from objdump -i test, added ns32k and powerpc, sorted. - (objdump -i, -f tests): Use $cpus_expected. - - * binutils-all/objcopy.exp: For simple-copy test, expect failure - for sh-coff. - -Tue Oct 25 16:00:14 1994 Ian Lance Taylor - - * binutils-all/objcopy.exp: Adjust --adjust-section-vma tests for - new S-record section handling. - -Tue Oct 18 11:18:21 1994 Ian Lance Taylor - - * binutils-all/nm.exp: nm with no arguments and nm -P do not work - as expected on ECOFF targets; add calls to setup_xfail. - - * binutils-all/objcopy.exp: New file. - * config/default.exp: Initialize OBJCOPY and OBJCOPYFLAGS. - -Fri Oct 14 14:46:22 1994 Ian Lance Taylor - - Rewrite testsuite. - * configure.in, Makefile.in: Remove. - * binutils-all/configure.in, binutils-all/Makefile.in: Remove. - * binutils-all/bintest.c: Remove. - * binutils-all/bintest.s: New file. - * binutils-all/nm.exp, binutils-all/objdump.exp: Rewrite. - * binutils-all/size.exp: Rewrite. - * config/default.exp: Load utils-lib.exp. Set AS and ASFLAGS. - Don't go up one directory from $base_dir. Create tmpdir. - (binutils_run, binutils-assemble): New procedures. - * config/unix.exp: Remove. - * config/mt-a29k-udi, config/mt-i386-aout: Remove. - * config/mt-i960-nindy, config/mt-lynx, config/mt-m68k: Remove. - * config/mt-mips-ecoff, config/mt-slite: Remove. - * config/mt-sparc-aout, config/mt-vxworks: Remove. - * lib/utils-lib.exp (binutil_version): Don't redirect standard - input when getting version. Don't unset errorInfo. - (default_binutils_run): New procedure. - (default_binutils_assemble): New procedure. - -Thu Sep 29 12:45:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * VMS does not permit `.' in directory names: renamed binutils.all - to binutils-all. - * configure.in (configdirs): Change binutils.all to binutils-all. - -Fri Sep 23 16:01:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*, - not for m68k-*-*. - -Fri Sep 23 13:54:50 1994 Ken Raeburn - - * binutils.all/objdump.exp: Added ARM to list of CPU types. - -Thu Sep 22 11:04:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * binutils.all/objdump.exp: Update for new usage message. - * binutils.all/size.exp: Use a double backslash in the string to - get a single backslash to the regexp matcher. Accept $TEXT$, - $DATA$ and $BSS$ as well as .text, .data and .bss, for HP/UX. - -Fri Sep 2 12:53:10 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/unix.exp: If nm.new does not exist, use [transform nm]. - * config/default.exp: Likewise. - -Wed Aug 24 12:41:37 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in, binutils.all/configure.in: Change i386 to - i[345]86. - -Tue Jul 19 15:23:53 1994 Bill Cox (bill@rtl.cygnus.com) - - * config/mt-mips-ecoff: Add -Tidp.ld option. - -Thu Jun 30 12:41:55 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * config/default.exp: Use nm.new, not nm, from newly built tree. - -Tue May 17 14:04:05 1994 Bill Cox (bill@rtl.cygnus.com) - - * config/default.exp, config/unix.exp: Replace error - proc calls with perror. - -Tue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com) - - * configure.in (sparclite): Match on sparclite*-*-*. - -Wed Apr 13 18:25:19 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * config/unix.exp: Use nm.new, not nm, from newly built tree. - - * binutils.all/objdump.exp: Add more wildcards to list of - single-letter options in pattern for usage message. - - * binutils.all/nm.exp: Deleted debug-symbols test, since it only - works for a.out/stabs systems. Fixed regexps to make underscores - optional, since some C compilers don't prepend them. Deleted - check for foo.o symbol, since again some systems don't generate - it. - -Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in (check): Set TCL_LIBRARY for runtest. - -Mon Feb 14 19:34:03 1994 Rob Savoye (rob@darkstar.cygnus.com) - - * Makefile.in: Use new config features of DejaGnu in site.exp - file. "Make check" should now work for all crosses. - -Fri Jan 28 18:00:29 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * binutils.all/objdump.exp: In usage message, accept - "section-name" as well as "section_name". - -Mon Jan 17 16:57:02 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * binutils.all/objdump.exp: Trim list of format names expected, - and accept any known CPU type. - -Thu Dec 2 20:50:24 1993 Rob Savoye (rob@darkstar.cygnus.com) - - * Makefile.in: Remove some stuff from the site.exp file. - * config/unix.exp: Add global before seeing if the variables for - nm, objdump, and size exist. - -Wed Nov 3 11:12:32 1993 Rob Savoye (rob@darkstar.cygnus.com) - - * config/udi.exp,unix.exp: Transform tool name. - * binutils.all/*.exp: Clear errorInfo after exec. - -Fri Jul 2 12:41:20 1993 Ian Lance Taylor (ian@cygnus.com) - - * binutils.all/*.exp: Use -- for long arguments rather than +. - -Fri Jun 4 10:52:29 1993 david d `zoo' zuhn (zoo@cirdan.cygnus.com) - - * configure.in: change srctrigger to Makefile.in - -Wed May 26 17:27:46 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. - -Fri May 7 13:58:44 1993 Ian Lance Taylor (ian@cygnus.com) - - * binutils.all/objdump.exp: Update for new usage message. - -Mon Apr 19 14:08:52 1993 Rob Savoye (rob@darkstar.cygnus.com) - - * binutils.all/*.exp: Use the new util_test proc. - * Makefile.in: Create a local site.exp file with config info. - -Thu Mar 25 05:38:47 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * nm.all/configure.in (srcname): Delete extra quote. - -Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * binutils/testsuite: made modifications to testcases, etc., to allow - them to work properly given the reorganization of deja-gnu and the - relocation of the testcases from deja-gnu to a "tool" subdirectory. - -Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * binutils/testsuite: Initial creation of binutils/testsuite. - Migrated dejagnu testcases and support files for testing nm to - binutils/testsuite from deja-gnu. These files were moved "as is" - with no modifications. This migration is part of a major overhaul - of dejagnu. The modifications to these testcases, etc., which - will allow them to work with the new version of dejagnu will be - made in a future update. +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/testsuite/ChangeLog-9303 b/binutils/testsuite/ChangeLog-9303 new file mode 100644 index 00000000000..50b4e336d07 --- /dev/null +++ b/binutils/testsuite/ChangeLog-9303 @@ -0,0 +1,1044 @@ +2003-12-03 Nick Clifton + + * binutils-all/objdump.exp (cpus_expected): Add "msp". + +2003-10-06 Dave Brolley + + * binutils-all/objdump.exp (cpu_expected): Add fr550. + +2003-09-29 H.J. Lu + + * binutils-all/readelf.exp: Use is_elf_format. + + * binutils-all/readelf.h: Support IA64/ILP32. + * binutils-all/readelf.s: Likewise. + * binutils-all/readelf.ss: Likewise. + + * lib/utils-lib.exp (proc is_elf_format): Copy from ld + testsuite. Add ia64-*-hpux*. + +2003-06-29 Danny Smith + + * binutils-all/objcopy.exp: Initialise $test_prog to + testprog.exe on mingw targeted systems too. + +2003-06-28 Danny Smith + + * binutils-all/windres/checkbox.rc: New file. + * binutils-all/windres/checkbox.rsd: New file. + * binutils-all/windres/combobox.rc: New file. + * binutils-all/windres/combobox.rsd: New file. + * binutils-all/windres/edittext.rc: New file. + * binutils-all/windres/edittext.rsd: New file. + * binutils-all/windres/listbox.rc: New file. + * binutils-all/windres/listbox.rsd: New file. + * binutils-all/windres/scrollbar.rc: New file. + * binutils-all/windres/scrollbar.rsd: New file. + +2003-06-27 Thiemo Seufer + + * binutils-all/readelf.ss-tmips: Adjust symbol indices. + +2003-06-19 Nick Clifton + + * binutils-all/objcopy.exp: Replace occurances of testprog with + $test_prog. Initialise this variable to testprog.exe on Cygwin + targeted systems. + +2003-04-26 Nick Clifton + + * binutils-all/readelf.exp (prune_read_warnings): Rename to + prune_readelf_wi_warnings. + (readelf_wi_test): New proc: Test 'readelf -wi' by grepping + through its output. + Replace invocation of "readelf_test -wi" with "readelf_wi_test" + * binutils-all/readelf.wi: Delete. + +2003-04-23 Nick Clifton + + * binutils-all/readelf.exp (proc prune_readelf_warnings): New + function. + (proc readelf_test): Prune warning messages. + (readelf_test -wi): Add more expected failures. + * binutils-all/readelf.wi: Severly reduce expected output. + * binutils-all/testprog.c (string): Explicitly use unsigned + chars. + (stdio.h, string.h): Remove inclusion. + +2003-04-23 J"orn Rennecke + + * binutils-all/readelf.wi: Update. + +2003-04-22 Dimitrie O. Paun + + * binutils-all/windres/windres.exp: Add test for the new -J + option. Remove use of -I as it now generates a warning message. + +2003-04-03 Nick Clifton + + * binutils-all/windres/dialogid.rc: Replace "Static" with + "classname" so that compilation will match behaviour of the + Windows resource compiler. + +2003-03-31 Nick Clifton + + * binutils-all/windres/dialogid.rc: New test source file. + * binutils-all/windres/dialogid.rsd: New test expected results. + +2002-11-07 Casper S. Hornstrup + + * binutils-all/dlltool.exp: New file for testing dlltool. + * binutils-all/fastcall.def: New file for testing fastcall + exports. + * config/default.exp: Set DLLTOOL variable. + +2002-08-27 Alan Modra + + * binutils-all/objcopy.exp: Revert last change. + +2002-08-26 Alan Modra + + * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on + stdout. + (strip_executable): Likewise. + +2002-08-13 Alan Modra + + * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022, + tic80, tms320c30. + * binutils-all/objcopy.exp (simple copy): Revise xfails. + +2002-05-29 Alan Modra + + * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol): + Revert 2001-11-15. Instead allow `D main'. + +2002-04-16 Eric Kohl + + * binutils-all/windres/dialog0.rc: New test case: Check default + attributes for dialogs + * binutils-all/windres/dialog0.rsd: New file: Expected output. + * binutils-all/windres/dialog1.rc: New test case: Check + DISCARDABLE flag is propogated. + * binutils-all/windres/dialog1.rsd: New file: Expected output. + +2002-04-15 Eric Kohl + + * binutils-all/windres/dlgfont.rc: New test case: Checks FONT + statement in DIALOG and DIALOGEX resources. + * binutils-all/windres/dlgfont.rsd: Expected output. + +2002-04-11 Nick Clifton + + * binutils-all/ar.exp (long_filenames): Use 'file delete' instead + of 'exec rm -f'. + +2002-04-10 Nick Clifton + + * binutils-all/ar.exp (long_filenames): Delete the abc... files + upon successfully completion of the test. + + * binutils-all/windres/capstyle.rsd: Regenerate using MSVC. + * binutils-all/windres/deflang.rsd: Regenerate using MSVC. + * binutils-all/windres/dialogsignature.rsd: Regenerate using MSVC. + * binutils-all/windres/escapea.rsd: Regenerate using MSVC. + * binutils-all/windres/escapex.rsd: Regenerate using MSVC. + * binutils-all/windres/nocaption.rsd: Regenerate using MSVC. + * binutils-all/windres/printstyle.rsd: Regenerate using MSVC. + * binutils-all/windres/sublang.rsd: Regenerate using MSVC. + +2002-04-09 Nick Clifton + + * binutils-all/windres/capstyle.rc: New test case: Set default + style for captions. + * binutils-all/windres/capstyle.rsd: Expected output. + + * binutils-all/windres/deflang.rc: New test case: Check default + language. + * binutils-all/windres/deflang.rsd: Expected output. + + * binutils-all/windres/dialogsignature.rc: New test case for + decoding the dialog signature. + * binutils-all/windres/dialogsignature.rsd: Expected output. + + * binutils-all/windres/escapea.rc: New test case for encoding \a + escape sequence. + * binutils-all/windres/escapea.rsd: Expected output. + + * binutils-all/windres/escapex.rc: New test case for hex constants + in strings. + * binutils-all/windres/escapex.rsd: Expected output + + * binutils-all/windres/nocaption.rc: New test case dialogs without + captions. + * binutils-all/windres/nocaption.rsd: Expected output + + * binutils-all/windres/quoteclass.rc: New test case for quoted + CLASS definitions in DIALOG resources. + + * binutils-all/windres/sublang.rc: New test case: Check assignment + of sub-language. + * binutils-all/windres/sublang.rsd: Expected output. + +2002-02-18 Timothy Daly + + * binutils-all/readelf.r: Change expected output to match new, + narrowed-to-80-chars format. + * binutils-all/readelf.r-64: Change expected output to match new, + narrowed-to-80-chars format. + +2002-02-18 Hans-Peter Nilsson + + * binutils-all/objcopy.exp + (strip_executable_with_saving_a_symbol): Prune symbol Main in nm + output for mmix-knuth-mmixware. + +2002-02-13 Nick Clifton + + * binutils-all/readelf.ss-mips: Do not expect an explicit + ordering of the sections. + +2002-02-10 Nick Clifton + + * binutils-all/objdump.exp: Add 'xscale' to the list of expected + CPUs. + +2002-01-14 Nick Clifton + + * binutils-all/objcopy.exp: Expect xscale-coff to fail simple + objcopy test for the same reason as arm-coff. + +2001-11-29 H.J. Lu + + * binutils-all/objcopy.exp (strip_test): Add strip on archive. + +2001-11-15 Alan Modra + + * binutils-all/objcopy.exp: (strip_test_with_saving_a_symbol): + Allow '? main', to suit powerpc64. + +2001-11-14 Geoffrey Keating + + * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target. + +2001-10-03 Thiemo Seufer + + * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi' + test. + +Tue Sep 4 20:25:41 2001 Jeffrey A Law (law@cygnus.com) + + * binutils/all/readelf.exp: Expect readelf -wi to + fail for the H8 series. + +2001-08-27 Alan Modra + + * binutils-all/readelf.s-64: Adjust offsets for powerpc64. Don't + use constructs like [45][08] when all combinations are not valid. + Instead use (48|50) to explicitly state which values are correct. + +2001-08-21 H.J. Lu + + * binutils-all/readelf.r: Updated for the readelf change. + + * binutils-all/readelf.r-64: New for the readelf change. + +2001-07-27 H.J. Lu + + * binutils-all/windres/windres.exp: Don't set xfail for + bmpalign (compare) on none-ix86/pe targets. + +2001-07-24 H.J. Lu + + * binutils-all/windres/windres.exp: Set xfail on none-ix86/pe + targets. + +2001-07-18 DJ Delorie + + * config/default.exp (WINDRES): Add. + * binutils-all/windres/windres.exp: New. + * binutils-all/windres/README: New. + * binutils-all/windres/bmp1.bmp: New. + * binutils-all/windres/bmpalign.rc: New. + * binutils-all/windres/bmpalign.rsd: New. + * binutils-all/windres/lang.rc: New. + * binutils-all/windres/lang.rsd: New. + * binutils-all/windres/msupdate: New. + * binutils-all/windres/strtab1.rc: New. + * binutils-all/windres/strtab1.rsd: New. + +2001-07-05 Ben Elliston + + * lib/utils-lib.exp (target_assemble): Remove duplicate copy. + (default_target_assemble): Likewise. + +2001-06-18 Thiemo Seufer + + * binutils-all/readelf.exp: Typo. + +2001-06-19 Andreas Jaeger + + * binutils-all/readelf.r: Don't check for specific info value to + pass testsuite on ia64 and alpha. + +2001-06-07 H.J. Lu + + * binutils-all/readelf.ss-mips: Support stabs. + * binutils-all/readelf.ss-tmips: Likewise. + +2001-05-25 H.J. Lu + + * binutils-all/readelf.exp (readelf_test): Set target_machine + to tmips for traditional mips. + + * binutils-all/readelf.s: Support traditional mips. + + * binutils-all/readelf.ss-tmips: New for traditional mips. + +2001-05-25 Alan Modra + + * binutils-all/readelf.exp: Replace linuxoldld with linux*oldld + and linuxaout with linux*aout. + * binutils-all/objcopy.exp: Remove xfail for linuxaout. + +2001-05-24 H.J. Lu + + * binutils-all/objdump.exp (cpus_expected): Add s390. + +2001-03-30 H.J. Lu + + * binutils-all/readelf.exp: Run on more ELF targets. + +2001-02-11 H.J. Lu + + * config/default.exp: Set up gcc_gas_flag. + + * binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag + for Linux only. + + * binutils-all/testprog.c: Include and don't use + exit (). + +2001-01-16 Matthew Green + + * binutils-all/readelf.s-64: Match readelf -S output. + +2000-12-09 Nick Clifton + + * binutils-all/objdump.exp (cpus_expected): Add tic54x and + tms320c54x. + +2000-11-28 Hans-Peter Nilsson + + * binutils-all/readelf.s: Adjust to readelf.c formatting changes. + +2000-11-02 Chris Demetriou + + * binutils-all/readelf.exp (regexp_diff): Add code + from gas testsuite to treat "#..." at beginning of line + as an indicator to skip extra non-matching lines at that + location. + (readelf_test): Add support for using a machine-specific + regexp comparison file. + (readelf -S test, readelf -s test): Remove v850*-*-* and + mips*-*-* from list of expected failures. + * binutils-all/readelf.s: Accomodate changes due to + additional sections (and therefore section numbering + differences) on v850*-*-* and mips*-*-* targets. + * binutils-all/readelf.ss: Likewise. + * binutils-all/readelf.ss-mips: New file, which matches + expected output of readelf -s test for mips*-*-*. + +2000-10-25 Hans-Peter Nilsson + + * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails. + +2000-10-19 Chris Demetriou + + * binutils-all/readelf.exp (readelf_test): Work properly + when multiple targets expect failtures. + (readelf -S test, readelf -s test): Expect mips*-*-* + to fail. + +2000-07-10 Alan Modra + + * lib/utils-lib.exp (default_binutils_assemble): Don't do the hppa + sed fudges for hppa-linux. + +2000-07-01 Frank Ch. Eigler + + * binutils-all/objdump.exp (cpus_expected, cpus_regex): Reorganize + syntax to display more tcl nature. + +2000-06-18 Stephane Carrez + + * binutils-all/objdump.exp (cpus_expected): Recognize m68hc11 and + m68hc12. + +2000-06-18 Nick Clifton + + * binutils-all/readelf.wi: Do not assume the compilation tag to be + unit 1. + + * binutils-all/objcopy.exp: Expect all arm variants to fail the + copying executable test. + +2000-06-14 Hans-Peter Nilsson + + * binutils-all/readelf.exp (regexp_diff): Do not break when a + mismatching line is found. + (readelf_find_size): New. + (readelf_size): New global variable. + (readelf_test): Add newline to send_log of command. + If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it + instead of $srcdir/$subdir/$regexp_file. + (*-*elf test): Fix typo in message. + * binutils-all/readelf.s-64: New. + * binutils-all/readelf.ss-64: New. + +2000-05-02 Alan Modra + + * binutils-all/objcopy.exp (simple copy): Clear xfail for hppa-linux. + + * binutils-all/hppa/objdump.exp: Disable test for elf. + +2000-03-13 Nick Clifton + + * binutils-all/readelf.s: Adjust to match new format of readelf + output. + * binutils-all/readelf.ss: Adjust to match new format of readelf + output. + +1999-11-01 Nick Clifton + + * binutils-all/objcopy.exp: Expect simple objcopy test to fail + for COFF based ARM and Thumb ports. + +Tue Sep 14 00:28:17 1999 Jeffrey A Law (law@cygnus.com) + + * binutils-all/hppa/objdump.exp: Do not run for PA64. + +1999-09-04 Steve Chamberlain + + * binutils-all/objdump.exp: Add pj to cpus_expected. + +Sat Aug 28 00:24:27 1999 Jerry Quinn + + * binutils-all/hppa/freg.s: New file. + * binutils-all/hppa/objdump.exp: Add freg.s test. + +1999-08-09 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for simple copy test + for i*86-*-msdos*. + +1999-07-21 H.J. Lu + + * binutils-all/testprog.c: Include . + +1999-06-29 Nick Clifton + + * binutils-all/objdump.exp: Add fr30 and MCore to expected cpus + list. + + * binutils-all/readelf.r: Do not assume a fixed number of spaces + in the output. + +1999-06-10 Nick Clifton + + * binutils-all/readelf.wi: Update to match latest output. + * binutils-all/readelf.h: Update to match latest output. + +Wed Jun 9 11:59:22 1999 Andreas Schwab + + * binutils-all/objdump.exp: Tighten regexp to match `objdump -i' + output to avoid massive exponential behaviour. + +1999-05-28 Ian Lance Taylor + + * binutils-all/readelf.h: Update for changes of 1999-04-08. + +1999-03-12 Nick Clifton + + * binutils-all/readelf.wi: Remove FR30 specific components. + * binutils-all/readelf.s: Remove RELA specific components. + +1999-02-16 Nick Clifton + + * binutils-all/readelf.s: Do not assume section alignment is 4. + * binutils-all/readelf.r: Do not assume rela's are being used. + * binutils-all/readelf.exp: disable tests for non ELF based + targets. + +1999-02-02 Nick Clifton + + * binutils-all/readelf.wi: Amend to match new readelf output. + * binutils-all/readelf.r: Do not assume that RELAs will be used. + +1999-01-29 Nick Clifton + + * config/default.exp: Add definitions of READELF and READELFFLAGS. + + * binutils-all/readelf.exp: New file: Readelf tests + * binutils-all/readelf.h: New file: Expected results for 'readelf -h' + * binutils-all/readelf.s: New file: Expected results for 'readelf -S' + * binutils-all/readelf.ss: New file: Expected results for 'readelf -s' + * binutils-all/readelf.r: New file: Expected results for 'readelf -r' + * binutils-all/readelf.wi: New file: Expected results for 'readelf -wi' + +Wed Dec 9 19:11:39 1998 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objcopy.exp (copy_executable): Expect comparison + failure for mips*-*-elf. + +Fri Oct 16 22:57:12 1998 Felix Lee + + * binutils-all/objcopy.exp: fix "no symbols" message. + +Tue Jul 28 15:14:04 1998 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objcopy.exp: Keep "main" and "_main" for strip with + saving symbol tests. Look for either "main" or "_main" in the output + file. Fix test for "no symbols" in the output file. + +1998-07-22 Vladimir N. Makarov + + * binutils-all/objcopy.exp: Polish output about fail for objcopy + (simple copy), strip with/without saving a symbol for object file + and executable. + +Wed Jul 1 16:27:40 1998 Nick Clifton + + * binutils-all/objcopy.exp: ARM simple objcopy now passes. + +Wed Jun 24 09:20:21 1998 Nick Clifton + + * binutils-all/objdump.exp: Look for '.data' rather than 'data' + when parsing output of objdump -h. + * binutils-all/size.exp: Look for '.data' rather than 'data' when + parsing output of size -A. + +1998-07-20 Vladimir N. Makarov + + * binutils-all/objcopy.exp: Two new tests - strip object file with + saving a symbol and strip executable file with saving a symbol. + +Fri May 29 14:50:24 1998 Ian Lance Taylor + + * binutils-all/objcopy.exp: Don't xfail the simple objcopy test + when cross compiling. + +Thu Nov 6 14:32:37 1997 Bob Manson + + * lib/utils-lib.exp: Temporary definition of target_assemble and + default_target_assemble so that testing can work with older + dejagnu versions. + +Wed Sep 24 12:09:15 1997 Bob Manson + + * binutils-all/objcopy.exp(strip_executable): Make a new copy of + the executable being tested. + +Mon Sep 15 21:25:20 1997 Bob Manson + + * binutils-all/objcopy.exp: Compile the executables to be tested + on the target with a status wrapper (as necessary). + + * binutils-all/ar.exp: If testing on a remote host, don't bother + looking on the local host for the program being tested. Use the + correct filenames on the remote host. + + * binutils-all/nm.exp: Ditto. + + * binutils-all/size.exp: Ditto. + + * binutils-all/objdump.exp: Ditto. + (cpus_expected): Add the target CPU to the regexp of CPUs to be + expected, if it's not already there. + +Thu Aug 28 09:57:27 1997 Doug Evans + + * binutils-all/objdump.exp (cpus_expected): Add arc. + +Tue Aug 5 00:03:20 1997 Ian Lance Taylor + + * config/default.exp: Look for nm-new and strip-new. + +Tue Jun 3 17:12:54 1997 Bob Manson + + * config/default.exp: Remove expect_before statement. + + * binutils-all/objcopy.exp: Don't use global exec_output variable; + the output is returned from remote_load instead. + +Mon May 12 22:14:20 1997 Bob Manson + + * binutils-all/objcopy.exp(strip_test): Tests that + fail to compile are untested, not unresolved. + (copy_setup): Ditto. + + * lib/utils-lib.exp(default_binutils_assemble): Call + target_assemble instead of target_compile. + +Wed Apr 30 20:37:51 1997 Bob Manson + + Changes to support multilib and remote hosted testing, along with + general cleanups and simplifications. + + * lib/utils-lib.exp(binutil_version): Use remote_exec. + (default_binutils_run): Ditto. + (default_binutils_assemble): Remove first argument; call + target_compile to actually do the assembly. + (default_binutils_compile,default_binutils_remove,prune_warnings): + Delete. + + * config/default.exp: Remove AS and ASFLAGS. + (binutils_compile,binutils_remove): Delete. + (binutils_assemble): Remove first argument. + + * binutils-all/ar.exp: See if we're running the tests on + a remote host, and download/upload files as appropriate. + Replace calls to binutils_remove with remote_file. Replace + calls to binutils_compile with target_compile. Remove initial + argument to binutils_assemble. Use remote_load to execute + programs on the target. + * binutils-all/nm.exp: Ditto. + * binutils-all/objcopy.exp: Ditto. + * binutils-all/objdump.exp: Ditto. + * binutils-all/size.exp: Ditto. + +Mon Apr 14 12:36:41 1997 Ian Lance Taylor + + * binutils-all/ar.exp (long_filenames): Check for a file system + with a 14 character file name length limit. + +Tue Apr 1 09:52:15 1997 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objdump.exp: Handle d10v. + +Fri Feb 7 16:45:34 1997 Bob Manson + + * binutils-all/ar.exp: Use prune_warnings instead of + prune_system_crud. + * binutils-all/objcopy.exp: Ditto. + +Wed Jan 29 00:16:43 1997 Bob Manson + + * binutils-all/nm.exp: Use / between $srcdir and $subdir. + * binutils-all/objcopy.exp: Ditto. + * binutils-all/objdump.exp: Ditto. + * binutils-all/size.exp: Ditto. + * binutils-all/hppa/objdump.exp: Ditto. + + +Wed Oct 16 22:57:59 1996 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objdump.exp: Add mn10200 and mn10300 to expected + cpus list. + +Tue Oct 1 15:06:55 1996 Ian Lance Taylor + + * lib/utils-lib.exp (binutil_version): Fix for current version + printing. + +Sun Aug 4 22:25:40 1996 Ian Lance Taylor + + * binutils-all/objcopy.exp: Fix end of line matching in srec tests + to work with TCL 7.5. + +Sat Jun 29 12:51:30 1996 Ian Lance Taylor + + * binutils-all/objcopy.exp: Simple copy test works for i960 b.out + targets. + +Mon Jun 24 14:33:04 1996 Ian Lance Taylor + + * binutils-all/objcopy.exp: On OSF/1, the simple copy test will + succeed with gas, and fail with /bin/as, so mark it as an expected + failure only if it fails. + +Tue Mar 26 16:55:08 1996 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objcopy.exp: No longer expect adjust-section-vma + test to fail for hppa*-*-proelf*. + +Mon Mar 11 08:25:14 1996 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objdump.exp: Look for "$CODE$", not just "CODE". + +Wed Jan 31 11:55:13 1996 Jeffrey A Law (law@cygnus.com) + + * binutils-all/objcopy.exp: Expect adjust-section-vma tests to + fail for hppa*-*-proelf* targets. + +Thu Jan 25 13:53:04 1996 Ian Lance Taylor + + * binutils-all/objdump.exp: Update for objdump -h format change. + * binutils-all/objcopy.exp: Likewise. + +Mon Jan 15 18:14:14 1996 Ian Lance Taylor + + * binutils-all/objcopy.exp: Use the lma, not the vma, when testing + address adjustments. + +Fri Dec 15 16:31:55 1995 Ian Lance Taylor + + * binutils-all/objdump.exp: Update objdump -i test for current + objdump output. + +Mon Nov 27 15:15:09 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Correct fail calls to always use the + same string as the pass call. + +Wed Nov 22 13:18:58 1995 Ian Lance Taylor + + * lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings + from native compilers on OSF/1 and SunOS. + +Fri Nov 17 10:36:09 1995 Ian Lance Taylor + + * lib/utils-lib.exp (default_binutils_compiler: Change error + message to say compilation rather than assembly. + +Wed Nov 15 18:34:42 1995 Ken Raeburn + + * binutils-all/objcopy.exp: Simple copy test does appear to work + on i*86-svr4. + +Wed Nov 15 12:19:28 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: If assembly fails, call unresolved. + Test running objcopy and strip on a final executable. + * binutils-all/testprog.c: New file. + * config/default.exp (STRIP, STRIPFLAGS): Define. + (binutils_compile): New procedure. + * lib/utils-lib.exp (default_binutils_compile): New procedure. + +Fri Nov 3 13:22:33 1995 Ian Lance Taylor + + * lib/utils-lib.exp (default_binutils_run): Don't use verbose + -log, reverting part of Oct 2 change. + +Wed Nov 1 15:09:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 + + * binutils-all/objcopy.exp: Add setup_xfails for + m68*-motorola-sysv* and m88*-motorola-sysv*. + +Wed Oct 4 14:38:31 1995 Ian Lance Taylor + + * binutils-all/nm.exp: Add setup_xfails for XCOFF. + +Mon Oct 2 12:41:48 1995 Ian Lance Taylor + + * binutils-all/ar.exp: New file. + * binutils-all/bintest.s: Make text_symbol and data_symbol global. + Add new static symbols static_text_symbol and static_data_symbol. + * binutils-all/nm.exp: Adjust accordingly. + * config/default.exp (AR): Set if not set. + (binutils_remove): New procedure. + * lib/utils-lib.exp (default_binutils_run): Call + prune_system_crud on program output. Use verbose -log instead of + both verbose and send_log. + (default_binutils_remove): New procedure. + + * lib/utils-lib.exp (default_binutils_assemble): Call + prune_system_crud on assembler output. + +Tue Sep 26 14:07:05 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfails for simple copy test + for i386 COFF targets. + +Wed Sep 13 13:20:21 1995 Ian Lance Taylor + + * lib/utils-lib.exp (prune_system_crud): Define if not defined. + * binutils-all/objcopy.exp: Call prune_system_crud on cmp output. + +Sat Aug 19 17:38:06 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add xfail for i*86-*-aout* for simple + copy test. + +Wed Aug 16 16:52:53 1995 Ian Lance Taylor + + * binutils-all/nm.exp: Add setup_xfail for mips*-sony-bsd* for + tests which fail on ECOFF targets. + + * binutils-all/objcopy.exp: Change i*86-*-linux xfail for simple + copy test to check for i*86-*-linuxaout* instead. + +Tue Aug 8 17:48:37 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks* + for simple copy test. + +Tue Jul 25 11:57:12 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Change setup_xfail for simple copy + test from i960-*-vxworks5.1 to i960-*-vxworks*. + +Mon Jul 10 12:25:46 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for z8*-*-coff for + simple copy test. + * binutils-all/objdump.exp (cpus_expected): Add z8001 and z8002. + +Sun May 21 20:32:53 1995 Jeff Law (law@snake.cs.utah.edu) + + * binutils-all/hppa/objdump.exp (addendbug): Handle PA ELF targets + too. + * binutils-all/objcopy.exp (simple copy): Don't expect PA ELF + targets to fail. + +Tue Apr 4 14:52:08 1995 Jeff Law (law@snake.cs.utah.edu) + + * binutils-all/hppa: Renamed from binutils-hppa. + +Wed Mar 29 12:02:43 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for simple copy test + for h8500-*-hms and h8500-*-coff. + +Tue Mar 28 11:18:28 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for simple copy test + for m68*-ericsson-ose and m88*-*-coff. + +Mon Mar 27 11:27:31 1995 Ian Lance Taylor + + * binutils-all/objcopy.exp: Add setup_xfail for simple copy test + for m68*-*-vxworks*. + +Fri Mar 24 11:44:25 1995 Ian Lance Taylor + + * binutils-hppa/objdump.exp: Correct hppa*-*-* check. + +Tue Mar 21 10:48:45 1995 Jeff Law (law@snake.cs.utah.edu) + + * binutils-hppa/addendbug.s: New testcase. + * binutils-hppa/objdump.exp: Run it. + +Mon Mar 20 11:31:05 1995 Ian Lance Taylor + + * lib/utils-lib.exp (default_binutils_run): Quote any dollar signs + in progargs before passing it to exec. + +Fri Mar 17 16:39:31 1995 Jeff Law (law@snake.cs.utah.edu) + + * config/hppa.sed: Sed script to transform bintest.s into proper + PA assembly code. + * binutils-all/nm.exp: Enable these tests on the PA. + * binutils-all/objcopy.exp: Enable these tests on the PA. Expect + simple copy to fail. + * binutils-all/objdump.exp: Enable these tests on the PA. Handle + "CODE" as a section name. + * binutils-all/size.exp: Enable these tests on the PA. + * lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*", + run the assembly through a sed script before passing it to the + assembler. + +Wed Mar 15 16:47:13 1995 Ian Lance Taylor + + * binutils-all/objdump.exp: Force section sizes to be interpreted + in hex. Change objdump -h failure mode to always use the same + string. + +Thu Jan 5 13:01:43 1995 Ian Lance Taylor + + * binutils-all/nm.exp: Just check for irix4*, rather than + irix\[0-4\]*, to avoid DejaGnu bug. + +Thu Dec 15 19:35:31 1994 Ken Raeburn + + * binutils-all/objcopy.exp: Expect simple-objcopy test to fail + for various other targets for which gas doesn't use bfd: sh-hms, + m68k-hpux, m68k-sunos, m68k-coff, i386-linux, a29k-udi, a29k-coff, + i960-vxworks5.1, i960-coff, h8300-hms, h8300-coff. + +Wed Dec 14 15:54:46 1994 Ken Raeburn + + * binutils-all/size.exp: Skip tests requiring bintest.o on hppa, + since it (correctly) generates syntax errors on that platform. + * binutils-all/objdump.exp: Ditto. + * binutils-all/nm.exp: Ditto. + * binutils-all/objcopy.exp: Ditto. Also, move setup_xfail for + sh-coff to branch where objcopy execution produced no error + messages. Expect failure for hp300 also. + +Thu Dec 8 14:36:15 1994 Ken Raeburn + + * binutils-all/objdump.exp (cpus_expected): New variable, taken + from objdump -i test, added ns32k and powerpc, sorted. + (objdump -i, -f tests): Use $cpus_expected. + + * binutils-all/objcopy.exp: For simple-copy test, expect failure + for sh-coff. + +Tue Oct 25 16:00:14 1994 Ian Lance Taylor + + * binutils-all/objcopy.exp: Adjust --adjust-section-vma tests for + new S-record section handling. + +Tue Oct 18 11:18:21 1994 Ian Lance Taylor + + * binutils-all/nm.exp: nm with no arguments and nm -P do not work + as expected on ECOFF targets; add calls to setup_xfail. + + * binutils-all/objcopy.exp: New file. + * config/default.exp: Initialize OBJCOPY and OBJCOPYFLAGS. + +Fri Oct 14 14:46:22 1994 Ian Lance Taylor + + Rewrite testsuite. + * configure.in, Makefile.in: Remove. + * binutils-all/configure.in, binutils-all/Makefile.in: Remove. + * binutils-all/bintest.c: Remove. + * binutils-all/bintest.s: New file. + * binutils-all/nm.exp, binutils-all/objdump.exp: Rewrite. + * binutils-all/size.exp: Rewrite. + * config/default.exp: Load utils-lib.exp. Set AS and ASFLAGS. + Don't go up one directory from $base_dir. Create tmpdir. + (binutils_run, binutils-assemble): New procedures. + * config/unix.exp: Remove. + * config/mt-a29k-udi, config/mt-i386-aout: Remove. + * config/mt-i960-nindy, config/mt-lynx, config/mt-m68k: Remove. + * config/mt-mips-ecoff, config/mt-slite: Remove. + * config/mt-sparc-aout, config/mt-vxworks: Remove. + * lib/utils-lib.exp (binutil_version): Don't redirect standard + input when getting version. Don't unset errorInfo. + (default_binutils_run): New procedure. + (default_binutils_assemble): New procedure. + +Thu Sep 29 12:45:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * VMS does not permit `.' in directory names: renamed binutils.all + to binutils-all. + * configure.in (configdirs): Change binutils.all to binutils-all. + +Fri Sep 23 16:01:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*, + not for m68k-*-*. + +Fri Sep 23 13:54:50 1994 Ken Raeburn + + * binutils.all/objdump.exp: Added ARM to list of CPU types. + +Thu Sep 22 11:04:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * binutils.all/objdump.exp: Update for new usage message. + * binutils.all/size.exp: Use a double backslash in the string to + get a single backslash to the regexp matcher. Accept $TEXT$, + $DATA$ and $BSS$ as well as .text, .data and .bss, for HP/UX. + +Fri Sep 2 12:53:10 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/unix.exp: If nm.new does not exist, use [transform nm]. + * config/default.exp: Likewise. + +Wed Aug 24 12:41:37 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * configure.in, binutils.all/configure.in: Change i386 to + i[345]86. + +Tue Jul 19 15:23:53 1994 Bill Cox (bill@rtl.cygnus.com) + + * config/mt-mips-ecoff: Add -Tidp.ld option. + +Thu Jun 30 12:41:55 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * config/default.exp: Use nm.new, not nm, from newly built tree. + +Tue May 17 14:04:05 1994 Bill Cox (bill@rtl.cygnus.com) + + * config/default.exp, config/unix.exp: Replace error + proc calls with perror. + +Tue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com) + + * configure.in (sparclite): Match on sparclite*-*-*. + +Wed Apr 13 18:25:19 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/unix.exp: Use nm.new, not nm, from newly built tree. + + * binutils.all/objdump.exp: Add more wildcards to list of + single-letter options in pattern for usage message. + + * binutils.all/nm.exp: Deleted debug-symbols test, since it only + works for a.out/stabs systems. Fixed regexps to make underscores + optional, since some C compilers don't prepend them. Deleted + check for foo.o symbol, since again some systems don't generate + it. + +Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) + + * Makefile.in (check): Set TCL_LIBRARY for runtest. + +Mon Feb 14 19:34:03 1994 Rob Savoye (rob@darkstar.cygnus.com) + + * Makefile.in: Use new config features of DejaGnu in site.exp + file. "Make check" should now work for all crosses. + +Fri Jan 28 18:00:29 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * binutils.all/objdump.exp: In usage message, accept + "section-name" as well as "section_name". + +Mon Jan 17 16:57:02 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * binutils.all/objdump.exp: Trim list of format names expected, + and accept any known CPU type. + +Thu Dec 2 20:50:24 1993 Rob Savoye (rob@darkstar.cygnus.com) + + * Makefile.in: Remove some stuff from the site.exp file. + * config/unix.exp: Add global before seeing if the variables for + nm, objdump, and size exist. + +Wed Nov 3 11:12:32 1993 Rob Savoye (rob@darkstar.cygnus.com) + + * config/udi.exp,unix.exp: Transform tool name. + * binutils.all/*.exp: Clear errorInfo after exec. + +Fri Jul 2 12:41:20 1993 Ian Lance Taylor (ian@cygnus.com) + + * binutils.all/*.exp: Use -- for long arguments rather than +. + +Fri Jun 4 10:52:29 1993 david d `zoo' zuhn (zoo@cirdan.cygnus.com) + + * configure.in: change srctrigger to Makefile.in + +Wed May 26 17:27:46 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. + +Fri May 7 13:58:44 1993 Ian Lance Taylor (ian@cygnus.com) + + * binutils.all/objdump.exp: Update for new usage message. + +Mon Apr 19 14:08:52 1993 Rob Savoye (rob@darkstar.cygnus.com) + + * binutils.all/*.exp: Use the new util_test proc. + * Makefile.in: Create a local site.exp file with config info. + +Thu Mar 25 05:38:47 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * nm.all/configure.in (srcname): Delete extra quote. + +Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) + + * binutils/testsuite: made modifications to testcases, etc., to allow + them to work properly given the reorganization of deja-gnu and the + relocation of the testcases from deja-gnu to a "tool" subdirectory. + +Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) + + * binutils/testsuite: Initial creation of binutils/testsuite. + Migrated dejagnu testcases and support files for testing nm to + binutils/testsuite from deja-gnu. These files were moved "as is" + with no modifications. This migration is part of a major overhaul + of dejagnu. The modifications to these testcases, etc., which + will allow them to work with the new version of dejagnu will be + made in a future update. diff --git a/gas/ChangeLog b/gas/ChangeLog index e22a5d5f2d5..eacd2653890 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,7515 +1,5 @@ -2003-12-29 Paul Brook - * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs. - * gas/doc/c-arm.texi: Document them. - -2003-23-12 Paul Brook - - * config/tc-arm.c (arm_archs): Add armv6. - * doc/c-arm.texi: Document -march=armv6. - -2003-12-20 Nick Clifton - - * config/tc-ppc.c (md_apply_fix3): Handle the case where a - .byte directive generates a pc-relative relocation. - -2003-12-19 Nick Clifton - Andreas Schwab - - * messages.c (as_perror): Save errno around library calls. - * input-file.c [BFD_ASSEMBLER]: Set the BFD error to - bfd_error_system_call before each call to as_perror. - (input_file_open): Simplify the error reporting code to just use - as_perror(). - * output-file.c (output_file_create) [BFD_ASSEMBLER]: Set the BFD - error to bfd_error_system_call before calling as_perror. - (output_file_close) [BFD_ASSEMBLER]: Likewise. - (output_file_append) [BFD_ASSEMBLER]: Likewise. - * listing.c (listing_print) [BFD_ASSEMBLER]: Likewise. - -2003-12-19 Kazuhiro Inaoka - - Add m32r-linux and PIC support. Add new ABI that uses RELA. - * configure.in: Add m32r-linux targets. - * configure: Regenerate. - * config/tc-m32r.c (md_parse_option): Add -KPIC option. - (tc_gen_reloc): Added. - (debug_sym, md_estimate_size_before_relax, md_convert_frag, - md_pcrel_from_section, m32r_fix_adjustable): Changed for PIC. - * config/tc-m32r.h (tc_gen_reloc, EXTERN_FORCE_RELOC): Undefined. - (TC_HANDLES_FX_DONE, TC_FIX_ADJUSTABLE, TC_RELOC_RTSYM_LOC_FIXUP): - Defined. - * doc/c-m32r.texi: Document -KPIC option. - * NEWS: Mention the support m32r Linux and PIC. - -2003-12-18 Nick Clifton - - * input-file.c (input_file_open): Remove call to stat(). - Add a check for getc() failing, and catch the case where the - failure is due to an attempt to read a directory. - -2003-12-18 Richard Sandiford - - * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. - (md_apply_fix3): Remove bfd_install_relocation workarounds. - (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations - and treat fx_addnumber as relative to the relocation address. - -2003-12-18 Richard Sandiford - - * config/tc-mips.c (s_change_section): When parsing the MIPS-specific - .section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS. - -2003-12-17 Mark Mitchell - - * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j". - * doc/c-arm.texi (ARM Options): Likewise. - -2003-12-17 Nick Clifton - - * config/tc-m32r.c (error_explicit_parallel_conflicts): Rename - to 'ignore_parallel_conflicts'. - (md_longopts): Change option names as well. - (md_parse_option): Separate the warn_explicit and ignore - parallel conflicts options. - (md_show_usage): Update descriptions of these options. - (first_writes_to_seconds_operands): Do not run this check if - ignoring parallel conflicts. - (assemble_two_insns): Remove code that checked - error_explicit_parallel_conflicts. - * doc/c-m32r.texi: Update descriptions of the options. - -2003-12-16 Dmitry Semyonov - - * tc-arm.c (do_adr): Do not adjust pc by -8 if TE_WINCE is - defined. - (do_adrl): Likewise. - -2003-12-15 Christian Groessler - - * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere. - (ctrl_table): Add "flags" keyword and some comments. - (flag_table): Convert to uppercase. - (get_flags_operand): Be case insensitive. - (get_interrupt_operand): Be case insensitive. Support notation - where the inperrupt arguments are separated by commas. - (get_operands): Check whether get_flags_operand consumed all - arguments. Return failure if get_ctrl_operand didn't recognize a - valid control register. - (get_specific): Add case CLASS_CTRL: Test for valid control - register for ldctlb opcode. - (build_bytes): Check for valid control registers. - -2003-12-15 Nick Clifton - - * config/obj-aout.c (obj_crawl_symbol_chain): Skip defined - symbols which resolve to symbolic values. - -2003-12-13 Alan Modra - - * config/obj-elf.c: Convert to C90, remove unneeded prototypes and - casts. Formatting. - * config/obj-elf.h: Remove PARAMS. - - * read.c (s_lcomm_internal): Make global. - * read.h (s_lcomm_internal): Declare. - * config/obj-elf.c (elf_pseudo_table): Handle lcomm. - (obj_elf_lcomm): New function. - -2003-12-13 Alan Modra - - * read.c: Remove unneeded prototypes. - (s_comm): Split out code to.. - (s_comm_internal): ..here. Tidy error returns. Rearrange so that - "name" from input line may be used in more places. Merge code - testing for valid size from elf_common. Merge code from - s_lcomm_internal. Call comm_parse_extra. - (bss_alloc): New function, split out of s_lcomm_internal and - elf_common. - (parse_align): Likewise. - (s_lcomm_internal): Rewrite. - (s_lcomm, s_lcomm_bytes): Use s_comm_internal. - * read.h (bss_alloc, parse_align, s_comm_internal): Declare. - * config/obj-elf.c (elf_common): Split out code to.. - (elf_common_parse): ..here. Remove code common to s_comm_internal, - parse_align and bss_alloc. Rearrange and Tidy. - * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define. - -2003-12-10 Zack Weinberg - - * tc-ppc.c (md_assemble): Rewrite comment about optional operands - to indicate that 'all or none' is also handled. Pluralize a - word in another comment. - -2003-12-10 Paul Brook - - * config/tc-arm.c (FPU_MAVERICK): Define. - (FPU_ARCH_MAVERICK): Define. - (arm_float_abi): Define. - (mfloat_abi_opt): New variable. - (md_begin): Use them. - (arm_opts): Add msoft-float and mhard-float. - (arm_cpus): Use FPU_ARCH_MAVERICK. - (arm_fpus): Add maverick. - (arm_float_abis): Add. - (arm_parse_float_abi): New function. - (arm_long_options): Add mfloat-abi. - * doc/as.texinfo: Document -mfloat-abi=. - * doc/c-arm.text: Ditto. Menution -fpu=maverick. - -2003-12-09 Paul Brook - - * config/tc-arm.c (do_umaal): Fix typo. - -2003-12-06 Kazu Hirata - - * dwarf2dbg.c: Convert to ISO-C. - * write.c: Likewise. - * write.h: Likewise. - -2003-12-06 Richard Sandiford - - * config/tc-mips.c (macro): Switch misordered call to frag_grow() - and setting of tc_fr_offset. - -2003-12-05 Ricardo Anguiano - Mark Mitchell - Richard Earnshaw - - Add V6 support. - * config/tc-arm.c (ARM_EXT_V6): New macro. - (ARM_ARCH_V6): Likewise. - (SHIFT_IMMEDIATE): Likewise. - (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise. - (SHIFT_ASR_IMMEDIATE): Likewise. - (SHIFT_LSL_IMMMEDIATE): Likewise. - (do_cps): New function. - (do_cpsi): Likewise. - (do_ldrex): Likewise. - (do_pkhbt): Likewise. - (do_pkhtb): Likewise. - (do_qadd16): Likewise. - (do_rev): Likewise. - (do_rfe): Likewise. - (do_sxtah): Likewise. - (do_sxth): Likewise. - (do_setend): Likewise. - (do_smlad): Likewise. - (do_smlald): Likewise. - (do_smmul): Likewise. - (do_ssat): Likewise. - (do_usat): Likewise. - (do_srs): Likewise. - (do_ssat16): Likewise. - (do_usat16): Likewise. - (do_strex): Likewise. - (do_umaal): Likewise. - (do_cps_mode): Likewise. - (do_cps_flags): Likewise. - (do_endian_specifier): Likewise. - (do_pkh_core): Likewise. - (do_sat): Likewise. - (do_sat16): Likewise. - (insns): Add V6 instructions. - (do_t_cps): New function. - (do_t_cpy): Likewise. - (do_t_setend): Likewise. - (THUMB_CPY): New macro. - (tinsns): Add V6 instructions. - (decode_shift): Handle V6 restricted-shift options. - (thumb_mov_compare): Support CPY. - (arm_cores): Add arm1136js and arm1136jfs. - (arm_archs): Add armv6. - (arm_fpus): Add arm1136jfs. - * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and - armv6 options. - -2003-12-06 Christian Groessler - - * config/tc-z8k.c (parse_reg): Be case insensitive when checking - register names. - (get_ctrl_operand): Be case insensitive when checking ctrl names. - -2003-12-05 Nick Clifton - - * config/tc-sh.c (md_show_usage): Fix compilation errors - introduced by the previous delta. - -2003-12-03 Alexandre Oliva - - * config/tc-sh.c: Add support for sh4a and no-fpu variants. - * testsuite/gas/sh/basic.exp: Call tests for sh4a. - * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, - err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, - sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: - New files, tests for sh4a and related variants. - -2003-12-05 Michael Snyder - - * config/tc-sh.c (md_show_usage): Mention new -isa options. - * doc/c-sh.texi: Document new -isa options. - * doc/c-sh64.texi: Ditto. - * NEWS: Mention new support for sh4a. - -2003-12-03 H.J. Lu - - * config/tc-alpha.c (s_alpha_end): Don't crash if there is no - matching .ent. - -2003-12-04 Alan Modra - - * tc.h (md_pcrel_from): Don't declare if defined as a macro. - -2003-12-03 Kazuhiro Inaoka - - * config/tc-m32r.h : Add support for new machine m32r2. - * config/tc-m32r.c : Likewise. - Add new command line switches and directives to allow endian-ness - to be selected and some warnings to be turned into errors. - (line_separator_chars) : Use '!'. - * doc/c-m32r.texi: Document new switches and directives. - * NEWS: Mention new support. - -2003-12-03 Dave Airlie - - * configure.in: Likewise. - * configure: Regenerate. - * config/tc-vax.c (md_shortopts): Add 'Q'. - (md_parse_option): Ignore 'Q' for now. - -2003-12-02 Kazu Hirata - - * messages.c: Convert to ISO-C. - * obj.h: Likewise. - * output-file.c: Likewise. - * output-file.h: Likewise. - * sb.c: Likewise. - * sb.h: Likewise. - * stabs.c: Likewise. - * subsegs.c: Likewise. - * subsegs.h: Likewise. - * tc.h: Likewise. - -2003-12-02 Kazu Hirata - - * config/obj-elf.c: Remove ARGSUSED. - -2003-12-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-11-30 Kazu Hirata - - * symbols.c: Convert to ISO-C. - * symbols.h: Likewise. - -2003-11-28 Christian Groessler - - * config/tc-z8k.c: Convert to ISO-C. - * config/tc-z8k.h: Likewise. - -2003-11-27 Kazu Hirata - - * read.c: Convert to ISO-C. - * read.h: Likewise. - -2003-11-27 Nick Clifton - - * config/tc-sh.c (sh_elf_cons): If md_cons_align is defined - call it to make sure that the constants that are going to be - emitted are correctly aligned. - -2003-11-27 Alexandre Oliva - - * config/tc-frv.c (md_pcrel_from_section): Don't adjust when - referencing symbol in a different section. - -2003-11-26 Christian Groessler - - * config/tc-z8k.c (s_segm): Fix indentation. - (md_apply_fix3): Likewise. - (cc_names): Add alias names for the names generated by the - disassembler. - (get_cc_operand): Be case insensitive. - (get_operands): Improve error handling for cc operands. - (check_operand): Not used, remove. - (md_assemble): Remove unused variable prev_opcode. Skip - whitespace until end-of-line only. Restore *op_end after call to - hash_find. - -2003-11-26 Nick Clifton - - * config/tc-h8300.c (get_operand): Allow er4-er7 for ldm/stm - instructions on the H8SX. - -2003-11-25 Kazu Hirata - - * config/tc-h8300.c (h8_exp): Remove. - -2003-11-25 Asgari Jinia - - * config/tc-h8300.c (md_assemble): Check operands validity for - ldm/stm. - (get_operand): Check register pair's validity as per technical - note TN-H8*-193A/E from Renesas for H8s and for H8Sx manual. - -2003-11-24 Kazu Hirata - - * listing.c: Convert to ISO-C. - * listing.h: Likewise. - * macro.c: Likewise. - * macro.h: Likewise. - -2003-11-24 Jakub Jelinek - - * app.c (do_scrub_chars): Add PUT (ch) and ch = GET () - when transitioning from states 14 or 15 to 0 or 1. - -2003-11-23 Kazu Hirata - - * hash.c: Convert to ISO-C. - * hash.h: Likewise. - * input-file.c: Likewise. - * input-file.h: Likewise. - * input-scrub.c: Likewise. - * itbl-ops.c: Likewise. - * itbl-ops.h: Likewise. - -2003-11-23 Kazu Hirata - - * config/tc-h8300.c (Hmode): Make it global. - (Smode): Likewise. - (Nmode): Likewise. - (SXmode): Likewise. - -2003-11-22 Kazu Hirata - - * ehopt.c: Convert to ISO-C. - * emul.h: Likewise. - * expr.c: Likewise. - * expr.h: Likewise. - * flonum-copy.c: Likewise. - * flonum-mult.c: Likewise. - * flonum.h: Likewise. - * frags.c: Likewise. - * frags.h: Likewise. - -2003-11-22 Alan Modra - - * doc/c-ppc.texi (PowerPC-Pseudo): Add section. - - * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22. - -2003-11-21 Kazu Hirata - - * ecoff.c: Convert to ISO-C. - * ecoff.h: Likewise. - -2003-11-22 Alan Modra - - * config/tc-ppc.c (parse_cpu): New function, broken out from.. - (md_parse_option): ..here. - (ppc_setup_opcodes): New function, broken out from.. - (md_begin): ..here. - (ppc_machine): Implement .machine pseudo op. - -2003-11-20 Kazu Hirata - - * depend.c: Convert to ISO-C. - * dwarf2dbg.c: Likewise. - * dwarf2dbg.h: Likewise. - -2003-11-20 Kazu Hirata - - * app.c: Convert to ISO-C. - * as.h: Likewise. - * atof-generic.c: Likewise. - * bignum-copy.c: Likewise. - * bignum.h: Likewise. - * cgen.c: Likewise. - * cgen.h: Likewise. - * cond.c: Likewise. - -2003-11-20 DJ Delorie - - * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 - sections. - -2003-11-19 Kazu Hirata - - * config/tc-h8300.c: Make some functions and global - variables static appropriately. - -2003-11-19 Kazu Hirata - - * config/obj-ieee.c: Remove duplicate prototypes. - * config/tc-h8300.c: Likewise. - -2003-11-19 Kazu Hirata - - * config/tc-h8300.c: Convert to ISO-C. - * config/tc-h8300.h: Likewise. - -2003-11-19 Kazu Hirata - - * config/tc-mcore.h: Remove prototypes already in tc.h. - * config/tc-tic4x.c: Likewise. - -2003-11-19 Kazu Hirata - - * config/tc-arc.c: Remove a local prototype of atof_ieee. - * config/tc-ip2k.c: Likewise. - * config/tc-iq2000.c: Likewise. - * config/tc-tic30.c: Remove a comment. - -2003-11-19 Bob Wilson - - * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add - call to dwarf2_emit_insn. - -2003-11-18 Maciej W. Rozycki - - * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca" - for loading addresses using CALL relocations. - Don't emit CALL relocations when a base register is used. - -2003-11-15 Maciej W. Rozycki - - * config/tc-mips.c: Formatting fixes. - -2003-11-14 Ben Elliston - - * config/tc-arm.c (arm_elf_change_section): Not static. - -2003-11-13 Nick Clifton - - * tc-arm.c (mapping_state): New function. Emit a mapping - symbol if necessary. - (arm_elf_change_section): New function. Intercept section - changes and generate mapping symbols. - (s_bss): Likewise. - (s_arm_elf_cons): Likewise. - (opcode_select): Choose the correct mapping state. - (md_assemble): Likewise. - * tc-arm.h (md_elf_section_change_hook): Define. - * doc/c-arm.texi (ARM Mapping Symbols): New node. - * NEWS: Mention new feature. - -2003-11-12 Daniel Jacobowitz - - * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define. - * doc/Makefile.am (install-info): Define. - - * aclocal.m4: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2003-11-11 Dmitry Semyonov - - * configure.in: Add support for arm-wince-pe target. - * configure: Regenerate. - -2003-11-11 Jan Hubicka - - * config/tc-i386.c (tc_i386_fix_adjustable): - -2003-11-10 Alan Modra - - * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop. - -2003-11-10 Alan Modra - - * README: Update bug report address. Move bug reporting info to - binutils/README. - -2003-11-07 Christian Groessler - - * doc/c-z8k.texi: Document command-line options. Fix byte - register names. Document '.z8001' and '.z8002' directives. - Extend addressing modes documentation. - -2003-11-07 Jonathan R. Grant - - * input-file.c (input_file_open): Use "No such file" error - message. - -2003-11-06 Pete Gonzalez - - * config/tc-arm.texi (struct reg_entry): Add new field 'builtin'. - (rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table, - dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table, - mav_mvax_table, mav_dspc_table): Initialise new field. - (insert_reg_alias): Initialise new field. - (md_pseudo_table): Add "unreq" entry. - (s_unreq): New function: Undo the effects of a previous .req. - * doc/c-arm.texi: Document new pseudo op. - * NEWS: Mention new feature. - -2003-11-06 Bruno Rohee - - * config/obj-vms.c: Fix "the the" typo. - * doc/c-arm.texi: Likewise. - -2003-11-06 Nick Clifton - - * config/obj-vms.c: Convert to ISO-C. - -2003-11-05 Alan Modra - - * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF. - -2003-10-31 Christian Groessler - - * config/tc-i860.c (md_pcrel_from): Fix typo in comment. - -2003-10-29 Phil Edwards - - * configure.in (arm-*-vxworks, i386-*-vxworks, mips-*-vxworks, - ppc-*-vxworks, ppc-*-windiss): Remove separate outdated stanzas. - (*-*-vxworks, *-*-windiss): Use common stanzas, all ELF. - * configure: Regenerated. - -2003-10-27 Kazu Hirata - - * ChangeLog: Fix typos. - * ChangeLog-9295: Likewise. - * as.c: Fix comment typos. - * as.h: Likewise. - * atof-generic.c: Likewise. - * bit_fix.h: Likewise. - * frags.h: Likewise. - * hash.c: Likewise. - * input-file.c: Likewise. - * input-scrub.c: Likewise. - * itbl-ops.c: Likewise. - * itbl-parse.y: Likewise. - * listing.c: Likewise. - * macro.h: Likewise. - * read.c: Likewise. - * sb.c: Likewise. - * sb.h: Likewise. - * symbols.c: Likewise. - * symbols.h: Likewise. - -2003-10-27 Stephane Carrez - - * config/tc-m68hc11.c: Convert to ISO C90. - * config/tc-m68hc11.h: Likewise. - -2003-10-26 Kazu Hirata - - * doc/c-sh64.texi: Fix a typo. - -2003-10-26 Kazu Hirata - - * doc/c-alpha.texi: Fix typos. - * doc/c-ia64.texi: Likewise. - * doc/c-mmix.texi: Likewise. - * doc/c-sh64.texi: Likewise. - * doc/c-xtensa.texi: Likewise. - * doc/internals.texi: Likewise. - -2003-10-24 H.J. Lu - - * config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC - for .interp, .strtab and .symtab. Use specified section - attributes. - -2003-10-22 Andreas Schwab - H.J. Lu - Jim Wilson - - * config/tc-ia64.c (update_qp_mutex): New. - (note_register_values): Properly handle one of PRs in compare - is PR0. Don't add a mutex relation for .and.orcm/.or.andcm. - Clear mutex relation for .none/.unc. Don't clear mutex relation - on predicated compare. - -2003-10-21 Wouter van Heyst - - * config/tc-arm.c (all_reg_maps): Correct text describing Maverick - register requirements. - (md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP. - -2003-10-21 Peter Barada - Bernardo Innocenti - - * config/tc-m68k.c: Add MCF528x (MCFv4) support. - * config/m68k-parse.h: Likewise. - * NEWS: Mention the new support. - * doc/c-m68k.texi: Document new processor selection switch. - -2003-10-19 Thiemo Seufer - - * config/tc-mips.c (normalize_constant_expr): New function to fix sign - extensions broken by gas' expression evaluation of constants. - (check_absolute_expr): Use it. - (mips_ip): Likewise. - -2003-10-18 Hans-Peter Nilsson - - Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible. - * doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and - --no-stubs. - * config/tc-mmix.c: Include limits.h. Expand on mmix_relax_table - comment. - (expand_op, mmix_next_semicolon_is_eoln): Fix head comment. - (pushj_stubs): New variable. - (OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN) - (PUSHJSTUB_MAX): New macros. - (md_longopts): New options "--no-pushj-stubs" and synonym - "--no-stubs". - (mmix_relax_table): Handle new entry for STATE_PUSHJSTUB. - (md_parse_option): Handle OPTION_NOPUSHJSTUBS. - (md_estimate_size_before_relax): Modify STATE_PUSHJ state for - PUSHJ stub relaxation. - (md_convert_frag): Handle STATE_PUSHJSTUB. - (md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE. - (tc_gen_reloc): Ditto. - (mmix_md_relax_frag): Handle PUSHJ stub relaxation. - * config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define. - (struct mmix_segment_info_type): New. - -2003-10-17 Paul Dale - Bernardo Innocenti - - * config/tc-m68k.c (make_pcrel_absolute): Enforce - PC-relative jumps with --pcrel. - (md_convert_frag_1): Likewise. - (md_create_long_jump): Likewise. - -2003-10-17 Shrinivas Atre - - * config/tc-h8300.c (PSIZE): Correct for Normal mode. - (get_operand): Accept both 16 bit 32 bit registers as pointer - registers, when operating in Normal mode. - (fix_operand_size): Make default address size 16 for Normal mode. - -2003-10-17 Ian Lance Taylor - - * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control - registers. - (do_iwmmxt_word_addr): With a control register, reject conditional - execution and reject a non-word size. - -2003-10-16 Peter Bergner - - * configure.in: Set em=linux for ppc-*-linux-gnu* target. - * configure: Regenerate. - -2003-10-15 Alan Modra - - * doc/as.texinfo (Align): Correct list of byte targets. - -2003-10-15 Thiemo Seufer - - * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro): - Fix indentation. Better error message. - -2003-10-14 Bob Wilson - - * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd - argument in call to xtensa_get_property_section_name. Formatting. - -2003-10-11 Kaz Kojima - - * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra - parenthesis. - -2003-10-11 Kaz Kojima - - * config/tc-sh.c: Convert to ISO C90. Remove unnecessary - prototypes and casts. - * config/tc-sh.h: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-sh64.h: Likewise. - -2003-10-08 Dave Brolley - - * config/tc-frv.c (fr550_check_insn_acc_range): New function. - (fr550_check_acc_range): New function. - (md_assemble): Call fr550_check_acc_range. - -2003-10-08 Dave Brolley - - * config/tc-frv.c: Handle DEFAULT_CPU_FR550. - (md_parse_option): Handle OPTION_CPU==fr550. - (md_show_usage): Document fr550. - -2003-10-08 Philippe De Muyter - - * as.c (use_gnu_debug_info_extensions) : New variable. - (parse_args) : Accept new --gstabs+ option, and set - `use_gnu_debug_info_extensions'. - (show_usage) : Document --gstabs+ option. - * as.h (use_gnu_debug_info_extensions) : New extern declaration. - * stabs.c (stabs_generate_asm_file) : If - `use_gnu_debug_info_extensions' is set, add the compilation - directory to the stabs debug info. - * doc/as.texinfo : Document --gstabs+ option. - * NEWS: Mention new feature. - -2003-10-06 Matt Thomas - - Switch NetBSD/hppa to use Linux PA-RISC ELF ABI and - assembler syntax. - - * tc-hppa.c: Add "%farg[0-3]", "%fret", "%t[1-4]", "%tf[1-4]" - register names. Change all "defined (TE_LINUX)" to - "(defined (TE_LINUX) || defined (TE_NETBSD))". - - * tc-hppa.h: Make NetBSD use "elfXX-hppa-linux" bfd target. - Remove NetBSD's use of LABELS_WITHOUT_COLONS. - -2003-10-06 Robert Millan - - * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet. - * configure: Regenerate. - -2003-10-05 Nick Clifton - - * as.c (parse_args): Revert patch to change handling of -f - option. Its behaviour is mandated by the POSIX 2 spec. - -2003-10-04 Christian Groessler - - * tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness. - (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases. - (md_pcrel_from): This function now gets called. Supply return - value. - -2003-10-04 Nick Clifton - - * as.c: Convert to ISO C90. - -2003-10-04 Nick Clifton - - * as.c (std_shortopts): Remove 'f'. - (std_longopts): Add 'f'. Doing this prevents -f being - acecpted as an alias for -f. - -2003-10-04 Danny Smith - - * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]): - Make 'r' mean readonly data. - -2003-10-01 Thiemo Seufer - - * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro): - Unbreak overflow checks. - -2003-10-01 Chris Demetriou - - * config/tc-mips.c (s_cpreturn): Correct errors in comment. - -2003-10-01 Thiemo Seufer - - * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension - tests. - (load_register): Likewise. - (macro): Likewise. - -2003-09-30 Chris Demetriou - - * config/tc-mips.c (mips_ip): Capitalize first word of - existing condition code warning, and add condition code - warnings for .ps instructions, and for bc1any[24][tf]. - -2003-09-30 Chris Demetriou - - * NEWS: Mention support for MIPS64 Release 2. - -2003-09-30 Chris Demetriou - - * NEWS: Add an indication of the cutoff for 2.14. - -2003-09-30 Chris Demetriou - - * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. - * configure: Regenerate. - * config/tc-mips.c (imm2_expr): New variable. - (md_assemble, mips16_ip): Initialize imm2_expr. - (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. - (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. - (macro): Handle M_DEXT and M_DINS. - (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. - (mips_ip): Likewise. - (OPTION_MIPS64R2): New define. - (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). - OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. - (md_parse_option): Handle OPTION_MIPS64R2. - (s_mipsset): Handle setting "mips64r2" ISA. - (mips_cpu_info_table): Add mips64r2. - (md_show_usage): Document -mips64r2 option. - * doc/as.texinfo: Docuemnt -mips64r2 option. - * doc/c-mips.texi: Likewise. - -2003-09-27 John David Anglin - - * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions. - -2003-09-26 Matt Thomas - - * config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'. - (OPTION_PIC): Define. - (md_longopts): Add "pic" option. - (md_parse_option): Change 'K' to OPTION_PIC. - -2003-09-23 Alan Modra - - * config/obj-elf.c (obj_elf_change_section): Adjust for - _bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS - to be set when defaults are not. Don't set attr from defaults if - old_sec. - -2003-09-18 Thiemo Seufer - - * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently - truncate values which won't fit im 32 bits. - (load_register): Likewise. - (macro): Likewise. - -2003-09-17 Dmitry Diky - - * config/tc-msp430.c (MAX_OP_LEN): Set to 256. - (msp430_operands): Remove redundant l2[16] within switch-case. - -2003-09-16 Ralf Corsepius - - * configure.in: Handle arm-*-rtems* and thumb-*rtems*. - * configure: Regenerate. - -2003-09-14 Thiemo Seufer - - * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove. - (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change - the function prototype. - (load_register): Likewise. Simplify the checks for sign-extended - constants. - (macro): Likewise. Fix code generation for 64-bit address constants - outside the 32-bit compatibility space. Adjust - macro_build_ldst_constoffset calls. - (s_cprestore): Adjust macro_build_ldst_constoffset call. - -2003-09-11 Bob Wilson - - * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels, - literal_syms): New global variables. - (xtensa_define_label, add_target_symbol, xtensa_find_label, - map_over_defined_symbols, is_loop_target_label, - xtensa_mark_target_fragments, xtensa_move_frag_symbol, - xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete. - (xtensa_begin_directive): Call md_flush_pending_output. Move symbols - from insn_labels to saved_insn_labels when entering a literal region. - (xtensa_end_directive): Call md_flush_pending_output. Restore - insn_labels list when leaving a literal region. - (xtensa_literal_position): Call xtensa_clear_insn_labels. - (xtensa_literal_pseudo): Add check to disallow .literal inside a - literal region. Move insn_labels to saved_insn_labels and then restore - insn_labels on exit. - (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with - code to set is_loop_target or is_branch_target flag on the symbol - (xtensa_create_literal_symbol): Call xtensa_add_literal_sym. - (xtensa_add_literal_sym, xtensa_add_insn_label, - xtensa_clear_insn_labels): New functions. - (xtensa_move_labels): Remove old_frag and old_offset arguments. Add - loops_ok argument. Rewrite to use insn_labels list instead of - calling xtensa_find_label and to check the is_loop_target flag on - symbols when loops_ok is false. - (xtensa_frob_label): Remove call to xtensa_define_label. Add call - to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust - call to xtensa_move_labels. Propagate is_branch_target and - is_loop_target flags from symbols to frags. - (xtensa_flush_pending_output): Call xtensa_clear_insn_labels. - (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when - aligning a loop instruction. Adjust call to xtensa_move_labels for - aligning entry instructions. Add call to xtensa_clear_insn_labels. - (xtensa_end): Remove call to xtensa_mark_target_fragments. - (xtensa_move_literals): Replace xtensa_move_frag_symbols call with - code to use new literal_syms list. - * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and - is_branch_target flags. - -2003-09-09 Bob Wilson - - * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove - "move_labels" argument and corresponding call to xtensa_move_labels. - (md_assemble): Add a separate call to xtensa_move_labels and remove - argument for call to xtensa_mark_literal_pool_location. - (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix - calls to xtensa_mark_literal_pool_location. - (xtensa_create_local_symbol): Delete and inline the code into... - (xtensa_create_literal_symbol): ...here. - (xtensa_frob_label): Combine conditionals. - (expression_maybe_register, xtensa_symbol_new_hook, - fix_new_exp_in_seg): Use symbol_get_tc. - -2003-09-09 Bob Wilson - - * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for - combining identical literals. - (expression_maybe_register): Remove call to find_lit_sym_translation. - (is_duplicate_expression, cache_literal, is_duplicate_literal, - add_lit_sym_translation, find_lit_sym_translation): Delete. - -2003-09-07 Nick Clifton - - * doc/as.texinfo (Comments): Comment character for PPC is #. - -2003-09-06 Stephane Carrez - - PR savannah/4358: - * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid - overflow complain. - -2003-09-05 Richard Sandiford - - * config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION. - -2003-09-04 Nick Clifton - - * config/tc-v850.c (set_machine): Accept v850e1 machine number. - (md_pseudo_table): Add .v850e1 pseudo op. - (md_show_usage): Document -mv850e1 switch. - (md_parse_option): Accept -mv850e1 switch. - (md_begin): Allow TARGET_CPU to be v850e1. - * doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op. - * NEWS: Mention support for v850e1. - -2003-09-04 Alan Modra - - * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing - ppc_cpu selection rather than replacing. - (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu. - (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash. - -2003-09-03 Robert Millan - - * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu - triplet. - * configure: Regenerate. - -2003-09-02 Daniel Jacobowitz - - * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES - and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT. - Specify AC_CONFIG_AUX_DIR. - * aclocal.m4: Regenerated with aclocal-1.7. - * configure: Regenerated with autoconf 2.57. - * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7. - -2003-08-29 Jakub Jelinek - - * dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save. - (dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save. - (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK - nor tc_cfi_emit_pcrel_expr are defined. - (output_fde): Use tc_cfi_emit_pcrel_expr if available and - DIFF_EXPR_OK is not defined. - * config/tc-sparc.h (TARGET_USE_CFIPOP): Define. - (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, - tc_cfi_emit_pcrel_expr): Define. - (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum, - sparc_cfi_emit_pcrel_expr): New prototypes. - (sparc_cie_data_alignment): New decl. - (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. - * config/tc-sparc.c: Include dw2gencfi.h. - (sparc_cie_data_alignment): New variable. - (md_begin): Initialize it. - (sparc_cfi_frame_initial_instructions): New function. - (sparc_regname_to_dw2regnum): Likewise. - (sparc_cfi_emit_pcrel_expr): Likewise. - * doc/as.texinfo: Document .cfi_window_save. - - * config/tc-sparc.c (s_common): Cast last argument to long and - change format string to shut up warning. - -2003-08-25 Jason Eckhardt - - * doc/c-i860.texi: Update text about relocatable address expansions. - -2003-08-24 Jason Eckhardt - - * config/tc-i860.c (md_assemble): Use isrc2 from the original - instruction when expanding E_ADDR. - -2003-08-21 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2003-08-20 Alan Modra - - * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and - PPC_OPCODE_RFMCI to -m440 selected ppc_cpu. - -2003-08-19 Nick Clifton - - * config/tc-arm.c (cp_address_required_here): Add code to handle - unindexed addressing mode. - -2003-08-19 Alan Modra - - * config/tc-ppc.c (md_parse_option): Handle -m440. - (md_show_usage): Add -m440. - (md_apply_fix3): Warning fix. - * doc/c-ppc.texi: Document -m440. - -2003-08-16 Benjamin Kalytta - - * read.c (s_print): Check for NULL. - -2003-08-16 Alan Modra - - * write.c (fixup_segment): When handling an expression involving - the subtraction of two symbols in the same segment, don't clear - fx_pcrel except for TC_M68K. - -2003-08-14 Alan Modra - - * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER - code. - * config/tc-i386.c: Likewise. - (RELOC_ENUM): Don't define. Replace throughout with enum. - - * dep-in.sed: Remove libintl.h. Ignore include/fopen-*.h - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - Run "make dep-am". - * Makefile.in: Regenerate. - -2003-08-08 Andreas Schwab - - * config/tc-m68k.h (TARGET_USE_CFIPOP) - (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) - (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): - Define. - * config/tc-m68k.c: Include "dw2gencfi.h". - (tc_m68k_regname_to_dw2regnum) - (tc_m68k_frame_initial_instructions): New functions. - -2003-08-08 Dmitry Diky - - * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list - according to gcc order. - -2003-08-07 Jason Eckhardt - - * config/tc-i860.c (i860_check_label): New function. - * config/tc-i860.h (i860_check_label): New prototype. - (tc_check_label): Define macro as i860_check_label. - -2003-08-06 Jason Eckhardt - - * config/tc-i860.c (s_align_wrapper): New function and prototype. - (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove - surrounding OBJ_ELF ifdef, and re-format slightly. - * doc/c-i860.texi: Document the special .align syntax available - in Intel mode. - -2003-08-06 Jason Eckhardt - - * config/tc-i860.c (i860_handle_align): New function. - * config/tc-i860.h (HANDLE_ALIGN): Define macro. - (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro. - -2003-08-06 Jason Eckhardt - - * config/tc-i860.c (i860_process_insn): Check that instructions - with their dual-bit set are 8-byte aligned. - -2003-08-06 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-08-05 Jason Eckhardt - - * config/tc-i860.c (i860_process_insn): Don't handle dual-bit - setting during flop argument parsing. Instead, do it after - instruction is fully parsed. - -2003-08-05 Jason Eckhardt - - * doc/c-i860.texi: Mention that .dual, .enddual, and .atmp - directives are only available in Intel syntax mode. - -2003-08-05 Jason Eckhardt - - * config/tc-i860.c (s_dual): Accept .dual directive only in - the Intel syntax mode. - (s_enddual): Likewise for .enddual. - (s_atmp): Likewise for .atmp. - -2003-08-04 Alan Modra - - * config/tc-i386.c (i386_intel_operand): Always call i386_index_check - for memory operands. Pass the full operand_string to i386_index_check. - -2003-08-01 Jason Eckhardt - - * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences. - (target_intel_syntax): Declare variable. - (OPTION_INTEL_SYNTAX): Declare macro. - (md_longopts): Add option -mintel-syntax. - (md_parse_option): Set target_intel_syntax. - (md_show_usage): Add -mintel-syntax usage. - (md_begin): Set reg_prefix based on target_intel_syntax. - (i860_process_insn): Skip register prefix only if there is one. - Parse relocatable expressions in either Intel or AT&T syntax based - on target_intel_syntax instead of the SYNTAX_SVR4 macro. - * doc/c-i860.texi: Document -mintel-syntax option and give blurb - about the differences in syntax. - -2003-08-01 Dmitry Diky - - * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround - to all arches. - -2003-07-30 J"orn Rennecke - - * config/tc-sh.c (md_assemble): For branches, check & update - valid_arch here. - -2003-07-30 Jason Eckhardt - - * config/tc-i860.c: Convert to ISO C90. - -2003-07-30 Rainer Orth - - * read.c (s_space): Revert 2003-07-28 change. - -2003-07-30 Alan Modra - - * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*. - -2003-07-29 Alan Modra - - * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF. - -2003-07-29 Jakub Jelinek - - * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns. - -2003-07-28 H.J. Lu - - * config/obj-elf.c (obj_elf_section_type): Also accept "note". - -2003-07-28 Rainer Orth - - * read.c (s_space): Don't warn about .space 0. - -2003-07-28 Rainer Orth - - * config/tc-mips.c (mips_flag_pdr): Define. - (md_begin) [OBJ_ELF]: Use it to control .pdr creation. - (s_mips_end) [OBJ_ELF]: Likewise. - (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR. - (md_parse_option) [OBJ_ELF]: Handle them. - (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr. - - * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr. - * doc/as.texinfo (Overview) [MIPS]: Likewise. - -2003-07-25 H.J. Lu - - * config/obj-elf.c (obj_elf_change_section): Update - elf_section_type and elf_section_flags only when they are - specified. - -2003-07-25 H.J. Lu - - * config/obj-elf.c (obj_elf_change_section): Always set section - type and flags. - -2003-07-25 H.J. Lu - - * config/obj-elf.c (special_sections): Removed. - (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set - elf_section_type and elf_section_flags. - (elf_frob_file): Set SHT_GROUP. - - * config/obj-elf.h (obj_sec_set_private_data): New. - - * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. - * config/tc-ia64.h: Likewise. - * config/tc-m32r.h: Likewise. - * config/tc-m68hc11.h: Likewise. - * config/tc-mcore.h: Likewise. - * config/tc-mips.h: Likewise. - * config/tc-ppc.h: Likewise. - * config/tc-sh64.h: Likewise. - * config/tc-v850.h: Likewise. - * config/tc-xtensa.h: Likewise. - - * config/tc-v850.h (SHF_V850_GPREL): Removed. - (SHF_V850_EPREL): Likewise. - (SHF_V850_R0REL): Likewise. - - * subsegs.c (subseg_get): Call obj_sec_set_private_data if it - is defined. - -2003-07-24 Stephane Carrez - - * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for - debugging symbols so that we handle page memory correctly. - -2003-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-07-23 Daniel Jacobowitz - - * config/tc-arm.c (arm_archs): Add iwmmxt. - -2003-07-22 H.J. Lu - - * read.c (do_parse_cons_expression): Mark nbytes unused to - silence gcc. - -2003-07-22 Alexandre Oliva - - * config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc - or bsr/bs. - - * config/tc-h8300.c (md_assemble): Make sure characters after - slash and dot are lower-case. - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - * po/tr.po: New Turkish translation. - * po/opcodes.pot: Regenerate. - -2003-07-16 Alan Modra - - * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change. - (generic_dwarf2_emit_offset): Don't define function when - TC__DWARF2_EMIT_OFFSET is defined. - -2003-07-15 Richard Sandiford - - * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. - (mips_cpu_info_table): Add rm7000 and rm9000 entries. - * doc/c-mips.texi: Document -march=rm9000. - -2003-07-15 Alan Modra - - * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups - only for V850_OPERAND_DISP operands. - -2003-07-15 Alan Modra - - * frags.c (frag_more): Move segment checks to.. - (frag_alloc_check): ..here. New function. - (frag_append_1_char): Call frag_alloc_check. - -2003-07-14 Nick Clifton - - * po/tr.po: Update with latest version. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - * configure: Regenerate. - -2003-07-14 Nick Clifton - - * config/tc-ip2k.c: Remove inclusion of - * config/tc-tic4x.c: Replace inclusion of with - "safe-ctype.h" and update use of macros. - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - -2003-07-11 Alan Modra - - * po/gas.pot: Regenerate. - -2003-07-10 Jakub Jelinek - - * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. - (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, - tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, - DWARF2_CIE_DATA_ALIGNMENT): Define. - (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New - prototypes. - (ppc_cie_data_alignment): Declare. - * config/tc-ppc.c: Include dw2gencfi.h. - (ppc_cie_data_alignment): Define. - (md_begin): Initialize ppc_cie_data_alignment. - (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New - functions. - * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. - (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, - tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, - DWARF2_CIE_DATA_ALIGNMENT): Define. - (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): - New prototypes. - (s390_cie_data_alignment): Declare. - * config/tc-s390.c: Include dw2gencfi.h. - (s390_cie_data_alignment): Define. - (md_begin): Initialize s390_cie_data_alignment. - (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): - New functions. - -2003-07-10 Alexandre Oliva - - 2002-12-12 Alexandre Oliva - * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero. - 2001-05-09 Alexandre Oliva - * configure.in (am33_2.0, mn10300-*-linux*): Added. - * configure: Rebuilt. - * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to - elf32-am33lin. - * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0 - by default. - -2003-07-09 Alexandre Oliva - - 2003-02-25 Alexandre Oliva - * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type - for subtracts from GLOBAL_OFFSET_TABLE that could not be - simplified. - 2002-07-18 Alexandre Oliva - * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that - could not be simplified. - (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset. - 2001-11-04 Alexandre Oliva - * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust - BDF_RELOC_MN10300_GOT32. - * config/tc-mn10300.c (mn10300_fix_adjustable): If - TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable. - 2001-05-09 Alexandre Oliva - * config/tc-mn10300.c (mn10300_parse_name): Don't return a - symbol if we know its value. - 2001-05-09 Alexandre Oliva - * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove - duplicate underscore prefix. - 2001-05-09 Alexandre Oliva - * config/tc-mn10300.c (mn10300_parse_name): Store relocation - type in X_md, not X_add_number. Zero X_add_number. - (mn10300_check_fixup): Extract relocation type from X_md. - * config/tc-mn10300.h: Update comment. - 2001-04-14 Alexandre Oliva - * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with... - (O_PIC_reloc): this. - * config/tc-mn10300.c (mn10300_PIC_related_p): Use it. - (mn10300_check_fixup): Likewise. - (mn10300_parse_name): Set X_add_number to relocation type. - * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, - TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW, - O_GOTOFF, O_PLT, O_GOT): Define. - * config/tc-mn10300.c (mn10300_PIC_related_p): New fn. - (mn10300_check_fixup): New fn. - (md_assemble): Call it. Check for PIC-related relocs. - (mn10300_cons_fix_new): Likewise. New fn. - (mn10300_end_of_match): New fn. - (mn10300_md_parse_name_cont): New fn. - -2003-07-09 Alexandre Oliva - - 2000-05-25 Alexandre Oliva - * config/tc-mn10300.c (mn10300_insert_operand): Negate negative - accumulator's shift. - 2000-05-08 Alexandre Oliva - * config/tc-mn10300.c (md_relax_table, md_convert_frag, - md_assemble, md_estimate_size_before_relax): Handle fbCC. - 2000-04-20 Alexandre Oliva - * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of - HAVE_AM33_2. - 2000-04-03 Alexandre Oliva - * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant. - (HAVE_AM33): Match AM33_2 too. - (HAVE_AM33_2): New macro. - (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2. - 2000-04-01 Alexandre Oliva - * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'. - (float_registers, double_registers): New variables. - (float_register_name, double_register_name): New functions. - (md_assemble): Recognize FP registers. Implement FMT_D3. - (mn10300_insert_operand): Support FP registers. - -2003-07-08 Chris Demetriou - - * config/tc-mips.c (mips_validate_fix): Do not warn about branch - target being a global symbol if not compiling SVR4 PIC code. - -2003-07-07 Nick Clifton - - * doc/c-m32r.texi (M32R-Directives): New node. Document the - .high, .shigh and .low directives. - -2003-07-07 Richard Sandiford - - * config/tc-h8300.c (h8300sxnmode): Add prototype. - (DSYMMODE): Remove. - (parse_exp): Replace expressionS argument with a h8_op. Parse the - operand size as well. - (skip_colonthing): Remove unused expression argument. Tighten checks - for 2-digit sizes. - (colonmod24): Remove. - (get_mova_operands): Combine calls to parse_exp and skip_colonthing. - (get_operand): Likewise. Use the standard code to read the size of - pc-relative operands. - (fix_operand_size): Include the size-guessing logic that used to be - in colonmod24 and get_operand. Don't apply dd:2 optimizations to - offsets with a symbolic component. - -2003-07-04 Nick Clifton - - * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE - macro to compute size of selected register name array. - -2003-07-01 Martin Schwidefsky - - * config/tc-s390.c (md_parse_option): Add cpu type z990. - (md_begin): Add minimal cpu type logic for instructions with different - binary format depending on the cpu. - (md_assemble): Remove check for minimal cpu. - (s390_insert_operand): Add support for long displacements. - (md_gather_operands): Likewise. - (tc_s390_fix_adjustable): Likewise. - (tc_s390_force_relocation): Likewise. - (md_apply_fix3): Likewise. - -2003-06-30 Chris Demetriou - - * config/tc-mips.c (s_mipsset): Implement -march= handling - differently. - -2003-06-30 Thiemo Seufer - - * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary - prototypes and casts. Replace PTR with void *. Reformat. - * config/tc-mips.h: Likewise. - -2003-06-30 Alan Modra - - * config/tc-ia64.c (note_register_values): Warning fix. - * config/tc-mips.c (append_insn): Likewise. - -2003-06-29 Thiemo Seufer - - * config/tc-mips.c (mips_set_options,mips_opts): Support for - .set arch=FOO. - (file_mips_arch): Rename mips_arch. - (mips_arch_info,mips_tune_info): Remove. - (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch. - (mips_cpu_info_from_arch): New function. - (md_begin): Use file_mips_arch. - (macro_build,macro,mips_ip): Use mips_opts.arch. - (mips_set_architecture): Init file_mips_arch and mips_opts.arch. - (mips_after_parse_args): Remove mips_arch_info and mips_tune_info. - Use file_mips_arch. - (s_mipsset): Support for .set arch=FOO. - (mips_cpu_info_table): Fix typo. - -2003-06-26 H.J. Lu - - * config/tc-i386.c (md_assemble): Declare "exp" before "if". - -2003-06-25 Richard Sandiford - - * config/tc-h8300.c (get_specific): Allow ':8' to be used for - unsigned 8-bit operands. - -2003-06-24 Nick Clifton - - * read.c (s_comm): Change error message to assume an unsigned size - has been passed to .comm. - * config/tc-sparc.c (s_common): Likewise. - * write.c (write_contents): Replace 'unsigned long' with - 'addressT' and 'long' with offsetT in order to allow computations - with very large values to work for 64-bit addressed targets. - (relax_and_size_all_segments): Likewise. - (relax_frag): Likewise. - (relax_segment): Likewise. - -2003-06-23 Mark Mitchell - - * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots. - -2003-06-23 H.J. Lu - - * gas/config/tc-i386.c (md_assemble): Support Intel Precott New - Instructions. - - * gas/config/tc-i386.h (CpuPNI): New. - (CpuUnknownFlags): Add CpuPNI. - -2003-06-23 - - * config/tc-ia64.c (pseudo_func): Add ABI constants for linux, - freebsd, openvms, and nsk (non-stop kernel). - -2003-06-22 Jason Thorpe - - * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after - all locals have been declared. - -2003-06-21 Thiemo Seufer - - * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove - special handling for n32 ABI. - (macro): Likewise. - -2003-06-19 Thiemo Seufer - - * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert - 2003-06-11 change. - -2003-06-19 Christian Groessler - - * config/tc-z8k.c (parse_reg): Invalid registers generate an error - now, not only a warning. Add some more checks to detect invalid - registers. - (get_operand): For CLASS_IR remember register size in mode struct. - (get_specific): Handle new CLASS_IRO type. Add register size - checks for CLASS_IR and CLASS_IRO. - (md_apply_fix3): Fix undefined usage of buf. - -2003-06-19 Alan Modra - - * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect. - (ppc_change_csect): Add align param. Align frag at start of csect. - (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. - (ppc_frob_section): Align vma. - -2003-06-18 Jakub Jelinek - - * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined. - (output_cie): Don't pad. - (output_fde): Add align argument. Pad to align if not 0. - (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. - Pad just last FDE to EH_FRAME_ALIGNMENT. - -2003-06-18 Martin Schwidefsky - - * config/tc-s390.c (init_default_arch): Make current_mode_mask - dependent on s390_arch_size and current_cpu dependent on - current_mode_mask. - -2003-06-18 Svein E. Seldal - - * configure.in: Add c4x as an architecture variant to tic4x. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2003-06-18 Alan Modra - - * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than - ".TOC." from PPC64_TOC relocs. - -2003-06-17 Alan Modra - - * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs. - -2003-06-16 Thiemo Seufer - - * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN, - ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. - (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, - s_cprestore,s_cpadd): Use them. - -2003-06-16 Hans-Peter Nilsson - - * configure.in: Add specific case for cris-*-linux-gnu* with - em=linux. - * configure: Regenerate. - * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE - if TE_LINUX defined, else FALSE. - (bfd_boolean demand_register_prefix): Set default from - DEFAULT_CRIS_AXIS_LINUX_GNU. - (symbols_have_leading_underscore): Similar. - * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1. - -2003-06-13 Richard Earnshaw - - * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA. - (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF, - FPU_ARCH_FPA for AOUT. - (md_begin): Don't try to guess the floating point architecture from - the CPU if the OS ABI (Linux, NetBSD) mandates a particular form. - -2003-06-13 Robert Millan - - * configure.in: Add i386-netbsd-gnu target. - * configure: Regenerate. - -2003-06-12 Tom Tromey - - * doc/as.texinfo (Comm): Added @node. Moved before CFI - directives node. - -2003-06-12 Richard Sandiford - - * config/tc-mips.c (append_insn): In a compound relocation, take the - field width from the final (outermost) operator. - -2003-06-11 Richard Henderson - - * dw2gencfi.c (struct cfi_escape_data): New. - (cfi_add_CFA_nop): Remove. - (CFI_escape, dot_cfi_escape): New. - (dot_cfi): Remove nop. - (cfi_pseudo_table): Remove nop; add escape. - (output_cfi_insn): Likewise. - (select_cie_for_fde): Stop on escape. - * dw2gencfi.h (cfi_add_CFA_nop): Remove. - * read.c, read.h (do_parse_cons_expression): New. - * doc/as.texinfo (.cfi_escape): New. - -2003-06-11 Thiemo Seufer - - * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP. - (s_cprestore): Likewise. - (s_cpreturn): Likewise. - -2003-06-11 Thiemo Seufer - - * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc - with zeros. - -2003-06-11 Thiemo Seufer - - * config/tc-mips.c (md_pcrel_from): Return actual pcrel address. - (md_apply_fix3): Ignore non-special relocations. Remove superfluous - exceptions from size assert. Remove most of the addend fixup - specialcasing. Remove value, use valP directly. simplify fx_addnumber - handling. Remove zero addend specialcases. - (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove - the addend fixup specialcase. - * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0. - -2003-06-11 Thiemo Seufer - - * write.c (write_relocs): Use xcalloc. Fix relocs initialization - in the RELOC_EXPANSION_POSSIBLE case. - -2003-06-11 Alan Modra - - * config/tc-i960.c (line_comment_chars): Add '#'. - * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-11 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2003-06-10 Doug Evans - - * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to - CGEN_INSN_RELAXED. - * config/tc-fr30.c (md_estimate_size_before_relax): Ditto. - * config/tc-m32r.c (md_estimate_size_before_relax): Ditto. - * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto. - -2003-06-10 Alan Modra - Gary Hade - - * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ. - (md_apply_fix3): Special case lq insn. - -2003-06-10 Richard Sandiford - - * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register - lists. Allow single-register ranges. - -2003-06-10 Richard Sandiford - - * config/tc-h8300.c (h8300sxnmode): New. - (md_pseudo_table): Add .h8300sxn entry. - -2003-06-09 H.J. Lu - - * NEWS: Updated for the new -n option for the i386 assembler. - - * config/tc-i386.c (optimize_align_code): New. - (md_shortopts): Add 'n'. - (md_parse_option): Handle 'n'. - (md_show_usage): Add '-n'. - - * config/tc-i386.h (optimize_align_code): Declared. - (md_do_align): Optimize code alignment only if optimize_align_code - is not 0. - - * doc/as.texinfo: Add the new -n option. - - * doc/c-i386.texi: Document the new -n option. - -2003-06-07 Richard Henderson - - * doc/as.texinfo: Document .cfi_rel_offset. - - * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New. - (cfi_add_CFA_offset): Detect invalid offsets. - (cfi_add_CFA_remember_state): Save cur_cfa_offset. - (cfi_add_CFA_restore_state): Restore it. - (CFI_rel_offset): New. - (cfi_pseudo_table): Add it. - (dot_cfi): Handle it. - -2003-06-07 H.J. Lu - - * app.c (do_scrub_chars): Add states 14 and 15 to handle - predicate for ia64. - -2003-06-05 Michael Snyder - - * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops. - (build_bytes): Ditto. - -2003-06-05 Richard Sandiford - - * config/tc-h8sx.c (DMODE): Remove. - (colonmod24): Don't choose a default if the operand is a 16-bit - constant integer. - (fix_operand_size): New function. - (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn). - Adjust @(d:2,ERn) operands before choosing the specific opcodes. - -2003-06-05 Michal Ludvig - - * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg) - (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New. - (cfi_add_CFA_offset, cfi_add_CFA_def_cfa) - (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register) - (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*(). - (cfi_add_CFA_restore, cfi_add_CFA_undefined) - (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) - (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New. - (cfi_pseudo_table): New directives .cfi_return_column, - .cfi_restore, .cfi_undefined, .cfi_same_value, - .cfi_remember_state, .cfi_restore_state, .cfi_nop. - (dot_cfi, output_cfi_insn): Handle new directives. - * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined) - (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) - (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes. - -2003-06-04 Richard Henderson - - * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets. - - * dw2gencfi.c (cfi_finish): Set .eh_frame read-only. - -2003-06-04 Richard Henderson - - * config/tc-alpha.c (s_alpha_usepv): New. - (md_pseudo_table): Add it. - (alpha_cfi_frame_initial_instructions): New. - * config/tc-alpha.h (TARGET_USE_CFIPOP): New. - (tc_cfi_frame_initial_instructions): New. - * doc/c-alpha.texi: Document .usepv. - -2003-06-04 Jakub Jelinek - - * as.c (show_usage): Document --execstack and --noexecstack. - (parse_args): Add --execstack and --noexecstack. - (main): Create .note.GNU-stack section if --execstack or - --noexecstack was given on comand line, set its SHF_EXECINSTR bit. - * as.h (flag_execstack, flag_noexecstack): New. - -2003-06-03 Chris Demetriou - - * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE) - (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE) - (OPTION_MISC_BASE): New defines. - (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL) - (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64) - (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100) - (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX) - (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2) - (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D) - (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64) - (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS) - (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010) - (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16) - (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH) - (OPTION_TRAP): Redefine in terms of new defines. - (md_longopts): Reorder entries. - -2003-05-14 Michael Snyder - From Bernd Schmidt - and Michael Snyder - and Alexandre Oliva - * config/tc-h8300.c: Add insns and addressing modes for h8300sx. - * config/tc-h8300.h: Ditto. - -2003-06-03 Nick Clifton - - * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into - BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this - before calling bfd_reloc_type_lookup. - -2003-06-02 Alan Modra - - * read.c (emit_expr): Set dot_value. - * dw2gencfi.c (output_fde): Remove pcrel reloc hack. - -2003-06-02 Alan Modra - - * macro.c (sub_actual): Don't lose string if it turns out that - &string wasn't an arg. - -2003-05-31 Richard Henderson - - * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc. - (cfi_finish): Set flag_traditional_format around .eh_frame data. - -2003-05-29 Richard Henderson - - * config/tc-alpha.c (alpha_cur_ent_sym): Remove. - (all_frame_data, plast_frame_data, cur_frame_data): New. - (s_alpha_ent): Record data for dwarf2 cfi. - (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise. - (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives. - * config/tc-alpha.h (md_end): New. - (DWARF2_DEFAULT_RETURN_COLUMN): New. - (DWARF2_CIE_DATA_ALIGNMENT): New. - -2003-05-29 Nick Clifton - - * configure.in: Add i386-*-freebsd* entry. - * configure: Regenerate. - -2003-05-29 Kazuhiro Inaoka - - * config/tc-m32r.c: Amend comment to refer to Renesas - -2003-05-27 Richard Henderson - - * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the - symbol_create call. - (current_location): Use symbol_temp_new_now. - * stabs.c (s_stab_generic): Use symbol_temp_new. - * symbols.c (temp_label_name): Remove. - (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME. - -2003-05-27 Richard Henderson - - * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch. - * as.c (main): Always call cfi_finish. - * config/tc-i386.c (x86_dwarf2_return_column): New. - (x86_cie_data_alignment): New. - (md_begin): Set them. - (tc_x86_cfi_init): Remove. - (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; - return int, not unsigned long; don't as_bad here. - (tc_x86_frame_initial_instructions): Streamline; use - updated api. - * config/tc-i386.h (tc_cfi_init): Remove. - (DWARF2_DEFAULT_RETURN_COLUMN): New. - (DWARF2_CIE_DATA_ALIGNMENT): New. - -2003-05-27 Richard Henderson - - * symbols.c (temp_label_name): New. - (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New. - (symbol_set_value_now): New. - * symbols.h: Prototype them. - * dwarf2dbg.c: Use them. - (fake_label_name, symbol_new_now, set_symbol_value_now): Remove. - -2003-05-23 Jason Eckhardt - - * config/tc-i860.c (target_xp): Declare variable. - (OPTION_XP): Declare macro. - (md_longopts): Add option -mxp. - (md_parse_option): Set target_xp. - (md_show_usage): Add -mxp usage. - (i860_process_insn): Recognize XP registers bear, ccr, p0-p3. - (md_assemble): Don't try expansions if XP_ONLY is set. - * doc/c-i860.texi: Document -mxp option and i860XP support. - -2003-05-23 Eric Christopher - - * config/tc-mips.c (macro_build_jalr): Warning patrol. - -2003-05-22 Thiemo Seufer - - * config/tc-mips.c (append_insn): Use actual relocation size for new - fixp's. Don't relax overflow checking for partial_inplace relocations. - Use the actual relocation type in combined relocs, not just the type - of the first one. - (macro_build_jalr): Use actual relocation size for new fix. - (s_cpsetup, s_gpdword): Likewise. - -2003-05-22 Thiemo Seufer - - * config/tc-mips.c (macro): Don't use uninitialized tempreg. - -2003-05-22 Nick Clifton - - * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce - section relative offsets for relocs that will not be based on the - section symbol. - (xstormy16_md_apply_fix3): Remove previous patch to this - function. - -2003-05-07 Eric Christopher - - * config/tc-mips.c (mips_abicalls): New variable. - (md_parse_option): Use. - (s_option): Ditto. - (s_abicalls): Ditto. - (mips_elf_final_processing): Set EF_MIPS_PIC and - EF_MIPS_CPIC dependent on above. - -2003-05-21 John David Anglin - - * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'. - -2003-05-21 Nick Clifton - - * config/obj-elf.c: Include dwarf2dbg.h. - (elf_pseudo_tab): Add .file and .loc. - * config/tc-arc.c (md_pseudo_table): Remove .file and .loc. - * config/tc-arm.c: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-hppa.c: Likewise. - * config/tc-ia64.c: Likewise. - * config/tc-m68hc11.c: Likewise. - * config/tc-m68k.c: Likewise. - * config/tc-mmix.c: Likewise. - * config/tc-mn10300.c: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-v850.c: Likewise. - * config/tc-frv.c: Likewise, and remove redundant inclusion of - dwarf2dbg.h. - * config/tc-ip2k.c: Likewise. - * config/tc-iq2000.c: Likewise. - * config/tc-xstormy16.c: Likewise. - * config/tc-xtensa.c: Likewise. - * Makefile.am: Regenerate dependencies. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2003-05-21 Nick Clifton - - * dw2gencfi.c (cfi_get_label): Use symbol_make for non - BFD_ASSEMBLER targets. - (cfi_startproc): Change type of saved_seg and cfi_seg to segT. - (dot_cfi_endproc): Only call bfd_set_section_flags for targets - defining BFD_ASSEMBLER. - -2003-05-20 Michal Ludvig - - * as.c (main): Remove tc_cfi_init(). - * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning - with '%'. - (cfi_pseudo_table): Add "cfi_register" entry. - (cfi_make_insn): Handle CFA_register. - (cfi_output_insn): Ditto. - (dot_cfi): Ditto. - (cfi_get_label): Add 'simple' modifier to .cfi_startproc. - (dot_cfi_endproc): Reuse already emitted CIEs. - * testsuite/gas/cfi/cfi-i386.d: New pattern. - * testsuite/gas/cfi/cfi-x86-64.d: Ditto. - -2003-05-20 Nick Clifton - - * config/tc-xstormy16.c: Include dwarf2dbg.h. - (md_pseudo_table): Add entries for .loc and .line. - -2003-05-20 Alan Modra - - * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if - defined. - (dot_cfi_endproc): Avoid C99 construct. - -2003-05-20 Michal Ludvig - - * dw2gencfi.c, dw2gencfi.h: New files. - * config/tc-i386.c (tc_x86_cfi_init): New function. - * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines. - * as.c (parse_args): Set verbose flag on --verbose. - (main): Call tc_cfi_init()/cfi_finish(). - * as.h (verbose): New external variable. - * read.c (pobegin): Insert CFI pops to the list. - * symbols.c (local_symbol_make): Make symbol external. - * symbols.h (local_symbol_make): New prototype. - * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am". - * Makefile.in: Regenerate. - * doc/as.texinfo: Added node "CFI directives" with description of - all implemented .cfi_* directives. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2003-05-19 Svein E. Seldal - - * config/tc-tic4x.c (md_assemble): Added support for one-line parallel - insns. - * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition - -2003-05-18 Jason Eckhardt - - * config/tc-i860.c (i860_process_insn): Initialize fc after - each opcode mismatch. - -2003-05-16 Kelley Cook - - * configure.in: Accept i[3-7]86 variants. - * configure: Regenerate. - -2003-05-15 Thiemo Seufer - - * config/tc-mips.h: Fix comment formatting. - -2003-05-13 Hans-Peter Nilsson - - * read.c (old_buffer, old_input, old_limit): Remove variables. - (read_a_source_file): Delete label contin. - : Use an "sb" to push #APP expansion into - input as with macros, instead of in separate old_* variables. - Zero-terminate string being scrubbed. - -2003-05-12 Nick Clifton - - * config/tc-xstormy16.c (skipping_fptr): New local variable. - (md_assemble): Reset skipping_fptr. - (md_operand): If @fptr() is followed by a minus sign, set - skipping_fptr and ignore the fptr. If skipping_fptr is set and an - @fptr is detected, ignore it and reset skipping_fptr. - -2003-05-11 Jason Eckhardt - - * config/tc-i860.c (MAX_FIXUPS): Define. - (struct i860_fi fi[]): New struct. - (struct i860_it the_insn): Add above as member and move fields - exp, reloc, pcrel and fup into i860_fi. - (md_assemble): Replace all instances of exp, reloc, pcrel - and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup. - Add a loop to possibly emit multiple fix-ups for each insn. - (i860_process_insn): Likewise. - (i860_get_expression): Likewise. - (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality. - -2003-05-09 Martin Schwidefsky - - * config/tc-s390.c (s390_target_format): Always call init_default_arch. - -2003-05-07 H.J. Lu - - * config/tc-ia64.c (alias_hash): New. - (alias_name_hash): New. - (secalias_hash): New. - (secalias_name_hash): New. - (md_pseudo_table): Add "secalias". - (md_begin): Initialize alias_hash, alias_name_hash, - secalias_hash and secalias_name_hash. - (struct alias): New. - (dot_alias): Implement .alias and .secalias directives. - (do_alias): New. - (ia64_adjust_symtab): New. - (do_secalias): New. - (ia64_frob_file): New. - - * config/tc-ia64.h (ia64_adjust_symtab): New. - (tc_adjust_symtab): Defined. - (ia64_frob_file): New. - (tc_frob_file): Defined. - -2003-05-07 Dmitry Diky - - * tc-msp430.c: Add missing lines to known cpus list. - -2003-05-06 Alexandre Oliva - - * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE. - * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. - * config.in, configure: Rebuilt. - -2003-05-05 H.J. Lu - - * config/tc-mips.c (tc_gen_reloc): Add addend just once if - howto->partial_inplace is false. - -2003-05-05 Daniel Jacobowitz - - * config/tc-mips.c (mips_need_elf_addend_fixup): Remove - symbol_used_in_reloc_p check. - (md_apply_fix3): Remove check for howto->pcrel_offset. - -2003-05-03 H.J. Lu - - * config/obj-elf.c (obj_elf_parse_section_letters): Make it a - fatal error for unknown section attribute. - - * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for - unknown section attribute. - * config/tc-ia64.c (ia64_elf_section_letter): Likewise. - * config/tc-ppc.c (ppc_section_letter): Likewise. - - * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. - (ia64_elf_section_type): Accept "unwind". - -2003-05-02 H.J. Lu - - * read.h (demand_copy_string): New. - - * config/tc-alpha.c (demand_copy_string): Removed. - -2003-05-02 Michael Snyder - - * write.h (FAKE_LABEL_NAME): Allow override - (for targets that like eg. a leading dot in a local label). - -2003-05-02 Nick Clifton - - * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the - addend with the symbol's value for pc-relative relocations against - a defined symbol - this will be done automatically. - -2003-05-01 H.J. Lu - - * config/obj-elf.c (obj_elf_type): Accept "notype" and - "STT_NOTYPE". - -2003-05-01 H.J. Lu - - * config/tc-ia64.h (tc_canonicalize_section_name): New. - - * config/obj-elf.c (obj_elf_section_name): Call - tc_canonicalize_section_name if it is defined. - -2003-05-01 H.J. Lu - - * config/tc-ia64.c (ia64_check_label): New. - * config/tc-ia64.h (tc_check_label): New. - - * read.c (read_a_source_file): Call tc_check_label after - creating a user-defined label if defined. - -2003-05-02 Alan Modra - - * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b, - -be and split strings to below 509 bytes in length. - -2003-05-01 Christian Groessler - - * expr.h: Fix comments in operatorT typedef. - * config/tc-z8k.c: Add 2003 to copyright message. - Fold s_segm() and s_unseg() into one function s_segm(parm) which - decides by the parameter. - (md_begin): Don't set linkrelax. Only set Z8002 default if no - command line argument was given to select the intended - architecure. - (get_interrupt_operand): Warn if NOP type code is emitted. - (newfix): New parameter 'size', forward it to 'fix_new_exp'. - (apply_fix): Call newfix with additional 'size' parameter. - (build_bytes): Remove unused variable 'nib'. Detect overflow in - 4 bit immediate arguments. - (md_longopts): Add 'linkrelax' option. - (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' - variable when 'linkrelax' command line option is specified. - (md_show_usage): Display 'linkrelax' option. - (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases - R_CALLR and R_REL16. - * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD. - -2003-04-30 H.J. Lu - - * config/tc-ia64.c (ia64_number_to_chars): New function pointer. - (ia64_float_to_chars): Likewise. - (dot_byteorder): Set target_big_endian, ia64_number_to_chars - and ia64_float_to_chars by tc_segment_info_data.endian from - the current segment if byteorder == -1. - (md_begin): Call dot_byteorder to set target_big_endian. - (md_atof): Call ia64_float_to_chars to convert floating point. - (ia64_float_to_chars_bigendian): New function. - (ia64_float_to_chars_littleendian): Likewise. - (ia64_elf_section_change_hook): Likewise. - - * config/tc-ia64.h (ia64_number_to_chars): New. - (md_number_to_chars): Changed to (*ia64_number_to_chars) - (ia64_elf_section_change_hook): New. - (md_elf_section_change_hook): Defined. - (ia64_segment_info_type): New struct. - (TC_SEGMENT_INFO_TYPE): Defined. - -2003-04-30 H.J. Lu - - * config/tc-ia64.c (md_section_align): Deleted. - - * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New. - (md_section_align): New. - -2003-04-30 H.J. Lu - - * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10 - and add real16. - (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and - "real16.ua". - (md_atof): Add 6 byte padding of zero for real16. - -2003-04-29 Nick Clifton - - * config/obj-elf.c (obj_elf_symver): Skip whitespace before the - start of a version name. - -2003-04-28 Chris Demetriou - - * configure.in (mips-*-*n*bsd*): Replace with... - (mips-*-netbsd*, mips-*-openbsd*): These. - * configure: Regenerate. - -2003-04-28 H.J. Lu - - * config/tc-hppa.c (hppa_symbol_chars): New. - * config/tc-hppa.h (tc_symbol_chars): Likewise. - -2003-04-26 Thiemo Seufer - - * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. - -2003-04-25 Chris Demetriou - - * NEWS: Belatedly mention support for MIPS32 Release 2. - -2003-04-24 Eric Christopher - - * config/tc-mips.c (nopic_need_relax): Revert previous - change. - -2003-04-24 Dhananjay Deshpande - - * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New - * config/tc-h8300.c (dwarf2dbg.h): Include - (md_pseudo_table): Handle .loc and .file - (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER. - * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets. - * Makefile.in: Regenerate. - -2003-04-24 Dhananjay Deshpande - - * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New. - (md_pseudo_table): Add h8300hn, h8300sn. - * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn. - * doc/c-h8300.texi : Add documentation for new machine directives. - -2003-04-24 Nick Clifton - - * config/tc-ppc.c (ppc_symbol_chars): Define. - * config/tc-ppc.h (tc_symbol_chars): Define. - -2003-04-23 J"orn Rennecke - - * config/tc-sh.c: Amend comment to refer to SuperH. - * config/tc-sh.h: Likewise. - (LISTING_HEADER): Amend to refer to SuperH. - * config/tc-sh64.c: Change comment to refer to SuperH. - * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH. - * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH. - * doc/c-sh.texi: Amend to refer to SuperH. - Add SuperH architecture documentation references. - * doc/c-sh64.texi: Change to refer to SuperH. - -2003-04-23 H.J. Lu - - * app.c (do_scrub_chars): More checks for valid labels. - -2003-04-22 H.J. Lu - - * app.c (do_scrub_chars): Check for valid label. - -2003-04-22 Kazuhiro Inaoka - - * doc/as.texinfo: Replace references to Mitsubishi M32R with - references to Renesas M32R. - * doc/c-m32r.texi: Likewise. - -2003-04-21 Richard Henderson - - * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers. - (out_file_list): Assign non-null filename after generating error. - -2003-04-18 Jakub Jelinek - - * ehopt.c (check_eh_frame): For aug_size == 0 - in state_seeing_aug_size state skip the state_skipping_aug - state. - -2003-04-15 Rohit Kumar Srivastava - - * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with - 'Renesas'. - * doc/c-h8500.texi: Likewise. - * doc/c-sh.texi: Likewise. - * doc/c-sh64.texi: Likewise. - * doc/h8.texi: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-h8300.h: Likewise. - * config/tc-h8500.c: Likewise. - * config/tc-h8500.h: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sh.h: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-sh64.h: Likewise. - -2003-04-10 Alexandre Oliva - - * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New. - * config/tc-mips.c: Use signed add for n32 address arithmetic. - (append_insn): When filling delay slots with instructions - that have fixups that tc_gen_reloc might consider modifyable - in variant frags, start a new frag. - (load_address): Generate GOT_DISP with of without offset - depending on whether symbol is local. For -xgot, use - GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16. - (macro) : Likewise. - : In NewABI, use CALL16 or GOT_DISP for small got, - CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got. - : In NewABI with small got, always use - GOT_PAGE/GOT_OFST, with the latter in the load/store - instruction. With big got, use GOT_HI16/GOT_LO16 or - GOT_PAGE/GOT_OFST. - (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI. - Add tc_frag_data.tc_fr_offset to addends. Decay CALL16, - GOT_OFST and GOT_DISP to GOT_DISP in NewABI. - (md_convert_frag): Use memmove for safe copying of overlapping - regions. - -2003-04-09 Stephane Carrez - - * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort, - -mlong, -mshort-double and -mlong-double options; use table @code. - (M68HC11-Syntax): Update to document 68HC12 operands. - (M68HC11-Modifiers): New section for operand modifiers. - (M68HC11-Directives): New section for specific assembler directives. - (M68HC11-Branch): Fix Overfull hbox error. - -2003-04-09 Alexandre Oliva - - * config/tc-mips.c (macro): Add comments explaining the rationale - for Chris' change. - -2003-04-09 Chris Demetriou - - * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit - constant address that Alexandre took out by accident. Reject - 64-bit addresses that are not sign extensions of 32 bits only if - we don't support 64-bit address constants. - -2003-04-09 Alan Modra - - * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs. - -2003-04-08 Nick Clifton - - * as.c (perform_an_assembly_pass): If using cgen, call - gas_cgen_begin. - * cgen.c (gas_cgen_begin): New function. If - flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok - otherwise call cgen_clear_signed_overflow_ok. - * cgen.h: Prototype gas_cgen_begin. - -2003-04-07 Thiemo Seufer - - * write.c (write_relocs): Remove unused variable. - -2003-04-06 Chris Demetriou - - * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New. - (macro): Use new macro to decide whether to emit constant address - as 32 or 64 bits if addresses are 32-bit wide but registers are - 64-bit wide. - -2003-04-05 Stephane Carrez - - * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define. - (M6811_OP_PAGE_ADDR): New internal define. - (get_operand): New modifier %page and %addr to obtain page and - address part of a far-function. - (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't - complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation - relocs. - (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier. - (find_opcode): Add comment. - (md_estimate_size_before_relax): Force relocation of - STATE_UNDEXED_OFFSET types when the symbol is not absolute. - (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16 - instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32 - on the symbol itself so that DWARF2 strings are merged correctly. - -2003-04-04 Svein E. Seldal - - * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed - default tic4x target format to 'coff2-tic4x'. - * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and - s/c3x/tic3x/ - * config/tc-tic4x.h: Ditto - -2003-04-03 Nick Clifton - - * NEWS: Mention support for Xtensa architecture. - -2003-04-02 Philip Blundell - - * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM. - -2003-04-02 Chris Demetriou - - * config/tc-mips.c (macro2): Adjust implementation of - M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly - in the case where the source and destination registers - are the same. - -2003-04-01 Bob Wilson - - * Makefile.am (CPU_TYPES): Add xtensa. - (TARGET_CPU_CFILES): Add config/tc-xtensa.c. - (TARGET_CPU_HFILES): Add config/tc-xtensa.h. - (xtensa-relax.o): New target. - Run "make dep-am". - * Makefile.in: Regenerate. - * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to - extra_objects for xtensa targets. - * configure: Regenerate. - * write.c (write_object_file): Add new md_post_relax_hook. - * config/tc-xtensa.c: New file. - * config/tc-xtensa.h: Likewise. - * config/xtensa-istack.h: Likewise. - * config/xtensa-relax.c: Likewise. - * config/xtensa-relax.h: Likewise. - * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Set new XTENSA variable. - * doc/as.texinfo: Set new Xtensa variable. Describe - Xtensa-specific options. Define line comment character for - Xtensa. Add Xtensa processors to list of ELF targets where - alignment is specified in bytes. Add new Xtensa-Dependent node. - Add acknowledgements for those contributing to the Xtensa port. - * doc/internals.texi: Describe new md_post_relax_hook. - * doc/c-xtensa.texi: New file. - -2003-04-01 Nick Clifton - Richard Earnshaw - - * config/tc-arm.c: Remove presence of (r) and (tm) symbols. - (ARM_ARCH_IWMMXT): Simplify. - (insns): Place iwmmx instructions in correct place in table. - (arm_add_note): New function: Add a note entry to a .note section. - (md_begin): Make the default architecture be unknown. - Suppress the creation of an arm note section. - -2003-03-26 Eric Christopher - - * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX, - WC_PREFIX, REG_TYPE_IWMMXT): New constants. - (enum wreg_type, enum iwmmxt_insn_type): New types. - (wr_register, wc_register, wcg_register): New macros. - (iwmmxt_table): New variable. - (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc, - do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm, - do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia, - do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc, - do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov, - do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg, - do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero, - cp_byte_address_offset, cp_byte_address_required_here, - check_iwmmxt_insn): New functions. - (asm_opcode_insns): Add iWMMXt instructions. - (md_begin): Set the mach value for iWMMXt targets. Create a note - section to identify iwmmxt binaries. - (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2. - * doc/c-arm.texi: Document the support for the iWMMXt. - * NEWS: Mention new support. - -2003-03-24 Daniel Néri - - * doc/as.texinfo: Rename the all occurances of C54X to TIC54X. - * doc/all.texi: Likewise. - * doc/c-tic54x.texi: Likewise. - -2003-03-21 Andreas Schwab - - * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to - avoid aliasing issue. - -2003-03-21 Martin Schwidefsky - - * config/tc-s390.c (s390_arch_size): Initialize to zero. - (current_arch_mask): Rename to current_mode_mask. - (current_arch_requested): Remove variable. - (current_cpu): New variable. - (init_default_arch): Set defaults values for s390_arch_size, - current_mode_mask and current_cpu. - (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}. - (md_begin): Replace current_arch_mask by current_cpu. - (md_assemble): Adapt check and error message to current_mode_mask and - current_cpu. - -2003-03-09 James E Wilson - - * macro.c (buffer_and_nest): Store more to sb instead of '\n'. - * read.c (get_line_sb): Return end of line character or '\n' if - it is zero or non-existent. - -2003-03-12 Alexandre Oliva - - * config/tc-mips.c (mips_validate_fix): New function. - * config/tc-mips.h (TC_VALIDATE_FIX): Define. - (mips_validate_fix): Declare. - -2003-03-12 Alexandre Oliva - - * Reverted 2003-03-02's patch. - -2003-03-11 Steve Ellcey - - * dwarf2dbg.c (generic_dwarf2_emit_offset): New. - (TC_DWARF2_EMIT_OFFSET): Provide default. - (out_debug_aranges, out_debug_info): Use it. - * config/tc-ia64.c (ia64_dwarf2_emit_offset): New. - (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ... - (ia64_gen_real_reloc_type): ... here. - * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New. - -2003-03-09 Thiemo Seufer - - * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case. - (s_mips_ent): Likewise. - -2003-03-04 Dmitry Diky - - * config/tc-msp430.c (mcu_types): Add recently announced x1122 - and x1123 devices, add missed x437. - (md_show_usage): Sort device list. - -2003-03-03 J"orn Rennecke - - * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. - (md_begin): Use preset_target_arch. - (md_longopts): Make isa option unconditional. - (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any - set preset_target_arch. - (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups - by -S_GET_VALUE (fixP->fx_subsy). - (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, - and the addend is 0. - Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. - * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. - -2003-03-02 Thiemo Seufer - - * config/tc-mips.c (append_insn): Add handling of - BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded - BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about - misaligned address and reange overflow. - (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add - earlier warnings about misaligned address and reange overflow. - (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. - (md_apply_fix): Likewise. Fix warning output. - (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. - Allow BFD_RELOC_16_PCREL_S2 for all ABIs. - (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. - -2003-02-21 Nick Clifton - - * NEWS: Mention availability of test generator program. - -2003-02-21 Miles Bader - - * config/tc-v850.c (system_registers): Add v850e debug registers. - (system_register_name): Accept up to 27 (the last v850e sys register). - -2003-02-21 Bob Wilson - - * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text - relevant to both COFF and ELF. Fix obvious typos and texinfo bugs. - Capitalize section headings consistently. Format index entries more - consistently. Unconditionalize text about whether text and data - sections are alterable. Use @ifnottex for alternatives to @tex output - so that HTML works. Clean up COFF vs. ELF descriptions of .section, - .size and .type directives. Be more polite about bad bug reports. - Move FDL into a separate file. - * doc/fdl.texi: New file. - -2003-02-21 Richard Sandiford - - * config/tc-mips.c (prev_reloc_op_frag): New variable. - (macro): Check it to decide whether a new frag is needed. - (my_getSmallExpression): Set it. - -2003-02-20 jmc - - * cgen.c: Fix typo: intial -> initial. - -2003-02-19 Jie Zhang - - * app.c (do_scrub_chars): Handle '||' in two states. - -2003-02-13 Alan Modra - - * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change. - * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define. - -2003-02-11 Uwe Stieber - - * configure.in: Add support for kaOS as cross build target system. - * configure: Regenerated. - -2003-02-10 Nick Clifton - - * config/tc-arm.c (md_begin): If the Maverick co-processor is - selected, set the EF_ARM_MAVERICK_FLOAT flag and - bfd_mach_arm_ep9312 machine number. - -2003-02-08 Richard Sandiford - - * config/tc-mips.c (reloc_needs_lo_p): New function. - (fixup_has_matching_lo_p): New function. - (append_insn): Use reloc_needs_lo_p to check whether a relocation - might need a matching %lo(). Reuse the head of mips_hi_fixup_list - if that fixup already has a matching %lo(). Don't call frag_wane here. - (macro): Call frag_wane here if the last unmatched hi was in the - current frag. - (pic_need_relax): New function, split out from... - (md_estimate_size_before_relax): ...here. - (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test - whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. - -2003-02-07 Richard Sandiford - - * config/tc-mips.c (my_getSmallExpression): Rework bracket handling. - -2003-02-06 Alan Modra - - * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that - x@toc+off works. - -2003-02-05 Alan Modra - - * config/tc-ppc.c (mapping): Handle new TLS reloc specs. - (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't - accept x@got+off etc. - (md_assemble): Handle TLS relocs. - (ppc_force_relocation): Force for all TLS relocs. - (ppc_fix_adjustable): Likewise. - (md_apply_fix3): Handle TLS relocs. - -2003-02-04 Alan Modra - - * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and - SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p. - -2003-02-02 Richard Sandiford - - * config/tc-mips.c (enum small_ex_type): Remove. - (imm_unmatched_hi): Remove. - (md_assemble): Remove use of imm_unmatched_hi. Remove the last - argument from calls to append_insn. - (append_insn): Remove unmatched_hi parameter; check reloc_type[0] - instead. - (macro_build): Update append_insn calls. - (mips16_macro_build, macro_build_lui): Likewise. - (mips_ip): Rework handling of small expressions. Move explicit - relocation handling into my_getSmallExpression. Assume that the - value of 'o' operands is zero if there is only one bracketed - expression left. - (percent_op): Make constant. Record the BFD relocation code - associated with each operator. - (my_getSmallParser, my_getPercentOp): Remove. - (parse_relocation): New function. - (my_getSamllExpression): Rework. Fill in relocations here - rather than in mips_ip. - -2003-01-29 Nick Clifton - - * config/tc-i386.c (line_comment_chars): Add '#'. This makes the - assembler's handling of # "" directives work. - -2003-01-28 Jakub Jelinek - - * dwarf2dbg.c: Include filenames.h. - (struct file_entry): Make filename const char *. - (dirs, dirs_in_use, dirs_allocated): New variables. - (get_filenum): Add NUM argument. Build directory table. - (dwarf2_where): Adjust caller. - (dwarf2_directive_file): Use get_filenum to allocate - slot in file and directory tables. - (dwarf2_directive_loc): Recreate full filename from - directory and filename part if needed for listing. - (out_file_list): Output directory table. - Output main source file dirname before its filename. - -2003-01-28 Dmitry Diky - - * config/tc-msp430.c: Replace occurences of 'tolower' with - 'TOLOWER'. - -2003-01-27 David Mosberger - - * config/tc-ia64.c (dot_vframesp): Correct error message. - (dot_vframepsp): Ditto. - -2003-01-27 Alexandre Oliva - - * configure.in (em): Set to irix on all Irix systems. - * configure: Rebuilt. - * config/te-irix.h: New file. - * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide - whether to use Irix-specific 64-bit format. - -2003-01-27 Martin Schwidefsky - - * config/tc-s390.c (s390_elf_cons): Avoid designated initializers. - -2003-01-25 Jakub Jelinek - - * config/tc-sparc.c (sparc_ip): Handle TLS % operators. - (tc_gen_reloc): Handle TLS relocs. - (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff. - * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS - relocs. - * config/obj-elf.c (obj_elf_section_word): Handle tls. - (obj_elf_type): Handle tls_object. - -2003-01-24 Martin Schwidefsky - - * config/tc-s390.c (s390_tls_suffix): New function. - (elf_suffix_type): Add suffix enums for TLS relocations. - (s390_elf_suffix): Add suffix strings for TLS relocations. - (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to - bfd relocations. - (md_gather_operands): Map new instruction operand/elf suffix - combinations for TLS to bfd relocations. - (tc_s390_fix_adjustable): Add new TLS relocations. - (tc_s390_force_relocation): Likewise. - (md_apply_fix3): Likewise. - -2003-01-24 Alan Modra - - * as.h: Update copyright date. - * symbols.c: Likewise. - * config/tc-d10v.h: Likewise. - * config/tc-fr30.h: Likewise. - * config/tc-i960.h: Likewise. - * config/tc-mips.h: Likewise. - - * config/tc-hppa.h (DIFF_EXPR_OK): Define. - (MD_APPLY_SYM_VALUE): Move. - -2003-01-23 Nick Clifton - - * NEWS: Announce sh2e support. - - Add sh2e support: - 2002-04-02 Alexandre Oliva - * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e. - (sh_elf_final_processing): Handle arch_sh2e. - -2003-01-23 Alan Modra - - * symbols.c (S_FORCE_RELOC): Add "strict" param. - * symbols.h (S_FORCE_RELOC): Likewise. - * config/obj-aout.h (S_FORCE_RELOC): Likewise. - * config/obj-bout.h (S_FORCE_RELOC): Likewise. - * config/obj-coff.h (S_FORCE_RELOC): Likewise. - * config/obj-ieee.h (S_FORCE_RELOC): Likewise. - * config/obj-vms.h (S_FORCE_RELOC): Likewise. - * write.c (generic_force_reloc): New function. - (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC. - (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. - (adjust_reloc_syms): Adjust S_FORCE_RELOC call. - * as.h (generic_force_reloc): Declare. - * doc/internals.texi (S_FORCE_RELOC): Update. - (TC_FORCE_RELOCATION_SUB_SAME): Update. - - * config/tc-alpha.c (alpha_force_relocation): Adjust to use - generic_force_reloc. - (alpha_fix_adjustable): Likewise. - * config/tc-arm.c (arm_force_relocation): Likewise. - * config/tc-cris.c (md_cris_force_relocation): Likewise. - * config/tc-frv.c (frv_force_relocation): Likewise. - * config/tc-i386.c (md_apply_fix3): Likewise. - * config/tc-ia64.c (ia64_force_relocation): Likewise. - * config/tc-ip2k.c (ip2k_force_relocation): Likewise. - * config/tc-m32r.c (m32r_force_relocation): Likewise. - * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise. - * config/tc-mcore.c (mcore_force_relocation): Likewise. - * config/tc-mips.c (mips_force_relocation): Likewise. - * config/tc-mmix.c (mmix_force_relocation): Likewise. - * config/tc-ppc.c (ppc_force_relocation): Likewise. - * config/tc-s390.c (tc_s390_force_relocation): Likewise. - * config/tc-sh.c (sh_force_relocation): Likewise. - (md_pcrel_from_section): Likewise. - * config/tc-sparc.c (tc_gen_reloc): Likewise. - * config/tc-v850.c (v850_force_relocation): Likewise. - * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise. - * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise. - * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise. - * config/tc-sparc.h (tc_fix_adjustable): Likewise. - - * config/tc-d10v.c (d10v_force_relocation): Delete. - * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-dlx.c (md_dlx_force_relocation): Delete. - * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-fr30.c (fr30_force_relocation): Delete. - * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-mn10300.c (mn10300_force_relocation): Delete. - * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define. - (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. - * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. - * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call. - * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix. - * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define. - * config/tc-openrisc.c (openrisc_force_relocation): Delete. - * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-sparc.c (elf32_sparc_force_relocation): Delete. - * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF. - * config/tc-i386.c (i386_force_relocation): Delete. - * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for - BFD_ASSEMBLER. - (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting. - * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define. - * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call - S_FORCE_RELOC. - (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. - * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. - -2003-01-23 Alan Modra - - * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed - sh64_elf_section_data. - * config/tc-sh64.h: Include elf32-sh64.h. - * config/tc-m68hc11.c: Don't include stdio.h. - (md_show_usage): Fix missing continuation. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-01-22 Nick Clifton - - * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts. - -2003-01-21 Fabio Alemagna - - * configure.in: Handle *-*-aros*. - * configure: Regenerated from configure.in. - -2003-01-20 Martin Schwidefsky - - * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff, - gotplt and pltoff relocations. - (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff. - (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff, - gotplt and pltoff to bfd relocations. - (md_gather_operands): Map new instruction operand/elf suffix - combinations to bfd relocations. - (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations - to the list of unadjustable relocations. - (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt - and pltoff relocations. - (md_apply_fix3): Add the new relocations. - -2003-01-20 Martin Schwidefsky - - * config/tc-s390.c (md_apply_fix3): Emit error message for relocations - with a subsy symbol. - -2003-01-17 Stephane Carrez - - * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment - of relocs for memory bank addressing. - -2003-01-17 Stephane Carrez - - * config/tc-m68hc11.c (md_show_usage): Update usage. - (md_parse_option): Recognize -m68hcs12. - (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify - HCS12. - * doc/as.texinfo (Overview): Document new option -m68hcs12. - -2003-01-16 Jakub Jelinek - - * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data. - -2003-01-16 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2003-01-11 Alan Modra - - * read.c (get_absolute_expr): New, split out from.. - (get_absolute_expression): ..here. - * read.h (get_absolute_expr): Declare. - * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size". - Trim size to arch bits_per_address, and test for negative input - via get_absolute_expr. - -2003-01-07 DJ Delorie - - * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based - on operand type. - (xstormy16_md_apply_fix3): Use adjustment. - -2003-01-02 Ben Elliston - - * configure.in: Add iq2000-elf target. - * configure: Regenerate. - * config/tc-iq2000.c: New file. - * config/tc-iq2000.h: Likewise. - * po/gas.pot: Regenerate. - -2003-01-02 Chris Demetriou - - * config/tc-mips.c: Update copyright years to include 2003. - (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. - Additionally, clean up their code slightly and clean up their - comments some more. - - * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. - -2003-01-01 Daniel Jacobowitz - - * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi - $(CPU_DOCS)". - * doc/Makefile.in: Regenerate. - -2003-01-01 John David Anglin - - * config/obj-elf.c (special_sections): Work around HP's incorrect usage - of .init and .fini sections for array initializers and finalizers. - -2002-12-31 Chris Demetriou - - * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize - the "+D" operand, which will be used only by the disassembler. - -2002-12-30 Chris Demetriou - - * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and - CPU variants. - * configure: Regenerate. - * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. - (macro_build): Handle "K" operand. - (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where - CPU_HAS_DROR and CPU_HAS_ROR are currently used. - (mips_ip): New variable "lastpos", and implement "+A", "+B", - and "+C" operands for MIPS32 Release 2 ins/ext instructions. - Implement "K" operand for MIPS32 Release 2 rdhwr instruction. - (validate_mips_insn): Implement "+" as a way to extend the - allowed operands, and implement "K", "+A", "+B", and "+C" - operands. - (OPTION_MIPS32R2): New define. - (md_longopts): Add entry for OPTION_MIPS32R2. - (OPTION_ELF_BASE): Adjust to accommodate OPTIONS_MIPS32R2. - (md_parse_option): Handle OPTION_MIPS32R2. - (s_mipsset): Reimplement handling of ".set mipsN" options - and add support for ".set mips32r2". - (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). - (md_show_usage): Document "-mips32r2" option. - * doc/as.texinfo: Document "-mips32r2" option. - * doc/c-mips.texi: Likewise. - -2002-12-30 Dmitry Diky - - * configure.in: Add msp430 target. - * configure: Regenerate. - * Makefile.am: Add msp430 target. - * Makefile.in: Regenerate. - * config/tc-msp430.c: New file: msp430 assembler. - * config/tc-msp430.h: New file: target macros for msp430. - * doc/Makefile.am: Add msp430 target. - * doc/Makefile.in: Regenerate. - * doc/as.texinfo: Include msp430 documenation. - * doc/all.texi: Enable msp430 documentation. - * doc/c-msp430.texi: New file: document msp430 specific features - of the assembler. - -2002-12-25 Alexandre Oliva - - * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro. - (dwarf2_finish): Use it. - * doc/internals.texi (DWARF2_ADDR_SIZE): Document it. - * config/tc-mips.h (DWARF2_ADDR_SIZE): Override. - -2002-12-20 DJ Delorie - - * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support - BFD_RELOC_XSTORMY16_12. - -2002-12-19 Alan Modra - - * doc/as.texinfo (Invoking): Typo fix. - * config/tc-tic54x.c (encode_operand): Comment typo fix. - -2002-12-18 Kazu Hirata - - * doc/c-alpha.texi: Fix typos. - * doc/c-arm.texi: Likewise. - * doc/c-d10v.texi: Likewise. - * doc/c-i370.texi: Likewise. - * doc/c-i960.texi: Likewise. - * doc/c-ia64.texi: Likewise. - * doc/c-mmix.texi: Likewise. - * doc/c-ns32k.texi: Likewise. - * doc/c-pdp11.texi: Likewise. - * doc/c-pj.texi: Likewise. - * doc/c-sh64.texi: Likewise. - * doc/c-sparc.texi: Likewise. - * doc/c-tic54x.texi: Likewise. - * doc/c-v850.texi: Likewise. - * doc/c-vax.texi: Likewise. - * doc/internals.texi: Likewise. - -2002-12-18 Chris Demetriou - - * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR, - use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I, - M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and - arrange not to issue warnings about use of AT when AT is not - actually used. - -2002-12-17 Nick Clifton - - * as.c (std_longopts): Duplicate --keep-locals entry in order to - prevent it being confused with -k. - -2002-12-16 Andrew MacLeod - - * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation - has already been set up, use it. - -2002-12-16 Kazu Hirata - - * ChangeLog-9295: Fix a typo. - * README: Likewise. - * config/tc-d10v.c: Fix a comment typo. - * config/tc-dlx.c: Likewise. - * config/tc-h8300.h: Likewise. - * config/tc-h8500.h: Likewise. - * config/tc-mips.c: Likewise. - * config/tc-s390.c: Likewise. - * config/tc-sh.h: Likewise. - * config/tc-tic80.h: Likewise. - * config/tc-w65.h: Likewise. - * config/tc-z8k.c: Likewise. - * config/tc-z8k.h: Likewise. - * testsuite/gas/h8300/cmpsi2.s: Likewise. - -2002-12-16 Alan Modra - - * config/tc-d30v.c (check_range): Warning fixes, formatting. - Simplify sign extension. Remove redundant unsigned < 0 test. - * config/tc-i960.c (md_ri_to_chars): Prototype. - * config/tc-mcore.c (md_pseudo_table): Fix typo. - (dump_literals): Init brarsym, and test later instead of isforce. - - * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP. - (parse): Constify line and lineptr. - (md_begin): Calculate endop here. - -2002-12-13 Alan Modra - - * config/obj-vms.c: Formatting. Include fnctl.h. - (Create_VMS_Object_File): Fix creat call for sane unix systems. - (Object_Record_Offset): Make it a size_t. - (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning. - (VMS_TBT_Routine_End ): Make var unsigned long. - (VMS_Fix_Indirect_Reference ): Make arg addressT. - (synthesize_data_segment ): Remove ATTRIBUTE_UNUSED. - (vms_fixup_data_section ): Add here instead. - * config/e-criself.c: Fix typo in last change. - -2002-12-13 Alan Modra - - * write.c (write_object_file): Fix signed/unsigned warning. - * config/e-crisaout.c (crisaout_bfd_name): Prototype. - * config/e-criself.c (criself_bfd_name): Prototype. - * config/obj-aout.c (s_sect): Remove unused function. - * config/obj-bout.c (obj_bout_line ): Add ATTRIBUTE_UNUSED. - * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. - (fixup_mdeps ): Add ATTRIBUTE_UNUSED. - * config/obj-ecoff.c (ecoff_frob_file ): Likewise. - * config/obj-vms.c (setup_basic_type ): Likewise. - (VMS_RSYM_Parse ): Likewise. - (vms_fixup_text_section ): Likewise. - (synthesize_data_segment ): Likewise. - (vms_fixup_xtors_section ): Likewise. - (structure_count): Don't use implicit int type. - * config/tc-a29k.c (insert_sreg): Prototype. - (define_some_regs): Prototype, make static. - (parse_operand): Likewise. - (md_parse_option ): Add ATTRIBUTE_UNUSED. - (md_show_usage ): Likewise. - (md_section_align ): Likewise. - (md_convert_frag ): Likewise. - (md_estimate_size_before_relax ): Likewise. - (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s. - * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF. - * config/tc-d30v.c (md_parse_option ): Add ATTRIBUTE_UNUSED. - (md_undefined_symbol ): Likewise. - (md_convert_frag ): Likewise. - (write_long ): Likewise. - (tc_gen_reloc ): Likewise. - (md_estimate_size_before_relax ): Likewise. - (md_apply_fix3 ): Likewise. - (s_d30v_align ): Likewise. - (build_insn): Correct format string. - (md_apply_fix3): Likewise. - * config/tc-fr30.c (md_parse_option ): Add ATTRIBUTE_UNUSED. - (md_undefined_symbol ): Likewise. - (md_convert_frag ): Likewise. - (md_cgen_lookup_reloc ): Likewise. - (md_begin): Delete unused vars. - (md_assemble): Likewise. - (md_estimate_size_before_relax): Likewise. - (fr30_relax_frag): #if 0 out, seems unused. - (md_atof): Remove declaration of atof_ieee. - (restore_colon): Prototype. - * config/tc-frv.c (frv_insert_vliw_insn): Prototype. - (frv_find_in_vliw): Likewise. - (frv_debug_tomcat): Likewise. - (frv_adjust_vliw_count): Likewise. - (frv_tomcat_shuffle): Likewise. - (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to - frv_find_in_vliw call. - (md_atof): Remove declaration of atof_ieee. - * config/tc-h8500.c (cons): Delete declaration. - (md_begin ): Constify. - (displacement_size, immediate_size, absolute_size): Remove. - (build_relaxable_instruction ): Add ATTRIBUTE_UNUSED. - (tc_crawl_symbol_chain ): Likewise. - (md_undefined_symbol ): Likewise. - (tc_headers_hook ): Likewise. - (md_parse_option ): Likewise. - (md_show_usage ): Likewise. - (md_convert_frag ): Likewise. - (tc_coff_symbol_emit_hook ): Likewise. - (md_atof): Remove declaration of atof_ieee. - (tc_aout_fix_to_chars): Remove unused function. - (parse_reg): Prototype. - (parse_exp): Prototype. - (skip_colonthing): Prototype. Use &&, not & in logical expressions. - (parse_reglist): Prototype. - (get_operand): Prototype. - (get_operands): Prototype. - (get_specific): Prototype. Make "this_index" signed. - (check): Prototype, make static. - (insert): Prototype - (build_relaxable_instruction): Prototype, make static. - (build_bytes): Prototype. - (wordify_scb): Prototype. - * config/tc-h8500.h (start_label): Declare. - (tc_coff_sizemachdep): Declare. - * config/tc-i370.c (i370_ebcdic ): Add ATTRIBUTE_UNUSED. - (i370_rmode ): Likewise. - (i370_csect ): Likewise. - (i370_dc ): Likewise. - (i370_ds ): Likewise. - (i370_elf_lcomm ): Likewise. - (i370_ltorg ): Likewise. - (i370_using ): Likewise. - (i370_drop ): Likewise. - (i370_byte ): Likewise. - (i370_tc ): Likewise. - (md_estimate_size_before_relax ): Likewise. - (md_convert_frag ): Likewise. - (md_undefined_symbol ): Likewise. - (md_pcrel_from_section ): Likewise. - (tc_gen_reloc ): Likewise. - (i370_section_letter): #if 0 unused functions. - (i370_section_word, i370_section_type, i370_section_flags): Likewise. - (symbol_locate): Prototype. - * config/tc-i860.c (md_atof): Remove declaration of atof_ieee. - (md_number_to_disp, md_number_to_field): Remove. - (md_apply_fix3): Correct format string and cast "fup". - * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args. - (s_endian ): Likewise. - (md_undefined_symbol ): Likewise. - (tc_crawl_symbol_chain ): Likewise. - (tc_set_bal_of_call): Likewise. - (tc_coff_symbol_emit_hook ): Likewise. - (i960_handle_align ): Likewise. - (i960_validate_fix ): Likewise - (tc_gen_reloc
): Likewise. - (tc_coff_symbol_emit_hook): Only define for OBJ_COFF. - (struct memS, struct regop): Forward declare. - (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args, - get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb, - parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop, - reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax, - targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype. - (md_chars_to_number, md_number_to_imm): Make static, prototype. - (md_number_to_field): Likewise. - (md_number_to_disp): Remove unused function. - (md_atof): Remove declaration of atof_ieee. - (md_apply_fix3): Correct md_number_to_imm call. - * config/tc-ip2k.c (md_assemble): Warning fix. - * config/tc-m32r.c (md_parse_option ): Add ATTRIBUTE_UNUSED. - (fill_insn ): Likewise. - (debug_sym ): Likewise. - (md_undefined_symbol ): Likewise. - (m32r_scomm ): Likewise. - (md_convert_frag ): Likewise. - (md_cgen_lookup_reloc ): Likewise. - (m32r_record_hi16 ): Likewise. - (md_estimate_size_before_relax): #if 0 old_fr_fix. - (allow_m32rx): Prototype. - (first_writes_to_seconds_operands): Prototype. - (writes_to_pc): Prototype. - (can_make_parallel): Prototype. - (make_parallel): Prototype. - (target_make_parallel): Prototype. - (assemble_two_insns): Prototype. - (m32r_record_hi16): Prototype. - (md_atof): Remove declaration of atof_ieee. - * config/tc-m32r.h (m32r_fix_adjustable): Declare. - (m32r_force_relocation): Prototype. - (m32r_elf_section_change_hook): Prototype. - * config/tc-m68k.c (tc_gen_reloc
): Add ATTRIBUTE_UNUSED. - (md_show_usage): Fix signed/unsigned warning. - * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned. - (calcop): Ditto for reg_prefix var. - (hexval): Add cast to fix signed/unsigned warning. - (md_number_to_disp): Delete unused function. - (md_number_to_field): Likewise. - (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl. - (match_name): Prototype. - (get_bf2): Prototype. - (get_bf_offset_expression): Prototype. - * config/tc-mcore.c (mcore_s_literals ): Add ATTRIBUTE_UNUSED. - (md_undefined_symbol ): Likewise. - (md_create_short_jump ): Likewise. - (md_create_long_jump ): Likewise. - (md_convert_frag ): Likewise. - (md_apply_fix3 ): Likewise. - (md_section_align ): Likewise. - (md_pcrel_from_section ): Likewise. - (tc_gen_reloc
): Likewise. - (reg_m, reg_n, immediate): Delete unused vars. - (dump_literals): Fix signed/unsigned warning. - (enter_literal): Likewise. - (parse_imm): Likewise. Also fix format string. - (parse_mem): Remove unused var. - (md_assemble ): Abort on unexpected inst. - (md_atof): Remove declaration of atof_ieee. - (md_parse_option): Remove unused vars. - (md_apply_fix3): Fix format strings, cast args. - (tc_gen_reloc): Delete unused var. - * config/tc-mcore.h (tc_coff_sizemachdep): Declare. - * config/tc-mn10200.c (md_parse_option ): Add ATTRIBUTE_UNUSED. - (md_undefined_symbol ): Likewise. - (md_convert_frag ): Likewise. - (tc_gen_reloc ): Likewise. - (check_operand ): Likewise. - (md_convert_frag): Fix format strings. - (tc_gen_reloc): Delete fx_addsy - fx_subsy code. - * config/tc-openrisc.c (ignore_pseudo): Prototype. - (md_atof): Remove declaration of atof_ieee. - * config/tc-or32.c (parse_operand): Prototype non-BFD too. - (md_apply_fix3): Fix bogus >>='s. - (md_undefined_symbol): Delete unused var. - * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype. - (c_to_r, ipush_code, fake_opcode, alias): Likewise. - (fake_opcode): Adjust for pj_opc_int_t change. - (md_begin): Likewise. - (md_assemble): Likewise. - (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc - instead of non-existent third arg of parse_exp_save_ilp. - (md_parse_option): Correct "little" and "big" calls. - * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF. - (md_apply_fix3 ): Add ATTRIBUTE_UNUSED. - (tc_gen_reloc
): Likewise. - * config/tc-tic30.c: #include stdarg.h or varargs.h. - (debug): Rewrite using VA_* macros. - (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args. - (md_convert_frag): Likewise. - (md_parse_option): Likewise. - (md_show_usage): Likewise. - (md_undefined_symbol): Likewise. - (tc_gen_reloc): Likewise. - (md_operand): Likewise. - (tc_aout_pre_write_hook): Delete. - (struct tic30_insn): Make "operands" unsigned. - (struct tic30_par_insn): Likewise. - (md_assemble): Likewise for "count", "i" and "numops". - (tic30_parallel_insn): Likewise for vars here. - (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison. - * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty. - * config/tc-tic80.c (obj_coff_section): Delete declaration. - (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args. - (md_undefined_symbol): Likewise. - (md_parse_option): Likewise. - (md_convert_frag): Likewise. - (tc_coff_symbol_emit_hook): Likewise. - (md_atof): Remove declaration of atof_ieee. - (const_overflow): Warning fixes, tidy. - (get_operands): Delete unused vars. - (internal_error_a): Adjust format string to expect a long for arg. - (find_opcode): Warning fixes, simplify. - (build_insn): Cast internal_error_a arg. - (md_begin): Likewise. - (md_apply_fix3): Likewise. - (md_assemble): Delete unused var. - * config/tc-tic80.h (tc_coff_fix2rtype): Prototype. - * config/tc-z8k.c (cons, obj_coff_section): Delete declarations. - (whatreg, parse_reg, parse_exp): Make static, prototype. - (checkfor, regword, regaddr, get_ctrl_operand): Prototype. - (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise. - (get_operand, get_operands, get_specific, newfix): Likewise. - (apply_fix, build_bytes): Likewise. - (md_atof): Remove declaration of atof_ieee. - (tc_aout_fix_to_chars): Delete. - (md_begin): Constify "opcode". Don't try to init opcode->idx. - Fix s_unseg call. - (md_parse_option): Fix s_segm and s_unseg calls. - -2002-12-12 Alexandre Oliva - - * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument. - Adjust callers. - (RELAX_BRANCH_RELOC_S2): Delete. - (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches. - Do not handle BFD_RELOC_16_PCREL. - (macro_build, mips_ip): Likewise. - (md_pcrel_from): Return 4 for undefined symbols regardless of - mips_pic. - (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches. - Don't dereference howto if no such relocation is available. - Do not apply hack for in-place zero addend in NEWABI. - (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches. - -2002-12-12 Alexandre Oliva , - Alan Modra - - * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define. - (TC_LINKRELAX_FIXUP): Add comments. - -2002-12-12 Alexandre Oliva - - * config/tc-mn10300.c (set_arch_mach): Change argument type to - avoid warnings. - (r_register_name, xr_register_name): Add prototype declarations. - -2002-12-08 H.J. Lu - - * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack - copied from tc-i386.c. - -2002-12-08 Stephane Carrez - - Fix Bug savannah/1825: - * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code. - (md_relax_table): Define specific relax for PC-rel offsets. - (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code. - (m68hc11_relax_frag): Handle the new relax code. - (md_convert_frag): Likewise. - (md_estimate_size_before_relax): Likewise. - -2002-12-08 Alan Modra - - * subsegs.c (section_symbol): Use the symbol, not the section, name. - -2002-12-05 Richard Henderson - - * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X. - (ia64_gen_real_reloc_type): Handle it. - (pseudo_func): Add @ltoffx. - (md_begin): Build .. - (ia64_force_relocation): True for LTOFF22X and LDXMOV. - -2002-12-05 Alan Modra - - * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF. - Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles - ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF. - * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and - COFF to call arm_force_relocation. - -2002-12-04 David Mosberger - - * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" - instruction. - (emit_one_bundle): Handle "hint" instruction. - (operand_match): Match IA64_OPND_AR_CSD. - -2002-12-04 Alan Modra - - * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype - inside #if. - -2002-12-03 Nick Clifton - - * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on - .PPC.EMB.apuinfo sections. - -2002-12-03 Richard Henderson - - * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. - -2002-12-03 Alan Modra - - * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg. - (cons, s_align_bytes): Delete declaration. - (relax): Delete. - (md_begin): Constify "struct opinfo *" var. Don't try to make "name" - strings common. - (dot): Delete unused function. - (w65_expression): Remove unused arg. - (parse_exp): Prototype. Remove unused arg. Adjust w65_expression - call. - (get_operands): Prototype. Constify "struct opinfo *" arg. Fix - parse_exp call. - (get_specific): Prototype. Constify "struct opinfo *" arg and return - value. - (check): Remove unused function. - (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort - on unhandled switch case. - (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify - "opcode". - (tc_crawl_symbol_chain): Delete unused function. - (tc_headers_hook): Likewise. - (tc_Nout_fix_to_chars): Likewise. - (md_undefined_symbol): Add ATTRIBUTE_UNUSED. - (md_parse_option): Likewise. - (md_convert_frag): Likewise. - (tc_coff_symbol_emit_hook): Likewise. - (md_show_usage): Likewise. - * config/tc-w65.h (tc_coff_sizemachdep): Declare. - (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg. - (w65_expression): Declare. - - * po/POTFILES.in: Regenerate. - - * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE - and ARM_ADRL_IMMEDIATE. - -2002-12-02 Nick Clifton - - * gasp.c: Delete. It has been deprecated. - * NEWS: Mention that gasp has been removed. - * Makefile.am: Remove references to gasp. - * makefile.vms: Likewise. - * mpw-make.sed: Likewise. - * Makeile.in: Regenerate. - * doc/gasp.texi: Delete. - * doc/Makefile.am: Remove references to gasp.texi. - * doc/Makefile.in: Regenerate. - * macro.c: Delete references to gasp. - Remove use of comment_char function parameter as it is no longer - needed. - * macro.h: Update prototypes to remove comment_char parameter. - Fix formatting. - * read.c (read_a_source_file, s_irp): Remove comment_char - parameter from invocation of functions in macro.c - -2002-12-02 Hans-Peter Nilsson - - * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump. - -2002-12-01 Stephane Carrez - - * config/tc-m68hc11.c (md_begin): Fix qsort warning. - (tc_gen_reloc): Mark section param as not used. - -2002-12-01 Stephane Carrez - - Fix Bug savannah/1825: - * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations - that are not pc-relative. - (m68hc11_relax_frag): Declare. - - * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle - the offsetable indexed addressing modes (n,r). - (build_insn): Cleanup some locals. - (m68hc11_relax_frag): New function imported from tc-cris.c to handle - relaxation of difference between two symbols of same section. - (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement - only when this is a PC-relative operand and the offset is not absolute. - (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag - to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will - be handled by m68hc11_relax_frag. - -2002-12-01 Stephane Carrez - - * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default - (32-bit int, 64-bit double). - (md_longopts): New options -mshort, -mlong, -mshort-double and - -mlong-double to control the ABI. - (md_show_usage): Update. - (md_parse_option): Handle new options. - * doc/as.texinfo (Overview): Document new options for HC11/HC12. - -2002-12-01 Nathan Sidwell - - * symbols.c (report_op_error): New function, broken out of ... - (resolve_symbol_value): ... here. Use for both monadic and dyadic - operators. - -2002-11-30 Kaz Kojima - - * config/tc-sh.c (md_apply_fix3): Take account of fx_offset - for BFD_RELOC_32_PLT_PCREL. - -2002-11-30 Alan Modra - - * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c, - config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c, - config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c, - config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h, - config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, - config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c, - config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c, - config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h, - config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c, - config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c, - config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c, - config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c, - config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c, - config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with - TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with - TRUE/FALSE. Formatting. - -2002-11-29 Nick Clifton - - * config/tc-arm.c (do_t_bkpt): If no operand is specified, - assume a value of zero. - (do_bkpt): Likewise. - -2002-11-29 Kaz Kojima - - * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL - for TLS relocations. - -2002-11-29 Jakub Jelinek - - * config/tc-ia64.c (md_apply_fix3): Add default case. - -2002-11-28 Jakub Jelinek - - * symbols.c (S_SET_THREAD_LOCAL): New function. - * symbols.h (S_SET_THREAD_LOCAL): New prototype. - * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL - for TLS relocations. - * config/tc-ia64.c (md_apply_fix3): Likewise. - * config/tc-alpha.c (md_apply_fix3): Likewise. - -2002-11-28 Jakub Jelinek - - * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment - to entsize. - -2002-11-26 DJ Delorie - - * config/tc-cris.c (cris_relax_frag): Fix typo in comment. - (md_assemble): Don't pass on branches to constants as relaxable. - Tweak comment. - -2002-11-25 Svein E. Seldal - - * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode - -2002-11-21 Randolph Chung - - * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols - only if they have default visibility. - -2002-11-21 Richard Henderson - - * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant - S_IS_DEFINED test. - -2002-11-21 Alan Modra - - * config/tc-mcore.c (mcore_pool_count): New function. - (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it. - -2002-11-20 Klee Dienes - - * config/tc-mcore.c (md_begin): Use a const iterator. Don't - coalesce the name fields to use the same pointer. - - * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce - the name fields to use the same pointer. - (get_specific): Check for opcodes with the same name using strcmp - as well as comparing the pointer. - -2002-11-20 Alan Modra - - * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with - fx_subsy non-NULL. - -2002-11-19 Richard Henderson - - * config/obj-elf.c (obj_elf_visibility): Overwrite only the - visibility portion of st_other. - -2002-11-19 Klee Dienes - - * config/tc-h8300.c (struct h8_instruction): New type, used to - wrap h8_opcodes with length, noperands, idx, and size fields - (computed at run-time). - (h8_instructions): New variable. - (md_begin): Allocate the storage for h8_instructions. Fill - h8_instructions with pointers to the appropriate opcode and the - correct value for the additional fields. - (clever_message): Update to use h8_instructions instead of - h8_opcodes. - (build_bytes): Ditto. - (get_specific): Ditto. - (md_assemble): Ditto. - -2002-11-19 Martin Schwidefsky - - * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent - adjustments to symbols in merge sections. - -2002-11-19 Luke Deller - - * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. - -2002-11-18 Kevin Buettner - - * dwarf2dbg.h (dwarf2_format): New enum. - * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition. - (out_debug_line, out_debug_info): Add code for handling 64-bit - DWARF 2 formats. - * config/tc-mips.h (mips_dwarf2_format): Declare. - * config/tc-mips.c (mips_dwarf2_format): New function. - * doc/internals.texi (DWARF2_FORMAT): Document. - -2002-11-18 Alexandre Oliva - - * config/tc-mips.c (s_change_section): Make sure input buffer - is not accessed past the end. Don't hand - obj_elf_change_section a pointer into the input buffer. - -2002-11-18 Alexandre Oliva , Chris Demetriou - - * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of - GOT_LO16 on NEWABI. - -2002-11-18 Svein E. Seldal - - * config/tc-tic4x.c: Fixed proper commandline - parameters. Added support for new opcode-list format. General - error message fixups. - (c4x_inst_add): Reject insn not for our CPU - (md_begin): Added matrix for setting the proper opcode-level & - device-flags according to cpu type and revision. Rewrite the - opcode hasher. - (c4x_operand_parse): Fix opcode bug - (c4x_operands_match): New function argument. Added dry-run - mechanism, that is optional error generation. Added constraint 'i' - and 'j'. - (c4x_insn_check): Added new function for post-verification of the - generated insn. - (md_assemble): Check all opcodes before croaking because of an - argument mismatch. Need this to be able to fully support - ortogonally arguments. - (md_parse_options): Revised commandprompt swicthes and added new - ones. - (md_show_usage): Complete rewrite of printout. - -2002-11-16 Svein E. Seldal - - * config/tc-tic4x.c: Remove c4x_pseudo_ignore function. - (c4x_operands_match): Added check for 8-bits LDF insn. Give - warning when using constant direct bigger than 2^16. Add the new - arguments. - -2002-11-11 Christopher Faylor - - * configure.in: Use .gdbinit under Cygwin. - * configure: Regenerate. - -2002-11-11 Christopher Faylor - - * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if - STRICT_PE_FORMAT. - -2002-11-11 Svein E. Seldal - - * config/tc-tic4x.c: Declare as many functions as possible as - static. Maintenance on the general indenting. Removed unnecessary - pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore - function. Add support for new DSP, TMS320VC33. Fix bug for - converting flonum constants. - (c4x_do_align): Add proper align handling. Setup align to insert - NOP's. - (c4x_gen_to_words): Support for extended TI type floats. - (md_atof): Proper dumping of multiple-word littlenums. - (c4x_atof): Added support for extended TI type floats. - (c4x_stringer): Added new function to handle compact strings. - (c4x_emit_char): Added new function argument to handle custom - length inserts, like single-byte strings. - * config/tc-tic4x.h: Add proper align handling with NOP's. - * Makefile.am: Added tic4x dependecy - * Makefile.in: Regenerate - -2002-11-11 Hans-Peter Nilsson - - * macro.c (get_any_string): Correct logic for not going beyond end - of in->ptr[]. - -2002-11-10 Hans-Peter Nilsson - - * config/tc-mmix.c (get_putget_operands): Mark both possible - operands as invalid at beginning. - - * config/tc-mmix.c (md_convert_frag) : - Initialize target of fixup to zero. - -2002-11-07 Alexandre Oliva - - * config/tc-mips.c (macro_build_lui): _gp_disp is not special on - NEWABI, but we should still emit HI16_S for non-PIC n32. - -2002-11-06 Richard Henderson - - * config/tc-alpha.c (alpha_validate_fix): Move code ... - (alpha_fix_adjustable): ... here. - * config/tc-alpha.h (TC_VALIDATE_FIX): Remove. - -2002-11-07 Eric Kohl - - * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character - of a label. - -2002-11-05 H.J. Lu - - * config/tc-mips.c (support_64bit_objects): Check *l before it - is freed. - -2002-11-04 Danny Smith - - * config/obj-coff.c (obj-coff-section): Set SEC_DATA and - SEC_LOAD flags for sections marked as 's'. - -2002-11-01 Alan Modra - - * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero. - (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK. - * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed - default. - - * dep-in.sed: Fix typo. - -2002-10-30 Daniel Jacobowitz - - * configure.in: Update ARM CPU patterns. - * configure: Regenerated. - -2002-10-29 Daniel Jacobowitz - - * itbl-lex.l: Use #include <> for generated headers. - * itbl-ops.c: Likewise. - -2002-10-28 Daniel Jacobowitz - - * doc/gasp.texi: Fix typo in deprecation note. - -2002-10-23 Nick Clifton - - * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to - _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc. - -2002-10-23 Hans-Peter Nilsson - - * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare. - (tc_frob_file_before_adjust): Don't define. - * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused - function. - (mmix_frob_file_before_adjust): Remove ineffective function. - -2002-10-23 Hans-Peter Nilsson - - * config/tc-cris.c (SIMPLE_EXPR): New macro. - (cris_relax_frag): New function. - (md_estimate_size_before_relax) : Pass on unresolved - expressions that will become absolute expressions to relaxation. - (md_convert_frag) : Expect only absolute expressions. Use the symbol - value, not distance to symbol. - : - Ditto. Correct placement of fixup. - (md_assemble): Use SIMPLE_EXPR when dissecting expressions. - (gen_bdap): Ditto. - * config/tc-cris.h (cris_relax_frag): Declare. - (md_relax_frag): Define. - -2002-10-22 Alan Modra - - * config/obj-elf.c (special_sections): Use correct types for init - array sections. - (obj_elf_change_section): Don't mess with init array section type. - -2002-10-21 Richard Sandiford - - * config/tc-mips.c (mips_need_elf_addend_fixup): Return true - for relocs against symbols in a merged section. - -2002-10-18 Alexandre Oliva - - * config/tc-mips.c (md_begin): Add $fcc registers to the symbol - table as register names. - -2002-10-18 Ulrich Weigand - - * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32 - for option -m31. - -2002-10-18 Svein E. Seldal - - * expr.c (operand): Add support for n.nn flonums. - -2002-10-17 Johannes Stezenbach - - * itbl-parse.y (entry): Provide empty action. - -2002-10-16 Alan Modra - - * configure.in (BFDVER_H): Set and subst. - * dep-in.sed: Replace bfdver.h with $(BFDVER_H). - * Makefile.am: Run "make dep-am". - (BFDVER_H): Define. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2002-10-15 Alan Modra - - * config/tc-i386.h (EXTERN_FORCE_RELOC): Define. - (MD_APPLY_SYM_VALUE): Define for PE too. - -2002-10-14 Alan Modra - - * Makefile.am: Run "make dep-am". - (CPU_OBJ_VALID): sh64 coff is invalid. - * as.c: #include "bfdver.h". - * Makefile.in: Regenerate. - * config.in: Regenerate. - -2002-10-14 Momchil Velikov - - * config/tc-v850.c (CHECK_): Remove token pasting operator. - -2002-10-14 Richard Sandiford - - * configure.in (mips64vr-elf, mips64vrel-elf): New config. - * configure: Regenerate. - -2002-10-13 Eric Christopher - Alexandre Oliva - - * config/tc-mips.c (s_gpdword): New function. - (mips_pseudo_table): Add .gpdword. - (mips_need_elf_addend_fixup): never for NEWABI. - (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or - GPREL32 as done. - (s_cpadd): Generate .cpadd on NEWABI. - -2002-10-12 Elias Athanasopoulos - - * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int. - -2002-10-12 Alexandre Oliva - - * config/tc-mips.h (mips_relax_frag): Take segment as argument. - (md_relax_frag): Adjust macro. - * config/tc-mips.c (mips_relax_branch): New variable. - (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY, - RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New. - (RELAX_MIPS16_P): Adjust. - (append_insn): Emit branch to non-constant in a frag_var if - branch-relaxation is desirable and possible. - (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options. - (OPTION_ELF_BASE): Adjust. - (md_parse_option): Handle new options. - (md_apply_fix3): Update comment on EMBEDDED_PIC conditional - branch relaxation. - (relaxed_branch_length): New function. - (md_estimate_size_before_relax): Handle branch frags. - (mips_relax_frag): Likewise. - (md_convert_frag): Handle branch frags. Warn if branch is - relaxed. - -2002-10-11 Kaz Kojima - - * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get - emitted. - (md_apply_fix3): Add TLS relocs. - (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and - @DTPOFF. - -2002-10-11 Michel Six - Alan Modra - - * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz. - (md_estimate_size_before_relax): Likewise for 8 bit branches. - -Thu Oct 10 14:31:30 2002 J"orn Rennecke - - * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n - inside loop. - -2002-10-09 Richard Shann - Stephen Clarke - - * config/tc-sh64.c (sh64_target_format): Add support for sh64 - Linux environment. - -2002-10-03 Kaz Kojima - - * contig/tc-sh.c (sh_local_pcrel): New. - (sh_force_relocation): Use sh_local_pcrel. - (md_pcrel_from_section): Check the relocation type whether it - should be resolved locally. Use S_FORCE_RELOC. - -2002-10-01 Alan Modra - - * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define. - (TC_FORCE_RELOCATION): Tidy arg. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - DJ Delorie - Michael Meissner - Eric Christopher - Richard Sandiford - - * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, - vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. - * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. - (hilo_interlocks): True for CPU_VR5500. - (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. - (mips_fix_vr4122_bugs): New. - (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. - (mips_emit_delays): Likewise. - (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. - [M_ROLI]: Likewise ror if CPU_HAS_ROR. - (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. - (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. - (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. - (OPTION_ELF_BASE): Bump. - (md_parse_option): Handle the new options. - (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, - vr5400 and vr5500. - -2002-09-29 H.J. Lu - - * config/tc-mips.c (md_apply_fix3): Subtract the symbol value - twice if howto->pcrel_offset is true. - -2002-09-28 Matt Thomas - Jason Thorpe - - * config/tc-vax.c (md_estimate_size_before_relax): Only try to - convert undefined references to GOT32/PLT32 if PIC code is - requested. Fix comment. - -2002-09-27 Kaz Kojima - - * config/tc-sh.c (sh_force_relocation): Return 0 for - some PC relative relocations when not relaxing. - -2002-09-26 Jakub Jelinek - - * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. - Define them if not BFD_ASSEMBLER. - (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add - @tlsld. - (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, - BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. - (tc_gen_reloc): Handle x86-64 TLS relocs. - -2002-09-27 Alan Modra - - * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel - fixups to current or absolute section. - -2002-09-26 Jim Wilson - - * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix - and frag_more. - -2002-09-26 Thiemo Seufer - - * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 - capable configuration. - (macro_build): Check for MIPS16 capability, not for actual MIPS16 code - generation. - (mips_ip): Likewise. - -2002-09-26 Thiemo Seufer - - * config/tc-mips.c (append_insn): Fix jump overflow check. - -2002-09-24 Alan Modra - - * config/tc-i386.c (process_operands): Warn about "lea" segment - overrides. - -2002-09-22 Mark Elbrecht - - * write.c: Delete set_segment_vma and prototype. Update all callers. - -2002-09-21 Alan Modra - - * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL, - S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. - Rename "fseg" to "sym_seg". - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2002-09-20 Nick Clifton - - * symbols.c (colon): Do not allow symbols to be created in the - absolute section if WORKING_DOT_WORD is not defined and - new_broken_words would require a new frag to be created. - -2002-09-20 Alan Modra - - * expr.c (expr): Simplify foo-foo here. - (clean_up_expression): Remove O_subtract code. - - * write.h (struct fix): Add fx_dot_value. - (dot_value): Declare. - * write.c (dot_value): New var. - (fix_new_internal): Save dot_value as fx_dot_value. - (fixup_segment): Adjust fx_offset using fx_dot_value. - * expr.c (expr): Update dot_value. - -2002-09-19 Jakub Jelinek - - * config/tc-i386.c (tc_i386_fix_adjustable): Handle - BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. - (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 - if not defined. - (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. - (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and - BFD_RELOC_386_TLS_GOTIE. - -2002-09-19 Richard Henderson - - * config/tc-alpha.c (md_pcrel_from): Only adjust special for - branch type relocs. - (alpha_force_relocation): Don't special-case branch type relocs. - -2002-09-19 Nick Clifton - - * config/tc-m68k.c (select_control_regs): Handle situation where - architecture has not yet been selected. - -2002-09-18 Chris Demetriou - - * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. - (IS_SEXT_16BIT_NUM): New macro. - (macro_build_ldst_constoffset): New function, to build a set of - instructions to do a load or store from a constant offset relative - to a given register. - (macro, s_cprestore): Use macro_build_ldst_constoffset to implement - .cprestore pseudo-op. - -2002-09-18 Chris Demetriou - - * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. - -2002-09-18 Thiemo Seufer - - * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup. - -2002-09-17 Stan Cox - - * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi. - (macro): Likewise for la. Likewise for ld. - (mips_after_parse_args): Make -xgot optional, not the default. - (md_apply_fix3): Allow composite relocation to set up gp. - (tc_gen_reloc): Allow relaxing for newabi. - Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. - Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local. - -2002-09-17 Nick Clifton - - * config/tc-arm.c (md_apply_fix3): Note that an implemented - BFD_RELOC_ARM_IMMEDIATE has been done. - (tc_gen_reloc): Do not issue reloc number of unimplemented - BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - - their name is already in the error message - plus remove them - from the default case. - - * config/tc-arm.c (do_ldmstm): Warn about unpredictable - behavior of instructions. - -2002-09-17 Svein E. Seldal - - * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. - Convert functions to K&R format. - -2002-09-17 Thiemo Seufer - - * config/tc-mips.c (pdr_seg): Define only for ELF. - (s_change_section): Remove unused variable. Don't use for nonELF. - -2002-09-17 Thiemo Seufer - - * config/obj-elf.c (obj_elf_change_section): Move prototype to - obj-elf.h - * config/obj-elf.h (obj_elf_change_section): Likewise. - -2002-09-16 Elias Athanasopoulos - - * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. - (out_debug_info): Likewise. - -2002-09-16 Bruno Haible - - * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. - (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". - * config/tc-i386.c (i386_target_format): Likewise. - * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. - (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". - -2002-09-13 Nick Clifton - - * config/tc-ppc.c (md_assemble): Do not count FAKE operands - when deciding if any operands have been skipped. - -2002-09-11 Nick Clifton - - * NEWS: New TI port supports both C4x and C3x series of DSPs. - - * po/tr.po: Updated Turkish translation. - -2002-09-11 Jakub Jelinek - - * config/tc-i386.c (md_apply_fix3): Allow addend for - BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and - BFD_RELOC_386_TLS_LE_32. - -2002-09-05 Jeff Law - - * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for - marker relocations such as ENTRY/EXIT. - * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies - to both OBJ_ELF and OBJ_SOM. - -2002-09-05 Alan Modra - - * doc/internals.texi (md_apply_fix3): Expand. - (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, - TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, - TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, - TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC, - EXTERN_FORCE_RELOC): Document. - (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove. - * as.h: Don't include struc-symbol.h for arc. - (IS_ELF): Define. - * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to - subtract absolute symbol. - * obj.h (struct format_ops): Add frob_file_before_fix. - * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag. - * symbols.c (S_FORCE_RELOC): New function. - * symbols.h (S_FORCE_RELOC): Declare. - * write.c (TC_FORCE_RELOCATION): Change default. - (TC_FORCE_RELOCATION_ABS): Define. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (TC_FORCE_RELOCATION_SECTION): Don't define. - (TC_FORCE_RELOCATION_SUB_SAME): Define this instead. - (TC_FORCE_RELOCATION_SUB_ABS): Define. - (TC_FORCE_RELOCATION_SUB_LOCAL): Define. - (TC_VALIDATE_FIX_SUB): Define. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define this instead. - (abs_section_sym): New variable. - (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable - call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests. - Don't put the absolute section sym on fixups here. - (fix_segment): New function. - (write_relocs): Don't call fixup_segment from here. - (write_object_file): Instead call tc_frob_file_before_fix, - obj_frob_file_before_fix, and fix_segment prior to symbol table code. - Don't output the absolute section symbol. - (fixup_segment): Rewrite. - * write.h (abs_section_sym): Declare. - * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from - obj_aout_frob_file. - (aout_format_ops): Adjust to suit. - * config/obj-aout.h (obj_frob_file): Don't define. - (obj_frob_file_before_fix): Define. - (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file. - (S_FORCE_RELOC): Define. - * config/obj-bout.h (S_FORCE_RELOC): Define. - * config/obj-coff.c (coff_format_ops): Init new field. - * config/obj-coff.h: Formatting fixes. - (obj_sec_sym_ok_for_reloc): Define. - (S_FORCE_RELOC): Define. - * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out .. - (ecoff_frob_file): .. from here. - (ecoff_format_ops): Add new function. - * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare. - (obj_frob_file_before_fix): Define. - * config/obj-elf.c (elf_format_ops): Init new field. - * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment. - * config/obj-ieee.h: Formatting fixes. - (S_FORCE_RELOC): Define. - * config/obj-multi.h (obj_frob_file_before_fix): Define. - * config/obj-vms.h (S_FORCE_RELOC): Define. - * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment. - (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0 - for BFD_RELOC_32 and BFD_RELOC_64. - (alpha_fix_adjustable): Remove extern and weak tests. - (alpha_before_fix): Rename from alpha_adjust_symtab. - (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs. - * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare. - (TC_VALIDATE_FIX): Tweak param name. - (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (MD_APPLY_SYM_VALUE): Define. - (tc_adjust_symtab): Don't define. - (alpha_adjust_symtab): Don't declare. - (tc_frob_file_before_fix): Define. - (alpha_before_fix): Declare. - (TC_INIT_FIX_DATA): Tweak param names. - * config/tc-arc.c: Include "struc-symbol.h". - (md_pcrel_from): Remove undefined sym fudge. - (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. - Don't set fx_addnumber. - (tc_gen_reloc): Remove spurious fx_addnumber comment. - * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define. - (EXTERN_FORCE_RELOC): Define. - * config/tc-arm.c (md_apply_fix3 ): Remove. - (tc_gen_reloc): Fudge ARM_GOTPC addend. - (arm_validate_fix): Return void. - (arm_fix_adjustable ): Remove extern and weak tests. - Add plt and got reloc tests. - (arm_force_relocation): Call S_FORCE_RELOC. - * config/tc-arm.h (struct fix): Forward declare. - (TC_VALIDATE_FIX): No longer set add_symbolP. - (arm_validate_fix): Adjust declaration. - (TC_FORCE_RELOCATION ): Call i386_force_relocation. - (i386_force_relocation): Declare. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (TC_FORCE_RELOCATION ): Call S_FORCE_RELOC. - * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type. - * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define. - (EXTERN_FORCE_RELOC): Define. - * config/tc-i960.c (reloc_callj): Remove declaration. Return false. - (md_apply_fix3): Don't cast valP pointer type. Move code here from - old fixup_segment. No need to test fx_pcrel before setting fx_done. - (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro. - Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad. - Remove #if 0 code. Invert return boolean. - * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name. - (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise. - (tc_headers_hook, tc_coff_fix2rtype): Remove declaration. - (tc_coff_sizemachdep): Prototype. - (i960_handle_align): Likewise. - (i960_validate_fix): Adjust declaration. - (reloc_callj): Likewise. - (EXTERN_FORCE_RELOC): Define. - (TC_FORCE_RELOCATION_SUB_SAME): Define. - (TC_FORCE_RELOCATION_ABS): Define. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define. - * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC. - * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC. - * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define. - (MD_APPLY_SYM_VALUE): Define. - (EXTERN_FORCE_RELOC): Define. - (TC_FORCE_RELOCATION): Tweak param name. - * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC. - (m32r_fix_adjustable): Don't test extern, weak. - * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name. - (MD_APPLY_SYM_VALUE): Define. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define. - (tc_frob_file): Don't define. - (tc_frob_file_before_fix): Define. - (EXTERN_FORCE_RELOC): Define. - * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust - BFD_RELOC_VTABLE_ENTRY address. - (tc_m68hc11_force_relocation): Call S_FORCE_RELOC. - (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol. - (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. - Remove duplicated fx_done code. - * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define. - (EXTERN_FORCE_RELOC): Define. - * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test - relaxable_symbol. - * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FIX_ADJUSTABLE): Don't define. - (EXTERN_FORCE_RELOC): Define. - (MD_APPLY_SYM_VALUE): Define. - (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. - * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type. - Remove fx_addsy tests. - (mcore_force_relocation): Call S_FORCE_RELOC. - (mcore_fix_adjustable): Don't test fx_addsy. - * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name. - (EXTERN_FORCE_RELOC): Define. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define. - (MD_APPLY_SYM_VALUE): Define. - * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h. - (mips_pic): No longer static. - (mips_force_relocation): Call S_FORCE_RELOC. - (mips_fix_adjustable): Remove extern, weak tests. - * config/tc-mips.h (enum mips_pic_level): Declare. - (mips_pic): Declare. - (tc_frob_file): Don't define. - (tc_frob_file_before_fix): Define this instead. - (EXTERN_FORCE_RELOC): Define. - * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests - with reg_section tests. Set fx_done instead of calling - symbol_clear_used_in_reloc on bad relocs. - (tc_gen_reloc): Zero fx_addsy on bad relocs. - (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC. - (mmix_adjust_symtab): Simplify list handling. Abort on any - nonsense. - * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check - BFD_RELOC_MMIX_LOCAL. - (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt. - (EXTERN_FORCE_RELOC): Define. - (MD_PCREL_FROM_SECTION): Tweak param name. - (tc_frob_file): Don't define. - (tc_frob_file_before_fix): Define this instead. - * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC. - Remove SEC_CODE checks. - (mn10300_fix_adjustable): Remove extern and weak tests. - * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define. - (TC_FORCE_RELOCATION): Tweak param name. - (obj_fix_adjustable): Don't define. - (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE. - * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name. - * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC. - (openrisc_fix_adjustable): Don't test fx_addsy. - * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define this instead. - (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. - * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type. - (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. - Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. - * config/tc-or32.h (EXTERN_FORCE_RELOC): Define. - (MD_APPLY_SYM_VALUE): Define. - * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type. - Don't subtract symbol value. - * config/tc-pj.h (md_pcrel_from): Tweak param name. - (EXTERN_FORCE_RELOC): Define. - (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. - (MD_APPLY_SYM_VALUE): Define. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define this instead. - * config/tc-ppc.c (ppc_frob_symbol ): Ignore absolute - section sym. - (ppc_force_relocation ): Call S_FORCE_RELOC. - (ppc_force_relocation ): New. - (ppc_fix_adjustable ): Remove extern and weak tests. - (md_apply_fix3): Don't subtract symbol values for ELF. Update - comments. Don't subtract fx_subsy as that is already done. - * config/tc-ppc.h (tc_fix_adjustable): Tweak param name. - (MD_PCREL_FROM_SECTION): Likewise. - (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling - ppc_force_relocation. - (TC_FORCE_RELOCATION_SECTION): Delete. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (MD_APPLY_SYM_VALUE): Define. - * config/tc-s390.c: #include "dwarf2dbg.h". - (s390_insn): Remove excess parens. - (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests. - (tc_s390_force_relocation): Call S_FORCE_RELOC. - (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy - non-NULL. Don't subtract off fx_addsy value. - * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define. - * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h. - (SWITCH_TABLE): Likewise. - (sh_force_relocation): Call S_FORCE_RELOC. - (sh_fix_adjustable): Remove "return 1" cases handled by the default. - Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests. - (md_apply_fix3 ): Simplify, - fx_addnumber is zero on entry. Save val in fx_addnumber. - (tc_gen_reloc): Don't subtract fx_subsy. - * config/tc-sh.h (struct fix): Move. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define this instead. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define. - (SWITCH_TABLE_CONS): Define. - (SWITCH_TABLE): Define. - (TC_FORCE_RELOCATION_SUB_SAME): Define. - (TC_VALIDATE_FIX_SUB): Define. - (MD_PCREL_FROM_SECTION): Tweak param name. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (TC_FORCE_RELOCATION_SUB_ABS): Define. - * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (TC_FORCE_RELOCATION_SUB_SAME): Define. - (TC_VALIDATE_FIX_SUB): Define. - (MD_PCREL_FROM_SECTION): Tweak param name. - * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value. - (tc_gen_reloc): Use S_FORCE_RELOC. - (elf32_sparc_force_relocation): Call S_FORCE_RELOC. - * config/tc-sparc.h (TC_FORCE_RELOCATION ): Remove. - (TC_FORCE_RELOCATION_ABS): Define this instead. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FORCE_RELOCATION_LOCAL): Define this instead. - (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC. - (MD_APPLY_SYM_VALUE): Define. - (TC_FIX_DATA_PRINT): Tweak param name. - * config/tc-tic30.c (USE_STDOUT): Don't define. - (md_parse_option): Remove stupid debug code. - (tc_gen_reloc): Don't use fx_addnumber. - * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests. - (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC. - * config/tc-v850.h (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define this instead. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define this instead. - (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. - * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. - (TC_FIX_ADJUSTABLE): Don't define. - (MD_APPLY_SYM_VALUE): Define this instead. - (tc_fix_adjustable): Remove extern and weak tests. - * config/tc-w65.h (struct fix): Forward declare. - * config/tc-xstormy16.c (xstormy16_force_relocation): Call - S_FORCE_RELOC. - (xstormy16_fix_adjustable): Remove extern and weak tests. Don't - call xstormy16_force_relocation; Instead test for FPTR16 reloc. - (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract - absolute symbol. - * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define. - (MD_APPLY_SYM_VALUE): Define. - (obj_fix_adjustable): Don't define. - (tc_fix_adjustable): Define this instead. - (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. - -2002-09-04 Alan Modra - - * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix. - (ppc_fix_adjustable ): Cleanup. - - * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. - (md_parse_option): No -a64 without BFD64. - (ppc_set_cpu): Select appropriate cpu when ppc_obj64. - (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. - -2002-09-04 Nick Clifton - - * config/tc-ppc.c (md_begin): Do not insert non-BookE32 - instructions into the hash table if the target cpu is the BookE32. - -2002-08-31 Hans-Peter Nilsson - - * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not - ATTRIBUTE_UNUSED. - -2000-08-28 Catherine Moore - - * tc-v850.c (v850_relax): Declare. - (v850_longcode): New routine. - (v850_handle_align): New routine. - (md_pseudo_table): Add longcall and longjump. - (md_parse_option): Check for relax option. - (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL, - BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN. - (md_apply_fix3): Likewise. - (v850_force_relocation): Likewise. - (v850_comm): Change the current section. - (md_assemble): Ensure that the correct value is put in the - fixup. - (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, - v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping. - Remove redundant v850ea support. - * tc-v850.h (HANDLE_ALIGN): Define. - (v850_handle_align): Declare. - * doc/c-v850.c: Document -mrelax, .longcall and .longjump. - -2002-08-28 Svein E. Seldal - - * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets. - * configure: Regenerate. - * NEWS: Mention new port. - -2002-08-28 Michael Hayes - - * config/obj-coff.c: Add sdef definition. - * config/obj-coff.h: Add tic4x include file and set - target format. - * config/tc-tic4x.c: New file. - * config/tc-tic4x.h: New file. - -2002-08-28 Alan Modra - - * write.c (BFD_FAST_SECTION_FILL): Remove unused macro. - (TC_ADJUST_RELOC_COUNT): Tweak param name. - (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. - (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. - (RELOC_ENUM): Define. - (fix_new_internal): Use RELOC_ENUM. - (fix_new, fix_new_exp): Likewise. - (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. - Replace gotos with continue. - (write_relocs): Formatting. Avoid symbol loops in - RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange - errors, and error number in other cases. - (fixup_segment): Remove param names from prototype. Rename - "this_segment_type" to "this_segment". Update linkrelax comment. - Remove "size, "place" and "where" local vars. Formatting. Update - "no symbol" comment. Remove #if 0 and #if 1. - - * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy. - -2002-08-27 Alan Modra - - * dwarf2dbg.c: Always include dwarf2dbg.h. - (dwarf2_directive_file): Adjust dummy version args. - * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. - * expr.c (clean_up_expression ): Allow subtraction - when symbol values differ. - * read.c (do_align): Add ATTRIBUTE_UNUSED to label. - (pseudo_set ): Remove unnecessary segment test. - * config/obj-bout.c (obj_pseudo_table): Warning fix. - -2002-08-26 Alan Modra - - * config/tc-w65.c (md_section_align): Fix typo. - (md_parse_option): Return 0, not 1. - -2002-08-22 Nick Clifton - - * doc/as.texinfo (Section): Note that if '@' is a comment - character then another symbol is used to prefix the section's - type. - -2002-08-22 Christian Groessler - - * config/tc-z8k.c (get_operands): Adjust ptr variable also in - "case 0" case. - -2002-08-12 Graeme Peterson - - * configure.in: Add support for sh-**-nto* target. - * configure: Regenerate. - -2002-08-21 Nitin Gupta - - * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. - -2002-08-21 Elena Zannoni - - * config/tc-ppc.c (ppc_cleanup): Do something only if format - is ELF. - (ppc_apuinfo_section_add): Define only if format is ELF. - (md_assemble): Emit APUinfo section only if format is ELF. - Fix formatting. - -2002-08-21 Alan Modra - - * config/tc-arc.c (md_pseudo_table ): Cast. - * config/tc-frv.c: Likewise. - * config/tc-hppa.c: Likewise. - * config/tc-ia64.c: Likewise. - * config/tc-ip2k.c: Likewise. - * config/tc-m68hc11.c: Likewise. - * config/tc-m68k.c: Likewise. - * config/tc-mmix.c: Likewise. - * config/tc-mn10300.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-v850.c: Likewise. - -2002-08-20 Richard Sandiford - - * config/tc-mips.c (macro2): Implement rotates by zero using shifts - by zero. - -2002-08-19 Elena Zannoni - - From matthew green - - * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere - PPC_OPCODE_PPC is, except for BookE architectures. - (md_parse_option): Add support for -mspe. - (md_show_usage): Add -mspe. - (md_parse_option): Add support for -me500 and - -me500x2 to generate code for Motorola e500 core complex. - (md_show_usage): Add -me500 and -me500x2. - - (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, - PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, - PPC_APUINFO_BRLOCK): New macros. - - (ppc_cleanup): New function. - (ppc_apuinfo_section_add): New function. - (APUID): New macro. - (md_assemble): Collect info and write the APUinfo section. - - * config/tc-ppc.h (md_cleanup): Define. - (ppc_cleanup): Export. - (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section. - -2002-08-17 Stan Cox - - * config/obj-elf.c (obj_elf_change_section): Make non-static. - config/tc-mips.c (s_change_section): New function to support - IRIX .section pseudo-op. - -2002-08-16 Nick Clifton - - * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f". - -2002-08-15 Alexandre Oliva - - * config/tc-mips.c (macro_build_jalr): Make sure we generate - the fix-up against on the right frag. - (s_cpsetup): Likewise. Parse third argument as expression, to - handle global symbols and forward/backward labels correctly. - -2002-08-14 Nick Clifton - - * read.c (stringer): Catch attempts to create strings in the abs - section. - - * config/tc-alpha.c: Fix compiling for COFF targets. - Some minor formatting tidyups. - -2002-08-13 Stephane Carrez - - * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove. - (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag - according to the reloc. - (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. - (TC_FORCE_RELOCATION): Define. - (tc_m68hc11_force_relocation): Declare. - - * config/tc-m68hc11.c (md_pseudo_table): Add relax command. - (s_m68hc11_relax): New function for relax group. - (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at - beginning of jump instruction. - (md_pcrel_from): Rename from md_pcrel_from_section and fix - address computation. - (tc-gen_reloc): Update. - (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as - PC-relative fixup. - (tc_m68hc11_force_relocation): New function, handle new relocs. - (tc_m68hc11_fix_adjustable): New to make sure there are enough - reloc for the linker relax pass. - (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP - and VTABLE relocs. - -2002-08-13 Stephane Carrez - - * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function. - (md_pseudo_table): Add .mode, .far and .interrupt pseudo op. - (s_m68hc11_mode): New function for .mode pseudo op. - (s_m68hc11_mark_symbol): New function for .far and .interrupt - pseudo op. - * config/tc-m68hc11.h (elf_tc_final_processing): Define. - (m68hc11_elf_final_processing): Declare. - -2002-08-13 Stephane Carrez - - * config/tc-m68hc11.c (md_begin): Take into account additional - page operand for call instruction. - (print_opcode_format): Likewise. - (check_range): Likewise for page range checking. - (get_operand): Don't skip a possible comma in operands. - (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. - (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. - (fixup24): New to handle call reloc. - (build_insn): Handle missing page operand for call instruction. - (find): Likewise. - (md_apply_fix3): Take into account new relocs. - (get_operand): Fix the mode for indexed indirect addressing. - (build_indexed_byte): Fix post index byte for indexed indirect mode. - -2002-08-12 Richard Sandiford - - * config/tc-mips.c (mips_ip): Don't work out the value of - constant %hi()s here. - -2002-08-10 Alan Modra - - * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR - for ELF, and don't bother checking ELF relocs when non-ELF. - (i386_immediate): Allow absolute_section expressions for aout. - (i386_displacement): Likewise. Also test bfd_is_com_section. - (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. - (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, - not when fx_addsy. Remove dead code. - -2002-08-09 Graeme Peterson - - * configure.in: Add support for ppc-*-nto* target. - * configure: Regenerate. - -2002-08-09 Alan Modra - - * config/tc-i386.h: Reorganize. - -2002-08-09 Maciej W. Rozycki - - * config/tc-mips.c (macro): Handle a register plus a 16-bit - immediate offset in "dla" and "la" expansions. - -2002-08-09 Alan Modra - - * configure.in: bfd_gas=yes for all i386 targets. Formatting. - Remove "bfd_gas=yes" from target table when covered later. - Consolidate some entries. - * configure: Regenerate - -2002-08-09 Jakub Jelinek - - * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix () - at start of insn, pass it to output_disp and output_imm. - (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen - in displacement for R_386_32 reloc, use R_386_GOTPC and compute - properly addend. - (output_imm): Added arguments. Compute properly addend for - R_386_GOTPC. - (md_apply_fix3): Remove R_386_GOTPC handling. - -2002-08-06 George France - - * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a - and m21264b processor names and cpu types. - * doc/c-alpha.texi: Documented new types. - -2002-08-06 Alan Modra - - * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. - -2002-08-01 Richard Sandiford - - * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend - handling to BFD_RELOC_MIPS16_GPREL. - -2002-08-01 Nick Clifton - - * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal - pool is computed using signed arithmetic so that proper sign - extension is performed if X_add_number is a 64-bit integer. - -2002-08-01 H.J. Lu - Daniel Jacobowitz - - * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced - .debug_line section unless it has line information. - -2002-07-31 Ian Dall - - * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype. - * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage): - Allow default displacement size to be an option "--disp-size-default". - (md_number_to_disp): Make error messages include value. Use %d to - print integers, not %s. - (fix_new_ns32k): Conditionally set fx_no_overflow so we don't - get duplicate messages sometimes. - (convert_iif): Grow frag to max possible instruction size. Avoid - creating unnecessary fixes. - (md_number_to_field) Add prototype. - (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add - prototypes and make static. - (struct addr_mode): Make mode and scaled_mode explicitly signed. - (evaluate_expr): Use resultP argument instead of exprP global. - (get_addr_mode): Quiten compiler warnings. - (encode_operand): eliminate unused variables. Quiten compiler - warnings. Eliminate nul character in format strings. - (parse): argc is unsigned. - (reloc): Type cast index to quieten compiler. - (md_pcrel_adjust, md_apply_fix3): Remove unused variable. - (md_convert_frag): Note unused parameters. Remove unused - variables. - (md_create_long_jump, md_create_short_jump, - md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note - unused parameters. - -2002-07-31 Nick Clifton - - * NEWS: Retroactively add entry for Lars Brinkhoff's contribution - of the PDP-11 and 2.11BSD a.out support. - -2002-07-31 Momchil Velikov - - * config/tc-v850.c (md_assemble): Fix range check for immediate - operand. - -2002-07-30 Chris Demetriou - - * config/tc-mips.c (mips_cpu_info_table): Clean up entries related - to Broadcom SB-1 core support. - -2002-07-31 Thiemo Seufer - - * config/tc-mips.c (mips_target_format): Fix formatting. - Add recognition of n32 ABI formats. - -2002-07-30 Maciej W. Rozycki - - * tc-mips.c (load_address): Don't clobber $at when loading a - 64-bit address in non-PIC code if noat is in effect. - (macro): Likewise. - -2002-07-30 Maciej W. Rozycki - - * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions - used in division/multiply macro expansions similarly to how they - are used in the variants with break instructions. - (macro2): Likewise. - -2002-07-30 Graeme Peterson - - * configure.in: Add support for arm-*-nto target. - * configure: Regenerate. - -2002-07-30 Nick Clifton - - * config/tc-arm.c (struct literal_pool): Add fields to allow - multiple literal pools to be maintained. - (find_literal_pool): New function. - (find_or_make_literal_pool): New function. - (add_to_literal_pool): Use find_or_make_literal_pool. - (arm_s_text, arm_s_data, arm_s_section): Remove - no longer - needed. - (s_ltorg): Use find_literal_pool. - (arm_cleanup): Dump all literal pools. - * doc/c-arm.texi: Document new behaviour of only dumping literal - pools upon request. - -2002-07-26 Alan Modra - - * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default - rather than PPC_OPCODE_32 for powerpc64*. - -2002-07-25 Nick Clifton - - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-25 Richard Sandiford - - * doc/c-mips.texi: Remove -mcpu. Document -mabi. - * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro. - (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros. - * configure, config.in: Regenerate. - * config/tc-mips.c (file_mips_abi): Rename to mips_abi. - (mips_set_options): Remove "abi" field. - (mips_opts): Update accordingly. Replace all uses of mips_opts.abi - with mips_abi. - (mips_cpu): Remove. - (mips_arch_string, mips_arch_info): New vars. - (mips_tune_string, mips_tune_info): New vars. - (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros. - (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI. - (mips_isa_to_str, mips_cpu_to_str): Remove. - (mips_ip): If the selected architecture is a generic ISA rather - than a processor, only mention the ISA level in error messages. - (OPTION_MCPU): Remove. - (OPTION_FP64): New. - (md_longopts): Add -mfp64, remove -mcpu. - (mips_set_option_string): New fn. - (md_parse_option): Make -mipsN update file_mips_isa rather than - mips_opts.isa. Use mips_set_option_string to set -march or -mtune. - Don't let -mgp32 and -mfp32 change the ABI. - (show): Move to end of file. Constify string argument. - (md_show_usage): Move to the end of the file. Read available - architectures from mips_cpu_info_table. - (mips_set_architecture): New fn. - (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN - is an alias for -march=mipsN. Don't change the ABI based on other - flags. Infer the register size from the ABI as well as the - architecture. Complain about more conflicting arguments. - Unify logic with GCC. - (s_mipsset): Don't change the ABI. - (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32. - (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just - "mipsN"-type entries. Remove entries that vary only in the - manufacturer's prefix, or that have "000" replaced by "k". - Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000. - (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. - (mips_parse_cpu): New fn. - (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove. - (mips_cpu_info_from_isa): Minor formatting tweak. - -2002-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - -2002-07-23 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * config.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - -2002-07-23 Nick Clifton - - * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for - GAS. - -2002-07-19 Thiemo Seufer - - * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL - instead of S_IS_EXTERN. - (md_estimate_size_before_relax): Likewise. - (mips_fix_adjustable): Likewise. - -2002-07-19 Thiemo Seufer - - * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. - -2002-07-19 Miroslav Tichy - Nick Clifton - - * cond.c (s_ifdef): Treat a referenced but not yet defined - symbol as if it were undefined, in exactly the same way as - .equiv. - - * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv - consider referenced bug not yet defined symbols to be - undefined. - -2002-07-18 Denis Chertykov - Frank Ch. Eigler - Alan Lehotsky - John Healy - Jeff Johnston - - * configure.in: Add ip2k configuraton. - * configure: Regenerate. - * Makefile.am: Add ip2k configuraton. - * Makefile.in: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - * config/tc-ip2k.c: New file. - * config/tc-ip2k.h: New files. - * NEWS: Mention new support. - * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Set IP2K - * doc/as.texinfo: Add IP2K description. - * doc/c-ip2k.texi: New file. - -2002-07-19 Nick Clifton - - * NEWS: Reformat to match style of other NEWS files. - -2002-07-17 Jan Hubicka - - * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. - -2002-07-16 Moritz Jodeit - - * config/tc-z8k.c (build_bytes): Correct order of memset args. - -2002-07-16 Nick Clifton - - * NEWS: Add 'Changes in 2.13'. - -2002-07-15 Matt Fredette - - * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD. - -2002-07-12 Alan Modra - - * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte - case with non CODE_64BIT case. Don't warn on "qword ptr" if - not CODE_64BIT. - -2002-07-11 Alan Modra - - * config/tc-ppc.c (ppc_elf_frob_symbol): Delete. - (ppc_frob_file_before_adjust): New function. - * config/tc-ppc.h (tc_frob_symbol): Don't define. - (ppc_elf_frob_symbol): Don't declare. - (tc_frob_file_before_adjust): Define. - (ppc_frob_file_before_adjust): Declare. - - * config/tc-ppc.c (md_pseudo_table): Warning fix. - (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode - flags. - (ppc_size): Delete. - (ppc_xcoff64): Rename to ppc_obj64. - (md_parse_option ): Encode old ppc_size value in ppc_cpu. - (ppc_set_cpu): Set PPC_OPCODE_32 too. - (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 - or bfd_mach_ppc. - (ppc_target_format): Use ppc_obj64 to select format. - (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. - (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. - (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. - (tc_frob_symbol): Likewise. - (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on - BFD_DEFAULT_TARGET_SIZE. - (ppc_tc): Likewise. - (ppc_is_toc_sym): Likewise. - (md_apply_fix3): Likewise. - * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on - BFD_DEFAULT_TARGET_SIZE. - (ELF_TC_SPECIAL_SECTIONS): Likewise. - (tc_frob_symbol): Likewise. - -2002-07-09 Thiemo Seufer - - * config/tc-mips.c (macro_build): Handle MIPS16 insns. - (mips_ip): Likewise. - -2002-07-09 Alan Modra - - * config/tc-i386.c (md_pseudo_table ): Warning fix. - (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. - (md_apply_fix3): Formatting. Remove redundant test. - (tc_gen_reloc): Remove redundant code. - (tc_i386_force_relocation): Delete. Movy body of function to.. - * config/tc-i386.h (TC_FORCE_RELOCATION): .. here. - -2002-07-09 Federico G. Schwindt - - * configure.in: Add hppa-*-openbsd* target, change - alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* - with sparc64 cpu. - * configure: Regenerate. - -2002-07-08 Maciej W. Rozycki - - * config/tc-mips.c (macro): Shift the 32-bit address range - accessible with a lone "lui" down by 32768. - -2002-07-08 Maciej W. Rozycki - - * config/tc-mips.c (load_address): Use non-trapping "daddu" - instead of "dadd" in address calculations. - (macro): Likewise. - -2002-07-08 Alan Modra - - * config/tc-i386.c (process_suffix): Remove intel mode movsx and - movzx fudges. - (md_assemble): Instead, zap the suffix here. - -2002-07-03 Nick Clifton - - * NEWS: Remove next release number until the release is actually - upon us. - -2002-07-03 Alan Modra - - * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-07-02 Martin Schwidefsky - - * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment - to symbols in merge sections, even non pc-relative ones. - -2002-06-29 Stephane Carrez - - * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. - -2002-06-29 Stephane Carrez - - * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections - .softregs and .eeprom. - -2002-06-28 David O'Brien - - * NEWS: Note the next release is 2.13. - -2002-06-26 Nick Clifton - - * po/tr.po: New translation imported. - -2002-06-26 Elias Athanasopoulos - - * ecoff.c: (get_tag): Replace strcpy with xstrdup. - (ecoff_directive_def): Likewise. - (ecoff_directive_tag): Likewise. - * listing.c (file_info): Likewise. - * hash.c (what): Likewise. - -2002-06-25 H.J. Lu - - * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. - * Makefile.in: Regenerated. - -2002-06-19 Dhananjay R. Deshpande - - * config/tc-sh.c (get_specific): Revert 2002-05-01 change. - (assemble_ppi): Generate warning if the same register is used - twice as destination in the same padd / pmuls instruction. - -2002-06-18 Dave Brolley - - From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley - * po/POTFILES.in: Add tc-frv.c, tc-frv.h. - * configure.in: Support frv-*-*. - * Makefile.am (CPU_TYPES): Add frv. - (TARGET_CPU_CFILES): Add tc-frv.c. - (TARGET_CPU_HFILES): Add tc-frv.h. - (DEPTC_frv_coff): New variable. - (DEPTC_frv_elf): New variable. - (DEPOBJ_frv_coff): New variable. - (DEPOBJ_frv_elf): New variable. - (DEP_frv_coff): New variable. - (DEP_frv_elf): New variable. - * tc-frv.c: New file. - * tc-frv.h: New file. - -2002-06-17 Catherine Moore - - * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. - -2002-06-17 J"orn Rennecke - - * config/tc-sh.c (assemble_ppi): Initialize reg_n. - -2002-06-17 Tom Rix - - * config/tc-i370.h (tc_comment_chars): Define for i370-elf. - -2002-06-14 H.J. Lu - Daniel Jacobowitz - - * dwarf2dbg.h (dwarf2_directive_file): Return char *. - * dwarf2dbg.c (dwarf2_directive_file): Return filename. - * config/tc-mips.c (s_mips_file): Call s_app_file_string - and new_logical_line for the first .file directive. - * read.c (s_app_file_string): New function. - (s_app_file): Call it. - * read.h (s_app_file_string): Add declaration. - -2002-06-14 Daniel Jacobowitz - - * configure.in: Remove MIPS_STABS_ELF. - * configure: Regenerated. - * config.in: Regenerated. - * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug - for MIPS targets. - * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around - ".extern". - (pdr_seg): Declare unconditionally. - (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. - (s_mips_end): Likewise. Generate stabs function markers. - (s_mips_ent): Generate stabs function markers. - (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not - ELF. - (s_mips_mask): Likewise. - (mips_flag_mdebug): New. - (md_longopts): Add "mdebug" and "no-mdebug". - (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. - (mips_after_parse_args): Set mips_flag_mdebug. - * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. - -2002-06-13 Maciej W. Rozycki - - * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's - value twice for RELA relocations. - -2002-06-12 Ben Elliston - - * symbols.c (resolve_symbol_value): Initialise final_val. - - * subsegs.c (subsegs_print_statistics): Cast frchp to void *. - -2002-06-11 Tom Rix - - * config/tc-ppc.c (ppc_subseg_align): Delete. - (ppc_change_csect): Default csect align is 2. - * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete - -2002-06-09 Marek Michalkiewicz - - * config/tc-avr.c (mcu_types): Update. - -2002-06-08 Matt Thomas - - * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) - (vax-*-netbsd*): New targets. - * configure: Regenerate. - * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. - * config/tc-vax.c: Add support for ELF and PIC. - (flag_want_pic): New flag. - (float_cons): Fix prototype. - (md_apply_fix3): Adjust for BFD_ASSEMBLER. - (md_assemble): Introduce a new is_absolute local, and use it - rather than repeating the test. Make fatal errors actually - fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. - Add support for ELF. Add support for PIC. - (md_convert_frag): Adjust for BFD_ASSEMBLER. - (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not - BFD_ASSEMBLER. - (vax_reg_parse): Make the % register prefix mandatory for ELF, - optional for a.out, and not allowed for VMS. Adjust all callers. - (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. - (md_create_long_jump): Likewise. - (md_undefined_symbol): Likewise. - (md_section_align): Likewise. - (md_shortopts): Allow -k and -K for ELF. - (md_parse_option): Set flag_want_pic if -k or -K. - (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. - (tc_gen_reloc): New function if BFD_ASSEMBLER. - * config/tc-vax.h (tc_headers_hook): Remove. - (TARGET_FORMAT): Set according to object format and target - environment. - (BFD_ARCH, TARGET_ARCH): Define. - (NO_RELOC): Adjust for BFD_ASSEMBLER. - (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) - (tc_fix_adjustable): Define if BFD_ASSEMBLER. - * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. - -2002-06-08 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * as.c: Replace CONST with const. - * write.c: Likewise. - * config/obj-coff.c: Likewise. - * config/tc-a29k.c: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-dlx.c: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-h8500.c: Likewise. - * config/tc-i370.c: Likewise. - * config/tc-i860.c: Likewise. - * config/tc-i960.c: Likewise. - * config/tc-m68hc11.c: Likewise. - * config/tc-m68k.c: Likewise. - * config/tc-m88k.c: Likewise. - * config/tc-mcore.c: Likewise. - * config/tc-mips.c: Likewise. - * config/tc-ns32k.c: Likewise. - * config/tc-pdp11.c: Likewise. - * config/tc-pj.c: Likewise. - * config/tc-s390.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-tahoe.c: Likewise. - * config/tc-tic80.c: Likewise. - * config/tc-v850.c: Likewise. - * config/tc-vax.c: Likewise. - * config/tc-w65.c: Likewise. - * config/tc-z8k.c: Likewise. - -2002-06-08 Daniel Jacobowitz - - Based on patch from Matt Green: - * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. - * config/tc-mips.c (s_mips_file): Renamed from s_file. - (s_mips_loc): New function. - (mips_nonecoff_pseudo_table): Call them. - (append_insn): Call dwarf2_emit_insn. - -2002-06-08 Thiemo Seufer - - * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set - to -1. - (file_ase_mips16): New veriable. - (mips_eabi64): Remove. - (CPU_HAS_MIPS16): New define. - (CPU_HAS_MDMX): Fix data type. - (md_begin): Code cleanup. Use file_ase_mips16. - (mips_elf_final_processing): Handle mips16 header flag. - Handle EABI flag without intermediate variable. - -2002-06-08 Thiemo Seufer - - * doc/as.texinfo: Update MIPS documentation. - -2002-06-08 Thiemo Seufer - - * config/tc-mips.c: Add define for $zero register. - (md_begin): Add $zero as alias name for $0. - (insn_uses_reg): Use ZERO define. - (mips_ip): Add $zero as alias name for $0. - (mips16_ip): Likewise. - (s_cplocal): Demand empty rest of input line. - (tc_get_register): Likewise. Add support for $kt0, kt1 register - names. Use ZERO define. Fix input_line_pointer progress. - -2002-06-07 Alan Modra - - * symbols.c: Replace CONST by const throughout. - (symbol_find_exact): Split out from.. - (symbol_find_base): ..here. - * symbols.h: Replace CONST by const throughout. - (symbol_find_exact): Declare. - * config/obj-elf.c: #include "struc-symbol.h". - (elf_frob_file): If group name matches an exported symbol, use that - symbol for the signature and ".group" as the section name. - -2002-06-06 J"orn Rennecke - - * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, - but warn about it. - -2002-06-06 Daniel Jacobowitz - - * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d - and mips_opts.ase_mdmx if they are uninitialized. - -2002-06-06 John David Anglin - - * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. - (hppa_force_relocation): Check if a stub just before the start symbol - of the last call_info is reachable before forcing relocation. Fix - typo. - -2002-06-04 Maciej W. Rozycki - - * config/tc-mips.c (mips_after_parse_args): New function. - (md_begin): Move processing of defaults to mips_after_parse_args. - config/tc-mips.h (md_after_parse_args): Define. - -2002-06-04 Jason Thorpe - - * configure.in (sh5*): Set cpu_type to sh64 and endian to big. - (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. - (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. - * configure: Regenerate. - * config/tc-sh64.c (sh64_target_format): Add support for NetBSD - environment. - -2002-06-04 Jason Thorpe - - * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. - -2002-06-04 Alan Modra - - * config/obj-elf.c (obj_elf_change_section): Set and check elf - linkonce flag. Print all warnings. - (obj_elf_section): Parse ",comdat" for groups. - (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check - consistency of comdat flag. - -2002-06-02 Richard Henderson - - * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko - with LITERALs without sequence numbers. - -2002-06-01 Richard Henderson - - * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". - Rename them LITUSE_ALPHA_*. - -2002-05-31 Shrinivas Atre - - * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to - accept parentheses enclosed register lists. - -2002-05-31 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-05-31 Graeme Peterson - - * configure.in: Add i386-*-nto-qnx*. - * configure: Regenerate. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (mips_ip): Use unsigned long values for - warning output. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (s_cpsetup): Fix initialization of - mips_cpreturn_register and mips_cpreturn_offset. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (s_cpsetup): Fix comment. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (md_begin): Add $ra as alias name for $31. - (mips_ip): Likewise. - (mips16_ip): Likewise. - (tc_get_register): Likewise. - -2002-05-30 Chris G. Demetriou - Ed Satterthwaite - - * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. - (mips_opts): Initialize "ase_mdmx" member. - (file_ase_mdmx): New variable. - (CPU_HAS_MDMX): New macro. - (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx - based on command line options and configuration defaults. - (macro_build): Note in comment that use of MDMX in macros is - not currently allowed. - (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and - "Z" MDMX operand types. - (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, - and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand - types. - (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): - Add support for "-mdmx" and "-no-mdmx" options. - (OPTION_ELF_BASE): Move to accommodate new options. - (s_mipsset): Support ".set mdmx" and ".set nomdmx". - (mips_elf_final_processing): Set MDMX ASE ELF header flag if - file_ase_mdmx was set. - * doc/as.texinfo: Document -mdmx and -no-mdmx options. - * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set - nomdmx" directives. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to - OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" - command line switch conforming to gcc conventions. - * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (macro_build_jalr): New Function. - (md_begin): NewABI uses big GOTs. - (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, - BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. - (load_address): Add some NewABI PIC support. - (macro): Likewise. - (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. - (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. - -2002-05-31 Thiemo Seufer - - * config/tc-mips.c (load_address): Use mips_gp_register instead - of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES - instead. - (macro): Use mips_gp_register instead of hardcoded value. - -2002-05-30 Richard Henderson - - * expr.h (operatorT): Add O_md17..O_md32. - * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, - O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, - O_tprelhi, O_tprello, O_tprel): New. - (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. - (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. - (LITUSE_TLSGD, LITUSE_TLSLDM): New. - (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, - saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. - (md_apply_fix3): Handle TLS relocations. - (alpha_force_relocation, alpha_fix_adjustable): Likewise. - (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the - associated TLS reloc. Check lituse_tls relocs match up. - (emit_insn): Handle TLS relocations. - (ldX_op): Remove. - - * doc/c-alpha.texi: Add docs for tls relocations. - -2002-05-30 Thiemo Seufer - - * config/tc-mips.c (mips_gprel_offset): New variable. - (s_gpvalue): Use it. - -2002-05-30 Diego Novillo - - * gas/config/tc-d10v.c (check_resource_conflict): Only check - write-write conflicts. - (md_assemble): Reformat introductory comment. - (parallel_ok): Prevent packing only if the first - instruction cannot be packed. - -2002-05-30 Jason Eckhardt - Tom Rix - - * config/tc-d10v.c (build_insn): Check for immediates. - -2002-05-28 Thiemo Seufer - - * config/tc-mips.c: Replace GP in comments by $gp. - (mips_big_got): Initialize. - (mips_trap): Initialize. - (load_address): Use mips_gp_register instead of hardcoded value. - Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. - (macro): Use mips_gp_register instead of hardcoded value. - (macro2): Change load_address calls. - (md_pcrel_from): Comment formatting. - (s_cpload): Use mips_gp_register instead of hardcoded value. - (s_cprestore): Likewise. Comment formatting. - (s_gpword): Fix data type. - (s_cpadd): Use mips_gp_register instead of hardcoded value. - (nopic_need_relax): Replace GP in comments by $gp. - (mips_elf_final_processing): Better comment. - -2002-05-28 Kuang Hwa Lin - - * configure.in: Add DLX configuraton - * Makefile.am: Add DLX configuraton - * configure: Regenerate. - * Makefile.in: Regenerate. - * config/tc-dlx.c: New file. - * config/tc-dlx.h: New files. - * NEWS: Mention new support. - -2002-05-27 Nick Clifton - - * config/obj-coff.c (write_object_file): Add missing semicolon. - -2002-05-26 Thiemo Seufer - - * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA - by the define. Remove superfluous check of mips_opts.mips16. - (append_insn): Likewise. Canonicalize variable increments. - (macro_build): Canonicalize variable increments. - (macro_build_lui): Likewise. - (load_register): Likewise. - (load_address): Move pointer initialization. - (macro): Move pointer to a more local scope. Canonicalize variable - increments. Better comments. Replace magic constant for RA by the - define. - (macro2): Replace magic constant for RA by the define. Canonicalize - variable increments. - (mips_ip): Canonicalize variable increments. - (mips16_ip): Replace magic constant for RA by the define. - (my_getSmallParser): Canonicalize variable increments/decrements. - (my_getPercentOp): Likewise. - (my_getSmallExpression): Likewise. - (s_align): Likewise. - (s_mipsset): Likewise. - (s_cpsetup): Likewise. - (s_insn): Remove superfluous check of mips_opts.mips16. - (s_mips_stab): Likewise. - (mips_handle_align): Canonicalize variable increments. - (s_mips_ent): Likewise. - (s_mips_end): Add comment. - -2002-05-26 Jason Thorpe - - * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. - * configure: Regenerate. - -2002-05-25 Alan Modra - - * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. - * Makefile.in: Regenerate. - * dep-in.sed: Reorder to match OBJS in Makefile.am. - * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. - * configure: Regenerate. - * as.h: Use #include "" instead of <> for local header files. - * flonum-konst.c: Likewise. - * flonum-mult.c: Likewise. - * gasp.c: Likewise. - * listing.c: Likewise. - * config/tc-ia64.h: Likewise. - * config/tc-v850.h: Likewise. - -2002-05-24 TAMURA Kent - - * configure.in: Add a target for i386-netbsdpe. - * configure: Regenerate. - -2002-05-23 Jakub Jelinek - - * config/obj-elf.c (elf_common): Renamed from obj_elf_common. - (obj_elf_common): Call elf_common. - (obj_elf_tls_common): New function. - (elf_pseudo_tab): Support .tls_common. - (special_sections): Add .tdata and .tbss. - (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS - sections. - (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). - (obj_elf_parse_section_letters): Include T in error message. - * config/tc-ppc.c (ppc_section_letter): Likewise. - * config/tc-alpha.c (alpha_elf_section_letter): Likewise. - (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as - SEC_MERGE. - * config/tc-sparc.c (md_apply_fix3): Likewise. - * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. - Define them if not BFD_ASSEMBLER. - (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF - and @NTPOFF. - (md_apply_fix3): Add TLS relocs. - * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, - FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, - FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. - (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). - (ia64_elf_section_letter): Include T in error message. - (md_begin): Support TLS operators. - (md_operand): Likewise. - (ia64_gen_real_reloc_type): Support TLS relocs. - * write.c (adjust_reloc_syms): Don't change symbols in - SEC_THREAD_LOCAL sections to STT_SECTION + addend. - -2002-05-23 Nick Clifton - - * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc - round the relocation up rather than down. - -2002-05-23 Nick Clifton - - * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' - flag. - * doc/as.texinfo: Document that the COFF version of .section - ignores the 'a' flag. - -2002-05-23 Alan Modra - - * config/tc-alpha.c (assemble_tokens): Protect use of - ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. - - * write.c (size_seg): Check adjustment to last frag. - (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to - section alignment. - * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. - * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. - (write_object_file): Invoke md_do_align if available, and use - frag_align_code on text sections. - * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. - * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. - * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. - * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. - * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for - BFD_ASSEMBLER too. - -2002-05-22 H.J. Lu - - * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file - for source file. - -2002-05-22 Nick Clifton - - * config/tc-arm.c (arm_s_section): Enable for COFF builds as well - as ELF builds. - -2002-05-22 H.J. Lu - - * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol - for one .loc for compiler. - -2002-05-22 Thiemo Seufer - - * config/tc-mips.c (macro): Relax warning, it's toot strict for - embedded-PIC. - -2002-05-22 Thiemo Seufer - - * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. - Optimize the rotate by zero case. - -2002-05-21 Nick Clifton - - * configure.in: Remove accidental enabling of bfd_gas=yes for - sh-coff targets. - * configure: Regenerate. - -2002-05-18 Kazu Hirata - - * app.c: Fix formatting. - * as.c: Likewise. - * ehopt.c: Likewise. - * expr.c: Likewise. - * input-file.c: Likewise. - * listing.c: Likewise. - * macro.h: Likewise. - * stabs.c: Likewise. - * symbols.c: Likewise. - -2002-05-17 Alan Modra - - * config/obj-generic.c: Delete file. - * config/obj-generic.h: Likewise. - -2002-05-16 Marek Michalkiewicz - - * config/tc-avr.c (mcu_types): Update for new devices. - -2002-05-15 Thiemo Seufer - - * config/tc-mips.c (macro): Warn about wrong la/dla use. - -2002-05-15 Thiemo Seufer - - * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had - worked sometimes by accident. Fix copy&paste comment. - -2002-05-15 Thiemo Seufer - - * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section - alignment for NewABI. Let n32 use .reginfo. Remove useless casts. - (mips_elf_final_processing): Let n32 use .reginfo. - -2002-05-15 Thiemo Seufer - - * config/tc-mips.c (append_insn): Fix too small range of variable. - -2002-05-14 Nick Clifton - - * config/tc-arm.c (arm_cleanup): Remove redundant call to - listing_prev_line(). - -2002-05-13 Nick Clifton - - * config/tc-arm.c (md_assemble): Remove redundant call to - listing_prev(). - - * dwarf2dbg.c (dwarf2_emit_insn): Do not reset - loc_directive_seen. - - * stabs.c (s_stab_generic): Fix grammatical error in warning - message. - -2002-05-13 Alan Modra - - * write.c (subsegs_finish): Don't specially align last subseg. - -2002-05-11 Nick Clifton - - * stabs.c (s_stab_generic): Warn about a description field that is - too big. - - * config/obj-coff.c: Fix compile time warnings when compiling - without BFD_ASSEMBLER defined. - Fix formatting. - - * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms - target. - (md_pcrel_from_section): Use md_pcrel_from(). - -2002-05-11 Bruno Haible - - * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled - by dwarf2_directive_loc, instead of calling dwarf2_where. - -2002-05-11 Kazu Hirata - - * config/obj-coff.h: Fix formatting. - * config/tc-mcore.c: Likewise. - * config/tc-mn10300.c: Likewise. - * config/tc-openrisc.c: Likewise. - * config/tc-or32.c: Likewise. - * config/tc-pdp11.c: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-ppc.h: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-tic54x.c: Likewise. - * config/tc-xstormy16.c: Likewise. - * config/tc-xstormy16.h: Likewise. - -2002-05-09 Kazu Hirata - - * config/obj-coff.c: Fix formatting. - * config/obj-elf.c: Likewise. - * config/tc-alpha.c: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-d10v.c: Likewise. - * config/tc-d30v.c: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-hppa.c: Likewise. - -2002-05-09 Alan Modra - - * config/tc-i386.c (md_estimate_size_before_relax) Don't lose - reloc when no_cond_jump_promotion. - -2002-05-08 Jim Wilson - - * config/tc-i960.c (md_estimate_size_before_relax): Return size of - current variable part of frag. - -2002-05-08 Kazu Hirata - - * config/tc-mmix.c: Fix formatting. - * config/tc-mmix.h: Likewise. - -2002-05-08 Alan Modra - - * configure: Regenerate. - -2002-05-07 Kazu Hirata - - * config/tc-m68k.c: Fix formatting. - -2002-05-07 Federico G. Schwindt - - * Makefile.am: Honour DESTDIR. - * Makefile.in: Regenerate. - -2002-05-06 Kazu Hirata - - * config/tc-ia64.c: Fix formatting. - * config/tc-ia64.h: Likewise. - -2002-05-04 Kazu Hirata - - * config/tc-mips.c: Fix formatting. - * config/tc-s390.c: Likewise. - * config/tc-s390.h: Likewise. - -2002-05-03 Alexandre Oliva - - * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number - information for instructions. - -2002-05-02 Kazu Hirata - - * as.h: Fix formatting. - * cgen.c: Likewise. - * cgen.h: Likewise. - * dwarf2dbg.c: Likewise. - * frags.h: Likewise. - * gasp.c: Likewise. - * macro.c: Likewise. - * read.c: Likewise. - * stabs.c: Likewise. - * symbols.c: Likewise. - -2002-05-02 Alan Modra - - * app.c (mri_pseudo): Only declare for TC_M68K. - - * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. - (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with - BFD_RELOC_16_BASEREL. - (md_assemble): Likewise. - (md_apply_fix3): Likewise. - -2002-05-02 Nick Clifton - - * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of - zero into an add of zero - it is not the same. - -2002-05-01 Arati Dikey - - * tc-sh.c (get_specific): Generate warning if the same - destination register is used in parallel instructions. - -2002-05-01 Andrew Macleod - - * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. - -2002-05-01 Alan Modra - - * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org - backwards to prevent cascading errors. - -2002-04-30 Mark Mitchell - - * configure.in: Add support for powerpc-*-windiss. - * configure: Regenerated. - -2002-04-28 Alan Modra - - * config/tc-s390.c (md_parse_option): Formatting. - - * config/tc-i386.c: Formatting fixes, add missing space in error - message. - -2002-04-24 Christian Groessler - - * config/tc-z8k.c (build_bytes): Add support for new cases: - CLASS_IGNORE and ARG_NIM4. - (md_assemble): Prevent destruction of input_line_pointer if - get_operands returns failure. - -2002-04-24 Chris G. Demetriou - - * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D - instructions to be generated by macros. - -2002-04-24 Andreas Schwab - - * config/tc-i386.c (output_jump, output_disp) - (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any - more. - (md_apply_fix3): Remember addend value for rela relocations. - (tc_gen_reloc): Correctly compute pc-relative relocation addend. - -2002-04-22 Chris Demetriou - - * config/tc-mips.c (macro_build): Add close-parenthesis missing - from previous change. - -2002-04-22 Eric Christopher - - * config/tc-mips.c (macro_build): Add warning if macro instructions - are expanded into a branch delay slot. - -2002-04-17 Geoffrey Keating - - * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line - numbers, gdb relies on them to detect the start of the prologue. - -2002-04-17 Martin Schwidefsky - - * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to - symbols in merge sections. - -2002-04-16 Alan Modra - - * as.c (main): Don't reference _bfd_chunksize. - -2002-04-15 Tom Rix - - * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to - symbols in merge sections. - -2002-04-11 Richard Sandiford - - * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. - * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an - argument for the precision. - (gen_to_words): Update accordingly. - -2002-04-10 Alan Modra - - * as.c (parse_args ): Use VERSION is - BFD_VERSION_STRING unavailable. - * config/tc-i386.c (INLINE): Define (for non-BFD assembler). - -2002-04-09 J"orn Rennecke - - * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if - symbol_used_in_reloc_p is true. - - * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big - endian hosts. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-04-04 Thiemo Seufer - - * config/tc-mips.c (mips16_macro_build): Cast type mismatch. - (mips_ip): Remove unused variable. - (md_apply_fix3): Cast signed/unsignes mismatches. Replace - unsigned char with bfd_byte. - (s_file): Remove unused variable. - (s_mips_ent): Likewise. - -2002-04-03 Tom Rix - - * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. - (build_insn): Same. - (find_opcode): Fix warning in as_warn. - * config/tc-d10v.h: Update Copyright. - -2002-04-03 Alan Matsuoka - Tom Rix - - From Jeff Knaggs - * config/tc-d10v.c (check_resource_conflict): New function to - check for resource conflicts. - - From Jason Eckhardt - * config/tc-d10v.c (build_insn): Check for unresolved imm4 or - imm3 fields. - * config/tc-d10v.c (find_opcode): Emit a warning if one of the - reserved control registers is used. - * config/tc-d10v.c (build_insn): Check for unresolved imm4 or - imm3 fields. - - From 2001-03-28 Diego Novillo - * tc-d10v.c (parallel_ok): Prevent packing only if the first - instruction cannot be packed. - - From 2001-03-30 Diego Novillo - * gas/config/tc-d10v.c (check_resource_conflict): Only check - write-write conflicts. - (md_assemble): Reformat introductory comment. - * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its - arguments. - -2002-04-03 Alan Modra - - * symbols.c (resolve_symbol_value ): Derive final_seg from add_symbol. - : More final_seg twiddles. - -2002-04-01 Jessica Han - - * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc - in 32-bit mode. - -2002-03-27 Andreas Schwab - - * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of - field for pc-relative fixups. - (output_disp): Likewise. - (md_estimate_size_before_relax): Likewise. - (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for - pc-relative fixups in 64bit mode. - -2002-03-22 Alan Modra - - * config/te-aix5.h: Typo fix. - -2002-03-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2002-03-20 Albert Chin-A-Young - - * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo - (vfp_sp_reg_pos -> vfp_dp_reg_pos). - -2002-03-18 Alexandre Oliva - - * config/tc-mips.c (md_estimate_size_before_relax): Do not modify - the EXTENDED bit here; report the estimate according to the - current size. - -2002-03-18 Tom Rix - - * configure.in: Add AIX 5 support. - * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. - * config/te-aix5.h: New file. AIX 5 support. - * configure: Regenerate. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-16 Andreas Jaeger - - * doc/c-mips.texi (Machine Dependencies): Add new node. - -2002-03-15 Chris G. Demetriou - - * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. - (mips_opts): Initialize "ase_mips3d" member. - (file_ase_mips3d): New variable. - (CPU_HAS_MIPS3D): New macro. - (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d - based on command line options and configuration defaults. - (macro_build, mips_ip): Accept MIPS-3D instructions if - mips_opts.ase_mips3d is set. - (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): - Add support for "-mips3d" and "-no-mips3d" options. - (OPTION_ELF_BASE): Move to accommodate new options. - (s_mipsset): Support ".set mips3d" and ".set nomips3d". - (mips_elf_final_processing): Add a comment indicating that a - MIPS-3D ASE ELF header flag should be set, when one exists. - * doc/as.texinfo: Document -mips3d and -no-mips3d options. - * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set - nomips3d" directives. - -2002-03-14 Hans-Peter Nilsson - - * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider - a weak symbol in same section to be within reach. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-12 Andreas Schwab - - * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a - body record so that an error is given for misplaced .save - pseudo-ops. - -2002-03-09 Alan Modra - - * config/tc-i386.h (REX_OPCODE): Define. - (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. - (rex_byte): typedef to int. - * config/tc-i386.c: Group prototypes and vars together. - Formatting fixes. Remove occurrences of "register" keyword. - (true): Delete. - (false): Delete. - (mode_from_disp_size): Add INLINE keyword to prototype. - (fits_in_signed_byte): Likewise. - (fits_in_unsigned_byte): Likewise. - (fits_in_unsigned_word): Likewise. - (fits_in_signed_word): Likewise. - (fits_in_unsigned_long): Likewise. - (fits_in_signed_long): Likewise. - (type_names): Constify. - (intel_float_operand): Constify param. - (add_prefix): Use REX_OPCODE. - (md_assemble): Likewise. Modify for changed rex_byte. - (parse_insn): Split out of md_assemble. - (parse_operands): Likewise. - (swap_operands): Likewise. - (optimize_imm): Likewise. - (optimize_disp): Likewise. - (match_template): Likewise. - (check_string): Likewise. - (process_suffix): Likewise. - (check_byte_reg): Likewise. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. - (finalize_imm): Likewise. - (process_operands): Likewise. - (build_modrm_byte): Likewise. - (output_insn): Likewise. - (output_branch): Likewise. - (output_jump): Likewise. - (output_interseg_jump): Likewise. - (output_disp): Likewise. - (output_imm): Likewise. - -2002-03-07 Daniel Jacobowitz - - * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. - -2002-03-06 Alan Modra - - * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte - relocs except when BFD64. - - * write.c (number_to_chars_bigendian): Don't abort when N is - larger than sizeof (VAL). - (number_to_chars_littleendian): Likewise. - -2002-03-05 John David Anglin - - * config/tc-hppa.c (md_apply_fix3): Add cast. - (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and - e_rrsel. - -2002-03-05 Paul Koning - - * tc-pdp11.c: Use VAX float format support for PDP-11 target. - (parse_ac5): New function for parsing float regs in float operand. - (parse_expression): Remove attempt to make literals be octal. - (parse_op_no_deferred): Support float literals. - (parse_op): Reject attempts to refer to float regs. - (parse_fop): New function, like parse_op but for float operand. - (md_assemble): Add cases to parse float operands. Also fix - IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. - -2002-03-04 H.J. Lu - - * config/obj-elf.c (special_section): Add .init_array, - .fini_array and .preinit_array. - - * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove - .init_array and .fini_array. - -2002-03-01 Jakub Jelinek - - * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy - visibility. - (obj_frob_symbol): Copy visibility. - -2002-02-28 Jakub Jelinek - - * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not - s_text. - (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. - -2002-02-27 Nick Clifton - - * po/es.po: Updated. - -2002-02-26 Chris Demetriou - - * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC - only, undo the changes made on 2001-06-08, with the - effect being that common or extern symbols are - adjusted for embedded-PIC, but weak symbols are not. - (md_estimate_size_before_relax: Likewise, with the effect - that extern symbols are treated the same as weak symbols - only if not embedded-PIC. - (mips_fix_adjustable) Likewise, with the effect that - weak or extern symbols are not adjusted for embedded-PIC. - (md_apply_fix3): Tweak so that the case where value is zero - is handled more correctly for embedded-PIC code. - -2002-02-26 Nick Clifton - - * doc/as.texinfo (Overview): Add missing @ifset IA64 - - * configure.in (LINGUAS): Add es.po. - * configure: Regenerate. - * po/es.po: New file. - -2002-02-25 Thiemo Seufer - - * config/tc-mips.c (set_at): Fix handling of 64bit register loads. - (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC - and NO_PIC cases. Code cleanup. - (macro2): Fix handling of 64bit register loads. - -2002-02-25 David Mosberger - - * doc/as.texinfo: Add entry for IA64. - * doc/c-ia64.texi: New file. - -2002-02-25 Alan Modra - - * config/tc-hppa.c: Update copyright date. - - * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 - Remove references to chip manufacturers. - * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. - Correct comments. - (md_show_usage): Remove references to chip manufacturers. Mention - -mpower4. - (md_begin): Test power4 opcode flag bits. - -2002-02-22 David Mosberger - - * config/tc-ia64.c (dot_restore): Issue error message of epilogue - count exceeds prologue count. - (md_show_usage): Describe -mconstant-gp and -mauto-pic. - (unwind.label_prologue_count): New member. - - Based on a patch by Hans Boehm : - - (get_saved_prologue_count): New function. - (save_prologue_count): New function. - (free_saved_prologue_count): New function. - (dot_label_state): Record state label by calling save_prologue_count(). - (dot_copy_state): Restore prologue count by calling - get_saved_prologue_count(). - (generate_unwind_image): Free up list of saved prologue - counts by calling free_saved_prologue_counts(). - -2002-02-22 Nick Clifton - - * config/tc-tic54x.c: Add missing prototypes and remove ANSI style - function declarations. - -2002-02-21 Nick Clifton - - * NEWS: Note that GASP is now deprecated. - * Makefile.am: Do not build gasp-new by default. - * Makefile.in: Regenerate. - * doc/Makefile.am: Do not install gasp.info. - * doc/Makefile.in: Regenerate. - * gas/gasp.texi: Note that gasp is now deprecated. - -2002-02-20 Nick Clifton - - * NEWS: Mark 2.12 branch. - -2002-02-19 Tom Tromey - - * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. - -2002-02-19 Thiemo Seufer - - * config/tc-mips.c (md_parse_option): Complain about invalid -mabi - option input. - -2002-02-19 Martin Schwidefsky - - * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. - Make bit size independent of architecture switch. - (md_begin): Add warning for -m64 with -Aesa. - (s390_md_end): Use renamed architecture defines. - -2002-02-18 Daniel Jacobowitz - - * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. - -2002-02-16 Nick Clifton - - * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used - instead of CRIS. - -2002-02-15 Chris Demetriou - - * config/tc-mips.c (md_estimate_size_before_relax): Really - make sure we treat weak like extern only for ELF. (Fixes - patch from 2001-07-25.) - -2002-02-15 Ben Elliston - - * doc/as.texinfo: Add duplicate directory entry so that "info gas" - works as expected. - -2002-02-15 Hans-Peter Nilsson - - * NEWS: Mention support for MMIX. - -2002-02-13 Chris Demetriou - - * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into - a sequence of indpendent 'if' statements for easier debugging - and future modification. - -2002-02-13 Matt Fredette - - * config/tc-m68k.c (md_show_usage): No longer display a - hard-coded "68020" for the default CPU, instead display the - canonical name of the true, configured default CPU. - (m68k_elf_final_processing): Mark objects for sub-68020 - CPUs with the new EF_M68000 flag. - -2002-02-13 Andreas Schwab - - * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust - pc-relative relocations to merge sections in 64-bit mode. - -2002-02-13 Ben Elliston - - * NEWS: Document floating point number handling in gasp. - * gasp.c: Include and "xregex.h". - (is_flonum): New function. - (chew_flownum): Likewise. - (change_base): Consume flonums from the input, where possible. - * doc/gasp.texi (Constants): Document floating point numbers. - -2002-02-12 John David Anglin - - * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types - that implicitly use LR and RR selectors. - -2002-02-12 Alexandre Oliva - - * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' - and `epsw' as available on AM33 and above only. - (other_register_name): Add logic to handle machine type encoded in - reg_number. - -2002-02-11 Tom Rix - - * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for - xcoff64. - -2002-06-11 Alexandre Oliva - - * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. - Use all over. - -2002-02-11 Jan Hubicka - - * i386.c (md_assemble): Support 32bit address prefix. - (i386_displacement): Likewise. - (i386_index_check): Accept 32bit addressing in 64bit mode. - -2002-02-11 Alexandre Oliva - - * config/tc-sh.c (dot): Removed unused function. - -2002-02-11 Alan Modra - - * Makefile.am: "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - -2002-02-10 Richard Henderson - - * doc/c-alpha.texi: New file. - * doc/Makefile.am (CPU_DOCS): Add it. - * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. - -2002-02-09 Richard Henderson - - * config/tc-alpha.c (O_samegp): New. - (USER_RELOC_P): Include it. - (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. - (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. - (alpha_force_relocation, alpha_fix_adjustable): Likewise. - (alpha_validate_fix): New. - * config/tc-alpha.h (TC_VALIDATE_FIX): New. - -2002-02-09 Hans-Peter Nilsson - - * doc/c-cris.texi: New. - * doc/all.texi: @set CRIS. - * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. - Include c-cris.texi. - * doc/Makefile.am (CPU_DOCS): Add c-cris.texi - * doc/Makefile.in: Regenerate. - -2002-02-08 Chris Demetriou - - * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to - determine if a number is a sign-extended 32-bit number. - (load_register): Use IS_SEXT_32BIT_NUM. - (macro): Check if load/store macro handling is using a - constant 32-bit address on 64-bit address systems, and if - so optimize the generation of that address. - -2002-02-08 Richard Henderson - - * config/tc-alpha.c (alpha_force_relocation): Don't assert that - we've eliminated all foreign relocation types yet. - (alpha_fix_adjustable): Likewise. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-02-08 Alexandre Oliva - Stephen Clarke - * doc/c-sh64.texi: Fix citation of SH64 architecture manual. - 2002-01-31 Alexandre Oliva - * config/tc-sh.c (md_relax_table): Added default sizes for - non-PC-relative UNDEF_MOVI, and relaxation sequences for - MOVI_16, MOVI_32 and MOVI_48. - * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. - (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI - and MOVI_16. - (shmedia_md_estimate_size_before_relax): Remove redundant - blocks. Set fragP->fr_var even if relaxation type unchanged. - Retain UNDEF_MOVI until expression decays to number. - 2002-01-24 Alexandre Oliva - * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC - relocation types. Take fixP->fx_addnumber into account too. - (shmedia_md_apply_fix): Likewise. - (shmedia_md_convert_frag): Likewise. - (shmedia_build_Mytes): Likewise. - (sh64_consume_datalabel): Complain about nested datalabel. - Support PIC relocs. Call sh_parse_name. - * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition - in tc-sh.h to SHmedia reloc types. - * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, - MOVI_GOTPC): New relaxation constants. - (md_relax_table): Introduce relaxation directives for PIC-related - constants. - (sh_PIC_related_p): Handle datalabel. - (sh_check_fixup): Choose SH5 PIC relocations. - (sh_cons_fix_new): Added BDF_RELOC_64. - (md_apply_fix3, sh_parse_name): Handle GOTPLT. - 2002-01-18 Alexandre Oliva - * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the - current ISA is SHmedia, get 7 bytes. - 2001-11-28 Nick Clifton - * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a - void function. - * config/tc-sh64.c (shmedia_apply_fix): Rename to - shmedia_apply_fix3 and make void. - 2001-05-17 Alexandre Oliva - * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to - as_bad. - 2001-04-12 Alexandre Oliva - * config/tc-sh64.h (md_parse_name): Take &c as argument. - 2001-03-14 DJ Delorie - * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi - * doc/Makefile.in(CPU_DOCS): Ditto. - * doc/c-sh64.texi: New file. - * doc/as.texinfo: Add SH64 support. - 2001-03-13 DJ Delorie - * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to - A_REUSE_PREV so that its purpose is more obvious. - (shmedia_build_Mytes): Ditto. - 2001-03-07 DJ Delorie - * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels - before processing. - (sh64_vtable_inherit): Ditto. - (strip_datalabels): New, strip "datalabel" from given line. - * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable - pseudos. - 2001-03-06 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn - call ... - (shmedia_build_Mytes): ... to here. - 2001-03-06 DJ Delorie - * config/tc-sh.c: Remove sh64-specific uaquad now that there - is a generic one. - 2001-01-21 Hans-Peter Nilsson - * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. - * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn - address by one in call to dwarf2_emit_insn. - 2001-01-13 Hans-Peter Nilsson - Implement ".abi" pseudo and correct .cranges descriptors. Correct - alignment handling broken by imported changes. - * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. - (sh64_handle_align): Declare. - (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. - (sh64_max_mem_for_rs_align_code): Declare. - (enum sh64_isa_values): Moved here from tc-sh64.c. - (md_do_align): Define. - (sh64_do_align): Declare. - (struct sh64_tc_frag_data): New. - (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users - changed. - (TC_FRAG_INIT): Change to set new datatype. - (struct sh64_segment_info_type): Rename member - last_flushed_location to last_contents_mark. All users changed. - (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. - (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. - * config/tc-sh.c (md_pseudo_table): Add ".abi". - (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead - of unsetting seen_insn. - (md_assemble) [HAVE_SH64] : Also - call sh64_update_contents_mark. - (sh_handle_align): Remove HAVE_SH64-conditioned code. - * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to - enum sh64_isa_values. - (sh64_set_contents_type): Drop segT parameter. All callers changed. - (emitting_crange): Boolean guard moved to file scope from function - scope in sh64_set_contents_type. - (s_sh64_abi): New. - (sh64_update_contents_mark): New; most split out from - sh64_flush_pending_output. - (shmedia_md_end): Call sh64_update_contents_mark. Set - sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. - (sh64_do_align): New function. - (sh64_max_mem_for_rs_align_code): New function. - (sh64_handle_align): Rename from shmedia_do_align. Make - non-static. Add head comment. Emit zero bytes for n bytes modulo - four. Change return-type to void. - (shmedia_elf_new_section): Remove. - (shmedia_md_assemble): Call sh64_update_contents_mark. - (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make - new frag. Call sh64_update_contents_mark after making the new - frag. - (sh64_flush_pending_output): Just call sh64_update_contents_mark - and sh_flush_pending_output. - (sh64_flag_output): Also call md_flush_pending_output, but add - condition on not emitting_crange. - (sh64_tc_cons_fix_new): Remove. - 2001-01-12 Nick Clifton - * config/tc-sh64.c (shmedia_do_align): Fix to work with new - alignment handling scheme imported from sourceware. - 2001-01-12 Hans-Peter Nilsson - * config/tc-sh64.h (TARGET_FORMAT): Define. - (sh64_target_format): Prototype. - * config/tc-sh64.c (sh64_target_mach): New function. - 2001-01-07 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use - zero_address_frag instead of copying the frag of the symbol. - (shmedia_frob_file_before_adjust): Ditto. - (shmedia_md_apply_fix) : Cast mask - to valueT to remove signedness. - (shmedia_md_convert_frag): Add parameter final. Rename parameter - headers to output_bfd. Do not evaluate symbols if final is false; - do emit fixups. - (shmedia_md_estimate_size_before_relax) : If symbol cannot be modified to be PC-relative - to the current frag, call shmedia_md_convert_frag to emit fixups - and make frag_wane neutralize the frag. Update comments. - * config/tc-sh.c (md_convert_frag): Change caller of - shmedia_md_convert_frag. - 2001-01-06 Hans-Peter Nilsson - * config/tc-sh64.h: Tweak comments and correct formatting. - * config/tc-sh64.c: Ditto. - (shmedia_md_convert_frag) : Fix thinko calculating offset - for the no-relocation case. - (shmedia_check_limits): Fix range check being off-by-one for PTA. - * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef - wrappers. - (SH64PCREL16_F): Increment for proper max-PTA handling. Update - comment. - (SH64PCREL16_M, MOVI_16_M): Correct range thinko. - (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of - expansion. - (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. - Correct comment. - 2001-01-05 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_apply_fix) : Set lowest bit in field to be relocated to 1. - (shmedia_md_convert_frag) : Set lowest bit of field to relocate to 1 and rest to empty, - if reloc is emitted. - 2000-12-31 Hans-Peter Nilsson - New options plus bugfixes. - * config/tc-sh.c (md_longopts): New options "-no-expand" and - "-expand-pt32". - (md_parse_option): Handle new options. - (md_show_usage): Add blurb for new options. - * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. - (sh64_expand, sh64_pt32): New variables. - (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. - (shmedia_md_apply_fix): Hold original fixP->fx_r_type in - orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into - BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. - : Handle - SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. - (shmedia_md_convert_frag) : Modify to PTB if operand - points to SHcompact code. - : Check that ISA of what operand points at and - PTA/PTB matches, or emit error. - (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and - SHMEDIA_BFD_RELOC_PT. - (shmedia_immediate_op): If pcrel, emit fixup also for constant - operand. - (shmedia_build_Mytes) : Also check sh64_expand in - condition for MOVI expansion. - : Handle expansion to 32 bits only, if - sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not - sh64_expand. - : Likewise, but emit a SHMEDIA_BFD_RELOC_PT - fixup. - (sh64_target_format): Error-check setting of sh64_pt32 and - sh64_expand. Fix typo in check for sh64_shcompact_const_crange. - (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and - SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. - 2000-12-31 Hans-Peter Nilsson - * config/tc-sh64.c: Improve comments. - (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do - not say the linker will check correctness of PTA/PTB expansion. - (shmedia_md_end): Make non-static. - * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add - prototype. - * config/tc-sh.c (sh_finalize): Remove. - * config/tc-sh.h (md_end): Do not define. - Remove prototype for sh_finalize. - 2000-12-30 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_frob_section_type): Use a struct - sh64_section_data container when storing section type in tdata - field in elf_section_data. - * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to - EF_SH5. - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - 2000-12-22 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_assemble): Don't protect - dwarf2_emit_insn call with test on debug_type. - 2000-12-19 Hans-Peter Nilsson - * config/tc-sh64.c (sh64_set_contents_type): Make contents-type - CRT_SH5_ISA32 sticky for 64-bit. - 2000-12-18 Hans-Peter Nilsson - Generate .crange sections when switching ISA mode or emitting - constants in same section as code. - * config/tc-sh64.c: Reformat structure definitions. - (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New - variables. - (sh64_set_contents_type): Rename from sh64_init_section. Rewrite - to emit a .cranges descriptor when contents type changes. Only - emit error if changing contents type and -no-mix is in effect. - (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, - sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. - (shmedia_md_end): Set sh64_end_of_assembly. Pass - sh64_flush_last_crange over sections. - When checking main symbol of datalabel symbol, check for - STO_SH5_ISA32, not ISA type of section in definition. - (shmedia_frob_file_before_adjust): Check main symbol for - STO_SH5_ISA32; don't check ISA type of section in definition. - (shmedia_frob_section_type): Adjust for .cranges; set section flag - to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether - .cranges entries have been output. - (shmedia_elf_new_section): Just call md_flush_pending_output. - (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE - fix. Do not set tc_segment_info_data.in_code for section. Call - sh64_set_contents_type for SHmedia code. - (s_sh64_mode): Do not call sh64_init_section or set seen_insn to - false. Call md_flush_pending_output. - (sh64_target_format): Check that -no-mix and - -shcompact-const-crange are used in sane combination with other - options. - (shmedia_md_pcrel_from_section): Check type of fix for how to - adjust pc-relative. - (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, - not ISA type of section in definition. - * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to - hold contents-type state. - (md_flush_pending_output): Redefine to sh64_flush_pending_output. - (sh64_flush_pending_output): Declare. - (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. - (sh64_tc_cons_fix_new): Declare. - * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and - call sh64_flag_output. - (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just - call sh64_set_contents_type to mark SHcompact code and set - seen_insn. - (md_longopts): New options "-no-mix" and - "-shcompact-const-crange". - (md_parse_option): Handle new options. - (md_show_usage): Add blurb for new options. - (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. - 2000-12-15 Hans-Peter Nilsson - * config/tc-sh64.c: Delete investigated and obsolete fixme:s. - (sh64_last_insn_frag): New. - (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag - to get frag for insn opcode for generating fixups; do not assume it - is the same frag. - (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag - for new insn. - * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges - section. - (TC_FRAG_TYPE): Define as fragS *. - (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. - (sh64_last_insn_frag): Declare. - (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, - not == NULL before dereferencing. - 2000-12-12 Hans-Peter Nilsson - Get rid of BFD section flag and EF_SH64_ABI64. - * config/tc-sh64.c (shmedia_frob_section_type): Use - elf_section_data (sec)->tdata, not a specific BFD section flag, to - communicate the section as containing SHmedia code. Describe why. - * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set - EF_SH64 regardless of ABI. - * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" - in error message. Handle resolved expressions for - BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, - BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. - (shmedia_check_limits): Handle BFD_RELOC_64. - (sh64_adjust_symtab): Do not decrement the GAS symbol value for - a STO_SH5_ISA32 symbol, only the BFD value. - 2000-12-11 Ben Elliston - * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct - dwarf2_generate_asm_lineno. - 2000-12-11 Hans-Peter Nilsson - Handle PC-relative MOVI expansions with assembler relaxation. - Generate PC-relative relocs from 16-bit PC-relative expressions. - * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... - (shmedia_md_pcrel_from_section): ...here. - (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has - turned completely resolved. Adjust relocation type for 16-bit - immediate operands that has turned PC-relative. Adjust back for - MD_PCREL_FROM_SECTION being applied twice. - (shmedia_md_convert_frag): Always emit reloc for expression with - global or weak symbol. Handle relaxation result for PC-relative - expressions. - (shmedia_md_estimate_size_before_relax): An expression with a weak - or global symbol can not be relaxed. Break out tests for - relaxable symbol into variable sym_relaxable. - : Break out any PC-relative expression and change - relaxation type. - (shmedia_build_Mytes): CSE &operands->operands[j] into variable - opjp. - : Fix typo for initial minor relaxation type of - MOVI expansion. If X_op_symbol of the immediate expression is - set, make an expression symbol for the argument to frag_var. - * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New - relaxations. - (END): Adjust for new relaxations. - (md_relax_table): Add entries for new relaxations. - 2000-12-07 Ben Elliston - * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. - 2000-12-07 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and - SHORI operand offsets in PT/PTA/PTB expansions. - 2000-12-05 Hans-Peter Nilsson - Implement DataLabel semantics. - * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call - shmedia_frob_file_before_adjust. - * config/tc-sh64.c [! OBJ_ELF]: Emit #error. - (DATALABEL_SUFFIX): Define. - (shmedia_md_end) : Walk - symbol list to update "datalabel" symbols to their main symbol - counterparts. - (shmedia_frob_file_before_adjust): New. - (sh64_adjust_symtab): For remaining datalabel symbols, set to - undefined and set STT_DATALABEL. - (sh64_frob_label): Initialize TC symbol field. - (sh64_consume_datalabel): Actually implement semantics. New - parameter operandf, call it instead of expression. - (sh64_exclude_symbol): New. - * config/tc-sh64.h (md_parse_name): Pass on the function operand - to sh64_consume_datalabel. - (tc_symbol_new_hook): Define to tc_frob_symbol. - (TC_SYMFIELD_TYPE): Define to symbolS *. - (tc_frob_symbol): Define to call sh64_exclude_symbol. - 2000-12-01 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default - case. - (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if - generating dwarf2 debug information. - 2000-11-30 Hans-Peter Nilsson - * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and - elf64-sh64 for the 64-bit ABI. - * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* - option. - 2000-11-29 Hans-Peter Nilsson - * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for - case-insensitivity. - 2000-11-27 Hans-Peter Nilsson - * config/tc-sh64.c: Tweak comments, formatting and error messages. - (enum sh64_abi_values): New type. - (enum sh64_isa_values): New type. - (sh64_isa_mode): Replace shmedia_mode. All referers changed. - (seen_shcompact_mode, seen_shmedia_mode): Delete. - (sh64_abi): Replace shmedia_64. - (shmedia_md_convert_frag) : Correct register number handling. - (s_sh64_mode): Check validity for this target. - (sh64_target_format): Initialize defaults for ISA and ABI. - Fallback to old object format if no SH64 ISA or ABI has been - specified. - * config/tc-sh.c (md_parse_option): Check combinations for errors. - (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit - ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. - * config/tc-sh64.h: Fix typo in comment. - 2000-11-25 Hans-Peter Nilsson - * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) - : Size will be longest, not - shortest. - (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct - all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. - * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 - and l1 to hold lowercase of two first characters. Change all - remaining TO_LOWER to tolower. - * config/tc-sh64.c (TO_LOWER): Delete. - (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. - (md_parse_name): Define. - (sh64_consume_datalabel): Declare. - (DOLLAR_DOT): Define. - * config/tc-sh64.c (shmedia_parse_exp): New. - (sh64_consume_datalabel): New; just ignoring datalabel semantics. - (shmedia_parse_reg): Remove const from src - parameter. - (shmedia_get_operands): Ditto for args parameter and ptr variable. - (shmedia_md_assemble): Ditto for op_end variable. - (shmedia_get_operand): Ditto for ptr parameter and src variable. - Use shmedia_parse_exp, not parse_exp. - * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type - parameter. All callers changed. - (shmedia_get_operand): Add shmedia_arg_type parameter. All - callers changed. - (shmedia_parse_reg): Put first two character in local variables. - Use tolower, not TO_LOWER. If no register is found and argtype - indicates a control register, scan shmedia_creg_table - case-insensitive. - 2000-11-24 Hans-Peter Nilsson - * Makefile.am (CPU_TYPES): Add sh64. - (TARGET_CPU_CFILES): Add config/tc-sh64.c. - (TARGET_CPU_HFILES): Add config/tc-sh64.h. - Regenerate dependencies. - * Makefile.in: Regenerate. - * configure.in: Add support for sh64-*-elf*. - * configure: Regenerate. - * config/tc-sh64.h: New. - * config/tc-sh64.c: New. - * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos - .mode, .isa and .uaquad. - [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, - SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. - [HAVE_SH64] (END): Define as 10. - [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, - SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, - MOVI_64): Define. - [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, - SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, - SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, - MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): - Define. - (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. - (md_begin) [HAVE_SH64]: Call shmedia_md_begin. - (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. - (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling - SHmedia instructions. Handle state-change after switching to - SHcompact. - (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. - (md_parse_option) [HAVE_SH64]: Parse new options. - (md_show_usage) [HAVE_SH64]: Show usage of new options. - (md_convert_frag) [HAVE_SH64] : Call - shmedia_md_convert_frag instead of abort. - (sh_force_relocation) [HAVE_SH64]: Also force relocation for - BFD_RELOC_SH_SHMEDIA_CODE. - (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying - SHcompact or SHmedia code. - (md_apply_fix) [HAVE_SH64] : Return result from calling - shmedia_md_apply_fix instead of abort. - (md_estimate_size_before_relax) [HAVE_SH64] : Return - result from calling shmedia_md_estimate_size_before_relax instead - of calling abort. - (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align - do the work. - (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call - shmedia_init_reloc and do nothing more if it returns non-zero. - (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2002-02-06 Alexandre Oliva - - * config/tc-sh.c (parse_at): Install the correct version of - 2002-02-04's patch. - - * config/tc-sh.c (md_apply_fix3) : Don't - assume fixP->fx_subsy is non-NULL. - -2002-02-04 Alexandre Oliva - - * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to - A_DISP_PC_ABS, and adjust it by -4. - (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is - expected. - (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if - the operand type is not A_DISP_PC_ABS. - -2002-02-04 Hans-Peter Nilsson - - * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of - common and weak symbols. Handle common and weak symbols as - undefined symbols with regards to GREG handling and merging. - (mmix_frob_file): Ditto. - -2002-02-02 Jason Thorpe - - * configure.in (hppa-*-netbsd*): New target. - * configure: Regenerate. - * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. - -2002-02-02 Alan Modra - - * config/tc-v850.c: Add missing prototypes amd use old-style - function definitions. - (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. - (sdata_section tdata_section, zdata_section, sbss_section, - tbss_section, zbss_section, rosdata_section, rozdata_section, - scommon_section, tcommon_section, zcommon_section, - call_table_data_section, call_table_text_section): Delete. - (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, - v850_zbss, v850_bss, v850_rosdata, v850_rozdata, - v850_call_table_data, v850_call_table_text): Delete. - (struct v850_seg_entry): New. - (v850_seg_table): New. - (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, - TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, - ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, - CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. - (do_v850_seg): New. - (v850_seg): New. - (v850_comm): Use do_v850_seg and v850_seg_table. Simplify - recording of alignment. - (md_pseudo_table): Use v850_seg. - (md_begin): Don't init .call_table_data and .call_table_text here. - Set v850_seg_table bss entry. - -2002-02-01 Hans-Peter Nilsson - - Support on-demand global register allocation by passing on - base-plus-offset relocs to the linker. - * config/tc-mmix.c: Tweak and fix typos in comments. - (allocate_undefined_gregs_in_linker): New variable. - (OPTION_LINKER_ALLOCATED_GREGS): New option macro. - (md_longopts): Add --linker-allocated-gregs. - (md_parse_option) : Imply --linker-allocated-gregs. - : New. - (md_show_usage): Update text for -x. Add text for - --linker-allocated-gregs. - (tc_gen_reloc): Derive default value for addend from val and - baddsy. Use addsec and bfd_is_abs_section in more places. Don't - emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable - GREG if allocate_undefined_gregs_in_linker. - * doc/as.texinfo (Overview) : Add - --linker-allocated-gregs. - * doc/c-mmix.texi (MMIX-Opts): Add blurb about - --linker-allocated-gregs. Mention that it's implied by -x. - (MMIX-Pseudos) : Mention when and how a GREG can be omitted. - (MMIX-mmixal): Clarify dated comparison and location of MMIXware. - - * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. - -2002-02-01 Alan Modra - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2002-01-31 Ivan Guzvinec - - * config/tc-or32.c: New file. - * config/tc-or32.h: New file. - * configure.in: Add support for or32 targets. - * configure: Regenerate. - * config/obj-coff.c: Add support for or32 targets. - * config/obj-coff.h: Add support for or32 targets. - * Makefile.am: Add support for or32 targets. - * Makefile.in: Regenerate. - * NEWS: Mention support for OpenRISC. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2002-01-30 Richard Sandiford - - * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy - and mod. - -2002-01-29 Chris Demetriou - - * config/tc-mips.c (tc_gen_reloc): Arrange for - BFD_RELOC_PCREL_HI16_S relocations to be output relative to - their LO16 parts, even for ELF. - -2002-01-29 Daniel Jacobowitz - - * config/tc-i386.c: Protect definitions of true and false - from redefinition. - -2002-01-28 Jakub Jelinek - - * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols - made because of .weak, if they are neither defined nor used in any - way. - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-26 Hans-Peter Nilsson - - * doc/Makefile.am (install): Depend on install-info. - * doc/Makefile.in: Regenerate. - -2002-01-26 Nick Clifton - - * po/fr.po: Updated version - -2002-01-24 Kazu Hirata - - * config/tc-h8300.c (check_operand): Don't print a warning - when a valid 24-bit address is given to a 16-bit address - operand. - -2002-01-24 Alexandre Oliva - - * config/tc-sh.c (sh_elf_suffix): Removed. - (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, - sh_end_of_match, sh_parse_name): New functions. - (sh_elf_cons): Simplify. - (parse_exp): Reject misplaced PIC operands. - (md_undefined_symbol): Simplify. - (sh_fix_adjustable): Let @GOTOFF be adjusted. - (md_apply_fix3): Write @PLT and @GOTOFF addends in place. - (tc_gen_reloc): Move fixp subsy absolute value into addnumber. - Complain if subsy remains at the end. - * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. - (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. - -2002-01-22 Alexandre Oliva - - * config/tc-mn10300.c (xr_registers): Move `pc'... - (other_registers): ... here. - -2002-01-22 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * gas/po/POTFILES.in: Regenerate. - -2002-01-21 DJ Delorie - - * config/obj-coff.c (obj_coff_init_stab_section): Make the - stabstr_name allocation permanent, as it will be referenced from - the section hash. - -2002-01-21 Jason Thorpe - - * configure.in (ia64-*-netbsd*): New target. - * configure: Regenerate. - -2002-01-21 Hans-Peter Nilsson - - * doc/as.texinfo (Overview) : Add missing {} - to @dots call. - : Ditto. - * doc/c-arm.texi (ARM Options): Ditto. - -2002-01-18 Richard Earnshaw - - * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from - do_mia, do_mar and do_mra respectively. - (do_mav_*): Renamed from do_c_*. - (mav_reg_required_here, mav_parse_offset): Renamed from - cirrus_reg_required_here and cirrus_parse_offset respectively. - (MAV_MODE?): Renamed from CIRRUS_MODE?. - -2002-01-18 Richard Earnshaw - Keith Walker - - * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. - (insns): Add pattern for bxj instruction. - (do_bxj): New function. - (arm_cpus): Add arm926ej. - (arm_archs): Add armv5tej. - -2002-01-18 Richard Earnshaw - - * doc/c-arm.texi: Add new fpe options to list of supported flags. - -2002-01-19 Keith Walker - - * tc-arm.c (arm_fpus): Add fpe2 and fpe3. - -2002-01-18 Richard Earnshaw - - * NEWS: Mention new ARM command-line options and VFP support. - - * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All - uses changed. - (ARM_CEXT_MAVERICK): Similarly. - (ARM_ANY): Now means any core instruction. - (CPU_DEFAULT): Default to ARM_ANY. - (uses_apcs_26, atcps, support_interwork, uses_apcs_float) - (pic_code): Declare for all object types. Make type int. - (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) - (march_fpu_opt, mfpu_opt): Declare. - (md_longopts): Tidy up conditional definitions. - (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) - (arm_long_opts): New tables. - (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. - (arm_parse_extension): New function. - (md_parse_option): Rewrite using new table-driven system. - (md_show_usage): Use new table-driven system. - (md_begin): Calculate cpu_variant from command line option data. - * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific - command-line options. - * doc/c-arm.texi: Likewise. - -2002-01-18 Andreas Jaeger - - * as.c (parse_args): Update year. - -2002-01-17 Timothy Wall - - * config/tc-tic54x.c (encode_address): Add a more informative - warning about incorrect syntax. - -2002-01-17 Nick Clifton - - * po/gas.pot: Regenerate. - -2002-01-17 Nick Clifton - - * macro.c (get_any_string): Add no-c-format comment to prevent - confusion when translating string. - * gasp.c (get_any_string): Add no-c-format comment to prevent - confusion when translating string. - -2002-01-16 Thiemo Seufer - Johannes Stezenbach - * config/tc-mips.c (percent_op): Ensure longer percent_op's are - matched before the shorter ones. - (my_getSmallParser): Fix handling of nested parentheses in - percent_op's. Code cleanup. - (my_getPercentOp): New function, code from my_getSmallParser. - (my_getSmallExpression): Fix handling of closing parentheses. - Code cleanup. Better comments. - -2002-01-16 Nick Clifton - - po/tr.po: New file: Turkish translation. - configure.in (LINGUAS): Add "tr". - configure: Regenerate. - -2002-01-15 Richard Earnshaw - - Support for VFP instructions - * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. - (cp_address_required_here): New argument wb_ok. When false, do not - accept write-back forms of addressing. Change all callers. - (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) - (FPU_VFP_EXT_V2): Define. - (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): - Define in terms of above. - (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. - (vfp_reg): New struct. - (vfp_regs): New array of registers. - (insns): Add VFP instructions. - (sn_table): New array of VFP single-precision register names. - (dn_table): New array of VFP double-precision register names. - (all_reg_maps): Add the new register tables. - (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. - (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) - (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) - (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) - (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) - (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) - (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) - (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) - (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) - (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) - (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) - (do_vfp_sp_dp_cvt): New functions. - (md_begin): Set soft-float flag for appropriate VFP work. - (md_atof): Handle VFP-format doubles. - (md_parse_option): Handle VFP command-line options. - (md_show_usage): Display VFP command-line options. - -2002-01-15 Richard Earnshaw - - * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for - various command line options. - -2002-01-15 Nick Clifton - - * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix - vtinherit relocs. - (xstormy16_md_apply_fix3): Do not return a value. - -2002-01-14 Richard Earnshaw - - * tc-arm.c (md_longopts): On targets that aren't bi-endian, support - the -EL/-EB option that matches the target's endianness. - (md_parse_option): Likewise. - -2002-01-14 Richard Earnshaw - - * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option - is not dependent on ARM_BI_ENDIAN. - -2002-01-14 Richard Earnshaw - - * tc-arm.c (all error messages): Normalize capitalization of messages. - - * tc-arm.h (md_operand): Delete define. - * tc-arm.c (in_my_get_expression): New static variable. - (my_get_expression): Set and clear it. - (md_operand): New function. If called from my_get_expression - put the error in inst.error. - (output_inst): Now takes argument of instruction being assembled. - Print it out with any error message. - (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store - with '=' syntax. - (end_of_line): Don't update inst.error if it is already set. - -2002-01-11 Richard Earnshaw - - * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo - op that can be translated into a mvn instruction. - -2002-01-11 Steve Ellcey - - * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for - setting default md.flags. - (SHT_INIT_ARRAY): New elf special section used by HP-UX. - (SHT_FINI_ARRAY): New elf special section used by HP-UX. - * gas/config/tc-ia64.c (setup_unwind_header): Add support - for 32 bit unwind info blocks. - (generate_unwind_image): Add support for different types - of unwind images (32 bits and/or big-endian). - (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. - (ia64_target_format): Add support for hpux target formats. - (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. - (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and - SHT_FINI_ARRAY elf section types. - -2002-01-10 Richard Earnshaw - - * tc-arm.c (struct reg_entry): Move before prototypes. - (int_register, cp_register, fp_register): Delete. - (reg_table): Delete. Replaced with ... - (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) - (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) - (mav_dspsc_table): ... one table per register set. - (arm_reg_hsh): Delete. - (struct reg_map): New structure. - (all_reg_maps): New array. - (enum arm_reg_type): New enums. - (build_reg_hsh): New function. - (insert_reg_alias): Use hash table passed by caller. Adjust all - callers. - (create_register_alias): New function, split out from ... - (md_assemble): ... here. - (md_begin): Build new register hash tables. - (arm_reg_parse): New argument for the hash table to search. Adjust all - callers. - (arm_reg_parse_any): New function. - (co_proc_number): Look up the processor number in the processor hash - table. - (cirrus_regtype): Delete. - (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) - (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) - (ARM_EXT_MAVERICKsc_register): Delete. - (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. - (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New - functions. - (do_c_triple_4, do_c_triple_5): Delete. - (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. - (do_c_quad_6): Delete. - (do_c_quad_6[ab]): New functions. - (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework - arguments to use new register parsing methods. - (cirrus_reg_required_here): Likewise. - (insns): Reclassify cirrus maverick worker functions. - (cirrus_valid_reg): Delete. - -2002-01-07 Jason Thorpe - - * configure.in (sh*le): Set cpu_type=sh and endian=little. - (sh*-*-netbsdelf*): New target. - * configure: Regenerate. - * tc-sh.h: Update copyright years. - (TARGET_FORMAT): Add version for TE_NetBSD. - -2002-01-07 Nick Clifton - - * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go - negative. - -2002-01-06 Alan Modra - - * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. - * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. - -2002-01-05 Daniel Jacobowitz - - * tc-mips.c (mips_cprestore_valid): New flag. - (mips_frame_reg_valid): New flag. - (macro) [M_JAL_2]: Check both flags. - [M_JAL_A]: Likewise. - (s_cprestore): Set mips_cprestore_valid. - (tc_get_register): If setting mips_frame_reg, set - mips_frame_reg_valid and clear mips_cprestore_valid. - (s_mips_ent): Clear both flags. - (s_mips_end): Clear both flags. - -2002-01-05 Alan Modra - - * write.c (write_object_file): Make use of bfd_section_list_remove. - * config/obj-ecoff.c (ecoff_frob_file): Likewise. - * config/tc-mmix.c (mmix_frob_file): Likewise. - -2002-01-04 Jason Thorpe - - * configure.in (i386-*-netbsdelf*): Collapse target into... - (i386-*-netbsd*): ...this. Add support for x86-64. - * configure: Regenerated. - -2002-01-03 matthew green - - * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. - -2002-01-02 Nick Clifton - - * config/tc-m68k.c (md_estimate_size_before_relax): Test for a - NULL frag link. - -For older changes see ChangeLog-0001 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/gas/ChangeLog-0203 b/gas/ChangeLog-0203 new file mode 100644 index 00000000000..e22a5d5f2d5 --- /dev/null +++ b/gas/ChangeLog-0203 @@ -0,0 +1,7519 @@ +2003-12-29 Paul Brook + + * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs. + * gas/doc/c-arm.texi: Document them. + +2003-23-12 Paul Brook + + * config/tc-arm.c (arm_archs): Add armv6. + * doc/c-arm.texi: Document -march=armv6. + +2003-12-20 Nick Clifton + + * config/tc-ppc.c (md_apply_fix3): Handle the case where a + .byte directive generates a pc-relative relocation. + +2003-12-19 Nick Clifton + Andreas Schwab + + * messages.c (as_perror): Save errno around library calls. + * input-file.c [BFD_ASSEMBLER]: Set the BFD error to + bfd_error_system_call before each call to as_perror. + (input_file_open): Simplify the error reporting code to just use + as_perror(). + * output-file.c (output_file_create) [BFD_ASSEMBLER]: Set the BFD + error to bfd_error_system_call before calling as_perror. + (output_file_close) [BFD_ASSEMBLER]: Likewise. + (output_file_append) [BFD_ASSEMBLER]: Likewise. + * listing.c (listing_print) [BFD_ASSEMBLER]: Likewise. + +2003-12-19 Kazuhiro Inaoka + + Add m32r-linux and PIC support. Add new ABI that uses RELA. + * configure.in: Add m32r-linux targets. + * configure: Regenerate. + * config/tc-m32r.c (md_parse_option): Add -KPIC option. + (tc_gen_reloc): Added. + (debug_sym, md_estimate_size_before_relax, md_convert_frag, + md_pcrel_from_section, m32r_fix_adjustable): Changed for PIC. + * config/tc-m32r.h (tc_gen_reloc, EXTERN_FORCE_RELOC): Undefined. + (TC_HANDLES_FX_DONE, TC_FIX_ADJUSTABLE, TC_RELOC_RTSYM_LOC_FIXUP): + Defined. + * doc/c-m32r.texi: Document -KPIC option. + * NEWS: Mention the support m32r Linux and PIC. + +2003-12-18 Nick Clifton + + * input-file.c (input_file_open): Remove call to stat(). + Add a check for getc() failing, and catch the case where the + failure is due to an attempt to read a directory. + +2003-12-18 Richard Sandiford + + * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. + (md_apply_fix3): Remove bfd_install_relocation workarounds. + (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations + and treat fx_addnumber as relative to the relocation address. + +2003-12-18 Richard Sandiford + + * config/tc-mips.c (s_change_section): When parsing the MIPS-specific + .section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS. + +2003-12-17 Mark Mitchell + + * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j". + * doc/c-arm.texi (ARM Options): Likewise. + +2003-12-17 Nick Clifton + + * config/tc-m32r.c (error_explicit_parallel_conflicts): Rename + to 'ignore_parallel_conflicts'. + (md_longopts): Change option names as well. + (md_parse_option): Separate the warn_explicit and ignore + parallel conflicts options. + (md_show_usage): Update descriptions of these options. + (first_writes_to_seconds_operands): Do not run this check if + ignoring parallel conflicts. + (assemble_two_insns): Remove code that checked + error_explicit_parallel_conflicts. + * doc/c-m32r.texi: Update descriptions of the options. + +2003-12-16 Dmitry Semyonov + + * tc-arm.c (do_adr): Do not adjust pc by -8 if TE_WINCE is + defined. + (do_adrl): Likewise. + +2003-12-15 Christian Groessler + + * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere. + (ctrl_table): Add "flags" keyword and some comments. + (flag_table): Convert to uppercase. + (get_flags_operand): Be case insensitive. + (get_interrupt_operand): Be case insensitive. Support notation + where the inperrupt arguments are separated by commas. + (get_operands): Check whether get_flags_operand consumed all + arguments. Return failure if get_ctrl_operand didn't recognize a + valid control register. + (get_specific): Add case CLASS_CTRL: Test for valid control + register for ldctlb opcode. + (build_bytes): Check for valid control registers. + +2003-12-15 Nick Clifton + + * config/obj-aout.c (obj_crawl_symbol_chain): Skip defined + symbols which resolve to symbolic values. + +2003-12-13 Alan Modra + + * config/obj-elf.c: Convert to C90, remove unneeded prototypes and + casts. Formatting. + * config/obj-elf.h: Remove PARAMS. + + * read.c (s_lcomm_internal): Make global. + * read.h (s_lcomm_internal): Declare. + * config/obj-elf.c (elf_pseudo_table): Handle lcomm. + (obj_elf_lcomm): New function. + +2003-12-13 Alan Modra + + * read.c: Remove unneeded prototypes. + (s_comm): Split out code to.. + (s_comm_internal): ..here. Tidy error returns. Rearrange so that + "name" from input line may be used in more places. Merge code + testing for valid size from elf_common. Merge code from + s_lcomm_internal. Call comm_parse_extra. + (bss_alloc): New function, split out of s_lcomm_internal and + elf_common. + (parse_align): Likewise. + (s_lcomm_internal): Rewrite. + (s_lcomm, s_lcomm_bytes): Use s_comm_internal. + * read.h (bss_alloc, parse_align, s_comm_internal): Declare. + * config/obj-elf.c (elf_common): Split out code to.. + (elf_common_parse): ..here. Remove code common to s_comm_internal, + parse_align and bss_alloc. Rearrange and Tidy. + * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define. + +2003-12-10 Zack Weinberg + + * tc-ppc.c (md_assemble): Rewrite comment about optional operands + to indicate that 'all or none' is also handled. Pluralize a + word in another comment. + +2003-12-10 Paul Brook + + * config/tc-arm.c (FPU_MAVERICK): Define. + (FPU_ARCH_MAVERICK): Define. + (arm_float_abi): Define. + (mfloat_abi_opt): New variable. + (md_begin): Use them. + (arm_opts): Add msoft-float and mhard-float. + (arm_cpus): Use FPU_ARCH_MAVERICK. + (arm_fpus): Add maverick. + (arm_float_abis): Add. + (arm_parse_float_abi): New function. + (arm_long_options): Add mfloat-abi. + * doc/as.texinfo: Document -mfloat-abi=. + * doc/c-arm.text: Ditto. Menution -fpu=maverick. + +2003-12-09 Paul Brook + + * config/tc-arm.c (do_umaal): Fix typo. + +2003-12-06 Kazu Hirata + + * dwarf2dbg.c: Convert to ISO-C. + * write.c: Likewise. + * write.h: Likewise. + +2003-12-06 Richard Sandiford + + * config/tc-mips.c (macro): Switch misordered call to frag_grow() + and setting of tc_fr_offset. + +2003-12-05 Ricardo Anguiano + Mark Mitchell + Richard Earnshaw + + Add V6 support. + * config/tc-arm.c (ARM_EXT_V6): New macro. + (ARM_ARCH_V6): Likewise. + (SHIFT_IMMEDIATE): Likewise. + (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise. + (SHIFT_ASR_IMMEDIATE): Likewise. + (SHIFT_LSL_IMMMEDIATE): Likewise. + (do_cps): New function. + (do_cpsi): Likewise. + (do_ldrex): Likewise. + (do_pkhbt): Likewise. + (do_pkhtb): Likewise. + (do_qadd16): Likewise. + (do_rev): Likewise. + (do_rfe): Likewise. + (do_sxtah): Likewise. + (do_sxth): Likewise. + (do_setend): Likewise. + (do_smlad): Likewise. + (do_smlald): Likewise. + (do_smmul): Likewise. + (do_ssat): Likewise. + (do_usat): Likewise. + (do_srs): Likewise. + (do_ssat16): Likewise. + (do_usat16): Likewise. + (do_strex): Likewise. + (do_umaal): Likewise. + (do_cps_mode): Likewise. + (do_cps_flags): Likewise. + (do_endian_specifier): Likewise. + (do_pkh_core): Likewise. + (do_sat): Likewise. + (do_sat16): Likewise. + (insns): Add V6 instructions. + (do_t_cps): New function. + (do_t_cpy): Likewise. + (do_t_setend): Likewise. + (THUMB_CPY): New macro. + (tinsns): Add V6 instructions. + (decode_shift): Handle V6 restricted-shift options. + (thumb_mov_compare): Support CPY. + (arm_cores): Add arm1136js and arm1136jfs. + (arm_archs): Add armv6. + (arm_fpus): Add arm1136jfs. + * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and + armv6 options. + +2003-12-06 Christian Groessler + + * config/tc-z8k.c (parse_reg): Be case insensitive when checking + register names. + (get_ctrl_operand): Be case insensitive when checking ctrl names. + +2003-12-05 Nick Clifton + + * config/tc-sh.c (md_show_usage): Fix compilation errors + introduced by the previous delta. + +2003-12-03 Alexandre Oliva + + * config/tc-sh.c: Add support for sh4a and no-fpu variants. + * testsuite/gas/sh/basic.exp: Call tests for sh4a. + * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, + err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, + sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: + New files, tests for sh4a and related variants. + +2003-12-05 Michael Snyder + + * config/tc-sh.c (md_show_usage): Mention new -isa options. + * doc/c-sh.texi: Document new -isa options. + * doc/c-sh64.texi: Ditto. + * NEWS: Mention new support for sh4a. + +2003-12-03 H.J. Lu + + * config/tc-alpha.c (s_alpha_end): Don't crash if there is no + matching .ent. + +2003-12-04 Alan Modra + + * tc.h (md_pcrel_from): Don't declare if defined as a macro. + +2003-12-03 Kazuhiro Inaoka + + * config/tc-m32r.h : Add support for new machine m32r2. + * config/tc-m32r.c : Likewise. + Add new command line switches and directives to allow endian-ness + to be selected and some warnings to be turned into errors. + (line_separator_chars) : Use '!'. + * doc/c-m32r.texi: Document new switches and directives. + * NEWS: Mention new support. + +2003-12-03 Dave Airlie + + * configure.in: Likewise. + * configure: Regenerate. + * config/tc-vax.c (md_shortopts): Add 'Q'. + (md_parse_option): Ignore 'Q' for now. + +2003-12-02 Kazu Hirata + + * messages.c: Convert to ISO-C. + * obj.h: Likewise. + * output-file.c: Likewise. + * output-file.h: Likewise. + * sb.c: Likewise. + * sb.h: Likewise. + * stabs.c: Likewise. + * subsegs.c: Likewise. + * subsegs.h: Likewise. + * tc.h: Likewise. + +2003-12-02 Kazu Hirata + + * config/obj-elf.c: Remove ARGSUSED. + +2003-12-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-11-30 Kazu Hirata + + * symbols.c: Convert to ISO-C. + * symbols.h: Likewise. + +2003-11-28 Christian Groessler + + * config/tc-z8k.c: Convert to ISO-C. + * config/tc-z8k.h: Likewise. + +2003-11-27 Kazu Hirata + + * read.c: Convert to ISO-C. + * read.h: Likewise. + +2003-11-27 Nick Clifton + + * config/tc-sh.c (sh_elf_cons): If md_cons_align is defined + call it to make sure that the constants that are going to be + emitted are correctly aligned. + +2003-11-27 Alexandre Oliva + + * config/tc-frv.c (md_pcrel_from_section): Don't adjust when + referencing symbol in a different section. + +2003-11-26 Christian Groessler + + * config/tc-z8k.c (s_segm): Fix indentation. + (md_apply_fix3): Likewise. + (cc_names): Add alias names for the names generated by the + disassembler. + (get_cc_operand): Be case insensitive. + (get_operands): Improve error handling for cc operands. + (check_operand): Not used, remove. + (md_assemble): Remove unused variable prev_opcode. Skip + whitespace until end-of-line only. Restore *op_end after call to + hash_find. + +2003-11-26 Nick Clifton + + * config/tc-h8300.c (get_operand): Allow er4-er7 for ldm/stm + instructions on the H8SX. + +2003-11-25 Kazu Hirata + + * config/tc-h8300.c (h8_exp): Remove. + +2003-11-25 Asgari Jinia + + * config/tc-h8300.c (md_assemble): Check operands validity for + ldm/stm. + (get_operand): Check register pair's validity as per technical + note TN-H8*-193A/E from Renesas for H8s and for H8Sx manual. + +2003-11-24 Kazu Hirata + + * listing.c: Convert to ISO-C. + * listing.h: Likewise. + * macro.c: Likewise. + * macro.h: Likewise. + +2003-11-24 Jakub Jelinek + + * app.c (do_scrub_chars): Add PUT (ch) and ch = GET () + when transitioning from states 14 or 15 to 0 or 1. + +2003-11-23 Kazu Hirata + + * hash.c: Convert to ISO-C. + * hash.h: Likewise. + * input-file.c: Likewise. + * input-file.h: Likewise. + * input-scrub.c: Likewise. + * itbl-ops.c: Likewise. + * itbl-ops.h: Likewise. + +2003-11-23 Kazu Hirata + + * config/tc-h8300.c (Hmode): Make it global. + (Smode): Likewise. + (Nmode): Likewise. + (SXmode): Likewise. + +2003-11-22 Kazu Hirata + + * ehopt.c: Convert to ISO-C. + * emul.h: Likewise. + * expr.c: Likewise. + * expr.h: Likewise. + * flonum-copy.c: Likewise. + * flonum-mult.c: Likewise. + * flonum.h: Likewise. + * frags.c: Likewise. + * frags.h: Likewise. + +2003-11-22 Alan Modra + + * doc/c-ppc.texi (PowerPC-Pseudo): Add section. + + * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22. + +2003-11-21 Kazu Hirata + + * ecoff.c: Convert to ISO-C. + * ecoff.h: Likewise. + +2003-11-22 Alan Modra + + * config/tc-ppc.c (parse_cpu): New function, broken out from.. + (md_parse_option): ..here. + (ppc_setup_opcodes): New function, broken out from.. + (md_begin): ..here. + (ppc_machine): Implement .machine pseudo op. + +2003-11-20 Kazu Hirata + + * depend.c: Convert to ISO-C. + * dwarf2dbg.c: Likewise. + * dwarf2dbg.h: Likewise. + +2003-11-20 Kazu Hirata + + * app.c: Convert to ISO-C. + * as.h: Likewise. + * atof-generic.c: Likewise. + * bignum-copy.c: Likewise. + * bignum.h: Likewise. + * cgen.c: Likewise. + * cgen.h: Likewise. + * cond.c: Likewise. + +2003-11-20 DJ Delorie + + * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 + sections. + +2003-11-19 Kazu Hirata + + * config/tc-h8300.c: Make some functions and global + variables static appropriately. + +2003-11-19 Kazu Hirata + + * config/obj-ieee.c: Remove duplicate prototypes. + * config/tc-h8300.c: Likewise. + +2003-11-19 Kazu Hirata + + * config/tc-h8300.c: Convert to ISO-C. + * config/tc-h8300.h: Likewise. + +2003-11-19 Kazu Hirata + + * config/tc-mcore.h: Remove prototypes already in tc.h. + * config/tc-tic4x.c: Likewise. + +2003-11-19 Kazu Hirata + + * config/tc-arc.c: Remove a local prototype of atof_ieee. + * config/tc-ip2k.c: Likewise. + * config/tc-iq2000.c: Likewise. + * config/tc-tic30.c: Remove a comment. + +2003-11-19 Bob Wilson + + * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add + call to dwarf2_emit_insn. + +2003-11-18 Maciej W. Rozycki + + * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca" + for loading addresses using CALL relocations. + Don't emit CALL relocations when a base register is used. + +2003-11-15 Maciej W. Rozycki + + * config/tc-mips.c: Formatting fixes. + +2003-11-14 Ben Elliston + + * config/tc-arm.c (arm_elf_change_section): Not static. + +2003-11-13 Nick Clifton + + * tc-arm.c (mapping_state): New function. Emit a mapping + symbol if necessary. + (arm_elf_change_section): New function. Intercept section + changes and generate mapping symbols. + (s_bss): Likewise. + (s_arm_elf_cons): Likewise. + (opcode_select): Choose the correct mapping state. + (md_assemble): Likewise. + * tc-arm.h (md_elf_section_change_hook): Define. + * doc/c-arm.texi (ARM Mapping Symbols): New node. + * NEWS: Mention new feature. + +2003-11-12 Daniel Jacobowitz + + * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define. + * doc/Makefile.am (install-info): Define. + + * aclocal.m4: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2003-11-11 Dmitry Semyonov + + * configure.in: Add support for arm-wince-pe target. + * configure: Regenerate. + +2003-11-11 Jan Hubicka + + * config/tc-i386.c (tc_i386_fix_adjustable): + +2003-11-10 Alan Modra + + * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop. + +2003-11-10 Alan Modra + + * README: Update bug report address. Move bug reporting info to + binutils/README. + +2003-11-07 Christian Groessler + + * doc/c-z8k.texi: Document command-line options. Fix byte + register names. Document '.z8001' and '.z8002' directives. + Extend addressing modes documentation. + +2003-11-07 Jonathan R. Grant + + * input-file.c (input_file_open): Use "No such file" error + message. + +2003-11-06 Pete Gonzalez + + * config/tc-arm.texi (struct reg_entry): Add new field 'builtin'. + (rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table, + dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table, + mav_mvax_table, mav_dspc_table): Initialise new field. + (insert_reg_alias): Initialise new field. + (md_pseudo_table): Add "unreq" entry. + (s_unreq): New function: Undo the effects of a previous .req. + * doc/c-arm.texi: Document new pseudo op. + * NEWS: Mention new feature. + +2003-11-06 Bruno Rohee + + * config/obj-vms.c: Fix "the the" typo. + * doc/c-arm.texi: Likewise. + +2003-11-06 Nick Clifton + + * config/obj-vms.c: Convert to ISO-C. + +2003-11-05 Alan Modra + + * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF. + +2003-10-31 Christian Groessler + + * config/tc-i860.c (md_pcrel_from): Fix typo in comment. + +2003-10-29 Phil Edwards + + * configure.in (arm-*-vxworks, i386-*-vxworks, mips-*-vxworks, + ppc-*-vxworks, ppc-*-windiss): Remove separate outdated stanzas. + (*-*-vxworks, *-*-windiss): Use common stanzas, all ELF. + * configure: Regenerated. + +2003-10-27 Kazu Hirata + + * ChangeLog: Fix typos. + * ChangeLog-9295: Likewise. + * as.c: Fix comment typos. + * as.h: Likewise. + * atof-generic.c: Likewise. + * bit_fix.h: Likewise. + * frags.h: Likewise. + * hash.c: Likewise. + * input-file.c: Likewise. + * input-scrub.c: Likewise. + * itbl-ops.c: Likewise. + * itbl-parse.y: Likewise. + * listing.c: Likewise. + * macro.h: Likewise. + * read.c: Likewise. + * sb.c: Likewise. + * sb.h: Likewise. + * symbols.c: Likewise. + * symbols.h: Likewise. + +2003-10-27 Stephane Carrez + + * config/tc-m68hc11.c: Convert to ISO C90. + * config/tc-m68hc11.h: Likewise. + +2003-10-26 Kazu Hirata + + * doc/c-sh64.texi: Fix a typo. + +2003-10-26 Kazu Hirata + + * doc/c-alpha.texi: Fix typos. + * doc/c-ia64.texi: Likewise. + * doc/c-mmix.texi: Likewise. + * doc/c-sh64.texi: Likewise. + * doc/c-xtensa.texi: Likewise. + * doc/internals.texi: Likewise. + +2003-10-24 H.J. Lu + + * config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC + for .interp, .strtab and .symtab. Use specified section + attributes. + +2003-10-22 Andreas Schwab + H.J. Lu + Jim Wilson + + * config/tc-ia64.c (update_qp_mutex): New. + (note_register_values): Properly handle one of PRs in compare + is PR0. Don't add a mutex relation for .and.orcm/.or.andcm. + Clear mutex relation for .none/.unc. Don't clear mutex relation + on predicated compare. + +2003-10-21 Wouter van Heyst + + * config/tc-arm.c (all_reg_maps): Correct text describing Maverick + register requirements. + (md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP. + +2003-10-21 Peter Barada + Bernardo Innocenti + + * config/tc-m68k.c: Add MCF528x (MCFv4) support. + * config/m68k-parse.h: Likewise. + * NEWS: Mention the new support. + * doc/c-m68k.texi: Document new processor selection switch. + +2003-10-19 Thiemo Seufer + + * config/tc-mips.c (normalize_constant_expr): New function to fix sign + extensions broken by gas' expression evaluation of constants. + (check_absolute_expr): Use it. + (mips_ip): Likewise. + +2003-10-18 Hans-Peter Nilsson + + Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible. + * doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and + --no-stubs. + * config/tc-mmix.c: Include limits.h. Expand on mmix_relax_table + comment. + (expand_op, mmix_next_semicolon_is_eoln): Fix head comment. + (pushj_stubs): New variable. + (OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN) + (PUSHJSTUB_MAX): New macros. + (md_longopts): New options "--no-pushj-stubs" and synonym + "--no-stubs". + (mmix_relax_table): Handle new entry for STATE_PUSHJSTUB. + (md_parse_option): Handle OPTION_NOPUSHJSTUBS. + (md_estimate_size_before_relax): Modify STATE_PUSHJ state for + PUSHJ stub relaxation. + (md_convert_frag): Handle STATE_PUSHJSTUB. + (md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE. + (tc_gen_reloc): Ditto. + (mmix_md_relax_frag): Handle PUSHJ stub relaxation. + * config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define. + (struct mmix_segment_info_type): New. + +2003-10-17 Paul Dale + Bernardo Innocenti + + * config/tc-m68k.c (make_pcrel_absolute): Enforce + PC-relative jumps with --pcrel. + (md_convert_frag_1): Likewise. + (md_create_long_jump): Likewise. + +2003-10-17 Shrinivas Atre + + * config/tc-h8300.c (PSIZE): Correct for Normal mode. + (get_operand): Accept both 16 bit 32 bit registers as pointer + registers, when operating in Normal mode. + (fix_operand_size): Make default address size 16 for Normal mode. + +2003-10-17 Ian Lance Taylor + + * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control + registers. + (do_iwmmxt_word_addr): With a control register, reject conditional + execution and reject a non-word size. + +2003-10-16 Peter Bergner + + * configure.in: Set em=linux for ppc-*-linux-gnu* target. + * configure: Regenerate. + +2003-10-15 Alan Modra + + * doc/as.texinfo (Align): Correct list of byte targets. + +2003-10-15 Thiemo Seufer + + * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro): + Fix indentation. Better error message. + +2003-10-14 Bob Wilson + + * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd + argument in call to xtensa_get_property_section_name. Formatting. + +2003-10-11 Kaz Kojima + + * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra + parenthesis. + +2003-10-11 Kaz Kojima + + * config/tc-sh.c: Convert to ISO C90. Remove unnecessary + prototypes and casts. + * config/tc-sh.h: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sh64.h: Likewise. + +2003-10-08 Dave Brolley + + * config/tc-frv.c (fr550_check_insn_acc_range): New function. + (fr550_check_acc_range): New function. + (md_assemble): Call fr550_check_acc_range. + +2003-10-08 Dave Brolley + + * config/tc-frv.c: Handle DEFAULT_CPU_FR550. + (md_parse_option): Handle OPTION_CPU==fr550. + (md_show_usage): Document fr550. + +2003-10-08 Philippe De Muyter + + * as.c (use_gnu_debug_info_extensions) : New variable. + (parse_args) : Accept new --gstabs+ option, and set + `use_gnu_debug_info_extensions'. + (show_usage) : Document --gstabs+ option. + * as.h (use_gnu_debug_info_extensions) : New extern declaration. + * stabs.c (stabs_generate_asm_file) : If + `use_gnu_debug_info_extensions' is set, add the compilation + directory to the stabs debug info. + * doc/as.texinfo : Document --gstabs+ option. + * NEWS: Mention new feature. + +2003-10-06 Matt Thomas + + Switch NetBSD/hppa to use Linux PA-RISC ELF ABI and + assembler syntax. + + * tc-hppa.c: Add "%farg[0-3]", "%fret", "%t[1-4]", "%tf[1-4]" + register names. Change all "defined (TE_LINUX)" to + "(defined (TE_LINUX) || defined (TE_NETBSD))". + + * tc-hppa.h: Make NetBSD use "elfXX-hppa-linux" bfd target. + Remove NetBSD's use of LABELS_WITHOUT_COLONS. + +2003-10-06 Robert Millan + + * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet. + * configure: Regenerate. + +2003-10-05 Nick Clifton + + * as.c (parse_args): Revert patch to change handling of -f + option. Its behaviour is mandated by the POSIX 2 spec. + +2003-10-04 Christian Groessler + + * tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness. + (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases. + (md_pcrel_from): This function now gets called. Supply return + value. + +2003-10-04 Nick Clifton + + * as.c: Convert to ISO C90. + +2003-10-04 Nick Clifton + + * as.c (std_shortopts): Remove 'f'. + (std_longopts): Add 'f'. Doing this prevents -f being + acecpted as an alias for -f. + +2003-10-04 Danny Smith + + * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]): + Make 'r' mean readonly data. + +2003-10-01 Thiemo Seufer + + * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro): + Unbreak overflow checks. + +2003-10-01 Chris Demetriou + + * config/tc-mips.c (s_cpreturn): Correct errors in comment. + +2003-10-01 Thiemo Seufer + + * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension + tests. + (load_register): Likewise. + (macro): Likewise. + +2003-09-30 Chris Demetriou + + * config/tc-mips.c (mips_ip): Capitalize first word of + existing condition code warning, and add condition code + warnings for .ps instructions, and for bc1any[24][tf]. + +2003-09-30 Chris Demetriou + + * NEWS: Mention support for MIPS64 Release 2. + +2003-09-30 Chris Demetriou + + * NEWS: Add an indication of the cutoff for 2.14. + +2003-09-30 Chris Demetriou + + * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. + * configure: Regenerate. + * config/tc-mips.c (imm2_expr): New variable. + (md_assemble, mips16_ip): Initialize imm2_expr. + (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. + (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. + (macro): Handle M_DEXT and M_DINS. + (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. + (mips_ip): Likewise. + (OPTION_MIPS64R2): New define. + (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). + OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. + (md_parse_option): Handle OPTION_MIPS64R2. + (s_mipsset): Handle setting "mips64r2" ISA. + (mips_cpu_info_table): Add mips64r2. + (md_show_usage): Document -mips64r2 option. + * doc/as.texinfo: Docuemnt -mips64r2 option. + * doc/c-mips.texi: Likewise. + +2003-09-27 John David Anglin + + * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions. + +2003-09-26 Matt Thomas + + * config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'. + (OPTION_PIC): Define. + (md_longopts): Add "pic" option. + (md_parse_option): Change 'K' to OPTION_PIC. + +2003-09-23 Alan Modra + + * config/obj-elf.c (obj_elf_change_section): Adjust for + _bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS + to be set when defaults are not. Don't set attr from defaults if + old_sec. + +2003-09-18 Thiemo Seufer + + * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently + truncate values which won't fit im 32 bits. + (load_register): Likewise. + (macro): Likewise. + +2003-09-17 Dmitry Diky + + * config/tc-msp430.c (MAX_OP_LEN): Set to 256. + (msp430_operands): Remove redundant l2[16] within switch-case. + +2003-09-16 Ralf Corsepius + + * configure.in: Handle arm-*-rtems* and thumb-*rtems*. + * configure: Regenerate. + +2003-09-14 Thiemo Seufer + + * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove. + (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change + the function prototype. + (load_register): Likewise. Simplify the checks for sign-extended + constants. + (macro): Likewise. Fix code generation for 64-bit address constants + outside the 32-bit compatibility space. Adjust + macro_build_ldst_constoffset calls. + (s_cprestore): Adjust macro_build_ldst_constoffset call. + +2003-09-11 Bob Wilson + + * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels, + literal_syms): New global variables. + (xtensa_define_label, add_target_symbol, xtensa_find_label, + map_over_defined_symbols, is_loop_target_label, + xtensa_mark_target_fragments, xtensa_move_frag_symbol, + xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete. + (xtensa_begin_directive): Call md_flush_pending_output. Move symbols + from insn_labels to saved_insn_labels when entering a literal region. + (xtensa_end_directive): Call md_flush_pending_output. Restore + insn_labels list when leaving a literal region. + (xtensa_literal_position): Call xtensa_clear_insn_labels. + (xtensa_literal_pseudo): Add check to disallow .literal inside a + literal region. Move insn_labels to saved_insn_labels and then restore + insn_labels on exit. + (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with + code to set is_loop_target or is_branch_target flag on the symbol + (xtensa_create_literal_symbol): Call xtensa_add_literal_sym. + (xtensa_add_literal_sym, xtensa_add_insn_label, + xtensa_clear_insn_labels): New functions. + (xtensa_move_labels): Remove old_frag and old_offset arguments. Add + loops_ok argument. Rewrite to use insn_labels list instead of + calling xtensa_find_label and to check the is_loop_target flag on + symbols when loops_ok is false. + (xtensa_frob_label): Remove call to xtensa_define_label. Add call + to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust + call to xtensa_move_labels. Propagate is_branch_target and + is_loop_target flags from symbols to frags. + (xtensa_flush_pending_output): Call xtensa_clear_insn_labels. + (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when + aligning a loop instruction. Adjust call to xtensa_move_labels for + aligning entry instructions. Add call to xtensa_clear_insn_labels. + (xtensa_end): Remove call to xtensa_mark_target_fragments. + (xtensa_move_literals): Replace xtensa_move_frag_symbols call with + code to use new literal_syms list. + * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and + is_branch_target flags. + +2003-09-09 Bob Wilson + + * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove + "move_labels" argument and corresponding call to xtensa_move_labels. + (md_assemble): Add a separate call to xtensa_move_labels and remove + argument for call to xtensa_mark_literal_pool_location. + (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix + calls to xtensa_mark_literal_pool_location. + (xtensa_create_local_symbol): Delete and inline the code into... + (xtensa_create_literal_symbol): ...here. + (xtensa_frob_label): Combine conditionals. + (expression_maybe_register, xtensa_symbol_new_hook, + fix_new_exp_in_seg): Use symbol_get_tc. + +2003-09-09 Bob Wilson + + * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for + combining identical literals. + (expression_maybe_register): Remove call to find_lit_sym_translation. + (is_duplicate_expression, cache_literal, is_duplicate_literal, + add_lit_sym_translation, find_lit_sym_translation): Delete. + +2003-09-07 Nick Clifton + + * doc/as.texinfo (Comments): Comment character for PPC is #. + +2003-09-06 Stephane Carrez + + PR savannah/4358: + * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid + overflow complain. + +2003-09-05 Richard Sandiford + + * config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION. + +2003-09-04 Nick Clifton + + * config/tc-v850.c (set_machine): Accept v850e1 machine number. + (md_pseudo_table): Add .v850e1 pseudo op. + (md_show_usage): Document -mv850e1 switch. + (md_parse_option): Accept -mv850e1 switch. + (md_begin): Allow TARGET_CPU to be v850e1. + * doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op. + * NEWS: Mention support for v850e1. + +2003-09-04 Alan Modra + + * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing + ppc_cpu selection rather than replacing. + (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu. + (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash. + +2003-09-03 Robert Millan + + * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu + triplet. + * configure: Regenerate. + +2003-09-02 Daniel Jacobowitz + + * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES + and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT. + Specify AC_CONFIG_AUX_DIR. + * aclocal.m4: Regenerated with aclocal-1.7. + * configure: Regenerated with autoconf 2.57. + * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7. + +2003-08-29 Jakub Jelinek + + * dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save. + (dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save. + (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK + nor tc_cfi_emit_pcrel_expr are defined. + (output_fde): Use tc_cfi_emit_pcrel_expr if available and + DIFF_EXPR_OK is not defined. + * config/tc-sparc.h (TARGET_USE_CFIPOP): Define. + (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, + tc_cfi_emit_pcrel_expr): Define. + (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum, + sparc_cfi_emit_pcrel_expr): New prototypes. + (sparc_cie_data_alignment): New decl. + (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. + * config/tc-sparc.c: Include dw2gencfi.h. + (sparc_cie_data_alignment): New variable. + (md_begin): Initialize it. + (sparc_cfi_frame_initial_instructions): New function. + (sparc_regname_to_dw2regnum): Likewise. + (sparc_cfi_emit_pcrel_expr): Likewise. + * doc/as.texinfo: Document .cfi_window_save. + + * config/tc-sparc.c (s_common): Cast last argument to long and + change format string to shut up warning. + +2003-08-25 Jason Eckhardt + + * doc/c-i860.texi: Update text about relocatable address expansions. + +2003-08-24 Jason Eckhardt + + * config/tc-i860.c (md_assemble): Use isrc2 from the original + instruction when expanding E_ADDR. + +2003-08-21 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2003-08-20 Alan Modra + + * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and + PPC_OPCODE_RFMCI to -m440 selected ppc_cpu. + +2003-08-19 Nick Clifton + + * config/tc-arm.c (cp_address_required_here): Add code to handle + unindexed addressing mode. + +2003-08-19 Alan Modra + + * config/tc-ppc.c (md_parse_option): Handle -m440. + (md_show_usage): Add -m440. + (md_apply_fix3): Warning fix. + * doc/c-ppc.texi: Document -m440. + +2003-08-16 Benjamin Kalytta + + * read.c (s_print): Check for NULL. + +2003-08-16 Alan Modra + + * write.c (fixup_segment): When handling an expression involving + the subtraction of two symbols in the same segment, don't clear + fx_pcrel except for TC_M68K. + +2003-08-14 Alan Modra + + * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER + code. + * config/tc-i386.c: Likewise. + (RELOC_ENUM): Don't define. Replace throughout with enum. + + * dep-in.sed: Remove libintl.h. Ignore include/fopen-*.h + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + Run "make dep-am". + * Makefile.in: Regenerate. + +2003-08-08 Andreas Schwab + + * config/tc-m68k.h (TARGET_USE_CFIPOP) + (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) + (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): + Define. + * config/tc-m68k.c: Include "dw2gencfi.h". + (tc_m68k_regname_to_dw2regnum) + (tc_m68k_frame_initial_instructions): New functions. + +2003-08-08 Dmitry Diky + + * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list + according to gcc order. + +2003-08-07 Jason Eckhardt + + * config/tc-i860.c (i860_check_label): New function. + * config/tc-i860.h (i860_check_label): New prototype. + (tc_check_label): Define macro as i860_check_label. + +2003-08-06 Jason Eckhardt + + * config/tc-i860.c (s_align_wrapper): New function and prototype. + (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove + surrounding OBJ_ELF ifdef, and re-format slightly. + * doc/c-i860.texi: Document the special .align syntax available + in Intel mode. + +2003-08-06 Jason Eckhardt + + * config/tc-i860.c (i860_handle_align): New function. + * config/tc-i860.h (HANDLE_ALIGN): Define macro. + (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro. + +2003-08-06 Jason Eckhardt + + * config/tc-i860.c (i860_process_insn): Check that instructions + with their dual-bit set are 8-byte aligned. + +2003-08-06 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-08-05 Jason Eckhardt + + * config/tc-i860.c (i860_process_insn): Don't handle dual-bit + setting during flop argument parsing. Instead, do it after + instruction is fully parsed. + +2003-08-05 Jason Eckhardt + + * doc/c-i860.texi: Mention that .dual, .enddual, and .atmp + directives are only available in Intel syntax mode. + +2003-08-05 Jason Eckhardt + + * config/tc-i860.c (s_dual): Accept .dual directive only in + the Intel syntax mode. + (s_enddual): Likewise for .enddual. + (s_atmp): Likewise for .atmp. + +2003-08-04 Alan Modra + + * config/tc-i386.c (i386_intel_operand): Always call i386_index_check + for memory operands. Pass the full operand_string to i386_index_check. + +2003-08-01 Jason Eckhardt + + * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences. + (target_intel_syntax): Declare variable. + (OPTION_INTEL_SYNTAX): Declare macro. + (md_longopts): Add option -mintel-syntax. + (md_parse_option): Set target_intel_syntax. + (md_show_usage): Add -mintel-syntax usage. + (md_begin): Set reg_prefix based on target_intel_syntax. + (i860_process_insn): Skip register prefix only if there is one. + Parse relocatable expressions in either Intel or AT&T syntax based + on target_intel_syntax instead of the SYNTAX_SVR4 macro. + * doc/c-i860.texi: Document -mintel-syntax option and give blurb + about the differences in syntax. + +2003-08-01 Dmitry Diky + + * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround + to all arches. + +2003-07-30 J"orn Rennecke + + * config/tc-sh.c (md_assemble): For branches, check & update + valid_arch here. + +2003-07-30 Jason Eckhardt + + * config/tc-i860.c: Convert to ISO C90. + +2003-07-30 Rainer Orth + + * read.c (s_space): Revert 2003-07-28 change. + +2003-07-30 Alan Modra + + * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*. + +2003-07-29 Alan Modra + + * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF. + +2003-07-29 Jakub Jelinek + + * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns. + +2003-07-28 H.J. Lu + + * config/obj-elf.c (obj_elf_section_type): Also accept "note". + +2003-07-28 Rainer Orth + + * read.c (s_space): Don't warn about .space 0. + +2003-07-28 Rainer Orth + + * config/tc-mips.c (mips_flag_pdr): Define. + (md_begin) [OBJ_ELF]: Use it to control .pdr creation. + (s_mips_end) [OBJ_ELF]: Likewise. + (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR. + (md_parse_option) [OBJ_ELF]: Handle them. + (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr. + + * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr. + * doc/as.texinfo (Overview) [MIPS]: Likewise. + +2003-07-25 H.J. Lu + + * config/obj-elf.c (obj_elf_change_section): Update + elf_section_type and elf_section_flags only when they are + specified. + +2003-07-25 H.J. Lu + + * config/obj-elf.c (obj_elf_change_section): Always set section + type and flags. + +2003-07-25 H.J. Lu + + * config/obj-elf.c (special_sections): Removed. + (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set + elf_section_type and elf_section_flags. + (elf_frob_file): Set SHT_GROUP. + + * config/obj-elf.h (obj_sec_set_private_data): New. + + * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. + * config/tc-ia64.h: Likewise. + * config/tc-m32r.h: Likewise. + * config/tc-m68hc11.h: Likewise. + * config/tc-mcore.h: Likewise. + * config/tc-mips.h: Likewise. + * config/tc-ppc.h: Likewise. + * config/tc-sh64.h: Likewise. + * config/tc-v850.h: Likewise. + * config/tc-xtensa.h: Likewise. + + * config/tc-v850.h (SHF_V850_GPREL): Removed. + (SHF_V850_EPREL): Likewise. + (SHF_V850_R0REL): Likewise. + + * subsegs.c (subseg_get): Call obj_sec_set_private_data if it + is defined. + +2003-07-24 Stephane Carrez + + * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for + debugging symbols so that we handle page memory correctly. + +2003-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-07-23 Daniel Jacobowitz + + * config/tc-arm.c (arm_archs): Add iwmmxt. + +2003-07-22 H.J. Lu + + * read.c (do_parse_cons_expression): Mark nbytes unused to + silence gcc. + +2003-07-22 Alexandre Oliva + + * config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc + or bsr/bs. + + * config/tc-h8300.c (md_assemble): Make sure characters after + slash and dot are lower-case. + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + * po/tr.po: New Turkish translation. + * po/opcodes.pot: Regenerate. + +2003-07-16 Alan Modra + + * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change. + (generic_dwarf2_emit_offset): Don't define function when + TC__DWARF2_EMIT_OFFSET is defined. + +2003-07-15 Richard Sandiford + + * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. + (mips_cpu_info_table): Add rm7000 and rm9000 entries. + * doc/c-mips.texi: Document -march=rm9000. + +2003-07-15 Alan Modra + + * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups + only for V850_OPERAND_DISP operands. + +2003-07-15 Alan Modra + + * frags.c (frag_more): Move segment checks to.. + (frag_alloc_check): ..here. New function. + (frag_append_1_char): Call frag_alloc_check. + +2003-07-14 Nick Clifton + + * po/tr.po: Update with latest version. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + * configure: Regenerate. + +2003-07-14 Nick Clifton + + * config/tc-ip2k.c: Remove inclusion of + * config/tc-tic4x.c: Replace inclusion of with + "safe-ctype.h" and update use of macros. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2003-07-11 Alan Modra + + * po/gas.pot: Regenerate. + +2003-07-10 Jakub Jelinek + + * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. + (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, + tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, + DWARF2_CIE_DATA_ALIGNMENT): Define. + (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New + prototypes. + (ppc_cie_data_alignment): Declare. + * config/tc-ppc.c: Include dw2gencfi.h. + (ppc_cie_data_alignment): Define. + (md_begin): Initialize ppc_cie_data_alignment. + (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New + functions. + * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. + (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, + tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, + DWARF2_CIE_DATA_ALIGNMENT): Define. + (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): + New prototypes. + (s390_cie_data_alignment): Declare. + * config/tc-s390.c: Include dw2gencfi.h. + (s390_cie_data_alignment): Define. + (md_begin): Initialize s390_cie_data_alignment. + (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): + New functions. + +2003-07-10 Alexandre Oliva + + 2002-12-12 Alexandre Oliva + * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero. + 2001-05-09 Alexandre Oliva + * configure.in (am33_2.0, mn10300-*-linux*): Added. + * configure: Rebuilt. + * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to + elf32-am33lin. + * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0 + by default. + +2003-07-09 Alexandre Oliva + + 2003-02-25 Alexandre Oliva + * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type + for subtracts from GLOBAL_OFFSET_TABLE that could not be + simplified. + 2002-07-18 Alexandre Oliva + * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that + could not be simplified. + (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset. + 2001-11-04 Alexandre Oliva + * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust + BDF_RELOC_MN10300_GOT32. + * config/tc-mn10300.c (mn10300_fix_adjustable): If + TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable. + 2001-05-09 Alexandre Oliva + * config/tc-mn10300.c (mn10300_parse_name): Don't return a + symbol if we know its value. + 2001-05-09 Alexandre Oliva + * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove + duplicate underscore prefix. + 2001-05-09 Alexandre Oliva + * config/tc-mn10300.c (mn10300_parse_name): Store relocation + type in X_md, not X_add_number. Zero X_add_number. + (mn10300_check_fixup): Extract relocation type from X_md. + * config/tc-mn10300.h: Update comment. + 2001-04-14 Alexandre Oliva + * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with... + (O_PIC_reloc): this. + * config/tc-mn10300.c (mn10300_PIC_related_p): Use it. + (mn10300_check_fixup): Likewise. + (mn10300_parse_name): Set X_add_number to relocation type. + * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, + TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW, + O_GOTOFF, O_PLT, O_GOT): Define. + * config/tc-mn10300.c (mn10300_PIC_related_p): New fn. + (mn10300_check_fixup): New fn. + (md_assemble): Call it. Check for PIC-related relocs. + (mn10300_cons_fix_new): Likewise. New fn. + (mn10300_end_of_match): New fn. + (mn10300_md_parse_name_cont): New fn. + +2003-07-09 Alexandre Oliva + + 2000-05-25 Alexandre Oliva + * config/tc-mn10300.c (mn10300_insert_operand): Negate negative + accumulator's shift. + 2000-05-08 Alexandre Oliva + * config/tc-mn10300.c (md_relax_table, md_convert_frag, + md_assemble, md_estimate_size_before_relax): Handle fbCC. + 2000-04-20 Alexandre Oliva + * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of + HAVE_AM33_2. + 2000-04-03 Alexandre Oliva + * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant. + (HAVE_AM33): Match AM33_2 too. + (HAVE_AM33_2): New macro. + (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2. + 2000-04-01 Alexandre Oliva + * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'. + (float_registers, double_registers): New variables. + (float_register_name, double_register_name): New functions. + (md_assemble): Recognize FP registers. Implement FMT_D3. + (mn10300_insert_operand): Support FP registers. + +2003-07-08 Chris Demetriou + + * config/tc-mips.c (mips_validate_fix): Do not warn about branch + target being a global symbol if not compiling SVR4 PIC code. + +2003-07-07 Nick Clifton + + * doc/c-m32r.texi (M32R-Directives): New node. Document the + .high, .shigh and .low directives. + +2003-07-07 Richard Sandiford + + * config/tc-h8300.c (h8300sxnmode): Add prototype. + (DSYMMODE): Remove. + (parse_exp): Replace expressionS argument with a h8_op. Parse the + operand size as well. + (skip_colonthing): Remove unused expression argument. Tighten checks + for 2-digit sizes. + (colonmod24): Remove. + (get_mova_operands): Combine calls to parse_exp and skip_colonthing. + (get_operand): Likewise. Use the standard code to read the size of + pc-relative operands. + (fix_operand_size): Include the size-guessing logic that used to be + in colonmod24 and get_operand. Don't apply dd:2 optimizations to + offsets with a symbolic component. + +2003-07-04 Nick Clifton + + * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE + macro to compute size of selected register name array. + +2003-07-01 Martin Schwidefsky + + * config/tc-s390.c (md_parse_option): Add cpu type z990. + (md_begin): Add minimal cpu type logic for instructions with different + binary format depending on the cpu. + (md_assemble): Remove check for minimal cpu. + (s390_insert_operand): Add support for long displacements. + (md_gather_operands): Likewise. + (tc_s390_fix_adjustable): Likewise. + (tc_s390_force_relocation): Likewise. + (md_apply_fix3): Likewise. + +2003-06-30 Chris Demetriou + + * config/tc-mips.c (s_mipsset): Implement -march= handling + differently. + +2003-06-30 Thiemo Seufer + + * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary + prototypes and casts. Replace PTR with void *. Reformat. + * config/tc-mips.h: Likewise. + +2003-06-30 Alan Modra + + * config/tc-ia64.c (note_register_values): Warning fix. + * config/tc-mips.c (append_insn): Likewise. + +2003-06-29 Thiemo Seufer + + * config/tc-mips.c (mips_set_options,mips_opts): Support for + .set arch=FOO. + (file_mips_arch): Rename mips_arch. + (mips_arch_info,mips_tune_info): Remove. + (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch. + (mips_cpu_info_from_arch): New function. + (md_begin): Use file_mips_arch. + (macro_build,macro,mips_ip): Use mips_opts.arch. + (mips_set_architecture): Init file_mips_arch and mips_opts.arch. + (mips_after_parse_args): Remove mips_arch_info and mips_tune_info. + Use file_mips_arch. + (s_mipsset): Support for .set arch=FOO. + (mips_cpu_info_table): Fix typo. + +2003-06-26 H.J. Lu + + * config/tc-i386.c (md_assemble): Declare "exp" before "if". + +2003-06-25 Richard Sandiford + + * config/tc-h8300.c (get_specific): Allow ':8' to be used for + unsigned 8-bit operands. + +2003-06-24 Nick Clifton + + * read.c (s_comm): Change error message to assume an unsigned size + has been passed to .comm. + * config/tc-sparc.c (s_common): Likewise. + * write.c (write_contents): Replace 'unsigned long' with + 'addressT' and 'long' with offsetT in order to allow computations + with very large values to work for 64-bit addressed targets. + (relax_and_size_all_segments): Likewise. + (relax_frag): Likewise. + (relax_segment): Likewise. + +2003-06-23 Mark Mitchell + + * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots. + +2003-06-23 H.J. Lu + + * gas/config/tc-i386.c (md_assemble): Support Intel Precott New + Instructions. + + * gas/config/tc-i386.h (CpuPNI): New. + (CpuUnknownFlags): Add CpuPNI. + +2003-06-23 + + * config/tc-ia64.c (pseudo_func): Add ABI constants for linux, + freebsd, openvms, and nsk (non-stop kernel). + +2003-06-22 Jason Thorpe + + * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after + all locals have been declared. + +2003-06-21 Thiemo Seufer + + * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove + special handling for n32 ABI. + (macro): Likewise. + +2003-06-19 Thiemo Seufer + + * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert + 2003-06-11 change. + +2003-06-19 Christian Groessler + + * config/tc-z8k.c (parse_reg): Invalid registers generate an error + now, not only a warning. Add some more checks to detect invalid + registers. + (get_operand): For CLASS_IR remember register size in mode struct. + (get_specific): Handle new CLASS_IRO type. Add register size + checks for CLASS_IR and CLASS_IRO. + (md_apply_fix3): Fix undefined usage of buf. + +2003-06-19 Alan Modra + + * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect. + (ppc_change_csect): Add align param. Align frag at start of csect. + (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. + (ppc_frob_section): Align vma. + +2003-06-18 Jakub Jelinek + + * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined. + (output_cie): Don't pad. + (output_fde): Add align argument. Pad to align if not 0. + (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. + Pad just last FDE to EH_FRAME_ALIGNMENT. + +2003-06-18 Martin Schwidefsky + + * config/tc-s390.c (init_default_arch): Make current_mode_mask + dependent on s390_arch_size and current_cpu dependent on + current_mode_mask. + +2003-06-18 Svein E. Seldal + + * configure.in: Add c4x as an architecture variant to tic4x. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2003-06-18 Alan Modra + + * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than + ".TOC." from PPC64_TOC relocs. + +2003-06-17 Alan Modra + + * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs. + +2003-06-16 Thiemo Seufer + + * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN, + ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. + (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, + s_cprestore,s_cpadd): Use them. + +2003-06-16 Hans-Peter Nilsson + + * configure.in: Add specific case for cris-*-linux-gnu* with + em=linux. + * configure: Regenerate. + * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE + if TE_LINUX defined, else FALSE. + (bfd_boolean demand_register_prefix): Set default from + DEFAULT_CRIS_AXIS_LINUX_GNU. + (symbols_have_leading_underscore): Similar. + * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1. + +2003-06-13 Richard Earnshaw + + * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA. + (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF, + FPU_ARCH_FPA for AOUT. + (md_begin): Don't try to guess the floating point architecture from + the CPU if the OS ABI (Linux, NetBSD) mandates a particular form. + +2003-06-13 Robert Millan + + * configure.in: Add i386-netbsd-gnu target. + * configure: Regenerate. + +2003-06-12 Tom Tromey + + * doc/as.texinfo (Comm): Added @node. Moved before CFI + directives node. + +2003-06-12 Richard Sandiford + + * config/tc-mips.c (append_insn): In a compound relocation, take the + field width from the final (outermost) operator. + +2003-06-11 Richard Henderson + + * dw2gencfi.c (struct cfi_escape_data): New. + (cfi_add_CFA_nop): Remove. + (CFI_escape, dot_cfi_escape): New. + (dot_cfi): Remove nop. + (cfi_pseudo_table): Remove nop; add escape. + (output_cfi_insn): Likewise. + (select_cie_for_fde): Stop on escape. + * dw2gencfi.h (cfi_add_CFA_nop): Remove. + * read.c, read.h (do_parse_cons_expression): New. + * doc/as.texinfo (.cfi_escape): New. + +2003-06-11 Thiemo Seufer + + * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP. + (s_cprestore): Likewise. + (s_cpreturn): Likewise. + +2003-06-11 Thiemo Seufer + + * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc + with zeros. + +2003-06-11 Thiemo Seufer + + * config/tc-mips.c (md_pcrel_from): Return actual pcrel address. + (md_apply_fix3): Ignore non-special relocations. Remove superfluous + exceptions from size assert. Remove most of the addend fixup + specialcasing. Remove value, use valP directly. simplify fx_addnumber + handling. Remove zero addend specialcases. + (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove + the addend fixup specialcase. + * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0. + +2003-06-11 Thiemo Seufer + + * write.c (write_relocs): Use xcalloc. Fix relocs initialization + in the RELOC_EXPANSION_POSSIBLE case. + +2003-06-11 Alan Modra + + * config/tc-i960.c (line_comment_chars): Add '#'. + * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-11 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-06-10 Doug Evans + + * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to + CGEN_INSN_RELAXED. + * config/tc-fr30.c (md_estimate_size_before_relax): Ditto. + * config/tc-m32r.c (md_estimate_size_before_relax): Ditto. + * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto. + +2003-06-10 Alan Modra + Gary Hade + + * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ. + (md_apply_fix3): Special case lq insn. + +2003-06-10 Richard Sandiford + + * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register + lists. Allow single-register ranges. + +2003-06-10 Richard Sandiford + + * config/tc-h8300.c (h8300sxnmode): New. + (md_pseudo_table): Add .h8300sxn entry. + +2003-06-09 H.J. Lu + + * NEWS: Updated for the new -n option for the i386 assembler. + + * config/tc-i386.c (optimize_align_code): New. + (md_shortopts): Add 'n'. + (md_parse_option): Handle 'n'. + (md_show_usage): Add '-n'. + + * config/tc-i386.h (optimize_align_code): Declared. + (md_do_align): Optimize code alignment only if optimize_align_code + is not 0. + + * doc/as.texinfo: Add the new -n option. + + * doc/c-i386.texi: Document the new -n option. + +2003-06-07 Richard Henderson + + * doc/as.texinfo: Document .cfi_rel_offset. + + * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New. + (cfi_add_CFA_offset): Detect invalid offsets. + (cfi_add_CFA_remember_state): Save cur_cfa_offset. + (cfi_add_CFA_restore_state): Restore it. + (CFI_rel_offset): New. + (cfi_pseudo_table): Add it. + (dot_cfi): Handle it. + +2003-06-07 H.J. Lu + + * app.c (do_scrub_chars): Add states 14 and 15 to handle + predicate for ia64. + +2003-06-05 Michael Snyder + + * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops. + (build_bytes): Ditto. + +2003-06-05 Richard Sandiford + + * config/tc-h8sx.c (DMODE): Remove. + (colonmod24): Don't choose a default if the operand is a 16-bit + constant integer. + (fix_operand_size): New function. + (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn). + Adjust @(d:2,ERn) operands before choosing the specific opcodes. + +2003-06-05 Michal Ludvig + + * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg) + (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New. + (cfi_add_CFA_offset, cfi_add_CFA_def_cfa) + (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register) + (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*(). + (cfi_add_CFA_restore, cfi_add_CFA_undefined) + (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) + (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New. + (cfi_pseudo_table): New directives .cfi_return_column, + .cfi_restore, .cfi_undefined, .cfi_same_value, + .cfi_remember_state, .cfi_restore_state, .cfi_nop. + (dot_cfi, output_cfi_insn): Handle new directives. + * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined) + (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) + (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes. + +2003-06-04 Richard Henderson + + * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets. + + * dw2gencfi.c (cfi_finish): Set .eh_frame read-only. + +2003-06-04 Richard Henderson + + * config/tc-alpha.c (s_alpha_usepv): New. + (md_pseudo_table): Add it. + (alpha_cfi_frame_initial_instructions): New. + * config/tc-alpha.h (TARGET_USE_CFIPOP): New. + (tc_cfi_frame_initial_instructions): New. + * doc/c-alpha.texi: Document .usepv. + +2003-06-04 Jakub Jelinek + + * as.c (show_usage): Document --execstack and --noexecstack. + (parse_args): Add --execstack and --noexecstack. + (main): Create .note.GNU-stack section if --execstack or + --noexecstack was given on comand line, set its SHF_EXECINSTR bit. + * as.h (flag_execstack, flag_noexecstack): New. + +2003-06-03 Chris Demetriou + + * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE) + (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE) + (OPTION_MISC_BASE): New defines. + (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL) + (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64) + (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100) + (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX) + (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2) + (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D) + (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64) + (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS) + (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010) + (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16) + (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH) + (OPTION_TRAP): Redefine in terms of new defines. + (md_longopts): Reorder entries. + +2003-05-14 Michael Snyder + From Bernd Schmidt + and Michael Snyder + and Alexandre Oliva + * config/tc-h8300.c: Add insns and addressing modes for h8300sx. + * config/tc-h8300.h: Ditto. + +2003-06-03 Nick Clifton + + * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into + BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this + before calling bfd_reloc_type_lookup. + +2003-06-02 Alan Modra + + * read.c (emit_expr): Set dot_value. + * dw2gencfi.c (output_fde): Remove pcrel reloc hack. + +2003-06-02 Alan Modra + + * macro.c (sub_actual): Don't lose string if it turns out that + &string wasn't an arg. + +2003-05-31 Richard Henderson + + * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc. + (cfi_finish): Set flag_traditional_format around .eh_frame data. + +2003-05-29 Richard Henderson + + * config/tc-alpha.c (alpha_cur_ent_sym): Remove. + (all_frame_data, plast_frame_data, cur_frame_data): New. + (s_alpha_ent): Record data for dwarf2 cfi. + (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise. + (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives. + * config/tc-alpha.h (md_end): New. + (DWARF2_DEFAULT_RETURN_COLUMN): New. + (DWARF2_CIE_DATA_ALIGNMENT): New. + +2003-05-29 Nick Clifton + + * configure.in: Add i386-*-freebsd* entry. + * configure: Regenerate. + +2003-05-29 Kazuhiro Inaoka + + * config/tc-m32r.c: Amend comment to refer to Renesas + +2003-05-27 Richard Henderson + + * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the + symbol_create call. + (current_location): Use symbol_temp_new_now. + * stabs.c (s_stab_generic): Use symbol_temp_new. + * symbols.c (temp_label_name): Remove. + (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME. + +2003-05-27 Richard Henderson + + * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch. + * as.c (main): Always call cfi_finish. + * config/tc-i386.c (x86_dwarf2_return_column): New. + (x86_cie_data_alignment): New. + (md_begin): Set them. + (tc_x86_cfi_init): Remove. + (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; + return int, not unsigned long; don't as_bad here. + (tc_x86_frame_initial_instructions): Streamline; use + updated api. + * config/tc-i386.h (tc_cfi_init): Remove. + (DWARF2_DEFAULT_RETURN_COLUMN): New. + (DWARF2_CIE_DATA_ALIGNMENT): New. + +2003-05-27 Richard Henderson + + * symbols.c (temp_label_name): New. + (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New. + (symbol_set_value_now): New. + * symbols.h: Prototype them. + * dwarf2dbg.c: Use them. + (fake_label_name, symbol_new_now, set_symbol_value_now): Remove. + +2003-05-23 Jason Eckhardt + + * config/tc-i860.c (target_xp): Declare variable. + (OPTION_XP): Declare macro. + (md_longopts): Add option -mxp. + (md_parse_option): Set target_xp. + (md_show_usage): Add -mxp usage. + (i860_process_insn): Recognize XP registers bear, ccr, p0-p3. + (md_assemble): Don't try expansions if XP_ONLY is set. + * doc/c-i860.texi: Document -mxp option and i860XP support. + +2003-05-23 Eric Christopher + + * config/tc-mips.c (macro_build_jalr): Warning patrol. + +2003-05-22 Thiemo Seufer + + * config/tc-mips.c (append_insn): Use actual relocation size for new + fixp's. Don't relax overflow checking for partial_inplace relocations. + Use the actual relocation type in combined relocs, not just the type + of the first one. + (macro_build_jalr): Use actual relocation size for new fix. + (s_cpsetup, s_gpdword): Likewise. + +2003-05-22 Thiemo Seufer + + * config/tc-mips.c (macro): Don't use uninitialized tempreg. + +2003-05-22 Nick Clifton + + * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce + section relative offsets for relocs that will not be based on the + section symbol. + (xstormy16_md_apply_fix3): Remove previous patch to this + function. + +2003-05-07 Eric Christopher + + * config/tc-mips.c (mips_abicalls): New variable. + (md_parse_option): Use. + (s_option): Ditto. + (s_abicalls): Ditto. + (mips_elf_final_processing): Set EF_MIPS_PIC and + EF_MIPS_CPIC dependent on above. + +2003-05-21 John David Anglin + + * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'. + +2003-05-21 Nick Clifton + + * config/obj-elf.c: Include dwarf2dbg.h. + (elf_pseudo_tab): Add .file and .loc. + * config/tc-arc.c (md_pseudo_table): Remove .file and .loc. + * config/tc-arm.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-mmix.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-frv.c: Likewise, and remove redundant inclusion of + dwarf2dbg.h. + * config/tc-ip2k.c: Likewise. + * config/tc-iq2000.c: Likewise. + * config/tc-xstormy16.c: Likewise. + * config/tc-xtensa.c: Likewise. + * Makefile.am: Regenerate dependencies. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2003-05-21 Nick Clifton + + * dw2gencfi.c (cfi_get_label): Use symbol_make for non + BFD_ASSEMBLER targets. + (cfi_startproc): Change type of saved_seg and cfi_seg to segT. + (dot_cfi_endproc): Only call bfd_set_section_flags for targets + defining BFD_ASSEMBLER. + +2003-05-20 Michal Ludvig + + * as.c (main): Remove tc_cfi_init(). + * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning + with '%'. + (cfi_pseudo_table): Add "cfi_register" entry. + (cfi_make_insn): Handle CFA_register. + (cfi_output_insn): Ditto. + (dot_cfi): Ditto. + (cfi_get_label): Add 'simple' modifier to .cfi_startproc. + (dot_cfi_endproc): Reuse already emitted CIEs. + * testsuite/gas/cfi/cfi-i386.d: New pattern. + * testsuite/gas/cfi/cfi-x86-64.d: Ditto. + +2003-05-20 Nick Clifton + + * config/tc-xstormy16.c: Include dwarf2dbg.h. + (md_pseudo_table): Add entries for .loc and .line. + +2003-05-20 Alan Modra + + * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if + defined. + (dot_cfi_endproc): Avoid C99 construct. + +2003-05-20 Michal Ludvig + + * dw2gencfi.c, dw2gencfi.h: New files. + * config/tc-i386.c (tc_x86_cfi_init): New function. + * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines. + * as.c (parse_args): Set verbose flag on --verbose. + (main): Call tc_cfi_init()/cfi_finish(). + * as.h (verbose): New external variable. + * read.c (pobegin): Insert CFI pops to the list. + * symbols.c (local_symbol_make): Make symbol external. + * symbols.h (local_symbol_make): New prototype. + * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am". + * Makefile.in: Regenerate. + * doc/as.texinfo: Added node "CFI directives" with description of + all implemented .cfi_* directives. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-05-19 Svein E. Seldal + + * config/tc-tic4x.c (md_assemble): Added support for one-line parallel + insns. + * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition + +2003-05-18 Jason Eckhardt + + * config/tc-i860.c (i860_process_insn): Initialize fc after + each opcode mismatch. + +2003-05-16 Kelley Cook + + * configure.in: Accept i[3-7]86 variants. + * configure: Regenerate. + +2003-05-15 Thiemo Seufer + + * config/tc-mips.h: Fix comment formatting. + +2003-05-13 Hans-Peter Nilsson + + * read.c (old_buffer, old_input, old_limit): Remove variables. + (read_a_source_file): Delete label contin. + : Use an "sb" to push #APP expansion into + input as with macros, instead of in separate old_* variables. + Zero-terminate string being scrubbed. + +2003-05-12 Nick Clifton + + * config/tc-xstormy16.c (skipping_fptr): New local variable. + (md_assemble): Reset skipping_fptr. + (md_operand): If @fptr() is followed by a minus sign, set + skipping_fptr and ignore the fptr. If skipping_fptr is set and an + @fptr is detected, ignore it and reset skipping_fptr. + +2003-05-11 Jason Eckhardt + + * config/tc-i860.c (MAX_FIXUPS): Define. + (struct i860_fi fi[]): New struct. + (struct i860_it the_insn): Add above as member and move fields + exp, reloc, pcrel and fup into i860_fi. + (md_assemble): Replace all instances of exp, reloc, pcrel + and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup. + Add a loop to possibly emit multiple fix-ups for each insn. + (i860_process_insn): Likewise. + (i860_get_expression): Likewise. + (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality. + +2003-05-09 Martin Schwidefsky + + * config/tc-s390.c (s390_target_format): Always call init_default_arch. + +2003-05-07 H.J. Lu + + * config/tc-ia64.c (alias_hash): New. + (alias_name_hash): New. + (secalias_hash): New. + (secalias_name_hash): New. + (md_pseudo_table): Add "secalias". + (md_begin): Initialize alias_hash, alias_name_hash, + secalias_hash and secalias_name_hash. + (struct alias): New. + (dot_alias): Implement .alias and .secalias directives. + (do_alias): New. + (ia64_adjust_symtab): New. + (do_secalias): New. + (ia64_frob_file): New. + + * config/tc-ia64.h (ia64_adjust_symtab): New. + (tc_adjust_symtab): Defined. + (ia64_frob_file): New. + (tc_frob_file): Defined. + +2003-05-07 Dmitry Diky + + * tc-msp430.c: Add missing lines to known cpus list. + +2003-05-06 Alexandre Oliva + + * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE. + * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. + * config.in, configure: Rebuilt. + +2003-05-05 H.J. Lu + + * config/tc-mips.c (tc_gen_reloc): Add addend just once if + howto->partial_inplace is false. + +2003-05-05 Daniel Jacobowitz + + * config/tc-mips.c (mips_need_elf_addend_fixup): Remove + symbol_used_in_reloc_p check. + (md_apply_fix3): Remove check for howto->pcrel_offset. + +2003-05-03 H.J. Lu + + * config/obj-elf.c (obj_elf_parse_section_letters): Make it a + fatal error for unknown section attribute. + + * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for + unknown section attribute. + * config/tc-ia64.c (ia64_elf_section_letter): Likewise. + * config/tc-ppc.c (ppc_section_letter): Likewise. + + * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. + (ia64_elf_section_type): Accept "unwind". + +2003-05-02 H.J. Lu + + * read.h (demand_copy_string): New. + + * config/tc-alpha.c (demand_copy_string): Removed. + +2003-05-02 Michael Snyder + + * write.h (FAKE_LABEL_NAME): Allow override + (for targets that like eg. a leading dot in a local label). + +2003-05-02 Nick Clifton + + * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the + addend with the symbol's value for pc-relative relocations against + a defined symbol - this will be done automatically. + +2003-05-01 H.J. Lu + + * config/obj-elf.c (obj_elf_type): Accept "notype" and + "STT_NOTYPE". + +2003-05-01 H.J. Lu + + * config/tc-ia64.h (tc_canonicalize_section_name): New. + + * config/obj-elf.c (obj_elf_section_name): Call + tc_canonicalize_section_name if it is defined. + +2003-05-01 H.J. Lu + + * config/tc-ia64.c (ia64_check_label): New. + * config/tc-ia64.h (tc_check_label): New. + + * read.c (read_a_source_file): Call tc_check_label after + creating a user-defined label if defined. + +2003-05-02 Alan Modra + + * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b, + -be and split strings to below 509 bytes in length. + +2003-05-01 Christian Groessler + + * expr.h: Fix comments in operatorT typedef. + * config/tc-z8k.c: Add 2003 to copyright message. + Fold s_segm() and s_unseg() into one function s_segm(parm) which + decides by the parameter. + (md_begin): Don't set linkrelax. Only set Z8002 default if no + command line argument was given to select the intended + architecure. + (get_interrupt_operand): Warn if NOP type code is emitted. + (newfix): New parameter 'size', forward it to 'fix_new_exp'. + (apply_fix): Call newfix with additional 'size' parameter. + (build_bytes): Remove unused variable 'nib'. Detect overflow in + 4 bit immediate arguments. + (md_longopts): Add 'linkrelax' option. + (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' + variable when 'linkrelax' command line option is specified. + (md_show_usage): Display 'linkrelax' option. + (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases + R_CALLR and R_REL16. + * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD. + +2003-04-30 H.J. Lu + + * config/tc-ia64.c (ia64_number_to_chars): New function pointer. + (ia64_float_to_chars): Likewise. + (dot_byteorder): Set target_big_endian, ia64_number_to_chars + and ia64_float_to_chars by tc_segment_info_data.endian from + the current segment if byteorder == -1. + (md_begin): Call dot_byteorder to set target_big_endian. + (md_atof): Call ia64_float_to_chars to convert floating point. + (ia64_float_to_chars_bigendian): New function. + (ia64_float_to_chars_littleendian): Likewise. + (ia64_elf_section_change_hook): Likewise. + + * config/tc-ia64.h (ia64_number_to_chars): New. + (md_number_to_chars): Changed to (*ia64_number_to_chars) + (ia64_elf_section_change_hook): New. + (md_elf_section_change_hook): Defined. + (ia64_segment_info_type): New struct. + (TC_SEGMENT_INFO_TYPE): Defined. + +2003-04-30 H.J. Lu + + * config/tc-ia64.c (md_section_align): Deleted. + + * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New. + (md_section_align): New. + +2003-04-30 H.J. Lu + + * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10 + and add real16. + (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and + "real16.ua". + (md_atof): Add 6 byte padding of zero for real16. + +2003-04-29 Nick Clifton + + * config/obj-elf.c (obj_elf_symver): Skip whitespace before the + start of a version name. + +2003-04-28 Chris Demetriou + + * configure.in (mips-*-*n*bsd*): Replace with... + (mips-*-netbsd*, mips-*-openbsd*): These. + * configure: Regenerate. + +2003-04-28 H.J. Lu + + * config/tc-hppa.c (hppa_symbol_chars): New. + * config/tc-hppa.h (tc_symbol_chars): Likewise. + +2003-04-26 Thiemo Seufer + + * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. + +2003-04-25 Chris Demetriou + + * NEWS: Belatedly mention support for MIPS32 Release 2. + +2003-04-24 Eric Christopher + + * config/tc-mips.c (nopic_need_relax): Revert previous + change. + +2003-04-24 Dhananjay Deshpande + + * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New + * config/tc-h8300.c (dwarf2dbg.h): Include + (md_pseudo_table): Handle .loc and .file + (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER. + * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets. + * Makefile.in: Regenerate. + +2003-04-24 Dhananjay Deshpande + + * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New. + (md_pseudo_table): Add h8300hn, h8300sn. + * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn. + * doc/c-h8300.texi : Add documentation for new machine directives. + +2003-04-24 Nick Clifton + + * config/tc-ppc.c (ppc_symbol_chars): Define. + * config/tc-ppc.h (tc_symbol_chars): Define. + +2003-04-23 J"orn Rennecke + + * config/tc-sh.c: Amend comment to refer to SuperH. + * config/tc-sh.h: Likewise. + (LISTING_HEADER): Amend to refer to SuperH. + * config/tc-sh64.c: Change comment to refer to SuperH. + * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH. + * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH. + * doc/c-sh.texi: Amend to refer to SuperH. + Add SuperH architecture documentation references. + * doc/c-sh64.texi: Change to refer to SuperH. + +2003-04-23 H.J. Lu + + * app.c (do_scrub_chars): More checks for valid labels. + +2003-04-22 H.J. Lu + + * app.c (do_scrub_chars): Check for valid label. + +2003-04-22 Kazuhiro Inaoka + + * doc/as.texinfo: Replace references to Mitsubishi M32R with + references to Renesas M32R. + * doc/c-m32r.texi: Likewise. + +2003-04-21 Richard Henderson + + * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers. + (out_file_list): Assign non-null filename after generating error. + +2003-04-18 Jakub Jelinek + + * ehopt.c (check_eh_frame): For aug_size == 0 + in state_seeing_aug_size state skip the state_skipping_aug + state. + +2003-04-15 Rohit Kumar Srivastava + + * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with + 'Renesas'. + * doc/c-h8500.texi: Likewise. + * doc/c-sh.texi: Likewise. + * doc/c-sh64.texi: Likewise. + * doc/h8.texi: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-h8300.h: Likewise. + * config/tc-h8500.c: Likewise. + * config/tc-h8500.h: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh.h: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sh64.h: Likewise. + +2003-04-10 Alexandre Oliva + + * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New. + * config/tc-mips.c: Use signed add for n32 address arithmetic. + (append_insn): When filling delay slots with instructions + that have fixups that tc_gen_reloc might consider modifyable + in variant frags, start a new frag. + (load_address): Generate GOT_DISP with of without offset + depending on whether symbol is local. For -xgot, use + GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16. + (macro) : Likewise. + : In NewABI, use CALL16 or GOT_DISP for small got, + CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got. + : In NewABI with small got, always use + GOT_PAGE/GOT_OFST, with the latter in the load/store + instruction. With big got, use GOT_HI16/GOT_LO16 or + GOT_PAGE/GOT_OFST. + (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI. + Add tc_frag_data.tc_fr_offset to addends. Decay CALL16, + GOT_OFST and GOT_DISP to GOT_DISP in NewABI. + (md_convert_frag): Use memmove for safe copying of overlapping + regions. + +2003-04-09 Stephane Carrez + + * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort, + -mlong, -mshort-double and -mlong-double options; use table @code. + (M68HC11-Syntax): Update to document 68HC12 operands. + (M68HC11-Modifiers): New section for operand modifiers. + (M68HC11-Directives): New section for specific assembler directives. + (M68HC11-Branch): Fix Overfull hbox error. + +2003-04-09 Alexandre Oliva + + * config/tc-mips.c (macro): Add comments explaining the rationale + for Chris' change. + +2003-04-09 Chris Demetriou + + * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit + constant address that Alexandre took out by accident. Reject + 64-bit addresses that are not sign extensions of 32 bits only if + we don't support 64-bit address constants. + +2003-04-09 Alan Modra + + * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs. + +2003-04-08 Nick Clifton + + * as.c (perform_an_assembly_pass): If using cgen, call + gas_cgen_begin. + * cgen.c (gas_cgen_begin): New function. If + flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok + otherwise call cgen_clear_signed_overflow_ok. + * cgen.h: Prototype gas_cgen_begin. + +2003-04-07 Thiemo Seufer + + * write.c (write_relocs): Remove unused variable. + +2003-04-06 Chris Demetriou + + * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New. + (macro): Use new macro to decide whether to emit constant address + as 32 or 64 bits if addresses are 32-bit wide but registers are + 64-bit wide. + +2003-04-05 Stephane Carrez + + * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define. + (M6811_OP_PAGE_ADDR): New internal define. + (get_operand): New modifier %page and %addr to obtain page and + address part of a far-function. + (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't + complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation + relocs. + (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier. + (find_opcode): Add comment. + (md_estimate_size_before_relax): Force relocation of + STATE_UNDEXED_OFFSET types when the symbol is not absolute. + (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16 + instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32 + on the symbol itself so that DWARF2 strings are merged correctly. + +2003-04-04 Svein E. Seldal + + * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed + default tic4x target format to 'coff2-tic4x'. + * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and + s/c3x/tic3x/ + * config/tc-tic4x.h: Ditto + +2003-04-03 Nick Clifton + + * NEWS: Mention support for Xtensa architecture. + +2003-04-02 Philip Blundell + + * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM. + +2003-04-02 Chris Demetriou + + * config/tc-mips.c (macro2): Adjust implementation of + M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly + in the case where the source and destination registers + are the same. + +2003-04-01 Bob Wilson + + * Makefile.am (CPU_TYPES): Add xtensa. + (TARGET_CPU_CFILES): Add config/tc-xtensa.c. + (TARGET_CPU_HFILES): Add config/tc-xtensa.h. + (xtensa-relax.o): New target. + Run "make dep-am". + * Makefile.in: Regenerate. + * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to + extra_objects for xtensa targets. + * configure: Regenerate. + * write.c (write_object_file): Add new md_post_relax_hook. + * config/tc-xtensa.c: New file. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Set new XTENSA variable. + * doc/as.texinfo: Set new Xtensa variable. Describe + Xtensa-specific options. Define line comment character for + Xtensa. Add Xtensa processors to list of ELF targets where + alignment is specified in bytes. Add new Xtensa-Dependent node. + Add acknowledgements for those contributing to the Xtensa port. + * doc/internals.texi: Describe new md_post_relax_hook. + * doc/c-xtensa.texi: New file. + +2003-04-01 Nick Clifton + Richard Earnshaw + + * config/tc-arm.c: Remove presence of (r) and (tm) symbols. + (ARM_ARCH_IWMMXT): Simplify. + (insns): Place iwmmx instructions in correct place in table. + (arm_add_note): New function: Add a note entry to a .note section. + (md_begin): Make the default architecture be unknown. + Suppress the creation of an arm note section. + +2003-03-26 Eric Christopher + + * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX, + WC_PREFIX, REG_TYPE_IWMMXT): New constants. + (enum wreg_type, enum iwmmxt_insn_type): New types. + (wr_register, wc_register, wcg_register): New macros. + (iwmmxt_table): New variable. + (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc, + do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm, + do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia, + do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc, + do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov, + do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg, + do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero, + cp_byte_address_offset, cp_byte_address_required_here, + check_iwmmxt_insn): New functions. + (asm_opcode_insns): Add iWMMXt instructions. + (md_begin): Set the mach value for iWMMXt targets. Create a note + section to identify iwmmxt binaries. + (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2. + * doc/c-arm.texi: Document the support for the iWMMXt. + * NEWS: Mention new support. + +2003-03-24 Daniel NĂ©ri + + * doc/as.texinfo: Rename the all occurances of C54X to TIC54X. + * doc/all.texi: Likewise. + * doc/c-tic54x.texi: Likewise. + +2003-03-21 Andreas Schwab + + * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to + avoid aliasing issue. + +2003-03-21 Martin Schwidefsky + + * config/tc-s390.c (s390_arch_size): Initialize to zero. + (current_arch_mask): Rename to current_mode_mask. + (current_arch_requested): Remove variable. + (current_cpu): New variable. + (init_default_arch): Set defaults values for s390_arch_size, + current_mode_mask and current_cpu. + (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}. + (md_begin): Replace current_arch_mask by current_cpu. + (md_assemble): Adapt check and error message to current_mode_mask and + current_cpu. + +2003-03-09 James E Wilson + + * macro.c (buffer_and_nest): Store more to sb instead of '\n'. + * read.c (get_line_sb): Return end of line character or '\n' if + it is zero or non-existent. + +2003-03-12 Alexandre Oliva + + * config/tc-mips.c (mips_validate_fix): New function. + * config/tc-mips.h (TC_VALIDATE_FIX): Define. + (mips_validate_fix): Declare. + +2003-03-12 Alexandre Oliva + + * Reverted 2003-03-02's patch. + +2003-03-11 Steve Ellcey + + * dwarf2dbg.c (generic_dwarf2_emit_offset): New. + (TC_DWARF2_EMIT_OFFSET): Provide default. + (out_debug_aranges, out_debug_info): Use it. + * config/tc-ia64.c (ia64_dwarf2_emit_offset): New. + (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ... + (ia64_gen_real_reloc_type): ... here. + * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New. + +2003-03-09 Thiemo Seufer + + * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case. + (s_mips_ent): Likewise. + +2003-03-04 Dmitry Diky + + * config/tc-msp430.c (mcu_types): Add recently announced x1122 + and x1123 devices, add missed x437. + (md_show_usage): Sort device list. + +2003-03-03 J"orn Rennecke + + * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. + (md_begin): Use preset_target_arch. + (md_longopts): Make isa option unconditional. + (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any + set preset_target_arch. + (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups + by -S_GET_VALUE (fixP->fx_subsy). + (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, + and the addend is 0. + Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. + * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. + +2003-03-02 Thiemo Seufer + + * config/tc-mips.c (append_insn): Add handling of + BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded + BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about + misaligned address and reange overflow. + (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add + earlier warnings about misaligned address and reange overflow. + (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + (md_apply_fix): Likewise. Fix warning output. + (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + Allow BFD_RELOC_16_PCREL_S2 for all ABIs. + (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + +2003-02-21 Nick Clifton + + * NEWS: Mention availability of test generator program. + +2003-02-21 Miles Bader + + * config/tc-v850.c (system_registers): Add v850e debug registers. + (system_register_name): Accept up to 27 (the last v850e sys register). + +2003-02-21 Bob Wilson + + * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text + relevant to both COFF and ELF. Fix obvious typos and texinfo bugs. + Capitalize section headings consistently. Format index entries more + consistently. Unconditionalize text about whether text and data + sections are alterable. Use @ifnottex for alternatives to @tex output + so that HTML works. Clean up COFF vs. ELF descriptions of .section, + .size and .type directives. Be more polite about bad bug reports. + Move FDL into a separate file. + * doc/fdl.texi: New file. + +2003-02-21 Richard Sandiford + + * config/tc-mips.c (prev_reloc_op_frag): New variable. + (macro): Check it to decide whether a new frag is needed. + (my_getSmallExpression): Set it. + +2003-02-20 jmc + + * cgen.c: Fix typo: intial -> initial. + +2003-02-19 Jie Zhang + + * app.c (do_scrub_chars): Handle '||' in two states. + +2003-02-13 Alan Modra + + * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change. + * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define. + +2003-02-11 Uwe Stieber + + * configure.in: Add support for kaOS as cross build target system. + * configure: Regenerated. + +2003-02-10 Nick Clifton + + * config/tc-arm.c (md_begin): If the Maverick co-processor is + selected, set the EF_ARM_MAVERICK_FLOAT flag and + bfd_mach_arm_ep9312 machine number. + +2003-02-08 Richard Sandiford + + * config/tc-mips.c (reloc_needs_lo_p): New function. + (fixup_has_matching_lo_p): New function. + (append_insn): Use reloc_needs_lo_p to check whether a relocation + might need a matching %lo(). Reuse the head of mips_hi_fixup_list + if that fixup already has a matching %lo(). Don't call frag_wane here. + (macro): Call frag_wane here if the last unmatched hi was in the + current frag. + (pic_need_relax): New function, split out from... + (md_estimate_size_before_relax): ...here. + (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test + whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. + +2003-02-07 Richard Sandiford + + * config/tc-mips.c (my_getSmallExpression): Rework bracket handling. + +2003-02-06 Alan Modra + + * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that + x@toc+off works. + +2003-02-05 Alan Modra + + * config/tc-ppc.c (mapping): Handle new TLS reloc specs. + (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't + accept x@got+off etc. + (md_assemble): Handle TLS relocs. + (ppc_force_relocation): Force for all TLS relocs. + (ppc_fix_adjustable): Likewise. + (md_apply_fix3): Handle TLS relocs. + +2003-02-04 Alan Modra + + * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and + SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p. + +2003-02-02 Richard Sandiford + + * config/tc-mips.c (enum small_ex_type): Remove. + (imm_unmatched_hi): Remove. + (md_assemble): Remove use of imm_unmatched_hi. Remove the last + argument from calls to append_insn. + (append_insn): Remove unmatched_hi parameter; check reloc_type[0] + instead. + (macro_build): Update append_insn calls. + (mips16_macro_build, macro_build_lui): Likewise. + (mips_ip): Rework handling of small expressions. Move explicit + relocation handling into my_getSmallExpression. Assume that the + value of 'o' operands is zero if there is only one bracketed + expression left. + (percent_op): Make constant. Record the BFD relocation code + associated with each operator. + (my_getSmallParser, my_getPercentOp): Remove. + (parse_relocation): New function. + (my_getSamllExpression): Rework. Fill in relocations here + rather than in mips_ip. + +2003-01-29 Nick Clifton + + * config/tc-i386.c (line_comment_chars): Add '#'. This makes the + assembler's handling of # "" directives work. + +2003-01-28 Jakub Jelinek + + * dwarf2dbg.c: Include filenames.h. + (struct file_entry): Make filename const char *. + (dirs, dirs_in_use, dirs_allocated): New variables. + (get_filenum): Add NUM argument. Build directory table. + (dwarf2_where): Adjust caller. + (dwarf2_directive_file): Use get_filenum to allocate + slot in file and directory tables. + (dwarf2_directive_loc): Recreate full filename from + directory and filename part if needed for listing. + (out_file_list): Output directory table. + Output main source file dirname before its filename. + +2003-01-28 Dmitry Diky + + * config/tc-msp430.c: Replace occurences of 'tolower' with + 'TOLOWER'. + +2003-01-27 David Mosberger + + * config/tc-ia64.c (dot_vframesp): Correct error message. + (dot_vframepsp): Ditto. + +2003-01-27 Alexandre Oliva + + * configure.in (em): Set to irix on all Irix systems. + * configure: Rebuilt. + * config/te-irix.h: New file. + * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide + whether to use Irix-specific 64-bit format. + +2003-01-27 Martin Schwidefsky + + * config/tc-s390.c (s390_elf_cons): Avoid designated initializers. + +2003-01-25 Jakub Jelinek + + * config/tc-sparc.c (sparc_ip): Handle TLS % operators. + (tc_gen_reloc): Handle TLS relocs. + (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff. + * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS + relocs. + * config/obj-elf.c (obj_elf_section_word): Handle tls. + (obj_elf_type): Handle tls_object. + +2003-01-24 Martin Schwidefsky + + * config/tc-s390.c (s390_tls_suffix): New function. + (elf_suffix_type): Add suffix enums for TLS relocations. + (s390_elf_suffix): Add suffix strings for TLS relocations. + (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to + bfd relocations. + (md_gather_operands): Map new instruction operand/elf suffix + combinations for TLS to bfd relocations. + (tc_s390_fix_adjustable): Add new TLS relocations. + (tc_s390_force_relocation): Likewise. + (md_apply_fix3): Likewise. + +2003-01-24 Alan Modra + + * as.h: Update copyright date. + * symbols.c: Likewise. + * config/tc-d10v.h: Likewise. + * config/tc-fr30.h: Likewise. + * config/tc-i960.h: Likewise. + * config/tc-mips.h: Likewise. + + * config/tc-hppa.h (DIFF_EXPR_OK): Define. + (MD_APPLY_SYM_VALUE): Move. + +2003-01-23 Nick Clifton + + * NEWS: Announce sh2e support. + + Add sh2e support: + 2002-04-02 Alexandre Oliva + * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e. + (sh_elf_final_processing): Handle arch_sh2e. + +2003-01-23 Alan Modra + + * symbols.c (S_FORCE_RELOC): Add "strict" param. + * symbols.h (S_FORCE_RELOC): Likewise. + * config/obj-aout.h (S_FORCE_RELOC): Likewise. + * config/obj-bout.h (S_FORCE_RELOC): Likewise. + * config/obj-coff.h (S_FORCE_RELOC): Likewise. + * config/obj-ieee.h (S_FORCE_RELOC): Likewise. + * config/obj-vms.h (S_FORCE_RELOC): Likewise. + * write.c (generic_force_reloc): New function. + (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + (adjust_reloc_syms): Adjust S_FORCE_RELOC call. + * as.h (generic_force_reloc): Declare. + * doc/internals.texi (S_FORCE_RELOC): Update. + (TC_FORCE_RELOCATION_SUB_SAME): Update. + + * config/tc-alpha.c (alpha_force_relocation): Adjust to use + generic_force_reloc. + (alpha_fix_adjustable): Likewise. + * config/tc-arm.c (arm_force_relocation): Likewise. + * config/tc-cris.c (md_cris_force_relocation): Likewise. + * config/tc-frv.c (frv_force_relocation): Likewise. + * config/tc-i386.c (md_apply_fix3): Likewise. + * config/tc-ia64.c (ia64_force_relocation): Likewise. + * config/tc-ip2k.c (ip2k_force_relocation): Likewise. + * config/tc-m32r.c (m32r_force_relocation): Likewise. + * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise. + * config/tc-mcore.c (mcore_force_relocation): Likewise. + * config/tc-mips.c (mips_force_relocation): Likewise. + * config/tc-mmix.c (mmix_force_relocation): Likewise. + * config/tc-ppc.c (ppc_force_relocation): Likewise. + * config/tc-s390.c (tc_s390_force_relocation): Likewise. + * config/tc-sh.c (sh_force_relocation): Likewise. + (md_pcrel_from_section): Likewise. + * config/tc-sparc.c (tc_gen_reloc): Likewise. + * config/tc-v850.c (v850_force_relocation): Likewise. + * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise. + * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise. + * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise. + * config/tc-sparc.h (tc_fix_adjustable): Likewise. + + * config/tc-d10v.c (d10v_force_relocation): Delete. + * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-dlx.c (md_dlx_force_relocation): Delete. + * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-fr30.c (fr30_force_relocation): Delete. + * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-mn10300.c (mn10300_force_relocation): Delete. + * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. + * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call. + * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix. + * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define. + * config/tc-openrisc.c (openrisc_force_relocation): Delete. + * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-sparc.c (elf32_sparc_force_relocation): Delete. + * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF. + * config/tc-i386.c (i386_force_relocation): Delete. + * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for + BFD_ASSEMBLER. + (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting. + * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call + S_FORCE_RELOC. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. + +2003-01-23 Alan Modra + + * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed + sh64_elf_section_data. + * config/tc-sh64.h: Include elf32-sh64.h. + * config/tc-m68hc11.c: Don't include stdio.h. + (md_show_usage): Fix missing continuation. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-01-22 Nick Clifton + + * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts. + +2003-01-21 Fabio Alemagna + + * configure.in: Handle *-*-aros*. + * configure: Regenerated from configure.in. + +2003-01-20 Martin Schwidefsky + + * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff, + gotplt and pltoff relocations. + (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff. + (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff, + gotplt and pltoff to bfd relocations. + (md_gather_operands): Map new instruction operand/elf suffix + combinations to bfd relocations. + (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations + to the list of unadjustable relocations. + (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt + and pltoff relocations. + (md_apply_fix3): Add the new relocations. + +2003-01-20 Martin Schwidefsky + + * config/tc-s390.c (md_apply_fix3): Emit error message for relocations + with a subsy symbol. + +2003-01-17 Stephane Carrez + + * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment + of relocs for memory bank addressing. + +2003-01-17 Stephane Carrez + + * config/tc-m68hc11.c (md_show_usage): Update usage. + (md_parse_option): Recognize -m68hcs12. + (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify + HCS12. + * doc/as.texinfo (Overview): Document new option -m68hcs12. + +2003-01-16 Jakub Jelinek + + * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data. + +2003-01-16 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-01-11 Alan Modra + + * read.c (get_absolute_expr): New, split out from.. + (get_absolute_expression): ..here. + * read.h (get_absolute_expr): Declare. + * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size". + Trim size to arch bits_per_address, and test for negative input + via get_absolute_expr. + +2003-01-07 DJ Delorie + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based + on operand type. + (xstormy16_md_apply_fix3): Use adjustment. + +2003-01-02 Ben Elliston + + * configure.in: Add iq2000-elf target. + * configure: Regenerate. + * config/tc-iq2000.c: New file. + * config/tc-iq2000.h: Likewise. + * po/gas.pot: Regenerate. + +2003-01-02 Chris Demetriou + + * config/tc-mips.c: Update copyright years to include 2003. + (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. + Additionally, clean up their code slightly and clean up their + comments some more. + + * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. + +2003-01-01 Daniel Jacobowitz + + * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi + $(CPU_DOCS)". + * doc/Makefile.in: Regenerate. + +2003-01-01 John David Anglin + + * config/obj-elf.c (special_sections): Work around HP's incorrect usage + of .init and .fini sections for array initializers and finalizers. + +2002-12-31 Chris Demetriou + + * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize + the "+D" operand, which will be used only by the disassembler. + +2002-12-30 Chris Demetriou + + * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and + CPU variants. + * configure: Regenerate. + * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. + (macro_build): Handle "K" operand. + (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where + CPU_HAS_DROR and CPU_HAS_ROR are currently used. + (mips_ip): New variable "lastpos", and implement "+A", "+B", + and "+C" operands for MIPS32 Release 2 ins/ext instructions. + Implement "K" operand for MIPS32 Release 2 rdhwr instruction. + (validate_mips_insn): Implement "+" as a way to extend the + allowed operands, and implement "K", "+A", "+B", and "+C" + operands. + (OPTION_MIPS32R2): New define. + (md_longopts): Add entry for OPTION_MIPS32R2. + (OPTION_ELF_BASE): Adjust to accommodate OPTIONS_MIPS32R2. + (md_parse_option): Handle OPTION_MIPS32R2. + (s_mipsset): Reimplement handling of ".set mipsN" options + and add support for ".set mips32r2". + (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). + (md_show_usage): Document "-mips32r2" option. + * doc/as.texinfo: Document "-mips32r2" option. + * doc/c-mips.texi: Likewise. + +2002-12-30 Dmitry Diky + + * configure.in: Add msp430 target. + * configure: Regenerate. + * Makefile.am: Add msp430 target. + * Makefile.in: Regenerate. + * config/tc-msp430.c: New file: msp430 assembler. + * config/tc-msp430.h: New file: target macros for msp430. + * doc/Makefile.am: Add msp430 target. + * doc/Makefile.in: Regenerate. + * doc/as.texinfo: Include msp430 documenation. + * doc/all.texi: Enable msp430 documentation. + * doc/c-msp430.texi: New file: document msp430 specific features + of the assembler. + +2002-12-25 Alexandre Oliva + + * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro. + (dwarf2_finish): Use it. + * doc/internals.texi (DWARF2_ADDR_SIZE): Document it. + * config/tc-mips.h (DWARF2_ADDR_SIZE): Override. + +2002-12-20 DJ Delorie + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support + BFD_RELOC_XSTORMY16_12. + +2002-12-19 Alan Modra + + * doc/as.texinfo (Invoking): Typo fix. + * config/tc-tic54x.c (encode_operand): Comment typo fix. + +2002-12-18 Kazu Hirata + + * doc/c-alpha.texi: Fix typos. + * doc/c-arm.texi: Likewise. + * doc/c-d10v.texi: Likewise. + * doc/c-i370.texi: Likewise. + * doc/c-i960.texi: Likewise. + * doc/c-ia64.texi: Likewise. + * doc/c-mmix.texi: Likewise. + * doc/c-ns32k.texi: Likewise. + * doc/c-pdp11.texi: Likewise. + * doc/c-pj.texi: Likewise. + * doc/c-sh64.texi: Likewise. + * doc/c-sparc.texi: Likewise. + * doc/c-tic54x.texi: Likewise. + * doc/c-v850.texi: Likewise. + * doc/c-vax.texi: Likewise. + * doc/internals.texi: Likewise. + +2002-12-18 Chris Demetriou + + * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR, + use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I, + M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and + arrange not to issue warnings about use of AT when AT is not + actually used. + +2002-12-17 Nick Clifton + + * as.c (std_longopts): Duplicate --keep-locals entry in order to + prevent it being confused with -k. + +2002-12-16 Andrew MacLeod + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation + has already been set up, use it. + +2002-12-16 Kazu Hirata + + * ChangeLog-9295: Fix a typo. + * README: Likewise. + * config/tc-d10v.c: Fix a comment typo. + * config/tc-dlx.c: Likewise. + * config/tc-h8300.h: Likewise. + * config/tc-h8500.h: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-sh.h: Likewise. + * config/tc-tic80.h: Likewise. + * config/tc-w65.h: Likewise. + * config/tc-z8k.c: Likewise. + * config/tc-z8k.h: Likewise. + * testsuite/gas/h8300/cmpsi2.s: Likewise. + +2002-12-16 Alan Modra + + * config/tc-d30v.c (check_range): Warning fixes, formatting. + Simplify sign extension. Remove redundant unsigned < 0 test. + * config/tc-i960.c (md_ri_to_chars): Prototype. + * config/tc-mcore.c (md_pseudo_table): Fix typo. + (dump_literals): Init brarsym, and test later instead of isforce. + + * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP. + (parse): Constify line and lineptr. + (md_begin): Calculate endop here. + +2002-12-13 Alan Modra + + * config/obj-vms.c: Formatting. Include fnctl.h. + (Create_VMS_Object_File): Fix creat call for sane unix systems. + (Object_Record_Offset): Make it a size_t. + (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning. + (VMS_TBT_Routine_End ): Make var unsigned long. + (VMS_Fix_Indirect_Reference ): Make arg addressT. + (synthesize_data_segment ): Remove ATTRIBUTE_UNUSED. + (vms_fixup_data_section ): Add here instead. + * config/e-criself.c: Fix typo in last change. + +2002-12-13 Alan Modra + + * write.c (write_object_file): Fix signed/unsigned warning. + * config/e-crisaout.c (crisaout_bfd_name): Prototype. + * config/e-criself.c (criself_bfd_name): Prototype. + * config/obj-aout.c (s_sect): Remove unused function. + * config/obj-bout.c (obj_bout_line ): Add ATTRIBUTE_UNUSED. + * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. + (fixup_mdeps ): Add ATTRIBUTE_UNUSED. + * config/obj-ecoff.c (ecoff_frob_file ): Likewise. + * config/obj-vms.c (setup_basic_type ): Likewise. + (VMS_RSYM_Parse ): Likewise. + (vms_fixup_text_section ): Likewise. + (synthesize_data_segment ): Likewise. + (vms_fixup_xtors_section ): Likewise. + (structure_count): Don't use implicit int type. + * config/tc-a29k.c (insert_sreg): Prototype. + (define_some_regs): Prototype, make static. + (parse_operand): Likewise. + (md_parse_option ): Add ATTRIBUTE_UNUSED. + (md_show_usage ): Likewise. + (md_section_align ): Likewise. + (md_convert_frag ): Likewise. + (md_estimate_size_before_relax ): Likewise. + (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s. + * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF. + * config/tc-d30v.c (md_parse_option ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (write_long ): Likewise. + (tc_gen_reloc ): Likewise. + (md_estimate_size_before_relax ): Likewise. + (md_apply_fix3 ): Likewise. + (s_d30v_align ): Likewise. + (build_insn): Correct format string. + (md_apply_fix3): Likewise. + * config/tc-fr30.c (md_parse_option ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (md_cgen_lookup_reloc ): Likewise. + (md_begin): Delete unused vars. + (md_assemble): Likewise. + (md_estimate_size_before_relax): Likewise. + (fr30_relax_frag): #if 0 out, seems unused. + (md_atof): Remove declaration of atof_ieee. + (restore_colon): Prototype. + * config/tc-frv.c (frv_insert_vliw_insn): Prototype. + (frv_find_in_vliw): Likewise. + (frv_debug_tomcat): Likewise. + (frv_adjust_vliw_count): Likewise. + (frv_tomcat_shuffle): Likewise. + (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to + frv_find_in_vliw call. + (md_atof): Remove declaration of atof_ieee. + * config/tc-h8500.c (cons): Delete declaration. + (md_begin ): Constify. + (displacement_size, immediate_size, absolute_size): Remove. + (build_relaxable_instruction ): Add ATTRIBUTE_UNUSED. + (tc_crawl_symbol_chain ): Likewise. + (md_undefined_symbol ): Likewise. + (tc_headers_hook ): Likewise. + (md_parse_option ): Likewise. + (md_show_usage ): Likewise. + (md_convert_frag ): Likewise. + (tc_coff_symbol_emit_hook ): Likewise. + (md_atof): Remove declaration of atof_ieee. + (tc_aout_fix_to_chars): Remove unused function. + (parse_reg): Prototype. + (parse_exp): Prototype. + (skip_colonthing): Prototype. Use &&, not & in logical expressions. + (parse_reglist): Prototype. + (get_operand): Prototype. + (get_operands): Prototype. + (get_specific): Prototype. Make "this_index" signed. + (check): Prototype, make static. + (insert): Prototype + (build_relaxable_instruction): Prototype, make static. + (build_bytes): Prototype. + (wordify_scb): Prototype. + * config/tc-h8500.h (start_label): Declare. + (tc_coff_sizemachdep): Declare. + * config/tc-i370.c (i370_ebcdic ): Add ATTRIBUTE_UNUSED. + (i370_rmode ): Likewise. + (i370_csect ): Likewise. + (i370_dc ): Likewise. + (i370_ds ): Likewise. + (i370_elf_lcomm ): Likewise. + (i370_ltorg ): Likewise. + (i370_using ): Likewise. + (i370_drop ): Likewise. + (i370_byte ): Likewise. + (i370_tc ): Likewise. + (md_estimate_size_before_relax ): Likewise. + (md_convert_frag ): Likewise. + (md_undefined_symbol ): Likewise. + (md_pcrel_from_section ): Likewise. + (tc_gen_reloc ): Likewise. + (i370_section_letter): #if 0 unused functions. + (i370_section_word, i370_section_type, i370_section_flags): Likewise. + (symbol_locate): Prototype. + * config/tc-i860.c (md_atof): Remove declaration of atof_ieee. + (md_number_to_disp, md_number_to_field): Remove. + (md_apply_fix3): Correct format string and cast "fup". + * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args. + (s_endian ): Likewise. + (md_undefined_symbol ): Likewise. + (tc_crawl_symbol_chain ): Likewise. + (tc_set_bal_of_call): Likewise. + (tc_coff_symbol_emit_hook ): Likewise. + (i960_handle_align ): Likewise. + (i960_validate_fix ): Likewise + (tc_gen_reloc
): Likewise. + (tc_coff_symbol_emit_hook): Only define for OBJ_COFF. + (struct memS, struct regop): Forward declare. + (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args, + get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb, + parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop, + reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax, + targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype. + (md_chars_to_number, md_number_to_imm): Make static, prototype. + (md_number_to_field): Likewise. + (md_number_to_disp): Remove unused function. + (md_atof): Remove declaration of atof_ieee. + (md_apply_fix3): Correct md_number_to_imm call. + * config/tc-ip2k.c (md_assemble): Warning fix. + * config/tc-m32r.c (md_parse_option ): Add ATTRIBUTE_UNUSED. + (fill_insn ): Likewise. + (debug_sym ): Likewise. + (md_undefined_symbol ): Likewise. + (m32r_scomm ): Likewise. + (md_convert_frag ): Likewise. + (md_cgen_lookup_reloc ): Likewise. + (m32r_record_hi16 ): Likewise. + (md_estimate_size_before_relax): #if 0 old_fr_fix. + (allow_m32rx): Prototype. + (first_writes_to_seconds_operands): Prototype. + (writes_to_pc): Prototype. + (can_make_parallel): Prototype. + (make_parallel): Prototype. + (target_make_parallel): Prototype. + (assemble_two_insns): Prototype. + (m32r_record_hi16): Prototype. + (md_atof): Remove declaration of atof_ieee. + * config/tc-m32r.h (m32r_fix_adjustable): Declare. + (m32r_force_relocation): Prototype. + (m32r_elf_section_change_hook): Prototype. + * config/tc-m68k.c (tc_gen_reloc
): Add ATTRIBUTE_UNUSED. + (md_show_usage): Fix signed/unsigned warning. + * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned. + (calcop): Ditto for reg_prefix var. + (hexval): Add cast to fix signed/unsigned warning. + (md_number_to_disp): Delete unused function. + (md_number_to_field): Likewise. + (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl. + (match_name): Prototype. + (get_bf2): Prototype. + (get_bf_offset_expression): Prototype. + * config/tc-mcore.c (mcore_s_literals ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_create_short_jump ): Likewise. + (md_create_long_jump ): Likewise. + (md_convert_frag ): Likewise. + (md_apply_fix3 ): Likewise. + (md_section_align ): Likewise. + (md_pcrel_from_section ): Likewise. + (tc_gen_reloc
): Likewise. + (reg_m, reg_n, immediate): Delete unused vars. + (dump_literals): Fix signed/unsigned warning. + (enter_literal): Likewise. + (parse_imm): Likewise. Also fix format string. + (parse_mem): Remove unused var. + (md_assemble ): Abort on unexpected inst. + (md_atof): Remove declaration of atof_ieee. + (md_parse_option): Remove unused vars. + (md_apply_fix3): Fix format strings, cast args. + (tc_gen_reloc): Delete unused var. + * config/tc-mcore.h (tc_coff_sizemachdep): Declare. + * config/tc-mn10200.c (md_parse_option ): Add ATTRIBUTE_UNUSED. + (md_undefined_symbol ): Likewise. + (md_convert_frag ): Likewise. + (tc_gen_reloc ): Likewise. + (check_operand ): Likewise. + (md_convert_frag): Fix format strings. + (tc_gen_reloc): Delete fx_addsy - fx_subsy code. + * config/tc-openrisc.c (ignore_pseudo): Prototype. + (md_atof): Remove declaration of atof_ieee. + * config/tc-or32.c (parse_operand): Prototype non-BFD too. + (md_apply_fix3): Fix bogus >>='s. + (md_undefined_symbol): Delete unused var. + * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype. + (c_to_r, ipush_code, fake_opcode, alias): Likewise. + (fake_opcode): Adjust for pj_opc_int_t change. + (md_begin): Likewise. + (md_assemble): Likewise. + (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc + instead of non-existent third arg of parse_exp_save_ilp. + (md_parse_option): Correct "little" and "big" calls. + * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF. + (md_apply_fix3 ): Add ATTRIBUTE_UNUSED. + (tc_gen_reloc
): Likewise. + * config/tc-tic30.c: #include stdarg.h or varargs.h. + (debug): Rewrite using VA_* macros. + (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args. + (md_convert_frag): Likewise. + (md_parse_option): Likewise. + (md_show_usage): Likewise. + (md_undefined_symbol): Likewise. + (tc_gen_reloc): Likewise. + (md_operand): Likewise. + (tc_aout_pre_write_hook): Delete. + (struct tic30_insn): Make "operands" unsigned. + (struct tic30_par_insn): Likewise. + (md_assemble): Likewise for "count", "i" and "numops". + (tic30_parallel_insn): Likewise for vars here. + (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison. + * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty. + * config/tc-tic80.c (obj_coff_section): Delete declaration. + (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args. + (md_undefined_symbol): Likewise. + (md_parse_option): Likewise. + (md_convert_frag): Likewise. + (tc_coff_symbol_emit_hook): Likewise. + (md_atof): Remove declaration of atof_ieee. + (const_overflow): Warning fixes, tidy. + (get_operands): Delete unused vars. + (internal_error_a): Adjust format string to expect a long for arg. + (find_opcode): Warning fixes, simplify. + (build_insn): Cast internal_error_a arg. + (md_begin): Likewise. + (md_apply_fix3): Likewise. + (md_assemble): Delete unused var. + * config/tc-tic80.h (tc_coff_fix2rtype): Prototype. + * config/tc-z8k.c (cons, obj_coff_section): Delete declarations. + (whatreg, parse_reg, parse_exp): Make static, prototype. + (checkfor, regword, regaddr, get_ctrl_operand): Prototype. + (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise. + (get_operand, get_operands, get_specific, newfix): Likewise. + (apply_fix, build_bytes): Likewise. + (md_atof): Remove declaration of atof_ieee. + (tc_aout_fix_to_chars): Delete. + (md_begin): Constify "opcode". Don't try to init opcode->idx. + Fix s_unseg call. + (md_parse_option): Fix s_segm and s_unseg calls. + +2002-12-12 Alexandre Oliva + + * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument. + Adjust callers. + (RELAX_BRANCH_RELOC_S2): Delete. + (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches. + Do not handle BFD_RELOC_16_PCREL. + (macro_build, mips_ip): Likewise. + (md_pcrel_from): Return 4 for undefined symbols regardless of + mips_pic. + (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches. + Don't dereference howto if no such relocation is available. + Do not apply hack for in-place zero addend in NEWABI. + (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches. + +2002-12-12 Alexandre Oliva , + Alan Modra + + * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define. + (TC_LINKRELAX_FIXUP): Add comments. + +2002-12-12 Alexandre Oliva + + * config/tc-mn10300.c (set_arch_mach): Change argument type to + avoid warnings. + (r_register_name, xr_register_name): Add prototype declarations. + +2002-12-08 H.J. Lu + + * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack + copied from tc-i386.c. + +2002-12-08 Stephane Carrez + + Fix Bug savannah/1825: + * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code. + (md_relax_table): Define specific relax for PC-rel offsets. + (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code. + (m68hc11_relax_frag): Handle the new relax code. + (md_convert_frag): Likewise. + (md_estimate_size_before_relax): Likewise. + +2002-12-08 Alan Modra + + * subsegs.c (section_symbol): Use the symbol, not the section, name. + +2002-12-05 Richard Henderson + + * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X. + (ia64_gen_real_reloc_type): Handle it. + (pseudo_func): Add @ltoffx. + (md_begin): Build .. + (ia64_force_relocation): True for LTOFF22X and LDXMOV. + +2002-12-05 Alan Modra + + * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF. + Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles + ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF. + * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and + COFF to call arm_force_relocation. + +2002-12-04 David Mosberger + + * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" + instruction. + (emit_one_bundle): Handle "hint" instruction. + (operand_match): Match IA64_OPND_AR_CSD. + +2002-12-04 Alan Modra + + * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype + inside #if. + +2002-12-03 Nick Clifton + + * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on + .PPC.EMB.apuinfo sections. + +2002-12-03 Richard Henderson + + * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. + +2002-12-03 Alan Modra + + * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg. + (cons, s_align_bytes): Delete declaration. + (relax): Delete. + (md_begin): Constify "struct opinfo *" var. Don't try to make "name" + strings common. + (dot): Delete unused function. + (w65_expression): Remove unused arg. + (parse_exp): Prototype. Remove unused arg. Adjust w65_expression + call. + (get_operands): Prototype. Constify "struct opinfo *" arg. Fix + parse_exp call. + (get_specific): Prototype. Constify "struct opinfo *" arg and return + value. + (check): Remove unused function. + (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort + on unhandled switch case. + (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify + "opcode". + (tc_crawl_symbol_chain): Delete unused function. + (tc_headers_hook): Likewise. + (tc_Nout_fix_to_chars): Likewise. + (md_undefined_symbol): Add ATTRIBUTE_UNUSED. + (md_parse_option): Likewise. + (md_convert_frag): Likewise. + (tc_coff_symbol_emit_hook): Likewise. + (md_show_usage): Likewise. + * config/tc-w65.h (tc_coff_sizemachdep): Declare. + (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg. + (w65_expression): Declare. + + * po/POTFILES.in: Regenerate. + + * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE + and ARM_ADRL_IMMEDIATE. + +2002-12-02 Nick Clifton + + * gasp.c: Delete. It has been deprecated. + * NEWS: Mention that gasp has been removed. + * Makefile.am: Remove references to gasp. + * makefile.vms: Likewise. + * mpw-make.sed: Likewise. + * Makeile.in: Regenerate. + * doc/gasp.texi: Delete. + * doc/Makefile.am: Remove references to gasp.texi. + * doc/Makefile.in: Regenerate. + * macro.c: Delete references to gasp. + Remove use of comment_char function parameter as it is no longer + needed. + * macro.h: Update prototypes to remove comment_char parameter. + Fix formatting. + * read.c (read_a_source_file, s_irp): Remove comment_char + parameter from invocation of functions in macro.c + +2002-12-02 Hans-Peter Nilsson + + * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump. + +2002-12-01 Stephane Carrez + + * config/tc-m68hc11.c (md_begin): Fix qsort warning. + (tc_gen_reloc): Mark section param as not used. + +2002-12-01 Stephane Carrez + + Fix Bug savannah/1825: + * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations + that are not pc-relative. + (m68hc11_relax_frag): Declare. + + * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle + the offsetable indexed addressing modes (n,r). + (build_insn): Cleanup some locals. + (m68hc11_relax_frag): New function imported from tc-cris.c to handle + relaxation of difference between two symbols of same section. + (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement + only when this is a PC-relative operand and the offset is not absolute. + (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag + to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will + be handled by m68hc11_relax_frag. + +2002-12-01 Stephane Carrez + + * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default + (32-bit int, 64-bit double). + (md_longopts): New options -mshort, -mlong, -mshort-double and + -mlong-double to control the ABI. + (md_show_usage): Update. + (md_parse_option): Handle new options. + * doc/as.texinfo (Overview): Document new options for HC11/HC12. + +2002-12-01 Nathan Sidwell + + * symbols.c (report_op_error): New function, broken out of ... + (resolve_symbol_value): ... here. Use for both monadic and dyadic + operators. + +2002-11-30 Kaz Kojima + + * config/tc-sh.c (md_apply_fix3): Take account of fx_offset + for BFD_RELOC_32_PLT_PCREL. + +2002-11-30 Alan Modra + + * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c, + config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c, + config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c, + config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h, + config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, + config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c, + config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c, + config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h, + config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c, + config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c, + config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c, + config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c, + config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c, + config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with + TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with + TRUE/FALSE. Formatting. + +2002-11-29 Nick Clifton + + * config/tc-arm.c (do_t_bkpt): If no operand is specified, + assume a value of zero. + (do_bkpt): Likewise. + +2002-11-29 Kaz Kojima + + * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL + for TLS relocations. + +2002-11-29 Jakub Jelinek + + * config/tc-ia64.c (md_apply_fix3): Add default case. + +2002-11-28 Jakub Jelinek + + * symbols.c (S_SET_THREAD_LOCAL): New function. + * symbols.h (S_SET_THREAD_LOCAL): New prototype. + * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL + for TLS relocations. + * config/tc-ia64.c (md_apply_fix3): Likewise. + * config/tc-alpha.c (md_apply_fix3): Likewise. + +2002-11-28 Jakub Jelinek + + * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment + to entsize. + +2002-11-26 DJ Delorie + + * config/tc-cris.c (cris_relax_frag): Fix typo in comment. + (md_assemble): Don't pass on branches to constants as relaxable. + Tweak comment. + +2002-11-25 Svein E. Seldal + + * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode + +2002-11-21 Randolph Chung + + * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols + only if they have default visibility. + +2002-11-21 Richard Henderson + + * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant + S_IS_DEFINED test. + +2002-11-21 Alan Modra + + * config/tc-mcore.c (mcore_pool_count): New function. + (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it. + +2002-11-20 Klee Dienes + + * config/tc-mcore.c (md_begin): Use a const iterator. Don't + coalesce the name fields to use the same pointer. + + * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce + the name fields to use the same pointer. + (get_specific): Check for opcodes with the same name using strcmp + as well as comparing the pointer. + +2002-11-20 Alan Modra + + * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with + fx_subsy non-NULL. + +2002-11-19 Richard Henderson + + * config/obj-elf.c (obj_elf_visibility): Overwrite only the + visibility portion of st_other. + +2002-11-19 Klee Dienes + + * config/tc-h8300.c (struct h8_instruction): New type, used to + wrap h8_opcodes with length, noperands, idx, and size fields + (computed at run-time). + (h8_instructions): New variable. + (md_begin): Allocate the storage for h8_instructions. Fill + h8_instructions with pointers to the appropriate opcode and the + correct value for the additional fields. + (clever_message): Update to use h8_instructions instead of + h8_opcodes. + (build_bytes): Ditto. + (get_specific): Ditto. + (md_assemble): Ditto. + +2002-11-19 Martin Schwidefsky + + * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent + adjustments to symbols in merge sections. + +2002-11-19 Luke Deller + + * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. + +2002-11-18 Kevin Buettner + + * dwarf2dbg.h (dwarf2_format): New enum. + * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition. + (out_debug_line, out_debug_info): Add code for handling 64-bit + DWARF 2 formats. + * config/tc-mips.h (mips_dwarf2_format): Declare. + * config/tc-mips.c (mips_dwarf2_format): New function. + * doc/internals.texi (DWARF2_FORMAT): Document. + +2002-11-18 Alexandre Oliva + + * config/tc-mips.c (s_change_section): Make sure input buffer + is not accessed past the end. Don't hand + obj_elf_change_section a pointer into the input buffer. + +2002-11-18 Alexandre Oliva , Chris Demetriou + + * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of + GOT_LO16 on NEWABI. + +2002-11-18 Svein E. Seldal + + * config/tc-tic4x.c: Fixed proper commandline + parameters. Added support for new opcode-list format. General + error message fixups. + (c4x_inst_add): Reject insn not for our CPU + (md_begin): Added matrix for setting the proper opcode-level & + device-flags according to cpu type and revision. Rewrite the + opcode hasher. + (c4x_operand_parse): Fix opcode bug + (c4x_operands_match): New function argument. Added dry-run + mechanism, that is optional error generation. Added constraint 'i' + and 'j'. + (c4x_insn_check): Added new function for post-verification of the + generated insn. + (md_assemble): Check all opcodes before croaking because of an + argument mismatch. Need this to be able to fully support + ortogonally arguments. + (md_parse_options): Revised commandprompt swicthes and added new + ones. + (md_show_usage): Complete rewrite of printout. + +2002-11-16 Svein E. Seldal + + * config/tc-tic4x.c: Remove c4x_pseudo_ignore function. + (c4x_operands_match): Added check for 8-bits LDF insn. Give + warning when using constant direct bigger than 2^16. Add the new + arguments. + +2002-11-11 Christopher Faylor + + * configure.in: Use .gdbinit under Cygwin. + * configure: Regenerate. + +2002-11-11 Christopher Faylor + + * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if + STRICT_PE_FORMAT. + +2002-11-11 Svein E. Seldal + + * config/tc-tic4x.c: Declare as many functions as possible as + static. Maintenance on the general indenting. Removed unnecessary + pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore + function. Add support for new DSP, TMS320VC33. Fix bug for + converting flonum constants. + (c4x_do_align): Add proper align handling. Setup align to insert + NOP's. + (c4x_gen_to_words): Support for extended TI type floats. + (md_atof): Proper dumping of multiple-word littlenums. + (c4x_atof): Added support for extended TI type floats. + (c4x_stringer): Added new function to handle compact strings. + (c4x_emit_char): Added new function argument to handle custom + length inserts, like single-byte strings. + * config/tc-tic4x.h: Add proper align handling with NOP's. + * Makefile.am: Added tic4x dependecy + * Makefile.in: Regenerate + +2002-11-11 Hans-Peter Nilsson + + * macro.c (get_any_string): Correct logic for not going beyond end + of in->ptr[]. + +2002-11-10 Hans-Peter Nilsson + + * config/tc-mmix.c (get_putget_operands): Mark both possible + operands as invalid at beginning. + + * config/tc-mmix.c (md_convert_frag) : + Initialize target of fixup to zero. + +2002-11-07 Alexandre Oliva + + * config/tc-mips.c (macro_build_lui): _gp_disp is not special on + NEWABI, but we should still emit HI16_S for non-PIC n32. + +2002-11-06 Richard Henderson + + * config/tc-alpha.c (alpha_validate_fix): Move code ... + (alpha_fix_adjustable): ... here. + * config/tc-alpha.h (TC_VALIDATE_FIX): Remove. + +2002-11-07 Eric Kohl + + * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character + of a label. + +2002-11-05 H.J. Lu + + * config/tc-mips.c (support_64bit_objects): Check *l before it + is freed. + +2002-11-04 Danny Smith + + * config/obj-coff.c (obj-coff-section): Set SEC_DATA and + SEC_LOAD flags for sections marked as 's'. + +2002-11-01 Alan Modra + + * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero. + (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK. + * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed + default. + + * dep-in.sed: Fix typo. + +2002-10-30 Daniel Jacobowitz + + * configure.in: Update ARM CPU patterns. + * configure: Regenerated. + +2002-10-29 Daniel Jacobowitz + + * itbl-lex.l: Use #include <> for generated headers. + * itbl-ops.c: Likewise. + +2002-10-28 Daniel Jacobowitz + + * doc/gasp.texi: Fix typo in deprecation note. + +2002-10-23 Nick Clifton + + * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to + _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc. + +2002-10-23 Hans-Peter Nilsson + + * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare. + (tc_frob_file_before_adjust): Don't define. + * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused + function. + (mmix_frob_file_before_adjust): Remove ineffective function. + +2002-10-23 Hans-Peter Nilsson + + * config/tc-cris.c (SIMPLE_EXPR): New macro. + (cris_relax_frag): New function. + (md_estimate_size_before_relax) : Pass on unresolved + expressions that will become absolute expressions to relaxation. + (md_convert_frag) : Expect only absolute expressions. Use the symbol + value, not distance to symbol. + : + Ditto. Correct placement of fixup. + (md_assemble): Use SIMPLE_EXPR when dissecting expressions. + (gen_bdap): Ditto. + * config/tc-cris.h (cris_relax_frag): Declare. + (md_relax_frag): Define. + +2002-10-22 Alan Modra + + * config/obj-elf.c (special_sections): Use correct types for init + array sections. + (obj_elf_change_section): Don't mess with init array section type. + +2002-10-21 Richard Sandiford + + * config/tc-mips.c (mips_need_elf_addend_fixup): Return true + for relocs against symbols in a merged section. + +2002-10-18 Alexandre Oliva + + * config/tc-mips.c (md_begin): Add $fcc registers to the symbol + table as register names. + +2002-10-18 Ulrich Weigand + + * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32 + for option -m31. + +2002-10-18 Svein E. Seldal + + * expr.c (operand): Add support for n.nn flonums. + +2002-10-17 Johannes Stezenbach + + * itbl-parse.y (entry): Provide empty action. + +2002-10-16 Alan Modra + + * configure.in (BFDVER_H): Set and subst. + * dep-in.sed: Replace bfdver.h with $(BFDVER_H). + * Makefile.am: Run "make dep-am". + (BFDVER_H): Define. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2002-10-15 Alan Modra + + * config/tc-i386.h (EXTERN_FORCE_RELOC): Define. + (MD_APPLY_SYM_VALUE): Define for PE too. + +2002-10-14 Alan Modra + + * Makefile.am: Run "make dep-am". + (CPU_OBJ_VALID): sh64 coff is invalid. + * as.c: #include "bfdver.h". + * Makefile.in: Regenerate. + * config.in: Regenerate. + +2002-10-14 Momchil Velikov + + * config/tc-v850.c (CHECK_): Remove token pasting operator. + +2002-10-14 Richard Sandiford + + * configure.in (mips64vr-elf, mips64vrel-elf): New config. + * configure: Regenerate. + +2002-10-13 Eric Christopher + Alexandre Oliva + + * config/tc-mips.c (s_gpdword): New function. + (mips_pseudo_table): Add .gpdword. + (mips_need_elf_addend_fixup): never for NEWABI. + (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or + GPREL32 as done. + (s_cpadd): Generate .cpadd on NEWABI. + +2002-10-12 Elias Athanasopoulos + + * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int. + +2002-10-12 Alexandre Oliva + + * config/tc-mips.h (mips_relax_frag): Take segment as argument. + (md_relax_frag): Adjust macro. + * config/tc-mips.c (mips_relax_branch): New variable. + (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY, + RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New. + (RELAX_MIPS16_P): Adjust. + (append_insn): Emit branch to non-constant in a frag_var if + branch-relaxation is desirable and possible. + (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options. + (OPTION_ELF_BASE): Adjust. + (md_parse_option): Handle new options. + (md_apply_fix3): Update comment on EMBEDDED_PIC conditional + branch relaxation. + (relaxed_branch_length): New function. + (md_estimate_size_before_relax): Handle branch frags. + (mips_relax_frag): Likewise. + (md_convert_frag): Handle branch frags. Warn if branch is + relaxed. + +2002-10-11 Kaz Kojima + + * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get + emitted. + (md_apply_fix3): Add TLS relocs. + (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and + @DTPOFF. + +2002-10-11 Michel Six + Alan Modra + + * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz. + (md_estimate_size_before_relax): Likewise for 8 bit branches. + +Thu Oct 10 14:31:30 2002 J"orn Rennecke + + * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n + inside loop. + +2002-10-09 Richard Shann + Stephen Clarke + + * config/tc-sh64.c (sh64_target_format): Add support for sh64 + Linux environment. + +2002-10-03 Kaz Kojima + + * contig/tc-sh.c (sh_local_pcrel): New. + (sh_force_relocation): Use sh_local_pcrel. + (md_pcrel_from_section): Check the relocation type whether it + should be resolved locally. Use S_FORCE_RELOC. + +2002-10-01 Alan Modra + + * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define. + (TC_FORCE_RELOCATION): Tidy arg. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + DJ Delorie + Michael Meissner + Eric Christopher + Richard Sandiford + + * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, + vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. + * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. + (hilo_interlocks): True for CPU_VR5500. + (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. + (mips_fix_vr4122_bugs): New. + (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. + (mips_emit_delays): Likewise. + (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. + [M_ROLI]: Likewise ror if CPU_HAS_ROR. + (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. + (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. + (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. + (OPTION_ELF_BASE): Bump. + (md_parse_option): Handle the new options. + (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, + vr5400 and vr5500. + +2002-09-29 H.J. Lu + + * config/tc-mips.c (md_apply_fix3): Subtract the symbol value + twice if howto->pcrel_offset is true. + +2002-09-28 Matt Thomas + Jason Thorpe + + * config/tc-vax.c (md_estimate_size_before_relax): Only try to + convert undefined references to GOT32/PLT32 if PIC code is + requested. Fix comment. + +2002-09-27 Kaz Kojima + + * config/tc-sh.c (sh_force_relocation): Return 0 for + some PC relative relocations when not relaxing. + +2002-09-26 Jakub Jelinek + + * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. + Define them if not BFD_ASSEMBLER. + (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add + @tlsld. + (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, + BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. + (tc_gen_reloc): Handle x86-64 TLS relocs. + +2002-09-27 Alan Modra + + * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel + fixups to current or absolute section. + +2002-09-26 Jim Wilson + + * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix + and frag_more. + +2002-09-26 Thiemo Seufer + + * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 + capable configuration. + (macro_build): Check for MIPS16 capability, not for actual MIPS16 code + generation. + (mips_ip): Likewise. + +2002-09-26 Thiemo Seufer + + * config/tc-mips.c (append_insn): Fix jump overflow check. + +2002-09-24 Alan Modra + + * config/tc-i386.c (process_operands): Warn about "lea" segment + overrides. + +2002-09-22 Mark Elbrecht + + * write.c: Delete set_segment_vma and prototype. Update all callers. + +2002-09-21 Alan Modra + + * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL, + S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. + Rename "fseg" to "sym_seg". + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2002-09-20 Nick Clifton + + * symbols.c (colon): Do not allow symbols to be created in the + absolute section if WORKING_DOT_WORD is not defined and + new_broken_words would require a new frag to be created. + +2002-09-20 Alan Modra + + * expr.c (expr): Simplify foo-foo here. + (clean_up_expression): Remove O_subtract code. + + * write.h (struct fix): Add fx_dot_value. + (dot_value): Declare. + * write.c (dot_value): New var. + (fix_new_internal): Save dot_value as fx_dot_value. + (fixup_segment): Adjust fx_offset using fx_dot_value. + * expr.c (expr): Update dot_value. + +2002-09-19 Jakub Jelinek + + * config/tc-i386.c (tc_i386_fix_adjustable): Handle + BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. + (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 + if not defined. + (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. + (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and + BFD_RELOC_386_TLS_GOTIE. + +2002-09-19 Richard Henderson + + * config/tc-alpha.c (md_pcrel_from): Only adjust special for + branch type relocs. + (alpha_force_relocation): Don't special-case branch type relocs. + +2002-09-19 Nick Clifton + + * config/tc-m68k.c (select_control_regs): Handle situation where + architecture has not yet been selected. + +2002-09-18 Chris Demetriou + + * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. + (IS_SEXT_16BIT_NUM): New macro. + (macro_build_ldst_constoffset): New function, to build a set of + instructions to do a load or store from a constant offset relative + to a given register. + (macro, s_cprestore): Use macro_build_ldst_constoffset to implement + .cprestore pseudo-op. + +2002-09-18 Chris Demetriou + + * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. + +2002-09-18 Thiemo Seufer + + * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup. + +2002-09-17 Stan Cox + + * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi. + (macro): Likewise for la. Likewise for ld. + (mips_after_parse_args): Make -xgot optional, not the default. + (md_apply_fix3): Allow composite relocation to set up gp. + (tc_gen_reloc): Allow relaxing for newabi. + Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. + Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local. + +2002-09-17 Nick Clifton + + * config/tc-arm.c (md_apply_fix3): Note that an implemented + BFD_RELOC_ARM_IMMEDIATE has been done. + (tc_gen_reloc): Do not issue reloc number of unimplemented + BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - + their name is already in the error message - plus remove them + from the default case. + + * config/tc-arm.c (do_ldmstm): Warn about unpredictable + behavior of instructions. + +2002-09-17 Svein E. Seldal + + * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. + Convert functions to K&R format. + +2002-09-17 Thiemo Seufer + + * config/tc-mips.c (pdr_seg): Define only for ELF. + (s_change_section): Remove unused variable. Don't use for nonELF. + +2002-09-17 Thiemo Seufer + + * config/obj-elf.c (obj_elf_change_section): Move prototype to + obj-elf.h + * config/obj-elf.h (obj_elf_change_section): Likewise. + +2002-09-16 Elias Athanasopoulos + + * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. + (out_debug_info): Likewise. + +2002-09-16 Bruno Haible + + * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. + (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". + * config/tc-i386.c (i386_target_format): Likewise. + * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. + (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". + +2002-09-13 Nick Clifton + + * config/tc-ppc.c (md_assemble): Do not count FAKE operands + when deciding if any operands have been skipped. + +2002-09-11 Nick Clifton + + * NEWS: New TI port supports both C4x and C3x series of DSPs. + + * po/tr.po: Updated Turkish translation. + +2002-09-11 Jakub Jelinek + + * config/tc-i386.c (md_apply_fix3): Allow addend for + BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and + BFD_RELOC_386_TLS_LE_32. + +2002-09-05 Jeff Law + + * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for + marker relocations such as ENTRY/EXIT. + * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies + to both OBJ_ELF and OBJ_SOM. + +2002-09-05 Alan Modra + + * doc/internals.texi (md_apply_fix3): Expand. + (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, + TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, + TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, + TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC, + EXTERN_FORCE_RELOC): Document. + (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove. + * as.h: Don't include struc-symbol.h for arc. + (IS_ELF): Define. + * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to + subtract absolute symbol. + * obj.h (struct format_ops): Add frob_file_before_fix. + * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag. + * symbols.c (S_FORCE_RELOC): New function. + * symbols.h (S_FORCE_RELOC): Declare. + * write.c (TC_FORCE_RELOCATION): Change default. + (TC_FORCE_RELOCATION_ABS): Define. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (TC_FORCE_RELOCATION_SECTION): Don't define. + (TC_FORCE_RELOCATION_SUB_SAME): Define this instead. + (TC_FORCE_RELOCATION_SUB_ABS): Define. + (TC_FORCE_RELOCATION_SUB_LOCAL): Define. + (TC_VALIDATE_FIX_SUB): Define. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define this instead. + (abs_section_sym): New variable. + (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable + call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests. + Don't put the absolute section sym on fixups here. + (fix_segment): New function. + (write_relocs): Don't call fixup_segment from here. + (write_object_file): Instead call tc_frob_file_before_fix, + obj_frob_file_before_fix, and fix_segment prior to symbol table code. + Don't output the absolute section symbol. + (fixup_segment): Rewrite. + * write.h (abs_section_sym): Declare. + * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from + obj_aout_frob_file. + (aout_format_ops): Adjust to suit. + * config/obj-aout.h (obj_frob_file): Don't define. + (obj_frob_file_before_fix): Define. + (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file. + (S_FORCE_RELOC): Define. + * config/obj-bout.h (S_FORCE_RELOC): Define. + * config/obj-coff.c (coff_format_ops): Init new field. + * config/obj-coff.h: Formatting fixes. + (obj_sec_sym_ok_for_reloc): Define. + (S_FORCE_RELOC): Define. + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out .. + (ecoff_frob_file): .. from here. + (ecoff_format_ops): Add new function. + * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare. + (obj_frob_file_before_fix): Define. + * config/obj-elf.c (elf_format_ops): Init new field. + * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment. + * config/obj-ieee.h: Formatting fixes. + (S_FORCE_RELOC): Define. + * config/obj-multi.h (obj_frob_file_before_fix): Define. + * config/obj-vms.h (S_FORCE_RELOC): Define. + * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment. + (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0 + for BFD_RELOC_32 and BFD_RELOC_64. + (alpha_fix_adjustable): Remove extern and weak tests. + (alpha_before_fix): Rename from alpha_adjust_symtab. + (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs. + * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare. + (TC_VALIDATE_FIX): Tweak param name. + (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (MD_APPLY_SYM_VALUE): Define. + (tc_adjust_symtab): Don't define. + (alpha_adjust_symtab): Don't declare. + (tc_frob_file_before_fix): Define. + (alpha_before_fix): Declare. + (TC_INIT_FIX_DATA): Tweak param names. + * config/tc-arc.c: Include "struc-symbol.h". + (md_pcrel_from): Remove undefined sym fudge. + (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. + Don't set fx_addnumber. + (tc_gen_reloc): Remove spurious fx_addnumber comment. + * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define. + (EXTERN_FORCE_RELOC): Define. + * config/tc-arm.c (md_apply_fix3 ): Remove. + (tc_gen_reloc): Fudge ARM_GOTPC addend. + (arm_validate_fix): Return void. + (arm_fix_adjustable ): Remove extern and weak tests. + Add plt and got reloc tests. + (arm_force_relocation): Call S_FORCE_RELOC. + * config/tc-arm.h (struct fix): Forward declare. + (TC_VALIDATE_FIX): No longer set add_symbolP. + (arm_validate_fix): Adjust declaration. + (TC_FORCE_RELOCATION ): Call i386_force_relocation. + (i386_force_relocation): Declare. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (TC_FORCE_RELOCATION ): Call S_FORCE_RELOC. + * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type. + * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define. + (EXTERN_FORCE_RELOC): Define. + * config/tc-i960.c (reloc_callj): Remove declaration. Return false. + (md_apply_fix3): Don't cast valP pointer type. Move code here from + old fixup_segment. No need to test fx_pcrel before setting fx_done. + (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro. + Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad. + Remove #if 0 code. Invert return boolean. + * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name. + (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise. + (tc_headers_hook, tc_coff_fix2rtype): Remove declaration. + (tc_coff_sizemachdep): Prototype. + (i960_handle_align): Likewise. + (i960_validate_fix): Adjust declaration. + (reloc_callj): Likewise. + (EXTERN_FORCE_RELOC): Define. + (TC_FORCE_RELOCATION_SUB_SAME): Define. + (TC_FORCE_RELOCATION_ABS): Define. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define. + * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC. + * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC. + * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define. + (MD_APPLY_SYM_VALUE): Define. + (EXTERN_FORCE_RELOC): Define. + (TC_FORCE_RELOCATION): Tweak param name. + * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC. + (m32r_fix_adjustable): Don't test extern, weak. + * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name. + (MD_APPLY_SYM_VALUE): Define. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define. + (tc_frob_file): Don't define. + (tc_frob_file_before_fix): Define. + (EXTERN_FORCE_RELOC): Define. + * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust + BFD_RELOC_VTABLE_ENTRY address. + (tc_m68hc11_force_relocation): Call S_FORCE_RELOC. + (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol. + (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. + Remove duplicated fx_done code. + * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define. + (EXTERN_FORCE_RELOC): Define. + * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test + relaxable_symbol. + * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FIX_ADJUSTABLE): Don't define. + (EXTERN_FORCE_RELOC): Define. + (MD_APPLY_SYM_VALUE): Define. + (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. + * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type. + Remove fx_addsy tests. + (mcore_force_relocation): Call S_FORCE_RELOC. + (mcore_fix_adjustable): Don't test fx_addsy. + * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name. + (EXTERN_FORCE_RELOC): Define. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define. + (MD_APPLY_SYM_VALUE): Define. + * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h. + (mips_pic): No longer static. + (mips_force_relocation): Call S_FORCE_RELOC. + (mips_fix_adjustable): Remove extern, weak tests. + * config/tc-mips.h (enum mips_pic_level): Declare. + (mips_pic): Declare. + (tc_frob_file): Don't define. + (tc_frob_file_before_fix): Define this instead. + (EXTERN_FORCE_RELOC): Define. + * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests + with reg_section tests. Set fx_done instead of calling + symbol_clear_used_in_reloc on bad relocs. + (tc_gen_reloc): Zero fx_addsy on bad relocs. + (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC. + (mmix_adjust_symtab): Simplify list handling. Abort on any + nonsense. + * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check + BFD_RELOC_MMIX_LOCAL. + (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt. + (EXTERN_FORCE_RELOC): Define. + (MD_PCREL_FROM_SECTION): Tweak param name. + (tc_frob_file): Don't define. + (tc_frob_file_before_fix): Define this instead. + * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC. + Remove SEC_CODE checks. + (mn10300_fix_adjustable): Remove extern and weak tests. + * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define. + (TC_FORCE_RELOCATION): Tweak param name. + (obj_fix_adjustable): Don't define. + (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE. + * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name. + * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC. + (openrisc_fix_adjustable): Don't test fx_addsy. + * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define this instead. + (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. + * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type. + (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. + Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. + * config/tc-or32.h (EXTERN_FORCE_RELOC): Define. + (MD_APPLY_SYM_VALUE): Define. + * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type. + Don't subtract symbol value. + * config/tc-pj.h (md_pcrel_from): Tweak param name. + (EXTERN_FORCE_RELOC): Define. + (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. + (MD_APPLY_SYM_VALUE): Define. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define this instead. + * config/tc-ppc.c (ppc_frob_symbol ): Ignore absolute + section sym. + (ppc_force_relocation ): Call S_FORCE_RELOC. + (ppc_force_relocation ): New. + (ppc_fix_adjustable ): Remove extern and weak tests. + (md_apply_fix3): Don't subtract symbol values for ELF. Update + comments. Don't subtract fx_subsy as that is already done. + * config/tc-ppc.h (tc_fix_adjustable): Tweak param name. + (MD_PCREL_FROM_SECTION): Likewise. + (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling + ppc_force_relocation. + (TC_FORCE_RELOCATION_SECTION): Delete. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (MD_APPLY_SYM_VALUE): Define. + * config/tc-s390.c: #include "dwarf2dbg.h". + (s390_insn): Remove excess parens. + (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests. + (tc_s390_force_relocation): Call S_FORCE_RELOC. + (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy + non-NULL. Don't subtract off fx_addsy value. + * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define. + * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h. + (SWITCH_TABLE): Likewise. + (sh_force_relocation): Call S_FORCE_RELOC. + (sh_fix_adjustable): Remove "return 1" cases handled by the default. + Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests. + (md_apply_fix3 ): Simplify, + fx_addnumber is zero on entry. Save val in fx_addnumber. + (tc_gen_reloc): Don't subtract fx_subsy. + * config/tc-sh.h (struct fix): Move. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define this instead. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define. + (SWITCH_TABLE_CONS): Define. + (SWITCH_TABLE): Define. + (TC_FORCE_RELOCATION_SUB_SAME): Define. + (TC_VALIDATE_FIX_SUB): Define. + (MD_PCREL_FROM_SECTION): Tweak param name. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (TC_FORCE_RELOCATION_SUB_ABS): Define. + * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (TC_FORCE_RELOCATION_SUB_SAME): Define. + (TC_VALIDATE_FIX_SUB): Define. + (MD_PCREL_FROM_SECTION): Tweak param name. + * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value. + (tc_gen_reloc): Use S_FORCE_RELOC. + (elf32_sparc_force_relocation): Call S_FORCE_RELOC. + * config/tc-sparc.h (TC_FORCE_RELOCATION ): Remove. + (TC_FORCE_RELOCATION_ABS): Define this instead. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FORCE_RELOCATION_LOCAL): Define this instead. + (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC. + (MD_APPLY_SYM_VALUE): Define. + (TC_FIX_DATA_PRINT): Tweak param name. + * config/tc-tic30.c (USE_STDOUT): Don't define. + (md_parse_option): Remove stupid debug code. + (tc_gen_reloc): Don't use fx_addnumber. + * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests. + (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC. + * config/tc-v850.h (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define this instead. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define this instead. + (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. + * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. + (TC_FIX_ADJUSTABLE): Don't define. + (MD_APPLY_SYM_VALUE): Define this instead. + (tc_fix_adjustable): Remove extern and weak tests. + * config/tc-w65.h (struct fix): Forward declare. + * config/tc-xstormy16.c (xstormy16_force_relocation): Call + S_FORCE_RELOC. + (xstormy16_fix_adjustable): Remove extern and weak tests. Don't + call xstormy16_force_relocation; Instead test for FPTR16 reloc. + (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract + absolute symbol. + * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define. + (MD_APPLY_SYM_VALUE): Define. + (obj_fix_adjustable): Don't define. + (tc_fix_adjustable): Define this instead. + (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. + +2002-09-04 Alan Modra + + * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix. + (ppc_fix_adjustable ): Cleanup. + + * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. + (md_parse_option): No -a64 without BFD64. + (ppc_set_cpu): Select appropriate cpu when ppc_obj64. + (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. + +2002-09-04 Nick Clifton + + * config/tc-ppc.c (md_begin): Do not insert non-BookE32 + instructions into the hash table if the target cpu is the BookE32. + +2002-08-31 Hans-Peter Nilsson + + * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not + ATTRIBUTE_UNUSED. + +2000-08-28 Catherine Moore + + * tc-v850.c (v850_relax): Declare. + (v850_longcode): New routine. + (v850_handle_align): New routine. + (md_pseudo_table): Add longcall and longjump. + (md_parse_option): Check for relax option. + (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL, + BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN. + (md_apply_fix3): Likewise. + (v850_force_relocation): Likewise. + (v850_comm): Change the current section. + (md_assemble): Ensure that the correct value is put in the + fixup. + (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, + v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping. + Remove redundant v850ea support. + * tc-v850.h (HANDLE_ALIGN): Define. + (v850_handle_align): Declare. + * doc/c-v850.c: Document -mrelax, .longcall and .longjump. + +2002-08-28 Svein E. Seldal + + * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets. + * configure: Regenerate. + * NEWS: Mention new port. + +2002-08-28 Michael Hayes + + * config/obj-coff.c: Add sdef definition. + * config/obj-coff.h: Add tic4x include file and set + target format. + * config/tc-tic4x.c: New file. + * config/tc-tic4x.h: New file. + +2002-08-28 Alan Modra + + * write.c (BFD_FAST_SECTION_FILL): Remove unused macro. + (TC_ADJUST_RELOC_COUNT): Tweak param name. + (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. + (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. + (RELOC_ENUM): Define. + (fix_new_internal): Use RELOC_ENUM. + (fix_new, fix_new_exp): Likewise. + (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. + Replace gotos with continue. + (write_relocs): Formatting. Avoid symbol loops in + RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange + errors, and error number in other cases. + (fixup_segment): Remove param names from prototype. Rename + "this_segment_type" to "this_segment". Update linkrelax comment. + Remove "size, "place" and "where" local vars. Formatting. Update + "no symbol" comment. Remove #if 0 and #if 1. + + * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy. + +2002-08-27 Alan Modra + + * dwarf2dbg.c: Always include dwarf2dbg.h. + (dwarf2_directive_file): Adjust dummy version args. + * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. + * expr.c (clean_up_expression ): Allow subtraction + when symbol values differ. + * read.c (do_align): Add ATTRIBUTE_UNUSED to label. + (pseudo_set ): Remove unnecessary segment test. + * config/obj-bout.c (obj_pseudo_table): Warning fix. + +2002-08-26 Alan Modra + + * config/tc-w65.c (md_section_align): Fix typo. + (md_parse_option): Return 0, not 1. + +2002-08-22 Nick Clifton + + * doc/as.texinfo (Section): Note that if '@' is a comment + character then another symbol is used to prefix the section's + type. + +2002-08-22 Christian Groessler + + * config/tc-z8k.c (get_operands): Adjust ptr variable also in + "case 0" case. + +2002-08-12 Graeme Peterson + + * configure.in: Add support for sh-**-nto* target. + * configure: Regenerate. + +2002-08-21 Nitin Gupta + + * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. + +2002-08-21 Elena Zannoni + + * config/tc-ppc.c (ppc_cleanup): Do something only if format + is ELF. + (ppc_apuinfo_section_add): Define only if format is ELF. + (md_assemble): Emit APUinfo section only if format is ELF. + Fix formatting. + +2002-08-21 Alan Modra + + * config/tc-arc.c (md_pseudo_table ): Cast. + * config/tc-frv.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-ip2k.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-mmix.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-v850.c: Likewise. + +2002-08-20 Richard Sandiford + + * config/tc-mips.c (macro2): Implement rotates by zero using shifts + by zero. + +2002-08-19 Elena Zannoni + + From matthew green + + * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere + PPC_OPCODE_PPC is, except for BookE architectures. + (md_parse_option): Add support for -mspe. + (md_show_usage): Add -mspe. + (md_parse_option): Add support for -me500 and + -me500x2 to generate code for Motorola e500 core complex. + (md_show_usage): Add -me500 and -me500x2. + + (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, + PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, + PPC_APUINFO_BRLOCK): New macros. + + (ppc_cleanup): New function. + (ppc_apuinfo_section_add): New function. + (APUID): New macro. + (md_assemble): Collect info and write the APUinfo section. + + * config/tc-ppc.h (md_cleanup): Define. + (ppc_cleanup): Export. + (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section. + +2002-08-17 Stan Cox + + * config/obj-elf.c (obj_elf_change_section): Make non-static. + config/tc-mips.c (s_change_section): New function to support + IRIX .section pseudo-op. + +2002-08-16 Nick Clifton + + * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f". + +2002-08-15 Alexandre Oliva + + * config/tc-mips.c (macro_build_jalr): Make sure we generate + the fix-up against on the right frag. + (s_cpsetup): Likewise. Parse third argument as expression, to + handle global symbols and forward/backward labels correctly. + +2002-08-14 Nick Clifton + + * read.c (stringer): Catch attempts to create strings in the abs + section. + + * config/tc-alpha.c: Fix compiling for COFF targets. + Some minor formatting tidyups. + +2002-08-13 Stephane Carrez + + * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove. + (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag + according to the reloc. + (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. + (TC_FORCE_RELOCATION): Define. + (tc_m68hc11_force_relocation): Declare. + + * config/tc-m68hc11.c (md_pseudo_table): Add relax command. + (s_m68hc11_relax): New function for relax group. + (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at + beginning of jump instruction. + (md_pcrel_from): Rename from md_pcrel_from_section and fix + address computation. + (tc-gen_reloc): Update. + (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as + PC-relative fixup. + (tc_m68hc11_force_relocation): New function, handle new relocs. + (tc_m68hc11_fix_adjustable): New to make sure there are enough + reloc for the linker relax pass. + (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP + and VTABLE relocs. + +2002-08-13 Stephane Carrez + + * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function. + (md_pseudo_table): Add .mode, .far and .interrupt pseudo op. + (s_m68hc11_mode): New function for .mode pseudo op. + (s_m68hc11_mark_symbol): New function for .far and .interrupt + pseudo op. + * config/tc-m68hc11.h (elf_tc_final_processing): Define. + (m68hc11_elf_final_processing): Declare. + +2002-08-13 Stephane Carrez + + * config/tc-m68hc11.c (md_begin): Take into account additional + page operand for call instruction. + (print_opcode_format): Likewise. + (check_range): Likewise for page range checking. + (get_operand): Don't skip a possible comma in operands. + (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. + (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. + (fixup24): New to handle call reloc. + (build_insn): Handle missing page operand for call instruction. + (find): Likewise. + (md_apply_fix3): Take into account new relocs. + (get_operand): Fix the mode for indexed indirect addressing. + (build_indexed_byte): Fix post index byte for indexed indirect mode. + +2002-08-12 Richard Sandiford + + * config/tc-mips.c (mips_ip): Don't work out the value of + constant %hi()s here. + +2002-08-10 Alan Modra + + * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR + for ELF, and don't bother checking ELF relocs when non-ELF. + (i386_immediate): Allow absolute_section expressions for aout. + (i386_displacement): Likewise. Also test bfd_is_com_section. + (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. + (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, + not when fx_addsy. Remove dead code. + +2002-08-09 Graeme Peterson + + * configure.in: Add support for ppc-*-nto* target. + * configure: Regenerate. + +2002-08-09 Alan Modra + + * config/tc-i386.h: Reorganize. + +2002-08-09 Maciej W. Rozycki + + * config/tc-mips.c (macro): Handle a register plus a 16-bit + immediate offset in "dla" and "la" expansions. + +2002-08-09 Alan Modra + + * configure.in: bfd_gas=yes for all i386 targets. Formatting. + Remove "bfd_gas=yes" from target table when covered later. + Consolidate some entries. + * configure: Regenerate + +2002-08-09 Jakub Jelinek + + * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix () + at start of insn, pass it to output_disp and output_imm. + (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen + in displacement for R_386_32 reloc, use R_386_GOTPC and compute + properly addend. + (output_imm): Added arguments. Compute properly addend for + R_386_GOTPC. + (md_apply_fix3): Remove R_386_GOTPC handling. + +2002-08-06 George France + + * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a + and m21264b processor names and cpu types. + * doc/c-alpha.texi: Documented new types. + +2002-08-06 Alan Modra + + * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. + +2002-08-01 Richard Sandiford + + * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend + handling to BFD_RELOC_MIPS16_GPREL. + +2002-08-01 Nick Clifton + + * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal + pool is computed using signed arithmetic so that proper sign + extension is performed if X_add_number is a 64-bit integer. + +2002-08-01 H.J. Lu + Daniel Jacobowitz + + * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced + .debug_line section unless it has line information. + +2002-07-31 Ian Dall + + * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype. + * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage): + Allow default displacement size to be an option "--disp-size-default". + (md_number_to_disp): Make error messages include value. Use %d to + print integers, not %s. + (fix_new_ns32k): Conditionally set fx_no_overflow so we don't + get duplicate messages sometimes. + (convert_iif): Grow frag to max possible instruction size. Avoid + creating unnecessary fixes. + (md_number_to_field) Add prototype. + (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add + prototypes and make static. + (struct addr_mode): Make mode and scaled_mode explicitly signed. + (evaluate_expr): Use resultP argument instead of exprP global. + (get_addr_mode): Quiten compiler warnings. + (encode_operand): eliminate unused variables. Quiten compiler + warnings. Eliminate nul character in format strings. + (parse): argc is unsigned. + (reloc): Type cast index to quieten compiler. + (md_pcrel_adjust, md_apply_fix3): Remove unused variable. + (md_convert_frag): Note unused parameters. Remove unused + variables. + (md_create_long_jump, md_create_short_jump, + md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note + unused parameters. + +2002-07-31 Nick Clifton + + * NEWS: Retroactively add entry for Lars Brinkhoff's contribution + of the PDP-11 and 2.11BSD a.out support. + +2002-07-31 Momchil Velikov + + * config/tc-v850.c (md_assemble): Fix range check for immediate + operand. + +2002-07-30 Chris Demetriou + + * config/tc-mips.c (mips_cpu_info_table): Clean up entries related + to Broadcom SB-1 core support. + +2002-07-31 Thiemo Seufer + + * config/tc-mips.c (mips_target_format): Fix formatting. + Add recognition of n32 ABI formats. + +2002-07-30 Maciej W. Rozycki + + * tc-mips.c (load_address): Don't clobber $at when loading a + 64-bit address in non-PIC code if noat is in effect. + (macro): Likewise. + +2002-07-30 Maciej W. Rozycki + + * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions + used in division/multiply macro expansions similarly to how they + are used in the variants with break instructions. + (macro2): Likewise. + +2002-07-30 Graeme Peterson + + * configure.in: Add support for arm-*-nto target. + * configure: Regenerate. + +2002-07-30 Nick Clifton + + * config/tc-arm.c (struct literal_pool): Add fields to allow + multiple literal pools to be maintained. + (find_literal_pool): New function. + (find_or_make_literal_pool): New function. + (add_to_literal_pool): Use find_or_make_literal_pool. + (arm_s_text, arm_s_data, arm_s_section): Remove - no longer + needed. + (s_ltorg): Use find_literal_pool. + (arm_cleanup): Dump all literal pools. + * doc/c-arm.texi: Document new behaviour of only dumping literal + pools upon request. + +2002-07-26 Alan Modra + + * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default + rather than PPC_OPCODE_32 for powerpc64*. + +2002-07-25 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/fr.po: Updated French translation. + +2002-07-25 Richard Sandiford + + * doc/c-mips.texi: Remove -mcpu. Document -mabi. + * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro. + (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros. + * configure, config.in: Regenerate. + * config/tc-mips.c (file_mips_abi): Rename to mips_abi. + (mips_set_options): Remove "abi" field. + (mips_opts): Update accordingly. Replace all uses of mips_opts.abi + with mips_abi. + (mips_cpu): Remove. + (mips_arch_string, mips_arch_info): New vars. + (mips_tune_string, mips_tune_info): New vars. + (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros. + (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI. + (mips_isa_to_str, mips_cpu_to_str): Remove. + (mips_ip): If the selected architecture is a generic ISA rather + than a processor, only mention the ISA level in error messages. + (OPTION_MCPU): Remove. + (OPTION_FP64): New. + (md_longopts): Add -mfp64, remove -mcpu. + (mips_set_option_string): New fn. + (md_parse_option): Make -mipsN update file_mips_isa rather than + mips_opts.isa. Use mips_set_option_string to set -march or -mtune. + Don't let -mgp32 and -mfp32 change the ABI. + (show): Move to end of file. Constify string argument. + (md_show_usage): Move to the end of the file. Read available + architectures from mips_cpu_info_table. + (mips_set_architecture): New fn. + (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN + is an alias for -march=mipsN. Don't change the ABI based on other + flags. Infer the register size from the ABI as well as the + architecture. Complain about more conflicting arguments. + Unify logic with GCC. + (s_mipsset): Don't change the ABI. + (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32. + (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just + "mipsN"-type entries. Remove entries that vary only in the + manufacturer's prefix, or that have "000" replaced by "k". + Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000. + (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. + (mips_parse_cpu): New fn. + (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove. + (mips_cpu_info_from_isa): Minor formatting tweak. + +2002-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + +2002-07-23 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * config.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-07-23 Nick Clifton + + * po/fr.po: Updated French translation. + +2002-07-23 Nick Clifton + + * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for + GAS. + +2002-07-19 Thiemo Seufer + + * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL + instead of S_IS_EXTERN. + (md_estimate_size_before_relax): Likewise. + (mips_fix_adjustable): Likewise. + +2002-07-19 Thiemo Seufer + + * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. + +2002-07-19 Miroslav Tichy + Nick Clifton + + * cond.c (s_ifdef): Treat a referenced but not yet defined + symbol as if it were undefined, in exactly the same way as + .equiv. + + * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv + consider referenced bug not yet defined symbols to be + undefined. + +2002-07-18 Denis Chertykov + Frank Ch. Eigler + Alan Lehotsky + John Healy + Jeff Johnston + + * configure.in: Add ip2k configuraton. + * configure: Regenerate. + * Makefile.am: Add ip2k configuraton. + * Makefile.in: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + * config/tc-ip2k.c: New file. + * config/tc-ip2k.h: New files. + * NEWS: Mention new support. + * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Set IP2K + * doc/as.texinfo: Add IP2K description. + * doc/c-ip2k.texi: New file. + +2002-07-19 Nick Clifton + + * NEWS: Reformat to match style of other NEWS files. + +2002-07-17 Jan Hubicka + + * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. + +2002-07-16 Moritz Jodeit + + * config/tc-z8k.c (build_bytes): Correct order of memset args. + +2002-07-16 Nick Clifton + + * NEWS: Add 'Changes in 2.13'. + +2002-07-15 Matt Fredette + + * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD. + +2002-07-12 Alan Modra + + * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte + case with non CODE_64BIT case. Don't warn on "qword ptr" if + not CODE_64BIT. + +2002-07-11 Alan Modra + + * config/tc-ppc.c (ppc_elf_frob_symbol): Delete. + (ppc_frob_file_before_adjust): New function. + * config/tc-ppc.h (tc_frob_symbol): Don't define. + (ppc_elf_frob_symbol): Don't declare. + (tc_frob_file_before_adjust): Define. + (ppc_frob_file_before_adjust): Declare. + + * config/tc-ppc.c (md_pseudo_table): Warning fix. + (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode + flags. + (ppc_size): Delete. + (ppc_xcoff64): Rename to ppc_obj64. + (md_parse_option ): Encode old ppc_size value in ppc_cpu. + (ppc_set_cpu): Set PPC_OPCODE_32 too. + (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 + or bfd_mach_ppc. + (ppc_target_format): Use ppc_obj64 to select format. + (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. + (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. + (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. + (tc_frob_symbol): Likewise. + (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on + BFD_DEFAULT_TARGET_SIZE. + (ppc_tc): Likewise. + (ppc_is_toc_sym): Likewise. + (md_apply_fix3): Likewise. + * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on + BFD_DEFAULT_TARGET_SIZE. + (ELF_TC_SPECIAL_SECTIONS): Likewise. + (tc_frob_symbol): Likewise. + +2002-07-09 Thiemo Seufer + + * config/tc-mips.c (macro_build): Handle MIPS16 insns. + (mips_ip): Likewise. + +2002-07-09 Alan Modra + + * config/tc-i386.c (md_pseudo_table ): Warning fix. + (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. + (md_apply_fix3): Formatting. Remove redundant test. + (tc_gen_reloc): Remove redundant code. + (tc_i386_force_relocation): Delete. Movy body of function to.. + * config/tc-i386.h (TC_FORCE_RELOCATION): .. here. + +2002-07-09 Federico G. Schwindt + + * configure.in: Add hppa-*-openbsd* target, change + alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* + with sparc64 cpu. + * configure: Regenerate. + +2002-07-08 Maciej W. Rozycki + + * config/tc-mips.c (macro): Shift the 32-bit address range + accessible with a lone "lui" down by 32768. + +2002-07-08 Maciej W. Rozycki + + * config/tc-mips.c (load_address): Use non-trapping "daddu" + instead of "dadd" in address calculations. + (macro): Likewise. + +2002-07-08 Alan Modra + + * config/tc-i386.c (process_suffix): Remove intel mode movsx and + movzx fudges. + (md_assemble): Instead, zap the suffix here. + +2002-07-03 Nick Clifton + + * NEWS: Remove next release number until the release is actually + upon us. + +2002-07-03 Alan Modra + + * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. + Run "make dep-am". + * Makefile.in: Regenerate. + +2002-07-02 Martin Schwidefsky + + * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment + to symbols in merge sections, even non pc-relative ones. + +2002-06-29 Stephane Carrez + + * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. + +2002-06-29 Stephane Carrez + + * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections + .softregs and .eeprom. + +2002-06-28 David O'Brien + + * NEWS: Note the next release is 2.13. + +2002-06-26 Nick Clifton + + * po/tr.po: New translation imported. + +2002-06-26 Elias Athanasopoulos + + * ecoff.c: (get_tag): Replace strcpy with xstrdup. + (ecoff_directive_def): Likewise. + (ecoff_directive_tag): Likewise. + * listing.c (file_info): Likewise. + * hash.c (what): Likewise. + +2002-06-25 H.J. Lu + + * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. + * Makefile.in: Regenerated. + +2002-06-19 Dhananjay R. Deshpande + + * config/tc-sh.c (get_specific): Revert 2002-05-01 change. + (assemble_ppi): Generate warning if the same register is used + twice as destination in the same padd / pmuls instruction. + +2002-06-18 Dave Brolley + + From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley + * po/POTFILES.in: Add tc-frv.c, tc-frv.h. + * configure.in: Support frv-*-*. + * Makefile.am (CPU_TYPES): Add frv. + (TARGET_CPU_CFILES): Add tc-frv.c. + (TARGET_CPU_HFILES): Add tc-frv.h. + (DEPTC_frv_coff): New variable. + (DEPTC_frv_elf): New variable. + (DEPOBJ_frv_coff): New variable. + (DEPOBJ_frv_elf): New variable. + (DEP_frv_coff): New variable. + (DEP_frv_elf): New variable. + * tc-frv.c: New file. + * tc-frv.h: New file. + +2002-06-17 Catherine Moore + + * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. + +2002-06-17 J"orn Rennecke + + * config/tc-sh.c (assemble_ppi): Initialize reg_n. + +2002-06-17 Tom Rix + + * config/tc-i370.h (tc_comment_chars): Define for i370-elf. + +2002-06-14 H.J. Lu + Daniel Jacobowitz + + * dwarf2dbg.h (dwarf2_directive_file): Return char *. + * dwarf2dbg.c (dwarf2_directive_file): Return filename. + * config/tc-mips.c (s_mips_file): Call s_app_file_string + and new_logical_line for the first .file directive. + * read.c (s_app_file_string): New function. + (s_app_file): Call it. + * read.h (s_app_file_string): Add declaration. + +2002-06-14 Daniel Jacobowitz + + * configure.in: Remove MIPS_STABS_ELF. + * configure: Regenerated. + * config.in: Regenerated. + * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug + for MIPS targets. + * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around + ".extern". + (pdr_seg): Declare unconditionally. + (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. + (s_mips_end): Likewise. Generate stabs function markers. + (s_mips_ent): Generate stabs function markers. + (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not + ELF. + (s_mips_mask): Likewise. + (mips_flag_mdebug): New. + (md_longopts): Add "mdebug" and "no-mdebug". + (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. + (mips_after_parse_args): Set mips_flag_mdebug. + * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. + +2002-06-13 Maciej W. Rozycki + + * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's + value twice for RELA relocations. + +2002-06-12 Ben Elliston + + * symbols.c (resolve_symbol_value): Initialise final_val. + + * subsegs.c (subsegs_print_statistics): Cast frchp to void *. + +2002-06-11 Tom Rix + + * config/tc-ppc.c (ppc_subseg_align): Delete. + (ppc_change_csect): Default csect align is 2. + * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete + +2002-06-09 Marek Michalkiewicz + + * config/tc-avr.c (mcu_types): Update. + +2002-06-08 Matt Thomas + + * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) + (vax-*-netbsd*): New targets. + * configure: Regenerate. + * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. + * config/tc-vax.c: Add support for ELF and PIC. + (flag_want_pic): New flag. + (float_cons): Fix prototype. + (md_apply_fix3): Adjust for BFD_ASSEMBLER. + (md_assemble): Introduce a new is_absolute local, and use it + rather than repeating the test. Make fatal errors actually + fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. + Add support for ELF. Add support for PIC. + (md_convert_frag): Adjust for BFD_ASSEMBLER. + (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not + BFD_ASSEMBLER. + (vax_reg_parse): Make the % register prefix mandatory for ELF, + optional for a.out, and not allowed for VMS. Adjust all callers. + (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. + (md_create_long_jump): Likewise. + (md_undefined_symbol): Likewise. + (md_section_align): Likewise. + (md_shortopts): Allow -k and -K for ELF. + (md_parse_option): Set flag_want_pic if -k or -K. + (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. + (tc_gen_reloc): New function if BFD_ASSEMBLER. + * config/tc-vax.h (tc_headers_hook): Remove. + (TARGET_FORMAT): Set according to object format and target + environment. + (BFD_ARCH, TARGET_ARCH): Define. + (NO_RELOC): Adjust for BFD_ASSEMBLER. + (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) + (tc_fix_adjustable): Define if BFD_ASSEMBLER. + * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. + +2002-06-08 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + + * as.c: Replace CONST with const. + * write.c: Likewise. + * config/obj-coff.c: Likewise. + * config/tc-a29k.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-dlx.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-h8500.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i860.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-m88k.c: Likewise. + * config/tc-mcore.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-ns32k.c: Likewise. + * config/tc-pdp11.c: Likewise. + * config/tc-pj.c: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-tahoe.c: Likewise. + * config/tc-tic80.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-vax.c: Likewise. + * config/tc-w65.c: Likewise. + * config/tc-z8k.c: Likewise. + +2002-06-08 Daniel Jacobowitz + + Based on patch from Matt Green: + * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. + * config/tc-mips.c (s_mips_file): Renamed from s_file. + (s_mips_loc): New function. + (mips_nonecoff_pseudo_table): Call them. + (append_insn): Call dwarf2_emit_insn. + +2002-06-08 Thiemo Seufer + + * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set + to -1. + (file_ase_mips16): New veriable. + (mips_eabi64): Remove. + (CPU_HAS_MIPS16): New define. + (CPU_HAS_MDMX): Fix data type. + (md_begin): Code cleanup. Use file_ase_mips16. + (mips_elf_final_processing): Handle mips16 header flag. + Handle EABI flag without intermediate variable. + +2002-06-08 Thiemo Seufer + + * doc/as.texinfo: Update MIPS documentation. + +2002-06-08 Thiemo Seufer + + * config/tc-mips.c: Add define for $zero register. + (md_begin): Add $zero as alias name for $0. + (insn_uses_reg): Use ZERO define. + (mips_ip): Add $zero as alias name for $0. + (mips16_ip): Likewise. + (s_cplocal): Demand empty rest of input line. + (tc_get_register): Likewise. Add support for $kt0, kt1 register + names. Use ZERO define. Fix input_line_pointer progress. + +2002-06-07 Alan Modra + + * symbols.c: Replace CONST by const throughout. + (symbol_find_exact): Split out from.. + (symbol_find_base): ..here. + * symbols.h: Replace CONST by const throughout. + (symbol_find_exact): Declare. + * config/obj-elf.c: #include "struc-symbol.h". + (elf_frob_file): If group name matches an exported symbol, use that + symbol for the signature and ".group" as the section name. + +2002-06-06 J"orn Rennecke + + * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, + but warn about it. + +2002-06-06 Daniel Jacobowitz + + * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d + and mips_opts.ase_mdmx if they are uninitialized. + +2002-06-06 John David Anglin + + * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. + (hppa_force_relocation): Check if a stub just before the start symbol + of the last call_info is reachable before forcing relocation. Fix + typo. + +2002-06-04 Maciej W. Rozycki + + * config/tc-mips.c (mips_after_parse_args): New function. + (md_begin): Move processing of defaults to mips_after_parse_args. + config/tc-mips.h (md_after_parse_args): Define. + +2002-06-04 Jason Thorpe + + * configure.in (sh5*): Set cpu_type to sh64 and endian to big. + (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. + (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. + * configure: Regenerate. + * config/tc-sh64.c (sh64_target_format): Add support for NetBSD + environment. + +2002-06-04 Jason Thorpe + + * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. + +2002-06-04 Alan Modra + + * config/obj-elf.c (obj_elf_change_section): Set and check elf + linkonce flag. Print all warnings. + (obj_elf_section): Parse ",comdat" for groups. + (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check + consistency of comdat flag. + +2002-06-02 Richard Henderson + + * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko + with LITERALs without sequence numbers. + +2002-06-01 Richard Henderson + + * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". + Rename them LITUSE_ALPHA_*. + +2002-05-31 Shrinivas Atre + + * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to + accept parentheses enclosed register lists. + +2002-05-31 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-05-31 Graeme Peterson + + * configure.in: Add i386-*-nto-qnx*. + * configure: Regenerate. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (mips_ip): Use unsigned long values for + warning output. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (s_cpsetup): Fix initialization of + mips_cpreturn_register and mips_cpreturn_offset. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (s_cpsetup): Fix comment. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (md_begin): Add $ra as alias name for $31. + (mips_ip): Likewise. + (mips16_ip): Likewise. + (tc_get_register): Likewise. + +2002-05-30 Chris G. Demetriou + Ed Satterthwaite + + * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. + (mips_opts): Initialize "ase_mdmx" member. + (file_ase_mdmx): New variable. + (CPU_HAS_MDMX): New macro. + (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx + based on command line options and configuration defaults. + (macro_build): Note in comment that use of MDMX in macros is + not currently allowed. + (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and + "Z" MDMX operand types. + (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, + and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand + types. + (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): + Add support for "-mdmx" and "-no-mdmx" options. + (OPTION_ELF_BASE): Move to accommodate new options. + (s_mipsset): Support ".set mdmx" and ".set nomdmx". + (mips_elf_final_processing): Set MDMX ASE ELF header flag if + file_ase_mdmx was set. + * doc/as.texinfo: Document -mdmx and -no-mdmx options. + * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set + nomdmx" directives. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to + OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" + command line switch conforming to gcc conventions. + * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (macro_build_jalr): New Function. + (md_begin): NewABI uses big GOTs. + (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, + BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. + (load_address): Add some NewABI PIC support. + (macro): Likewise. + (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. + (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. + +2002-05-31 Thiemo Seufer + + * config/tc-mips.c (load_address): Use mips_gp_register instead + of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES + instead. + (macro): Use mips_gp_register instead of hardcoded value. + +2002-05-30 Richard Henderson + + * expr.h (operatorT): Add O_md17..O_md32. + * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, + O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, + O_tprelhi, O_tprello, O_tprel): New. + (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. + (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. + (LITUSE_TLSGD, LITUSE_TLSLDM): New. + (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, + saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. + (md_apply_fix3): Handle TLS relocations. + (alpha_force_relocation, alpha_fix_adjustable): Likewise. + (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the + associated TLS reloc. Check lituse_tls relocs match up. + (emit_insn): Handle TLS relocations. + (ldX_op): Remove. + + * doc/c-alpha.texi: Add docs for tls relocations. + +2002-05-30 Thiemo Seufer + + * config/tc-mips.c (mips_gprel_offset): New variable. + (s_gpvalue): Use it. + +2002-05-30 Diego Novillo + + * gas/config/tc-d10v.c (check_resource_conflict): Only check + write-write conflicts. + (md_assemble): Reformat introductory comment. + (parallel_ok): Prevent packing only if the first + instruction cannot be packed. + +2002-05-30 Jason Eckhardt + Tom Rix + + * config/tc-d10v.c (build_insn): Check for immediates. + +2002-05-28 Thiemo Seufer + + * config/tc-mips.c: Replace GP in comments by $gp. + (mips_big_got): Initialize. + (mips_trap): Initialize. + (load_address): Use mips_gp_register instead of hardcoded value. + Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. + (macro): Use mips_gp_register instead of hardcoded value. + (macro2): Change load_address calls. + (md_pcrel_from): Comment formatting. + (s_cpload): Use mips_gp_register instead of hardcoded value. + (s_cprestore): Likewise. Comment formatting. + (s_gpword): Fix data type. + (s_cpadd): Use mips_gp_register instead of hardcoded value. + (nopic_need_relax): Replace GP in comments by $gp. + (mips_elf_final_processing): Better comment. + +2002-05-28 Kuang Hwa Lin + + * configure.in: Add DLX configuraton + * Makefile.am: Add DLX configuraton + * configure: Regenerate. + * Makefile.in: Regenerate. + * config/tc-dlx.c: New file. + * config/tc-dlx.h: New files. + * NEWS: Mention new support. + +2002-05-27 Nick Clifton + + * config/obj-coff.c (write_object_file): Add missing semicolon. + +2002-05-26 Thiemo Seufer + + * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA + by the define. Remove superfluous check of mips_opts.mips16. + (append_insn): Likewise. Canonicalize variable increments. + (macro_build): Canonicalize variable increments. + (macro_build_lui): Likewise. + (load_register): Likewise. + (load_address): Move pointer initialization. + (macro): Move pointer to a more local scope. Canonicalize variable + increments. Better comments. Replace magic constant for RA by the + define. + (macro2): Replace magic constant for RA by the define. Canonicalize + variable increments. + (mips_ip): Canonicalize variable increments. + (mips16_ip): Replace magic constant for RA by the define. + (my_getSmallParser): Canonicalize variable increments/decrements. + (my_getPercentOp): Likewise. + (my_getSmallExpression): Likewise. + (s_align): Likewise. + (s_mipsset): Likewise. + (s_cpsetup): Likewise. + (s_insn): Remove superfluous check of mips_opts.mips16. + (s_mips_stab): Likewise. + (mips_handle_align): Canonicalize variable increments. + (s_mips_ent): Likewise. + (s_mips_end): Add comment. + +2002-05-26 Jason Thorpe + + * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. + * configure: Regenerate. + +2002-05-25 Alan Modra + + * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. + * Makefile.in: Regenerate. + * dep-in.sed: Reorder to match OBJS in Makefile.am. + * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. + * configure: Regenerate. + * as.h: Use #include "" instead of <> for local header files. + * flonum-konst.c: Likewise. + * flonum-mult.c: Likewise. + * gasp.c: Likewise. + * listing.c: Likewise. + * config/tc-ia64.h: Likewise. + * config/tc-v850.h: Likewise. + +2002-05-24 TAMURA Kent + + * configure.in: Add a target for i386-netbsdpe. + * configure: Regenerate. + +2002-05-23 Jakub Jelinek + + * config/obj-elf.c (elf_common): Renamed from obj_elf_common. + (obj_elf_common): Call elf_common. + (obj_elf_tls_common): New function. + (elf_pseudo_tab): Support .tls_common. + (special_sections): Add .tdata and .tbss. + (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS + sections. + (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). + (obj_elf_parse_section_letters): Include T in error message. + * config/tc-ppc.c (ppc_section_letter): Likewise. + * config/tc-alpha.c (alpha_elf_section_letter): Likewise. + (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as + SEC_MERGE. + * config/tc-sparc.c (md_apply_fix3): Likewise. + * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. + Define them if not BFD_ASSEMBLER. + (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF + and @NTPOFF. + (md_apply_fix3): Add TLS relocs. + * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, + FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, + FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. + (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). + (ia64_elf_section_letter): Include T in error message. + (md_begin): Support TLS operators. + (md_operand): Likewise. + (ia64_gen_real_reloc_type): Support TLS relocs. + * write.c (adjust_reloc_syms): Don't change symbols in + SEC_THREAD_LOCAL sections to STT_SECTION + addend. + +2002-05-23 Nick Clifton + + * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc + round the relocation up rather than down. + +2002-05-23 Nick Clifton + + * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' + flag. + * doc/as.texinfo: Document that the COFF version of .section + ignores the 'a' flag. + +2002-05-23 Alan Modra + + * config/tc-alpha.c (assemble_tokens): Protect use of + ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. + + * write.c (size_seg): Check adjustment to last frag. + (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to + section alignment. + * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. + * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. + (write_object_file): Invoke md_do_align if available, and use + frag_align_code on text sections. + * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. + * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. + * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. + * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. + * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for + BFD_ASSEMBLER too. + +2002-05-22 H.J. Lu + + * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file + for source file. + +2002-05-22 Nick Clifton + + * config/tc-arm.c (arm_s_section): Enable for COFF builds as well + as ELF builds. + +2002-05-22 H.J. Lu + + * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol + for one .loc for compiler. + +2002-05-22 Thiemo Seufer + + * config/tc-mips.c (macro): Relax warning, it's toot strict for + embedded-PIC. + +2002-05-22 Thiemo Seufer + + * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. + Optimize the rotate by zero case. + +2002-05-21 Nick Clifton + + * configure.in: Remove accidental enabling of bfd_gas=yes for + sh-coff targets. + * configure: Regenerate. + +2002-05-18 Kazu Hirata + + * app.c: Fix formatting. + * as.c: Likewise. + * ehopt.c: Likewise. + * expr.c: Likewise. + * input-file.c: Likewise. + * listing.c: Likewise. + * macro.h: Likewise. + * stabs.c: Likewise. + * symbols.c: Likewise. + +2002-05-17 Alan Modra + + * config/obj-generic.c: Delete file. + * config/obj-generic.h: Likewise. + +2002-05-16 Marek Michalkiewicz + + * config/tc-avr.c (mcu_types): Update for new devices. + +2002-05-15 Thiemo Seufer + + * config/tc-mips.c (macro): Warn about wrong la/dla use. + +2002-05-15 Thiemo Seufer + + * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had + worked sometimes by accident. Fix copy&paste comment. + +2002-05-15 Thiemo Seufer + + * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section + alignment for NewABI. Let n32 use .reginfo. Remove useless casts. + (mips_elf_final_processing): Let n32 use .reginfo. + +2002-05-15 Thiemo Seufer + + * config/tc-mips.c (append_insn): Fix too small range of variable. + +2002-05-14 Nick Clifton + + * config/tc-arm.c (arm_cleanup): Remove redundant call to + listing_prev_line(). + +2002-05-13 Nick Clifton + + * config/tc-arm.c (md_assemble): Remove redundant call to + listing_prev(). + + * dwarf2dbg.c (dwarf2_emit_insn): Do not reset + loc_directive_seen. + + * stabs.c (s_stab_generic): Fix grammatical error in warning + message. + +2002-05-13 Alan Modra + + * write.c (subsegs_finish): Don't specially align last subseg. + +2002-05-11 Nick Clifton + + * stabs.c (s_stab_generic): Warn about a description field that is + too big. + + * config/obj-coff.c: Fix compile time warnings when compiling + without BFD_ASSEMBLER defined. + Fix formatting. + + * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms + target. + (md_pcrel_from_section): Use md_pcrel_from(). + +2002-05-11 Bruno Haible + + * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled + by dwarf2_directive_loc, instead of calling dwarf2_where. + +2002-05-11 Kazu Hirata + + * config/obj-coff.h: Fix formatting. + * config/tc-mcore.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-openrisc.c: Likewise. + * config/tc-or32.c: Likewise. + * config/tc-pdp11.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-ppc.h: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-xstormy16.c: Likewise. + * config/tc-xstormy16.h: Likewise. + +2002-05-09 Kazu Hirata + + * config/obj-coff.c: Fix formatting. + * config/obj-elf.c: Likewise. + * config/tc-alpha.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-d10v.c: Likewise. + * config/tc-d30v.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-hppa.c: Likewise. + +2002-05-09 Alan Modra + + * config/tc-i386.c (md_estimate_size_before_relax) Don't lose + reloc when no_cond_jump_promotion. + +2002-05-08 Jim Wilson + + * config/tc-i960.c (md_estimate_size_before_relax): Return size of + current variable part of frag. + +2002-05-08 Kazu Hirata + + * config/tc-mmix.c: Fix formatting. + * config/tc-mmix.h: Likewise. + +2002-05-08 Alan Modra + + * configure: Regenerate. + +2002-05-07 Kazu Hirata + + * config/tc-m68k.c: Fix formatting. + +2002-05-07 Federico G. Schwindt + + * Makefile.am: Honour DESTDIR. + * Makefile.in: Regenerate. + +2002-05-06 Kazu Hirata + + * config/tc-ia64.c: Fix formatting. + * config/tc-ia64.h: Likewise. + +2002-05-04 Kazu Hirata + + * config/tc-mips.c: Fix formatting. + * config/tc-s390.c: Likewise. + * config/tc-s390.h: Likewise. + +2002-05-03 Alexandre Oliva + + * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number + information for instructions. + +2002-05-02 Kazu Hirata + + * as.h: Fix formatting. + * cgen.c: Likewise. + * cgen.h: Likewise. + * dwarf2dbg.c: Likewise. + * frags.h: Likewise. + * gasp.c: Likewise. + * macro.c: Likewise. + * read.c: Likewise. + * stabs.c: Likewise. + * symbols.c: Likewise. + +2002-05-02 Alan Modra + + * app.c (mri_pseudo): Only declare for TC_M68K. + + * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. + (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with + BFD_RELOC_16_BASEREL. + (md_assemble): Likewise. + (md_apply_fix3): Likewise. + +2002-05-02 Nick Clifton + + * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of + zero into an add of zero - it is not the same. + +2002-05-01 Arati Dikey + + * tc-sh.c (get_specific): Generate warning if the same + destination register is used in parallel instructions. + +2002-05-01 Andrew Macleod + + * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. + +2002-05-01 Alan Modra + + * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org + backwards to prevent cascading errors. + +2002-04-30 Mark Mitchell + + * configure.in: Add support for powerpc-*-windiss. + * configure: Regenerated. + +2002-04-28 Alan Modra + + * config/tc-s390.c (md_parse_option): Formatting. + + * config/tc-i386.c: Formatting fixes, add missing space in error + message. + +2002-04-24 Christian Groessler + + * config/tc-z8k.c (build_bytes): Add support for new cases: + CLASS_IGNORE and ARG_NIM4. + (md_assemble): Prevent destruction of input_line_pointer if + get_operands returns failure. + +2002-04-24 Chris G. Demetriou + + * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D + instructions to be generated by macros. + +2002-04-24 Andreas Schwab + + * config/tc-i386.c (output_jump, output_disp) + (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any + more. + (md_apply_fix3): Remember addend value for rela relocations. + (tc_gen_reloc): Correctly compute pc-relative relocation addend. + +2002-04-22 Chris Demetriou + + * config/tc-mips.c (macro_build): Add close-parenthesis missing + from previous change. + +2002-04-22 Eric Christopher + + * config/tc-mips.c (macro_build): Add warning if macro instructions + are expanded into a branch delay slot. + +2002-04-17 Geoffrey Keating + + * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line + numbers, gdb relies on them to detect the start of the prologue. + +2002-04-17 Martin Schwidefsky + + * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to + symbols in merge sections. + +2002-04-16 Alan Modra + + * as.c (main): Don't reference _bfd_chunksize. + +2002-04-15 Tom Rix + + * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to + symbols in merge sections. + +2002-04-11 Richard Sandiford + + * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. + * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an + argument for the precision. + (gen_to_words): Update accordingly. + +2002-04-10 Alan Modra + + * as.c (parse_args ): Use VERSION is + BFD_VERSION_STRING unavailable. + * config/tc-i386.c (INLINE): Define (for non-BFD assembler). + +2002-04-09 J"orn Rennecke + + * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if + symbol_used_in_reloc_p is true. + + * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big + endian hosts. + +2002-04-04 Alan Modra + + * dep-in.sed: Cope with absolute paths. + * Makefile.am (dep.sed): Subst TOPDIR. + Run "make dep-am". + * Makefile.in: Regenerate. + +2002-04-04 Thiemo Seufer + + * config/tc-mips.c (mips16_macro_build): Cast type mismatch. + (mips_ip): Remove unused variable. + (md_apply_fix3): Cast signed/unsignes mismatches. Replace + unsigned char with bfd_byte. + (s_file): Remove unused variable. + (s_mips_ent): Likewise. + +2002-04-03 Tom Rix + + * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. + (build_insn): Same. + (find_opcode): Fix warning in as_warn. + * config/tc-d10v.h: Update Copyright. + +2002-04-03 Alan Matsuoka + Tom Rix + + From Jeff Knaggs + * config/tc-d10v.c (check_resource_conflict): New function to + check for resource conflicts. + + From Jason Eckhardt + * config/tc-d10v.c (build_insn): Check for unresolved imm4 or + imm3 fields. + * config/tc-d10v.c (find_opcode): Emit a warning if one of the + reserved control registers is used. + * config/tc-d10v.c (build_insn): Check for unresolved imm4 or + imm3 fields. + + From 2001-03-28 Diego Novillo + * tc-d10v.c (parallel_ok): Prevent packing only if the first + instruction cannot be packed. + + From 2001-03-30 Diego Novillo + * gas/config/tc-d10v.c (check_resource_conflict): Only check + write-write conflicts. + (md_assemble): Reformat introductory comment. + * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its + arguments. + +2002-04-03 Alan Modra + + * symbols.c (resolve_symbol_value ): Derive final_seg from add_symbol. + : More final_seg twiddles. + +2002-04-01 Jessica Han + + * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc + in 32-bit mode. + +2002-03-27 Andreas Schwab + + * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of + field for pc-relative fixups. + (output_disp): Likewise. + (md_estimate_size_before_relax): Likewise. + (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for + pc-relative fixups in 64bit mode. + +2002-03-22 Alan Modra + + * config/te-aix5.h: Typo fix. + +2002-03-21 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2002-03-20 Albert Chin-A-Young + + * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo + (vfp_sp_reg_pos -> vfp_dp_reg_pos). + +2002-03-18 Alexandre Oliva + + * config/tc-mips.c (md_estimate_size_before_relax): Do not modify + the EXTENDED bit here; report the estimate according to the + current size. + +2002-03-18 Tom Rix + + * configure.in: Add AIX 5 support. + * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. + * config/te-aix5.h: New file. AIX 5 support. + * configure: Regenerate. + +2002-03-18 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-16 Andreas Jaeger + + * doc/c-mips.texi (Machine Dependencies): Add new node. + +2002-03-15 Chris G. Demetriou + + * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. + (mips_opts): Initialize "ase_mips3d" member. + (file_ase_mips3d): New variable. + (CPU_HAS_MIPS3D): New macro. + (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d + based on command line options and configuration defaults. + (macro_build, mips_ip): Accept MIPS-3D instructions if + mips_opts.ase_mips3d is set. + (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): + Add support for "-mips3d" and "-no-mips3d" options. + (OPTION_ELF_BASE): Move to accommodate new options. + (s_mipsset): Support ".set mips3d" and ".set nomips3d". + (mips_elf_final_processing): Add a comment indicating that a + MIPS-3D ASE ELF header flag should be set, when one exists. + * doc/as.texinfo: Document -mips3d and -no-mips3d options. + * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set + nomips3d" directives. + +2002-03-14 Hans-Peter Nilsson + + * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider + a weak symbol in same section to be within reach. + +2002-03-13 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-12 Andreas Schwab + + * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a + body record so that an error is given for misplaced .save + pseudo-ops. + +2002-03-09 Alan Modra + + * config/tc-i386.h (REX_OPCODE): Define. + (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. + (rex_byte): typedef to int. + * config/tc-i386.c: Group prototypes and vars together. + Formatting fixes. Remove occurrences of "register" keyword. + (true): Delete. + (false): Delete. + (mode_from_disp_size): Add INLINE keyword to prototype. + (fits_in_signed_byte): Likewise. + (fits_in_unsigned_byte): Likewise. + (fits_in_unsigned_word): Likewise. + (fits_in_signed_word): Likewise. + (fits_in_unsigned_long): Likewise. + (fits_in_signed_long): Likewise. + (type_names): Constify. + (intel_float_operand): Constify param. + (add_prefix): Use REX_OPCODE. + (md_assemble): Likewise. Modify for changed rex_byte. + (parse_insn): Split out of md_assemble. + (parse_operands): Likewise. + (swap_operands): Likewise. + (optimize_imm): Likewise. + (optimize_disp): Likewise. + (match_template): Likewise. + (check_string): Likewise. + (process_suffix): Likewise. + (check_byte_reg): Likewise. + (check_long_reg): Likewise. + (check_qword_reg): Likewise. + (check_word_reg): Likewise. + (finalize_imm): Likewise. + (process_operands): Likewise. + (build_modrm_byte): Likewise. + (output_insn): Likewise. + (output_branch): Likewise. + (output_jump): Likewise. + (output_interseg_jump): Likewise. + (output_disp): Likewise. + (output_imm): Likewise. + +2002-03-07 Daniel Jacobowitz + + * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. + +2002-03-06 Alan Modra + + * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte + relocs except when BFD64. + + * write.c (number_to_chars_bigendian): Don't abort when N is + larger than sizeof (VAL). + (number_to_chars_littleendian): Likewise. + +2002-03-05 John David Anglin + + * config/tc-hppa.c (md_apply_fix3): Add cast. + (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and + e_rrsel. + +2002-03-05 Paul Koning + + * tc-pdp11.c: Use VAX float format support for PDP-11 target. + (parse_ac5): New function for parsing float regs in float operand. + (parse_expression): Remove attempt to make literals be octal. + (parse_op_no_deferred): Support float literals. + (parse_op): Reject attempts to refer to float regs. + (parse_fop): New function, like parse_op but for float operand. + (md_assemble): Add cases to parse float operands. Also fix + IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. + +2002-03-04 H.J. Lu + + * config/obj-elf.c (special_section): Add .init_array, + .fini_array and .preinit_array. + + * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove + .init_array and .fini_array. + +2002-03-01 Jakub Jelinek + + * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy + visibility. + (obj_frob_symbol): Copy visibility. + +2002-02-28 Jakub Jelinek + + * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not + s_text. + (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. + +2002-02-27 Nick Clifton + + * po/es.po: Updated. + +2002-02-26 Chris Demetriou + + * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC + only, undo the changes made on 2001-06-08, with the + effect being that common or extern symbols are + adjusted for embedded-PIC, but weak symbols are not. + (md_estimate_size_before_relax: Likewise, with the effect + that extern symbols are treated the same as weak symbols + only if not embedded-PIC. + (mips_fix_adjustable) Likewise, with the effect that + weak or extern symbols are not adjusted for embedded-PIC. + (md_apply_fix3): Tweak so that the case where value is zero + is handled more correctly for embedded-PIC code. + +2002-02-26 Nick Clifton + + * doc/as.texinfo (Overview): Add missing @ifset IA64 + + * configure.in (LINGUAS): Add es.po. + * configure: Regenerate. + * po/es.po: New file. + +2002-02-25 Thiemo Seufer + + * config/tc-mips.c (set_at): Fix handling of 64bit register loads. + (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC + and NO_PIC cases. Code cleanup. + (macro2): Fix handling of 64bit register loads. + +2002-02-25 David Mosberger + + * doc/as.texinfo: Add entry for IA64. + * doc/c-ia64.texi: New file. + +2002-02-25 Alan Modra + + * config/tc-hppa.c: Update copyright date. + + * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 + Remove references to chip manufacturers. + * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. + Correct comments. + (md_show_usage): Remove references to chip manufacturers. Mention + -mpower4. + (md_begin): Test power4 opcode flag bits. + +2002-02-22 David Mosberger + + * config/tc-ia64.c (dot_restore): Issue error message of epilogue + count exceeds prologue count. + (md_show_usage): Describe -mconstant-gp and -mauto-pic. + (unwind.label_prologue_count): New member. + + Based on a patch by Hans Boehm : + + (get_saved_prologue_count): New function. + (save_prologue_count): New function. + (free_saved_prologue_count): New function. + (dot_label_state): Record state label by calling save_prologue_count(). + (dot_copy_state): Restore prologue count by calling + get_saved_prologue_count(). + (generate_unwind_image): Free up list of saved prologue + counts by calling free_saved_prologue_counts(). + +2002-02-22 Nick Clifton + + * config/tc-tic54x.c: Add missing prototypes and remove ANSI style + function declarations. + +2002-02-21 Nick Clifton + + * NEWS: Note that GASP is now deprecated. + * Makefile.am: Do not build gasp-new by default. + * Makefile.in: Regenerate. + * doc/Makefile.am: Do not install gasp.info. + * doc/Makefile.in: Regenerate. + * gas/gasp.texi: Note that gasp is now deprecated. + +2002-02-20 Nick Clifton + + * NEWS: Mark 2.12 branch. + +2002-02-19 Tom Tromey + + * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. + +2002-02-19 Thiemo Seufer + + * config/tc-mips.c (md_parse_option): Complain about invalid -mabi + option input. + +2002-02-19 Martin Schwidefsky + + * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. + Make bit size independent of architecture switch. + (md_begin): Add warning for -m64 with -Aesa. + (s390_md_end): Use renamed architecture defines. + +2002-02-18 Daniel Jacobowitz + + * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. + +2002-02-16 Nick Clifton + + * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used + instead of CRIS. + +2002-02-15 Chris Demetriou + + * config/tc-mips.c (md_estimate_size_before_relax): Really + make sure we treat weak like extern only for ELF. (Fixes + patch from 2001-07-25.) + +2002-02-15 Ben Elliston + + * doc/as.texinfo: Add duplicate directory entry so that "info gas" + works as expected. + +2002-02-15 Hans-Peter Nilsson + + * NEWS: Mention support for MMIX. + +2002-02-13 Chris Demetriou + + * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into + a sequence of indpendent 'if' statements for easier debugging + and future modification. + +2002-02-13 Matt Fredette + + * config/tc-m68k.c (md_show_usage): No longer display a + hard-coded "68020" for the default CPU, instead display the + canonical name of the true, configured default CPU. + (m68k_elf_final_processing): Mark objects for sub-68020 + CPUs with the new EF_M68000 flag. + +2002-02-13 Andreas Schwab + + * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust + pc-relative relocations to merge sections in 64-bit mode. + +2002-02-13 Ben Elliston + + * NEWS: Document floating point number handling in gasp. + * gasp.c: Include and "xregex.h". + (is_flonum): New function. + (chew_flownum): Likewise. + (change_base): Consume flonums from the input, where possible. + * doc/gasp.texi (Constants): Document floating point numbers. + +2002-02-12 John David Anglin + + * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types + that implicitly use LR and RR selectors. + +2002-02-12 Alexandre Oliva + + * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' + and `epsw' as available on AM33 and above only. + (other_register_name): Add logic to handle machine type encoded in + reg_number. + +2002-02-11 Tom Rix + + * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for + xcoff64. + +2002-06-11 Alexandre Oliva + + * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. + Use all over. + +2002-02-11 Jan Hubicka + + * i386.c (md_assemble): Support 32bit address prefix. + (i386_displacement): Likewise. + (i386_index_check): Accept 32bit addressing in 64bit mode. + +2002-02-11 Alexandre Oliva + + * config/tc-sh.c (dot): Removed unused function. + +2002-02-11 Alan Modra + + * Makefile.am: "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + +2002-02-10 Richard Henderson + + * doc/c-alpha.texi: New file. + * doc/Makefile.am (CPU_DOCS): Add it. + * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. + +2002-02-09 Richard Henderson + + * config/tc-alpha.c (O_samegp): New. + (USER_RELOC_P): Include it. + (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. + (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. + (alpha_force_relocation, alpha_fix_adjustable): Likewise. + (alpha_validate_fix): New. + * config/tc-alpha.h (TC_VALIDATE_FIX): New. + +2002-02-09 Hans-Peter Nilsson + + * doc/c-cris.texi: New. + * doc/all.texi: @set CRIS. + * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. + Include c-cris.texi. + * doc/Makefile.am (CPU_DOCS): Add c-cris.texi + * doc/Makefile.in: Regenerate. + +2002-02-08 Chris Demetriou + + * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to + determine if a number is a sign-extended 32-bit number. + (load_register): Use IS_SEXT_32BIT_NUM. + (macro): Check if load/store macro handling is using a + constant 32-bit address on 64-bit address systems, and if + so optimize the generation of that address. + +2002-02-08 Richard Henderson + + * config/tc-alpha.c (alpha_force_relocation): Don't assert that + we've eliminated all foreign relocation types yet. + (alpha_fix_adjustable): Likewise. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2002-02-08 Alexandre Oliva + Stephen Clarke + * doc/c-sh64.texi: Fix citation of SH64 architecture manual. + 2002-01-31 Alexandre Oliva + * config/tc-sh.c (md_relax_table): Added default sizes for + non-PC-relative UNDEF_MOVI, and relaxation sequences for + MOVI_16, MOVI_32 and MOVI_48. + * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. + (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI + and MOVI_16. + (shmedia_md_estimate_size_before_relax): Remove redundant + blocks. Set fragP->fr_var even if relaxation type unchanged. + Retain UNDEF_MOVI until expression decays to number. + 2002-01-24 Alexandre Oliva + * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC + relocation types. Take fixP->fx_addnumber into account too. + (shmedia_md_apply_fix): Likewise. + (shmedia_md_convert_frag): Likewise. + (shmedia_build_Mytes): Likewise. + (sh64_consume_datalabel): Complain about nested datalabel. + Support PIC relocs. Call sh_parse_name. + * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition + in tc-sh.h to SHmedia reloc types. + * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, + MOVI_GOTPC): New relaxation constants. + (md_relax_table): Introduce relaxation directives for PIC-related + constants. + (sh_PIC_related_p): Handle datalabel. + (sh_check_fixup): Choose SH5 PIC relocations. + (sh_cons_fix_new): Added BDF_RELOC_64. + (md_apply_fix3, sh_parse_name): Handle GOTPLT. + 2002-01-18 Alexandre Oliva + * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the + current ISA is SHmedia, get 7 bytes. + 2001-11-28 Nick Clifton + * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a + void function. + * config/tc-sh64.c (shmedia_apply_fix): Rename to + shmedia_apply_fix3 and make void. + 2001-05-17 Alexandre Oliva + * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to + as_bad. + 2001-04-12 Alexandre Oliva + * config/tc-sh64.h (md_parse_name): Take &c as argument. + 2001-03-14 DJ Delorie + * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi + * doc/Makefile.in(CPU_DOCS): Ditto. + * doc/c-sh64.texi: New file. + * doc/as.texinfo: Add SH64 support. + 2001-03-13 DJ Delorie + * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to + A_REUSE_PREV so that its purpose is more obvious. + (shmedia_build_Mytes): Ditto. + 2001-03-07 DJ Delorie + * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels + before processing. + (sh64_vtable_inherit): Ditto. + (strip_datalabels): New, strip "datalabel" from given line. + * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable + pseudos. + 2001-03-06 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn + call ... + (shmedia_build_Mytes): ... to here. + 2001-03-06 DJ Delorie + * config/tc-sh.c: Remove sh64-specific uaquad now that there + is a generic one. + 2001-01-21 Hans-Peter Nilsson + * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. + * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn + address by one in call to dwarf2_emit_insn. + 2001-01-13 Hans-Peter Nilsson + Implement ".abi" pseudo and correct .cranges descriptors. Correct + alignment handling broken by imported changes. + * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. + (sh64_handle_align): Declare. + (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. + (sh64_max_mem_for_rs_align_code): Declare. + (enum sh64_isa_values): Moved here from tc-sh64.c. + (md_do_align): Define. + (sh64_do_align): Declare. + (struct sh64_tc_frag_data): New. + (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users + changed. + (TC_FRAG_INIT): Change to set new datatype. + (struct sh64_segment_info_type): Rename member + last_flushed_location to last_contents_mark. All users changed. + (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. + (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. + * config/tc-sh.c (md_pseudo_table): Add ".abi". + (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead + of unsetting seen_insn. + (md_assemble) [HAVE_SH64] : Also + call sh64_update_contents_mark. + (sh_handle_align): Remove HAVE_SH64-conditioned code. + * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to + enum sh64_isa_values. + (sh64_set_contents_type): Drop segT parameter. All callers changed. + (emitting_crange): Boolean guard moved to file scope from function + scope in sh64_set_contents_type. + (s_sh64_abi): New. + (sh64_update_contents_mark): New; most split out from + sh64_flush_pending_output. + (shmedia_md_end): Call sh64_update_contents_mark. Set + sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. + (sh64_do_align): New function. + (sh64_max_mem_for_rs_align_code): New function. + (sh64_handle_align): Rename from shmedia_do_align. Make + non-static. Add head comment. Emit zero bytes for n bytes modulo + four. Change return-type to void. + (shmedia_elf_new_section): Remove. + (shmedia_md_assemble): Call sh64_update_contents_mark. + (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make + new frag. Call sh64_update_contents_mark after making the new + frag. + (sh64_flush_pending_output): Just call sh64_update_contents_mark + and sh_flush_pending_output. + (sh64_flag_output): Also call md_flush_pending_output, but add + condition on not emitting_crange. + (sh64_tc_cons_fix_new): Remove. + 2001-01-12 Nick Clifton + * config/tc-sh64.c (shmedia_do_align): Fix to work with new + alignment handling scheme imported from sourceware. + 2001-01-12 Hans-Peter Nilsson + * config/tc-sh64.h (TARGET_FORMAT): Define. + (sh64_target_format): Prototype. + * config/tc-sh64.c (sh64_target_mach): New function. + 2001-01-07 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use + zero_address_frag instead of copying the frag of the symbol. + (shmedia_frob_file_before_adjust): Ditto. + (shmedia_md_apply_fix) : Cast mask + to valueT to remove signedness. + (shmedia_md_convert_frag): Add parameter final. Rename parameter + headers to output_bfd. Do not evaluate symbols if final is false; + do emit fixups. + (shmedia_md_estimate_size_before_relax) : If symbol cannot be modified to be PC-relative + to the current frag, call shmedia_md_convert_frag to emit fixups + and make frag_wane neutralize the frag. Update comments. + * config/tc-sh.c (md_convert_frag): Change caller of + shmedia_md_convert_frag. + 2001-01-06 Hans-Peter Nilsson + * config/tc-sh64.h: Tweak comments and correct formatting. + * config/tc-sh64.c: Ditto. + (shmedia_md_convert_frag) : Fix thinko calculating offset + for the no-relocation case. + (shmedia_check_limits): Fix range check being off-by-one for PTA. + * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef + wrappers. + (SH64PCREL16_F): Increment for proper max-PTA handling. Update + comment. + (SH64PCREL16_M, MOVI_16_M): Correct range thinko. + (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of + expansion. + (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. + Correct comment. + 2001-01-05 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_apply_fix) : Set lowest bit in field to be relocated to 1. + (shmedia_md_convert_frag) : Set lowest bit of field to relocate to 1 and rest to empty, + if reloc is emitted. + 2000-12-31 Hans-Peter Nilsson + New options plus bugfixes. + * config/tc-sh.c (md_longopts): New options "-no-expand" and + "-expand-pt32". + (md_parse_option): Handle new options. + (md_show_usage): Add blurb for new options. + * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. + (sh64_expand, sh64_pt32): New variables. + (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. + (shmedia_md_apply_fix): Hold original fixP->fx_r_type in + orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into + BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. + : Handle + SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. + (shmedia_md_convert_frag) : Modify to PTB if operand + points to SHcompact code. + : Check that ISA of what operand points at and + PTA/PTB matches, or emit error. + (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and + SHMEDIA_BFD_RELOC_PT. + (shmedia_immediate_op): If pcrel, emit fixup also for constant + operand. + (shmedia_build_Mytes) : Also check sh64_expand in + condition for MOVI expansion. + : Handle expansion to 32 bits only, if + sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not + sh64_expand. + : Likewise, but emit a SHMEDIA_BFD_RELOC_PT + fixup. + (sh64_target_format): Error-check setting of sh64_pt32 and + sh64_expand. Fix typo in check for sh64_shcompact_const_crange. + (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and + SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. + 2000-12-31 Hans-Peter Nilsson + * config/tc-sh64.c: Improve comments. + (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do + not say the linker will check correctness of PTA/PTB expansion. + (shmedia_md_end): Make non-static. + * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add + prototype. + * config/tc-sh.c (sh_finalize): Remove. + * config/tc-sh.h (md_end): Do not define. + Remove prototype for sh_finalize. + 2000-12-30 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_frob_section_type): Use a struct + sh64_section_data container when storing section type in tdata + field in elf_section_data. + * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to + EF_SH5. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + 2000-12-22 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_assemble): Don't protect + dwarf2_emit_insn call with test on debug_type. + 2000-12-19 Hans-Peter Nilsson + * config/tc-sh64.c (sh64_set_contents_type): Make contents-type + CRT_SH5_ISA32 sticky for 64-bit. + 2000-12-18 Hans-Peter Nilsson + Generate .crange sections when switching ISA mode or emitting + constants in same section as code. + * config/tc-sh64.c: Reformat structure definitions. + (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New + variables. + (sh64_set_contents_type): Rename from sh64_init_section. Rewrite + to emit a .cranges descriptor when contents type changes. Only + emit error if changing contents type and -no-mix is in effect. + (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, + sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. + (shmedia_md_end): Set sh64_end_of_assembly. Pass + sh64_flush_last_crange over sections. + When checking main symbol of datalabel symbol, check for + STO_SH5_ISA32, not ISA type of section in definition. + (shmedia_frob_file_before_adjust): Check main symbol for + STO_SH5_ISA32; don't check ISA type of section in definition. + (shmedia_frob_section_type): Adjust for .cranges; set section flag + to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether + .cranges entries have been output. + (shmedia_elf_new_section): Just call md_flush_pending_output. + (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE + fix. Do not set tc_segment_info_data.in_code for section. Call + sh64_set_contents_type for SHmedia code. + (s_sh64_mode): Do not call sh64_init_section or set seen_insn to + false. Call md_flush_pending_output. + (sh64_target_format): Check that -no-mix and + -shcompact-const-crange are used in sane combination with other + options. + (shmedia_md_pcrel_from_section): Check type of fix for how to + adjust pc-relative. + (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, + not ISA type of section in definition. + * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to + hold contents-type state. + (md_flush_pending_output): Redefine to sh64_flush_pending_output. + (sh64_flush_pending_output): Declare. + (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. + (sh64_tc_cons_fix_new): Declare. + * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and + call sh64_flag_output. + (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just + call sh64_set_contents_type to mark SHcompact code and set + seen_insn. + (md_longopts): New options "-no-mix" and + "-shcompact-const-crange". + (md_parse_option): Handle new options. + (md_show_usage): Add blurb for new options. + (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. + 2000-12-15 Hans-Peter Nilsson + * config/tc-sh64.c: Delete investigated and obsolete fixme:s. + (sh64_last_insn_frag): New. + (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag + to get frag for insn opcode for generating fixups; do not assume it + is the same frag. + (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag + for new insn. + * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges + section. + (TC_FRAG_TYPE): Define as fragS *. + (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. + (sh64_last_insn_frag): Declare. + (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, + not == NULL before dereferencing. + 2000-12-12 Hans-Peter Nilsson + Get rid of BFD section flag and EF_SH64_ABI64. + * config/tc-sh64.c (shmedia_frob_section_type): Use + elf_section_data (sec)->tdata, not a specific BFD section flag, to + communicate the section as containing SHmedia code. Describe why. + * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set + EF_SH64 regardless of ABI. + * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" + in error message. Handle resolved expressions for + BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, + BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. + (shmedia_check_limits): Handle BFD_RELOC_64. + (sh64_adjust_symtab): Do not decrement the GAS symbol value for + a STO_SH5_ISA32 symbol, only the BFD value. + 2000-12-11 Ben Elliston + * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct + dwarf2_generate_asm_lineno. + 2000-12-11 Hans-Peter Nilsson + Handle PC-relative MOVI expansions with assembler relaxation. + Generate PC-relative relocs from 16-bit PC-relative expressions. + * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... + (shmedia_md_pcrel_from_section): ...here. + (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has + turned completely resolved. Adjust relocation type for 16-bit + immediate operands that has turned PC-relative. Adjust back for + MD_PCREL_FROM_SECTION being applied twice. + (shmedia_md_convert_frag): Always emit reloc for expression with + global or weak symbol. Handle relaxation result for PC-relative + expressions. + (shmedia_md_estimate_size_before_relax): An expression with a weak + or global symbol can not be relaxed. Break out tests for + relaxable symbol into variable sym_relaxable. + : Break out any PC-relative expression and change + relaxation type. + (shmedia_build_Mytes): CSE &operands->operands[j] into variable + opjp. + : Fix typo for initial minor relaxation type of + MOVI expansion. If X_op_symbol of the immediate expression is + set, make an expression symbol for the argument to frag_var. + * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New + relaxations. + (END): Adjust for new relaxations. + (md_relax_table): Add entries for new relaxations. + 2000-12-07 Ben Elliston + * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. + 2000-12-07 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and + SHORI operand offsets in PT/PTA/PTB expansions. + 2000-12-05 Hans-Peter Nilsson + Implement DataLabel semantics. + * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call + shmedia_frob_file_before_adjust. + * config/tc-sh64.c [! OBJ_ELF]: Emit #error. + (DATALABEL_SUFFIX): Define. + (shmedia_md_end) : Walk + symbol list to update "datalabel" symbols to their main symbol + counterparts. + (shmedia_frob_file_before_adjust): New. + (sh64_adjust_symtab): For remaining datalabel symbols, set to + undefined and set STT_DATALABEL. + (sh64_frob_label): Initialize TC symbol field. + (sh64_consume_datalabel): Actually implement semantics. New + parameter operandf, call it instead of expression. + (sh64_exclude_symbol): New. + * config/tc-sh64.h (md_parse_name): Pass on the function operand + to sh64_consume_datalabel. + (tc_symbol_new_hook): Define to tc_frob_symbol. + (TC_SYMFIELD_TYPE): Define to symbolS *. + (tc_frob_symbol): Define to call sh64_exclude_symbol. + 2000-12-01 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default + case. + (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if + generating dwarf2 debug information. + 2000-11-30 Hans-Peter Nilsson + * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and + elf64-sh64 for the 64-bit ABI. + * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* + option. + 2000-11-29 Hans-Peter Nilsson + * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for + case-insensitivity. + 2000-11-27 Hans-Peter Nilsson + * config/tc-sh64.c: Tweak comments, formatting and error messages. + (enum sh64_abi_values): New type. + (enum sh64_isa_values): New type. + (sh64_isa_mode): Replace shmedia_mode. All referers changed. + (seen_shcompact_mode, seen_shmedia_mode): Delete. + (sh64_abi): Replace shmedia_64. + (shmedia_md_convert_frag) : Correct register number handling. + (s_sh64_mode): Check validity for this target. + (sh64_target_format): Initialize defaults for ISA and ABI. + Fallback to old object format if no SH64 ISA or ABI has been + specified. + * config/tc-sh.c (md_parse_option): Check combinations for errors. + (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit + ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. + * config/tc-sh64.h: Fix typo in comment. + 2000-11-25 Hans-Peter Nilsson + * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) + : Size will be longest, not + shortest. + (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct + all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. + * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 + and l1 to hold lowercase of two first characters. Change all + remaining TO_LOWER to tolower. + * config/tc-sh64.c (TO_LOWER): Delete. + (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. + (md_parse_name): Define. + (sh64_consume_datalabel): Declare. + (DOLLAR_DOT): Define. + * config/tc-sh64.c (shmedia_parse_exp): New. + (sh64_consume_datalabel): New; just ignoring datalabel semantics. + (shmedia_parse_reg): Remove const from src + parameter. + (shmedia_get_operands): Ditto for args parameter and ptr variable. + (shmedia_md_assemble): Ditto for op_end variable. + (shmedia_get_operand): Ditto for ptr parameter and src variable. + Use shmedia_parse_exp, not parse_exp. + * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type + parameter. All callers changed. + (shmedia_get_operand): Add shmedia_arg_type parameter. All + callers changed. + (shmedia_parse_reg): Put first two character in local variables. + Use tolower, not TO_LOWER. If no register is found and argtype + indicates a control register, scan shmedia_creg_table + case-insensitive. + 2000-11-24 Hans-Peter Nilsson + * Makefile.am (CPU_TYPES): Add sh64. + (TARGET_CPU_CFILES): Add config/tc-sh64.c. + (TARGET_CPU_HFILES): Add config/tc-sh64.h. + Regenerate dependencies. + * Makefile.in: Regenerate. + * configure.in: Add support for sh64-*-elf*. + * configure: Regenerate. + * config/tc-sh64.h: New. + * config/tc-sh64.c: New. + * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos + .mode, .isa and .uaquad. + [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, + SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. + [HAVE_SH64] (END): Define as 10. + [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, + SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, + MOVI_64): Define. + [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, + SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, + SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, + MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): + Define. + (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. + (md_begin) [HAVE_SH64]: Call shmedia_md_begin. + (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. + (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling + SHmedia instructions. Handle state-change after switching to + SHcompact. + (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. + (md_parse_option) [HAVE_SH64]: Parse new options. + (md_show_usage) [HAVE_SH64]: Show usage of new options. + (md_convert_frag) [HAVE_SH64] : Call + shmedia_md_convert_frag instead of abort. + (sh_force_relocation) [HAVE_SH64]: Also force relocation for + BFD_RELOC_SH_SHMEDIA_CODE. + (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying + SHcompact or SHmedia code. + (md_apply_fix) [HAVE_SH64] : Return result from calling + shmedia_md_apply_fix instead of abort. + (md_estimate_size_before_relax) [HAVE_SH64] : Return + result from calling shmedia_md_estimate_size_before_relax instead + of calling abort. + (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align + do the work. + (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call + shmedia_init_reloc and do nothing more if it returns non-zero. + (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2002-02-06 Alexandre Oliva + + * config/tc-sh.c (parse_at): Install the correct version of + 2002-02-04's patch. + + * config/tc-sh.c (md_apply_fix3) : Don't + assume fixP->fx_subsy is non-NULL. + +2002-02-04 Alexandre Oliva + + * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to + A_DISP_PC_ABS, and adjust it by -4. + (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is + expected. + (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if + the operand type is not A_DISP_PC_ABS. + +2002-02-04 Hans-Peter Nilsson + + * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of + common and weak symbols. Handle common and weak symbols as + undefined symbols with regards to GREG handling and merging. + (mmix_frob_file): Ditto. + +2002-02-02 Jason Thorpe + + * configure.in (hppa-*-netbsd*): New target. + * configure: Regenerate. + * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. + +2002-02-02 Alan Modra + + * config/tc-v850.c: Add missing prototypes amd use old-style + function definitions. + (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. + (sdata_section tdata_section, zdata_section, sbss_section, + tbss_section, zbss_section, rosdata_section, rozdata_section, + scommon_section, tcommon_section, zcommon_section, + call_table_data_section, call_table_text_section): Delete. + (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, + v850_zbss, v850_bss, v850_rosdata, v850_rozdata, + v850_call_table_data, v850_call_table_text): Delete. + (struct v850_seg_entry): New. + (v850_seg_table): New. + (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, + TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, + ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, + CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. + (do_v850_seg): New. + (v850_seg): New. + (v850_comm): Use do_v850_seg and v850_seg_table. Simplify + recording of alignment. + (md_pseudo_table): Use v850_seg. + (md_begin): Don't init .call_table_data and .call_table_text here. + Set v850_seg_table bss entry. + +2002-02-01 Hans-Peter Nilsson + + Support on-demand global register allocation by passing on + base-plus-offset relocs to the linker. + * config/tc-mmix.c: Tweak and fix typos in comments. + (allocate_undefined_gregs_in_linker): New variable. + (OPTION_LINKER_ALLOCATED_GREGS): New option macro. + (md_longopts): Add --linker-allocated-gregs. + (md_parse_option) : Imply --linker-allocated-gregs. + : New. + (md_show_usage): Update text for -x. Add text for + --linker-allocated-gregs. + (tc_gen_reloc): Derive default value for addend from val and + baddsy. Use addsec and bfd_is_abs_section in more places. Don't + emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable + GREG if allocate_undefined_gregs_in_linker. + * doc/as.texinfo (Overview) : Add + --linker-allocated-gregs. + * doc/c-mmix.texi (MMIX-Opts): Add blurb about + --linker-allocated-gregs. Mention that it's implied by -x. + (MMIX-Pseudos) : Mention when and how a GREG can be omitted. + (MMIX-mmixal): Clarify dated comparison and location of MMIXware. + + * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. + +2002-02-01 Alan Modra + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2002-01-31 Ivan Guzvinec + + * config/tc-or32.c: New file. + * config/tc-or32.h: New file. + * configure.in: Add support for or32 targets. + * configure: Regenerate. + * config/obj-coff.c: Add support for or32 targets. + * config/obj-coff.h: Add support for or32 targets. + * Makefile.am: Add support for or32 targets. + * Makefile.in: Regenerate. + * NEWS: Mention support for OpenRISC. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2002-01-30 Richard Sandiford + + * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy + and mod. + +2002-01-29 Chris Demetriou + + * config/tc-mips.c (tc_gen_reloc): Arrange for + BFD_RELOC_PCREL_HI16_S relocations to be output relative to + their LO16 parts, even for ELF. + +2002-01-29 Daniel Jacobowitz + + * config/tc-i386.c: Protect definitions of true and false + from redefinition. + +2002-01-28 Jakub Jelinek + + * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols + made because of .weak, if they are neither defined nor used in any + way. + +2002-01-27 Daniel Jacobowitz + + * configure: Regenerated. + +2002-01-26 Hans-Peter Nilsson + + * doc/Makefile.am (install): Depend on install-info. + * doc/Makefile.in: Regenerate. + +2002-01-26 Nick Clifton + + * po/fr.po: Updated version + +2002-01-24 Kazu Hirata + + * config/tc-h8300.c (check_operand): Don't print a warning + when a valid 24-bit address is given to a 16-bit address + operand. + +2002-01-24 Alexandre Oliva + + * config/tc-sh.c (sh_elf_suffix): Removed. + (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, + sh_end_of_match, sh_parse_name): New functions. + (sh_elf_cons): Simplify. + (parse_exp): Reject misplaced PIC operands. + (md_undefined_symbol): Simplify. + (sh_fix_adjustable): Let @GOTOFF be adjusted. + (md_apply_fix3): Write @PLT and @GOTOFF addends in place. + (tc_gen_reloc): Move fixp subsy absolute value into addnumber. + Complain if subsy remains at the end. + * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. + (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. + +2002-01-22 Alexandre Oliva + + * config/tc-mn10300.c (xr_registers): Move `pc'... + (other_registers): ... here. + +2002-01-22 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * gas/po/POTFILES.in: Regenerate. + +2002-01-21 DJ Delorie + + * config/obj-coff.c (obj_coff_init_stab_section): Make the + stabstr_name allocation permanent, as it will be referenced from + the section hash. + +2002-01-21 Jason Thorpe + + * configure.in (ia64-*-netbsd*): New target. + * configure: Regenerate. + +2002-01-21 Hans-Peter Nilsson + + * doc/as.texinfo (Overview) : Add missing {} + to @dots call. + : Ditto. + * doc/c-arm.texi (ARM Options): Ditto. + +2002-01-18 Richard Earnshaw + + * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from + do_mia, do_mar and do_mra respectively. + (do_mav_*): Renamed from do_c_*. + (mav_reg_required_here, mav_parse_offset): Renamed from + cirrus_reg_required_here and cirrus_parse_offset respectively. + (MAV_MODE?): Renamed from CIRRUS_MODE?. + +2002-01-18 Richard Earnshaw + Keith Walker + + * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. + (insns): Add pattern for bxj instruction. + (do_bxj): New function. + (arm_cpus): Add arm926ej. + (arm_archs): Add armv5tej. + +2002-01-18 Richard Earnshaw + + * doc/c-arm.texi: Add new fpe options to list of supported flags. + +2002-01-19 Keith Walker + + * tc-arm.c (arm_fpus): Add fpe2 and fpe3. + +2002-01-18 Richard Earnshaw + + * NEWS: Mention new ARM command-line options and VFP support. + + * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All + uses changed. + (ARM_CEXT_MAVERICK): Similarly. + (ARM_ANY): Now means any core instruction. + (CPU_DEFAULT): Default to ARM_ANY. + (uses_apcs_26, atcps, support_interwork, uses_apcs_float) + (pic_code): Declare for all object types. Make type int. + (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) + (march_fpu_opt, mfpu_opt): Declare. + (md_longopts): Tidy up conditional definitions. + (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) + (arm_long_opts): New tables. + (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. + (arm_parse_extension): New function. + (md_parse_option): Rewrite using new table-driven system. + (md_show_usage): Use new table-driven system. + (md_begin): Calculate cpu_variant from command line option data. + * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific + command-line options. + * doc/c-arm.texi: Likewise. + +2002-01-18 Andreas Jaeger + + * as.c (parse_args): Update year. + +2002-01-17 Timothy Wall + + * config/tc-tic54x.c (encode_address): Add a more informative + warning about incorrect syntax. + +2002-01-17 Nick Clifton + + * po/gas.pot: Regenerate. + +2002-01-17 Nick Clifton + + * macro.c (get_any_string): Add no-c-format comment to prevent + confusion when translating string. + * gasp.c (get_any_string): Add no-c-format comment to prevent + confusion when translating string. + +2002-01-16 Thiemo Seufer + Johannes Stezenbach + * config/tc-mips.c (percent_op): Ensure longer percent_op's are + matched before the shorter ones. + (my_getSmallParser): Fix handling of nested parentheses in + percent_op's. Code cleanup. + (my_getPercentOp): New function, code from my_getSmallParser. + (my_getSmallExpression): Fix handling of closing parentheses. + Code cleanup. Better comments. + +2002-01-16 Nick Clifton + + po/tr.po: New file: Turkish translation. + configure.in (LINGUAS): Add "tr". + configure: Regenerate. + +2002-01-15 Richard Earnshaw + + Support for VFP instructions + * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. + (cp_address_required_here): New argument wb_ok. When false, do not + accept write-back forms of addressing. Change all callers. + (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) + (FPU_VFP_EXT_V2): Define. + (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): + Define in terms of above. + (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. + (vfp_reg): New struct. + (vfp_regs): New array of registers. + (insns): Add VFP instructions. + (sn_table): New array of VFP single-precision register names. + (dn_table): New array of VFP double-precision register names. + (all_reg_maps): Add the new register tables. + (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. + (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) + (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) + (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) + (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) + (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) + (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) + (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) + (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) + (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) + (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) + (do_vfp_sp_dp_cvt): New functions. + (md_begin): Set soft-float flag for appropriate VFP work. + (md_atof): Handle VFP-format doubles. + (md_parse_option): Handle VFP command-line options. + (md_show_usage): Display VFP command-line options. + +2002-01-15 Richard Earnshaw + + * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for + various command line options. + +2002-01-15 Nick Clifton + + * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix + vtinherit relocs. + (xstormy16_md_apply_fix3): Do not return a value. + +2002-01-14 Richard Earnshaw + + * tc-arm.c (md_longopts): On targets that aren't bi-endian, support + the -EL/-EB option that matches the target's endianness. + (md_parse_option): Likewise. + +2002-01-14 Richard Earnshaw + + * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option + is not dependent on ARM_BI_ENDIAN. + +2002-01-14 Richard Earnshaw + + * tc-arm.c (all error messages): Normalize capitalization of messages. + + * tc-arm.h (md_operand): Delete define. + * tc-arm.c (in_my_get_expression): New static variable. + (my_get_expression): Set and clear it. + (md_operand): New function. If called from my_get_expression + put the error in inst.error. + (output_inst): Now takes argument of instruction being assembled. + Print it out with any error message. + (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store + with '=' syntax. + (end_of_line): Don't update inst.error if it is already set. + +2002-01-11 Richard Earnshaw + + * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo + op that can be translated into a mvn instruction. + +2002-01-11 Steve Ellcey + + * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for + setting default md.flags. + (SHT_INIT_ARRAY): New elf special section used by HP-UX. + (SHT_FINI_ARRAY): New elf special section used by HP-UX. + * gas/config/tc-ia64.c (setup_unwind_header): Add support + for 32 bit unwind info blocks. + (generate_unwind_image): Add support for different types + of unwind images (32 bits and/or big-endian). + (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. + (ia64_target_format): Add support for hpux target formats. + (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. + (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and + SHT_FINI_ARRAY elf section types. + +2002-01-10 Richard Earnshaw + + * tc-arm.c (struct reg_entry): Move before prototypes. + (int_register, cp_register, fp_register): Delete. + (reg_table): Delete. Replaced with ... + (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) + (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) + (mav_dspsc_table): ... one table per register set. + (arm_reg_hsh): Delete. + (struct reg_map): New structure. + (all_reg_maps): New array. + (enum arm_reg_type): New enums. + (build_reg_hsh): New function. + (insert_reg_alias): Use hash table passed by caller. Adjust all + callers. + (create_register_alias): New function, split out from ... + (md_assemble): ... here. + (md_begin): Build new register hash tables. + (arm_reg_parse): New argument for the hash table to search. Adjust all + callers. + (arm_reg_parse_any): New function. + (co_proc_number): Look up the processor number in the processor hash + table. + (cirrus_regtype): Delete. + (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) + (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) + (ARM_EXT_MAVERICKsc_register): Delete. + (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. + (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New + functions. + (do_c_triple_4, do_c_triple_5): Delete. + (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. + (do_c_quad_6): Delete. + (do_c_quad_6[ab]): New functions. + (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework + arguments to use new register parsing methods. + (cirrus_reg_required_here): Likewise. + (insns): Reclassify cirrus maverick worker functions. + (cirrus_valid_reg): Delete. + +2002-01-07 Jason Thorpe + + * configure.in (sh*le): Set cpu_type=sh and endian=little. + (sh*-*-netbsdelf*): New target. + * configure: Regenerate. + * tc-sh.h: Update copyright years. + (TARGET_FORMAT): Add version for TE_NetBSD. + +2002-01-07 Nick Clifton + + * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go + negative. + +2002-01-06 Alan Modra + + * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. + * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. + +2002-01-05 Daniel Jacobowitz + + * tc-mips.c (mips_cprestore_valid): New flag. + (mips_frame_reg_valid): New flag. + (macro) [M_JAL_2]: Check both flags. + [M_JAL_A]: Likewise. + (s_cprestore): Set mips_cprestore_valid. + (tc_get_register): If setting mips_frame_reg, set + mips_frame_reg_valid and clear mips_cprestore_valid. + (s_mips_ent): Clear both flags. + (s_mips_end): Clear both flags. + +2002-01-05 Alan Modra + + * write.c (write_object_file): Make use of bfd_section_list_remove. + * config/obj-ecoff.c (ecoff_frob_file): Likewise. + * config/tc-mmix.c (mmix_frob_file): Likewise. + +2002-01-04 Jason Thorpe + + * configure.in (i386-*-netbsdelf*): Collapse target into... + (i386-*-netbsd*): ...this. Add support for x86-64. + * configure: Regenerated. + +2002-01-03 matthew green + + * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. + +2002-01-02 Nick Clifton + + * config/tc-m68k.c (md_estimate_size_before_relax): Test for a + NULL frag link. + +For older changes see ChangeLog-0001 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 7fb69505918..829c5b8cc86 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,6888 +1,9 @@ -2003-12-22 Nick Clifton - * gas/sh/err-sh4a-fp.s: Fix spelling of opcode fssra. - * gas/sh/err-sh4a-fp.d: Likewise. - * gas/sh/sh4a-fp.s: Likewise. - * gas/sh/sh4al-dsp.d: Fix expected opcode values for a couple of - instructions. - -2003-12-22 Nick Clifton - - * gas/arm/archv6.d (as): Use -march=armv6j. - * gas/arm/thumbv6.d (as): Likewise. - -2003-12-19 Kazuhiro Inaoka - - * gas/m32r/m32rx.s: Changed pattern bncl to bncl.s. - * gas/m32r/allinsn.d: Update for New RELA-ABI. - * gas/m32r/high-1.d: Likewise. - * gas/m32r/relax-1.d: Likewise. - * gas/m32r/uppercase.d: Likewise. - * gas/m32r/m32rx.d: Likewise. - * gas/vtable/vtable.exp: Likewise. - * gas/m32r/pic.exp: New file for PIC. - * gas/m32r/pic.s: Likewise. - * gas/m32r/pic.d: Likewise. - -2003-12-18 Richard Sandiford - - * gas/mips/mips16-jalx.d: Use -mabi=o64. - * gas/mips/mips16.d: Likewise. - * gas/mips/elf-rel17.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2003-12-17 Nick Clifton - - * gas/m32r/error.exp: Add parallel.s - * gas/m32r/parallel.s: New file: Test warning and error - messages produced for parallel conflicts. - -2003-12-16 Nick Clifton - - * gas/arm/arm.exp: Run special versions of the inst, ldconst, - arm7t and copro tests for the arm-wince-pe target. - * gas/arm/wince_inst.d: New file. Like inst.d but for the - arm-wince-pe target where the -8 bias is not applied to - PC-relative load instructions. - * gas/arm/wince_ldconst.d: New file. Similar reasons. - * gas/arm/wince_arm7t.d: New file. Similar reasons. - * gas/arm/wince_copro.d: New file. Similar reasons. - -2003-12-15 Christian Groessler - - * gas/z8k/eidi.s: Add uppercase forms. Add forms with comma - separated parameters. - -2003-12-14 Mark Mitchell - - * gas/arm/thumbv6.s: Add nops. - * gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops. - -2003-12-14 Alan Modra - - * gas/mmix/basep-8.d: Update for lcomm symbol type change. - * gas/mmix/basep-9.d: Likewise. - -2003-12-10 Zack Weinberg - - * gas/ppc/booke.s: Add two more forms of the mbar instruction - and three forms of the tlbwe instruction. - * gas/ppc/booke.d: Update to match. - -2003-12-10 Paul Brook - - * gas/arm/arm.exp: Add r15-bad. - * gas/arm/r15-bad.s: New file. - * gas/arm/r15-bad.l: New file. - -2003-12-06 Richard Sandiford - - * gas/mips/elf-rel16.[sd]: New test. - * gas/mips/mips.exp: Run it. - * gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)". - * gas/mips/elf-rel-xgot-n64.d: Likewise. - -2003-12-05 Ricardo Anguiano - Mark Mitchell - Richard Earnshaw - - * gas/arm/arm.exp: Add archv6 and thumbv6. - * gas/arm/archv6.d: New file. - * gas/arm/archv6.s: Likewise. - * gas/arm/thumbv6.d: Likewise. - * gas/arm/thumbv6.s: Likewise. - -2003-12-06 Christian Groessler - - * gas/z8k/ctrl-names.d: New file. - * gas/z8k/ctrl-names.s: New file. - * gas/z8k/z8k.exp: Run new tests. - -2003-12-02 Kazuhiro Inaoka - - * gas/m32r/m32r2.exp: New file for m32r2. - * gas/m32r/m32r2.s: Likewise. - * gas/m32r/m32r2.d: Likewise. - -2003-12-03 Nick Clifton - - * gas/vax/vax.exp (do_quad): Treat a vax-*-linux-gnu target as an - ELF target. - -2003-12-01 Kaz Kojima - - * gas/sh/basic.exp: Define ASFLAGS appropriately and don't do - dsp test for sh64/sh5 targets. - * gas/sh/sh64/crange1.s: Tidy up to match data alignment. - * gas/sh/sh64/crange1-1.d: Update. - * gas/sh/sh64/crange1-2.d: Likewise. - * gas/sh/sh64/datal32-3.d: Likewise. - * gas/sh/sh64/datal64-3.d: Likewise. - * gas/sh/sh64/localcom-1.d: Likewise. - -2003-11-27 Alexandre Oliva - - * gas/frv/reloc1.[sd]: Test references to external symbols and - inter-section references too. - -2003-11-26 Christian Groessler - - * gas/z8k/jmp-cc.d: New file. - * gas/z8k/jmp-cc.s: New file. - * gas/z8k/ret-cc.d: New file. - * gas/z8k/ret-cc.s: New file. - * gas/z8k/z8k.exp: Run new tests. - -2003-11-26 Nick Clifton - - * gas/h8300/t01_mov.s: Revert changes. - * gas/h8300/t01_mov.exp: Revert changes. - -2003-11-25 Asgari Jinia - - * gas/h8300/multiples.s : Add instructions for H8s. - * gas/h8300/h8300.exp (do_h8300s_multiple) : Add more test - conditions for instructions for H8s. - * gas/h8300/t01_mov.s: Correct illegal ldm/stm register pairings. - * gas/h8300/t01_mov.exp: Update expected results. - -2003-11-22 Alan Modra - - * gas/i386/divide.s: New. - * gas/i386/divide.d: New. - * gas/i386/i386.exp (gas_32_check): Run it. - - * gas/ppc/machine.s: New. - * gas/ppc/machine.d: New. - * gas/ppc/ppc.exp: Run it. - -2003-11-18 Maciej W. Rozycki - - * gas/mips/lca-svr4pic.d: New test for the "lca" macro. - * gas/mips/lca-xgot.d: Likewise. - * gas/mips/lca.s: Source for the new tests. - * gas/mips/mips.exp: Run the new tests. - -2003-11-14 Nick Clifton - - * gas/arm/arm7.d: Pass -D instead of -d to objdump in order to - display the contents of data fields in the .text section. - This change is necessary after the addition of arm elf mapping - symbol support to gas. - * gas/arm/pic.d: Expect addresses with function name offsets. - This change is necessary after the addition of arm elf mapping - symbol support to gas. - -2003-11-13 Nick Clifton - - * gas/arm/mapping.s: New test: Source for ARM ELF mapping - symbols test. - * gas/arm/mapping.d: New file: Expected output. - * gas/arm/arm.exp: Run new test. - -2003-11-06 Nick Clifton - - * gas/arm/req.s: New test file. Check .req and .unreq psuedo ops. - * gas/arm/req.l: Expected error output from req.s test. - * gas/arm/copro.d: Set target architecture for objdump so that the - test will work on architectures which cannot encode higher arm - architecture types in their file headers. - * gas/arm/arm.exp: Run new req.s test. - Skip thumb instruction test for PE targets which do not support - thumb relocations. - * gas/elf/elf.exp: Skip special handling of section2 test for - XScale targets - it is no longer needed. - -2003-11-04 H.J. Lu - - * gas/m68k/mcf-mov3q.d: Support 64bit BFD. - -2003-11-03 Daniel Jacobowitz - - * gas/arm/arm7t.d: Replace '-#' with '#-'. - * gas/arm/copro.d: Likewise. - * gas/arm/fpa-mem.d: Likewise. - * gas/arm/maverick.c: Likewise. - * gas/arm/maverick.d: Likewise. - * gas/arm/vfp1.d: Likewise. - * gas/arm/vfp1xD.d: Likewise. - * gas/arm/xscale.d: Likewise. - -2003-10-27 Stephane Carrez - - * gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed. - * gas/m68hc11/lbranch-dwarf2.d: Update. - -2003-10-23 Peter Barada - - * gas/m68k/mcf-mov3q.s: New file: Test some ColdFire instructions. - * gas/m68k/mcf-mov3q.s: New file: Expected disassembly. - * gas/m68k/all.exp: Run new test. - -2003-10-22 Andreas Schwab - H.J. Lu - - * gas/ia64/dv-mutex-err.s: Add more tests for compare. - * gas/ia64/dv-mutex.s: Likewise. - - * gas/ia64/dv-mutex-err.l: Updated. - * gas/ia64/dv-mutex.d: Likewise. - -2003-10-18 Hans-Peter Nilsson - - * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add - --no-pushj-stubs option. - * gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs - option. - * gas/mmix/reloclab.l: Adjust for PUSHJ stub. - * gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s, - gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d, - gas/mmix/weak1-s.d: New tests. - -2003-10-17 Ian Lance Taylor - - * gas/arm/iwmmxt-bad.s: New file. - * gas/arm/iwmmxt-bad.l: New file. - * gas/arm/arm.exp: Run new test. - -2003-10-16 Ian Lance Taylor - - * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the - right disassembly. - -2003-10-16 H.J. Lu - - * gas/alpha/elf-reloc-8.d: Updated. - -2003-10-10 Dave Brolley - - * gas/frv/allinsn.s: Use preoperly aligned registers. - * gas/frv/allinsn.d: Update expected results. - -2003-10-08 Chris Demetriou - - * lib/gas-defs.exp (gas_run): Always log the command being run. - (gas_start): Likewise. - (regexp_diff): Make error reporting about non-existent files - consistent. - -2003-10-06 Nick Clifton - - * gas/macros/app1.d: Skip sections symbols (if present). - * gas/macros/app2.d: Likewise. - * gas/macros/app3.d: Likewise. - * gas/macros/app4.d: Likewise. - -2003-10-04 Christian Groessler - - * gas/z8k/calr-backf.s: New file. - * gas/z8k/calr-forwf.s: New file. - * gas/z8k/calr.d: New file. - * gas/z8k/calr.s: New file. - * gas/z8k/djnz-backf.s: New file. - * gas/z8k/djnz-backf2.s: New file. - * gas/z8k/djnz.d: New file. - * gas/z8k/djnz.s: New file. - * gas/z8k/jr-back.d: New file. - * gas/z8k/jr-forw.d: New file. - * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps - for jr-back.d. - * gas/z8k/jr-backf.s: Fix displacement length. - * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps - for jr-forw.d. - * gas/z8k/jr-forwf.s: Fix displacement length. - * gas/z8k/z8k.exp: Run new tests. - -2003-10-01 Thiemo Seufer - - * gas/mips/ldstla-32-shared.d: New file. - * gas/mips/ldstla-32.d: New file. - * gas/mips/ldstla-32.s: New file. - * gas/mips/ldstla-n32-shared.d: New file. - * gas/mips/ldstla-n32.d: New file. - * gas/mips/ldstla-n32.s: New file. - * gas/mips/ldstla-n64-shared.d: New file. - * gas/mips/ldstla-n64.d: New file. - * gas/mips/ldstla-n64.s: New file. - * gas/mips/mips.exp: Add ld-st-la tests. - -2003-09-30 Chris Demetriou - - * lib/gas-defs.exp (run_dump_test): If stderr file is specified - and there was no stderr output, compare anyway (i.e., cause a - test failure). - * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. - * gas/mips/mips64-mips3d.l: New file. - * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for - changes to mips64-mips3d.s. - * gas/mips/mips64-mips3d-incl.d: Likewise. - * gas/mips/set-arch.l: New file. - * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. - * gas/mips/mips5.l: Make error messages match source. - -2003-09-30 Chris Demetriou - - * gas/mips/cp0-names-mips64r2.d: New file. - * gas/mips/cp0sel-names-mips64r2.d: New file. - * gas/mips/elf_arch_mips64r2.d: New file. - * gas/mips/hwr-names-mips64r2.d: New file. - * gas/mips/mips32r2-ill-fp64.l: New file. - * gas/mips/mips32r2-ill-fp64.s: New file. - * gas/mips/mips64r2-ill.l: New file. - * gas/mips/mips64r2-ill.s: New file. - * gas/mips/mips64r2.d: New file. - * gas/mips/mips64r2.s: New file. - * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. - -2003-09-29 Dave Brolley - - * gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. - * gas/frv/allinsn.d (nldqi): Ditto. - -2003-09-25 Hans-Peter Nilsson - - * gas/cris/rd-pcrel2.d: Update for changes in section flag - defaults. - -2003-09-20 Thiemo Seufer - - * gas/mips/elfel-rel.d: Add ABI specification. - * gas/mips/elfel-rel2.d: Likewise. - * gas/mips/elfel-rel3.d: Likewise. - -2003-09-19 Thiemo Seufer - - * gas/mips/rm7000.s: Let objdump print trailing dots. - -2003-09-19 Thiemo Seufer - - * gas/mips/empic3_e.s: Fix typo. - -2003-09-05 Richard Sandiford - - * gas/frv/reloc1.[sd]: New test. - * gas/frv/allinsn.exp: Run it. - -2003-09-04 Nick Clifton - - * gas/v850/v850e1.s: New test source file. - * gas/v850/v850e1.d: New test disassembly file. - * gas/v850/basic.exp: Run v850e1 test. - -2003-09-03 Robert Millan - - * gas/alpha/alpha.exp: Match GNU/KFreeBSD with new kfreebsd*-gnu - triplet. - -2003-09-03 Nick Clifton - - * gas/cris/diffexp-ovwr.d: Remove regexp for empty section - contents string. - gas/cris/pushpop-dcr1-sreg.d: Likewise. - gas/cris/string-1.d: Likewise. - gas/cris/string-2.d: Likewise. - gas/cris/x-to-dcr1-sreg.d: Likewise. - gas/elf/section0.d: Likewise. - gas/elf/section1.d: Likewise. - gas/i386/relax.d: Likewise. - gas/mips/elempic.d: Likewise. - gas/mips/empic.d: Likewise. - gas/mips/mips16-e.d: Likewise. - gas/mips/mips16-f.d: Likewise. - gas/mips/mipsel16-e.d: Likewise. - gas/mips/mipsel16-f.d: Likewise. - gas/mips/rm7000.d: Likewise. - gas/mips/telempic.d: Likewise. - gas/mips/tempic.d: Likewise. - gas/mips/tmips16-e.d: Likewise. - gas/mips/tmips16-f.d: Likewise. - gas/mips/tmipsel16-e.d: Likewise. - gas/mips/tmipsel16-f.d: Likewise. - gas/mmix/align-1.d: Likewise. - gas/mmix/basep-10.d: Likewise. - gas/mmix/basep-11.d: Likewise. - gas/mmix/basep-9.d: Likewise. - gas/mmix/comment-3.d: Likewise. - gas/mmix/cons-1.d: Likewise. - gas/mmix/cons-2.d: Likewise. - gas/mmix/expr-1.d: Likewise. - gas/mmix/fb-1.d: Likewise. - gas/mmix/fb-2.d: Likewise. - gas/mmix/greg1.d: Likewise. - gas/mmix/greg1a.d: Likewise. - gas/mmix/greg2.d: Likewise. - gas/mmix/greg2a.d: Likewise. - gas/mmix/greg3.d: Likewise. - gas/mmix/greg4.d: Likewise. - gas/mmix/greg7.d: Likewise. - gas/mmix/greg8.d: Likewise. - gas/mmix/is-1.d: Likewise. - gas/mmix/local-1.d: Likewise. - gas/mmix/odd-1.d: Likewise. - gas/mmix/op-0-1.d: Likewise. - gas/mmix/op-0-2.d: Likewise. - gas/mmix/prefix3.d: Likewise. - gas/mmix/pseudo-1.d: Likewise. - gas/mmix/weak1.d: Likewise. - gas/sh/sh64/crange1-1.d: Likewise. - gas/sh/sh64/crange1-2.d: Likewise. - gas/sh/sh64/crange2-2.d: Likewise. - gas/sh/sh64/crange3-1.d: Likewise. - gas/sh/sh64/crange4-1.d: Likewise. - gas/sh/sh64/crange5-1.d: Likewise. - gas/sh/sh64/datal32-3.d: Likewise. - gas/sh/sh64/datal64-3.d: Likewise. - gas/sh/sh64/endian-1.d: Likewise. - gas/sh/sh64/endian-2.d: Likewise. - gas/sh/sh64/localcom-1.d: Likewise. - gas/sh/sh64/rel32-5.d: Likewise. - gas/sh/sh64/rel64-5.d: Likewise. - gas/sh/sh64/ua32-1.d: Likewise. - gas/sh/sh64/ua64-1.d: Likewise. - gas/xstormy16/reloc-1.d: Likewise. - -2003-09-01 Maciej W. Rozycki - - * gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for - little-endian. - * gas/mips/elf-rel-got-n64.d: Likewise. - * gas/mips/elf-rel-xgot-n32.d: Likewise. - * gas/mips/elf-rel-xgot-n64.d: Likewise. - -2003-08-29 Jakub Jelinek - - * gas/cfi/cfi-sparc-1.s: New test. - * gas/cfi/cfi-sparc-1.d: New test. - * gas/cfi/cfi-sparc64-1.s: New test. - * gas/cfi/cfi-sparc64-1.d: New test. - * gas/cfi/cfi.exp: Run them. - -2003-08-19 Nick Clifton - - * gas/arm/copro.s: Add tests of Addressing Mode 5 (Unindexed). - * gas/arm/arm.exp: Run copro.s as a dump test. - * gas/arm/copro.d: New file: expected disassembly of copro.s - -2003-08-16 Jason Eckhardt - - * gas/i860/pseudo-ops01.{s,d}: New files. - * gas/i860/i860.exp: Execute the new test above. - * gas/i860/README.i860: Remove align defect from list. - -2003-08-14 Nick Clifton - - * gas/arm/pic.d: Update regexp for destination address of - unrelocated branch instructions so that they point to themselves. - * gas/arm/inst.d: Likewise. - -2003-08-08 Andreas Schwab - - * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. - * gas/cfi/cfi.exp (run_list_test): Run it. - -2003-08-06 Jason Eckhardt - - * gas/i860/dir-align01.{s,d}: New files. - * gas/i860/i860.exp: Execute the new test above. - -2003-08-06 Jason Eckhardt - - * gas/i860/dual02-err.l: Update expected error message. - * gas/i860/README.i860: Remove dual02-err from known failure list. - -2003-08-05 Jason Eckhardt - - * gas/i860/README.i860: Remove dual01 from the known failures. - -2003-08-05 Jason Eckhardt - - * gas/i860/dir-intel01.{s,d}: New files. - * gas/i860/dir-intel02.{s,d}: New files. - * gas/i860/dir-intel03-err.{s,l}: New files. - * gas/i860/i860.exp: Execute the above new tests. - -2003-08-03 Jason Eckhardt - - * gas/i860/*.d: Prefix name with "i860". - -2003-08-03 Jason Eckhardt - - * gas/i860/dual01.{s,d}: New files. - * gas/i860/dual02-err.{s,l}: New files. - * gas/i860/dual03.{s,d}: New files. - * gas/i860/i860.exp: Execute the above new tests. - * gas/i860/README.i860: Update. - -2003-08-02 Alan Modra - - * gas/d10v/address-001.d: Adjust for objdump -d change. - * gas/d10v/control-001.d: Likewise. - * gas/d10v/error-001.d: Likewise. - * gas/d10v/immediate-001.d: Likewise. - * gas/d10v/immediate-002.d: Likewise. - * gas/d10v/immediate-003.d: Likewise. - * gas/d10v/immediate-006.d: Likewise. - * gas/d10v/immediate-007.d: Likewise. - * gas/d10v/instruction_packing-001.d: Likewise. - * gas/d10v/instruction_packing-002.d: Likewise. - * gas/d10v/instruction_packing-003.d: Likewise. - * gas/d10v/instruction_packing-004.d: Likewise. - * gas/d10v/instruction_packing-006.d: Likewise. - * gas/d10v/instruction_packing-007.d: Likewise. - * gas/d10v/instruction_packing-008.d: Likewise. - * gas/d10v/instruction_packing-009.d: Likewise. - * gas/d10v/instruction_packing-010.d: Likewise. - * gas/d10v/instruction_packing.d: Likewise. - * gas/d10v/label-001.d: Likewise. - * gas/d10v/warning-014.d: Likewise. - * gas/m88k/init.d: Likewise. - -2003-08-01 Jason Eckhardt - - * gas/i860/README.i860: New file. - -2003-07-29 Nick Clifton - - * gas/sparc/unalign.d: Remove empty .text disassembly line. - -2003-07-28 H.J. Lu - - * gas/elf/elf.exp: Add section3 for note section. - - * gas/elf/section3.d: New file. - * gas/elf/section3.s: Likewise. - -2003-07-26 Alan Modra - - * gas/ppc/altivec.d: Update. - * gas/ppc/altivec_xcoff.d: Update. - * gas/ppc/altivec_xcoff64.d: Update. - * gas/ppc/booke.d: Update. - * gas/ppc/booke_xcoff.d: Update. - * gas/ppc/booke_xcoff64.d: Update. - * gas/ppc/e500.d: Update. - -2003-07-23 Stephane Carrez - - * gas/m68hc11/m68hc11.exp: Execute the new tests. - * gas/m68hc11/abi.s: New test for abi elf flags. - * gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float. - * gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float. - * gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float. - * gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float. - -2003-07-15 Richard Sandiford - - * gas/mips/rm7000.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2003-07-10 Jakub Jelinek - - * gas/cfi/cfi-ppc-1.s: New test. - * gas/cfi/cfi-ppc-1.d: New test. - * gas/cfi/cfi-s390-1.s: New test. - * gas/cfi/cfi-s390-1.s: New test. - * gas/cfi/cfi-s390x-1.s: New test. - * gas/cfi/cfi-s390x-1.s: New test. - * gas/cfi/cfi.exp: Run them. - -2003-07-09 Alexandre Oliva - - 2002-02-20 Alexandre Oliva - * gas/mn10300/am33-2.c (d8pcsec): PC-relative relocations within - text sections don't decay to section+offset. - * gas/mn10300/am33-2.d: Rebuilt. - 2000-08-15 Eric Christopher - * gas/mn10300/am33-2.c (d8pcsec): New Function - (condjmp): Adjust testcase for TC_LINKRELAX_FIXUP - functionality. - * gas/mn10300/am33-2.d: Regenerate - 2000-05-24 Alexandre Oliva - * gas/mn10300/am33-2.c (d8pcoff): Likewise. - * gas/mn10300/am33-2.d: Rebuilt. - 2000-04-01 Alexandre Oliva - * gas/mn10300/am33-2.c (main): Changed `.am332' to `.am33_2'. - Replaced `AM33 2.0' with `AM33/2.0'. - * gas/mn10300/am33-2.d, gas/mn10300/am33-2.s: Rebuilt. - 2000-03-31 Alexandre Oliva - * gas/mn10300/am33-2.c: New file, that generated... - * gas/mn10300/am33-2.s, gas/mn10300/am33-2.d: New files. - * gas/mn10300/basic.exp: Test am33-2. - -2003-07-08 Chris Demetriou - - * gas/testsuite/gas/mips/mips.exp: Make sure that branch-misc-2 is - run to compile non-PIC code, and add branch-misc-2pic. - * gas/mips/branch-misc-2.l: Adjust for change in non-PIC warnings. - * gas/mips/branch-misc-2pic.l: New file. - * gas/mips/branch-misc-2pic.s: New file. - -2003-07-07 Richard Sandiford - - * gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements. - -2003-07-04 Alan Modra - - * gas/ppc/test2elf64.s: Rename to.. - * gas/ppc/power4.s: ..this. Add mtcr and mfcr testcases. - * gas/ppc/test2elf64.d: Rename to.. - * gas/ppc/power4.d: ..this. Update. - * gas/ppc/ppc.exp: Update. - -2003-07-02 Thiemo Seufer - - * gas/mips/set-arch.d: Fix GPR names and show raw insns. - -2003-06-29 Thiemo Seufer - - * gas/mips/set-arch.s: New file, testcase for .set arch=FOO. - * gas/mips/set-arch.d: Likewise. - * gas/mips/mips.exp: Use it. - -2003-06-25 Richard Sandiford - - * gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy. - -2003-06-24 Richard Sandiford - - * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move... - * gas/h8300/h8300-elf.exp: ...here. - -2003-06-23 H.J. Lu - - * gas/i386/i386.exp: Add prescott. - - * gas/i386/prescott.d: New file. - * gas/i386/prescott.s: Likewise. - -2003-06-21 Thiemo Seufer - - * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. - * gas/mips/elf-rel-xgot-n32.d: Likewise. - * gas/mips/jal-newabi.d: Likewise. - -2003-06-21 Christian Groessler - - * gas/z8k: New directory. - * gas/z8k/dec.s: New file. - * gas/z8k/decbf.s: New file. - * gas/z8k/decf.s: New file. - * gas/z8k/eidi.s: New file. - * gas/z8k/eidif.s: New file. - * gas/z8k/inc.s: New file. - * gas/z8k/incbf.s: New file. - * gas/z8k/incf.s: New file. - * gas/z8k/inout.d: New file. - * gas/z8k/inout.s: New file. - * gas/z8k/jr-back.s: New file. - * gas/z8k/jr-backf.s: New file. - * gas/z8k/jr-forw.s: New file. - * gas/z8k/jr-forwf.s: New file. - * gas/z8k/ldk.s: New file. - * gas/z8k/ldkf.s: New file. - * gas/z8k/z8k.exp: New file. - -2003-06-18 Jakub Jelinek - - * gas/cfi/cfi-i386.d: Regenerated. - * gas/cfi/cfi-common-1.d: Regenerated. - * gas/cfi/cfi-common-2.d: Regenerated. - * gas/cfi/cfi-common-3.d: Regenerated. - * gas/cfi/cfi-x86_64.d: Regenerated. - * gas/cfi/cfi-alpha-1.d: Regenerated. - * gas/cfi/cfi-alpha-2.d: Regenerated. - * gas/cfi/cfi-alpha-3.d: Regenerated. - -2003-06-17 Nick Clifton - - * gas/i386/absrel.d: Tweak patterns to work for i386-pc-cygwin - target as well. - * gas/i386/sub.d: Likewise. - -2003-06-17 Loren James Rittle - - * gas/alpha/elf-reloc-1.d: Allow system-specific gunk after - canonical file format. - * gas/alpha/elf-reloc-4.d: Likewise. - * gas/alpha/elf-reloc-5.d: Likewise. - * gas/alpha/elf-reloc-7.d: Likewise. - * gas/alpha/elf-reloc-8.d: Likewise. - * gas/alpha/elf-tls-1.d: Likewise. - * gas/alpha/elf-usepv-1.d: Likewise. - -2003-06-16 Hans-Peter Nilsson - - * gas/cris: Match output having $ register prefix. Deal with - target variants default requiring register prefix on input. - -2003-06-13 Richard Earnshaw - - * gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test. - -2003-06-12 Richard Sandiford - - * gas/mips/elf-rel15.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2003-06-11 Richard Henderson - - * gas/cfi/cfi-common-3.[ds]: New. - * gas/cfi/cfi.exp: Run it. - -2003-06-11 Alan Modra - - * gas/macros/app1.d: Ignore section symbols. - * gas/macros/app2.d: Likewise. - * gas/macros/app3.d: Likewise. - * gas/macros/app4.d: Likewise. - -2003-06-10 Thiemo Seufer - - * gas/mips/mips.exp: Fix typo. - * gas/mips/elempic.d: Force o64 ABI. - * gas/mips/telempic.d: Likewise. - -2003-06-10 Alan Modra - - * lib/gas-defs.exp (proc is_elf_format): Copy from ld testsuite. - * gas/cfi/cfi.exp: Use here. Only run tests when ELF. - * gas/macros/and.s: Avoid .set so we don't break mips. - -2003-06-10 Alan Modra - - * gas/macros/and.s: New. - * gas/macros/macros.exp: Assemble it. - -2003-06-10 Gary Hade - - * gas/ppc/test2elf64.{s,d}: New test. - * gas/ppc/ppc.exp: Run new test. - -2003-06-10 Richard Sandiford - - * gas/h8300/h8sx_mov_imm.[sd]: New test. - * gas/h8300/h8300.exp: Run it. - -2003-06-10 Richard Sandiford - - * gas/h8300/h8sx_rtsl.[sd]: New test. - * gas/h8300/h8300.exp: Run it. - -2003-06-10 Richard Sandiford - - * gas/h8300/h8sx_disp2.[sd]: New test. - * gas/h8300/h8300.exp: Run it. - -2003-06-07 Richard Henderson - - * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New. - * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New. - * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New. - * gas/cfi/cfi.exp: Run them. - -2003-06-05 Michael Snyder - - * gas/h8300/t01_mov.s: New file, tests mov instructions. - * gas/h8300/t02_mova.s: New file, tests mova instructions. - * gas/h8300/t03_add.s: New file, tests add instructions. - * gas/h8300/t04_sub.s: New file, tests sub instructions. - * gas/h8300/t05_cmp.s: New file, tests cmp instructions. - * gas/h8300/t06_ari2.s: New file, tests arithmetic instructions. - * gas/h8300/t07_ari3.s: New file, tests arithmetic instructions. - * gas/h8300/t08_or.s: New file, tests or instructions. - * gas/h8300/t09_xor.s: New file, tests xor instructions. - * gas/h8300/t10_and.s: New file, tests and instructions. - * gas/h8300/t11_logs.s: New file, tests logical instructions. - * gas/h8300/t12_bit.s: New file, tests bit instructions. - * gas/h8300/t13_otr.s.s: New file, tests misc. instructions. - * gas/h8300/t01_mov.exp: New file. - * gas/h8300/t02_mova.exp: New file. - * gas/h8300/t03_add.exp: New file. - * gas/h8300/t04_sub.exp: New file. - * gas/h8300/t05_cmp.exp: New file. - * gas/h8300/t06_ari2.exp: New file. - * gas/h8300/t07_ari3.exp: New file. - * gas/h8300/t08_or.exp: New file. - * gas/h8300/t09_xor.exp: New file. - * gas/h8300/t10_and.exp: New file. - * gas/h8300/t11_logs.exp: New file. - * gas/h8300/t12_bit.exp: New file. - * gas/h8300/t13_otr.exp: New file. - -2003-06-04 Richard Henderson - - * gas/alpha/elf-usepv-1.[sd]: New. - * gas/alpha/elf-usepv-2.[sd]: New. - * gas/alpha/alpha.exp: Run them. - * gas/cfi/cfi-alpha-3.[sd]: New. - * gas/cfi/cfi.exp: Run it. - -2003-05-31 Richard Henderson - - * gas/alpha/elf-reloc-8.d: Correct .eh_frame relocs. - * gas/cfi/cfi-alpha-2.d: New. - * gas/cfi/cfi-alpha-2.s: New. - * gas/cfi/cfi.exp: Run it. - -2003-05-29 Richard Henderson - - * gas/alpha/elf-reloc-8.d: Add .eh_frame relocs. - * gas/cfi/cfi-alpha-1.d: New. - * gas/cfi/cfi-alpha-1.s: New. - * gas/cfi/cfi.exp: Run it. - -2003-05-27 Richard Henderson - - * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. - * gas/cfi/cfi-x86_64.d: Likewise. - * gas/cfi/cfi-i386-2.d: New. - * gas/cfi/cfi-i386-2.s: New. - -2003-05-23 Jason Eckhardt - - * gas/i860/xp.s: New file. - * gas/i860/xp.d: New file. - -2003-05-23 Richard Earnshaw - - * gas/i860/i860.exp: Don't call exit if the target isn't an i860. - -2003-05-22 Thiemo Seufer - - * gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro. - * gas/mips/jal-newabi.d: Likewise. - * gas/mips/mips.exp: Add new testcase. - -2003-05-21 H.J. Lu - - * gas/hppa/parse/parse.exp: Add "space.s". - * gas/hppa/parse/space.s: New file to test spaces. - -2003-05-20 Jason Eckhardt - - * gas/i860/branch.{s,d}: New files. - * gas/i860/system.{s,d}: New files. - -2003-05-20 Jason Eckhardt - - * gas/i860/bitwise.{s,d}: New files. - * gas/i860/bte.{s,d}: New files. - * gas/i860/fldst01.{s,d}: New files. - * gas/i860/fldst02.{s,d}: New files. - * gas/i860/fldst03.{s,d}: New files. - * gas/i860/fldst04.{s,d}: New files. - * gas/i860/fldst05.{s,d}: New files. - * gas/i860/fldst06.{s,d}: New files. - * gas/i860/fldst07.{s,d}: New files. - * gas/i860/fldst08.{s,d}: New files. - * gas/i860/float01.{s,d}: New files. - * gas/i860/float02.{s,d}: New files. - * gas/i860/float03.{s,d}: New files. - * gas/i860/float04.{s,d}: New files. - * gas/i860/form.{s,d}: New files. - * gas/i860/iarith.{s,d}: New files. - * gas/i860/ldst01.{s,d}: New files. - * gas/i860/ldst02.{s,d}: New files. - * gas/i860/ldst03.{s,d}: New files. - * gas/i860/ldst04.{s,d}: New files. - * gas/i860/ldst05.{s,d}: New files. - * gas/i860/ldst06.{s,d}: New files. - * gas/i860/pfam.{s,d}: New files. - * gas/i860/pfmam.{s,d}: New files. - * gas/i860/pfmsm.{s,d}: New files. - * gas/i860/pfsm.{s,d}: New files. - * gas/i860/regress01.{s,d}: New files. - * gas/i860/shift.{s,d}: New files. - * gas/i860/simd.{s,d}: New files. - -2003-05-20 Jason Eckhardt - - * gas/i860: New directory. - * gas/i860/i860.exp: New file. - -2003-05-20 Michal Ludvig - - * gas/cfi/cfi.exp: Testsuite for cfi machinery. - * gas/cfi/cfi-x86_64.[sd]: Files for x86-64. - * gas/cfi/cfi-i386.[sd]: Files for i386. - -2003-05-19 Thiemo Seufer - - * gas/mips/mips.exp: mips-*-linux-*, mipsel-*-linux-* use only 32-bit - register width by default. Add them to addr32 and exclude offending - testcases. - * gas/mips/delay.s: Avoid odd floating point registers. - * gas/mips/delay.d: Likewise. - * gas/mips/nodelay.d: Likewise. - * gas/mips/mips4.s: Likewise. - * gas/mips/mips4.d: Likewise. - * gas/mips/mips5.s: Likewise. - * gas/mips/mips5.d: Likewise. - * gas/mips/vr5400.s: Likewise. - * gas/mips/vr5400.d: Likewise. - * gas/mips/vr5500.s: Likewise. - * gas/mips/vr5500.d: Likewise. - * gas/mips/elf_e_flags2.d: Allow different expansions of the move - macro. - * gas/mips/elf_e_flags3.d: Likewise. - * gas/mips/elf_e_flags4.d: Likewise. - * gas/mips/uld2-eb.d: Likewise. - * gas/mips/uld2-el.d: Likewise. - -2003-05-16 Kelley Cook - - * lib/gas-defs.exp: Accept i[3-7]86 variants. - -2003-05-13 Hans-Peter Nilsson - - * gas/macros/app1.s, gas/macros/app1.d, gas/macros/app2.s, - gas/macros/app2.d, gas/macros/app3.s, gas/macros/app3.d, - gas/macros/app4.s, gas/macros/app4b.s, gas/macros/app4.d: New - tests. - * gas/macros/macros.exp: Run them. - -2003-05-07 H.J. Lu - - * gas/ia64/ia64.exp: Add alias. - - * gas/ia64/alias.s: New. - * gas/ia64/alias.d: Likewise. - -2003-05-06 Alexandre Oliva - - * gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d, - gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d, - gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d, - gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d, - gas/mips/cp0sel-names-mips32r2.d, - gas/mips/cp0sel-names-mips64.d, - gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d, - gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d, - gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d, - gas/mips/elf-rel6.d, gas/mips/elf-rel7.d, - gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d, - gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d, - gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d, - gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d, - gas/mips/elf_ase_mips16.d, gas/mips/empic.d, - gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d, - gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d, - gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d, - gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d, - gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d, - gas/mips/la-empic.d, gas/mips/la-svr4pic.d, - gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d, - gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d, - gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d, - gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d, - gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d, - gas/mips/lif-xgot.d, gas/mips/lifloat.d, - gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d, - gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d, - gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d, - gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d, - gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d, - gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d, - gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d, - gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d, - gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d, - gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, - gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d, - gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d, - gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d, - gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulw.d, - gas/mips/ulw2-eb.d, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-el.d, - gas/mips/ulw2-el-ilocks.d, gas/mips/usd.d, gas/mips/ush.d, - gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification. - gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are - RELA. - -2003-05-03 H.J. Lu - - * gas/elf/symver.s: Use '%' instead of '@' in .type. - * gas/elf/type.s: Likewise. - -2003-05-03 H.J. Lu - - * gas/elf/elf.exp (run_list_test): Support pipe for readelf. - - * gas/elf/type.e-m32r: Removed. - * gas/elf/type.e-mips: Likewise. - * gas/elf/type.e-miwmmxt: Likewise. - - * gas/elf/type.e: Updated. - -2003-05-03 H.J. Lu - - * gas/ia64/ia64.exp: Add unwind. - - * gas/ia64/unwind.s: New. Test the new section attribute 'o' - and the new section type "unwind". - * gas/ia64/unwind.d: Likewise. - -2003-05-02 Chris Demetriou - - * gas/mips/mips.exp (mips_arch_init): Reimplement in - a way that's safe with ancient versions of tcl/expect. - -2003-05-01 Chris Demetriou - - * gas/mips/mips.exp (mips_arch_init): New function. - Call it before setting up architecture array entries. - -2003-05-01 H.J. Lu - - * gas/elf/elf.exp (run_list_test): Accept empty $opts. - Add type test. - - * gas/elf/type.e: New file. - * gas/elf/type.s: Likewise. - * gas/elf/type.e-m32r: Likewise. - * gas/elf/type.e-mips: Likewise. - * gas/elf/type.e-miwmmxt: Likewise. - -2003-05-01 H.J. Lu - - * gas/ia64/ia64.exp: Add secname. - - * gas/ia64/secname.s: New. Test the trailing '#' in section - name. - * gas/ia64/secname.d: Likewise. - -2003-05-01 H.J. Lu - - * gas/ia64/ia64.exp: Add "global". - - * gas/ia64/global.d: New file. - * gas/ia64/global.s: Likewise. - -2003-04-30 H.J. Lu - - * gas/ia64/ia64.exp: Add order. - - * gas/ia64/order.s: New file. - * gas/ia64/order.d: Likewise. - -2003-04-29 H.J. Lu - - * gas/ia64/ia64.exp: Add align. - - * gas/ia64/align.d: New file. - * gas/ia64/align.s: Likewise. - - * ia64/dependency-1.d: Remove the padding. - -2003-04-30 H.J. Lu - - * gas/ia64/ia64.exp: Add real. - - * gas/ia64/real.s: New file. - * gas/ia64/real.d: Likewise. - -2003-04-29 Nick Clifton - - * gas/elf/elf.exp: Invoke symver test. - * gas/elf/symver.s: New test case. - * gas/elf/symver.d: Expected output. - -2003-04-24 Nick Clifton - - * gas/ppc/astest2.s: Add tests for conditional branches with - probability indicators. - * gas/ppc/astest2.d: Add expected disassembly. - -2003-04-23 H.J. Lu - - * gas/ia64/opc-i.s: Add testcases for valid label. - * gas/ia64/opc-i.d: Updated. - -2003-04-10 Alexandre Oliva - - * gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s, - gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, - gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. - * gas/mips/mips.exp: Test them. - -2003-04-08 Nick Clifton - - * gas/m32r/m32r.exp: Run signed-relocs test. - * gas/m32r/signed-relocs.s: New file: Test signed relocs. - * gas/m32r/signed-relocs.d: New file: Expected results - - * gas/ia64/dependency-1.s: New file: Test read before write dependency. - * gas/ia64/dependency-1.d: New file: Expected assembly results. - * gas/ia64/ia64.exp: Run the new test. - -2003-04-05 Stephane Carrez - - * gas/m68hc11/bug-1825.d (_table): Update. - * gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs - -2003-04-05 Stephane Carrez - - * gas/m68hc11/insns.s: Add %page and %addr checks. - * gas/m68hc11/insns12.s: Likewise. - * gas/m68hc11/insns-dwarf2.d: Update. - * gas/m68hc11/insns.d: Update. - -2003-04-04 Chris Demetriou - - * gas/mips/mips5.d: New test. - * gas/mips/mips5.l: New test stderr listing. - * gas/mips/mips5.s: New test source file. - * gas/mips/mips.exp: Run the mips5 test. - -2003-04-03 Philip Blundell - - * gas/arm/offset.s: New test. - * gas/arm/arm.exp (run_errors_test): Run it. - -2003-04-02 Chris Demetriou - - * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes. - - * gas/mips/mips.exp: Define new "gpr_ilocks" architecture - property, and add it to mips2 (and later) chips and r3900. - * gas/mips/uld2.s: New test source file. - * gas/mips/ulh2.s: Likewise. - * gas/mips/ulw2.s: Likewise. - * gas/mips/uld2.l: New test stderr listing. - * gas/mips/ulh2.l: Likewise. - * gas/mips/ulw2.l: Likewise. - * gas/mips/uld2-eb.d: New test. - * gas/mips/uld2-el.d: Likewise. - * gas/mips/ulh2-eb.d: Likewise. - * gas/mips/ulh2-el.d: Likewise. - * gas/mips/ulw2-eb-ilocks.d: Likewise. - * gas/mips/ulw2-eb.d: Likewise. - * gas/mips/ulw2-el-ilocks.d: Likewise. - * gas/mips/ulw2-el.d: Likewise. - * gas/mips/mips.exp: Run new tests for appropriate architectures. - -2003-04-01 Bob Wilson - - * gas/xtensa/all.exp: New file. - * gas/xtensa/entry_align.s: Likewise. - * gas/xtensa/entry_misalign2.s: Likewise. - * gas/xtensa/entry_misalign.s: Likewise. - * gas/xtensa/j_too_far.s: Likewise. - * gas/xtensa/loop_align.s: Likewise. - * gas/xtensa/loop_misalign.s: Likewise. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * gas/arm/arm.exp: Run iwmmxt test. - * gas/arm/iwmmxt.s: New test source file. - * gas/arm/iwmmxt.d: New test expected results file. - * gas/elf/elf.exp: Fix section2 test to cope with note section. - * gas/eld/section2.e-miwxxmt: New test expected results file. - -2003-03-12 Alexandre Oliva - - * gas/mips/branch-misc-2.s: Add branch to symbol in another - section. - * gas/mips/branch-misc-2.l: Update error messages and warnings. - -2003-03-12 Alexandre Oliva - - * Reverted previous patch. - -2003-03-02 Thiemo Seufer - - * gas/mips/bge.d: Reactivate external branch tests. - * gas/mips/bge.s: Likewise. - * gas/mips/bgeu.d: Likewise. - * gas/mips/bgeu.s: Likewise. - * gas/mips/blt.d: Likewise. - * gas/mips/blt.s: Likewise. - * gas/mips/bltu.d: Likewise. - * gas/mips/bltu.s: Likewise. - * gas/mips/branch-misc-2.d: New File. - * gas/mips/branch-misc-2.l: Remove. - * gas/mips/mips.exp: Adjust branch-misc-2 test. - -2003-02-21 Nick Clifton - - * gas/all/test-gen.c: New file: Framework for automatically - generating assembler test files. - * gas/all/test-examples.c: New file: Example of a file using - test-gen.c. - - * gas/arm/maverick.c: Rework to produce correct test files and - fix formatting. - * gas/arm/maverick.s: Regenerate. - * gas/arm/maverick.d: Regenerate. - * gas/arm/arm.exp: Always run Maverick tests. - -2003-02-21 Richard Sandiford - - * gas/mips/elf-rel14.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2003-02-07 Richard Sandiford - - * gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests. - * gas/mips/mips.exp: Run them. - -2003-02-07 Richard Sandiford - - * gas/mips/expr1.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2003-02-06 Gwenole Beauchesne - - * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes. - * gas/i386/x86-64-opcode.d: Adjust to suit. - -2003-02-04 Hans-Peter Nilsson - - * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change. - -2003-02-02 Richard Sandiford - - * gas/mips/elf-rel8.[sd], gas/mips/elf-rel9.[sd], - gas/mips/elf-rel10.[sd], gas/mips/elf-rel11.[sd]: New tests. - * gas/mips/mips.exp: Run elf-rel8 and elf-rel9 for all elf - targets. Run elf-rel10 and elf-rel11 for NewABI targets. - -2003-01-27 Alexandre Oliva - - * gas/mips/n32-consec.d: New. - * gas/mips/n32-consec.s: New. - * gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and - mips64*-linux* systems. - -2003-01-23 Martin Schwidefsky - - * gas/s390/reloc.s: Add test for PLT reloc against locally defined - but global function. - * gas/s390/reloc.d: Likewise. - * gas/s390/reloc64.s: Likewise. - * gas/s390/reloc64.d: Likewise. - -2003-01-21 Adrian Bunk - - * gas/sparc/sparc.exp (sparc_elf_setup): All NetBSD ELF targets - should pass these tests. - -2003-01-20 Martin Schwidefsky - - * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff - relocations. - * gas/s390/reloc.s: Likewise. - * gas/s390/reloc64.d: Likewise. - * gas/s390/reloc64.s: Likewise. - -2003-01-07 DJ Delorie - - * gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs. - -2003-01-02 Jeff Johnston - - * gas/iq2000: New testsuite. - -2003-01-02 Chris Demetriou - - * gas/mips/elf_arch_mips32r2.d: Fix file description comment. - -2002-12-31 Chris Demetriou - - * gas/mips/cp0sel-names-mips32.d: New test. - * gas/mips/cp0sel-names-mips32r2.d: New test. - * gas/mips/cp0sel-names-mips64.d: New test. - * gas/mips/cp0sel-names-numeric.d: New test. - * gas/mips/cp0sel-names-sb1.d: New test. - * gas/mips/cp0sel-names.s: New test source file. - * gas/mips/mips.exp: Run new tests. - -2002-12-30 Chris Demetriou - - * gas/mips/elf_arch_mips1.d: New test. - * gas/mips/elf_arch_mips2.d: New test. - * gas/mips/elf_arch_mips3.d: New test. - * gas/mips/elf_arch_mips4.d: New test. - * gas/mips/elf_arch_mips5.d: New test. - * gas/mips/elf_arch_mips32.d: New test. - * gas/mips/elf_arch_mips32r2.d: New test. - * gas/mips/elf_arch_mips64.d: New test. - * gas/mips/empty.s: New test source file. - * gas/mips/mips.exp: Run new tests. - - * gas/mips/elf_ase_mips16.d: Change to use empty.s - * gas/mips/elf_ase_mips16.s: Remove. - -2002-12-30 Chris Demetriou - - * gas/mips/cp0-names-mips32r2.d: New test. - * gas/mips/hwr-names-mips32r2.d: New test. - * gas/mips/hwr-names-numeric.d: New test. - * gas/mips/hwr-names.s: New test source file. - * gas/mips/mips32r2.d: New test. - * gas/mips/mips32r2.s: New test source file. - * gas/mips/mips32r2-ill.l: New test. - * gas/mips/mips32r2-ill.s: New test source file. - * gas/mips/mips.exp: Add mips32r2 architecture data array - entry. Run new tests mentioned above. - -2002-12-24 Dmitry Diky - - * gas/msp430: New directory. - * gas/msp430/msp430.exp: Test msp430 assembler. - * gas/msp430/opcode.s: Test source file. - * gas/msp430/opcode.s: Expected disassembly. - -2002-12-27 Chris Demetriou - - * gas/mips/mips.exp: Define the notion of an "architecture data - array," add comments indicating how to add a new architecture and - suggestions for adding new tests. Populate the architecture data - array with many known architectures and convert many tests to - be run for multiple architectures. - (mips_arches): New global array. - (mips_arch_create, mips_arch_list_all, mips_arch_data) - (mips_arch_displayname, mips_arch_properties) - (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches) - (mips_arch_list_matching): New functions to operate on mips_arches. - (run_dump_test_arch, run_dump_test_arches, run_list_test_arch) - (run_list_test_arches): New functions. - (run_list_test): Document and add an optional "test name" argument. - * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags, - and CPU names from test names. - * gas/mips/add.d: Likewise. - * gas/mips/and.d: Likewise. - * gas/mips/dli.d: Likewise. - * gas/mips/jal-empic-elf-2.d: Likewise. - * gas/mips/jal-empic-elf-3.d: Likewise. - * gas/mips/jal-empic-elf.d: Likewise. - * gas/mips/lb-svr4pic.d: Likewise. - * gas/mips/lb.d: Likewise. - * gas/mips/mips32.d: Likewise. - * gas/mips/mips4.d: Likewise. - * gas/mips/mips64.d: Likewise. - * gas/mips/rol-hw.d: Likewise. - * gas/mips/rol.d: Likewise. - * gas/mips/rol64-hw.d: Likewise. - * gas/mips/rol64.d: Likewise. - * gas/mips/elf-jal.d: Likewise. Also, indicate ELF in test name. - * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this - test uses the -mdmx flag. - * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that - this test uses the -mips3d flag. - * gas/mips/mips64-mips3d-incl.d: New file. - -2002-12-27 Chris Demetriou - - * gas/mips/cp0-names-mips32.d: New file. - * gas/mips/cp0-names-mips64.d: New file. - * gas/mips/cp0-names-numeric.d: New file. - * gas/mips/cp0-names-sb1.d: New file. - * gas/mips/cp0-names.s: New file. - * gas/mips/fpr-names-32.d: New file. - * gas/mips/fpr-names-64.d: New file. - * gas/mips/fpr-names-n32.d: New file. - * gas/mips/fpr-names-numeric.d: New file. - * gas/mips/fpr-names.s: New file. - * gas/mips/gpr-names-32.d: New file. - * gas/mips/gpr-names-64.d: New file. - * gas/mips/gpr-names-n32.d: New file. - * gas/mips/gpr-names-numeric.d: New file. - * gas/mips/gpr-names.s: New file. - * gas/mips/mips.exp: Run new tests. - -2002-12-20 Chris Demetriou - - * lib/gas-defs.exp (run_dump_test): Add a new optional argument, - "extra_options". - -2002-12-18 Chris Demetriou - - * gas/mips/rol.s: Add ".set noat" and some new instructions to test. - * gas/mips/rol64.s: Likewise. - * gas/mips/rol.l: New file. - * gas/mips/rol.d: Adjust to use rol.l and for rol.s changes. - * gas/mips/rol64.l: New file. - * gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes. - * gas/mips/rol-hw.d: New file. - * gas/mips/rol-hw.l: New file. - * gas/mips/rol64-hw.d: New file. - * gas/mips/rol64-hw.l: New file. - * gas/mips/mips.exp: Run rol-hw and rol64-hw tests. - -2002-12-12 Alexandre Oliva - - * gas/mips/beq.d: Comment out branches to undefined symbols, - no longer supported. - * gas/mips/beq.s: Likewise. - * gas/mips/bge.d: Likewise. - * gas/mips/bge.s: Likewise. - * gas/mips/bgeu.d: Likewise. - * gas/mips/bgeu.s: Likewise. - * gas/mips/blt.d: Likewise. - * gas/mips/blt.s: Likewise. - * gas/mips/bltu.d: Likewise. - * gas/mips/bltu.s: Likewise. - * gas/mips/mips.exp: Change branch-misc-2 test to run_list_test. - * gas/mips/branch-misc-2.d: Removed. - * gas/mips/branch-misc-2.s: Added branches to undefined symbols. - * gas/mips/branch-misc-2.l: New. - -2002-12-09 Aldy Hernandez - - * gas/ppc/booke.d: Fix msync and mbar to reflect reality. - - * gas/ppc/e500.d: Fix m[tf]pmr to reflect reality. - -2002-12-08 Stephane Carrez - - * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function; - (gas_m68hc11_warning): New function. - (gas_m68hc11_message): New function. - (top): New tests for assembler errors. - (gas_m68hc11_opcode_list): New function. - (top): New tests for opcode list. - -2002-12-08 Stephane Carrez - - * gas/m68hc11/bug-1825.s: Add some tests. - * gas/m68hc11/bug-1825.d: Update. - * gas/m68hc11/opers12.d: Update. - * gas/m68hc11/opers12-dwarf2.d: Update. - -2002-12-05 Richard Henderson - - * gas/ia64/ltoff22x-1.[ds]: New. - * gas/ia64/ia64.exp: Run it. - -2002-12-05 Jim Wilson - - * gas/ia64/opc-x.d: Regenerate. - -2002-12-05 Alan Modra - - * gas/arm/adrl.s: Pad end of .text. - * gas/arm/adrl.d: Adjust to suit. - -2002-12-04 David Mosberger - - * gas/ia64/opc-b.d: Update for instructions added by SDM2.1. - * gas/ia64/opc-b.s: Ditto. - * gas/ia64/opc-f.d: Ditto. - * gas/ia64/opc-f.s: Ditto. - * gas/ia64/opc-i.d: Ditto. - * gas/ia64/opc-i.s: Ditto. - * gas/ia64/opc-m.d: Ditto. - * gas/ia64/opc-m.s: Ditto. - * gas/ia64/opc-x.d: Ditto. - * gas/ia64/opc-x.s: Ditto. - -2002-12-03 Richard Henderson - - * gas/ia64/ldxmov-1.[ds]: New. - * gas/ia64/ldxmov-2.[ls]: New. - * gas/ia64/ia64.exp: Run them. - -2002-12-03 Alan Modra - - * gas/arm/adrl.s: Test behaviour against globals too. - * gas/arm/adrl.d: Adjust. - -2002-12-02 Nick Clifton - - * gasp: Remove entire directory tree. (Gasp has been removed from - binutils). - * config/default.asp (GASP): Remove definition and initialization. - -2002-12-01 Stephane Carrez - - * gas/m68hc11/m68hc11.exp: Rename from all.exp; run the new tests. - * gas/m68hc11/all.exp: Remove. - * gas/m68hc11/indexed12.d: New test. - * gas/m68hc11/indexed12.s: Likewise. - * gas/m68hc11/bug-1825.d: Likewise. - * gas/m68hc11/bug-1825.s: Likewise. - -2002-12-01 Stephane Carrez - - * gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdump - can find the real symbol and not a gas internal debug symbol. - * gas/m68hc11/insns.d: Update. - * gas/m68hc11/insns-dwarf2.d: Update. - * gas/m68hc11/insns12.d: Update. - * gas/m68hc11/opers12.s (min5b, min9b): Use 16 and -256 for the min. - * gas/m68hc11/opers12.d: Update after indexed offset operand fixes. - * gas/m68hc11/opers12-dwarf2.d: Likewise. - -2002-11-30 Kaz Kojima - - * sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label". - * sh/gas/sh/pic.d: Add expected output. - -2002-11-29 Nick Clifton - - * gas/arm/arch5tej.s: Replace "nop"s with tests of breakpoint - instruction. - * gas/arm/arch5tej.d: Expect "bkpt"s not nops. - -2002-11-26 Hans-Peter Nilsson - - * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test. - -2002-11-25 DJ Delorie - - * gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings. - -2002-11-19 DJ Delorie - - * gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh. - * gas/xstormy16/allinsn.d: Regenerate. - * gas/xstormy16/allinsn.s: Regenerate. - -2002-11-18 Svein E. Seldal - - * gas/all/gas.exp: Setup for tic4x testcase - * gas/macros/macros.exp: Ditto - * gas/tic4x: New tic4x gas testsuite directory - * gas/tic4x/addressing.s: Create. Fix bug in one insn - * gas/tic4x/addressing_c3x.d: Create and update - * gas/tic4x/addressing_c4x.d: Create and update - * gas/tic4x/allopcodes.S: Create. Add support for new - opclass.h changes. - * gas/tic4x/data.d: Create - * gas/tic4x/data.s: Create - * gas/tic4x/float.d: Create - * gas/tic4x/float.s: Create - * gas/tic4x/opclasses.h: Create. Added testsuites for the - new enhanced opcodes. - * gas/tic4x/opcodes.s: Create (regenerate). - * gas/tic4x/opcodes_c3x.d: Create. Updated from enhanced - changes - * gas/tic4x/opcodes_c4x.d: Create. Ditto. - * gas/tic4x/rebuild.sh: Create - * gas/tic4x/registers.s: Create - * gas/tic4x/registers_c3x.d: Create - * gas/tic4x/registers_c4x.d: Create - * gas/tic4x/zeros.d: Create - * gas/tic4x/zeros.s: Create - * gas/tic4x/opcodes_new.d: Added new testsuite for - the enhanced and special insns. - * gas/tic4x/tic4x.exp: Create. Added the opcodes_new testsuite - -2002-11-12 Alan Modra - - * gas/ppc/booke.d: Adjust output for corrected condition reg. - -2002-11-07 Nick Clifton - - * gas/all/gas.exp: Only run fastcall test for x86 PE targets. - -2002-11-07 Casper S. Hornstrup - - * gas/all/gas.exp: Run fastcall label handling test. - * gas/all/fastcall.s: New file for testing handling of fastcall - labels. - -2002-11-01 H.J. Lu - - * gas/i386/i386.exp: Add "sub". - - * gas/i386/sub.d: New. - * gas/i386/sub.s: New. - -2002-10-22 H.J. Lu - - * gas/mips/branch-misc-2.d: Updated. - -2002-10-23 Hans-Peter Nilsson - - * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s, - gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests. - -2002-10-21 Richard Sandiford - - * gas/mips/elf-rel7.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2002-10-12 Alexandre Oliva - - * gas/mips/mips.exp: Don't xfail relax. - * gas/mips/relax.s: Increase coverage. - * gas/mips/relax.d: Add expected output. Use relax.l for as stderr. - * gas/mips/relax.l: New file. - -2002-10-11 Kaz Kojima - - * gas/sh/tlsd.s, gas/sh/tlsd.d: New. - * gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. - * gas/sh/tlspic.s, gas/sh/tlspic.d: New. - * gas/sh/basic.exp: Add new tests. - -2002-10-09 Stephen Clarke - - * gas/elf.exp: Don't run for sh64*-*-linux*, because it sets the - lsb in SHmedia code addresses. - * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable - recognition of SH-1/2/3/4 instructions. - (proc do_fp): Do not run dsp tests for sh64*-*-linux*. - * gas/sh/sh64/abi-32.d: Adjust expected output to include - sh64*-*-linux* formats too. - * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, - gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, - gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, - gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, - sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, - gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, - gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, - gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, - gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, - gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, - gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, - gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, - gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, - gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, - gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, - gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, - gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, - gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, - gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, - gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, - gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, - gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, - gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, - gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, - gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, - gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, - gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, - gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, - gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, - gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, - gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, - gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, - gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, - gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, - gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, - gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, - gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, - gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, - gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, - gas/sh/sh64/ua64-1.d: Likewise. - -2002-10-03 Chris Demetriou - - * gas/mips/mips-no-jalx.l: Make error message regexps accomodate - tools which target a specific CPU by default. - -2002-10-03 Kaz Kojima - - * testsuite/gas/sh/pcrel2.d: Check code also. - -2002-10-02 Stephen Clarke - - * gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS* - symbol generation. - * gas/sh/sh64/ptc64-noexp-1.d: Likewise. - -2002-09-30 H.J. Lu - - * gas/mips/mips.exp: Undo the last change. - -2002-09-30 H.J. Lu - - * gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and - empic3_g2 on Linux/mips. - -2002-09-30 H.J. Lu - - * gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the - rest of output. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - DJ Delorie - Michael Meissner - Eric Christopher - Richard Sandiford - - * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... - * gas/mips/vr4111.[sd]: ...this new test. - * gas/mips/vr4120.[sd], - * gas/mips/vr4122.[sd], - * gas/mips/vr5400.[sd], - * gas/mips/vr5500.[sd]: New tests. - * mips.exp: Run them. - -2002-09-27 Kaz Kojima - - * gas/sh/pcrel2.s: New. - * gas/sh/pcrel2.d: New. - * gas/sh/basic.exp: Add pcrel2 test. - -2002-09-27 Jason Thorpe - - * gas/vax/elf-rel.[ds]: New test. - * gas/vax/quad.exp: Move contents to... - * gas/vax/vax.exp: ...here. New file. - -2002-09-27 H.J. Lu - - * gas/mips/mips-jalx.s: Add ".p2align 4". - * gas/mips/mips16-jalx.s: Likewise. - - * gas/mips/mips-jalx.d: Check nop. - * gas/mips/mips16-jalx.d: Likewise. - -2002-09-26 Thiemo Seufer - - * gas/mips/mips-jalx.d: New file, check jalx assembly. - * gas/mips/mips-jalx.s: Likewise. - * gas/mips/mips-no-jalx.l: Likewise. - * gas/mips/mips-no-jalx.s: Likewise. - * gas/mips/mips16-jalx.d: Likewise. - * gas/mips/mips16-jalx.s: Likewise. - * gas/mips/mips.exp: Add new tests. - -2002-09-26 Thiemo Seufer - - * gas/mips/jal-range.s: Fix jump overflow check. - * gas/mips/jal-range.l: Likewise. - -2002-09-23 Nick Clifton - - * gas/arm/armv1-bad.s: Add LDM and STM instructions which are - unpredictable because of their use of the writeback bit. - -2002-09-21 Nick Clifton - - * gas/arm/inst.s: Fix UNPREDICATABLE use of writeback in LDM/STM - instructions. - * gas/arm/inst.d: Update expected results. - -2002-09-19 Jakub Jelinek - - * gas/i386/tlspic.s: Add tests. - * gas/i386/tlspic.d: Regenerated. - * gas/i386/tlsnopic.s: Add tests. - * gas/i386/tlsnopic.d: Regenerated. - -2002-09-19 Richard Henderson - - * gas/alpha/elf-reloc-7.s: New. - * gas/alpha/elf-reloc-7.d: New. - * gas/alpha/alpha.exp: Run it. - -2002-09-18 Chris Demetriou - - * gas/mips/mips-abi32-pic2.s: New file. - * gas/mips/mips-abi32-pic2.d: New file. - * gas/mips/mips.exp: Run new test. - -2002-09-18 Chris Demetriou - - * gas/mips/baddata1.s: New file. - * gas/mips/baddata1.l: New file. - * gas/mips/mips.exp: Run new test. - -2002-09-18 Chris Demetriou - - * gas/mips/branch-misc-1.d: New file. - * gas/mips/branch-misc-1.s: New file. - * gas/mips/branch-misc-2.s: New file. - * gas/mips/branch-misc-2.d: New file. - * gas/mips/mips.exp: Run new tests. - -2002-09-17 Thiemo Seufer - - * gas/mips/jal-range.s: Check for jal overflows. - * gas/mips/jal-range.l: List file for it. - * gas/mips/mips.exp: Use it. - -2002-09-08 Ben Elliston - - * gas/hppa/basic/basic.exp: Update DejaGnu mail address. - * gas/hppa/parse/parse.exp: Likewise. - * gas/hppa/reloc/reloc.exp: Likewise. - * gas/hppa/unsorted/unsorted.exp: Likewise. - * gas/mn10200/basic.exp: Likewise. - * gas/mn10300/basic.exp: Likewise. - * gas/sh/basic.exp: Likewise. - * gas/sh/sh64/sh64.exp: Likewise. - * gas/v850/basic.exp: Likewise. - * lib/gas-defs.exp: Likewise. - - * gas/all/gas.exp: Removing limping support for DejaGnu 1.1.1. - * gasp/gasp.exp: Likewise. - -2002-09-05 Alan Modra - - * gas/i386/absrel.s: New. - * gas/i386/absrel.d: New. - * gas/i386/pcrel.s: New. - * gas/i386/pcrel.d: New. - * gas/i386/i386.exp: Run them. - * gas/testsuite/gas/mmix/comment-1.d: Don't test the symbol - index, the name will do. - * gas/mri/moveml.d: Escape dots. - * gas/macros/macros.exp (strings): Add rs6000-*-* to xfails. - * gas/mips/beq.s: Don't make text_label global. - * gas/mips/mips32.s: Likewise. - * gas/mips/mips64-mips3d.s: Likewise. - -2002-08-28 Alan Modra - - * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust - to suit. Match coff relocs. Match "from address pool" comments. - * gas/sparc/pcrel.s: Use 2b label in expressions. - * gas/sparc/pcrel64.s: Likewise. - * gas/sparc/pcrel.d: Adjust to suit. - * gas/sparc/pcrel64.d: Likewise. - * gas/vtable/vtable.exp: Move xfails to .. - (proc vtable_setup_xfails): .. here. Add i866. - - * gas/macros/macros.exp (strings): Update xfails. - -2002-08-26 Alan Modra - - * gas/m68k/all.exp: xfail non-ELF targets on pcrel test. - - * gas/m68hc11/insns.d: Quote dots. - * gas/m68hc11/opers12.d: Likewise. - - * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails. - - * gas/vax/quad.exp: Use quad_elf.s for ELF targets. - * gas/vax/quad.s: Align - * gas/vax/quad_elf.s: New version of quad.s with %reg. - - * gas/sparc/sparc.exp (sparc_elf_setup): New. - Use it to xfail for non-ELF targets. - - * gas/tic54x/align.s: Add comment. - * gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change. - * gas/tic54x/extaddr.d: Similarly adjust disassembly tail. - -2002-08-22 Nick Clifton - - * gas/arm/arch5tej.s: Add nops to align output. - * gas/arm/arch5tej.d: Expect nops. - * gas/arm/arm7t.s: Add nops, remove thumb instructions. - * gas/arm/arm7t.d: Expect nops. - * gas/arm/armv1.s: Add nops. - * gas/arm/armv1.d: Expect nops. - * gas/arm/fpa-mem.s: Add nops. - * gas/arm/fpa-mem.d: Expext nops. - * gas/arm/vfp1.s: Add nops. - * gas/arm/vfp1.d: Expect nops. - * gas/arm/xscale.s: Add nops. - * gas/arm/xscale.d: Expect nops. - * gas/arm/arm.exp: Do not run thumb tests for arm-aout - toolchain. - -2002-08-22 Alan Modra - - * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets. - * gas/ppc/astest2.d: Escape dots. - -2002-08-20 Richard Sandiford - - * gas/mips/rol.s: Add rotate by zero tests. - * gas/mips/rol.d: Update accordingly. - * gas/mips/rol64.d: Expect rotates by zero to use dsrl. - -2002-08-19 Elena Zannoni - - From matthew green - * e500.s: New tests for e500 instructions. - * e500.d: Results for new test. - * ppc.exp: Test e500.s. - -2002-08-16 Stephen Clarke - - * gas/sh/sh64/datal32-3.d: Formatting change to match the current - output of objdump. - -2002-08-16 Alan Modra - - * gas/all/gas.exp (forward references): Don't test c30. - * gas/d30v/guard-debug.d: Use -gstabs rather than -g. - * gas/elf/ehopt0.s: Don't use "$" in labels. - * gas/ieee-fp/x930509a.exp: Don't test c30. - * gas/m68hc11/malis.d: Adjust -I so that test runs when not building - in source dir. - * gas/mri/mri.exp: Don't run on "m68hc*". - * gas/sh/basic.exp (do_fp): Match LE too. - (pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to - "sh*-rtems". - * gas/sh/pcrel-coff.d: Add -EB to objdump flags. - * gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in - preference to not running on ELF targets that might one day pass. - Add more xfails. Add more targets to the REL list. - -2002-08-14 H.J. Lu - - * gas/mips/elempic.d: Treat "addiu" and "daddiu" as equivalent - when $0 is source. - * gas/mips/telempic.d: Likewise. - * gas/mips/telempic.d: Likewise. - -2002-08-13 Stephane Carrez - - * gas/m68hc11/all.exp: Run the new test. - * gas/m68hc11/insns12.s: New file to test specific 68HC12 insns. - * gas/m68hc11/insns12.d: New file. - * gas/m68hc11/branchs12.s: New test. - * gas/m68hc11/branchs12.d: New test. - - * gas/m68hc11/all_insns.d: Dump the relocs to verify that they - are against symbols and not sections (for linker relaxation). - * gas/m68hc11/insns-dwarf2.d: Likewise. - * gas/m68hc11/insns.d: Likewise. - * gas/m68hc11/lbranch.d: Likewise. - * gas/m68hc11/lbranch-dwarf2.d: Likewise. - * gas/m68hc11/opers12.d: Likewise. - * gas/m68hc11/opers12-dwarf2.d: Likewise. - -2002-08-12 Richard Sandiford - - * gas/mips/elf-consthilo.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2002-08-09 Maciej W. Rozycki - - * gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when - $0 is source. - -2002-08-09 Jakub Jelinek - - * gas/i386/gotpc.s: New. - * gas/i386/gotpc.d: New. - * gas/i386/i386.exp: Add gotpc test. - -2002-08-06 Alan Modra - - * gas/ppc/altivec_xcoff64.d: Adjust for aix5 target. - * gas/ppc/booke_xcoff64.d: Likewise. Also fix relocs. - -2002-08-01 H.J. Lu - - * gas/mips/elf-rel6.s: Add ".p2align 4". - * gas/mips/elf-rel6.d: Check nop. - -2002-08-01 Richard Sandiford - - * gas/mips/elf-rel6.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2002-07-29 Chris Demetriou - - * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking. - * gas/mips/elf_ase_mips16.s: Likewise. - * gas/mips/mips.exp: Run the new test. - -2002-07-26 Alan Modra - - * gas/ppc/altivec.d: Invoke "as" with "-a32". - -2002-07-25 Richard Sandiford - - * gas/mips/mips-gp32-fp64.d, - * gas/mips/mips-gp32-fp64-pic.d: Add -mfp64. - -2002-07-19 Hans-Peter Nilsson - - * gas/mmix/list-pseudoints.l: Adjust for changes in gas section - padding. - * gas/mmix/greg7.d: Ditto. - * gas/mmix/greg8.d: Ditto. - * gas/mmix/fb-2.d: Ditto. - * gas/mmix/comment-1.d: Ditto. - * gas/mmix/byte-1.d: Ditto. - -2002-07-17 H.J. Lu - - * gas/ia64/dv-branch.d: Updated. - * gas/ia64/opc-b.d: Likewise. - -2002-07-08 Alan Modra - - * gas/i386/intel16.s: New. - * gas/i386/intel16.d: New. - * gas/i386/i386.exp: Run it. - -2002-07-03 Alan Modra - - * lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf - with LC_ALL=C to ensure consistent sorting. - -2002-06-18 Dave Brolley - - * gas/frv: New testsuite. - -Mon Jun 17 16:23:59 2002 J"orn Rennecke - - * gas/sh/dsp.s: Add three more instructions. - * gas/sh/dsp.d: Update. - -2002-06-14 Daniel Jacobowitz - - * gas/mips/lineno.d: Use --gstabs. - * gas/mips/mips.exp (lineno.s): Remove XFAIL. - -2002-06-12 Tom Rix - - * gas/ppc/aix.exp: Run tests for all versions of powerpc AIX. Add - text alignment tests. - * gas/ppc/textalign-xcoff-001.d: New Test. - * gas/ppc/textalign-xcoff-002.d: New Test. - * gas/ppc/test1xcoff32.d : Change text section alignment. - * gas/ppc/booke_xcoff.d: Remove invalid pad. - -2002-06-06 J"orn Rennecke - - * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). - * testsuite/gas/sh/pcrel.d: Update. - * testsuite/gas/sh/pcrel.l: New file. - -2002-06-06 John David Anglin - - * gas/hppa/basic/add.s: Set code level to 1.1. - * gas/hppa/basic/branch.s: Likewise. - * gas/hppa/basic/dcor.s: Likewise. - * gas/hppa/basic/logical.s: Likewise. - * gas/hppa/basic/shladd.s: Likewise. - * gas/hppa/basic/sub.s: Likewise. - * gas/hppa/basic/unit.s: Likewise. - * gas/hppa/unsorted/unsorted.exp: Return if target "*-*-linux*". - -2002-05-31 Chris G. Demetriou - - * gas/mips/sb1-ext-mdmx.s: New file. - * gas/mips/sb1-ext-mdmx.d: Likewise. - * gas/mips/mips.exp: Run new "sb1-ext-mdmx" test. - -2002-05-31 Chris G. Demetriou - - * gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for - mipsisa64*-*-* targets, rather than e32-rel2 and e32el-rel2. - -2002-05-30 Chris G. Demetriou - - * gas/mips/mips64-mdmx.s: Tweak to more thoroughly cover - instruction encodings. - * gas/mips/mips64-mdmx.d: Likewise. - -2002-05-30 Chris G. Demetriou - - * gas/mips/mips64-mdmx.s: New file. - * gas/mips/mips64-mdmx.d: Likewise. - * gas/mips/mips.exp: Run new "mips64-mdmx" test. - -2002-05-30 Richard Henderson - - * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New. - * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New. - * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New. - * gas/alpha/alpha.exp: Run them. - -2002-05-30 Tom Rix - - * gas/d10v/d10v.exp: Add -gstabs packing, sequence control - packing, warning, instruction packing, label, immediate and, - error tests. - * gas/d10v/instruction_packing-001.d - intruction_packing-010.d: - New tests. - * gas/d10v/control-001.d: New test. - * gas/d10v/warning-001.d - warning-019.d: New tests. - * gas/d10v/label-001.d: New test. - * gas/d10v/error-001.d - error-002.d : New tests. - * gas/d10v/immediate-001.d - immediate-007.d: New tests. - - * lib/gas-defs.exp (run_dump_test): Add error option. - -2002-05-28 Kuang Hwa Lin - - * gas/dlx: New directory: DLX gas testsuite - * alltests.exp: New file: Test driver - * branch.d: New file: Expected results. - * branch.s: New file: Test branch insns. - * itype.d: New file: Expected results. - * itype.s: New file: Test ordinary insns. - * lhi.d: New file: Expected results. - * lhi.s: New file: Test load hi insns. - * load.d: New file: Expected results. - * load.s: New file: Test load insns. - * rtype.d: New file: Expected results. - * rtype.s: New file: Test arithmetic insns. - * store.d: New file: Expected results. - * store.s: New file: Test store insns. - -2002-05-23 Jakub Jelinek - - * gas/i386/tlspic.s: New file. - * gas/i386/tlsd.s: New file. - * gas/i386/tlsnopic.s: New file. - * gas/i386/tlsd.d: New file. - * gas/i386/tlsnopic.d: New file. - * gas/i386/tlspic.d: New file. - * gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. - * gas/ia64/tls.s: New file. - * gas/ia64/tls.d: New file. - * gas/ia64/ia64.exp: Add tls test. - -2002-05-23 Tom Rix - - * gas/d10v/d10v.exp: Add instruction packing test. - * gas/d10v/instruction_packing.s : New test. - -2002-05-22 Tom Rix - - * gas/d10v/d10v.exp: Renamed from d10.exp. Add address-* tests. - * gas/d10v/address-001.s - address-041.s : New tests. - -2002-05-23 H.J. Lu - - * gas/mips/elf-rel.d: Skip the padding. - * gas/mips/elfel-rel.d: Likewise. - -2002-05-23 H.J. Lu - - * gas/all/align2.d: New. - * gas/all/align2.s: New. - - * gas/all/gas.exp: Run align2. - -2002-05-22 H.J. Lu - - * gas/mips/elf-rel.d: Updated for the subsegs_finish change in - write.c. - * gas/mips/elfel-rel.d: Likewise. - -Wed May 22 14:26:07 2002 J"orn Rennecke - - * gas/sh/pcrel-coff.s: New file. - * gas/sh/pcrel-coff.d: Likewise. - * gas/sh/basic.exp: For coff, don't do dsp test, - and a modified pcrel test. - -2002-05-22 Thiemo Seufer - - * gas/mips/rol64.s: New file, test of drol, dror macros. - * gas/mips/rol64.d: Likewise. - * gas/mips/mips.exp: Add new test. - -2002-05-20 Nick Clifton - - * gas/arm/arm.exp: Replace deprecated command line switches - with their modern equivalents. - * gas/arm/arm7t.d: As above. - * gas/arm/armv1.d: As above. - * gas/arm/fpa-dyadic.d: As above. - * gas/arm/fpa-mem.d: As above. - * gas/arm/fpa-monadic.d: As above. - * gas/arm/inst.d: As above. - * gas/arm/ldconst.d: As above. - * gas/arm/xscale.d: As above. - -2002-05-13 Alan Modra - - * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros. - * gas/i386/x86-64-opcode.d: Adjust. - -2002-05-02 Nick Clifton - - * gas/arm/arm7t.s: Add thumb mode "sub r?, #0" and "add r?, #0". - * gas/arm/arm7t.d: Add expected results. (Make sure that the - subtract is not converted into an add). - -2002-04-23 H.J. Lu - - * gas/mips/elempic.d: Use empic.l. - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - -2002-04-23 H.J. Lu - - * gas/hppa/parse/parse.exp: Don't expect failure on line separator - test on hppa*-*-linux* nor hppa*-*-netbsd*. - -2002-04-22 Chris Demetriou - - * gas/mips/mips-gp64-fp32.l: New file. - * gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr - output. - * gas/mips/mips-gp64-fp64.l: New file. - * gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr - output. - -2002-04-22 Chris Demetriou - - * lib/gas-defs.exp (run_dump_test): Support new attribute "stderr" - which is a file used to regexp_diff the assembler's pruned stderr - output. - (write_file): New helper function to write a string into a file. - - * gas/mips/empic.l: New file which matches empic tests' warnings. - * gas/mips/empic.d: Use empic.l. - -2002-04-19 Nick Clifton - - * gas/all/gas.exp (cofftag): Do not run test for xscale-coff - toolchain. - (struct, align, incbin): Use case switch so that other targets to - be skipped can be added in the future. - -2002-04-17 matthew green - - * gas/ppc/altivec.d: Fix dssall test. - * gas/ppc/altivec.s: Likewise. - * gas/ppc/altivec_xcoff.d: Likewise. - * gas/ppc/altivec_xcoff.s: Likewise. - * gas/ppc/altivec_xcoff64.d: Likewise. - * gas/ppc/altivec_xcoff64.s: Likewise. - -2002-04-04 Nick Clifton - - * gas/mips/mips.exp: Remove spurious whaitespace. - Open out one-line if-then-else test clauses so that other clauses - can be inserted in the future. - -2002-03-19 Bo Thorsen - - * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes. - * gas/i386/x86-64-opcode.s: Likewise - -2002-03-15 Chris G. Demetriou - - * gas/mips/mips64-mips3d.s: New file. - * gas/mips/mips64-mips3d.d: Likewise. - * gas/mips/mips.exp: Run new "mips64-mips3d" test. - -2002-03-15 Chris G. Demetriou - - * gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for - mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2. - -2002-03-14 Hans-Peter Nilsson - - * gas/mmix/weak1.d, gas/mmix/weak1.d: New test. - -2002-03-05 Paul Koning - - * gas/pdp11/pdp11.exp: New file. - * gas/pdp11/opcode.s: Ditto. - * gas/pdp11/opcode.d: Ditto. - -2002-02-22 Bo Thorsen - - * i386.exp: Add x86-64-opcode (checks valid opcodes) and x86-64-inval - (checks invalid opcodes) checks - * x86-64-inval.l: New file. - * x86-64-inval.s: New file. - * x86-64-opcode.d: New file. - * x86-64-opcode.s: New file. - -2002-02-26 Chris Demetriou - - * gas/mips/empic2.d: Adjust for the fact that relocations on - symbols local to this file are resolved at assembly time into - section-relative relocations, even if the symbols are extern. - * gas/mips/empic2.s: Add file offset information, so the next - person to do the math mentioned above has an easier time. - * gas/mips/jal-empic-elf.d: New test. - * gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-2.s: New test. - * gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf-3.s: New test. - * gas/mips/mips.exp: Run the new tests. - -2002-02-25 Thiemo Seufer - - * mips-gp64-fp32-pic.d: Fix test of 64bit register loads. - * mips-gp64-fp32-pic.s: Likewise. - * mips-gp64-fp32.d: Likewise. - * mips-gp64-fp32.s: Likewise. - * mips-gp64-fp64-pic.d: Likewise. - * mips-gp64-fp64-pic.s: Likewise. - * mips-gp64-fp64.d: Likewise. - * mips-gp64-fp64.s: Likewise. - -2002-02-25 Alan Modra - - * gas/hppa/reloc/reloc.exp: Update copyright date. - -2002-02-24 Hans-Peter Nilsson - - * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d: - Adjust to changes in readelf output. - -2002-02-22 Nick Clifton - - * gasp/gasp.exp: If gasp does not exist, do not complain, just - exit silently. - -2002-02-20 Tom Rix - - * gas/ppc/ppc.exp: Add xcoff booke tests. - * gas/ppc/booke_xcoff.s: New. - * gas/ppc/booke_xcoff.d: New. - * gas/ppc/booke_xcoff64.s: New. - * gas/ppc/booke_xcoff64.d: New. - -2002-02-18 Daniel Jacobowitz - - * gas/sh/basic.exp: Don't run PIC tests for targets that don't - support it. - -2002-02-14 Tom Rix - - * gas/ppc/ppc.exp: Add xcoff altivec tests. - * gas/ppc/altivec_xcoff.s: New. - * gas/ppc/altivec_xcoff.d: New. - * gas/ppc/altivec_xcoff64.s: New. - * gas/ppc/altivec_xcoff64.d: New. - -2002-02-13 Ben Elliston - - * gasp/flonums.asm: New test. - * gasp/flonums.err: New result. - * gasp/flonums.out: Likewise. - -2002-02-12 John David Anglin - - * gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit - hppa_fix_adjustable change. - -2002-02-09 Richard Henderson - - * gas/alpha/elf-reloc-5.s, gas/alpha/elf-reloc-5.d: New. - * gas/alpha/elf-reloc-6.s, gas/alpha/elf-reloc-6.l: New. - * gas/alpha/alpha.exp: Run them. - -2002-02-08 Chris Demetriou - - * gas/mips/mips.exp: Document (but do not XFAIL) currently-failing - MIPS ECOFF tests, providing what information is known about - the origins of the failures. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-02-01 Alexandre Oliva - * gas/sh/sh64/syntax-1.s: Remove `-4' from @(expr-4,pc). - 2002-01-28 Alexandre Oliva - * gas/sh/sh64/crange1-1.d: Formatting changes to match the current - output of objdump. - * gas/sh/sh64/crange1-2.d: Likewise. - * gas/sh/sh64/crange2-2.d: Likewise. - * gas/sh/sh64/crange3-1.d: Likewise. - * gas/sh/sh64/crange4-1.d: Likewise. - * gas/sh/sh64/datal-2.d: Likewise. - * gas/sh/sh64/datal32-1.d: Likewise. - * gas/sh/sh64/datal32-3.d: Likewise. - * gas/sh/sh64/localcom-1.d: Likewise. - * gas/sh/sh64/mix-1.d: Likewise. - * gas/sh/sh64/pt32-1.d: Likewise. - * gas/sh/sh64/rel32-1.d: Likewise. - * gas/sh/sh64/rel32-2.d: Likewise. - * gas/sh/sh64/rel32-3.d: Likewise. - * gas/sh/sh64/rel32-4.d: Likewise. - * gas/sh/sh64/rel32-5.d: Likewise. - * gas/sh/sh64/ua32-1.d: Likewise. - 2001-03-14 DJ Delorie - * gas/sh/sh64/endian-1.d: New test - Little Endianness. - * gas/sh/sh64/endian-1.s: New test - Little Endianness. - * gas/sh/sh64/endian-2.d: New test - Big Endianness. - * gas/sh/sh64/endian-2.s: New test - Big Endianness. - 2001-03-12 DJ Delorie - * gas/sh/sh64/syntax-1.d: New test - basic syntax. - * gas/sh/sh64/syntax-1.s: New test - basic syntax. - * gas/sh/sh64/syntax-2.d: New test - basic syntax, pseudos. - * gas/sh/sh64/syntax-2.s: New test - basic syntax, pseudos. - 2001-03-06 DJ Delorie - * gas/sh/sh64/lineno.d: New, test dwarf2 line numbers vs macros. - * gas/sh/sh64/lineno.s: Ditto. - 2001-01-14 Hans-Peter Nilsson - * gas/sh/sh64/err-dsp.s: New test. - 2001-01-13 Hans-Peter Nilsson - * gas/sh/sh64/err-abi-64.s, gas/sh/sh64/err-abi-32.s, - gas/sh/sh64/abi-64.s, gas/sh/sh64/abi-64.d, gas/sh/sh64/abi-32.s, - gas/sh/sh64/abi-32.d, gas/sh/sh64/crange3.s, - gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4.s, - gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5.s, - gas/sh/sh64/crange5-1.d: New tests. - 2001-01-07 Hans-Peter Nilsson - * gas/sh/sh64/relax-1.s, gas/sh/sh64/relax-1.d: New test. - * gas/sh/sh64/err-pt-1.s: New test. - * gas/sh/sh64/relax-2.s, gas/sh/sh64/relax-2.d: New test. - * gas/sh/sh64/localcom-1.s, gas/sh/sh64/localcom-1.d: New test. - * gas/sh/sh64/movi-3.s, gas/sh/sh64/movi-3.d: New test. - * gas/sh/sh64/relax-3.s, gas/sh/sh64/relax-3.d: New test. - 2001-01-05 Hans-Peter Nilsson - * gas/sh/sh64/case-noexp-1.d: Adjust to changed GAS output for - check-PTA/PTB / perhaps-change-to-PTB bit in target field. - * gas/sh/sh64/case-noexp-1.d: Ditto. - * gas/sh/sh64/mix-noexp-1.d: Ditto. - * gas/sh/sh64/pt32-noexp-2.d: Ditto. - * gas/sh/sh64/pt64-noexp-2.d: Ditto. - * gas/sh/sh64/ptc32-noexp-1.d: Ditto. - * gas/sh/sh64/ptc64-noexp-1.d: Ditto. - * gas/sh/sh64/ptext32-noexp-1.d: Ditto. - * gas/sh/sh64/ptext64-noexp-1.d: Ditto. - 2000-12-31 Hans-Peter Nilsson - * gas/sh/sh64/shift64-3.d: Fix typo. - * gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/shift32-noexp-3.d, - gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/ptext64-32-1.d, - gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptc64-noexp-1.d, - gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc32-noexp-1.d, - gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/pt64-32-2.d, - gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt32-noexp-2.d, - gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/movi64-noexp-2.d, - gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/mix-noexp-1.d, - gas/sh/sh64/err-ptb-2.s, gas/sh/sh64/err-ptb-1.s, - gas/sh/sh64/err-pt32-cmd3.s, gas/sh/sh64/err-pt32-cmd2.s, - gas/sh/sh64/err-pt32-cmd1.s, gas/sh/sh64/err-noexp-cmd1.s, - gas/sh/sh64/err-movi-noexp-1.s, gas/sh/sh64/crange2.s, - gas/sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange2-2.d, - gas/sh/sh64/crange2-1.d, gas/sh/sh64/case-noexp-1.d: New tests. - 2000-12-18 Hans-Peter Nilsson - * gas/sh/sh64/err-4.s: Use option -no-mix to see errors. Adjust - for errors not being emitted at the .mode directives anymore. - * gas/sh/sh64/crange1.s, gas/sh/sh64/crange1-2.d, - gas/sh/sh64/crange1-1.d: New tests for .cranges section. - 2000-12-12 Hans-Peter Nilsson - * gas/sh/sh64/err-3.s: New test. - * gas/sh/sh64/immexpr1.s, gas/sh/sh64/immexpr32-1.d, - gas/sh/sh64/immexpr64-1.d: New tests. - * gas/sh/sh64/immexpr2.s, gas/sh/sh64/immexpr32-2.d, - gas/sh/sh64/immexpr64-2.d: New tests. - 2000-12-11 Hans-Peter Nilsson - * gas/sh/sh64/rel-1.s, gas/sh/sh64/rel-2.s, gas/sh/sh64/rel-3.s, - gas/sh/sh64/rel-4.s, gas/sh/sh64/rel-5.s, gas/sh/sh64/rel32-1.d, - gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, - gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, - gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, - gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, - gas/sh/sh64/rel64-5.d: New tests. - 2000-12-07 Hans-Peter Nilsson - * gas/sh/sh64/case-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/pt32-1.d, - gas/sh/sh64/pt64-1.d, gas/sh/sh64/ptc32-1.d, - gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptext32-1.d, - gas/sh/sh64/ptext64-1.d: Correct offsets in PT/PTA/PTB expansion. - 2000-12-05 Hans-Peter Nilsson - * gas/sh/sh64/datal-3.s, gas/sh/sh64/datal32-3.d, - gas/sh/sh64/datal64-3.d: New tests. - 2000-11-27 Hans-Peter Nilsson - * gas/sh/sh64/datal-1.s: Remove whitespace at end of line. - * gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal64-1.d, - gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, - gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-3.d: Correct register. - * gas/sh/sh64/mix-1.s, gas/sh/sh64/mix-1.d, gas/sh/sh64/err-4.s: - New tests. - 2000-11-26 Hans-Peter Nilsson - * gas/macros/macros.exp: Import xfail sh*-*-* from net binutils. - * gas/sh/sh64/case-1.d: Correct offsets in PT/PTA/PTB expansion. - gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt64-1.d: Ditto. - gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Ditto. - gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext64-1.d: Ditto. - 2000-11-25 Hans-Peter Nilsson - * gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Correct. - * gas/sh/sh64/datal-1.s, gas/sh/sh64/datal32-1.d, - gas/sh/sh64/datal64-1.d: New test. - * gas/sh/sh64/datal-2.s, gas/sh/sh64/datal-2.d: New test. - * gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-1.s: New test. - * gas/sh/sh64/creg-2.d, gas/sh/sh64/creg-2.s: New test. - 2000-11-24 Hans-Peter Nilsson - * gas/sh/sh64: New testsuite. - -2002-02-06 Alexandre Oliva - - * gas/sh/pic.d, gas/sh/pic.s: New test. - * gas/sh/basic.exp: Run it. - -2002-02-05 Alan Modra - - * gas/ppc/test1elf64.d: Tweak arch name. - -2002-02-04 Alexandre Oliva - - * gas/sh/pcrel.d, gas/sh/pcrel.s: New test. - * gas/sh/basic.exp: Run it. - -2002-02-04 Hans-Peter Nilsson - - * gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d, - gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d, - gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New - tests for base-plus-offset relocations and global register - allocations for weak and common symbols. - -2002-02-02 Alan Modra - - * gas/elf/elf.exp: Don't special case v850. - -2002-02-01 Hans-Peter Nilsson - - * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d, - gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s, - gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s, - gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests. - -2002-01-22 Alexandre Oliva - - * gas/mn10300/basic.exp (run_list_test): New proc, from alpha. - * gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests. - -2002-01-22 Richard Henderson - - * gas/alpha/unop.s, gas/alpha/unop.d: New test. - * gas/alpha/alpha.exp: Run it. - -2002-01-21 Thomas Klausner - - * gas/cris/cris.exp: Comment typo fix - -2002-01-18 Richard Earnshaw - Keith Walker - - * gas/arm/arch5tej.s gas/arm/arch5tej.d: New files. - * gas/arm/arm.exp (arch5tej): New dump test. - -2002-01-18 Richard Earnshaw - - * gas/arm/vfp1.d: Use new command-line options. - * gas/arm/vfp1xD.d: Likewise. - * gas/arm/arm.exp (vfp-bad): Likewise. - * gas/arm/maverick.d: Likewise. - -2002-01-17 Timothy Wall - - * gas/tic54x/labels.s (after_macro): Correct comments. - -2002-01-15 Richard Earnshaw - - * gas/arm/vfp1.s gas/arm/vf1.d: New files. - * gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files. - * gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files. - * gas/arm/arm.exp: Run new VFP tests. - -2002-01-15 Nick Clifton - - * gas/elf/section2.e-m32r: New file. - * gas/elf/elf.exp: Use section2.e-m32r for m32r targets. - - * gas/sh/dsp.d: Fix expected results. - -2002-01-14 Nick Clifton - - * gas/elf/elf.exp (run_list_test): Use section2.e-mips script for - v850-elf toolchain. - -2002-01-14 Richard Earnshaw - - * gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d - arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s, - arm/fpa-dyadic.d: New tests. - * gas/arm/le-fpconst.d (objdump): pass --section=.text - * gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets. - -2002-01-14 Richard Earnshaw - - * gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files. - * gas/arm/arm.exp (run_error_test): New proc. - (armv1-bad): New error test. - -2002-01-11 Richard Earnshaw - - * gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with - immediate pseudo-operations. - * gas/arm/arm.exp: Run it. - -2002-01-10 matthew green - - * gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update. - * gas/xstormy16/allinsn.d: Regenerate. - * gas/xstormy16/allinsn.s: Regenerate. - -2002-01-09 Richard Earnshaw - - * gas/arm/float.s: Don't use VFP register names in fpa instructions. - -2002-01-08 H.J. Lu - - * gas/mips/elf-rel.s: New tests for nested (). - - * gas/mips/elf-rel.d: Modified for nested () tests. - * gas/mips/elfel-rel.d: Likewise. - -2002-01-05 Daniel Jacobowitz - - * gas/mips/jal-svr4pic.s: Add .ent and .frame directives. - * gas/mips/mips-abi32-pic.s: Add .frame directive. - * gas/mips/mips-gp32-fp32-pic.s: Likewise. - * gas/mips/mips-gp32-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - -2002-01-02 Chris Demetriou - - * gas/mips/empic3_e.d: New file to test -membedded-pic - R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. - * gas/mips/empic3_e.s: Likewise. - * gas/mips/empic3_g1.d: Likewise. - * gas/mips/empic3_g1.s: Likewise. - * gas/mips/empic3_g2.d: Likewise. - * gas/mips/empic3_g2.s: Likewise. - * gas/mips/mips.exp: Run the new tests. - -2001-12-21 Anders Norlander - - * gas/all/incbin.dat: New [binary] file. - * gas/all/incbin.s: Use incbin.dat instead of incbin.s. - * gas/all/incbin.d: Reflect change in incbin.s - -2001-12-20 Alexandre Oliva - - * gas/sh/err-at.s: New test. - -2001-12-18 Hans-Peter Nilsson - - * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number - handling. - -2001-12-07 Geoffrey Keating - matthew green - - * gas/xstormy16/allinsn.d: New file. - * gas/xstormy16/allinsn.exp: New file. - * gas/xstormy16/allinsn.s: New file. - * gas/xstormy16/allinsn.sh: New file. - * gas/xstormy16/gcc.d: New file. - * gas/xstormy16/gcc.s: New file. - * gas/xstormy16/gcc.sh: New file. - * gas/xstormy16/reloc-1.d: New file. - * gas/xstormy16/reloc-1.s: New file. - * gas/xstormy16/reloc-2.d: New file. - * gas/xstormy16/reloc-2.s: New file. - -2001-12-08 Alan Modra - - * gas/all/incbin.s: Add spaces before directives. - * gas/all/incbin.d: Update. - -2001-12-07 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/parse/linesepbug.s: Restore to its original form, - reverting change of July 19, 2000. - -2001-12-05 Richard Earnshaw - - * gas/arm/xscale.s, gas/arm/xscale.d (pld tests): PLD instruction has - no post-indexed addressing modes. - -2001-11-25 Andreas Jaeger - - * gas/all/gas.exp (incbin): Fix condition. - -2001-11-23 Jeffrey A Law (law@cygnus.com) - - * gas/all/gas.exp (incbin): Do not run on the PA. - - * gas/hppa/parse/parse.exp: Expect failure on line separator bug. - -2001-11-16 Chris Demetriou - - * gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test - to test symbol plus offset relocations in various ways. - * gas/mips/mips.exp: Run new test. - -2001-11-15 Alan Modra - - * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. - -2001-11-11 Timothy Wall - - * gas/tic54x/sections.[sd]: Check for named, initialized sections - defaulting to CODE and DATA. - * gas/tic54x/align.[sd]: While breaking compatibility with TI's - assembler, the difference is not worth the effort to fix. We'd - prefer the assembler *not* fill the section alignment. - * gas/tic54x/all-opcodes.d: Verify Lmem opcodes have proper - length. - * gas/tic54x/labels.s: Document differences from TI tools. - * gas/tic54x/extaddr.d: Match output. - * gas/all/gas.exp: On c54x targets, don't do any tests that use - p2align. - * gas/macros/macros.exp: Expect failure matching use of .ascii. - -2001-11-12 Thiemo Seufer - - * gas/mips/mips.exp: Change naming of some conditionals to reflect - the object format they actually mean. Don't try mips-abi32 and - mips-abi32-pic tests for ecoff. - -2001-11-11 Hans-Peter Nilsson - - * gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d: - Prune and generalize, adjusting to generic ELF file layout changes. - -2001-11-04 Chris Demetriou - - * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. - (aout): Don't set if *-*-netbsd*. - -2001-11-02 NIIBE Yutaka - - * gas/sh/basic.exp: For Linux, add "-big" option for the - invocation of gas. - -2001-11-01 Stephane Carrez - - * gas/m68hc11/opers12.s: Add test for disassembler bug with movb - instruction. - * gas/m68hc11/opers12.d: Likewise. - * gas/m68hc11/opers12-dwarf2.d: Likewise. - -2001-10-31 Chris Demetriou - - * gas/mips/empic.s: Undo damage inflicted on 2000-12-02. - * gas/mips/empic.d: Likewise. - * gas/mips/elempic.d: Likewise (it was copied into other files). - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - - * gas/mips/empic2.s: New test to check new 'la' and 'lw' (and - related ops) syntax, test loads with large offsets. - * gas/mips/emcic2.d: Likewise. - * gas/mips/mips.exp: Run the new test on ELF platforms. - -2001-10-31 Nick Clifton - - * gas/mmix/pop-op.l: Update to match latest listing behaviour. - * gas/mmix/reloc8.l: Update to match latest listing behaviour. - * gas/mmix/resume-op.l: Update to match latest listing behaviour. - * gas/mmix/save-op.l: Update to match latest listing behaviour. - * gas/mmix/unsave-op.l: Update to match latest listing behaviour. - -2001-10-31 Hans-Peter Nilsson - - * gas/mmix/tst.s: Delete unused file. - * gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s, - gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s, - gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s, - gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s, - gas/mmix/fb-2.s: Remove trailing empty lines. - -2001-10-30 Hans-Peter Nilsson - - * gas/mmix: New testsuite directory. - -2001-10-24 Chris Demetriou - - * gas/mips/ld-empic.d: Remove extra whitespace at beginning of - file introduced in the change on 2001-05-15. - -2001-10-24 Chris Demetriou - - * gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte". - Delete use of ".size". - * gas/mips/mips-abi32.s: Likewise. - * gas/mips/mips-gp32-fp32-pic.s: Likewise. - * gas/mips/mips-gp32-fp32.s: Likewise. - * gas/mips/mips-gp32-fp64-pic.s: Likewise. - * gas/mips/mips-gp32-fp64.s: Likewise. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp32.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp64.s: Likewise. - -2001-10-23 Chris Demetriou - - * gas/mips/beq.s: Add zero words at end of instructions so - that objdump will print "..." when disassembling. - * gas/mips/beq.d: Update for disassembler changes which force - branch delay-slot nops to be printed. - * gas/mips/bge.d: Ditto. - * gas/mips/bgeu.d: Ditto. - * gas/mips/blt.d: Ditto. - * gas/mips/bltu.d: Ditto. - * gas/mips/jal-svr4pic.d: Ditto. - * gas/mips/jal-xgot.d: Ditto. - -2001-10-20 H.J. Lu - - * gas/elf/ehopt0.s: Lose ",@progbits". - -2001-10-17 Chris Demetriou - - * gas/mips/mips.exp (sb1-ext-ps): New test to test - SB-1 core's paired-single extensions to the MIPS64 ISA. - * gas/mips/sb1-ext-ps.d: New file. - * gas/mips/sb1-ext-ps.s: New file. - -2001-10-17 matthew green - - * gas/ppc/altivec.s: New test for AltiVec. - * gas/ppc/altivec.d: New file. - * gas/ppc/ppc.exp: Test altivec.s - -2001-10-16 Hans-Peter Nilsson - - * gas/sh/err-le.s, gas/sh/err-be.s: New tests. - -2001-10-13 matthew green - - * gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, - mtdcr, msync, dcba, mbar): New BookE tests. - * gas/ppc/booke.d: Update for new BookE tests. - -2001-10-12 matthew green - - * gas/ppc/booke.s: New test for Motorola BookE. - * gas/ppc/booke.d: New file. - * gas/ppc/ppc.exp: Test booke.s. - -2001-10-09 Nick Clifton - - * sh/basic.exp: Add dsp dump test. - * sh/dsp/d: New file: Expected output of disassembly of dsp.s - * sh/dsp.s: New file: Test assembly source of DSP single data - transfer instructions. - -2001-10-08 Aldy Hernandez - - * gas/arm/arm.exp: Run arm9e tests. - - * gas/arm/maverick.c: New. - - * gas/arm/maverick.d: New. - - * gas/arm/maverick.s: New. - -2001-10-04 Thiemo Seufer - - * gas/mips/mips-gp64-fp32-pic.d: Use 32bit instructions for addresses. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp32.d: Likewise. - * gas/mips/mips-gp64-fp32.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.d: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp64.d: Likewise. - * gas/mips/mips-gp64-fp64.s: Likewise. - * gas/mips/elempic.d: Likewise. - * gas/mips/ld.d: Likewise. - * gas/mips/uld.d: Likewise. - * gas/mips/usd.d: Likewise. - -2001-09-29 H.J. Lu - - * gas/i386/i386.exp: Run 64bit tests only for "i*86-*-* and - x86_64-*-*. - -2001-09-18 Martin Schwidefsky - - * gas/s390: New directory. - * gas/s390/opcode.d: New file. - * gas/s390/opcode.s: New file. - * gas/s390/opcode64.d: New file. - * gas/s390/opcode64.s: New file. - * gas/s390/operands.d: New file. - * gas/s390/operands.s: New file. - * gas/s390/operands64.d: New file. - * gas/s390/operands64.s: New file. - * gas/s390/reloc.d: New file. - * gas/s390/reloc.s: New file. - * gas/s390/reloc64.d: New file. - * gas/s390/reloc64.s: New file. - * gas/s390/s390.exp: New file. - -2001-09-07 Eric Christopher - - * gas/mips/mips64.d: Change to use isa64. - * gas/mips/mips32.d: Change to use isa32. - -2001-09-07 Thiemo Seufer - - * gas/mips/mips-abi32-pic.s: Remove .set mips4 pseudo-op. - * gas/mips/mips-abi32.s: Likewise. - * gas/mips/mips-gp32-fp32-pic.s: Likewise. - * gas/mips/mips-gp32-fp32.s: Likewise. - * gas/mips/mips-gp32-fp64-pic.s: Likewise. - * gas/mips/mips-gp32-fp64.s: Likewise. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp32.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp64.s: Likewise. - -2001-09-07 Thiemo Seufer - - * gas/mips/beq.d: Check branches to external labels. - * gas/mips/beq.s: Likewise. - * gas/mips/bge.d: Likewise. - * gas/mips/bge.s: Likewise. - * gas/mips/bgeu.d: Likewise. - * gas/mips/bgeu.s: Likewise. - * gas/mips/blt.d: Likewise. - * gas/mips/blt.s: Likewise. - * gas/mips/bltu.d: Likewise. - * gas/mips/bltu.s: Likewise. - * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. - * gas/mips/empic.d: Likewise. - * gas/mips/empic.s: Likewise. - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - -2001-09-06 Thiemo Seufer - - * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16 - relocations, tradtional variant. - -2001-08-04 Richard Henderson - - * gas/alpha/alpha.exp: New file. - * gas/alpha/elf-reloc-1.[sd]: New test. - * gas/alpha/elf-reloc-2.[sl]: New test. - * gas/alpha/elf-reloc-3.[sl]: New test. - * gas/alpha/elf-reloc-4.[sd]: New test. - * gas/alpha/fp.exp: Remove file. - * gas/alpha/fp.s: Output to .data not .rdata. - * gas/alpha/fp.d: Adjust to match. - -2001-09-04 Jeffrey A Law (law@cygnus.com) - - * gas/all/gas.exp (930509a): Expect failure on the H8/300 ELF port. - - * gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300 - ELF toolchain. - * gas/h8300/h8300-elf.exp: Likewise. - - * gas/macros/macros.exp: Expect failure on all H8/300 ports. - - * gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports. - -2001-08-30 J"orn Rennecke - - * gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation. - (do_h8300_branch, do_h8300h_cbranch, do_h8300h_branch): Likewise. - (do_h8300s_cbranch, do_h8300s_branch, ffxx1): Likwise. - * gas/h8300/h8300-coff.exp, gas/h8300/h8300-elf.exp: New files. - * gas/h8300/branch-elf.s, gas/h8300/branchh-elf.s: Likewise. - * gas/h8300/branchs-elf.s, gas/h8300/ffxx1-elf.d: Likewise. - * gas/h8300/ffxx1-elf.s: Likewise. - * gas/h8300/branch.s, gas/h8300/branchh.s: Move to: - * gas/h8300/branch-coff.s, gas/h8300/branchh-coff.s - * gas/h8300/branchs.s, gas/h8300/ffxx1.d: Move to: - * gas/h8300/branchs-coff.s, gas/h8300/ffxx1-coff.d . - * gas/h8300/ffxx1.s: Move to: - * gas/h8300/ffxx1-coff.s . - -2001-08-29 J"orn Rennecke - - * lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show - where mismatch occurs due to regexp mismatch. - -2001-08-27 Staffan Ulfberg - Alan Modra - - * gas/macros/macros.exp: xfail powerpc-*-aix. - * gas/ppc/astest64.s: New. - * gas/ppc/astest64.d: New. - * gas/ppc/astest2_64.s: New. - * gas/ppc/astest2_64.d: New. - * gas/ppc/test1elf.asm: New. - * gas/ppc/test1xcoff.asm: New. - * gas/ppc/generate.sh: New. Generate new files below from above .asm - * gas/ppc/test1elf32.s: New. - * gas/ppc/test1elf32.d: New. - * gas/ppc/test1elf64.s: New. - * gas/ppc/test1elf64.d: New. - * gas/ppc/test1xcoff32.s: New. - * gas/ppc/test1xcoff32.d: New. - * gas/ppc/ppc.exp: Run new tests. - * gas/ppc/simpshft.s: Tweak align now that we get nops. - -2001-08-24 Thiemo Seufer - - * binutils-all/readelf.exp: Don't regard mips*el-*-* as traditional - mips. - * gas/mips/mips.exp: Likewise. Use traditional testcases for - mips${el}16-f if needed. - * gas/mips/elempic.d: New file, testcase for little endian empic. - * gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump. - * gas/mips/mips16-f.d: Use non-traditional symbol sorting. - * gas/mips/mipsel16-f.d: Likewise. - * gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16 - relocations. - * gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16 - relocations, traditional variant. - -2001-08-17 H.J. Lu - - * gas/sparc/unalign.d: Support Sparc V9. - -2001-08-16 Thiemo Seufer - - * gas/mips/mips.exp: Added performance counter test. - * gas/mips/perfcount.s: New File. Test of performance counter opcodes. - * gas/mips/perfcount.d: Likewise. - -2001-08-12 Nick Clifton - - * gas/sparc/unalign.s: Extend test to check .uaword with multiple - arguments. - * gas/sparc/unalign.d: Extend to expect unaligned relocs for both - arguments to .uaword. - -2001-08-10 H.J. Lu - - * gas/mips/e32-rel2.d: Updated for the objdump output change. - * gas/mips/e32el-rel2.d: Likewise. - * gas/mips/elf-rel.d: Likewise. - * gas/mips/elf-rel2.d: Likewise. - * gas/mips/elf-rel3.d: Likewise. - * gas/mips/elf_e_flags1.d: Likewise. - * gas/mips/elf_e_flags2.d: Likewise. - * gas/mips/elf_e_flags3.d: Likewise. - * gas/mips/elf_e_flags4.d: Likewise. - * gas/mips/elfel-rel.d: Likewise. - * gas/mips/elfel-rel2.d: Likewise. - * gas/mips/elfel-rel3.d: Likewise. - * gas/mips/empic.d: Likewise. - * gas/mips/mips16-e.d: Likewise. - * gas/mips/mips16-f.d: Likewise. - * gas/mips/mipsel16-f.d: Likewise. - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - * gas/mips/tmips16-e.d: Likewise. - * gas/mips/tmipsel16-e.d: Likewise. - - * gas/mips/mips16-f.d: Fix the symbol table output. - - * gas/mips/mipsel16-f.d: Fix the endian. - - * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f. - -2001-08-10 Richard Sandiford - - * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves. - * gas/mips/mips-gp32-fp64.d: Likewise. - * gas/mips/mips-abi32.d: Likewise. - * gas/mips/mips-gp32-fp32-pic.d: Likewise. - * gas/mips/mips-gp32-fp64-pic.d: Likewise. - * gas/mips/mips-abi32-pic.d: Likewise. - -2001-07-21 Thiemo Seufer - - * mips/lb.d: Reflect disassembler output fixes. - * mips/mips32.d: Likewise. - * mips/mips64.d: Likewise. Typo. - * mips/sb.d: Likewise. - * mips/trunc.d: Likewise. - -2001-08-04 H.J. Lu - - * gas/cris/operand-err-1.s: Updated. - -2001-08-04 H.J. Lu - Chris G. Demetriou - - * gas/mips/e32-rel4.s: Removed. - - * gas/mips/e32-rel4.d: Use elf-rel4.s. - - * gas/mips/mips.exp: Use the same rel4 test for litte endian. - - * gas/mips/mips-abi32-pic.d: Add lines for objdump. - * gas/mips/mips-abi32.d: Likewise. - * gas/mips/mips-gp32-fp32-pic.d: Likewise. - * gas/mips/mips-gp32-fp32.d: Likewise. - * gas/mips/mips-gp32-fp64-pic.d: Likewise. - * gas/mips/mips-gp32-fp64.d: Likewise. - * gas/mips/mips-gp64-fp32-pic.d: Likewise. - * gas/mips/mips-gp64-fp32.d: Likewise. - * gas/mips/mips-gp64-fp64-pic.d: Likewise. - * gas/mips/mips-gp64-fp64.d: Likewise. - - * gas/mips/mips-abi32-pic.s: Add space for objdump. - * gas/mips/mips-abi32.s: Likewise. - * gas/mips/mips-gp32-fp32-pic.s: Likewise. - * gas/mips/mips-gp32-fp32.s: Likewise. - * gas/mips/mips-gp32-fp64-pic.s: Likewise. - * gas/mips/mips-gp32-fp64.s: Likewise. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp32.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp64.s: Likewise. - - * gas/mips/mips-abi32-pic.s: Add the missing .end. - * gas/mips/mips-gp32-fp32-pic.s: Likewise. - * gas/mips/mips-gp32-fp64-pic.s: Likewise. - * gas/mips/mips-gp64-fp32-pic.s: Likewise. - * gas/mips/mips-gp64-fp64-pic.s: Likewise. - -2001-08-03 Richard Sandiford - - * gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test. - * gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test. - - * gas/mips/mips.exp: Run new tests. - -2001-08-02 Richard Sandiford - - * gas/mips/mips-gp32-fp32, - * gas/mips/mips-gp32-fp64, - * gas/mips/mips-gp64-fp32, - * gas/mips/mips-gp64-fp64, - * gas/mips/mips-abi32, - * gas/mips/mips-gp32-fp32-pic, - * gas/mips/mips-gp32-fp64-pic, - * gas/mips/mips-gp64-fp32-pic, - * gas/mips/mips-gp64-fp64-pic, - * gas/mips/mips-abi32-pic: New testcases. - - * gas/mips/mips.exp: Run them. - -2001-08-01 Alan Modra - - * gas/elf/section2.l: Adjust warning message comparison. - -2001-07-31 Richard Sandiford - - * gas/mips/mips.exp (el): New variable. - Use it to pick ELF reloc tests. - -2001-07-26 Chris Demetriou - - * gas/mips/lif-empic.d: Add back dollar signs before floating - point register names. - -2001-07-26 Alan Modra - - * gas/i386/relax.s: Test rs_space. - * gas/i386/relax.d: Update. - -2001-07-23 Alan Modra - - * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change. - * gas/i386/intel.d: Likewise. - -2001-07-16 Philip Blundell - - * gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for - change to disassembler. - -2001-07-14 Nick Clifton - - Fix failures in MIPS testsuite: - * gas/mips/abs.d: Pass -march=4000 to gas. - * gas/mips/eld_rel2.d: Do not expect zeroes at end of dump. - * gas/mips/elf_e_flags1.d: Pass -march=4000 to gas. - -2001-07-11 Jakub Jelinek - - * gas/sparc/unalign.s: Remove .uaxword test. - * gas/sparc/unalign.d: Adjust accordingly. - -2001-07-08 Anders Norlander - - * gas/all/gas.exp: Run incbin test. - * gas/all/incbin.s: New file. - * gas/all/incbin.d: New file. - -2001-07-04 Richard Sandiford - - * gas/mips/elf-rel3.s: Add zero word to end of file. - -2001-07-03 H.J. Lu - - * gas/mips/lb-xgot-ilocks.d: Add -march=r3900. - -2001-07-01 Ben Elliston - - * gas/m88k/allinsn.s: New file. - * gas/m88k/allinsn.d: Likewise. - * gas/m88k/m88k.exp: Test with allinsn.s also. - -2001-06-28 Eric Christopher - - * gas/mips/usd.d: Change for march/mtune. - * gas/mips/ulh-xgot.d: Ditto. - * gas/mips/uld.d: Ditto. - * gas/mips/trunc.d: Ditto. - * gas/mips/rol.d: Ditto. - * gas/mips/nodelay.d: Ditto. - * gas/mips/mul.d: Ditto. - * gas/mips/mul-ilocks.d: Ditto. - * gas/mips/trap20.d: Ditto. - * gas/mips/mips4.d: Ditto. - * gas/mips/mips16.d: Ditto. - * gas/mips/lif-xgot.d: Ditto. - * gas/mips/lif-svr4pic.d: Ditto. - * gas/mips/ld-xgot.d: Ditto. - * gas/mips/ld-svr4pic.d: Ditto. - * gas/mips/ld-ilocks-addr32.d: Ditto. - * gas/mips/lb-xgot.d: Ditto. - * gas/mips/jal-xgot.d: Ditto. - * gas/mips/jal-svr4pic.d: Ditto. - * gas/mips/delay.d: Ditto. - * gas/mips/lb-xgot-ilocks.d: Ditto. - * gas/mips/div.d: Ditto. - * gas/mips/break20.d: Ditto. - * gas/mips/delay.d: Ditto. - * gas/mips/elf_e_flags3.d: Ditto. - * gas/mips/elf_e_flags4.d: Ditto. - * gas/mips/lineno.d: Ditto. - * gas/mips/mips16.d: Ditto. - * gas/mips/mips4.d: Ditto. - * gas/mips/mips4010.d: Ditto. - * gas/mips/mips4650.d: Ditto. - -2001-06-21 Nick Clifton - - * gas/arm/arm.exp: Remove msr-bad.s test. - Select processor type for architecture specific instruction tests. - - * gas/arm/adrl.s: Add adrEQl as a test. - * gas/arm/adrl.d: Adjusted expected output. - - * gas/arm/arm7dm.s: Add "msr CPSR_x, #0" as a test instruction. - * gas/arm/msr-bad.s: Delete. - -2001-06-18 Tom Rix - - * gas/ppc/aix.exp: New file, aix specific tests. - * gas/ppc/align.s: New file, .comm alignment test. - -2001-06-13 Andreas Jaeger - - * gas/vtable/vtable.exp (run_list_test): Don't run on sparc64. - -2001-06-06 Peter Jakubek - - * gas/mri/for.d: Correct for swapped operands. - * gas/mri/if.d: Likewise. - * gas/mri/repeat.d: Likewise. - * gas/mri/while.d: Likewise. - -2001-06-12 Alan Modra - - * gas/i386/x86_64.d: Update for 2001-06-11 disassembler change. - -2001-06-10 H.J. Lu - - * gas/elf/section2.l: Match various white spaces. - -2001-06-10 H.J. Lu - - * gas/elf/section2.e: Support 64bit ELF. - * gas/elf/section2.e-mips: Likewise. - -2001-06-08 H.J. Lu - - * gas/mips/elfel-rel3.s: Moved to ... - * gas/mips/elf-rel3.s: Here. - - * gas/mips/elf-rel3.d: Updated. - - * gas/mips/elfel-rel3.d: Updated. - - * gas/mips/relax.d: New file. - * gas/mips/relax.s: Likewise. - - * gas/mips/mips.exp: Run relax and set xfail. - -2001-06-08 H.J. Lu - - * gas/mips/illegal.s: New file. - * gas/mips/illegal.l: Likewise. - - * gas/elf/elf.exp (run_list_test): New. - Run illegal with run_list_test. - -2001-06-08 H.J. Lu - - * gas/mips/elf-jal.d: New file. - - * gas/mips/mips.exp: Run "elf-jal" instead of "jal" for ELF. - -2001-06-08 Alan Modra - - * gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07. - -2001-06-07 H.J. Lu - - * gas/elf/section2.e-mips: New file. - - * gas/elf/elf.exp (run_list_test): Add suffix. - Pass -mips as suffix to run_list_test for mips. - -2001-06-07 H.J. Lu - - * gas/elf/section2.l: Match ".*GAS.*" instead of - "GAS LISTING .*". - -2001-06-07 H.J. Lu - - * gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips. - -2001-06-07 H.J. Lu - - * gas/mips/empic.d: Support stabs. - * gas/mips/mips16-e.d: Likewise. - * gas/mips/mips16-f.d: Likewise. - * gas/mips/mipsel16-f.d: Likewise. - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - * gas/mips/tmips16-e.d: Likewise. - * gas/mips/tmipsel16-e.d: Likewise. - -2001-06-06 H.J. Lu - - * gas/mips/elf-rel3.s: New file. - * gas/mips/elf-rel3.d: Likewise. - * gas/mips/elfel-rel3.s: Likewise. - * gas/mips/elfel-rel3.d: Likewise. - - * gas/mips/mips.exp: Run elf-rel3/elfel-rel3. - -2001-06-06 H.J. Lu - - * gas/elf/elf.exp (run_list_test): New. - Run section2 with run_list_test. - - * gas/elf/section2.e: New file. - * gas/elf/section2.l: Likewise. - * gas/elf/section2.s: Likewise. - -2001-06-04 H.J. Lu - - * gas/mips/mips4010.s: Add the missing ".end". - * gas/mips/mips4100.s: Likewise. - * gas/mips/mips4650.s: Likewise. - * gas/mips/sync.s: Likewise. - -2001-06-02 H.J. Lu - - * gas/sparc/unalign.d: Support Sparc V9. - -2001-05-28 Jeff Sturm - - * gas/sparc/unalign.s: New test. Check unaligned relocs. - * gas/sparc/unalign.d: New expected test results. - * gas/sparc/sparc.exp: Run new test. - -2001-05-27 Hans-Peter Nilsson - - * gas/cris/addi.d: Tweak for 64-bit BFD. - * gas/cris/binop-cmpmove.d: Ditto. - * gas/cris/binop-cmpmovx.d: Ditto. - * gas/cris/binop-extx.d: Ditto. - * gas/cris/binop.d: Ditto. - * gas/cris/bork.d: Ditto. - * gas/cris/branch.d: Ditto. - * gas/cris/break.d: Ditto. - * gas/cris/brokw-1.d: Ditto. - * gas/cris/brokw-2.d: Ditto. - * gas/cris/brokw-3.d: Ditto. - * gas/cris/ccr.d: Ditto. - * gas/cris/clear.d: Ditto. - * gas/cris/continue.d: Ditto. - * gas/cris/fragtest.d: Ditto. - * gas/cris/jump-type.d: Ditto. - * gas/cris/labfloat.d: Ditto. - * gas/cris/macroat.d: Ditto. - * gas/cris/movem-to-reg.d: Ditto. - * gas/cris/nosep.d: Ditto. - * gas/cris/oneop-type.d: Ditto. - * gas/cris/prefix.d: Ditto. - * gas/cris/pushpop-byte-sreg.d: Ditto. - * gas/cris/pushpop-dword-sreg.d: Ditto. - * gas/cris/pushpop-word-sreg.d: Ditto. - * gas/cris/pushpop.d: Ditto. - * gas/cris/quick-s6.d: Ditto. - * gas/cris/quick-u5.d: Ditto. - * gas/cris/quick-u6.d: Ditto. - * gas/cris/range-err-1.s: Ditto. - * gas/cris/rd-pic-1.d: Ditto. - * gas/cris/rd-regprefix-1.d: Ditto. - * gas/cris/rd-regprefix-1b.d: Ditto. - * gas/cris/reg-to-mem.d: Ditto. - * gas/cris/regreg.d: Ditto. - * gas/cris/return.d: Ditto. - * gas/cris/scc.d: Ditto. - * gas/cris/separator.d: Ditto. - * gas/cris/shexpr-1.d: Ditto. - * gas/cris/sreg-to-x.d: Ditto. - * gas/cris/test.d: Ditto. - * gas/cris/unimplemented.d: Ditto. - * gas/cris/unop-mem.d: Ditto. - * gas/cris/x-to-byte-sreg.d: Ditto. - * gas/cris/x-to-dcr1-sreg.d: Ditto. - * gas/cris/x-to-dword-sreg.d: Ditto. - * gas/cris/x-to-word-sreg.d: Ditto. - * gas/cris/shexpr-1.d: Ditto. Correct format. - -2001-05-25 H.J. Lu - - * gas/mips/e32el-rel2.d: New for little endian mips. - * gas/mips/elfel-rel2.d: Likewise. - * gas/mips/elfel-rel.d: Likewise. - * gas/mips/mipsel16-f.d: Likewise. - * gas/mips/telempic.d: Likewise. - * gas/mips/tmipsel16-e.d: Likewise. - - * gas/mips/tempic.d: New for traditional mips. - * gas/mips/tmips16-e.d: Likewise. - - * gas/mips/elf-rel.d: Handle alignment padding. - * gas/mips/elf-rel2.d: Likewise. - - * gas/mips/mips.exp: Support little endian and traditional - mips. - -2001-05-24 H.J. Lu - - * gas/m68k/pcrel.d: Support 64bit BFD. - -2001-05-24 H.J. Lu - - * gas/arm/adrl.d: Support 64bit BFD. - * gas/arm/arm7t.d: Likewise. - * gas/arm/inst.d: Likewise. - * gas/arm/pic.d: Likewise. - * gas/arm/xscale.d: Likewise. - -2001-05-23 Alan Modra - - * gas/elf/ehopt0.d: Tweak for bigendian targets. - -2001-05-15 Thiemo Seufer - - * gas/mips/abs.d: Remove $ before register names, per latest - disassembler. - * gas/mips/add.d: Ditto. - * gas/mips/and.d: Ditto. - * gas/mips/beq.d: Ditto. - * gas/mips/bge.d: Ditto. - * gas/mips/bgeu.d: Ditto. - * gas/mips/blt.d: Ditto. - * gas/mips/bltu.d: Ditto. - * gas/mips/delay.d: Ditto. - * gas/mips/div-ilocks.d: Ditto. - * gas/mips/div.d: Ditto. - * gas/mips/dli.d: Ditto. - * gas/mips/elf_e_flags1.d: Ditto. - * gas/mips/elf_e_flags2.d: Ditto. - * gas/mips/elf_e_flags3.d: Ditto. - * gas/mips/elf_e_flags4.d: Ditto. - * gas/mips/jal-empic.d: Ditto. - * gas/mips/jal-svr4pic.d: Ditto. - * gas/mips/jal-xgot.d: Ditto. - * gas/mips/jal.d: Ditto. - * gas/mips/la-empic.d: Ditto. - * gas/mips/la-svr4pic.d: Ditto. - * gas/mips/la-xgot.d: Ditto. - * gas/mips/la.d: Ditto. - * gas/mips/lb-empic.d: Ditto. - * gas/mips/lb-svr4pic.d: Ditto. - * gas/mips/lb-xgot-ilocks.d: Ditto. - * gas/mips/lb-xgot.d: Ditto. - * gas/mips/lb.d: Ditto. - * gas/mips/ld-empic.d: Ditto. - * gas/mips/ld-ilocks-addr32.d: Ditto. - * gas/mips/ld-ilocks.d: Ditto. - * gas/mips/ld-svr4pic.d: Ditto. - * gas/mips/ld-xgot.d: Ditto. - * gas/mips/ld.d: Ditto. - * gas/mips/li.d: Ditto. - * gas/mips/lif-empic.d: Ditto. - * gas/mips/lif-svr4pic.d: Ditto. - * gas/mips/lif-xgot.d: Ditto. - * gas/mips/lifloat.d: Ditto. - * gas/mips/mips16.d: Ditto. - * gas/mips/mips32.d: Ditto. - * gas/mips/mips4.d: Ditto. - * gas/mips/mips4010.d: Ditto. - * gas/mips/mips4100.d: Ditto. - * gas/mips/mips4650.d: Ditto. - * gas/mips/mips64.d: Ditto. - * gas/mips/mul-ilocks.d: Ditto. - * gas/mips/mul.d: Ditto. - * gas/mips/nodelay.d: Ditto. - * gas/mips/rol.d: Ditto. - * gas/mips/sb.d: Ditto. - * gas/mips/trap20.d: Ditto. - * gas/mips/trunc.d: Ditto. - * gas/mips/uld.d: Ditto. - * gas/mips/ulh-empic.d: Ditto. - * gas/mips/ulh-svr4pic.d: Ditto. - * gas/mips/ulh-xgot.d: Ditto. - * gas/mips/ulh.d: Ditto. - * gas/mips/ulw.d: Ditto. - * gas/mips/usd.d: Ditto. - * gas/mips/ush.d: Ditto. - * gas/mips/usw.d: Ditto. - -2001-05-14 Richard Henderson - - * gas/elf/ehopt0.s: New. - * gas/elf/ehopt0.d: New. - * gas/elf/elf.exp: Run it. - -2001-05-12 Peter Targett - - * gas/arc/st.s: Add test case @h30 fixup. - * gas/arc/st.d: Update to suit. - -2001-05-12 Alan Modra - - * gas/i386/sse2.s: Correct cvtps2dq, movdq2q, and movq2dq - * gas/i386/sse2.d: Likewise. Fix pmuludq and punpckhqdq too. - - * gas/i386/ssemmx2.d: Correct movq. - -2001-05-10 Hans-Peter Nilsson - - * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number - handling. - -2001-05-04 Alan Modra - - * gas/i386/katmai.d: Correct pmovmskb and pextrw opcodes. - * gas/i386/ssemmx2.d: Likewise. Correct register for pextrw, - pinsrw, and pmovmskb. - * gas/i386/sse2.d: Correct register for movmskpd. - -2001-05-02 Johan Rydberg - - * gas/openrisc/addi.s: New file. - * gas/openrisc/addi.d: Likewise. - * gas/openrisc/allinsn.exp: Likewise. - * gas/openrisc/allinsn.s: Likewise. - * gas/openrisc/allinsn.d: Likewise. - * gas/openrisc/lohi.s: Likewise. - * gas/openrisc/lohi.d: Likewise. - * gas/openrisc/store.s: Likewise. - * gas/openrisc/store.d: Likewise. - -2001-04-05 Hans-Peter Nilsson - - * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, - gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, - gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, - gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, - gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d: - New tests. - * gas/cris/brokw-2.s: Correct broken-word expansion visualization - in comment. - * gas/cris/fragtest.s, gas/cris/rd-pic-1.s, - gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d, - gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d, - gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d, - gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s, - gas/cris/range-err-2.s, gas/cris/sep-err-1.s, - gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d, - gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove - trailing empty lines. - * gas/cris/continue.s: Ditto, tweak comment. - - * lib/gas-defs.exp (run_dump_test): Support using readelf. - * config/default.exp: Default READELF and READELFFLAGS. - -2001-03-31 Alan Modra - - * gas/all/cond.s: Add .if .elseif tree. - * gas/all/cond.d: Match above. - -2001-03-30 H.J. Lu - - * gas/i386/relax.d: Dump with -s instead of -drw. - -2001-03-29 H.J. Lu - - * gas/i386/relax.s: New test for relaxation between sections. - * gas/i386/relax.d: New. - - * gas/i386/i386.exp: Add tests for ELF. - -2001-03-27 Chris Demetriou - - * gas/mips/lineno.d: Allow for the possibility that - the local labels won't be in the objdump output. Match - zeros in addresses using '+' for better compatibility with - different targets. - -2001-03-26 Chris Demetriou - - * gas/mips/sync.s: Declare 'foo' as a function so that this - test will work on properly on ECOFF targets. - -2001-03-24 Alan Modra - - * gas/i386/ssemmx2.s: Change movntq to movntdq. - * gas/i386/ssemmx2.d: Matching change. - -2001-03-23 Hans-Peter Nilsson - - * gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d: - New tests. - - * gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s, - gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s. - -2001-03-19 John David Anglin - - * gas/vax/quad.exp: Correct expected result. - -2001-03-19 Andreas Schwab - - * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get - consistent output across targets. - * gas/m68k/pcrel.d: Adjusted. - -2001-03-18 H.J. Lu - - * gas/i386/intel.s: Move PIC code to ... - * gas/i386/intelpic.s: New. Here. - * gas/i386/intel.d: Updated. - * gas/i386/intelpic.d: New. - - * gas/i386/i386.exp: Check PIC code in Intel syntax for ELF - targets only. - -2001-03-18 Stephane Carrez - - * gas/mri/mri.exp: Fix test of m6811/m6812 targets. - -2001-02-26 H.J. Lu - - * gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]". - -2001-02-23 H.J. Lu - - * gas/ia64/opc-a-err.l: Fix "cmp4.lt.or". - - * gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and - "cmp4". - * gas/ia64/opc-a.s: Rebuilt. - * gas/ia64/opc-a.d: Likewise. - -2001-02-17 Chris Demetriou - - * gas/mips/mips32.d: Remove ELF dependencies. This test - wasn't meant to be ELF specific, and doesn't have to be. - * gas/mips/mips64.d: Likewise. - -2001-02-17 Chris Demetriou - - * gas/mips/mips.exp: Don't attempt the elf_e_flags family of - tests if not ELF; they test ELF-specific features. - -2001-02-08 Stephane Carrez - - * gas/mri/mri.exp: Don't execute the M68K specific tests - on m6811-elf and m6812-elf targets, still run the generic MRI tests. - -2001-02-04 Stephane Carrez - - * gas/m68hc11/malis.s: New test to verify compliance with Motorola - Assembly Language Input Standard. - * gas/m68hc11/malis.d: New file. - * gas/m68hc11/malis-include.s: New file. - * gas/m68hc11/all.exp: Add the new test. - -2001-01-12 Alan Modra - - * gas/i386/i386.exp (gas_64_check): Correct target string. - Use gas_64_check rather than target string to decided whether - x86_64 checks should run. - - * gas/i386/sse2.s: Add a label to cure objdump "no symbols" error. - * gas/i386/ssemmx2.s: Likewise. - * gas/i386/sse2.d: Update to suit. - * gas/i386/ssemmx2.s: Likewise. - -2001-01-11 Peter Targett - - * gas/arc/alias.*: Removed. - * gas/arc/branch.*: Likewise. - * gas/arc/insn3.*: Likewise. - * gas/arc/math.*: Likewise. - * gas/arc/sshift.*: Likewise. - * gas/arc/arc.exp: Simplified test process for base case - instruction set by adding run_dump_test cases for all base - instructions. - * gas/arc/adc.s, gas/arc/adc.d: New test cases and dump. - * gas/arc/add.s, gas/arc/add.d: Likewise. - * gas/arc/and.s, gas/arc/and.d: Likewise. - * gas/arc/asl.s, gas/arc/asl.d: Likewise. - * gas/arc/asr.s, gas/arc/asr.d: Likewise. - * gas/arc/b.s, gas/arc/b.d: Likewise. - * gas/arc/bic.s, gas/arc/bic.d: Likewise. - * gas/arc/bl.s, gas/arc/bl.d: Likewise. - * gas/arc/brk.s, gas/arc/brk.d: Likewise. - * gas/arc/extb.s, gas/arc/extb.d: Likewise. - * gas/arc/extw.s, gas/arc/extw.d: Likewise. - * gas/arc/flag.s, gas/arc/flag.d: Likewise. - * gas/arc/j.s, gas/arc/j.d: Likewise. - * gas/arc/jl.s, gas/arc/jl.d: Likewise. - * gas/arc/ld.s, gas/arc/ld.d: Likewise. - * gas/arc/ld2.s, gas/arc/ld2.d: Likewise. - * gas/arc/lp.s, gas/arc/lp.d: Likewise. - * gas/arc/lsr.s, gas/arc/lsr.d: Likewise. - * gas/arc/mov.s, gas/arc/mov.d: Likewise. - * gas/arc/nop.s, gas/arc/nop.d: Likewise. - * gas/arc/or.s, gas/arc/or.d: Likewise. - * gas/arc/rlc.s, gas/arc/rlc.d: Likewise. - * gas/arc/ror.s, gas/arc/ror.d: Likewise. - * gas/arc/rrc.s, gas/arc/rrc.d: Likewise. - * gas/arc/sbc.s, gas/arc/sbc.d: Likewise. - * gas/arc/sexb.s, gas/arc/sexb.d: Likewise. - * gas/arc/sexw.s, gas/arc/sexw.d: Likewise. - * gas/arc/sleep.s, gas/arc/sleep.d: Likewise. - * gas/arc/add.s, gas/arc/add.d: Likewise. - * gas/arc/st.s, gas/arc/st.d: Likewise. - * gas/arc/sub.s, gas/arc/sub.d: Likewise. - * gas/arc/swi.s, gas/arc/swi.d: Likewise. - * gas/arc/xor.s, gas/arc/xor.d: Likewise. - * gas/arc/warn.s: Removed warning test case for setting of flags - followed by conditional branch, an arc5 only feature. - - * gas/ieee-fp/x930509a.exp: Skip test if target also arc*-*-*. - - * gas/vtable/vtable.exp: Skip tests if target also arc*-*-*. - -2001-01-11 Stephane Carrez - - * gas/m68hc11/opers12.s: Add more tests for index post byte. - * gas/m68hc11/opers12.d: Likewise. - -2001-01-11 Stephane Carrez - - * gas/m68hc11/all.exp: Add new tests for dwarf2. - * gas/m68hc11/lbranch-dwarf2.d: New file, test for dwarf2. - * gas/m68hc11/opers12-dwarf2.d: Likewise. - * gas/m68hc11/insns-dwarf2.d: Likewise. - -2001-01-11 Nick Clifton - - * gas/arm/adrl.s: Add global label 'foo'. - * gas/arm/adrl.d: Expect to see references to 'foo' in the - disassembly. COFF and ELF disassemblys should now be the same. - -2001-01-10 Jan Hubicka - - * i386.exp: Add ssemmx2 and sse2 tests. - (sse2.d, sse2.s, ssemmx2.d, ssemmx2.s): New tests. - -2001-01-09 Nick Clifton - - * gas/arm/pic.d: Fix patterns to match new behaviour of - disassembler. - inst.d: Fix patterns to match new behaviour of disassembler. - -2001-01-03 Philip Blundell - - * gas/vtable/vtable.exp: Don't run tests on Alpha. - -2001-01-06 Jan Hubicka - - * i386.exp: Add tests for presence of 32bit versus 64bit output - format; run both 64bit and 32bit tests when format is available; - add x86_64 test. - * x86_64.s: New file. - * x86_64.d: New file. - -2001-01-02 Nick Clifton - - * gas/arm/arm.exp: Pass -marmv3 to msr-bad test, since the - instruction is legal in v5. Also fix expected error message. - -2001-01-01 Philip Blundell - - * gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests. - * gas/arm/arm.exp: Run them. - * gas/arm/adrl.d, gas/arm/pic.d: Expected results for above. - * gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'. - -2000-12-22 H.J. Lu - - * gas/i386/intel.s: Replace "nop" with ".p2align 4,0". - * gas/i386/intel.d: Updated. - -2000-12-12 Jim Wilson - - * gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d, - gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update. - -2000-12-12 Nick Clifton - - * gas/vtable/vtable.exp: Fix formatting. - - * gas/arm/elsegundo.s: New Test (currently disabled). - * gas/arm/elsegundo.d: Expected test results. - -2000-12-11 H.J. Lu - - * gas/i386/intel.d: Adjusted for the a.out assembler. - * gas/i386/intel.s: Likewise. - -2000-12-09 Nick Clifton - - * gas/m68k/pcrel.d: Update to match latest assembler output. - -2000-12-02 Chris Demetriou - - * gas/mips/elf_e_flags.s: Add padding to the end of the - file so that objdump output will be consistent. - * gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d, - gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: Expect - "..." at end of objdump output because of zero bytes at end - of section. - * gas/mips/elf_e_flags.c: Add note to comment about - what's changing in elf_e_flags.s. - - * gas/mips/la.s: Add padding to the end of the file so that - objdump output will be consistent. - * gas/mips/la-svr4pic.d, gas/mips/la-xgot.d: Expect "..." at - end of objdump output because of zero bytes at end of - section. - - * gas/mips/sync.s: Add padding to the end of the file so that - objdump output will be consistent. - * gas/mips/sync.d: Expect "..." at end of objdump output - because of zero bytes at end of section. - - * gas/mips/empic.d: Pad sections out to 16 bytes, to avoid - alignment issues so tests are useful on multiple targets. - * gas/mips/empic.s: Likewise. - * gas/mips/mips16-e.d: Likewise. - * gas/mips/mips16-e.s: Likewise. - * gas/mips/mips16-f.d: Likewise. - * gas/mips/mips16-f.s: Likewise. - - * gas/mips/mips32.d: Expect disassembly of madd and maddu - to use their correct names. Add tests for break and sdbbp. - * gas/mips/mips32.s: Likewise. - - * gas/mips/mips64.s: Add test for assembly of MIPS64 - extensions. - * gas/mips/mips64.d: Likewise. - * gas/mips/mips.exp: Test using the new "mips64" test. - -2000-12-01 Chris Demetriou - - * gas/mips/mips16.d: Expect mips16 nops to be used for padding - when mips16 code generation is enabled. - - * gas/mips/empic.d: Adjust for the fact that the difference - between two symbols in the same section are not expected to - generate a reloc. - * gas/mips/empic.s: Likewise. Also, correct typo in comment - about expected relocs. - - * gas/mips/mips32.s, gas/mips/mips32.d: New files for MIPS32 - instruction assembly test. - * gas/mips/mips.exp: Add the test mentioned above. - -2000-11-30 Diego Novillo - - * intel.s, intel.d: New test for @GOT references. - -2000-11-28 Hans-Peter Nilsson - - * gas/sh/err.exp: New, framework for error-testing. - * gas/sh/err-1.s: New test. - -2000-11-26 Stephane Carrez - - * gas/m68hc11/opers12.s: New test for movw operands. - * gas/m68hc11/opers12.d: Likewise. - -2000-11-24 Nick Clifton - - * arm.exp: Run tests for xscale as well as arm. - Run xscale tests. - - * xscale.s: New file: XScale instruction tests. - * xscale.d: New file: Expected XScale instruction results. - -2000-11-20 H.J. Lu - - * gas/i386/intel.d: Add 3 "nop"s for the a.out assembler. - * gas/i386/intel.s: Likewise. - -2000-11-16 H.J. Lu - - * gas/symver/symver0.d: Add 64bit support. - * gas/symver/symver1.d: Likewise. - -2000-11-16 H.J. Lu - - * gas/symver/symver.exp: Don't run symver4 nor symver5. - -2000-11-13 H.J. Lu - - * gas/symver/symver.exp: New for symver test. - * gas/symver/symver0.d: Likewise. - * gas/symver/symver0.s: Likewise. - * gas/symver/symver1.d: Likewise. - * gas/symver/symver1.s: Likewise. - * gas/symver/symver2.l: Likewise. - * gas/symver/symver2.s: Likewise. - * gas/symver/symver3.l: Likewise. - * gas/symver/symver3.s: Likewise. - * gas/symver/symver4.l: Likewise. - * gas/symver/symver4.s: Likewise. - * gas/symver/symver5.l: Likewise. - * gas/symver/symver5.s: Likewise. - * gas/symver/symver6.l: Likewise. - * gas/symver/symver6.s: Likewise. - -2000-11-11 Hans-Peter Nilsson - - * gas/macros/macros.exp: Mark strings test xfail for sh. - -2000-10-24 Diego Novillo - - * intel.s, intel.d: Add new tests for intel syntax. - -2000-10-19 Alan Modra - - * gas/elf/section0.s: Ensure section sizes are multiples of 16. - * gas/elf/section1.s: Likewise. - * gas/elf/section[01].d: Change to suit. - -2000-10-18 H.J. Lu - - * gas/i386/intel.d: Fix the support for 64bit BFD in the last - change. - -2000-10-15 Diego Novillo - - * intel.s, intel.d: Add new tests for naked registers using intel - syntax. - -2000-09-29 Hans-Peter Nilsson - - * gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s, - gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d, - gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New. - * gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d. - -2000-09-28 Alan Modra - - * gas/hppa/parse/parse.exp: Replace "hppa*w-*-*" with "hppa*64*-*-*" - * gas/hppa/reloc/reloc.exp: Likewise. - * gas/hppa/unsorted/unsorted.exp: Likewise. - - * gas/hppa/reloc/reduce.s: Modify .PARAM so we need an arg reloc. - -2000-09-22 Jim Wilson - - * gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests. - * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. - - * gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62. - * gas/ia64/dv-waw-err.s: Likewise. - * gas/ia64/dv-imply.d: Regenerate. - * gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d, - gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l, - gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise. - -2000-09-14 Timothy Wall - - * gas/ia64/dv-waw-err.[sl]: Additional tests for parallel - comparisons which should and should not produce DVs. - -2000-09-05 Alan Modra - - * gas/vtable/vtable.exp: Re-enable for hppa-elf. - -2000-08-29 Timothy Wall - - * gas/ia64/dv-mutex.s: Add stop to avoid DV error on cmp.eq. - * gas/ia64/dv-mutex.d: Update regexp pattern. - * gas/ia64/dv-entry-err.s: Add stop to avoid DV error on cmp.eq. - * gas/ia64/dv-imply.s: Add stops to avoid DV errors on cmp.REL. - Test still fails due to insn opcode pattern changes. - -2000-08-21 H.J. Lu - - * gas/all/cofftag.d: Support the strict COFF. - -2000-08-16 Jim Wilson - - * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. - * gas/ia64/dv-raw-err.l: Likewise. - * gas/ia64/dv-waw-err.l: Update sed pattern. - * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. - * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. - -2000-08-16 Nick Clifton - - * gas/arm/inst.s: Add tests for edge cases of shift based - addressing modes. - - * gas/arm/inst.d: Add expected results for new tests. - -2000-07-20 Hans-Peter Nilsson - - * gas/all/gas.exp: Don't run floating-point tests on CRIS. - * gas/ieee-fp/x930509a.exp: Ditto. - * gas/macros/macros.exp: Mark strings test xfail for CRIS. - * gas/cris/*: New tests for CRIS. - -2000-07-19 Alan Modra - - * gas/macros/macros.exp (test1): Run it for hppa*-*-linux*. - (semi): Likewise. - (strings): Don't run for hppa, except for hppa*-*-linux*. - - * gas/hppa/parse/linesepbug.s: Ensure we have whitespace before - pseudos. - -2000-07-18 Scott Bambrough - - * gas/arm/inst.d: Fix expected results to match current assembler - output. Patch from Justin Seger . - -2000-07-10 Alan Modra - - * gas/vtable/vtable.exp: Disable test for hppa. - - * gas/hppa/reloc/reloc.exp (do_relocation_reduction_tests): Don't - run test for any elf target. - (applybug): Don't run test for linux. - * gas/hppa/unsorted/unsorted.exp (do_common_text): Likewise. - * gas/hppa/parse/parse.exp (linesepbug): Remove xfail - (labelbug): xfail for hppa-linux. - - * gas/hppa/basic/{coprmem.s, fmemLRbug.s}: Add colons to labels. - * gas/hppa/parse/{callinfobug.s, regpopbug.s}: Likewise. - * gas/hppa/reloc/{applybug.s, funcrelocbug.s, longcall.s, - r_no_reloc.s, reduce3.s}: Likewise. - * gas/hppa/unsorted/common.s: Likewise. - -2000-07-05 Nick Clifton - - * gas/d30v/inst.d: Fix expected results to match current assembler - output. - * gas/d30v/bittest.l: Fix expected warning messages to match - current assembler output. - -2000-06-29 Kazu Hirata - - * gas/h8300/h8300.exp (do_h8300s_mac): Change the registers used - in ldmac and stmac. - * gas/h8300/macs.s: Likewise. - -2000-06-27 Nick Clifton - - * gas/d30v/bittest.l: Edit to match new warning messages produced - by assembler. - -2000-06-19 Timothy Wall - - * gas/macros/macros.exp: Avoid tests which are not useful on tic54x. - * gas/all/gas.exp: Make adjustments for tic54x target. - * gas/ieee-fp/x930509a.exp: Ditto. - * gas/tic54x/*: New tests for tic54x. NOTE: load page has been - moved into the LMA and is not printed separately by objdump any - longer. This still needs to be tested. - -2000-06-18 Stephane Carrez - - * gas/m68k/all.exp: Don't execute tests if the target is m68hc11&12. - * gas/m68hc11/all.exp: Specific tests for m68hc11. - * gas/m68hc11/all_insns.[ds]: Check m68hc11 instructions. - * gas/m68hc11/insns[ds]: Another test. - * gas/m68hc11/lbranch.[ds]: Check branch optimization (gas relax). - * gas/m68hc11/opers12.[ds]: New files, check m68hc12 operands. - -2000-06-17 Alan Modra - - * gas/macros/strings.s: Don't start directives in first column - (for LABELS_WITHOUT_COLONS targets). - -2000-06-14 H.J. Lu - - * gas/macros/strings.d: Support a.out and coff. - -2000-06-14 Nick Clifton - - * gas/arm/arm6.s: Remove 'mrs r9, cpsr_all' since the cpsr_all - flag is no longer legal syntax. - -2000-06-09 Nick Clifton - - * gas/macros/macros.exp: Run new test: strings. - * gas/macros/strings.s: New test: String expansion inside - macros. - * gas/macros/strings.d: New test results. - -2000-06-04 Alan Modra - - * gas/i386/prefix.s: Modify so we have at least one x86 test that - checks the line separator. - -2000-05-21 Hans-Peter Nilsson - - * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf. - -2000-05-15 Nick Clifton - - * gas/arm/arch4t.s: Add tests of new fields to msr instruction. - -2000-05-11 Ulf Carlsson - - * gas/mips/mips.exp: Include *-*-linux* in svr4pic. - - * gas/mips/jal-svr4pic.{s,d} gas/mips/jal-xgot.d: Add a jal to a - weak symbol. - -2000-05-08 Alan Modra - - * gas/mri/float.d: Fix for srec length change. - -2000-05-02 Alan Modra - - * gas/hppa/unsorted/unsorted.exp: Duplicate hppa*-*-*elf* - behaviour for hppa*-*-linux* throughout file. - * gas/hppa/reloc/reloc.exp: Ditto. - (reduce2.s): Disable test for elf targets. - - * gas/hppa/parse/parse.exp (ssbug.s): setup_xfail hppa*-*-linux*. - - * gas/elf/section0.s: Don't start pseudos on first column so - targets that define LABELS_WITHOUT_COLONS work. - * gas/elf/section1.s: Ditto. - * gas/vtable/inherit0.s: Ditto. - * gas/vtable/inherit1.s: Ditto. - * gas/vtable/entry0.s: Ditto. - * gas/vtable/entry1.s: Ditto. - -2000-05-01 Nick Clifton - - * gasp/macro.out: Fix label numbers to remove leading zeroes. - * gasp/mdouble.out: Fix label numbers to remove leading zeroes. - -2000-04-25 Alan Modra - - * gas/i386/general.l: Allow for DISP32 pe relocs. - * gas/i386/jump.d: Similarly. - -2000-04-24 Jim Wilson - - * gas/ia64/opc-i.d: Change pmin2.u to pmin2. Change pmax2.u to pmax2. - Change MLI to MLX. Switch operands for output matching tbit.z.orcm, - tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm, - tnat.nz.orcm, tnat.nz.andcm inputs. - * gas/ia64/opc-i.pl: Insert padding nops before last dep. - * gas/ia64/opc-i.s: Regenerate. - - * gas/ia64/opc-i.s: Regenerate. - * gas/ia64/opc-f.pl: Add explicit stop at end. - -2000-04-22 Timothy Wall - - * gas/ia64/opc-f.d: Disassemble zeroes to verify break.f. - * gas/ia64/opc-f.s: Add an explicit stop to make IAS output match. - -2000-04-21 Richard Henderson - David Mosberger - Timothy Wall - Jim Wilson - - * gas/vtable/vtable.exp: Disable for ia64. - * gas/ia64: New testsuite directory. - -2000-04-03 Alan Modra - - * gas/i386/general.s: Check 16-bit immediates, and move call/jump - checks to start. - * gas/i386/general.l: Likewise. - -2000-04-01 Alexandre Oliva - - * gas/mn10300/am33_5.s: Check that negative SP offsets are encoded - with 32 bits, not with the unsigned shorter opcodes. - * gas/mn10300/basic.exp: Likewise. - -2000-03-31 Alexandre Oliva - - * lib/gas-defs.exp (regexp_diff): Don't break on the first - difference, list them all. - -2000-03-29 Nick Clifton - - * gas/ieee-fp/x930509a.exp (dotest): Fix test for - LISTING_WORD_SIZE==1. - * gas/all/gas.exp (do_930509a): Same here. - * gas/all/cond.d: And here. - -2000-03-16 Nick Clifton - - * gas/arm/arm.exp: Run branch.s test. - Run tests if target is strongarm. - - * gas/arm/branch.s: New test. Make sure that assembler can handle - same-section branch relocations properly. - - * gas/arm/branch.d: New file. Expected output from assembling - branch.s. - -2000-03-10 Geoffrey Keating - - * gas/mips/empic.d: New file. - * gas/mips/empic.s: New file. - * gas/mips/mips16-e.d: New file. - * gas/mips/mips16-e.s: New file. - * gas/mips/mips16-f.d: New file. - * gas/mips/mips16-f.s: New file. - * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an - expected failure. - -2000-02-25 H.J. Lu - - * gas/i386/general.l: Support a.out and coff. - -2000-02-25 Alan Modra - - * gas/i386/intel.s: New file, intel version of opcode.s - * gas/i386/intel.d: New file, copy of opcode.d - * gas/i386/i386.exp: Call it. - - * gas/i386/general.s: Add extra "out" instructions. - * gas/i386/general.l: Likewise. - -2000-01-31 Nick Clifton - - * gas/arm/inst.s: Include test of ATPCS register naming - conventions. - - * gas/arm/float.s: Include test of ATPCS register naming - conventions. - -2000-01-21 H.J. Lu - - * gas/i386/general.l: Support a.out. - * gas/i386/jump.d: Likewise. - * gas/i386/jump16.d: Likewise. - -2000-01-21 Alan Modra - - * gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here - * gas/i386/jump16.{s,d}: To here. - * gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call - tests in general.s so that objdump is exercised. - - * gas/i386/i386.exp: Call new tests. - -2000-01-15 Alan Modra - - * gas/i386/general.{s,l}: Add jmp and call tests for .code16gcc, - .code16, and .code32 modes. - -1999-11-30 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files. - * gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise. - * gas/mn10300/{am33_7.s, am33_8.s}: Likewise. - * gas/mn10300/basic.exp: Run the am33 tests. - -1999-11-15 Gavin Romig-Koch - - * gas/mips/la.d: Adjust for new la macro expansion. - Change matches for explicit addresses to matches for - any address. - * gas/mips/la-xgot.d: Same. - * gas/mips/la-svr4pic.d: Same. - -1999-11-01 Nick Clifton - - Remove reloc generating references to local labels in test code. - Some ARM targets (eg PE) generate a reloc based on the label, - whilst others (eg ELF) generate a reloc based on the section - symbol. This meant that the disassembled outputs would differ. - - * gas/arm/inst.s: Change test of BLPL instruction. - * gas/arm/inst.d: Change expected decode of BLPL instruction. - * gas/arm/arm7t.s: Remove use of .LC0 label in .word directive. - Remove .rdata section, since this cannot exist in an arm-aout - target. - * gas/arm/arm7t.d: Change expected reloc generated for .word - directive. - -1999-10-21 Nick Clifton - - * gas/arm/arm7t.d: Update to match latest objdump output. - * gas/arm/inst.s: Fix erroneous test case. - * gas/arm/inst.d: Update to match latest objdump output. - -1999-10-11 Geoffrey Keating - - * lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some - indeterminate number of extra lines here". - - * gas/elf/elf.exp: Remove XFAILs. - * gas/elf/section0.d: Make pass on MIPS (and hopefully alpha). - * gas/elf/section1.d: Likewise. - -1999-10-07 Diego Novillo - - * gas/d10v: New directory. - * gas/d10v/d10.exp: New file. - * gas/d10v/inst.s: New file. - * gas/d10v/inst.d: New file. - -1999-10-07 Geoffrey Keating - - * gas/mips/elf-rel.s: New file. - * gas/mips/elf-rel.d: New file. - * gas/mips/elf-rel2.d: New file. - * gas/mips/e32-rel2.d: New file. - * gas/mips/elf-rel2.s: New file. - * gas/mips/mips.exp: Add elf-rel, elf-rel2. - - * gas/mips/elf_e_flags1.d: Tweak a little so it passes - even if the CPU is set to something by default. - -1999-10-04 Doug Evans - - * gas/m32r/error.exp: New testcase driver. - * gas/m32r/m32rx.exp: New testcase driver. - * gas/m32r/fslotx.[sd]: New testcase. - * gas/m32r/m32rx.[sd]: New testcase. - * gas/m32r/relax-s.[sd]: New testcase. - * gas/m32r/interfere.s: New testcase. - * gas/m32r/wrongsize.s: New testcase. - -1999-09-17 Alan Modra - - * gas/i386/i386.exp: Enable reloc and white tests for COFF. - * gas/i386/reloc.d: Accept dir32 relocs. - -1999-09-12 Donn Terry - - * gas/all/gas.exp: Run cofftag test for i*86-*-interix*. - * lib/gas-defs.exp: Add perror if can not read .d file. - -1999-09-04 Steve Chamberlain - - * gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava. - -1999-09-02 Nick Clifton - - * gas/vtable/vtable.exp: Add [istarget "strongarm*-*-*"] to run - dump test "entry0" instead of "entry1". - -1999-09-01 Scott Bambrough - - * gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump - test "entry0" instead of "entry1". ARM targets use REL relocs, - and should use the test entry0. - -1999-09-01 H.J. Lu - - * gas/i386/naked.d: Fix for coff targets. - -Mon Aug 30 12:18:40 1999 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/unsorted/*.s: Use .code instead of .SPACE/.SUBSPA for - sectioning. - * gas/hppa/unsorted/unsorted.exp: Disable tests not appropriate for - PA64. - - * gas/hppa/reloc/*.s: Use .code instead of .SPACE/.SUBSPA for - sectioning. - * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64. - Revamp address expressions slightly to handle an arbitrary sized - address. - - * gas/hppa/parse/*.s: Use .code instead of .SPACE/.SUBSPA for - sectioning. - * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64. - - * gas/hppa/basic/*.s: Use .code instead of .SPACE/.SUBSPA for - sectioning. - -1999-08-30 Alan Modra - - * gas/i386/naked.s, gas/i386/naked.d: Test-suite addition for - allow_naked_reg parsing. - * gas/i386/i386.exp: Call it. - -1999-08-29 Alan Modra - - * gas/i386/white.s, gas/i386/white.l: Add space in FP reg tests. - -1999-08-28 Jerry Quinn - - * gas/hppa/basic/basic.exp: Add new tests shift2.s, - shift3.s, extract2.s, extract3.s, deposit2.s, and deposit3.s. - * gas/hppa/basic/shift2.s, shift3.s, extract2.s, - extract3.s, deposit2.s, deposit3.s: New. - - * gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s: - Add new syntax versions of instructions to tests. - * gas/hppa/basic/add2.s,dcor2.s,perf.s,purge2.s,shladd2.s,sub2.s, - system2.s, unit2.s: New tests. - * hppa/basic/basic.exp: Add new tests. - - * gas/hppa/basic/basic.exp: - * gas/hppa/basic/media.s: Add test cases for new instructions. - - * gas/hppa/basic/basic.exp (do_branch2,do_media): New. - * gas/hppa/basic/branch2.s: New. - * gas/hppa/basic/media.s: New. - - * gas/hppa/basic/basic.exp (do_fp_comp2): New. - * gas/hppa/basic/fp_comp2.s: New. - -1999-08-20 Alan Modra - - * gas/i386/general.s, gas/i386/general.l: Add .code16gcc - displacement checks with auto address prefix. - -1999-08-17 H.J. Lu - - * gas/elf/elf.exp: Expected to fail on alpha*-*-*. - -1999-08-09 Ian Lance Taylor - - * gas/i386/float.s, gas/i386/float.l: Modify to work correctly - when gas uses 2**4 alignment for .text. - * gas/i386/general.s, gas/i386/general.l: Likewise. - * gas/i386/katmai.s, gas/i386/katmai.d: Likewise. - * gas/i386/modrm.s, gas/i386/modrm.l: Likewise. - * gas/i386/prefix.s, gas/i386/prefix.d: Likewise. - -1999-07-27 Alan Modra - - * gas/i386/reloc.d: Fix so that test passes when enable-targets - includes 64-bit bfd target. - -1999-06-13 Ian Lance Taylor - - * gas/i386/katmai.d: Tweak for recent disassembler changes. - -1999-06-12 Ian Lance Taylor - - * gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" or - "*-*-linux*oldld*". - * gas/vtable/vtable.exp: Likewise. - * gas/i386/reloc.d: Modify expected reloc names to accept a.out - names. - - * gas/i386/amd.s: Add a symbol so a.out tests will work. - * gas/i386/katmai.s: Likewise. - * gas/i386/amd.d: Corresponding change. - * gas/i386/katmai.d: Corresponding change. - -1999-06-10 Ian Lance Taylor - - * gas/mips/sync.d: Pass -mips2 to the assembler. - - * gas/mips/elf_e_flags.s: Tweak code so that the tests pass for - mips-elf target as well as mips64-elf target. - * gas/mips/elf_e_flags1.d: Corresponding changes. - * gas/mips/elf_e_flags2.d: Likewise. - * gas/mips/elf_e_flags3.d: Likewise. - * gas/mips/elf_e_flags4.d: Likewise. - - * gas/elf/elf.exp: Add setup_xfail for mips*-*-*. - - * gas/all/itbl-test.c (main): Update itbl_get_reg_val call for new - parameter. - -1999-06-10 Jakub Jelinek - - * gas/sparc/synth64.s: Add checks for single register signx/clruw. - * gas/sparc/set64.s: Add tests for setuw and setsw synthetic insns. - * gas/sparc/prefetch.d: Add -64 as switch. - * gas/sparc/rdpr.d: Ditto. - * gas/sparc/wrpr.d: Ditto. - * gas/sparc/synth64.d: Ditto, reflect synth64.s changes. - * gas/sparc/reloc64.d: Add -64 as switch, be more tolerant, as - current gas outputs %hi(0) and not %hi(0x0). - * gas/sparc/set64.d: Add -64 as switch, reflect set64.s changes and - optimizations for setx instruction. - * gas/sparc/sparc.exp: Do sparc64*-*-* checks if it is any of the - compiled-in targets. - -1999-06-10 Richard Henderson - - * gas/macros/irp.s: Use `foo' and `bar' instead of `r' and `s'. - * gas/macros/rept.s, gas/macros/test2.s, gas/macros/test3.s: Likewise. - * gas/macros/{irp,rept,test2,test3}.d: Update. - -1999-06-05 Richard Henderson - - * gas/elf/elf.exp: New directory. - * gas/elf/section0.[sd]: New test. - * gas/elf/section1.[sd]: New test. - -1999-06-03 Philip Blundell - - * gas/arm/arm7t.d, gas/arm/inst.d: Update to match current gas, - bfd and opcodes. - -1999-05-28 Ian Lance Taylor - - * gas/vtable/vtable.exp: Don't run test for i960 yet. - -1999-05-17 Nick Clifton - - * gas/mcore/allinsn.d: Updated to match latest objdump output. - -1999-05-12 Alan Modra - - * gas/i386/opcode.d: Modify callw to suit disasm fix. - - * gas/i386/amd.d: Modify a '(bad)' to SIMD instruction. - - * gas/i386/amd.s: Pad to multiple of 8 - * gas/i386/amd.d: Here too. - - * gas/i386/prefix.[sd]: Align with nops - * gas/i386/reloc.[sd]: Here too. - - * gas/i386/katmai.[sd]: New for PIII SIMD - * gas/i386/i386.exp: Call it. - -1999-05-02 Nick Clifton - - * gas/mcore/allinsn.d: Update to match latest assembler - operations. - -1999-04-16 DJ Delorie - - * gas/i386/amd.s: Add NOPs to align for coff targets - * gas/i386/amd.d: and check for them. - -1999-04-15 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/basic/basic.exp (do_coprmem): No longer expected to file. - -1999-04-14 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/basic/branch.s: Do not use immediate value where we - really want a register. - * gas/hppa/basic/coprmem.s: Likewise. - * gas/hppa/basic/fmemLRbug.s: Likewise. - * gas/hppa/basic/coprmem.s: Likewise. - * gas/hppa/basic/spop.s: Likewise. - * gas/hppa/basic/imem.s: Likewise. - * gas/hppa/parse/badfmpyadd.s: Likewise. - * gas/hppa/parse/calldatabug.s: Likewise. - * gas/hppa/parse/entrybug.s: Likewise. - * gas/hppa/parse/exprbug.s: Likewise. - * gas/hppa/parse/fixup7bug.s: Likewise. - * gas/hppa/parse/labelbug.s: Likewise. - * gas/hppa/reloc/applybug.s: Likewise. - * gas/hppa/reloc/funcrelocbug.s: Likewise. - * gas/hppa/reloc/labelopbug.s: Likewise. - * gas/hppa/reloc/longcall.s: Likewise. - * gas/hppa/reloc/plabelbug.s: Likewise. - * gas/hppa/reloc/reduce.s: Likewise. - * gas/hppa/reloc/reduce2.s: Likewise. - * gas/hppa/reloc/reduce3.s: Likewise. - * gas/hppa/unsorted/brlenbug.s: Likewise. - * gas/hppa/unsorted/importbug.s: Likewise. - * gas/hppa/unsorted/lasbeldiffs.s: Likewise. - - * gas/hppa/basic/basic.exp (do_imem): Handle multiple encodings - for loads and stores using reg + small d addresses. - No longer expect failure for mis-parse of imm %reg. - -1999-04-13 Doug Evans - - * gas/m32r/m32rx.d (cmpu__rach): Fix expected output. - * gas/m32r/m32rx.s (bc__add,add__bc): Explicitly specify short branch - so branch relaxation restrictions won't interfere with parallelization - attempts. - -1999-04-08 Nick Clifton - - * gas/mcore: New Directory. - * gas/mcore/allinsn.exp: New File: Expect file for MCore assembly - tests. - * gas/mcore/allinsn.s: New File: Source file for MCore assembly - tests. - * gas/mcore/allinsn.d: New File: Expected output file for MCore - assembly tests. - -1999-03-20 Doug Evans - - * gas/m32r/m32rx.[sd]: Fix a few more testcases. - -1999-03-16 Martin Hunt - - * gas/d30v/d30.exp (run_list_test): Add new tests, - label, guard-debug, serial, warn_oddreg, bittest, and mul. - - * gas/d30v/opt.s: Fix some warnings and add a few labels - to keep things from parallelizing where we don't want them to. - - * gas/d30v/reloc.s: Fix warning. - - * gas/d30v/opt.d, reloc.d, inst.d: Rebuild. - - * gas/d30v/label.s: New test. Check that labels are aligned - on 8-byte boundaries. - - * gas/d30v/guard-debug.s: New test. Test output with "-g". - - * gas/d30v/serial.s: New test. Check for warnings with - illegal serial instructions. - - * gas/d30v/warn_oddreg.s: New test. CHeck for warnings when - odd-numbered registers are used for some instructions. - - * gas/d30v/bittest.s: New test. Check for bit operation - instructions (BCLR, BNOT, BSET, BTST) in the IU. - - * gas/d30v/mul.s: New test. Check for restricted sequences - in a bunch of different multiply instructions. - - * gas/vtable/vtable.exp (run_list_test): Don't - run test on D30V. - -1999-03-05 Nick Clifton - - * gas/all/gas.exp: Expect strongarm-coff target to fail cofftag - test. - -1999-02-13 Jim Blandy - - * gas/mips/mips.exp: Run the new tests, below. - * gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d, - gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: New files. - * gas/mips/elf_e_flags.c, gas/mips/elf_e_flags.s: New files. - - * lib/gas-defs.exp (run_dump_test): Document. It's not - really trivial. - - * lib/gas-defs.exp (run_dump_test): Clean up logic for guessing - $program (the dump tool). - -1999-02-10 Doug Evans - - * gas/m32r/allinsn.d: Prefix all | with \. - (push,pop): Fix expected output. - * gas/m32r/relax-1.d: Emitted nops are serial, not parallel. - * gas/m32r/fslot.d: Prefix all | with \. - -1999-02-08 Nick Clifton - - * gas/vtable/inherit0.s: Do not use '@' prefix to .type operator. - Some ports use it as a comment initiator. - - * gas/vtable/entry1.d: Do not look for an addend. Some ports use - REL relocations and so do not have one. - -1998-12-18 Nick Clifton - - * gas/fr30/allinsn.s: Fix to match latest assembler syntax. - * gas/fr30/allinsn.d: Fix to match latest assembler output - -1998-12-03 Nick Clifton - - * gas/fr30/allinsn.d: Updated to match latest assembler output. - -1998-12-02 Nick Clifton - - * gas/fr30/allinsn.s: Replace illegal insns with legal versions. - - * gas/fr30/allinsn.d: Update to match latest assembler output. - -1998-11-19 Dave Brolley - - * gas/fr30/allinsn.s: Reorder insns for better simulation. - -1998-11-19 Doug Evans - - * gas/mips/sync.[sd]: New testcase. - * gas/mips/mips.exp: Run it. - -1998-11-18 Dave Brolley - - * gas/fr30/allinsn.s (dmov): Correct hex literals. - -1998-11-17 Nick Clifton - - * gas/fr30/allinsn.s: Moved currently un-assembliable instructions - to end of file. - - * gas/fr30/allinsn.d: Added disassembly of currently assembliable - opcodes. - -1998-11-16 Nick Clifton - - * gas/fr30/allinsn.s: Fix syntax errors. - -1998-11-16 Dave Brolley - - * gas/fr30/allinsn.s: Fixed more typos. - -1998-11-13 Nick Clifton - - * gas/fr30/allinsn.s: Fixed typos and added some tests of upper - case vs lower case. - -1998-11-10 Nick Clifton - - * gas/fr30/allinsn.s: New file. - * gas/fr30/allinsn.d: New file. - * gas/fr30/allinsn.exp: New file. - * gas/fr30/fr30.exp: New file. - -1998-11-02 Doug Evans - - * gas/m32r/fslot.[sd]: New testcase. - * gas/m32r/m32r.exp: Run it. - -1998-10-20 Alan Modra - - * gas/i386/i386.exp: Run AMD insn test. - * gas/i386/amd.s: New test. - * gas/i386/amd.d: New test results. - -1998-09-20 Andreas Schwab - - * gas/vtable/inherit1.l: Require only the word GAS somewere in the - first line of the listing. - -Tue Sep 1 10:20:03 1998 Richard Henderson - - * gas/ppc/astest.d: Adjust regexps to match a 64-bit host. - * gas/ppc/astest2.d: Likewise. - -Mon Aug 31 13:25:07 1998 Richard Henderson - - * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching - of whitespace for 64-bit hosts. - -Mon Aug 31 12:45:49 1998 Richard Henderson - - * gas/vtable/vtable.exp: New. - * gas/vtable/{entry0.s,entry0.d}: New. - * gas/vtable/{entry1.s,entry1.d}: New. - * gas/vtable/{inherit0.s,inherit0.d}: New. - * gas/vtable/{inherit1.s,inherit1.l}: New. - -Thu Aug 20 23:18:06 1998 Ian Lance Taylor - - * gas/i386/white.l: Revert patch of August 12. - -Wed Aug 12 11:54:37 1998 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/udf.s: New test. - * gas/mn10300/basic.exp: Run it. - -Wed Aug 12 13:25:38 1998 Alan Modra - - * gas/i386/general.l: Test andb $~0x80,foo. - * gas/i386/general.s: Update. - - * gas/i386/white.l: Expect warning for stand-alone ss prefix. - -Tue Jul 21 12:46:59 1998 Alan Modra - - * gas/i386/white.s: Add some more whitespace tests. - * gas/i386/white.l: Update accordingly. - -Mon Jul 13 18:15:11 1998 Alan Modra - - * gas/i386/*: All new i386 testsuite. - -1998-07-02 Ken Raeburn - - * lib/gas-defs.exp (gas_init): Complain if target name isn't in - canonical form. - -Wed Jul 1 15:35:09 1998 Nick Clifton - - * gas/all/gas.exp: Expect ARM and Thumb cofftag test to fail. - -Wed Jul 1 17:31:39 1998 Ian Lance Taylor - - * gas/ppc/simpshft.s: Add alignment so that it works on AIX. - * gas/ppc/simpshft.d: Change accordingly. Only dump the .text - section. - -Tue Jun 23 15:14:43 1998 Nick Clifton - - * gas/v850/hilo2.s: Use r1 as the destination of the movea - instruction, since r0 is read only. - - * gas/v850/basic.exp: Fix names of special area relocations. - Set -mwarn-signed-overflow flag when running range.s test. - -Sun Jun 21 12:44:43 1998 Nick Clifton - - * gas/d30v/reloc.d: Updated to match latest assembler output. - -1998-06-17 Frank Ch. Eigler - - * gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case - run on differently targeted assembler. - * gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto. - * gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same. - * gas/mips/{mips16.d,mips4.d,nodelay.d}: Again. - * gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some. - - * gas/mips/ld-ilocks.d: Removed disassembler flags to let target - defaults go unmodified. Replaced $f4/$f5 with $fp[45], as the - original `ld.d' had. Find `ld.s'. - * gas/mips/mul-ilocks.d: Nearly ditto. - -1998-06-11 Nick Clifton - - * gas/d30v/inst.d: Expect repeati instrucitons to be combined. - - * gas/d30v/inst.s: Add nop to keep assembled instructions at - expected addresses. - -1998-06-08 Nick Clifton - - * gas/d30v/array.d: Updated to match latest assembler results. - * gas/d30v/reloc.d: Partially updated to match latest assembler - results. - -1998-06-05 Andreas Schwab - - * gas/m68k/operands.s: For all pc relative addresses change tstl - to pea since the former does not allow pcrel on m68000. Do not - make label foo global, so that references to it can be relaxed on - ELF targets. - * gas/m68k/operands.d, gas/m68k/op68000.d: Updated. - -1998-06-02 Geoff Keating - - * gas/ppc/ppc.exp: Run simpshft test. - * gas/ppc/simpshft.d: New file. - * gas/ppc/simpshft.s: New file. - -1998-06-01 Jeffrey A Law (law@cygnus.com) - - * gas/mips/div-ilocks.d: Handle both "break" instruction variants. - * gas/mips/{div.d, mul-ilocks.d, mul.d}: Likewise. - -1998-05-29 Ian Lance Taylor - - * gas/mips/mips.exp: Adjust ilocks initialization to match current - assembler defaults more closely. - - * gas/sh/fp.s: Remove ftst/nan. The assembler no longer supports - the instruction. - * gas/sh/basic.exp: Adjust accordingly. - -Wed May 27 15:26:51 1998 Nick Clifton - - * gas/d30v/align.d: Updated to match latest assembler output. - * gas/d30v/inst.d: Updated to match latest assembler output. - * gas/d30v/inst.s: Updated to match latest assembler rules. - * gas/d30v/opt.d: Updated to match latest assembler output. - -Fri May 22 15:56:51 1998 Doug Evans - - * gas/m32r/allinsn.d: Handle 64 bit bfd_vma. - * gas/m32r/uppercase.d: Likewise. - -Thu May 21 15:03:06 1998 Nick Clifton - - * gas/arm/thumb.s: Add period to start of labels to prevent - assembler thinking that they are function entry points. - -Tue May 19 18:17:10 1998 Ian Lance Taylor - - * gas/mips/mips16.d: Correct to reflect bug fix to disassembler. - -Mon May 18 13:11:45 1998 Frank Ch. Eigler - - * gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match - disassembler. - -Fri May 15 14:51:01 1998 Gavin Koch - - * gas/mips/mips.exp: Distinguish chains with 32-bit addresses. - * gas/mips/ld-ilocks-addr32.d : New. - -Wed May 13 15:06:31 1998 Doug Evans - - * gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA. - -Thu May 7 13:05:25 1998 Frank Ch. Eigler - - * gas/mips/break20.[sd]: New tests for 20-bit operand break and - sddbp instructions. - * gas/mips/trap20.[sd]: New tests for 20-bit operand trap - instructions. - * gas/mips/mips.exp: Run them. - -Thu Apr 30 11:55:01 1998 Frank Ch. Eigler - - * gas/d30v/{inst,array,opt,reloc}.d: Accept labels - in disassembly, where the offset is in hex and has a "0x" prefix. - -Tue Apr 28 16:38:34 1998 Frank Ch. Eigler - - * gas/mips/lineno.[sd]: Assembly source line number test. - * gas/mips/mips.exp: Added lineno test. - -Wed Apr 8 18:45:17 1998 Jeffrey A Law (law@cygnus.com) - - * gas/testsuite/all/gas.exp: No longer expect failures for - difference of undefined symbols on mn10x00 targets. - -Mon Mar 23 10:47:33 1998 Frank Ch. Eigler - - * gas/all/align.s: Back out ".section text" change below; - use ".text" again. - * gas/macros/semi.s: Ditto. - -Fri Mar 20 18:51:49 1998 Frank Ch. Eigler - - * gas/all/align.s: Identify ".text" section explicitly. - * gas/macros/semi.s: Ditto. - - - -Mon Mar 2 13:30:40 1998 Doug Evans - - * gas/m32r/allinsn.[sd] (ldi8a,ldi16a): Delete. - (ldi16): Improve test. - (nop): Fix test. - -Thu Feb 12 20:12:39 1998 Ian Lance Taylor - - * gasp/macro.out: Adjust to reflect the fact that keyword - arguments are now permitted after positional arguments. - -Wed Feb 4 15:27:44 1998 Nick Clifton - - * gas/arm/arm7t.d: Update to match latest assembler output. - -Wed Feb 4 15:40:00 1998 Geoffrey Keating - - * gas/ppc/ppc.exp: New file. - * gas/ppc/astest.s, gas/ppc/astest.d: New test. - * gas/ppc/astest2.s, gas/ppc/astest2.d: New test. - -Sun Feb 1 21:43:54 1998 Jeffrey A Law (law@cygnus.com) - - * gas/mips/4010.s: Pad test code out to a 16byte boundary. - * gas/mips/4010.d: Corresponding changes. - * gas/mips/4100.s: Pad test code out to a 16byte boundary. - * gas/mips/4100.d: Corresponding changes. - * gas/mips/4650.s: Pad test code out to a 16byte boundary. - * gas/mips/4650.d: Corresponding changes. - -Fri Jan 30 14:09:13 1998 Ian Lance Taylor - - * gas/mri/moveml.d: Add test comments, fix regexps. - -Thu Jan 29 13:34:49 1998 Doug Evans - - * gas/m32r/{allinsn,high-1}.d: Allow # constant prefix to be missing. - -Thu Jan 29 09:43:50 1998 Richard Henderson - - * gas/m68k/mri_moveml.[sd]: Moved to ... - * gas/mri/moveml.[sd]: ... here. - * gas/mri/mri.exp: Run it. - -Tue Jan 27 21:55:44 1998 Jeffrey A Law (law@cygnus.com) - - * gas/mips/4010.s: Add 4010 tests. - * gas/mips/4010.d: Expected output. - * gas/mips/4100.s: Add 4010 tests. - * gas/mips/4100.d: Expected output. - * gas/mips/4650.s: Add 4010 tests. - * gas/mips/4650.d: Expected output. - * gas/mips/mips.exp: Run the new tests. - * gas/mips/*.d: Pass the right processor model to objdump. - Fix minor cases where expected output was wrong due to opcode - conflicts. - -Tue Jan 27 05:35:02 1998 Richard Henderson - - * gas/m68k/mri_moveml.[sd]: New testcase. - -Thu Jan 22 17:29:07 1998 Nick Clifton - - * gas/m32r/high-1.d: Add hash prefix to constants. - - * gas/m32r/allinsn.s: Add hash prefix to some constants. - * gas/m32r/allinsn.d: Add hash prefix to constants. - -Wed Jan 21 21:24:08 1998 Manfred Hollstein - - * gas/m88k/init.d: Fix hexadecimal offsets. - -Wed Jan 14 17:49:22 1998 Nick Clifton - - * gas/m32r/uppercase.d: Fix white space matching. - * gas/m32r/relax-1.d: Fix white space matching. - -Wed Jan 14 15:44:32 1998 Jeffrey A Law (law@cygnus.com) - - * gas/mips/div.d: Update for recent assembler changes. - * gas/mips/div-ilocks.d: Likewise. - -Wed Jan 14 11:13:06 1998 Doug Evans - - * gas/m32r/allinsn.d (cmpui): Update output to new format. - -Thu Dec 18 11:10:42 1997 Nick Clifton - - * gas/arm/inst.d: Updated to match latest disassembler changes. - - * gas/arm/arm7t.d: Updated to match latest disassembler changes. - -Tue Dec 16 22:19:25 1997 Ken Raeburn - - * gas/mips/lb-xgot.d, gas/mips/rol.d, gas/mips/jal-svr4pic.d, - gas/mips/jal-xgot.d: Add assembler option to select a specific - target chip, the R3000. - * gas/mips/lb-xgot-ilocks.d: New test, specifically selecting - R3900. - * gas/mips/mips.exp: Run it. - - * gas/ieee-fp/x930509a.exp: Don't run IEEE FP tests for Vax - targets. - -Wed Oct 15 10:40:14 1997 Jeffrey A Law (law@cygnus.com) - - * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA. - - * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler - changes. - -1997-10-09 Doug Evans - - * gas/sparc/set64.[sd]: `set' doesn't take negative arguments. - -1997-10-09 Ian Lance Taylor - - * gas/arm/arm7t.d: Update for recent disassembler changes. - * gas/h8300/ffxx1.d: Likewise. - -1997-10-08 Doug Evans - - * gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox. - -1997-10-08 Ian Lance Taylor - - * gas/sparc/synth.d: Update for recent disassembler changes. - * gas/sparc/synth64.d: Likewise. - - * gas/mips/beq.s: Add .text to .globl to mark the symbol to as a - function symbol. - * gas/mips/jal.s: Likewise. - -1997-10-07 Doug Evans - - * gas/sparc/reloc64.[sd]: New testcase. - * gas/sparc/sparc.exp: Run it. - -1997-10-04 Ian Lance Taylor - - * gas/ieee-fp/x930509a.exp: Accept m68k listing format. - -1997-10-03 Ian Lance Taylor - - * gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now - work. Correct for big endian and for tabs in input file. - - * gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*. - * gas/alpha/fp.s: Change comment characters from ! to #. - -1997-09-18 Doug Evans - - * gas/sparc/splet.d: Update to new objdump output format. - * gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise. - * gas/sparc/set64.[ds]: New testcase. - * gas/sparc/splet-2.[ds]: New testcase. - * gas/sparc/sparc.exp: Run them. - -1997-08-16 Ken Raeburn - - Merge changes from Martin Hunt: - - * gas/d30v/inst.s: Add some new tests. - - * gas/d30v/{inst, opt, reloc}.d: Update results with - new disassembler changes. - - * gas/d30v/inst.[sd]: Update examples for d*i instructions. - - * gas/d30v/*.d: Update all test results because - of new ".s" and ".l" extensions. - - * gas/d30v/inst.[sd]: Correct entry for mulx2h. - * gas/d30v/opt.[sd]: Correct st2w instruction. - - * gas/d30v/align.d: Change expected output. - - * gas/d30v/reloc.[sd]: Add test case. - - * gas/d30v/array.[sd]: New test case. - - * gas/d30v/opt.[sd]: Added more test cases. - - * gas/d30v/opt.s: Add test cases. - * gas/d30v/reloc.s: Fix a test case. - * gas/d30v/{opt,reloc}.d: Regenerate. - -Mon Sep 8 14:21:23 1997 Doug Evans - - * gas/m32r/high-1.[ds]: New testcase. - * gas/m32r/m32r.exp: Run it. - -Mon Aug 25 11:04:24 1997 Doug Evans - - * gas/m32r/relax-1.[ds]: New testcase. - * gas/m32r/m32r.exp: Run it. - -Thu Aug 14 23:49:49 1997 Doug Evans - - * gas/arc: New directory - * gas/arc/{arc.exp,alias.[sd],branch.[sd],flag.[sd],insn3.[sd],j.[sd], - ld.[sd],math.[sd],sshift.[sd],st.[sd],warn.{exp,s}}: New files. - -Wed Aug 6 00:33:30 1997 Ian Lance Taylor - - * config/default.exp: Set AS and GASP to as-new, not as.new. - -Tue Aug 5 12:33:23 1997 Ian Lance Taylor - - * config/default.exp: Set NM to nm-new, not nm.new, to match - recent change in binutils build directory. - -Thu Jul 31 15:21:51 1997 Jeffrey A Law (law@cygnus.com) - - * gas/v850/range.s: New test. - * gas/v850/basic.exp: Run it. - -Tue Jul 29 14:35:02 1997 Jeffrey A Law (law@cygnus.com) - - * gas/v850/hilo2.s: New test. - * gas/v850/fepsw.s: New test. - * gas/v850/basic.exp: Run them. - -Tue Jul 15 13:03:17 1997 Doug Evans - - * gas/m32r/uppercase.[sd]: New testcase. - * gas/m32r/m32r.exp: New file. - -Mon Jun 16 14:32:11 1997 Ian Lance Taylor - - * gas/m68k/pcrel.d: Update for m68k disassembler changes. - * gas/m68k/operands.d: Likewise. - -Mon Jun 2 16:50:03 1997 Nick Clifton - - * gas/arm/arm.exp: Added changes from armT-970328-branch. - -Mon Jun 2 12:09:02 1997 Gavin Koch - - * gas/mips/mips.exp: The r3900 has interlocks for mul, but - not div. - -Mon Jun 2 12:03:32 1997 Gavin Koch - - * gas/mips/mul.{d,s}: End the tests with no-ops. - -Mon Jun 2 11:48:58 1997 Gavin Koch - - * lib/gas-defs.exp (regexp_diff): Improve messages when one - file is shorter than the other. - -Wed May 7 16:18:30 1997 Manfred Hollstein - - * gas/m88k/init.{s,d}: New checks for proper padding of - .init sections. - * gas/m88k/m88.exp: Run them. - - * gas/m68k/t2.d: New file for check of presence of section - symbols on the m68k-motorola-sysv. - * gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv]. - -Wed May 7 16:12:24 1997 Ian Lance Taylor - - * gas/all/gas.exp: Don't run cofftag test for m88k-coff. - - * gas/mips/lifloat.s: Update for recent changes to floating point - handling. - * gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise. - * gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise. - - * gas/mips/mips.exp: Handle Irix 6 like Irix 5. - -Sat Apr 19 23:16:35 1997 Niklas Hallqvist - - * gas/mips/mips.exp: Handle OpenBSD like NetBSD. - -Wed Apr 16 12:20:24 1997 Martin Hunt - - * gas/d30v/d30.exp: Add optimizer test case. - * gas/d30v/opt.s: Add conditional compilation tests. - * gas/d30v/opt.d: Rebuild. - -Tue Apr 15 18:10:01 1997 Gavin Koch - - * gas/mips/{delay.d,nodelay.d}: added. - -Mon Apr 7 12:57:45 1997 Doug Evans - - * gas/m32r/allinsn.d: Update to new objdump output style. - -Fri Apr 4 13:19:39 1997 Ian Lance Taylor - - * gas/all/float.s: Put a tab before .text, to keep the PA happy. - - * gas/arm/arm.exp: Only run inst and arm7t on targets which can - handle -EL. Add setup_xfail for thumb. - - * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits. - -Thu Apr 3 18:26:56 1997 Doug Evans - - * gas/m32r/allinsn.{exp,s.d}: New testcases. - -Thu Mar 27 00:42:28 1997 Martin M. Hunt - - * gas/d30v/d30.exp: Add test case reloc. - * gas/d30v/reloc.[sd]: New files to test relocations. - -Sat Mar 15 17:21:46 1997 Ian Lance Taylor - - * gas/arm/inst.d: Update for disassembler changes. - * gas/arm/arm7t.d: Likewise. - -Tue Mar 11 13:31:56 1997 Andreas Schwab - - * gas/m68k/op68000.d: Update for recent assembler bug fix. - -Wed Mar 5 13:01:24 1997 Jeffrey A Law (law@cygnus.com) - - * gas/all/gas.exp: xfail a couple tests for the mn10300. - -Mon Mar 3 11:41:00 1997 Fred Fish - - * gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d, - relocs2.d, relocs2b.d}: Adjust to objdump format tweaks. - -Thu Feb 27 15:21:46 1997 Fred Fish - - * gas/tic80/{align.d, align.lst, align.s} New test for the - ".align" pseudop. - * gas/tic80/tic80.exp: Run the align test. - -Wed Feb 26 20:36:46 1997 Fred Fish - - * gas/tic80/{float.d, float.lst, float.s}: New tests for - simple floating point operands. - * gas/tic80/tic80.exp: Run the float test. - -Wed Feb 26 15:16:04 1997 Fred Fish - - * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d, - regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}: - New tests for :m and :s operand modifiers. - * gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests. - -Tue Feb 25 13:45:55 1997 Ian Lance Taylor - - * gas/macros/semi.s: Force the final alignment to use a fill value - of 0. - - * gas/all/cond.s, gas/all/cond.d: New test. - * gas/all/gas.exp: Run it. - -Mon Feb 24 10:52:12 1997 Bob Manson - - * lib/gas-defs.exp(gas_init): Added new parameter for script - name. - -Mon Feb 24 10:40:28 1997 Fred Fish - - * gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d, - regops.d, relocs1.d, - (relocs1.c): Add file for reference. - (relocs1b.d): Split reloc table contents test to different test file. - (relocs2.c): Add test that uses various types (char, short, int, ...) of - static and global variables with data shuffling to generate lots of ld/st - instructions for the different types. - (relocs2.d): New file, expected code for relocs2 test. - (relocs2.lst): New file, TI assembler listing for reference. - (relocs2.s): New file, assembly source for relocs2 test. - (relocs2b.d): New file, expected reloc table contents for relocs2 test. - (tic80.exp): Run the relocs1b, relocs2, and relocs2b tests. - -Sun Feb 23 17:54:00 1997 Dawn Perchik - - * gas/all/itbl-test.c(main): Update function calls. - Remove parameters from itbl_get_reg_val and - change itbl_get_insn_name to itbl_get_field. - -Sun Feb 23 17:22:00 1997 Dawn Perchik - - * gas/mips/itbl: Add comments. - * gas/mips/itbl.s: Add comments. Prefix register names with $. - * gas/all/itbl: Generic table for testing for itbl support. - * gas/all/itbl.s: Generic assembly for testing for itbl support. - * gas/mips/itbl-test.c: Moved to gas/all. - * gas/all/itbl-test.c: Moved from gas/mips. - -Sat Feb 22 20:24:23 1997 Fred Fish - - * gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst, - endmask.lst, regops.lst}: Remove ^M's from end of lines. - * gas/tic80/bitnum.s: Add comment to each line showing value - that symbolic BITNUM assembles to. Add coverage for raw - numeric values for the BITNUM operand. - * gas/tic80/bitnum.d: Update due to bitnum.s changes. - * gas/tic80/regops.d: Update due to opcode library additions - of floating point test BITNUM values that are ambiguous with - the integral ones. - * gas/tic80/relocs1.s: New test case that tests simple relocs. - * gas/tic80/relocs1.d: Expected output for above. - * gas/tic80/relocs1.lst: TI assembler listing for above. - * gas/tic80/tic80.exp: Add relocs1 test. - -Fri Feb 21 14:23:14 1997 Martin M. Hunt - - * gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s, - inst.d, inst.s, opt.d, opt.s}: Test files for D30V. - -Wed Feb 19 00:55:29 1997 Ian Lance Taylor - - * gas/macros/semi.s, gas/macros/semi.d: New test. - * gas/macros/macros.exp: Run it. - * gas/mri/semi.s, gas/mri/semi.d: New test. - * gas/mri/mri.exp: Run it. - -Tue Feb 18 13:37:06 1997 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected - output. - -Fri Feb 14 17:56:27 1997 Ian Lance Taylor - - * gas/all/align.d, gas/all/align.s: New test. - * gas/all/gas.exp: Run it. - -Thu Feb 13 14:44:05 1997 Ian Lance Taylor - - * gas/mips/mips16.d: Correct PC relative instruction bytes. - -Wed Feb 12 12:33:08 1997 Ian Lance Taylor - - * gas/mips/lif-svr4pic.d: Pass -EB when running the assembler. - * gas/mips/lif-xgot.d: Likewise. - * gas/mips/ulh-svr4pic.d: Likewise. - * gas/mips/ulh-xgot.d: Likewise. - - * gas/mips/mips16.d: Update for yet another change in disassembly - output (this one is spacing only). - -Tue Feb 11 14:45:39 1997 Fred Fish - - * gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s, - ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s, - endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s, - tic80.exp}: New files for TIc80 test cases. - -Tue Feb 11 15:46:27 1997 Ian Lance Taylor - - * gas/mips/mips16.d: Update for change in disassembly output. - -Mon Feb 10 22:24:00 1997 Dawn Perchik - - * gas/mips/itbl-test.c: Add copyright message and fix indentation. - -Mon Feb 10 17:54:00 1997 Dawn Perchik - - * gas/mips/itbl-test.c: New file. Stand-alone assembler and - dissassembler for itbl support. - -Mon Feb 10 17:20:00 1997 Dawn Perchik - - * gas/mips/itbl: New file. Instruction Spec for testing --itbl - option. - * gas/mips/itbl.s: New file. Assembly with ne2w instructions - specified in itbl. - -Fri Feb 7 16:42:53 1997 Bob Manson - - * gasp/gasp.exp: Use prune_warnings instead of prune_system_crud. - * lib/gas-defs.exp: Ditto. - -Mon Feb 3 15:46:05 1997 Ian Lance Taylor - - * gas/arm/inst.d, gas/arm/arm7t.d: Pass --prefix-addresses to - objdump. Update for current relocation printing style. - -Thu Jan 30 11:57:33 1997 Ian Lance Taylor - - * gas/mips/mips16.d: Update for disassembler changes. - -Thu Jan 23 03:15:06 1997 Angela Marie Thomas (angela@cygnus.com) - - * gas/mips/mips.exp: set ilocks for all 4100/4300 - -Thu Jan 2 16:49:17 1997 Ian Lance Taylor - - * gas/mips/mips16.s, gas/mips/mips16.d: New test. - * gas/mips/mips.exp: Run mips16 test. - - * gas/mips/mips.exp: Run dli test unconditionally. - * gas/mips/dli.s: Add text symbol. Add nops to round to 16 byte - boundary. - * gas/mips/dli.d: Corresponding changes. - -Tue Dec 31 13:03:16 1996 Ian Lance Taylor - - * gas/sparc/synth.d: Use --prefix-addresses for objdump. - * gas/sparc/synth64.d: Likewise. - -Tue Dec 24 16:30:58 1996 Angela Marie Thomas (angela@cygnus.com) - - * gas/mips/*-ilocks.d: Fix regexps to resemble disassembled output. - -Fri Dec 13 13:05:33 1996 Ian Lance Taylor - - * gas/mips/*.[sd]: Add explicit nops, sometimes controlled by - .ifdef, to accomodate change to avoid default alignment on - embedded systems. - -Wed Dec 11 09:26:01 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10200/basic.exp (do_movb): Fix bit pattern for - "movb dm,(an)". - -Tue Dec 10 13:01:05 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Update after endianness changes to - the assembler. - - * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests. - * gas/mn10200/{movb.s, movbu.s}: Likewise. - * gas/mn10200/basic.exp: Run them. - -Mon Dec 9 17:08:38 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10200/*.s: New tests for the mn10200 assembler. - * gas/mn10200/basic.exp: Run them. - -Fri Dec 6 15:35:04 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/*.s: Remove '$' register prefixing. - -Mon Nov 25 16:35:33 1996 Doug Evans - - * gas/sparc-solaris/addend.exp: Fix patterns, you can't assume - \r will be present. - -Mon Nov 25 13:45:02 1996 Ian Lance Taylor - - * gas/m68k/*.d: Update for disassembler changes. - * gas/mri/*.d: Likewise. - -Mon Nov 25 11:38:37 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/*.s: Use '$' as register prefix for - all register operands. - -Thu Nov 21 11:52:54 1996 Jeffrey A Law (law@cygnus.com) - - * gas/all/gas.exp: xfail a couple tests for the mn10300. - -Wed Nov 20 11:31:41 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/other.s: Update for correct syntax on a - few instructions (those with register lists). - * gas/mn10300/basic.exp: Corresponding changes. - -Tue Nov 19 13:36:57 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/movm.s: Update for correct syntax. - * gas/mn10300/basic.exp: Update expected movm bit patterns. - -Fri Nov 15 13:57:42 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/other.s: Put parens around register - argument in calls and jmp instructions. - -Wed Nov 13 13:16:04 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/ffxx1.d: Update for recent disassembler changes. - -Mon Nov 11 16:03:24 1996 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/reloc/reloc.exp: Pass "--prefix-addresses" to objdump - as needed. - * gas/hppa/unsorted/unsorted.exp: Likewise. - -Thu Nov 7 00:27:52 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Check opcode insertion for - extended instructions. - * gas/mn10300/extend.s: Tweak constants for better - testsuite coverage. - -Wed Nov 6 13:50:07 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Test insertion of operands - into call and jmp instructions with 32bit offsets. - Fix typo in bit test patterns. - * gas/mn10300/other.s: Tweak constants to improve - testsuite coverage. - - * gas/mn10300/basic.exp: Test insertion of 32bit operand - in calls, btst, bclr & bset instructions. - - * gas/mn10300/*.s: Tweak constants in 32bit insns for - better testing coverage. - * gas/mn10300/basic.exp: Test insertion of most 32bit - operands. - -Tue Nov 5 13:33:12 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Check bit patterns for indexed mov, - movbu, movhu instructions. Check bit patterns for more bit - operations. Check bit patterns for various 16bit call, retf - and ret instructions. - * gas/mn10300/other.s: Update operands for better test coverage. - -Mon Nov 4 12:55:11 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Check bit patterns for a couple more - mov and cmp instructions. - -Tue Oct 29 17:05:43 1996 Ian Lance Taylor - - * gas/mips/*.d: Update for disassembler changes. - -Wed Oct 16 22:39:50 1996 Jeffrey A Law (law@cygnus.com) - - * gas/v850/reloc.s: New tests. - * gas/v850/basic.exp: Run them. - -Mon Oct 14 13:52:55 1996 Ian Lance Taylor - - * gas/mips: Add symbols to several testsuites, since the ELF - assembler now always builds a symbol table, which means that - objdump will no longer report `No symbols in FILE'. Change the - expected output accordingly. - -Thu Oct 10 13:11:48 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/basic.exp: Check bit patterns for instructions - with a single 8bit or 16bit immediate operand. - - * gas/mn10300/basic.exp: Check bit patterns for many - instructions. Add missing test in do_mov1. - * gas/mn10300/mov1.s: Add missing test. - -Wed Oct 9 14:15:18 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests. - * gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise. - * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise. - * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise. - * gas/mn10300/{shift.s, sub.s}: Likewise. - * gas/mn10300/basic.exp: Run them. - -Thu Oct 3 09:57:03 1996 Jeffrey A Law (law@cygnus.com) - - * gas/mn10200, gas/mn10300: New directories for Matsushita - mn10200 and mn10300 tests. - -Tue Oct 1 15:38:28 1996 Ian Lance Taylor - - * lib/gas-defs.exp (gas_version): Fix for current version - printing. - -Sun Sep 29 07:55:58 1996 Doug Evans - - * gas/sparc/splet.d: Fix typo in cpusha result. - -Mon Sep 23 12:33:31 1996 Ian Lance Taylor - - * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: Add tests for fmovemx. - -Wed Sep 18 12:14:06 1996 Ian Lance Taylor - - * gas/all/cofftag.s: Use .p2align rather than .align. - -Fri Sep 13 15:28:04 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/macs.s: Add "stmac" instructions. - * gas/h8300/basic.exp: Test them. - -Thu Sep 12 10:28:44 1996 James G. Smith - - * gas/arm/thumb.s (back): Check assembly of Thumb BL. - -Mon Sep 9 14:37:00 1996 Ian Lance Taylor - - * gas/mips/mips4.s, gas/mips/mips4.d: Use $fccN for condition code - registers. - -Fri Sep 6 18:23:54 1996 James G. Smith - - * gas/mips/dli.{s,d}: More test cases added. - -Wed Sep 4 11:47:29 1996 James G. Smith - - * gas/mips/mips.exp: Add check for dli macro instruction. - * gas/mips/dli.{s,d}: Added. - -Sat Aug 31 01:25:03 1996 Jeffrey A Law (law@cygnus.com) - - * gas/v850/basic.exp (do_mem): Check bit patterns for short - load/store instructions. Remove xfails for short load/store - instructions. - * gas/v850/mem.s: Offsets for short load/store operands - are unsigned. - - * gas/v850/basic.exp (do_branch): Check offsets in branch insns. - (do_jumps): Likewise. - -Fri Aug 30 00:37:55 1996 Jeffrey A Law (law@cygnus.com) - - * gas/v850/misc.s: Tweak register numbers for better testing. - * gas/v850/basic.exp (do_misc): Corresponding changes. - - * gas/v850/hilo.s: New testfile. - * gas/v850/basic.exp: Run hilo tests. - -Thu Aug 29 11:32:23 1996 James G. Smith - - * gas/arm/arm7t.d: Explicitly force little-endian assembly. - -Fri Aug 23 11:02:55 1996 Jeffrey A Law (law@cygnus.com) - - * gas/v850/basic.exp (do_move): Test instruction bit patterns. - * gas/v850/move.s: Tweak constants for better testing. - - * gas/v850/basic.exp (do_mem): Test instruction bit patterns. - xfail sst and sld tests. - (do_mov): Remove bogus xfail. - * gas/v850/mem.s: sst and sld instructions can only index from - "ep" register. - - * gas/v850/basic.exp (do_logical): Test instruction bit patterns. - Update addresses. - * gas/v850/logical.s: Tweak constants for better testing. - - * gas/v850/basic.exp (do_jump): Test instruction bit patterns, - but not displacements (yet). - - * gas/v850/basic.exp (do_compare): Test instruction bit patterns. - - * gas/v850/basic.exp (do_branch): Test instruction bit patterns, - but not displacements (yet). - - * gas/v850/basic.exp (do_bit): Test instruction bit patterns. - - * gas/v850/basic.exp (do_arith): Test instruction bit patterns. - * gas/v850/arith.s: Tweak constants for better testing. - - * gas/v850/basic.exp (do_misc): No longer expect failures - assembling "ldsr" and "stsr" opcodes. - * gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr" - opcodes. - - * gas/v850/basic.exp (do_misc): No longer expect failures - assembling "trap" opcodes. - * gas/v850/misc.s: Re-enable assembling of "trap" opcodes. - - * gas/v850: New directory with v850 tests. - -Fri Aug 16 00:19:10 1996 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/basic/purge.s: Use "%sr4" on pitlb, pitlbe - fic and fice instructions to test 3bit space identifiers. - * gas/hppa/basic/system.s: Similarly for iitlba and - iitlbp. - * gas/hppa/basic/basic.exp: Corresponding changes. - -Thu Aug 15 16:25:05 1996 James G. Smith - - * gas/arm/arm.exp: Change inst.s test to check objdump. - * gas/arm/inst.d: Added. - -Thu Aug 15 16:06:02 1996 James G. Smith - - * gas/arm/thumb.s: Added. - * gas/arm/immed.s: Added. - * gas/arm/arch4t.s: Added. - * gas/arm/arm.exp: Updated to run the new tests. - -Tue Aug 6 11:06:29 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/misch.s: Reenable "eepmov.w" test. - * gas/h8300/miscs.s: Likewise. - * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w" - on the H8/300H and H8/S. Don't expect it to fail. - -Wed Jul 31 10:57:44 1996 Doug Evans - - * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE. - -Wed Jul 31 15:55:12 1996 James G. Smith - - * gas/arm/arm7t.s: Added. - * gas/arm/arm7t.d: Added. - * gas/arm/arm.exp: Updated to run the new test. - -Mon Jul 8 14:27:39 1996 Ian Lance Taylor - - * gas/m68k/pcrel.d: Rename from schwab.d. - * gas/m68k/pcrel.s: Rename from schwab.s. - -Mon Jul 8 14:23:26 1996 Andreas Schwab - - * gas/m68k/schwab.d: Correct for ELF format. - * gas/m68k/all.exp: Run "schwab" test for all targets. - -Thu Jul 4 14:23:36 1996 Ian Lance Taylor - - Avoid DOS file naming problems: - * gas/h8300/branch.s: Rename from branches.s. - * gas/h8300/branchh.s: Rename from branchesh.s. - * gas/h8300/branchs.s: Rename from branchess.s. - * gas/h8300/rotsh.s: Rename from rotshift.s. - * gas/h8300/rotshh.s: Rename from rotshifth.s. - * gas/h8300/rotshs.s: Rename from rotshifts.s. - * gas/h8300/h8300.exp: Corresponding changes. - -Thu Jul 4 14:01:46 1996 James G. Smith - - * gas/mips/mips.exp: Add new tests for processors with interlocks - on div and mul. - * gas/mips/div-ilocks.d: Added. - * gas/mips/mul-ilocks.d: Added. - -Wed Jul 3 14:20:04 1996 Ian Lance Taylor - - * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests - which now pass. - * gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64 - bit host. - -Sat Jun 29 18:21:51 1996 Ian Lance Taylor - - * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a - test. - * gas/vax/quad.exp: Expect a nop after the movq. - -Tue Jun 18 12:39:49 1996 Jeffrey A. Law - - * gas/h8300/cbranchh.s: Switch into h8300h mode. - * gas/h8300/h8300.exp (H8/300H misc tests): Fix test names. - - * gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the - H8/S. - * gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise. - * gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise. - * gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise. - * gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise. - * gas/h8300/{rotshifts.s,extends.s}: Likewise. - * gas/h8300/h8300.exp: Run them. - -Mon Jun 10 14:14:40 1996 Ian Lance Taylor - - * gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag - with the same name as a global variable. - * gas/all/gas.exp: Run cofftag test for any COFF target. - -Thu Jun 6 12:30:05 1996 Ian Lance Taylor - - * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s - test. - -Fri May 31 10:11:13 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/h8300.exp: Fix add.l test for H8/300H. - -Wed May 29 16:35:43 1996 Ian Lance Taylor - - * gas/mips/jal-xgot.d: Correct for 64 bit output. - -Thu Apr 25 19:31:59 1996 Doug Evans - - * gas/sparc/sparc.exp: Only run sparclet tests if sparclet. - -Wed Apr 24 17:06:18 1996 Ian Lance Taylor - - * gas/m68k/op68000.d: Add statements now caught by gas. - -Mon Apr 22 16:45:12 1996 Doug Evans - - * gas/sparc/splet.[ds]: New tests for sparclet extensions. - * gas/sparc/sparc.exp: Run them. - -Mon Apr 15 17:25:18 1996 Ian Lance Taylor - - * gas/mips/la.d: Updated for April 5 MIPS assembler changes. - * gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise. - * gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise. - * gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise. - -Wed Apr 10 14:27:51 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/mov32bug.s: New test. - * gas/h8300/h8300.exp: Run it. - -Fri Apr 5 10:13:28 1996 Jeffrey A Law (law@cygnus.com) - - * gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests. - * gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests. - * gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests. - * gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests. - * gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests. - * gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests. - * gas/h8300/h8300.exp: Run them. - - * gas/h8300/{movb.s,movw.s}: Correct predecrement syntax. - - * gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests. - - * gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests. - * gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests. - * gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests. - * gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests. - * gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests. - * gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests. - * gas/h8300/h8300.exp: Run them. - -Fri Mar 15 17:16:24 1996 Ian Lance Taylor - - * gas/sparc/synth.d: Don't require sparc in the file format, since - it won't be there on SunOS. - -Thu Mar 7 14:51:23 1996 Doug Evans - - * gas/sparc/synth.[ds]: New testcase. - * gas/sparc/sparc.exp: Run it. - -Fri Mar 1 12:01:48 1996 Jeffrey A Law (law@cygnus.com) - - * gas/all/gas.exp: xfail difference of two undefined symbols - and difference of forward references for the h8300. - -Thu Feb 22 16:40:31 1996 Ian Lance Taylor - - * gas/mips/lb-xgot.d: Correct. - -Mon Feb 19 02:43:36 1996 Doug Evans - - * gas/sparc/{asi,membar,prefetch,rdpr,synth64,wrpr}.d: Pass -Av9 - to gas. - * gas/sparc/addend.exp: Execute for any sparc cpu. - * gas/sparc/{mismatch.exp,mism-1.s}: New test. - -Wed Feb 14 13:49:59 1996 Ian Lance Taylor - - * gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests. - * gas/mips/lb-xgot.d, gas/mips/ld-xgot.d: New tests. - * gas/mips/lif-xgot.d, gas/mips/ulh-xgot.d: New tests. - * gas/mips/mips.exp: Run new tests if svr4pic. - -Sat Jan 27 13:27:45 1996 Doug Evans - - * lib/gas-dg.exp (gas-dg-test): Delete default_flags and libs args. - -Fri Jan 26 14:24:01 1996 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/unsorted/unsorted.exp: Update for objdump changes. - -Wed Jan 10 12:40:31 1996 Ian Lance Taylor - - * gas/mips/*.d: Update for changes to disassembler. - -Wed Jan 3 22:59:53 1996 Ian Lance Taylor - - * gas/mips/ulh-svr4pic.d: Update for tc-mips.c load_address - change. - -Fri Nov 17 10:32:25 1995 Ian Lance Taylor - - * gas/mri/immconst.d: New test. - * gas/mri/mri.exp: Run it. - * gas/mri/constants.s: Test immediate constants. - * gas/mri/constants.d: Corresponding change. - - * gas/m68k/link.s: Add nop to pad to eight byte boundary. - * gas/m68k/link.d: Corresponding change. - -Sun Nov 12 21:28:11 1995 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/unsorted/brlenbug.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - -Sun Nov 5 12:49:27 1995 Ian Lance Taylor - - * gas/mips/beq.s: Declare text_label global. - * gas/mips/jal.s: Likewise. - -Fri Nov 3 12:35:07 1995 Ian Lance Taylor - - * gas/m68k/link.s: Use "&" instead of "#" for immediate values. - - * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test. - * gas/m68k/all.exp: Run it. - -Thu Nov 2 23:11:05 1995 Ian Lance Taylor - - * gas/m68k/link.s, gas/m68k/link.d: New test. - * gas/m68k/all.exp: Run it. - -Tue Oct 24 10:57:20 1995 Jeffrey A Law (law@cygnus.com) - - * gas/hppa/basic/basic.exp: Test lci and syncdma instructions. - * gas/hppa/basic/system.s: Corresponding changes. - -Fri Oct 6 17:13:35 1995 Ken Raeburn - - * gas/m68k/operands.d: Don't require a fixed number of leading - zeros in any number. - - * gas/m68k/operands.s, gas/m68k/bitfield.s: Use "&" instead of "#" - for immediate values. - -Fri Oct 6 10:54:13 1995 Doug Evans - - * gas/arm/arm.exp: Renamed from gas.exp. - * gas/arm/le-fpconst.[sd]: New testcase. - -Fri Sep 29 15:12:10 1995 Ian Lance Taylor - - * gas/mri/mri.exp: Only run tests for m68k target. - -Mon Sep 25 12:31:46 1995 Ian Lance Taylor - - * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constants - test. - -Thu Sep 21 01:26:08 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/sh/fp.s (fmac): Update for new assembly syntax. - -Mon Sep 18 14:04:34 1995 Ian Lance Taylor - - * lib/gas-defs.exp (gas_run): Call prune_system_crud. - (run_dump_test, objdump): Likewise. - -Thu Sep 14 13:10:10 1995 Doug Evans - - * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests. - * gas/sparc/sparc.exp: Run them. - -Wed Sep 13 16:35:51 1995 Ian Lance Taylor - - * Makefile.in, configure.in: Remove; the testsuite is now run - directly from the gas Makefile. - -Mon Sep 11 11:44:23 1995 Ian Lance Taylor - - * gas/mri/empty.s: New file. - * gas/mri/mri.exp: Test assembling empty.s. - * gas/mri/comment.s: Add a couple more comment variants. - - * gas/mri/mri.exp: Add xfail for the expr test for all hppa - targets. - -Wed Sep 6 21:39:23 1995 Ian Lance Taylor - - * gas/mri/comment.s, gas/mri/comment.d: New test. - * gas/mri/mri.exp: Run it. - * gas/mri/expr.s: Remove whitespace in operand field. - * gas/mri/for.s: Add comments for further testing. - * gas/macros/test2.s: Put in an upper case ELSE to test case - insensitivity. - -Wed Aug 30 16:12:03 1995 Doug Evans - - * gas/sparc/{prefetch.[ds],synth64.[ds]}: New tests. - -Tue Aug 29 18:59:33 1995 Doug Evans - - * gas/sparc/sparc.exp: New file. - * gas/sparc/{asi.[ds],membar.[ds]}: New tests. - -Mon Aug 21 14:39:29 1995 Ian Lance Taylor - - * gas/macros/*: New tests for macros. - - * gas/mri/common.s: Use data, not .data. - - * gasp/pl3.out: Update for changes in commented source output when - LOCAL is used. - -Sat Aug 19 17:36:17 1995 Ian Lance Taylor - - * gasp/gasp.exp (gasp_test): Call prune_system_crud on the output - of diff. - * lib/gas-defs.exp: Define prune_system_crud if it is not already - defined. - -Fri Aug 18 11:09:38 1995 Ian Lance Taylor - - * gasp/mri/*.out: Use ;, not !, for the comment character. - -Wed Aug 16 12:24:12 1995 Ian Lance Taylor - - * gas/mri/mri.exp: Change hppa*-*-* expected failures to only - expect failure for targets which use SOM. - - * lib/gas-defs.exp (run_dump_test): If the program to run does not - exist, mark the test as untested. - - * gas/mri/mri.exp: Add setup_xfail for i960 b.out targets for - common test. - - * lib/gas-defs.exp (run_dump_test): Name the output file dump.o, - rather than using an implicit a.out. - - * gas/mri/for.s: Add nop to round out to four byte boundary. - * gas/mri/repeat.s: Likewise. - * gas/mri/while.s: Likewise. - * gas/mri/for.d: Expected added nop. - * gas/mri/repeat.d: Likewise. - * gas/mri/while.d: Likewise. - - * gas/mips/*.d: Change all test names to say MIPS. - -Tue Aug 15 15:42:33 1995 Ian Lance Taylor - - * gas/mri/for.d, gas/mri/for.s: New test. - * gas/mri/if.d, gas/mri/if.s: New test. - * gas/mri/repeat.d, gas/mri/repeat.s: New test. - * gas/mri/while.d, gas/mri/while.s: New test. - * gas/mri/mri.exp: Run the new tests. - -Mon Aug 14 16:03:07 1995 Ian Lance Taylor - - * gas/mri/expr.d: Permit leading zeroes, in case we're using a - 64-bit BFD. - - * gasp/mri/*: New tests. - * gasp/gasp.exp: Run them. Also, clean up the test names used in - pass and fail. - -Sun Aug 13 00:39:24 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/sh/basic.exp: Update now that we know the right - bit patters for the new sts instructions. - -Thu Aug 10 00:46:21 1995 Ian Lance Taylor - - * gas/mri/char.d: Fix for little endian machines. - * gas/mri/float.d: Likewise. - -Wed Aug 9 15:34:36 1995 Ian Lance Taylor - - * gas/all/struct.s, gas/all/struct.d: New test. - * gas/all/gas.exp: Run it. - -Tue Aug 8 17:11:39 1995 Ian Lance Taylor - - * gas/mri/common.s, gas/mri/common.d: New test. - * gas/mri/mri.exp: Run it. - -Mon Aug 7 22:39:28 1995 Ian Lance Taylor - - * gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constants - test. - - * gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: Complete - truncated files, so that the tests pass. - - * gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ, - constants, and expr. - - * gas/m68k/all.exp: Run schwab test on hpux*, not just hpux. Run - on vxworks*, not just vxworks5.1. - - * lib/gas-defs.exp (fail_phase, pass_phase): Remove. - (run_dump_test): Just call pass or fail. - - * gas/m68k/operands.s, gas/m68k/operands.d: New test. - * gas/m68k/op68000.d: New test. - * gas/m68k/cas.s, gas/m68k/cas.d: New test. - * gas/m68k/bitfield.s, gas/m68k/bitfield.d: New test. - * gas/m68k/schwab.d: Run objdump with -j .text. Adjust for - changes to disassembler. - * gas/m68k/all.exp: Run new tests. Run schwab test for - m68k-*-coff*. - -Mon Aug 7 03:01:32 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/sh/*: New tests for the hitachi-sh. - -Tue Aug 1 18:02:47 1995 Ian Lance Taylor - - * gas/mri/*: New tests for MRI mode. - - * lib/gas-defs.exp (run_dump_test): Support using objcopy. Dump - program executions to the log file before running them. Use the - simple program name, rather than the path to the binary being run, - in pass/fail messages. - (regexp_diff): If the regexp file has the special comment #pass, - stop checking at that point. - * config/default.exp: Set NM, NMFLAGS, OBJCOPY, and OBJCOPYFLAGS, - if they are not already set. - -Tue Aug 1 11:41:30 1995 steve chamberlain - - * Makefile.in: Remove superfluous runtest gasp. - -Mon Jul 31 18:19:26 1995 steve chamberlain - - * gasp/*: New. - * Makefile.in: Use gasp tests. - * config/default.exp: Add gasp stuff. - -Thu Jul 20 18:56:48 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/all/gas.exp: Disable tests that are not appropriate for - the PA. - -Thu Jul 13 18:22:49 1995 Ken Raeburn - - * gas/m68k/all.exp: Run schwab test for m68k vxworks5.1. - -Wed Jun 21 21:28:57 1995 Ken Raeburn - - * gas/m68k/schwab.*: New test based on a test case from Andreas - Schwab. - * gas/m68k/all.exp: Run it for some aout configurations. - -Mon Jun 12 22:27:18 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/parse/badfmpyadd.s: New test. - * gas/hppa/parse/parse.exp: Run it. - -Sun May 21 20:26:18 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/unsorted.exp: Disable align4 tests for - ELF targets. - -Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - - * arm/arm7dm.s: New file -- tests for ARM7DM instructions. - * arm/arm6.s: Correct bogus tests. - * arm/gas.exp (arm6.s): Is now a valid test. - (arm7dm.s): New test. - * arm/float.s: Add load/store multiple floating point instruction - tests. - -Wed May 3 13:14:44 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/longcall.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Tue May 2 16:37:48 1995 Ken Raeburn - - * gas/mips/ld.d: Modified for gas delay-slot fixes. - -Sat Apr 29 23:35:18 1995 Doug Evans - - * lib/gas-dg.exp: New file. - -Tue Apr 11 13:57:52 1995 Ken Raeburn - - * gas/mips/mips4.d: Allow more than exactly 8 zeros in bc1* - targets. - -Mon Apr 10 15:36:39 1995 Ken Raeburn - - * lib/gas-defs.exp (pass_phase): New proc. - (run_dump_test): Note passing or failing of each phase of this - test, instead of failure of phases or passing of complete test. - Ensure test file name is in reported message. - -Sat Apr 8 12:46:33 1995 Doug Evans - - * lib/gas-defs.exp (run_dump_test): Handle arguments with paths. - Always resolve testcase status before returning. - If `slurp_options' fails, return and don't do test. - (slurp_options): Fix "can't open" error message. - Return -1 to indicate error. - -Mon Mar 20 22:45:30 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/common.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - -Fri Mar 10 19:07:09 1995 Ken Raeburn - - * gas/h8300/ffxx1.s: Add .word 0 at the end to eliminate - uncertainty as to whether there should be trailing bytes in the - output file. - * gas/h8300/ffxx1.d: Adjust reloc values to permit an addend value - of 0x00000000ffffffff on 64-bit hosts. (I'm not sure if this is - correct.) End with "..." to match trailing zero bytes. - -Wed Mar 8 15:50:34 1995 Ian Lance Taylor - - * gas/mips/mips4.d, gas/mips/mips4.s: New files. - * gas/mips/mips.exp: Run new test. - -Thu Feb 23 17:58:50 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/basic/fmemLRbug.s: Add indexing variants. - * gas/hppa/basic/basic.exp: Test them. - -Wed Feb 15 15:43:26 1995 Ian Lance Taylor - - * gas/mips/uld.d: New file. - * gas/mips/uld.s: New file. - * gas/mips/usd.d: New file. - * gas/mips/usd.s: New file. - * gas/mips/mips.exp: Run new tests. - -Thu Feb 9 10:57:39 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/applybug.s: New test. - * gas/hppa/reloc/reloc.exp (do_applybug_test): Run it. - -Thu Feb 2 00:34:55 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/picreloc.s: New test. - * gas/hppa/reloc/reloc.exp (do_pic_relocation_test): Run it. - -Fri Jan 27 14:02:02 1995 Ken Raeburn - - * gas/h8300/ffxx1.d, gas/h8300/ffxx1.s, gas/h8300/cmpsi2.s, - gas/h8300/h8300.exp: New tests. - -Mon Jan 23 21:44:26 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/basic/basic.exp (do_system): Update. - -Wed Jan 11 17:20:25 1995 Ken Raeburn - - * gas/mips/mips.exp: Don't run the memory-access tests if the - format is a.out, because the generated code is different from what - is used with other formats. - -Tue Jan 10 11:42:13 1995 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in - regexp to avoid losing without a controlling tty. - -Fri Dec 30 18:08:20 1994 Ken Raeburn - - * gas/i386/pushw.l: Fixed whitespace to match current listing - style. - - * gas/all/gas.exp: Mark test p1480.s expected to pass, even with - listings enabled. - -Thu Dec 15 18:14:27 1994 Ken Raeburn - - * Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set. - (uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp. - * config/default.exp: Default OBJDUMP and OBJDUMPFLAGS. Use - findfile and transform procedures to determine objdump program - name. - - * gas/mips/abs.s, gas/mips/div.s: Force some padding at the end, - in case the format doesn't automatically require it. - * gas/mips/beq.d, gas/mips/jal.d: Handle MIPS_JMP as an alternate - name for the reloc type. - - * lib/gas-defs.exp (file_contents, verbose_eval): New procs. - (run_dump_test): If verbosity level is over 3, print out dump - command and its output. - -Tue Dec 13 18:21:09 1994 Ian Lance Taylor - - * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted - disassembly. - -Fri Dec 9 19:54:04 1994 Ken Raeburn - - * gas/all/gas.exp (comment.s test): Make the "\r" optional, since - it depends on tty modes. - - * lib/gas-defs.exp (gas_start): Try using -nottycopy instead of - -nottyinit. - - * gas/arm/gas.exp: The arm6 test should report errors, for now. - -Thu Dec 8 20:19:09 1994 Ken Raeburn - - * lib/gas-defs.exp: Use -i in expect_after command. - -Wed Dec 7 16:49:14 1994 Ken Raeburn - - * gas/mips/mul.d,jal.d: Fix 0-strings to work with 64-bit hosted - disassembly. - - * gas/ieee-fp: Renamed from ieee.fp. - - * lib/gas-defs.exp: Make sure timeout is at least 2 minutes. - -Wed Nov 30 10:48:00 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/parse: Renamed from gas/hppa/more.parse. - -Mon Nov 28 00:40:26 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected - to fail. Fix comments for the test. Tweak test name. - -Tue Nov 22 23:38:20 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF - output. - -Fri Nov 18 17:56:57 1994 Ian Lance Taylor - - * gas/mips/ld.d: Adjust to work for both big and little endian - code. - * gas/mips/ld.s, gas/mips/lif-empic.d: Likewise. - * gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise. - * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise. - * gas/mips/usw.d: Likewise. - -Tue Nov 15 11:09:57 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/align4.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - - * gas/hppa/unsorted/unsorted.exp (importbug): Tweak to match - current expected PA ELF output. - * gas/hppa/reloc/reloc.exp (do_r_no_reloc): Likewise. - (do_plabel_relocation_test): Likewise. - -Thu Nov 3 18:14:09 1994 Ken Raeburn - - * gas/all/p1480.s: Use larger constant, so expression can have a - positive value. - * gas/all/gas.exp: Expect p1480.s without listings to pass. - -Thu Nov 3 15:43:46 1994 Ian Lance Taylor - - * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d: - Correct test cases. - -Thu Oct 20 00:55:13 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/blebug3.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Mon Oct 17 02:33:53 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reduce3.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Sun Oct 16 22:25:56 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match - current reality. - -Wed Sep 28 21:21:34 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s - * gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s - * gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s - * gas/hppa/reloc/reloc.exp: Changed accordingly. - -Wed Sep 28 13:25:10 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch - overflows are correctly converted to jumps. - -Mon Sep 26 17:41:43 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * gas/mips: Add test cases for PIC code, both SVR4 style and - -membedded-pic style. - -Fri Sep 23 14:45:42 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * gas/mips: New directory with MIPS specific test cases. - - * lib/gas-defs.exp (run_dump_test): Permit the .d file to specify - the name of the source file to assemble. - (regexp_diff): Put the reason for failure in the log file. - -Wed Sep 21 13:44:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * lib/gas-defs.exp: Don't try to use shell redirection, since TCL - doesn't support it. Redirect stdout using > instead of 1>, and - don't bother to redirect stderr since TCL redirects it anyhow. - (run_dump_test): Pass appropriate arguments to program, defaulting - to -r. - -Sat Sep 17 01:04:56 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * gas/vax: New directory. - * gas/vax/{quad.s,quad.exp}: New test, for immediate quadword - values. - -Mon Sep 12 22:19:11 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/r_no_relocbug.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - - * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update - expected output. - -Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - - * gas/arm/*: New subtree. Add ARM tests. - -Mon Aug 8 12:13:31 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/unsorted.exp: Accept any character - between foo's type and foo itself. - -Fri Jul 15 19:09:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * lib/gas-defs.exp (run_dump_test): New routine for running the - assembler, running objdump or nm (not fully supported) on the - resulting object file, and comparing the results against a file of - regular expressions in the test suite, all in one command. - Options for the assembler and objdump are read from comments at - the start of the .d file. - (fail_phase, slurp_options): New auxiliary routines. - (regexp_diff): Always return a value. Fix bugs in actually doing - the regexp test. - - * gas/sun4/addend.exp: Use run_dump_test. - * gas/sun4/addend.d: Fix regular expressions so that they work. - -Thu Jul 7 11:55:33 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests. - * gas/hppa/reloc/reloc.exp: Run them. - -Thu Jun 30 18:49:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * config/default.exp: Look for "as.new" in "$base_dir/..", where - it got compiled, not in "$base_dir". - * config/unknown.exp: Deleted. - -Sun Jun 26 13:23:54 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait" - before exiting. Enclose both calls inside a "catch". - (objdump_finish): Likewise. - -Fri Jun 10 10:23:35 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp (roundmode test): Tweak expected output - for SOM to match current testcase. - -Thu Jun 2 19:46:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * gas/i386/{pushw.s,pushw.l}: New test. - * gas/i386/all.exp: Run it. - - * Makefile.in (distclean): Remove site config files and gas.sum. - -Fri May 27 12:24:18 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * gas/m68k/disperr.s: Use % for registers. - - * gas/m68k-coff/gas.exp: Expect failure for p2389a.s. - -Tue May 17 14:53:08 1994 Bill Cox (bill@rtl.cygnus.com) - - * lib/gas-defs.exp: Replace error proc calls with perror calls. - -Mon May 16 13:19:16 1994 Jeff Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Tweak expected output to match new - ELF code. - * gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does - not support them. - * gas/hppa/unsorted/unsorted.exp: Tweak expected output to match - new ELF code. - -Thu May 5 17:27:54 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * config/default.exp: Renamed from unix-gas.exp. - -Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in (check): Set TCL_LIBRARY for runtest. - -Mon Apr 11 07:54:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/callinfobug.s: Add missing name for - procedure. - - * gas/hppa/reloc/funcrelocbug.s: Place the trampoline in the - $DATA$ rather than $LIT$ subspace. - -Sun Mar 27 14:05:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/funcrelocbug.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Thu Mar 17 13:38:04 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/importbug.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - -Wed Mar 16 11:57:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test. - - * gas/hppa/unsorted/globalbug.s: New test (expected to fail). - * gas/hppa/unsorted/unsorted.exp: Run it. - - * gas/hppa/more.parse/callinfobug.s: New test. - * gas/hppa/omre.parse/parse.exp: Run it. - - * gas/hppa/more.parse/regpopbug.s: New test. - * gas/hppa/more.parse/parse.exp: Run it. - -Mon Feb 28 14:10:04 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * lib/gas-defs.exp (objdump): New proc. - (objdump_start): Deleted unused proc. - (objdump_start_common): Merged into objdump_start_no_subdir. - - * gas/alpha/fp.exp: Use objdump instead of - objdump_start_no_subdir, since the former actually waits for - objdump to finish. Specify .rdata section only. Make comment - indicate Alpha architecture rather than SPARC. - * gas/alpha/fp.d: Omit .reginfo patterns. Just use "." to match - against ASCII code 0x2a ("*", special in regexp). - * gas/sun4/addend.exp: Use objdump instead of - objdump_start_no_subdir. - -Thu Feb 24 07:11:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/parse.exp (no subspace test): Only expect - a failure if gas is not producing an ELF object. - -Mon Feb 14 09:24:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/basic/fmemLRbug.s: New test. - * gas/hppa/basic/basic.exp: Run it. - -Thu Feb 10 00:34:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * gas/alpha/fp.*: New files. - * lib/gas-defs.exp (regexp_diff): Report noted mismatch at - verbosity level 3 or above only. - -Mon Feb 7 15:53:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than - PA OSF1. - -Fri Feb 4 23:42:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/xmpyubug.s: New test. - * gas/hppa/more.parse/parse.exp: Run it. - -Fri Feb 4 17:13:20 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on - "simple_diff" from linker test suite. - * gas/sun4/addend.exp: Use it. - * gas/sun4/addend.d: New file. - -Sun Jan 30 23:34:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * gas/all/gas.exp: Adjust regexp for x930509.s for current listing - format. - -Thu Jan 20 16:44:51 1994 Rob Savoye (rob@darkstar.cygnus.com) - - * gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp, - sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run - well under either version of expect. - -Mon Jan 17 00:25:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested - elsewhere now. - * gas/hppa/basic/{copr, coprmem, spop}.s: New tests. - * gas/hppa/basic/basic.exp: Run them. - -Thu Jan 13 11:59:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/all/gas.exp: No longer expect difference of forward - references to fail. - * gas/all/x930509.s: Fix testcase to match how the expect code was - written. - -Wed Jan 12 13:41:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Fix typo in last change. Latest test - for cross-subspace call bugs is no longer expected to fail. - - * gas/hppa/more.parse/procbug.s: Add test for another bug relating - to having a function's label follow the .PROC directive. - -Tue Jan 11 21:47:48 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug - found while working on multiple $CODE$ subspace support. - -Mon Jan 10 09:54:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected - to fail. - * gas/hppa/more.parse/procbug.s: Add missing .procend. - -Mon Jan 3 10:07:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/labelbug.s: Add testcase for bug in last - app.c change. - -Wed Dec 29 11:32:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/labelbug.s: Add more colonless label tests. - -Wed Dec 15 08:24:31 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * Makefile.in (site.exp): Don't set ASFLAGS. Quote value of - OBJDUMPFLAGS in case it's empty. Use temporary names until the - end; make creating site.exp the final step. - (check): Pass in ASFLAGS. - - * gas/all/gas.exp: Use all_ones proc. Change regexp for matching - C comments to avoid bugs in latest expect code. - -Wed Dec 8 14:30:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/m68k/disperr.s: New test. - * gas/m68k/all.exp: Run it. - -Sun Dec 5 19:24:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/roundmode.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change. - -Wed Dec 1 10:44:18 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Run the first half of bogus R_EXIT - test for ELF. - -Tue Nov 30 13:43:21 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/parse.exp: Test for error on for subspace - directive is an XFAIL for SOM assmeblers. - - * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on - cross-subspace call test. - -Sun Nov 28 12:12:50 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/appbug.s: New test. - * gas/hppa/more.parse/parse.exp: Run it. - - * gas/hppa/unsorted/align3.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - -Sat Nov 27 22:50:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/all/p2425.s: Insert a tab before assembler directives so - that the directives are not interpreted as labels. - - * gas/hppa/basic/weird.s: Sync with GDB version. - - * gas/hppa/more.parse/labelbug.s: New test. - - * gas/hppa/more.parse/parse.exp: Run it. - -Wed Nov 24 01:25:03 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/fixupbug.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - - * gas/hppa/reloc/exitbug.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Sun Nov 21 22:11:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF can - share the same test code. - * gas/hppa/reloc/relocreduce.s: Likewise. - - * gas/hppa/basic/fmem.s: Add quadword FP store instructions. - * gas/hppa/basic/basic.exp: Test quadword FP store instructions. - -Sun Nov 7 00:31:41 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp: No longer expect failure for - field selector on ble instruction test. - - * gas/hppa/basic/basic.exp: No longer expect failures for - system instruction tests now that probei is fixed. - -Sat Nov 6 22:45:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/selectorbug.s: New test. - * gas/hppa/reloc/reloc.exp: Run it. - -Thu Nov 4 17:01:30 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/fragbug.s: New test. - * gas/hppa/unsorted/unsorted.exp: Run it. - -Thu Nov 04 09:09:49 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: Changed RUNTESTFLAGS to RUNTEST_FLAGS - -Tue Nov 2 22:12:30 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests. - * gas/hppa/more.parse/parse.exp: Run them. - -Mon Nov 1 23:37:58 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at - which specific relocations are expected to be found. - -Sat Oct 30 14:12:31 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail. - - * gas/hppa/more.parse/parse.exp: Add new test. - * gas/hppa/more.parse/ssbug.s: New test to make sure non-default - sections are handled correctly. - - * gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets. - -Fri Oct 29 16:29:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/more.parse/calldatabug.s: Colonize. - * gas/hppa/more.parse/parse.exp: Fix typos. - -Thu Oct 28 21:40:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gas/hppa/{basic, more.parse, reloc, unsorted}: New directories. - * gas/hppa/*/*.exp: New test drivers. - * gas/hppa/*/*.s: New test files. - -Mon Oct 25 09:40:59 1993 Ken Raeburn (raeburn@cygnus.com) - - * gas/sun4: New directory. - * gas/sun4/addend.s,addend.exp: New test case. - * gas/sparc-solaris/addend.s,addend.exp: Solaris version of same - test case. - - * gas/all/gas.exp: Check `*' in C comments. - - * lib/gas-defs.exp (all_ones): New procedure, for a predicate to - simplify some tests. - (want_no_output): Return zero or nonzero, depending on success or - failure. - (gas_test_old): Return value from want_no_output. - (objdump_start_common): Split off from objdump_start. - (objdump_start_no_subdir): New procedure. - -Wed Oct 20 07:25:48 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * gas/all/diff1.s, gas/m68k/pic1.s: New tests. - * gas/all/gas.exp, gas/m68k/all.exp: Run them. - - * Makefile.in (OBJDUMP_FOR_TARGET): Define similar to - AS_FOR_TARGET. - (check): Don't pass ASFLAGS variable. - (site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp. - - From Jeff Law: - - * lib/gas-defs.exp (objdump_start, objdump_finish): New functions - so that tests can parse the output of objdump looking for errors - in relocation entires, file headers and the like. - -Thu Sep 23 16:20:34 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * gas/ieee.fp/x930509a.exp: Currently expected to fail always. - * gas/all/gas.exp (p1480.s, x930509.s): Ditto. Break up gas_test - call so it no longer performs multiple tests. - * gas/m68k/all.exp (t2.s): Don't bother with listings. - (p2410.s): Don't pass unwanted arguments to gas_test_error. - -Wed Aug 25 16:50:08 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * lib/do*: Remove RCS id strings. - -Mon May 17 15:09:45 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * gas/all/float.s, gas/all/p1480.s, gas/m68k/p2410.s: New tests. - * gas/all/gas.exp, gas/m68k/all.exp: Run them. - * gas/i386: New directory. - -Mon May 10 14:50:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * Added directory structure, to categorize tests by targets. - * Added new tests all/x930509.s, ieee.fp/x930509a.s, m68k/p2663.s, - and refined some to examine the assembler listing output. - * lib/gas-defs.exp: Renamed gas_start to gas_run. Added some - expect_after patterns. - (gas_start, gas_finish): New procs, for tests that examine process - output. - * config/unix-gas.exp: Invoke gas_init directly, instead of - requiring test .exp files do it. - -Wed Apr 21 01:24:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * gas/gas.exp: Handle new tests, and changes to testing procs. - - * lib/gas-defs.exp (want_no_output): New proc; success iff output - is empty. - (gas_test_old): Functionally same as old gas_test. - (gas_test_ignore_stdout): Rewritten to use want_no_output. - (gas_test): New argument lists set of options to be tried in - combinations. Option with trailing ">" indicates standard output - should be ignored. - - * gas/p2425a.s: Use %-form for registers, so this test can be run - on m68k-coff targets too. - - * gas/p2430a.s: New test case, whitespace &c matches customer - report more closely. Gets different results from p2430.s; this is - bad, and not yet tested for. - -Mon Apr 5 12:27:19 1993 Ken Raeburn (raeburn@cygnus.com) - - * gas/p2389a.s, gas/p2411.s, gas/t2.s: New test cases. - * lib/run: New script. - * gas/gas-defs.exp (gas_start): Takes new args, assembler options - and redirection options. Use "run" script so redirection works. - (gas_test): Now takes assembler options as separate arg from input - file name. - (gas_test_ignore_stdout): New proc. Discards output. - (gas_test_error): New proc. Expects assembler to generate output. - (target_cpu_family setting): Handle i486->i386 also. - - * lib/do*: Scripts moved here from gas/testscripts. May be useful - someday for writing more test cases; not currently used. - -Tue Mar 30 11:45:27 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * gas/sol-gcc.s, gas/sol-cc.s, gas/p2425a.s, gas/p2389.s: New test - cases. - * gas/gas.exp: Enable them for appropriate targets. Removed some - useless comments &c. Changed m68k target test to be more general. - - * lib/gas-defs.exp (gas_exit, gas_init): New procs. - * gas/gas.exp: Call gas_init. - -Mon Mar 29 00:00:00 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * Test suite created. +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/testsuite/ChangeLog-9303 b/gas/testsuite/ChangeLog-9303 new file mode 100644 index 00000000000..9cb739be474 --- /dev/null +++ b/gas/testsuite/ChangeLog-9303 @@ -0,0 +1,6895 @@ +2003-12-22 Nick Clifton + + * gas/sh/err-sh4a-fp.s: Fix spelling of opcode fssra. + * gas/sh/err-sh4a-fp.d: Likewise. + * gas/sh/sh4a-fp.s: Likewise. + * gas/sh/sh4al-dsp.d: Fix expected opcode values for a couple of + instructions. + +2003-12-22 Nick Clifton + + * gas/arm/archv6.d (as): Use -march=armv6j. + * gas/arm/thumbv6.d (as): Likewise. + +2003-12-19 Kazuhiro Inaoka + + * gas/m32r/m32rx.s: Changed pattern bncl to bncl.s. + * gas/m32r/allinsn.d: Update for New RELA-ABI. + * gas/m32r/high-1.d: Likewise. + * gas/m32r/relax-1.d: Likewise. + * gas/m32r/uppercase.d: Likewise. + * gas/m32r/m32rx.d: Likewise. + * gas/vtable/vtable.exp: Likewise. + * gas/m32r/pic.exp: New file for PIC. + * gas/m32r/pic.s: Likewise. + * gas/m32r/pic.d: Likewise. + +2003-12-18 Richard Sandiford + + * gas/mips/mips16-jalx.d: Use -mabi=o64. + * gas/mips/mips16.d: Likewise. + * gas/mips/elf-rel17.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2003-12-17 Nick Clifton + + * gas/m32r/error.exp: Add parallel.s + * gas/m32r/parallel.s: New file: Test warning and error + messages produced for parallel conflicts. + +2003-12-16 Nick Clifton + + * gas/arm/arm.exp: Run special versions of the inst, ldconst, + arm7t and copro tests for the arm-wince-pe target. + * gas/arm/wince_inst.d: New file. Like inst.d but for the + arm-wince-pe target where the -8 bias is not applied to + PC-relative load instructions. + * gas/arm/wince_ldconst.d: New file. Similar reasons. + * gas/arm/wince_arm7t.d: New file. Similar reasons. + * gas/arm/wince_copro.d: New file. Similar reasons. + +2003-12-15 Christian Groessler + + * gas/z8k/eidi.s: Add uppercase forms. Add forms with comma + separated parameters. + +2003-12-14 Mark Mitchell + + * gas/arm/thumbv6.s: Add nops. + * gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops. + +2003-12-14 Alan Modra + + * gas/mmix/basep-8.d: Update for lcomm symbol type change. + * gas/mmix/basep-9.d: Likewise. + +2003-12-10 Zack Weinberg + + * gas/ppc/booke.s: Add two more forms of the mbar instruction + and three forms of the tlbwe instruction. + * gas/ppc/booke.d: Update to match. + +2003-12-10 Paul Brook + + * gas/arm/arm.exp: Add r15-bad. + * gas/arm/r15-bad.s: New file. + * gas/arm/r15-bad.l: New file. + +2003-12-06 Richard Sandiford + + * gas/mips/elf-rel16.[sd]: New test. + * gas/mips/mips.exp: Run it. + * gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)". + * gas/mips/elf-rel-xgot-n64.d: Likewise. + +2003-12-05 Ricardo Anguiano + Mark Mitchell + Richard Earnshaw + + * gas/arm/arm.exp: Add archv6 and thumbv6. + * gas/arm/archv6.d: New file. + * gas/arm/archv6.s: Likewise. + * gas/arm/thumbv6.d: Likewise. + * gas/arm/thumbv6.s: Likewise. + +2003-12-06 Christian Groessler + + * gas/z8k/ctrl-names.d: New file. + * gas/z8k/ctrl-names.s: New file. + * gas/z8k/z8k.exp: Run new tests. + +2003-12-02 Kazuhiro Inaoka + + * gas/m32r/m32r2.exp: New file for m32r2. + * gas/m32r/m32r2.s: Likewise. + * gas/m32r/m32r2.d: Likewise. + +2003-12-03 Nick Clifton + + * gas/vax/vax.exp (do_quad): Treat a vax-*-linux-gnu target as an + ELF target. + +2003-12-01 Kaz Kojima + + * gas/sh/basic.exp: Define ASFLAGS appropriately and don't do + dsp test for sh64/sh5 targets. + * gas/sh/sh64/crange1.s: Tidy up to match data alignment. + * gas/sh/sh64/crange1-1.d: Update. + * gas/sh/sh64/crange1-2.d: Likewise. + * gas/sh/sh64/datal32-3.d: Likewise. + * gas/sh/sh64/datal64-3.d: Likewise. + * gas/sh/sh64/localcom-1.d: Likewise. + +2003-11-27 Alexandre Oliva + + * gas/frv/reloc1.[sd]: Test references to external symbols and + inter-section references too. + +2003-11-26 Christian Groessler + + * gas/z8k/jmp-cc.d: New file. + * gas/z8k/jmp-cc.s: New file. + * gas/z8k/ret-cc.d: New file. + * gas/z8k/ret-cc.s: New file. + * gas/z8k/z8k.exp: Run new tests. + +2003-11-26 Nick Clifton + + * gas/h8300/t01_mov.s: Revert changes. + * gas/h8300/t01_mov.exp: Revert changes. + +2003-11-25 Asgari Jinia + + * gas/h8300/multiples.s : Add instructions for H8s. + * gas/h8300/h8300.exp (do_h8300s_multiple) : Add more test + conditions for instructions for H8s. + * gas/h8300/t01_mov.s: Correct illegal ldm/stm register pairings. + * gas/h8300/t01_mov.exp: Update expected results. + +2003-11-22 Alan Modra + + * gas/i386/divide.s: New. + * gas/i386/divide.d: New. + * gas/i386/i386.exp (gas_32_check): Run it. + + * gas/ppc/machine.s: New. + * gas/ppc/machine.d: New. + * gas/ppc/ppc.exp: Run it. + +2003-11-18 Maciej W. Rozycki + + * gas/mips/lca-svr4pic.d: New test for the "lca" macro. + * gas/mips/lca-xgot.d: Likewise. + * gas/mips/lca.s: Source for the new tests. + * gas/mips/mips.exp: Run the new tests. + +2003-11-14 Nick Clifton + + * gas/arm/arm7.d: Pass -D instead of -d to objdump in order to + display the contents of data fields in the .text section. + This change is necessary after the addition of arm elf mapping + symbol support to gas. + * gas/arm/pic.d: Expect addresses with function name offsets. + This change is necessary after the addition of arm elf mapping + symbol support to gas. + +2003-11-13 Nick Clifton + + * gas/arm/mapping.s: New test: Source for ARM ELF mapping + symbols test. + * gas/arm/mapping.d: New file: Expected output. + * gas/arm/arm.exp: Run new test. + +2003-11-06 Nick Clifton + + * gas/arm/req.s: New test file. Check .req and .unreq psuedo ops. + * gas/arm/req.l: Expected error output from req.s test. + * gas/arm/copro.d: Set target architecture for objdump so that the + test will work on architectures which cannot encode higher arm + architecture types in their file headers. + * gas/arm/arm.exp: Run new req.s test. + Skip thumb instruction test for PE targets which do not support + thumb relocations. + * gas/elf/elf.exp: Skip special handling of section2 test for + XScale targets - it is no longer needed. + +2003-11-04 H.J. Lu + + * gas/m68k/mcf-mov3q.d: Support 64bit BFD. + +2003-11-03 Daniel Jacobowitz + + * gas/arm/arm7t.d: Replace '-#' with '#-'. + * gas/arm/copro.d: Likewise. + * gas/arm/fpa-mem.d: Likewise. + * gas/arm/maverick.c: Likewise. + * gas/arm/maverick.d: Likewise. + * gas/arm/vfp1.d: Likewise. + * gas/arm/vfp1xD.d: Likewise. + * gas/arm/xscale.d: Likewise. + +2003-10-27 Stephane Carrez + + * gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed. + * gas/m68hc11/lbranch-dwarf2.d: Update. + +2003-10-23 Peter Barada + + * gas/m68k/mcf-mov3q.s: New file: Test some ColdFire instructions. + * gas/m68k/mcf-mov3q.s: New file: Expected disassembly. + * gas/m68k/all.exp: Run new test. + +2003-10-22 Andreas Schwab + H.J. Lu + + * gas/ia64/dv-mutex-err.s: Add more tests for compare. + * gas/ia64/dv-mutex.s: Likewise. + + * gas/ia64/dv-mutex-err.l: Updated. + * gas/ia64/dv-mutex.d: Likewise. + +2003-10-18 Hans-Peter Nilsson + + * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add + --no-pushj-stubs option. + * gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs + option. + * gas/mmix/reloclab.l: Adjust for PUSHJ stub. + * gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s, + gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d, + gas/mmix/weak1-s.d: New tests. + +2003-10-17 Ian Lance Taylor + + * gas/arm/iwmmxt-bad.s: New file. + * gas/arm/iwmmxt-bad.l: New file. + * gas/arm/arm.exp: Run new test. + +2003-10-16 Ian Lance Taylor + + * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the + right disassembly. + +2003-10-16 H.J. Lu + + * gas/alpha/elf-reloc-8.d: Updated. + +2003-10-10 Dave Brolley + + * gas/frv/allinsn.s: Use preoperly aligned registers. + * gas/frv/allinsn.d: Update expected results. + +2003-10-08 Chris Demetriou + + * lib/gas-defs.exp (gas_run): Always log the command being run. + (gas_start): Likewise. + (regexp_diff): Make error reporting about non-existent files + consistent. + +2003-10-06 Nick Clifton + + * gas/macros/app1.d: Skip sections symbols (if present). + * gas/macros/app2.d: Likewise. + * gas/macros/app3.d: Likewise. + * gas/macros/app4.d: Likewise. + +2003-10-04 Christian Groessler + + * gas/z8k/calr-backf.s: New file. + * gas/z8k/calr-forwf.s: New file. + * gas/z8k/calr.d: New file. + * gas/z8k/calr.s: New file. + * gas/z8k/djnz-backf.s: New file. + * gas/z8k/djnz-backf2.s: New file. + * gas/z8k/djnz.d: New file. + * gas/z8k/djnz.s: New file. + * gas/z8k/jr-back.d: New file. + * gas/z8k/jr-forw.d: New file. + * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps + for jr-back.d. + * gas/z8k/jr-backf.s: Fix displacement length. + * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps + for jr-forw.d. + * gas/z8k/jr-forwf.s: Fix displacement length. + * gas/z8k/z8k.exp: Run new tests. + +2003-10-01 Thiemo Seufer + + * gas/mips/ldstla-32-shared.d: New file. + * gas/mips/ldstla-32.d: New file. + * gas/mips/ldstla-32.s: New file. + * gas/mips/ldstla-n32-shared.d: New file. + * gas/mips/ldstla-n32.d: New file. + * gas/mips/ldstla-n32.s: New file. + * gas/mips/ldstla-n64-shared.d: New file. + * gas/mips/ldstla-n64.d: New file. + * gas/mips/ldstla-n64.s: New file. + * gas/mips/mips.exp: Add ld-st-la tests. + +2003-09-30 Chris Demetriou + + * lib/gas-defs.exp (run_dump_test): If stderr file is specified + and there was no stderr output, compare anyway (i.e., cause a + test failure). + * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. + * gas/mips/mips64-mips3d.l: New file. + * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for + changes to mips64-mips3d.s. + * gas/mips/mips64-mips3d-incl.d: Likewise. + * gas/mips/set-arch.l: New file. + * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. + * gas/mips/mips5.l: Make error messages match source. + +2003-09-30 Chris Demetriou + + * gas/mips/cp0-names-mips64r2.d: New file. + * gas/mips/cp0sel-names-mips64r2.d: New file. + * gas/mips/elf_arch_mips64r2.d: New file. + * gas/mips/hwr-names-mips64r2.d: New file. + * gas/mips/mips32r2-ill-fp64.l: New file. + * gas/mips/mips32r2-ill-fp64.s: New file. + * gas/mips/mips64r2-ill.l: New file. + * gas/mips/mips64r2-ill.s: New file. + * gas/mips/mips64r2.d: New file. + * gas/mips/mips64r2.s: New file. + * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. + +2003-09-29 Dave Brolley + + * gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. + * gas/frv/allinsn.d (nldqi): Ditto. + +2003-09-25 Hans-Peter Nilsson + + * gas/cris/rd-pcrel2.d: Update for changes in section flag + defaults. + +2003-09-20 Thiemo Seufer + + * gas/mips/elfel-rel.d: Add ABI specification. + * gas/mips/elfel-rel2.d: Likewise. + * gas/mips/elfel-rel3.d: Likewise. + +2003-09-19 Thiemo Seufer + + * gas/mips/rm7000.s: Let objdump print trailing dots. + +2003-09-19 Thiemo Seufer + + * gas/mips/empic3_e.s: Fix typo. + +2003-09-05 Richard Sandiford + + * gas/frv/reloc1.[sd]: New test. + * gas/frv/allinsn.exp: Run it. + +2003-09-04 Nick Clifton + + * gas/v850/v850e1.s: New test source file. + * gas/v850/v850e1.d: New test disassembly file. + * gas/v850/basic.exp: Run v850e1 test. + +2003-09-03 Robert Millan + + * gas/alpha/alpha.exp: Match GNU/KFreeBSD with new kfreebsd*-gnu + triplet. + +2003-09-03 Nick Clifton + + * gas/cris/diffexp-ovwr.d: Remove regexp for empty section + contents string. + gas/cris/pushpop-dcr1-sreg.d: Likewise. + gas/cris/string-1.d: Likewise. + gas/cris/string-2.d: Likewise. + gas/cris/x-to-dcr1-sreg.d: Likewise. + gas/elf/section0.d: Likewise. + gas/elf/section1.d: Likewise. + gas/i386/relax.d: Likewise. + gas/mips/elempic.d: Likewise. + gas/mips/empic.d: Likewise. + gas/mips/mips16-e.d: Likewise. + gas/mips/mips16-f.d: Likewise. + gas/mips/mipsel16-e.d: Likewise. + gas/mips/mipsel16-f.d: Likewise. + gas/mips/rm7000.d: Likewise. + gas/mips/telempic.d: Likewise. + gas/mips/tempic.d: Likewise. + gas/mips/tmips16-e.d: Likewise. + gas/mips/tmips16-f.d: Likewise. + gas/mips/tmipsel16-e.d: Likewise. + gas/mips/tmipsel16-f.d: Likewise. + gas/mmix/align-1.d: Likewise. + gas/mmix/basep-10.d: Likewise. + gas/mmix/basep-11.d: Likewise. + gas/mmix/basep-9.d: Likewise. + gas/mmix/comment-3.d: Likewise. + gas/mmix/cons-1.d: Likewise. + gas/mmix/cons-2.d: Likewise. + gas/mmix/expr-1.d: Likewise. + gas/mmix/fb-1.d: Likewise. + gas/mmix/fb-2.d: Likewise. + gas/mmix/greg1.d: Likewise. + gas/mmix/greg1a.d: Likewise. + gas/mmix/greg2.d: Likewise. + gas/mmix/greg2a.d: Likewise. + gas/mmix/greg3.d: Likewise. + gas/mmix/greg4.d: Likewise. + gas/mmix/greg7.d: Likewise. + gas/mmix/greg8.d: Likewise. + gas/mmix/is-1.d: Likewise. + gas/mmix/local-1.d: Likewise. + gas/mmix/odd-1.d: Likewise. + gas/mmix/op-0-1.d: Likewise. + gas/mmix/op-0-2.d: Likewise. + gas/mmix/prefix3.d: Likewise. + gas/mmix/pseudo-1.d: Likewise. + gas/mmix/weak1.d: Likewise. + gas/sh/sh64/crange1-1.d: Likewise. + gas/sh/sh64/crange1-2.d: Likewise. + gas/sh/sh64/crange2-2.d: Likewise. + gas/sh/sh64/crange3-1.d: Likewise. + gas/sh/sh64/crange4-1.d: Likewise. + gas/sh/sh64/crange5-1.d: Likewise. + gas/sh/sh64/datal32-3.d: Likewise. + gas/sh/sh64/datal64-3.d: Likewise. + gas/sh/sh64/endian-1.d: Likewise. + gas/sh/sh64/endian-2.d: Likewise. + gas/sh/sh64/localcom-1.d: Likewise. + gas/sh/sh64/rel32-5.d: Likewise. + gas/sh/sh64/rel64-5.d: Likewise. + gas/sh/sh64/ua32-1.d: Likewise. + gas/sh/sh64/ua64-1.d: Likewise. + gas/xstormy16/reloc-1.d: Likewise. + +2003-09-01 Maciej W. Rozycki + + * gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for + little-endian. + * gas/mips/elf-rel-got-n64.d: Likewise. + * gas/mips/elf-rel-xgot-n32.d: Likewise. + * gas/mips/elf-rel-xgot-n64.d: Likewise. + +2003-08-29 Jakub Jelinek + + * gas/cfi/cfi-sparc-1.s: New test. + * gas/cfi/cfi-sparc-1.d: New test. + * gas/cfi/cfi-sparc64-1.s: New test. + * gas/cfi/cfi-sparc64-1.d: New test. + * gas/cfi/cfi.exp: Run them. + +2003-08-19 Nick Clifton + + * gas/arm/copro.s: Add tests of Addressing Mode 5 (Unindexed). + * gas/arm/arm.exp: Run copro.s as a dump test. + * gas/arm/copro.d: New file: expected disassembly of copro.s + +2003-08-16 Jason Eckhardt + + * gas/i860/pseudo-ops01.{s,d}: New files. + * gas/i860/i860.exp: Execute the new test above. + * gas/i860/README.i860: Remove align defect from list. + +2003-08-14 Nick Clifton + + * gas/arm/pic.d: Update regexp for destination address of + unrelocated branch instructions so that they point to themselves. + * gas/arm/inst.d: Likewise. + +2003-08-08 Andreas Schwab + + * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. + * gas/cfi/cfi.exp (run_list_test): Run it. + +2003-08-06 Jason Eckhardt + + * gas/i860/dir-align01.{s,d}: New files. + * gas/i860/i860.exp: Execute the new test above. + +2003-08-06 Jason Eckhardt + + * gas/i860/dual02-err.l: Update expected error message. + * gas/i860/README.i860: Remove dual02-err from known failure list. + +2003-08-05 Jason Eckhardt + + * gas/i860/README.i860: Remove dual01 from the known failures. + +2003-08-05 Jason Eckhardt + + * gas/i860/dir-intel01.{s,d}: New files. + * gas/i860/dir-intel02.{s,d}: New files. + * gas/i860/dir-intel03-err.{s,l}: New files. + * gas/i860/i860.exp: Execute the above new tests. + +2003-08-03 Jason Eckhardt + + * gas/i860/*.d: Prefix name with "i860". + +2003-08-03 Jason Eckhardt + + * gas/i860/dual01.{s,d}: New files. + * gas/i860/dual02-err.{s,l}: New files. + * gas/i860/dual03.{s,d}: New files. + * gas/i860/i860.exp: Execute the above new tests. + * gas/i860/README.i860: Update. + +2003-08-02 Alan Modra + + * gas/d10v/address-001.d: Adjust for objdump -d change. + * gas/d10v/control-001.d: Likewise. + * gas/d10v/error-001.d: Likewise. + * gas/d10v/immediate-001.d: Likewise. + * gas/d10v/immediate-002.d: Likewise. + * gas/d10v/immediate-003.d: Likewise. + * gas/d10v/immediate-006.d: Likewise. + * gas/d10v/immediate-007.d: Likewise. + * gas/d10v/instruction_packing-001.d: Likewise. + * gas/d10v/instruction_packing-002.d: Likewise. + * gas/d10v/instruction_packing-003.d: Likewise. + * gas/d10v/instruction_packing-004.d: Likewise. + * gas/d10v/instruction_packing-006.d: Likewise. + * gas/d10v/instruction_packing-007.d: Likewise. + * gas/d10v/instruction_packing-008.d: Likewise. + * gas/d10v/instruction_packing-009.d: Likewise. + * gas/d10v/instruction_packing-010.d: Likewise. + * gas/d10v/instruction_packing.d: Likewise. + * gas/d10v/label-001.d: Likewise. + * gas/d10v/warning-014.d: Likewise. + * gas/m88k/init.d: Likewise. + +2003-08-01 Jason Eckhardt + + * gas/i860/README.i860: New file. + +2003-07-29 Nick Clifton + + * gas/sparc/unalign.d: Remove empty .text disassembly line. + +2003-07-28 H.J. Lu + + * gas/elf/elf.exp: Add section3 for note section. + + * gas/elf/section3.d: New file. + * gas/elf/section3.s: Likewise. + +2003-07-26 Alan Modra + + * gas/ppc/altivec.d: Update. + * gas/ppc/altivec_xcoff.d: Update. + * gas/ppc/altivec_xcoff64.d: Update. + * gas/ppc/booke.d: Update. + * gas/ppc/booke_xcoff.d: Update. + * gas/ppc/booke_xcoff64.d: Update. + * gas/ppc/e500.d: Update. + +2003-07-23 Stephane Carrez + + * gas/m68hc11/m68hc11.exp: Execute the new tests. + * gas/m68hc11/abi.s: New test for abi elf flags. + * gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float. + * gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float. + * gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float. + * gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float. + +2003-07-15 Richard Sandiford + + * gas/mips/rm7000.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2003-07-10 Jakub Jelinek + + * gas/cfi/cfi-ppc-1.s: New test. + * gas/cfi/cfi-ppc-1.d: New test. + * gas/cfi/cfi-s390-1.s: New test. + * gas/cfi/cfi-s390-1.s: New test. + * gas/cfi/cfi-s390x-1.s: New test. + * gas/cfi/cfi-s390x-1.s: New test. + * gas/cfi/cfi.exp: Run them. + +2003-07-09 Alexandre Oliva + + 2002-02-20 Alexandre Oliva + * gas/mn10300/am33-2.c (d8pcsec): PC-relative relocations within + text sections don't decay to section+offset. + * gas/mn10300/am33-2.d: Rebuilt. + 2000-08-15 Eric Christopher + * gas/mn10300/am33-2.c (d8pcsec): New Function + (condjmp): Adjust testcase for TC_LINKRELAX_FIXUP + functionality. + * gas/mn10300/am33-2.d: Regenerate + 2000-05-24 Alexandre Oliva + * gas/mn10300/am33-2.c (d8pcoff): Likewise. + * gas/mn10300/am33-2.d: Rebuilt. + 2000-04-01 Alexandre Oliva + * gas/mn10300/am33-2.c (main): Changed `.am332' to `.am33_2'. + Replaced `AM33 2.0' with `AM33/2.0'. + * gas/mn10300/am33-2.d, gas/mn10300/am33-2.s: Rebuilt. + 2000-03-31 Alexandre Oliva + * gas/mn10300/am33-2.c: New file, that generated... + * gas/mn10300/am33-2.s, gas/mn10300/am33-2.d: New files. + * gas/mn10300/basic.exp: Test am33-2. + +2003-07-08 Chris Demetriou + + * gas/testsuite/gas/mips/mips.exp: Make sure that branch-misc-2 is + run to compile non-PIC code, and add branch-misc-2pic. + * gas/mips/branch-misc-2.l: Adjust for change in non-PIC warnings. + * gas/mips/branch-misc-2pic.l: New file. + * gas/mips/branch-misc-2pic.s: New file. + +2003-07-07 Richard Sandiford + + * gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements. + +2003-07-04 Alan Modra + + * gas/ppc/test2elf64.s: Rename to.. + * gas/ppc/power4.s: ..this. Add mtcr and mfcr testcases. + * gas/ppc/test2elf64.d: Rename to.. + * gas/ppc/power4.d: ..this. Update. + * gas/ppc/ppc.exp: Update. + +2003-07-02 Thiemo Seufer + + * gas/mips/set-arch.d: Fix GPR names and show raw insns. + +2003-06-29 Thiemo Seufer + + * gas/mips/set-arch.s: New file, testcase for .set arch=FOO. + * gas/mips/set-arch.d: Likewise. + * gas/mips/mips.exp: Use it. + +2003-06-25 Richard Sandiford + + * gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy. + +2003-06-24 Richard Sandiford + + * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move... + * gas/h8300/h8300-elf.exp: ...here. + +2003-06-23 H.J. Lu + + * gas/i386/i386.exp: Add prescott. + + * gas/i386/prescott.d: New file. + * gas/i386/prescott.s: Likewise. + +2003-06-21 Thiemo Seufer + + * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. + * gas/mips/elf-rel-xgot-n32.d: Likewise. + * gas/mips/jal-newabi.d: Likewise. + +2003-06-21 Christian Groessler + + * gas/z8k: New directory. + * gas/z8k/dec.s: New file. + * gas/z8k/decbf.s: New file. + * gas/z8k/decf.s: New file. + * gas/z8k/eidi.s: New file. + * gas/z8k/eidif.s: New file. + * gas/z8k/inc.s: New file. + * gas/z8k/incbf.s: New file. + * gas/z8k/incf.s: New file. + * gas/z8k/inout.d: New file. + * gas/z8k/inout.s: New file. + * gas/z8k/jr-back.s: New file. + * gas/z8k/jr-backf.s: New file. + * gas/z8k/jr-forw.s: New file. + * gas/z8k/jr-forwf.s: New file. + * gas/z8k/ldk.s: New file. + * gas/z8k/ldkf.s: New file. + * gas/z8k/z8k.exp: New file. + +2003-06-18 Jakub Jelinek + + * gas/cfi/cfi-i386.d: Regenerated. + * gas/cfi/cfi-common-1.d: Regenerated. + * gas/cfi/cfi-common-2.d: Regenerated. + * gas/cfi/cfi-common-3.d: Regenerated. + * gas/cfi/cfi-x86_64.d: Regenerated. + * gas/cfi/cfi-alpha-1.d: Regenerated. + * gas/cfi/cfi-alpha-2.d: Regenerated. + * gas/cfi/cfi-alpha-3.d: Regenerated. + +2003-06-17 Nick Clifton + + * gas/i386/absrel.d: Tweak patterns to work for i386-pc-cygwin + target as well. + * gas/i386/sub.d: Likewise. + +2003-06-17 Loren James Rittle + + * gas/alpha/elf-reloc-1.d: Allow system-specific gunk after + canonical file format. + * gas/alpha/elf-reloc-4.d: Likewise. + * gas/alpha/elf-reloc-5.d: Likewise. + * gas/alpha/elf-reloc-7.d: Likewise. + * gas/alpha/elf-reloc-8.d: Likewise. + * gas/alpha/elf-tls-1.d: Likewise. + * gas/alpha/elf-usepv-1.d: Likewise. + +2003-06-16 Hans-Peter Nilsson + + * gas/cris: Match output having $ register prefix. Deal with + target variants default requiring register prefix on input. + +2003-06-13 Richard Earnshaw + + * gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test. + +2003-06-12 Richard Sandiford + + * gas/mips/elf-rel15.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2003-06-11 Richard Henderson + + * gas/cfi/cfi-common-3.[ds]: New. + * gas/cfi/cfi.exp: Run it. + +2003-06-11 Alan Modra + + * gas/macros/app1.d: Ignore section symbols. + * gas/macros/app2.d: Likewise. + * gas/macros/app3.d: Likewise. + * gas/macros/app4.d: Likewise. + +2003-06-10 Thiemo Seufer + + * gas/mips/mips.exp: Fix typo. + * gas/mips/elempic.d: Force o64 ABI. + * gas/mips/telempic.d: Likewise. + +2003-06-10 Alan Modra + + * lib/gas-defs.exp (proc is_elf_format): Copy from ld testsuite. + * gas/cfi/cfi.exp: Use here. Only run tests when ELF. + * gas/macros/and.s: Avoid .set so we don't break mips. + +2003-06-10 Alan Modra + + * gas/macros/and.s: New. + * gas/macros/macros.exp: Assemble it. + +2003-06-10 Gary Hade + + * gas/ppc/test2elf64.{s,d}: New test. + * gas/ppc/ppc.exp: Run new test. + +2003-06-10 Richard Sandiford + + * gas/h8300/h8sx_mov_imm.[sd]: New test. + * gas/h8300/h8300.exp: Run it. + +2003-06-10 Richard Sandiford + + * gas/h8300/h8sx_rtsl.[sd]: New test. + * gas/h8300/h8300.exp: Run it. + +2003-06-10 Richard Sandiford + + * gas/h8300/h8sx_disp2.[sd]: New test. + * gas/h8300/h8300.exp: Run it. + +2003-06-07 Richard Henderson + + * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New. + * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New. + * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New. + * gas/cfi/cfi.exp: Run them. + +2003-06-05 Michael Snyder + + * gas/h8300/t01_mov.s: New file, tests mov instructions. + * gas/h8300/t02_mova.s: New file, tests mova instructions. + * gas/h8300/t03_add.s: New file, tests add instructions. + * gas/h8300/t04_sub.s: New file, tests sub instructions. + * gas/h8300/t05_cmp.s: New file, tests cmp instructions. + * gas/h8300/t06_ari2.s: New file, tests arithmetic instructions. + * gas/h8300/t07_ari3.s: New file, tests arithmetic instructions. + * gas/h8300/t08_or.s: New file, tests or instructions. + * gas/h8300/t09_xor.s: New file, tests xor instructions. + * gas/h8300/t10_and.s: New file, tests and instructions. + * gas/h8300/t11_logs.s: New file, tests logical instructions. + * gas/h8300/t12_bit.s: New file, tests bit instructions. + * gas/h8300/t13_otr.s.s: New file, tests misc. instructions. + * gas/h8300/t01_mov.exp: New file. + * gas/h8300/t02_mova.exp: New file. + * gas/h8300/t03_add.exp: New file. + * gas/h8300/t04_sub.exp: New file. + * gas/h8300/t05_cmp.exp: New file. + * gas/h8300/t06_ari2.exp: New file. + * gas/h8300/t07_ari3.exp: New file. + * gas/h8300/t08_or.exp: New file. + * gas/h8300/t09_xor.exp: New file. + * gas/h8300/t10_and.exp: New file. + * gas/h8300/t11_logs.exp: New file. + * gas/h8300/t12_bit.exp: New file. + * gas/h8300/t13_otr.exp: New file. + +2003-06-04 Richard Henderson + + * gas/alpha/elf-usepv-1.[sd]: New. + * gas/alpha/elf-usepv-2.[sd]: New. + * gas/alpha/alpha.exp: Run them. + * gas/cfi/cfi-alpha-3.[sd]: New. + * gas/cfi/cfi.exp: Run it. + +2003-05-31 Richard Henderson + + * gas/alpha/elf-reloc-8.d: Correct .eh_frame relocs. + * gas/cfi/cfi-alpha-2.d: New. + * gas/cfi/cfi-alpha-2.s: New. + * gas/cfi/cfi.exp: Run it. + +2003-05-29 Richard Henderson + + * gas/alpha/elf-reloc-8.d: Add .eh_frame relocs. + * gas/cfi/cfi-alpha-1.d: New. + * gas/cfi/cfi-alpha-1.s: New. + * gas/cfi/cfi.exp: Run it. + +2003-05-27 Richard Henderson + + * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. + * gas/cfi/cfi-x86_64.d: Likewise. + * gas/cfi/cfi-i386-2.d: New. + * gas/cfi/cfi-i386-2.s: New. + +2003-05-23 Jason Eckhardt + + * gas/i860/xp.s: New file. + * gas/i860/xp.d: New file. + +2003-05-23 Richard Earnshaw + + * gas/i860/i860.exp: Don't call exit if the target isn't an i860. + +2003-05-22 Thiemo Seufer + + * gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro. + * gas/mips/jal-newabi.d: Likewise. + * gas/mips/mips.exp: Add new testcase. + +2003-05-21 H.J. Lu + + * gas/hppa/parse/parse.exp: Add "space.s". + * gas/hppa/parse/space.s: New file to test spaces. + +2003-05-20 Jason Eckhardt + + * gas/i860/branch.{s,d}: New files. + * gas/i860/system.{s,d}: New files. + +2003-05-20 Jason Eckhardt + + * gas/i860/bitwise.{s,d}: New files. + * gas/i860/bte.{s,d}: New files. + * gas/i860/fldst01.{s,d}: New files. + * gas/i860/fldst02.{s,d}: New files. + * gas/i860/fldst03.{s,d}: New files. + * gas/i860/fldst04.{s,d}: New files. + * gas/i860/fldst05.{s,d}: New files. + * gas/i860/fldst06.{s,d}: New files. + * gas/i860/fldst07.{s,d}: New files. + * gas/i860/fldst08.{s,d}: New files. + * gas/i860/float01.{s,d}: New files. + * gas/i860/float02.{s,d}: New files. + * gas/i860/float03.{s,d}: New files. + * gas/i860/float04.{s,d}: New files. + * gas/i860/form.{s,d}: New files. + * gas/i860/iarith.{s,d}: New files. + * gas/i860/ldst01.{s,d}: New files. + * gas/i860/ldst02.{s,d}: New files. + * gas/i860/ldst03.{s,d}: New files. + * gas/i860/ldst04.{s,d}: New files. + * gas/i860/ldst05.{s,d}: New files. + * gas/i860/ldst06.{s,d}: New files. + * gas/i860/pfam.{s,d}: New files. + * gas/i860/pfmam.{s,d}: New files. + * gas/i860/pfmsm.{s,d}: New files. + * gas/i860/pfsm.{s,d}: New files. + * gas/i860/regress01.{s,d}: New files. + * gas/i860/shift.{s,d}: New files. + * gas/i860/simd.{s,d}: New files. + +2003-05-20 Jason Eckhardt + + * gas/i860: New directory. + * gas/i860/i860.exp: New file. + +2003-05-20 Michal Ludvig + + * gas/cfi/cfi.exp: Testsuite for cfi machinery. + * gas/cfi/cfi-x86_64.[sd]: Files for x86-64. + * gas/cfi/cfi-i386.[sd]: Files for i386. + +2003-05-19 Thiemo Seufer + + * gas/mips/mips.exp: mips-*-linux-*, mipsel-*-linux-* use only 32-bit + register width by default. Add them to addr32 and exclude offending + testcases. + * gas/mips/delay.s: Avoid odd floating point registers. + * gas/mips/delay.d: Likewise. + * gas/mips/nodelay.d: Likewise. + * gas/mips/mips4.s: Likewise. + * gas/mips/mips4.d: Likewise. + * gas/mips/mips5.s: Likewise. + * gas/mips/mips5.d: Likewise. + * gas/mips/vr5400.s: Likewise. + * gas/mips/vr5400.d: Likewise. + * gas/mips/vr5500.s: Likewise. + * gas/mips/vr5500.d: Likewise. + * gas/mips/elf_e_flags2.d: Allow different expansions of the move + macro. + * gas/mips/elf_e_flags3.d: Likewise. + * gas/mips/elf_e_flags4.d: Likewise. + * gas/mips/uld2-eb.d: Likewise. + * gas/mips/uld2-el.d: Likewise. + +2003-05-16 Kelley Cook + + * lib/gas-defs.exp: Accept i[3-7]86 variants. + +2003-05-13 Hans-Peter Nilsson + + * gas/macros/app1.s, gas/macros/app1.d, gas/macros/app2.s, + gas/macros/app2.d, gas/macros/app3.s, gas/macros/app3.d, + gas/macros/app4.s, gas/macros/app4b.s, gas/macros/app4.d: New + tests. + * gas/macros/macros.exp: Run them. + +2003-05-07 H.J. Lu + + * gas/ia64/ia64.exp: Add alias. + + * gas/ia64/alias.s: New. + * gas/ia64/alias.d: Likewise. + +2003-05-06 Alexandre Oliva + + * gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d, + gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d, + gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d, + gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d, + gas/mips/cp0sel-names-mips32r2.d, + gas/mips/cp0sel-names-mips64.d, + gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d, + gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d, + gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d, + gas/mips/elf-rel6.d, gas/mips/elf-rel7.d, + gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d, + gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d, + gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d, + gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d, + gas/mips/elf_ase_mips16.d, gas/mips/empic.d, + gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d, + gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d, + gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d, + gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d, + gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d, + gas/mips/la-empic.d, gas/mips/la-svr4pic.d, + gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d, + gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d, + gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d, + gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d, + gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d, + gas/mips/lif-xgot.d, gas/mips/lifloat.d, + gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d, + gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d, + gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d, + gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d, + gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d, + gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d, + gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d, + gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d, + gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d, + gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, + gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d, + gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d, + gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d, + gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulw.d, + gas/mips/ulw2-eb.d, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-el.d, + gas/mips/ulw2-el-ilocks.d, gas/mips/usd.d, gas/mips/ush.d, + gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification. + gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are + RELA. + +2003-05-03 H.J. Lu + + * gas/elf/symver.s: Use '%' instead of '@' in .type. + * gas/elf/type.s: Likewise. + +2003-05-03 H.J. Lu + + * gas/elf/elf.exp (run_list_test): Support pipe for readelf. + + * gas/elf/type.e-m32r: Removed. + * gas/elf/type.e-mips: Likewise. + * gas/elf/type.e-miwmmxt: Likewise. + + * gas/elf/type.e: Updated. + +2003-05-03 H.J. Lu + + * gas/ia64/ia64.exp: Add unwind. + + * gas/ia64/unwind.s: New. Test the new section attribute 'o' + and the new section type "unwind". + * gas/ia64/unwind.d: Likewise. + +2003-05-02 Chris Demetriou + + * gas/mips/mips.exp (mips_arch_init): Reimplement in + a way that's safe with ancient versions of tcl/expect. + +2003-05-01 Chris Demetriou + + * gas/mips/mips.exp (mips_arch_init): New function. + Call it before setting up architecture array entries. + +2003-05-01 H.J. Lu + + * gas/elf/elf.exp (run_list_test): Accept empty $opts. + Add type test. + + * gas/elf/type.e: New file. + * gas/elf/type.s: Likewise. + * gas/elf/type.e-m32r: Likewise. + * gas/elf/type.e-mips: Likewise. + * gas/elf/type.e-miwmmxt: Likewise. + +2003-05-01 H.J. Lu + + * gas/ia64/ia64.exp: Add secname. + + * gas/ia64/secname.s: New. Test the trailing '#' in section + name. + * gas/ia64/secname.d: Likewise. + +2003-05-01 H.J. Lu + + * gas/ia64/ia64.exp: Add "global". + + * gas/ia64/global.d: New file. + * gas/ia64/global.s: Likewise. + +2003-04-30 H.J. Lu + + * gas/ia64/ia64.exp: Add order. + + * gas/ia64/order.s: New file. + * gas/ia64/order.d: Likewise. + +2003-04-29 H.J. Lu + + * gas/ia64/ia64.exp: Add align. + + * gas/ia64/align.d: New file. + * gas/ia64/align.s: Likewise. + + * ia64/dependency-1.d: Remove the padding. + +2003-04-30 H.J. Lu + + * gas/ia64/ia64.exp: Add real. + + * gas/ia64/real.s: New file. + * gas/ia64/real.d: Likewise. + +2003-04-29 Nick Clifton + + * gas/elf/elf.exp: Invoke symver test. + * gas/elf/symver.s: New test case. + * gas/elf/symver.d: Expected output. + +2003-04-24 Nick Clifton + + * gas/ppc/astest2.s: Add tests for conditional branches with + probability indicators. + * gas/ppc/astest2.d: Add expected disassembly. + +2003-04-23 H.J. Lu + + * gas/ia64/opc-i.s: Add testcases for valid label. + * gas/ia64/opc-i.d: Updated. + +2003-04-10 Alexandre Oliva + + * gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s, + gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, + gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. + * gas/mips/mips.exp: Test them. + +2003-04-08 Nick Clifton + + * gas/m32r/m32r.exp: Run signed-relocs test. + * gas/m32r/signed-relocs.s: New file: Test signed relocs. + * gas/m32r/signed-relocs.d: New file: Expected results + + * gas/ia64/dependency-1.s: New file: Test read before write dependency. + * gas/ia64/dependency-1.d: New file: Expected assembly results. + * gas/ia64/ia64.exp: Run the new test. + +2003-04-05 Stephane Carrez + + * gas/m68hc11/bug-1825.d (_table): Update. + * gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs + +2003-04-05 Stephane Carrez + + * gas/m68hc11/insns.s: Add %page and %addr checks. + * gas/m68hc11/insns12.s: Likewise. + * gas/m68hc11/insns-dwarf2.d: Update. + * gas/m68hc11/insns.d: Update. + +2003-04-04 Chris Demetriou + + * gas/mips/mips5.d: New test. + * gas/mips/mips5.l: New test stderr listing. + * gas/mips/mips5.s: New test source file. + * gas/mips/mips.exp: Run the mips5 test. + +2003-04-03 Philip Blundell + + * gas/arm/offset.s: New test. + * gas/arm/arm.exp (run_errors_test): Run it. + +2003-04-02 Chris Demetriou + + * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes. + + * gas/mips/mips.exp: Define new "gpr_ilocks" architecture + property, and add it to mips2 (and later) chips and r3900. + * gas/mips/uld2.s: New test source file. + * gas/mips/ulh2.s: Likewise. + * gas/mips/ulw2.s: Likewise. + * gas/mips/uld2.l: New test stderr listing. + * gas/mips/ulh2.l: Likewise. + * gas/mips/ulw2.l: Likewise. + * gas/mips/uld2-eb.d: New test. + * gas/mips/uld2-el.d: Likewise. + * gas/mips/ulh2-eb.d: Likewise. + * gas/mips/ulh2-el.d: Likewise. + * gas/mips/ulw2-eb-ilocks.d: Likewise. + * gas/mips/ulw2-eb.d: Likewise. + * gas/mips/ulw2-el-ilocks.d: Likewise. + * gas/mips/ulw2-el.d: Likewise. + * gas/mips/mips.exp: Run new tests for appropriate architectures. + +2003-04-01 Bob Wilson + + * gas/xtensa/all.exp: New file. + * gas/xtensa/entry_align.s: Likewise. + * gas/xtensa/entry_misalign2.s: Likewise. + * gas/xtensa/entry_misalign.s: Likewise. + * gas/xtensa/j_too_far.s: Likewise. + * gas/xtensa/loop_align.s: Likewise. + * gas/xtensa/loop_misalign.s: Likewise. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * gas/arm/arm.exp: Run iwmmxt test. + * gas/arm/iwmmxt.s: New test source file. + * gas/arm/iwmmxt.d: New test expected results file. + * gas/elf/elf.exp: Fix section2 test to cope with note section. + * gas/eld/section2.e-miwxxmt: New test expected results file. + +2003-03-12 Alexandre Oliva + + * gas/mips/branch-misc-2.s: Add branch to symbol in another + section. + * gas/mips/branch-misc-2.l: Update error messages and warnings. + +2003-03-12 Alexandre Oliva + + * Reverted previous patch. + +2003-03-02 Thiemo Seufer + + * gas/mips/bge.d: Reactivate external branch tests. + * gas/mips/bge.s: Likewise. + * gas/mips/bgeu.d: Likewise. + * gas/mips/bgeu.s: Likewise. + * gas/mips/blt.d: Likewise. + * gas/mips/blt.s: Likewise. + * gas/mips/bltu.d: Likewise. + * gas/mips/bltu.s: Likewise. + * gas/mips/branch-misc-2.d: New File. + * gas/mips/branch-misc-2.l: Remove. + * gas/mips/mips.exp: Adjust branch-misc-2 test. + +2003-02-21 Nick Clifton + + * gas/all/test-gen.c: New file: Framework for automatically + generating assembler test files. + * gas/all/test-examples.c: New file: Example of a file using + test-gen.c. + + * gas/arm/maverick.c: Rework to produce correct test files and + fix formatting. + * gas/arm/maverick.s: Regenerate. + * gas/arm/maverick.d: Regenerate. + * gas/arm/arm.exp: Always run Maverick tests. + +2003-02-21 Richard Sandiford + + * gas/mips/elf-rel14.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2003-02-07 Richard Sandiford + + * gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests. + * gas/mips/mips.exp: Run them. + +2003-02-07 Richard Sandiford + + * gas/mips/expr1.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2003-02-06 Gwenole Beauchesne + + * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes. + * gas/i386/x86-64-opcode.d: Adjust to suit. + +2003-02-04 Hans-Peter Nilsson + + * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change. + +2003-02-02 Richard Sandiford + + * gas/mips/elf-rel8.[sd], gas/mips/elf-rel9.[sd], + gas/mips/elf-rel10.[sd], gas/mips/elf-rel11.[sd]: New tests. + * gas/mips/mips.exp: Run elf-rel8 and elf-rel9 for all elf + targets. Run elf-rel10 and elf-rel11 for NewABI targets. + +2003-01-27 Alexandre Oliva + + * gas/mips/n32-consec.d: New. + * gas/mips/n32-consec.s: New. + * gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and + mips64*-linux* systems. + +2003-01-23 Martin Schwidefsky + + * gas/s390/reloc.s: Add test for PLT reloc against locally defined + but global function. + * gas/s390/reloc.d: Likewise. + * gas/s390/reloc64.s: Likewise. + * gas/s390/reloc64.d: Likewise. + +2003-01-21 Adrian Bunk + + * gas/sparc/sparc.exp (sparc_elf_setup): All NetBSD ELF targets + should pass these tests. + +2003-01-20 Martin Schwidefsky + + * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff + relocations. + * gas/s390/reloc.s: Likewise. + * gas/s390/reloc64.d: Likewise. + * gas/s390/reloc64.s: Likewise. + +2003-01-07 DJ Delorie + + * gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs. + +2003-01-02 Jeff Johnston + + * gas/iq2000: New testsuite. + +2003-01-02 Chris Demetriou + + * gas/mips/elf_arch_mips32r2.d: Fix file description comment. + +2002-12-31 Chris Demetriou + + * gas/mips/cp0sel-names-mips32.d: New test. + * gas/mips/cp0sel-names-mips32r2.d: New test. + * gas/mips/cp0sel-names-mips64.d: New test. + * gas/mips/cp0sel-names-numeric.d: New test. + * gas/mips/cp0sel-names-sb1.d: New test. + * gas/mips/cp0sel-names.s: New test source file. + * gas/mips/mips.exp: Run new tests. + +2002-12-30 Chris Demetriou + + * gas/mips/elf_arch_mips1.d: New test. + * gas/mips/elf_arch_mips2.d: New test. + * gas/mips/elf_arch_mips3.d: New test. + * gas/mips/elf_arch_mips4.d: New test. + * gas/mips/elf_arch_mips5.d: New test. + * gas/mips/elf_arch_mips32.d: New test. + * gas/mips/elf_arch_mips32r2.d: New test. + * gas/mips/elf_arch_mips64.d: New test. + * gas/mips/empty.s: New test source file. + * gas/mips/mips.exp: Run new tests. + + * gas/mips/elf_ase_mips16.d: Change to use empty.s + * gas/mips/elf_ase_mips16.s: Remove. + +2002-12-30 Chris Demetriou + + * gas/mips/cp0-names-mips32r2.d: New test. + * gas/mips/hwr-names-mips32r2.d: New test. + * gas/mips/hwr-names-numeric.d: New test. + * gas/mips/hwr-names.s: New test source file. + * gas/mips/mips32r2.d: New test. + * gas/mips/mips32r2.s: New test source file. + * gas/mips/mips32r2-ill.l: New test. + * gas/mips/mips32r2-ill.s: New test source file. + * gas/mips/mips.exp: Add mips32r2 architecture data array + entry. Run new tests mentioned above. + +2002-12-24 Dmitry Diky + + * gas/msp430: New directory. + * gas/msp430/msp430.exp: Test msp430 assembler. + * gas/msp430/opcode.s: Test source file. + * gas/msp430/opcode.s: Expected disassembly. + +2002-12-27 Chris Demetriou + + * gas/mips/mips.exp: Define the notion of an "architecture data + array," add comments indicating how to add a new architecture and + suggestions for adding new tests. Populate the architecture data + array with many known architectures and convert many tests to + be run for multiple architectures. + (mips_arches): New global array. + (mips_arch_create, mips_arch_list_all, mips_arch_data) + (mips_arch_displayname, mips_arch_properties) + (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches) + (mips_arch_list_matching): New functions to operate on mips_arches. + (run_dump_test_arch, run_dump_test_arches, run_list_test_arch) + (run_list_test_arches): New functions. + (run_list_test): Document and add an optional "test name" argument. + * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags, + and CPU names from test names. + * gas/mips/add.d: Likewise. + * gas/mips/and.d: Likewise. + * gas/mips/dli.d: Likewise. + * gas/mips/jal-empic-elf-2.d: Likewise. + * gas/mips/jal-empic-elf-3.d: Likewise. + * gas/mips/jal-empic-elf.d: Likewise. + * gas/mips/lb-svr4pic.d: Likewise. + * gas/mips/lb.d: Likewise. + * gas/mips/mips32.d: Likewise. + * gas/mips/mips4.d: Likewise. + * gas/mips/mips64.d: Likewise. + * gas/mips/rol-hw.d: Likewise. + * gas/mips/rol.d: Likewise. + * gas/mips/rol64-hw.d: Likewise. + * gas/mips/rol64.d: Likewise. + * gas/mips/elf-jal.d: Likewise. Also, indicate ELF in test name. + * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this + test uses the -mdmx flag. + * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that + this test uses the -mips3d flag. + * gas/mips/mips64-mips3d-incl.d: New file. + +2002-12-27 Chris Demetriou + + * gas/mips/cp0-names-mips32.d: New file. + * gas/mips/cp0-names-mips64.d: New file. + * gas/mips/cp0-names-numeric.d: New file. + * gas/mips/cp0-names-sb1.d: New file. + * gas/mips/cp0-names.s: New file. + * gas/mips/fpr-names-32.d: New file. + * gas/mips/fpr-names-64.d: New file. + * gas/mips/fpr-names-n32.d: New file. + * gas/mips/fpr-names-numeric.d: New file. + * gas/mips/fpr-names.s: New file. + * gas/mips/gpr-names-32.d: New file. + * gas/mips/gpr-names-64.d: New file. + * gas/mips/gpr-names-n32.d: New file. + * gas/mips/gpr-names-numeric.d: New file. + * gas/mips/gpr-names.s: New file. + * gas/mips/mips.exp: Run new tests. + +2002-12-20 Chris Demetriou + + * lib/gas-defs.exp (run_dump_test): Add a new optional argument, + "extra_options". + +2002-12-18 Chris Demetriou + + * gas/mips/rol.s: Add ".set noat" and some new instructions to test. + * gas/mips/rol64.s: Likewise. + * gas/mips/rol.l: New file. + * gas/mips/rol.d: Adjust to use rol.l and for rol.s changes. + * gas/mips/rol64.l: New file. + * gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes. + * gas/mips/rol-hw.d: New file. + * gas/mips/rol-hw.l: New file. + * gas/mips/rol64-hw.d: New file. + * gas/mips/rol64-hw.l: New file. + * gas/mips/mips.exp: Run rol-hw and rol64-hw tests. + +2002-12-12 Alexandre Oliva + + * gas/mips/beq.d: Comment out branches to undefined symbols, + no longer supported. + * gas/mips/beq.s: Likewise. + * gas/mips/bge.d: Likewise. + * gas/mips/bge.s: Likewise. + * gas/mips/bgeu.d: Likewise. + * gas/mips/bgeu.s: Likewise. + * gas/mips/blt.d: Likewise. + * gas/mips/blt.s: Likewise. + * gas/mips/bltu.d: Likewise. + * gas/mips/bltu.s: Likewise. + * gas/mips/mips.exp: Change branch-misc-2 test to run_list_test. + * gas/mips/branch-misc-2.d: Removed. + * gas/mips/branch-misc-2.s: Added branches to undefined symbols. + * gas/mips/branch-misc-2.l: New. + +2002-12-09 Aldy Hernandez + + * gas/ppc/booke.d: Fix msync and mbar to reflect reality. + + * gas/ppc/e500.d: Fix m[tf]pmr to reflect reality. + +2002-12-08 Stephane Carrez + + * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function; + (gas_m68hc11_warning): New function. + (gas_m68hc11_message): New function. + (top): New tests for assembler errors. + (gas_m68hc11_opcode_list): New function. + (top): New tests for opcode list. + +2002-12-08 Stephane Carrez + + * gas/m68hc11/bug-1825.s: Add some tests. + * gas/m68hc11/bug-1825.d: Update. + * gas/m68hc11/opers12.d: Update. + * gas/m68hc11/opers12-dwarf2.d: Update. + +2002-12-05 Richard Henderson + + * gas/ia64/ltoff22x-1.[ds]: New. + * gas/ia64/ia64.exp: Run it. + +2002-12-05 Jim Wilson + + * gas/ia64/opc-x.d: Regenerate. + +2002-12-05 Alan Modra + + * gas/arm/adrl.s: Pad end of .text. + * gas/arm/adrl.d: Adjust to suit. + +2002-12-04 David Mosberger + + * gas/ia64/opc-b.d: Update for instructions added by SDM2.1. + * gas/ia64/opc-b.s: Ditto. + * gas/ia64/opc-f.d: Ditto. + * gas/ia64/opc-f.s: Ditto. + * gas/ia64/opc-i.d: Ditto. + * gas/ia64/opc-i.s: Ditto. + * gas/ia64/opc-m.d: Ditto. + * gas/ia64/opc-m.s: Ditto. + * gas/ia64/opc-x.d: Ditto. + * gas/ia64/opc-x.s: Ditto. + +2002-12-03 Richard Henderson + + * gas/ia64/ldxmov-1.[ds]: New. + * gas/ia64/ldxmov-2.[ls]: New. + * gas/ia64/ia64.exp: Run them. + +2002-12-03 Alan Modra + + * gas/arm/adrl.s: Test behaviour against globals too. + * gas/arm/adrl.d: Adjust. + +2002-12-02 Nick Clifton + + * gasp: Remove entire directory tree. (Gasp has been removed from + binutils). + * config/default.asp (GASP): Remove definition and initialization. + +2002-12-01 Stephane Carrez + + * gas/m68hc11/m68hc11.exp: Rename from all.exp; run the new tests. + * gas/m68hc11/all.exp: Remove. + * gas/m68hc11/indexed12.d: New test. + * gas/m68hc11/indexed12.s: Likewise. + * gas/m68hc11/bug-1825.d: Likewise. + * gas/m68hc11/bug-1825.s: Likewise. + +2002-12-01 Stephane Carrez + + * gas/m68hc11/insns.s: Don't use .comm for stack symbol so that objdump + can find the real symbol and not a gas internal debug symbol. + * gas/m68hc11/insns.d: Update. + * gas/m68hc11/insns-dwarf2.d: Update. + * gas/m68hc11/insns12.d: Update. + * gas/m68hc11/opers12.s (min5b, min9b): Use 16 and -256 for the min. + * gas/m68hc11/opers12.d: Update after indexed offset operand fixes. + * gas/m68hc11/opers12-dwarf2.d: Likewise. + +2002-11-30 Kaz Kojima + + * sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label". + * sh/gas/sh/pic.d: Add expected output. + +2002-11-29 Nick Clifton + + * gas/arm/arch5tej.s: Replace "nop"s with tests of breakpoint + instruction. + * gas/arm/arch5tej.d: Expect "bkpt"s not nops. + +2002-11-26 Hans-Peter Nilsson + + * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test. + +2002-11-25 DJ Delorie + + * gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings. + +2002-11-19 DJ Delorie + + * gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh. + * gas/xstormy16/allinsn.d: Regenerate. + * gas/xstormy16/allinsn.s: Regenerate. + +2002-11-18 Svein E. Seldal + + * gas/all/gas.exp: Setup for tic4x testcase + * gas/macros/macros.exp: Ditto + * gas/tic4x: New tic4x gas testsuite directory + * gas/tic4x/addressing.s: Create. Fix bug in one insn + * gas/tic4x/addressing_c3x.d: Create and update + * gas/tic4x/addressing_c4x.d: Create and update + * gas/tic4x/allopcodes.S: Create. Add support for new + opclass.h changes. + * gas/tic4x/data.d: Create + * gas/tic4x/data.s: Create + * gas/tic4x/float.d: Create + * gas/tic4x/float.s: Create + * gas/tic4x/opclasses.h: Create. Added testsuites for the + new enhanced opcodes. + * gas/tic4x/opcodes.s: Create (regenerate). + * gas/tic4x/opcodes_c3x.d: Create. Updated from enhanced + changes + * gas/tic4x/opcodes_c4x.d: Create. Ditto. + * gas/tic4x/rebuild.sh: Create + * gas/tic4x/registers.s: Create + * gas/tic4x/registers_c3x.d: Create + * gas/tic4x/registers_c4x.d: Create + * gas/tic4x/zeros.d: Create + * gas/tic4x/zeros.s: Create + * gas/tic4x/opcodes_new.d: Added new testsuite for + the enhanced and special insns. + * gas/tic4x/tic4x.exp: Create. Added the opcodes_new testsuite + +2002-11-12 Alan Modra + + * gas/ppc/booke.d: Adjust output for corrected condition reg. + +2002-11-07 Nick Clifton + + * gas/all/gas.exp: Only run fastcall test for x86 PE targets. + +2002-11-07 Casper S. Hornstrup + + * gas/all/gas.exp: Run fastcall label handling test. + * gas/all/fastcall.s: New file for testing handling of fastcall + labels. + +2002-11-01 H.J. Lu + + * gas/i386/i386.exp: Add "sub". + + * gas/i386/sub.d: New. + * gas/i386/sub.s: New. + +2002-10-22 H.J. Lu + + * gas/mips/branch-misc-2.d: Updated. + +2002-10-23 Hans-Peter Nilsson + + * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s, + gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests. + +2002-10-21 Richard Sandiford + + * gas/mips/elf-rel7.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2002-10-12 Alexandre Oliva + + * gas/mips/mips.exp: Don't xfail relax. + * gas/mips/relax.s: Increase coverage. + * gas/mips/relax.d: Add expected output. Use relax.l for as stderr. + * gas/mips/relax.l: New file. + +2002-10-11 Kaz Kojima + + * gas/sh/tlsd.s, gas/sh/tlsd.d: New. + * gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. + * gas/sh/tlspic.s, gas/sh/tlspic.d: New. + * gas/sh/basic.exp: Add new tests. + +2002-10-09 Stephen Clarke + + * gas/elf.exp: Don't run for sh64*-*-linux*, because it sets the + lsb in SHmedia code addresses. + * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable + recognition of SH-1/2/3/4 instructions. + (proc do_fp): Do not run dsp tests for sh64*-*-linux*. + * gas/sh/sh64/abi-32.d: Adjust expected output to include + sh64*-*-linux* formats too. + * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, + gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, + gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, + gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, + sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, + gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, + gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, + gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, + gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, + gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, + gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, + gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, + gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, + gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, + gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, + gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, + gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, + gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, + gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, + gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, + gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, + gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, + gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, + gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, + gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, + gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, + gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, + gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, + gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, + gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, + gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, + gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, + gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, + gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, + gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, + gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, + gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, + gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, + gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, + gas/sh/sh64/ua64-1.d: Likewise. + +2002-10-03 Chris Demetriou + + * gas/mips/mips-no-jalx.l: Make error message regexps accomodate + tools which target a specific CPU by default. + +2002-10-03 Kaz Kojima + + * testsuite/gas/sh/pcrel2.d: Check code also. + +2002-10-02 Stephen Clarke + + * gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS* + symbol generation. + * gas/sh/sh64/ptc64-noexp-1.d: Likewise. + +2002-09-30 H.J. Lu + + * gas/mips/mips.exp: Undo the last change. + +2002-09-30 H.J. Lu + + * gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and + empic3_g2 on Linux/mips. + +2002-09-30 H.J. Lu + + * gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the + rest of output. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + DJ Delorie + Michael Meissner + Eric Christopher + Richard Sandiford + + * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... + * gas/mips/vr4111.[sd]: ...this new test. + * gas/mips/vr4120.[sd], + * gas/mips/vr4122.[sd], + * gas/mips/vr5400.[sd], + * gas/mips/vr5500.[sd]: New tests. + * mips.exp: Run them. + +2002-09-27 Kaz Kojima + + * gas/sh/pcrel2.s: New. + * gas/sh/pcrel2.d: New. + * gas/sh/basic.exp: Add pcrel2 test. + +2002-09-27 Jason Thorpe + + * gas/vax/elf-rel.[ds]: New test. + * gas/vax/quad.exp: Move contents to... + * gas/vax/vax.exp: ...here. New file. + +2002-09-27 H.J. Lu + + * gas/mips/mips-jalx.s: Add ".p2align 4". + * gas/mips/mips16-jalx.s: Likewise. + + * gas/mips/mips-jalx.d: Check nop. + * gas/mips/mips16-jalx.d: Likewise. + +2002-09-26 Thiemo Seufer + + * gas/mips/mips-jalx.d: New file, check jalx assembly. + * gas/mips/mips-jalx.s: Likewise. + * gas/mips/mips-no-jalx.l: Likewise. + * gas/mips/mips-no-jalx.s: Likewise. + * gas/mips/mips16-jalx.d: Likewise. + * gas/mips/mips16-jalx.s: Likewise. + * gas/mips/mips.exp: Add new tests. + +2002-09-26 Thiemo Seufer + + * gas/mips/jal-range.s: Fix jump overflow check. + * gas/mips/jal-range.l: Likewise. + +2002-09-23 Nick Clifton + + * gas/arm/armv1-bad.s: Add LDM and STM instructions which are + unpredictable because of their use of the writeback bit. + +2002-09-21 Nick Clifton + + * gas/arm/inst.s: Fix UNPREDICATABLE use of writeback in LDM/STM + instructions. + * gas/arm/inst.d: Update expected results. + +2002-09-19 Jakub Jelinek + + * gas/i386/tlspic.s: Add tests. + * gas/i386/tlspic.d: Regenerated. + * gas/i386/tlsnopic.s: Add tests. + * gas/i386/tlsnopic.d: Regenerated. + +2002-09-19 Richard Henderson + + * gas/alpha/elf-reloc-7.s: New. + * gas/alpha/elf-reloc-7.d: New. + * gas/alpha/alpha.exp: Run it. + +2002-09-18 Chris Demetriou + + * gas/mips/mips-abi32-pic2.s: New file. + * gas/mips/mips-abi32-pic2.d: New file. + * gas/mips/mips.exp: Run new test. + +2002-09-18 Chris Demetriou + + * gas/mips/baddata1.s: New file. + * gas/mips/baddata1.l: New file. + * gas/mips/mips.exp: Run new test. + +2002-09-18 Chris Demetriou + + * gas/mips/branch-misc-1.d: New file. + * gas/mips/branch-misc-1.s: New file. + * gas/mips/branch-misc-2.s: New file. + * gas/mips/branch-misc-2.d: New file. + * gas/mips/mips.exp: Run new tests. + +2002-09-17 Thiemo Seufer + + * gas/mips/jal-range.s: Check for jal overflows. + * gas/mips/jal-range.l: List file for it. + * gas/mips/mips.exp: Use it. + +2002-09-08 Ben Elliston + + * gas/hppa/basic/basic.exp: Update DejaGnu mail address. + * gas/hppa/parse/parse.exp: Likewise. + * gas/hppa/reloc/reloc.exp: Likewise. + * gas/hppa/unsorted/unsorted.exp: Likewise. + * gas/mn10200/basic.exp: Likewise. + * gas/mn10300/basic.exp: Likewise. + * gas/sh/basic.exp: Likewise. + * gas/sh/sh64/sh64.exp: Likewise. + * gas/v850/basic.exp: Likewise. + * lib/gas-defs.exp: Likewise. + + * gas/all/gas.exp: Removing limping support for DejaGnu 1.1.1. + * gasp/gasp.exp: Likewise. + +2002-09-05 Alan Modra + + * gas/i386/absrel.s: New. + * gas/i386/absrel.d: New. + * gas/i386/pcrel.s: New. + * gas/i386/pcrel.d: New. + * gas/i386/i386.exp: Run them. + * gas/testsuite/gas/mmix/comment-1.d: Don't test the symbol + index, the name will do. + * gas/mri/moveml.d: Escape dots. + * gas/macros/macros.exp (strings): Add rs6000-*-* to xfails. + * gas/mips/beq.s: Don't make text_label global. + * gas/mips/mips32.s: Likewise. + * gas/mips/mips64-mips3d.s: Likewise. + +2002-08-28 Alan Modra + + * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust + to suit. Match coff relocs. Match "from address pool" comments. + * gas/sparc/pcrel.s: Use 2b label in expressions. + * gas/sparc/pcrel64.s: Likewise. + * gas/sparc/pcrel.d: Adjust to suit. + * gas/sparc/pcrel64.d: Likewise. + * gas/vtable/vtable.exp: Move xfails to .. + (proc vtable_setup_xfails): .. here. Add i866. + + * gas/macros/macros.exp (strings): Update xfails. + +2002-08-26 Alan Modra + + * gas/m68k/all.exp: xfail non-ELF targets on pcrel test. + + * gas/m68hc11/insns.d: Quote dots. + * gas/m68hc11/opers12.d: Likewise. + + * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails. + + * gas/vax/quad.exp: Use quad_elf.s for ELF targets. + * gas/vax/quad.s: Align + * gas/vax/quad_elf.s: New version of quad.s with %reg. + + * gas/sparc/sparc.exp (sparc_elf_setup): New. + Use it to xfail for non-ELF targets. + + * gas/tic54x/align.s: Add comment. + * gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change. + * gas/tic54x/extaddr.d: Similarly adjust disassembly tail. + +2002-08-22 Nick Clifton + + * gas/arm/arch5tej.s: Add nops to align output. + * gas/arm/arch5tej.d: Expect nops. + * gas/arm/arm7t.s: Add nops, remove thumb instructions. + * gas/arm/arm7t.d: Expect nops. + * gas/arm/armv1.s: Add nops. + * gas/arm/armv1.d: Expect nops. + * gas/arm/fpa-mem.s: Add nops. + * gas/arm/fpa-mem.d: Expext nops. + * gas/arm/vfp1.s: Add nops. + * gas/arm/vfp1.d: Expect nops. + * gas/arm/xscale.s: Add nops. + * gas/arm/xscale.d: Expect nops. + * gas/arm/arm.exp: Do not run thumb tests for arm-aout + toolchain. + +2002-08-22 Alan Modra + + * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets. + * gas/ppc/astest2.d: Escape dots. + +2002-08-20 Richard Sandiford + + * gas/mips/rol.s: Add rotate by zero tests. + * gas/mips/rol.d: Update accordingly. + * gas/mips/rol64.d: Expect rotates by zero to use dsrl. + +2002-08-19 Elena Zannoni + + From matthew green + * e500.s: New tests for e500 instructions. + * e500.d: Results for new test. + * ppc.exp: Test e500.s. + +2002-08-16 Stephen Clarke + + * gas/sh/sh64/datal32-3.d: Formatting change to match the current + output of objdump. + +2002-08-16 Alan Modra + + * gas/all/gas.exp (forward references): Don't test c30. + * gas/d30v/guard-debug.d: Use -gstabs rather than -g. + * gas/elf/ehopt0.s: Don't use "$" in labels. + * gas/ieee-fp/x930509a.exp: Don't test c30. + * gas/m68hc11/malis.d: Adjust -I so that test runs when not building + in source dir. + * gas/mri/mri.exp: Don't run on "m68hc*". + * gas/sh/basic.exp (do_fp): Match LE too. + (pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to + "sh*-rtems". + * gas/sh/pcrel-coff.d: Add -EB to objdump flags. + * gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in + preference to not running on ELF targets that might one day pass. + Add more xfails. Add more targets to the REL list. + +2002-08-14 H.J. Lu + + * gas/mips/elempic.d: Treat "addiu" and "daddiu" as equivalent + when $0 is source. + * gas/mips/telempic.d: Likewise. + * gas/mips/telempic.d: Likewise. + +2002-08-13 Stephane Carrez + + * gas/m68hc11/all.exp: Run the new test. + * gas/m68hc11/insns12.s: New file to test specific 68HC12 insns. + * gas/m68hc11/insns12.d: New file. + * gas/m68hc11/branchs12.s: New test. + * gas/m68hc11/branchs12.d: New test. + + * gas/m68hc11/all_insns.d: Dump the relocs to verify that they + are against symbols and not sections (for linker relaxation). + * gas/m68hc11/insns-dwarf2.d: Likewise. + * gas/m68hc11/insns.d: Likewise. + * gas/m68hc11/lbranch.d: Likewise. + * gas/m68hc11/lbranch-dwarf2.d: Likewise. + * gas/m68hc11/opers12.d: Likewise. + * gas/m68hc11/opers12-dwarf2.d: Likewise. + +2002-08-12 Richard Sandiford + + * gas/mips/elf-consthilo.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2002-08-09 Maciej W. Rozycki + + * gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when + $0 is source. + +2002-08-09 Jakub Jelinek + + * gas/i386/gotpc.s: New. + * gas/i386/gotpc.d: New. + * gas/i386/i386.exp: Add gotpc test. + +2002-08-06 Alan Modra + + * gas/ppc/altivec_xcoff64.d: Adjust for aix5 target. + * gas/ppc/booke_xcoff64.d: Likewise. Also fix relocs. + +2002-08-01 H.J. Lu + + * gas/mips/elf-rel6.s: Add ".p2align 4". + * gas/mips/elf-rel6.d: Check nop. + +2002-08-01 Richard Sandiford + + * gas/mips/elf-rel6.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2002-07-29 Chris Demetriou + + * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking. + * gas/mips/elf_ase_mips16.s: Likewise. + * gas/mips/mips.exp: Run the new test. + +2002-07-26 Alan Modra + + * gas/ppc/altivec.d: Invoke "as" with "-a32". + +2002-07-25 Richard Sandiford + + * gas/mips/mips-gp32-fp64.d, + * gas/mips/mips-gp32-fp64-pic.d: Add -mfp64. + +2002-07-19 Hans-Peter Nilsson + + * gas/mmix/list-pseudoints.l: Adjust for changes in gas section + padding. + * gas/mmix/greg7.d: Ditto. + * gas/mmix/greg8.d: Ditto. + * gas/mmix/fb-2.d: Ditto. + * gas/mmix/comment-1.d: Ditto. + * gas/mmix/byte-1.d: Ditto. + +2002-07-17 H.J. Lu + + * gas/ia64/dv-branch.d: Updated. + * gas/ia64/opc-b.d: Likewise. + +2002-07-08 Alan Modra + + * gas/i386/intel16.s: New. + * gas/i386/intel16.d: New. + * gas/i386/i386.exp: Run it. + +2002-07-03 Alan Modra + + * lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf + with LC_ALL=C to ensure consistent sorting. + +2002-06-18 Dave Brolley + + * gas/frv: New testsuite. + +Mon Jun 17 16:23:59 2002 J"orn Rennecke + + * gas/sh/dsp.s: Add three more instructions. + * gas/sh/dsp.d: Update. + +2002-06-14 Daniel Jacobowitz + + * gas/mips/lineno.d: Use --gstabs. + * gas/mips/mips.exp (lineno.s): Remove XFAIL. + +2002-06-12 Tom Rix + + * gas/ppc/aix.exp: Run tests for all versions of powerpc AIX. Add + text alignment tests. + * gas/ppc/textalign-xcoff-001.d: New Test. + * gas/ppc/textalign-xcoff-002.d: New Test. + * gas/ppc/test1xcoff32.d : Change text section alignment. + * gas/ppc/booke_xcoff.d: Remove invalid pad. + +2002-06-06 J"orn Rennecke + + * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). + * testsuite/gas/sh/pcrel.d: Update. + * testsuite/gas/sh/pcrel.l: New file. + +2002-06-06 John David Anglin + + * gas/hppa/basic/add.s: Set code level to 1.1. + * gas/hppa/basic/branch.s: Likewise. + * gas/hppa/basic/dcor.s: Likewise. + * gas/hppa/basic/logical.s: Likewise. + * gas/hppa/basic/shladd.s: Likewise. + * gas/hppa/basic/sub.s: Likewise. + * gas/hppa/basic/unit.s: Likewise. + * gas/hppa/unsorted/unsorted.exp: Return if target "*-*-linux*". + +2002-05-31 Chris G. Demetriou + + * gas/mips/sb1-ext-mdmx.s: New file. + * gas/mips/sb1-ext-mdmx.d: Likewise. + * gas/mips/mips.exp: Run new "sb1-ext-mdmx" test. + +2002-05-31 Chris G. Demetriou + + * gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for + mipsisa64*-*-* targets, rather than e32-rel2 and e32el-rel2. + +2002-05-30 Chris G. Demetriou + + * gas/mips/mips64-mdmx.s: Tweak to more thoroughly cover + instruction encodings. + * gas/mips/mips64-mdmx.d: Likewise. + +2002-05-30 Chris G. Demetriou + + * gas/mips/mips64-mdmx.s: New file. + * gas/mips/mips64-mdmx.d: Likewise. + * gas/mips/mips.exp: Run new "mips64-mdmx" test. + +2002-05-30 Richard Henderson + + * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New. + * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New. + * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New. + * gas/alpha/alpha.exp: Run them. + +2002-05-30 Tom Rix + + * gas/d10v/d10v.exp: Add -gstabs packing, sequence control + packing, warning, instruction packing, label, immediate and, + error tests. + * gas/d10v/instruction_packing-001.d - intruction_packing-010.d: + New tests. + * gas/d10v/control-001.d: New test. + * gas/d10v/warning-001.d - warning-019.d: New tests. + * gas/d10v/label-001.d: New test. + * gas/d10v/error-001.d - error-002.d : New tests. + * gas/d10v/immediate-001.d - immediate-007.d: New tests. + + * lib/gas-defs.exp (run_dump_test): Add error option. + +2002-05-28 Kuang Hwa Lin + + * gas/dlx: New directory: DLX gas testsuite + * alltests.exp: New file: Test driver + * branch.d: New file: Expected results. + * branch.s: New file: Test branch insns. + * itype.d: New file: Expected results. + * itype.s: New file: Test ordinary insns. + * lhi.d: New file: Expected results. + * lhi.s: New file: Test load hi insns. + * load.d: New file: Expected results. + * load.s: New file: Test load insns. + * rtype.d: New file: Expected results. + * rtype.s: New file: Test arithmetic insns. + * store.d: New file: Expected results. + * store.s: New file: Test store insns. + +2002-05-23 Jakub Jelinek + + * gas/i386/tlspic.s: New file. + * gas/i386/tlsd.s: New file. + * gas/i386/tlsnopic.s: New file. + * gas/i386/tlsd.d: New file. + * gas/i386/tlsnopic.d: New file. + * gas/i386/tlspic.d: New file. + * gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. + * gas/ia64/tls.s: New file. + * gas/ia64/tls.d: New file. + * gas/ia64/ia64.exp: Add tls test. + +2002-05-23 Tom Rix + + * gas/d10v/d10v.exp: Add instruction packing test. + * gas/d10v/instruction_packing.s : New test. + +2002-05-22 Tom Rix + + * gas/d10v/d10v.exp: Renamed from d10.exp. Add address-* tests. + * gas/d10v/address-001.s - address-041.s : New tests. + +2002-05-23 H.J. Lu + + * gas/mips/elf-rel.d: Skip the padding. + * gas/mips/elfel-rel.d: Likewise. + +2002-05-23 H.J. Lu + + * gas/all/align2.d: New. + * gas/all/align2.s: New. + + * gas/all/gas.exp: Run align2. + +2002-05-22 H.J. Lu + + * gas/mips/elf-rel.d: Updated for the subsegs_finish change in + write.c. + * gas/mips/elfel-rel.d: Likewise. + +Wed May 22 14:26:07 2002 J"orn Rennecke + + * gas/sh/pcrel-coff.s: New file. + * gas/sh/pcrel-coff.d: Likewise. + * gas/sh/basic.exp: For coff, don't do dsp test, + and a modified pcrel test. + +2002-05-22 Thiemo Seufer + + * gas/mips/rol64.s: New file, test of drol, dror macros. + * gas/mips/rol64.d: Likewise. + * gas/mips/mips.exp: Add new test. + +2002-05-20 Nick Clifton + + * gas/arm/arm.exp: Replace deprecated command line switches + with their modern equivalents. + * gas/arm/arm7t.d: As above. + * gas/arm/armv1.d: As above. + * gas/arm/fpa-dyadic.d: As above. + * gas/arm/fpa-mem.d: As above. + * gas/arm/fpa-monadic.d: As above. + * gas/arm/inst.d: As above. + * gas/arm/ldconst.d: As above. + * gas/arm/xscale.d: As above. + +2002-05-13 Alan Modra + + * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros. + * gas/i386/x86-64-opcode.d: Adjust. + +2002-05-02 Nick Clifton + + * gas/arm/arm7t.s: Add thumb mode "sub r?, #0" and "add r?, #0". + * gas/arm/arm7t.d: Add expected results. (Make sure that the + subtract is not converted into an add). + +2002-04-23 H.J. Lu + + * gas/mips/elempic.d: Use empic.l. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + +2002-04-23 H.J. Lu + + * gas/hppa/parse/parse.exp: Don't expect failure on line separator + test on hppa*-*-linux* nor hppa*-*-netbsd*. + +2002-04-22 Chris Demetriou + + * gas/mips/mips-gp64-fp32.l: New file. + * gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr + output. + * gas/mips/mips-gp64-fp64.l: New file. + * gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr + output. + +2002-04-22 Chris Demetriou + + * lib/gas-defs.exp (run_dump_test): Support new attribute "stderr" + which is a file used to regexp_diff the assembler's pruned stderr + output. + (write_file): New helper function to write a string into a file. + + * gas/mips/empic.l: New file which matches empic tests' warnings. + * gas/mips/empic.d: Use empic.l. + +2002-04-19 Nick Clifton + + * gas/all/gas.exp (cofftag): Do not run test for xscale-coff + toolchain. + (struct, align, incbin): Use case switch so that other targets to + be skipped can be added in the future. + +2002-04-17 matthew green + + * gas/ppc/altivec.d: Fix dssall test. + * gas/ppc/altivec.s: Likewise. + * gas/ppc/altivec_xcoff.d: Likewise. + * gas/ppc/altivec_xcoff.s: Likewise. + * gas/ppc/altivec_xcoff64.d: Likewise. + * gas/ppc/altivec_xcoff64.s: Likewise. + +2002-04-04 Nick Clifton + + * gas/mips/mips.exp: Remove spurious whaitespace. + Open out one-line if-then-else test clauses so that other clauses + can be inserted in the future. + +2002-03-19 Bo Thorsen + + * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes. + * gas/i386/x86-64-opcode.s: Likewise + +2002-03-15 Chris G. Demetriou + + * gas/mips/mips64-mips3d.s: New file. + * gas/mips/mips64-mips3d.d: Likewise. + * gas/mips/mips.exp: Run new "mips64-mips3d" test. + +2002-03-15 Chris G. Demetriou + + * gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for + mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2. + +2002-03-14 Hans-Peter Nilsson + + * gas/mmix/weak1.d, gas/mmix/weak1.d: New test. + +2002-03-05 Paul Koning + + * gas/pdp11/pdp11.exp: New file. + * gas/pdp11/opcode.s: Ditto. + * gas/pdp11/opcode.d: Ditto. + +2002-02-22 Bo Thorsen + + * i386.exp: Add x86-64-opcode (checks valid opcodes) and x86-64-inval + (checks invalid opcodes) checks + * x86-64-inval.l: New file. + * x86-64-inval.s: New file. + * x86-64-opcode.d: New file. + * x86-64-opcode.s: New file. + +2002-02-26 Chris Demetriou + + * gas/mips/empic2.d: Adjust for the fact that relocations on + symbols local to this file are resolved at assembly time into + section-relative relocations, even if the symbols are extern. + * gas/mips/empic2.s: Add file offset information, so the next + person to do the math mentioned above has an easier time. + * gas/mips/jal-empic-elf.d: New test. + * gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-2.s: New test. + * gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf-3.s: New test. + * gas/mips/mips.exp: Run the new tests. + +2002-02-25 Thiemo Seufer + + * mips-gp64-fp32-pic.d: Fix test of 64bit register loads. + * mips-gp64-fp32-pic.s: Likewise. + * mips-gp64-fp32.d: Likewise. + * mips-gp64-fp32.s: Likewise. + * mips-gp64-fp64-pic.d: Likewise. + * mips-gp64-fp64-pic.s: Likewise. + * mips-gp64-fp64.d: Likewise. + * mips-gp64-fp64.s: Likewise. + +2002-02-25 Alan Modra + + * gas/hppa/reloc/reloc.exp: Update copyright date. + +2002-02-24 Hans-Peter Nilsson + + * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d: + Adjust to changes in readelf output. + +2002-02-22 Nick Clifton + + * gasp/gasp.exp: If gasp does not exist, do not complain, just + exit silently. + +2002-02-20 Tom Rix + + * gas/ppc/ppc.exp: Add xcoff booke tests. + * gas/ppc/booke_xcoff.s: New. + * gas/ppc/booke_xcoff.d: New. + * gas/ppc/booke_xcoff64.s: New. + * gas/ppc/booke_xcoff64.d: New. + +2002-02-18 Daniel Jacobowitz + + * gas/sh/basic.exp: Don't run PIC tests for targets that don't + support it. + +2002-02-14 Tom Rix + + * gas/ppc/ppc.exp: Add xcoff altivec tests. + * gas/ppc/altivec_xcoff.s: New. + * gas/ppc/altivec_xcoff.d: New. + * gas/ppc/altivec_xcoff64.s: New. + * gas/ppc/altivec_xcoff64.d: New. + +2002-02-13 Ben Elliston + + * gasp/flonums.asm: New test. + * gasp/flonums.err: New result. + * gasp/flonums.out: Likewise. + +2002-02-12 John David Anglin + + * gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit + hppa_fix_adjustable change. + +2002-02-09 Richard Henderson + + * gas/alpha/elf-reloc-5.s, gas/alpha/elf-reloc-5.d: New. + * gas/alpha/elf-reloc-6.s, gas/alpha/elf-reloc-6.l: New. + * gas/alpha/alpha.exp: Run them. + +2002-02-08 Chris Demetriou + + * gas/mips/mips.exp: Document (but do not XFAIL) currently-failing + MIPS ECOFF tests, providing what information is known about + the origins of the failures. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2002-02-01 Alexandre Oliva + * gas/sh/sh64/syntax-1.s: Remove `-4' from @(expr-4,pc). + 2002-01-28 Alexandre Oliva + * gas/sh/sh64/crange1-1.d: Formatting changes to match the current + output of objdump. + * gas/sh/sh64/crange1-2.d: Likewise. + * gas/sh/sh64/crange2-2.d: Likewise. + * gas/sh/sh64/crange3-1.d: Likewise. + * gas/sh/sh64/crange4-1.d: Likewise. + * gas/sh/sh64/datal-2.d: Likewise. + * gas/sh/sh64/datal32-1.d: Likewise. + * gas/sh/sh64/datal32-3.d: Likewise. + * gas/sh/sh64/localcom-1.d: Likewise. + * gas/sh/sh64/mix-1.d: Likewise. + * gas/sh/sh64/pt32-1.d: Likewise. + * gas/sh/sh64/rel32-1.d: Likewise. + * gas/sh/sh64/rel32-2.d: Likewise. + * gas/sh/sh64/rel32-3.d: Likewise. + * gas/sh/sh64/rel32-4.d: Likewise. + * gas/sh/sh64/rel32-5.d: Likewise. + * gas/sh/sh64/ua32-1.d: Likewise. + 2001-03-14 DJ Delorie + * gas/sh/sh64/endian-1.d: New test - Little Endianness. + * gas/sh/sh64/endian-1.s: New test - Little Endianness. + * gas/sh/sh64/endian-2.d: New test - Big Endianness. + * gas/sh/sh64/endian-2.s: New test - Big Endianness. + 2001-03-12 DJ Delorie + * gas/sh/sh64/syntax-1.d: New test - basic syntax. + * gas/sh/sh64/syntax-1.s: New test - basic syntax. + * gas/sh/sh64/syntax-2.d: New test - basic syntax, pseudos. + * gas/sh/sh64/syntax-2.s: New test - basic syntax, pseudos. + 2001-03-06 DJ Delorie + * gas/sh/sh64/lineno.d: New, test dwarf2 line numbers vs macros. + * gas/sh/sh64/lineno.s: Ditto. + 2001-01-14 Hans-Peter Nilsson + * gas/sh/sh64/err-dsp.s: New test. + 2001-01-13 Hans-Peter Nilsson + * gas/sh/sh64/err-abi-64.s, gas/sh/sh64/err-abi-32.s, + gas/sh/sh64/abi-64.s, gas/sh/sh64/abi-64.d, gas/sh/sh64/abi-32.s, + gas/sh/sh64/abi-32.d, gas/sh/sh64/crange3.s, + gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4.s, + gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5.s, + gas/sh/sh64/crange5-1.d: New tests. + 2001-01-07 Hans-Peter Nilsson + * gas/sh/sh64/relax-1.s, gas/sh/sh64/relax-1.d: New test. + * gas/sh/sh64/err-pt-1.s: New test. + * gas/sh/sh64/relax-2.s, gas/sh/sh64/relax-2.d: New test. + * gas/sh/sh64/localcom-1.s, gas/sh/sh64/localcom-1.d: New test. + * gas/sh/sh64/movi-3.s, gas/sh/sh64/movi-3.d: New test. + * gas/sh/sh64/relax-3.s, gas/sh/sh64/relax-3.d: New test. + 2001-01-05 Hans-Peter Nilsson + * gas/sh/sh64/case-noexp-1.d: Adjust to changed GAS output for + check-PTA/PTB / perhaps-change-to-PTB bit in target field. + * gas/sh/sh64/case-noexp-1.d: Ditto. + * gas/sh/sh64/mix-noexp-1.d: Ditto. + * gas/sh/sh64/pt32-noexp-2.d: Ditto. + * gas/sh/sh64/pt64-noexp-2.d: Ditto. + * gas/sh/sh64/ptc32-noexp-1.d: Ditto. + * gas/sh/sh64/ptc64-noexp-1.d: Ditto. + * gas/sh/sh64/ptext32-noexp-1.d: Ditto. + * gas/sh/sh64/ptext64-noexp-1.d: Ditto. + 2000-12-31 Hans-Peter Nilsson + * gas/sh/sh64/shift64-3.d: Fix typo. + * gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/shift32-noexp-3.d, + gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/ptext64-32-1.d, + gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptc64-noexp-1.d, + gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc32-noexp-1.d, + gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/pt64-32-2.d, + gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt32-noexp-2.d, + gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/movi64-noexp-2.d, + gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/mix-noexp-1.d, + gas/sh/sh64/err-ptb-2.s, gas/sh/sh64/err-ptb-1.s, + gas/sh/sh64/err-pt32-cmd3.s, gas/sh/sh64/err-pt32-cmd2.s, + gas/sh/sh64/err-pt32-cmd1.s, gas/sh/sh64/err-noexp-cmd1.s, + gas/sh/sh64/err-movi-noexp-1.s, gas/sh/sh64/crange2.s, + gas/sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange2-2.d, + gas/sh/sh64/crange2-1.d, gas/sh/sh64/case-noexp-1.d: New tests. + 2000-12-18 Hans-Peter Nilsson + * gas/sh/sh64/err-4.s: Use option -no-mix to see errors. Adjust + for errors not being emitted at the .mode directives anymore. + * gas/sh/sh64/crange1.s, gas/sh/sh64/crange1-2.d, + gas/sh/sh64/crange1-1.d: New tests for .cranges section. + 2000-12-12 Hans-Peter Nilsson + * gas/sh/sh64/err-3.s: New test. + * gas/sh/sh64/immexpr1.s, gas/sh/sh64/immexpr32-1.d, + gas/sh/sh64/immexpr64-1.d: New tests. + * gas/sh/sh64/immexpr2.s, gas/sh/sh64/immexpr32-2.d, + gas/sh/sh64/immexpr64-2.d: New tests. + 2000-12-11 Hans-Peter Nilsson + * gas/sh/sh64/rel-1.s, gas/sh/sh64/rel-2.s, gas/sh/sh64/rel-3.s, + gas/sh/sh64/rel-4.s, gas/sh/sh64/rel-5.s, gas/sh/sh64/rel32-1.d, + gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, + gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, + gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, + gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, + gas/sh/sh64/rel64-5.d: New tests. + 2000-12-07 Hans-Peter Nilsson + * gas/sh/sh64/case-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/pt32-1.d, + gas/sh/sh64/pt64-1.d, gas/sh/sh64/ptc32-1.d, + gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptext32-1.d, + gas/sh/sh64/ptext64-1.d: Correct offsets in PT/PTA/PTB expansion. + 2000-12-05 Hans-Peter Nilsson + * gas/sh/sh64/datal-3.s, gas/sh/sh64/datal32-3.d, + gas/sh/sh64/datal64-3.d: New tests. + 2000-11-27 Hans-Peter Nilsson + * gas/sh/sh64/datal-1.s: Remove whitespace at end of line. + * gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal64-1.d, + gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, + gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-3.d: Correct register. + * gas/sh/sh64/mix-1.s, gas/sh/sh64/mix-1.d, gas/sh/sh64/err-4.s: + New tests. + 2000-11-26 Hans-Peter Nilsson + * gas/macros/macros.exp: Import xfail sh*-*-* from net binutils. + * gas/sh/sh64/case-1.d: Correct offsets in PT/PTA/PTB expansion. + gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt64-1.d: Ditto. + gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Ditto. + gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext64-1.d: Ditto. + 2000-11-25 Hans-Peter Nilsson + * gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Correct. + * gas/sh/sh64/datal-1.s, gas/sh/sh64/datal32-1.d, + gas/sh/sh64/datal64-1.d: New test. + * gas/sh/sh64/datal-2.s, gas/sh/sh64/datal-2.d: New test. + * gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-1.s: New test. + * gas/sh/sh64/creg-2.d, gas/sh/sh64/creg-2.s: New test. + 2000-11-24 Hans-Peter Nilsson + * gas/sh/sh64: New testsuite. + +2002-02-06 Alexandre Oliva + + * gas/sh/pic.d, gas/sh/pic.s: New test. + * gas/sh/basic.exp: Run it. + +2002-02-05 Alan Modra + + * gas/ppc/test1elf64.d: Tweak arch name. + +2002-02-04 Alexandre Oliva + + * gas/sh/pcrel.d, gas/sh/pcrel.s: New test. + * gas/sh/basic.exp: Run it. + +2002-02-04 Hans-Peter Nilsson + + * gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d, + gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d, + gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New + tests for base-plus-offset relocations and global register + allocations for weak and common symbols. + +2002-02-02 Alan Modra + + * gas/elf/elf.exp: Don't special case v850. + +2002-02-01 Hans-Peter Nilsson + + * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d, + gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s, + gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s, + gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests. + +2002-01-22 Alexandre Oliva + + * gas/mn10300/basic.exp (run_list_test): New proc, from alpha. + * gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests. + +2002-01-22 Richard Henderson + + * gas/alpha/unop.s, gas/alpha/unop.d: New test. + * gas/alpha/alpha.exp: Run it. + +2002-01-21 Thomas Klausner + + * gas/cris/cris.exp: Comment typo fix + +2002-01-18 Richard Earnshaw + Keith Walker + + * gas/arm/arch5tej.s gas/arm/arch5tej.d: New files. + * gas/arm/arm.exp (arch5tej): New dump test. + +2002-01-18 Richard Earnshaw + + * gas/arm/vfp1.d: Use new command-line options. + * gas/arm/vfp1xD.d: Likewise. + * gas/arm/arm.exp (vfp-bad): Likewise. + * gas/arm/maverick.d: Likewise. + +2002-01-17 Timothy Wall + + * gas/tic54x/labels.s (after_macro): Correct comments. + +2002-01-15 Richard Earnshaw + + * gas/arm/vfp1.s gas/arm/vf1.d: New files. + * gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files. + * gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files. + * gas/arm/arm.exp: Run new VFP tests. + +2002-01-15 Nick Clifton + + * gas/elf/section2.e-m32r: New file. + * gas/elf/elf.exp: Use section2.e-m32r for m32r targets. + + * gas/sh/dsp.d: Fix expected results. + +2002-01-14 Nick Clifton + + * gas/elf/elf.exp (run_list_test): Use section2.e-mips script for + v850-elf toolchain. + +2002-01-14 Richard Earnshaw + + * gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d + arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s, + arm/fpa-dyadic.d: New tests. + * gas/arm/le-fpconst.d (objdump): pass --section=.text + * gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets. + +2002-01-14 Richard Earnshaw + + * gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files. + * gas/arm/arm.exp (run_error_test): New proc. + (armv1-bad): New error test. + +2002-01-11 Richard Earnshaw + + * gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with + immediate pseudo-operations. + * gas/arm/arm.exp: Run it. + +2002-01-10 matthew green + + * gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update. + * gas/xstormy16/allinsn.d: Regenerate. + * gas/xstormy16/allinsn.s: Regenerate. + +2002-01-09 Richard Earnshaw + + * gas/arm/float.s: Don't use VFP register names in fpa instructions. + +2002-01-08 H.J. Lu + + * gas/mips/elf-rel.s: New tests for nested (). + + * gas/mips/elf-rel.d: Modified for nested () tests. + * gas/mips/elfel-rel.d: Likewise. + +2002-01-05 Daniel Jacobowitz + + * gas/mips/jal-svr4pic.s: Add .ent and .frame directives. + * gas/mips/mips-abi32-pic.s: Add .frame directive. + * gas/mips/mips-gp32-fp32-pic.s: Likewise. + * gas/mips/mips-gp32-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + +2002-01-02 Chris Demetriou + + * gas/mips/empic3_e.d: New file to test -membedded-pic + R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. + * gas/mips/empic3_e.s: Likewise. + * gas/mips/empic3_g1.d: Likewise. + * gas/mips/empic3_g1.s: Likewise. + * gas/mips/empic3_g2.d: Likewise. + * gas/mips/empic3_g2.s: Likewise. + * gas/mips/mips.exp: Run the new tests. + +2001-12-21 Anders Norlander + + * gas/all/incbin.dat: New [binary] file. + * gas/all/incbin.s: Use incbin.dat instead of incbin.s. + * gas/all/incbin.d: Reflect change in incbin.s + +2001-12-20 Alexandre Oliva + + * gas/sh/err-at.s: New test. + +2001-12-18 Hans-Peter Nilsson + + * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number + handling. + +2001-12-07 Geoffrey Keating + matthew green + + * gas/xstormy16/allinsn.d: New file. + * gas/xstormy16/allinsn.exp: New file. + * gas/xstormy16/allinsn.s: New file. + * gas/xstormy16/allinsn.sh: New file. + * gas/xstormy16/gcc.d: New file. + * gas/xstormy16/gcc.s: New file. + * gas/xstormy16/gcc.sh: New file. + * gas/xstormy16/reloc-1.d: New file. + * gas/xstormy16/reloc-1.s: New file. + * gas/xstormy16/reloc-2.d: New file. + * gas/xstormy16/reloc-2.s: New file. + +2001-12-08 Alan Modra + + * gas/all/incbin.s: Add spaces before directives. + * gas/all/incbin.d: Update. + +2001-12-07 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/parse/linesepbug.s: Restore to its original form, + reverting change of July 19, 2000. + +2001-12-05 Richard Earnshaw + + * gas/arm/xscale.s, gas/arm/xscale.d (pld tests): PLD instruction has + no post-indexed addressing modes. + +2001-11-25 Andreas Jaeger + + * gas/all/gas.exp (incbin): Fix condition. + +2001-11-23 Jeffrey A Law (law@cygnus.com) + + * gas/all/gas.exp (incbin): Do not run on the PA. + + * gas/hppa/parse/parse.exp: Expect failure on line separator bug. + +2001-11-16 Chris Demetriou + + * gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test + to test symbol plus offset relocations in various ways. + * gas/mips/mips.exp: Run new test. + +2001-11-15 Alan Modra + + * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. + +2001-11-11 Timothy Wall + + * gas/tic54x/sections.[sd]: Check for named, initialized sections + defaulting to CODE and DATA. + * gas/tic54x/align.[sd]: While breaking compatibility with TI's + assembler, the difference is not worth the effort to fix. We'd + prefer the assembler *not* fill the section alignment. + * gas/tic54x/all-opcodes.d: Verify Lmem opcodes have proper + length. + * gas/tic54x/labels.s: Document differences from TI tools. + * gas/tic54x/extaddr.d: Match output. + * gas/all/gas.exp: On c54x targets, don't do any tests that use + p2align. + * gas/macros/macros.exp: Expect failure matching use of .ascii. + +2001-11-12 Thiemo Seufer + + * gas/mips/mips.exp: Change naming of some conditionals to reflect + the object format they actually mean. Don't try mips-abi32 and + mips-abi32-pic tests for ecoff. + +2001-11-11 Hans-Peter Nilsson + + * gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d: + Prune and generalize, adjusting to generic ELF file layout changes. + +2001-11-04 Chris Demetriou + + * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. + (aout): Don't set if *-*-netbsd*. + +2001-11-02 NIIBE Yutaka + + * gas/sh/basic.exp: For Linux, add "-big" option for the + invocation of gas. + +2001-11-01 Stephane Carrez + + * gas/m68hc11/opers12.s: Add test for disassembler bug with movb + instruction. + * gas/m68hc11/opers12.d: Likewise. + * gas/m68hc11/opers12-dwarf2.d: Likewise. + +2001-10-31 Chris Demetriou + + * gas/mips/empic.s: Undo damage inflicted on 2000-12-02. + * gas/mips/empic.d: Likewise. + * gas/mips/elempic.d: Likewise (it was copied into other files). + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + + * gas/mips/empic2.s: New test to check new 'la' and 'lw' (and + related ops) syntax, test loads with large offsets. + * gas/mips/emcic2.d: Likewise. + * gas/mips/mips.exp: Run the new test on ELF platforms. + +2001-10-31 Nick Clifton + + * gas/mmix/pop-op.l: Update to match latest listing behaviour. + * gas/mmix/reloc8.l: Update to match latest listing behaviour. + * gas/mmix/resume-op.l: Update to match latest listing behaviour. + * gas/mmix/save-op.l: Update to match latest listing behaviour. + * gas/mmix/unsave-op.l: Update to match latest listing behaviour. + +2001-10-31 Hans-Peter Nilsson + + * gas/mmix/tst.s: Delete unused file. + * gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s, + gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s, + gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s, + gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s, + gas/mmix/fb-2.s: Remove trailing empty lines. + +2001-10-30 Hans-Peter Nilsson + + * gas/mmix: New testsuite directory. + +2001-10-24 Chris Demetriou + + * gas/mips/ld-empic.d: Remove extra whitespace at beginning of + file introduced in the change on 2001-05-15. + +2001-10-24 Chris Demetriou + + * gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte". + Delete use of ".size". + * gas/mips/mips-abi32.s: Likewise. + * gas/mips/mips-gp32-fp32-pic.s: Likewise. + * gas/mips/mips-gp32-fp32.s: Likewise. + * gas/mips/mips-gp32-fp64-pic.s: Likewise. + * gas/mips/mips-gp32-fp64.s: Likewise. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp32.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp64.s: Likewise. + +2001-10-23 Chris Demetriou + + * gas/mips/beq.s: Add zero words at end of instructions so + that objdump will print "..." when disassembling. + * gas/mips/beq.d: Update for disassembler changes which force + branch delay-slot nops to be printed. + * gas/mips/bge.d: Ditto. + * gas/mips/bgeu.d: Ditto. + * gas/mips/blt.d: Ditto. + * gas/mips/bltu.d: Ditto. + * gas/mips/jal-svr4pic.d: Ditto. + * gas/mips/jal-xgot.d: Ditto. + +2001-10-20 H.J. Lu + + * gas/elf/ehopt0.s: Lose ",@progbits". + +2001-10-17 Chris Demetriou + + * gas/mips/mips.exp (sb1-ext-ps): New test to test + SB-1 core's paired-single extensions to the MIPS64 ISA. + * gas/mips/sb1-ext-ps.d: New file. + * gas/mips/sb1-ext-ps.s: New file. + +2001-10-17 matthew green + + * gas/ppc/altivec.s: New test for AltiVec. + * gas/ppc/altivec.d: New file. + * gas/ppc/ppc.exp: Test altivec.s + +2001-10-16 Hans-Peter Nilsson + + * gas/sh/err-le.s, gas/sh/err-be.s: New tests. + +2001-10-13 matthew green + + * gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, + mtdcr, msync, dcba, mbar): New BookE tests. + * gas/ppc/booke.d: Update for new BookE tests. + +2001-10-12 matthew green + + * gas/ppc/booke.s: New test for Motorola BookE. + * gas/ppc/booke.d: New file. + * gas/ppc/ppc.exp: Test booke.s. + +2001-10-09 Nick Clifton + + * sh/basic.exp: Add dsp dump test. + * sh/dsp/d: New file: Expected output of disassembly of dsp.s + * sh/dsp.s: New file: Test assembly source of DSP single data + transfer instructions. + +2001-10-08 Aldy Hernandez + + * gas/arm/arm.exp: Run arm9e tests. + + * gas/arm/maverick.c: New. + + * gas/arm/maverick.d: New. + + * gas/arm/maverick.s: New. + +2001-10-04 Thiemo Seufer + + * gas/mips/mips-gp64-fp32-pic.d: Use 32bit instructions for addresses. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp32.d: Likewise. + * gas/mips/mips-gp64-fp32.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.d: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp64.d: Likewise. + * gas/mips/mips-gp64-fp64.s: Likewise. + * gas/mips/elempic.d: Likewise. + * gas/mips/ld.d: Likewise. + * gas/mips/uld.d: Likewise. + * gas/mips/usd.d: Likewise. + +2001-09-29 H.J. Lu + + * gas/i386/i386.exp: Run 64bit tests only for "i*86-*-* and + x86_64-*-*. + +2001-09-18 Martin Schwidefsky + + * gas/s390: New directory. + * gas/s390/opcode.d: New file. + * gas/s390/opcode.s: New file. + * gas/s390/opcode64.d: New file. + * gas/s390/opcode64.s: New file. + * gas/s390/operands.d: New file. + * gas/s390/operands.s: New file. + * gas/s390/operands64.d: New file. + * gas/s390/operands64.s: New file. + * gas/s390/reloc.d: New file. + * gas/s390/reloc.s: New file. + * gas/s390/reloc64.d: New file. + * gas/s390/reloc64.s: New file. + * gas/s390/s390.exp: New file. + +2001-09-07 Eric Christopher + + * gas/mips/mips64.d: Change to use isa64. + * gas/mips/mips32.d: Change to use isa32. + +2001-09-07 Thiemo Seufer + + * gas/mips/mips-abi32-pic.s: Remove .set mips4 pseudo-op. + * gas/mips/mips-abi32.s: Likewise. + * gas/mips/mips-gp32-fp32-pic.s: Likewise. + * gas/mips/mips-gp32-fp32.s: Likewise. + * gas/mips/mips-gp32-fp64-pic.s: Likewise. + * gas/mips/mips-gp32-fp64.s: Likewise. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp32.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp64.s: Likewise. + +2001-09-07 Thiemo Seufer + + * gas/mips/beq.d: Check branches to external labels. + * gas/mips/beq.s: Likewise. + * gas/mips/bge.d: Likewise. + * gas/mips/bge.s: Likewise. + * gas/mips/bgeu.d: Likewise. + * gas/mips/bgeu.s: Likewise. + * gas/mips/blt.d: Likewise. + * gas/mips/blt.s: Likewise. + * gas/mips/bltu.d: Likewise. + * gas/mips/bltu.s: Likewise. + * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. + * gas/mips/empic.d: Likewise. + * gas/mips/empic.s: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + +2001-09-06 Thiemo Seufer + + * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16 + relocations, tradtional variant. + +2001-08-04 Richard Henderson + + * gas/alpha/alpha.exp: New file. + * gas/alpha/elf-reloc-1.[sd]: New test. + * gas/alpha/elf-reloc-2.[sl]: New test. + * gas/alpha/elf-reloc-3.[sl]: New test. + * gas/alpha/elf-reloc-4.[sd]: New test. + * gas/alpha/fp.exp: Remove file. + * gas/alpha/fp.s: Output to .data not .rdata. + * gas/alpha/fp.d: Adjust to match. + +2001-09-04 Jeffrey A Law (law@cygnus.com) + + * gas/all/gas.exp (930509a): Expect failure on the H8/300 ELF port. + + * gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300 + ELF toolchain. + * gas/h8300/h8300-elf.exp: Likewise. + + * gas/macros/macros.exp: Expect failure on all H8/300 ports. + + * gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports. + +2001-08-30 J"orn Rennecke + + * gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation. + (do_h8300_branch, do_h8300h_cbranch, do_h8300h_branch): Likewise. + (do_h8300s_cbranch, do_h8300s_branch, ffxx1): Likwise. + * gas/h8300/h8300-coff.exp, gas/h8300/h8300-elf.exp: New files. + * gas/h8300/branch-elf.s, gas/h8300/branchh-elf.s: Likewise. + * gas/h8300/branchs-elf.s, gas/h8300/ffxx1-elf.d: Likewise. + * gas/h8300/ffxx1-elf.s: Likewise. + * gas/h8300/branch.s, gas/h8300/branchh.s: Move to: + * gas/h8300/branch-coff.s, gas/h8300/branchh-coff.s + * gas/h8300/branchs.s, gas/h8300/ffxx1.d: Move to: + * gas/h8300/branchs-coff.s, gas/h8300/ffxx1-coff.d . + * gas/h8300/ffxx1.s: Move to: + * gas/h8300/ffxx1-coff.s . + +2001-08-29 J"orn Rennecke + + * lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show + where mismatch occurs due to regexp mismatch. + +2001-08-27 Staffan Ulfberg + Alan Modra + + * gas/macros/macros.exp: xfail powerpc-*-aix. + * gas/ppc/astest64.s: New. + * gas/ppc/astest64.d: New. + * gas/ppc/astest2_64.s: New. + * gas/ppc/astest2_64.d: New. + * gas/ppc/test1elf.asm: New. + * gas/ppc/test1xcoff.asm: New. + * gas/ppc/generate.sh: New. Generate new files below from above .asm + * gas/ppc/test1elf32.s: New. + * gas/ppc/test1elf32.d: New. + * gas/ppc/test1elf64.s: New. + * gas/ppc/test1elf64.d: New. + * gas/ppc/test1xcoff32.s: New. + * gas/ppc/test1xcoff32.d: New. + * gas/ppc/ppc.exp: Run new tests. + * gas/ppc/simpshft.s: Tweak align now that we get nops. + +2001-08-24 Thiemo Seufer + + * binutils-all/readelf.exp: Don't regard mips*el-*-* as traditional + mips. + * gas/mips/mips.exp: Likewise. Use traditional testcases for + mips${el}16-f if needed. + * gas/mips/elempic.d: New file, testcase for little endian empic. + * gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump. + * gas/mips/mips16-f.d: Use non-traditional symbol sorting. + * gas/mips/mipsel16-f.d: Likewise. + * gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16 + relocations. + * gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16 + relocations, traditional variant. + +2001-08-17 H.J. Lu + + * gas/sparc/unalign.d: Support Sparc V9. + +2001-08-16 Thiemo Seufer + + * gas/mips/mips.exp: Added performance counter test. + * gas/mips/perfcount.s: New File. Test of performance counter opcodes. + * gas/mips/perfcount.d: Likewise. + +2001-08-12 Nick Clifton + + * gas/sparc/unalign.s: Extend test to check .uaword with multiple + arguments. + * gas/sparc/unalign.d: Extend to expect unaligned relocs for both + arguments to .uaword. + +2001-08-10 H.J. Lu + + * gas/mips/e32-rel2.d: Updated for the objdump output change. + * gas/mips/e32el-rel2.d: Likewise. + * gas/mips/elf-rel.d: Likewise. + * gas/mips/elf-rel2.d: Likewise. + * gas/mips/elf-rel3.d: Likewise. + * gas/mips/elf_e_flags1.d: Likewise. + * gas/mips/elf_e_flags2.d: Likewise. + * gas/mips/elf_e_flags3.d: Likewise. + * gas/mips/elf_e_flags4.d: Likewise. + * gas/mips/elfel-rel.d: Likewise. + * gas/mips/elfel-rel2.d: Likewise. + * gas/mips/elfel-rel3.d: Likewise. + * gas/mips/empic.d: Likewise. + * gas/mips/mips16-e.d: Likewise. + * gas/mips/mips16-f.d: Likewise. + * gas/mips/mipsel16-f.d: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + + * gas/mips/mips16-f.d: Fix the symbol table output. + + * gas/mips/mipsel16-f.d: Fix the endian. + + * gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f. + +2001-08-10 Richard Sandiford + + * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves. + * gas/mips/mips-gp32-fp64.d: Likewise. + * gas/mips/mips-abi32.d: Likewise. + * gas/mips/mips-gp32-fp32-pic.d: Likewise. + * gas/mips/mips-gp32-fp64-pic.d: Likewise. + * gas/mips/mips-abi32-pic.d: Likewise. + +2001-07-21 Thiemo Seufer + + * mips/lb.d: Reflect disassembler output fixes. + * mips/mips32.d: Likewise. + * mips/mips64.d: Likewise. Typo. + * mips/sb.d: Likewise. + * mips/trunc.d: Likewise. + +2001-08-04 H.J. Lu + + * gas/cris/operand-err-1.s: Updated. + +2001-08-04 H.J. Lu + Chris G. Demetriou + + * gas/mips/e32-rel4.s: Removed. + + * gas/mips/e32-rel4.d: Use elf-rel4.s. + + * gas/mips/mips.exp: Use the same rel4 test for litte endian. + + * gas/mips/mips-abi32-pic.d: Add lines for objdump. + * gas/mips/mips-abi32.d: Likewise. + * gas/mips/mips-gp32-fp32-pic.d: Likewise. + * gas/mips/mips-gp32-fp32.d: Likewise. + * gas/mips/mips-gp32-fp64-pic.d: Likewise. + * gas/mips/mips-gp32-fp64.d: Likewise. + * gas/mips/mips-gp64-fp32-pic.d: Likewise. + * gas/mips/mips-gp64-fp32.d: Likewise. + * gas/mips/mips-gp64-fp64-pic.d: Likewise. + * gas/mips/mips-gp64-fp64.d: Likewise. + + * gas/mips/mips-abi32-pic.s: Add space for objdump. + * gas/mips/mips-abi32.s: Likewise. + * gas/mips/mips-gp32-fp32-pic.s: Likewise. + * gas/mips/mips-gp32-fp32.s: Likewise. + * gas/mips/mips-gp32-fp64-pic.s: Likewise. + * gas/mips/mips-gp32-fp64.s: Likewise. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp32.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp64.s: Likewise. + + * gas/mips/mips-abi32-pic.s: Add the missing .end. + * gas/mips/mips-gp32-fp32-pic.s: Likewise. + * gas/mips/mips-gp32-fp64-pic.s: Likewise. + * gas/mips/mips-gp64-fp32-pic.s: Likewise. + * gas/mips/mips-gp64-fp64-pic.s: Likewise. + +2001-08-03 Richard Sandiford + + * gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test. + * gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test. + + * gas/mips/mips.exp: Run new tests. + +2001-08-02 Richard Sandiford + + * gas/mips/mips-gp32-fp32, + * gas/mips/mips-gp32-fp64, + * gas/mips/mips-gp64-fp32, + * gas/mips/mips-gp64-fp64, + * gas/mips/mips-abi32, + * gas/mips/mips-gp32-fp32-pic, + * gas/mips/mips-gp32-fp64-pic, + * gas/mips/mips-gp64-fp32-pic, + * gas/mips/mips-gp64-fp64-pic, + * gas/mips/mips-abi32-pic: New testcases. + + * gas/mips/mips.exp: Run them. + +2001-08-01 Alan Modra + + * gas/elf/section2.l: Adjust warning message comparison. + +2001-07-31 Richard Sandiford + + * gas/mips/mips.exp (el): New variable. + Use it to pick ELF reloc tests. + +2001-07-26 Chris Demetriou + + * gas/mips/lif-empic.d: Add back dollar signs before floating + point register names. + +2001-07-26 Alan Modra + + * gas/i386/relax.s: Test rs_space. + * gas/i386/relax.d: Update. + +2001-07-23 Alan Modra + + * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change. + * gas/i386/intel.d: Likewise. + +2001-07-16 Philip Blundell + + * gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for + change to disassembler. + +2001-07-14 Nick Clifton + + Fix failures in MIPS testsuite: + * gas/mips/abs.d: Pass -march=4000 to gas. + * gas/mips/eld_rel2.d: Do not expect zeroes at end of dump. + * gas/mips/elf_e_flags1.d: Pass -march=4000 to gas. + +2001-07-11 Jakub Jelinek + + * gas/sparc/unalign.s: Remove .uaxword test. + * gas/sparc/unalign.d: Adjust accordingly. + +2001-07-08 Anders Norlander + + * gas/all/gas.exp: Run incbin test. + * gas/all/incbin.s: New file. + * gas/all/incbin.d: New file. + +2001-07-04 Richard Sandiford + + * gas/mips/elf-rel3.s: Add zero word to end of file. + +2001-07-03 H.J. Lu + + * gas/mips/lb-xgot-ilocks.d: Add -march=r3900. + +2001-07-01 Ben Elliston + + * gas/m88k/allinsn.s: New file. + * gas/m88k/allinsn.d: Likewise. + * gas/m88k/m88k.exp: Test with allinsn.s also. + +2001-06-28 Eric Christopher + + * gas/mips/usd.d: Change for march/mtune. + * gas/mips/ulh-xgot.d: Ditto. + * gas/mips/uld.d: Ditto. + * gas/mips/trunc.d: Ditto. + * gas/mips/rol.d: Ditto. + * gas/mips/nodelay.d: Ditto. + * gas/mips/mul.d: Ditto. + * gas/mips/mul-ilocks.d: Ditto. + * gas/mips/trap20.d: Ditto. + * gas/mips/mips4.d: Ditto. + * gas/mips/mips16.d: Ditto. + * gas/mips/lif-xgot.d: Ditto. + * gas/mips/lif-svr4pic.d: Ditto. + * gas/mips/ld-xgot.d: Ditto. + * gas/mips/ld-svr4pic.d: Ditto. + * gas/mips/ld-ilocks-addr32.d: Ditto. + * gas/mips/lb-xgot.d: Ditto. + * gas/mips/jal-xgot.d: Ditto. + * gas/mips/jal-svr4pic.d: Ditto. + * gas/mips/delay.d: Ditto. + * gas/mips/lb-xgot-ilocks.d: Ditto. + * gas/mips/div.d: Ditto. + * gas/mips/break20.d: Ditto. + * gas/mips/delay.d: Ditto. + * gas/mips/elf_e_flags3.d: Ditto. + * gas/mips/elf_e_flags4.d: Ditto. + * gas/mips/lineno.d: Ditto. + * gas/mips/mips16.d: Ditto. + * gas/mips/mips4.d: Ditto. + * gas/mips/mips4010.d: Ditto. + * gas/mips/mips4650.d: Ditto. + +2001-06-21 Nick Clifton + + * gas/arm/arm.exp: Remove msr-bad.s test. + Select processor type for architecture specific instruction tests. + + * gas/arm/adrl.s: Add adrEQl as a test. + * gas/arm/adrl.d: Adjusted expected output. + + * gas/arm/arm7dm.s: Add "msr CPSR_x, #0" as a test instruction. + * gas/arm/msr-bad.s: Delete. + +2001-06-18 Tom Rix + + * gas/ppc/aix.exp: New file, aix specific tests. + * gas/ppc/align.s: New file, .comm alignment test. + +2001-06-13 Andreas Jaeger + + * gas/vtable/vtable.exp (run_list_test): Don't run on sparc64. + +2001-06-06 Peter Jakubek + + * gas/mri/for.d: Correct for swapped operands. + * gas/mri/if.d: Likewise. + * gas/mri/repeat.d: Likewise. + * gas/mri/while.d: Likewise. + +2001-06-12 Alan Modra + + * gas/i386/x86_64.d: Update for 2001-06-11 disassembler change. + +2001-06-10 H.J. Lu + + * gas/elf/section2.l: Match various white spaces. + +2001-06-10 H.J. Lu + + * gas/elf/section2.e: Support 64bit ELF. + * gas/elf/section2.e-mips: Likewise. + +2001-06-08 H.J. Lu + + * gas/mips/elfel-rel3.s: Moved to ... + * gas/mips/elf-rel3.s: Here. + + * gas/mips/elf-rel3.d: Updated. + + * gas/mips/elfel-rel3.d: Updated. + + * gas/mips/relax.d: New file. + * gas/mips/relax.s: Likewise. + + * gas/mips/mips.exp: Run relax and set xfail. + +2001-06-08 H.J. Lu + + * gas/mips/illegal.s: New file. + * gas/mips/illegal.l: Likewise. + + * gas/elf/elf.exp (run_list_test): New. + Run illegal with run_list_test. + +2001-06-08 H.J. Lu + + * gas/mips/elf-jal.d: New file. + + * gas/mips/mips.exp: Run "elf-jal" instead of "jal" for ELF. + +2001-06-08 Alan Modra + + * gas/elf/elf.exp (run_list_test): Undo $readelf change in 2001-06-07. + +2001-06-07 H.J. Lu + + * gas/elf/section2.e-mips: New file. + + * gas/elf/elf.exp (run_list_test): Add suffix. + Pass -mips as suffix to run_list_test for mips. + +2001-06-07 H.J. Lu + + * gas/elf/section2.l: Match ".*GAS.*" instead of + "GAS LISTING .*". + +2001-06-07 H.J. Lu + + * gas/mips/mips.exp: Set xfail for "lineno" on Linux/mips. + +2001-06-07 H.J. Lu + + * gas/mips/empic.d: Support stabs. + * gas/mips/mips16-e.d: Likewise. + * gas/mips/mips16-f.d: Likewise. + * gas/mips/mipsel16-f.d: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + +2001-06-06 H.J. Lu + + * gas/mips/elf-rel3.s: New file. + * gas/mips/elf-rel3.d: Likewise. + * gas/mips/elfel-rel3.s: Likewise. + * gas/mips/elfel-rel3.d: Likewise. + + * gas/mips/mips.exp: Run elf-rel3/elfel-rel3. + +2001-06-06 H.J. Lu + + * gas/elf/elf.exp (run_list_test): New. + Run section2 with run_list_test. + + * gas/elf/section2.e: New file. + * gas/elf/section2.l: Likewise. + * gas/elf/section2.s: Likewise. + +2001-06-04 H.J. Lu + + * gas/mips/mips4010.s: Add the missing ".end". + * gas/mips/mips4100.s: Likewise. + * gas/mips/mips4650.s: Likewise. + * gas/mips/sync.s: Likewise. + +2001-06-02 H.J. Lu + + * gas/sparc/unalign.d: Support Sparc V9. + +2001-05-28 Jeff Sturm + + * gas/sparc/unalign.s: New test. Check unaligned relocs. + * gas/sparc/unalign.d: New expected test results. + * gas/sparc/sparc.exp: Run new test. + +2001-05-27 Hans-Peter Nilsson + + * gas/cris/addi.d: Tweak for 64-bit BFD. + * gas/cris/binop-cmpmove.d: Ditto. + * gas/cris/binop-cmpmovx.d: Ditto. + * gas/cris/binop-extx.d: Ditto. + * gas/cris/binop.d: Ditto. + * gas/cris/bork.d: Ditto. + * gas/cris/branch.d: Ditto. + * gas/cris/break.d: Ditto. + * gas/cris/brokw-1.d: Ditto. + * gas/cris/brokw-2.d: Ditto. + * gas/cris/brokw-3.d: Ditto. + * gas/cris/ccr.d: Ditto. + * gas/cris/clear.d: Ditto. + * gas/cris/continue.d: Ditto. + * gas/cris/fragtest.d: Ditto. + * gas/cris/jump-type.d: Ditto. + * gas/cris/labfloat.d: Ditto. + * gas/cris/macroat.d: Ditto. + * gas/cris/movem-to-reg.d: Ditto. + * gas/cris/nosep.d: Ditto. + * gas/cris/oneop-type.d: Ditto. + * gas/cris/prefix.d: Ditto. + * gas/cris/pushpop-byte-sreg.d: Ditto. + * gas/cris/pushpop-dword-sreg.d: Ditto. + * gas/cris/pushpop-word-sreg.d: Ditto. + * gas/cris/pushpop.d: Ditto. + * gas/cris/quick-s6.d: Ditto. + * gas/cris/quick-u5.d: Ditto. + * gas/cris/quick-u6.d: Ditto. + * gas/cris/range-err-1.s: Ditto. + * gas/cris/rd-pic-1.d: Ditto. + * gas/cris/rd-regprefix-1.d: Ditto. + * gas/cris/rd-regprefix-1b.d: Ditto. + * gas/cris/reg-to-mem.d: Ditto. + * gas/cris/regreg.d: Ditto. + * gas/cris/return.d: Ditto. + * gas/cris/scc.d: Ditto. + * gas/cris/separator.d: Ditto. + * gas/cris/shexpr-1.d: Ditto. + * gas/cris/sreg-to-x.d: Ditto. + * gas/cris/test.d: Ditto. + * gas/cris/unimplemented.d: Ditto. + * gas/cris/unop-mem.d: Ditto. + * gas/cris/x-to-byte-sreg.d: Ditto. + * gas/cris/x-to-dcr1-sreg.d: Ditto. + * gas/cris/x-to-dword-sreg.d: Ditto. + * gas/cris/x-to-word-sreg.d: Ditto. + * gas/cris/shexpr-1.d: Ditto. Correct format. + +2001-05-25 H.J. Lu + + * gas/mips/e32el-rel2.d: New for little endian mips. + * gas/mips/elfel-rel2.d: Likewise. + * gas/mips/elfel-rel.d: Likewise. + * gas/mips/mipsel16-f.d: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + + * gas/mips/tempic.d: New for traditional mips. + * gas/mips/tmips16-e.d: Likewise. + + * gas/mips/elf-rel.d: Handle alignment padding. + * gas/mips/elf-rel2.d: Likewise. + + * gas/mips/mips.exp: Support little endian and traditional + mips. + +2001-05-24 H.J. Lu + + * gas/m68k/pcrel.d: Support 64bit BFD. + +2001-05-24 H.J. Lu + + * gas/arm/adrl.d: Support 64bit BFD. + * gas/arm/arm7t.d: Likewise. + * gas/arm/inst.d: Likewise. + * gas/arm/pic.d: Likewise. + * gas/arm/xscale.d: Likewise. + +2001-05-23 Alan Modra + + * gas/elf/ehopt0.d: Tweak for bigendian targets. + +2001-05-15 Thiemo Seufer + + * gas/mips/abs.d: Remove $ before register names, per latest + disassembler. + * gas/mips/add.d: Ditto. + * gas/mips/and.d: Ditto. + * gas/mips/beq.d: Ditto. + * gas/mips/bge.d: Ditto. + * gas/mips/bgeu.d: Ditto. + * gas/mips/blt.d: Ditto. + * gas/mips/bltu.d: Ditto. + * gas/mips/delay.d: Ditto. + * gas/mips/div-ilocks.d: Ditto. + * gas/mips/div.d: Ditto. + * gas/mips/dli.d: Ditto. + * gas/mips/elf_e_flags1.d: Ditto. + * gas/mips/elf_e_flags2.d: Ditto. + * gas/mips/elf_e_flags3.d: Ditto. + * gas/mips/elf_e_flags4.d: Ditto. + * gas/mips/jal-empic.d: Ditto. + * gas/mips/jal-svr4pic.d: Ditto. + * gas/mips/jal-xgot.d: Ditto. + * gas/mips/jal.d: Ditto. + * gas/mips/la-empic.d: Ditto. + * gas/mips/la-svr4pic.d: Ditto. + * gas/mips/la-xgot.d: Ditto. + * gas/mips/la.d: Ditto. + * gas/mips/lb-empic.d: Ditto. + * gas/mips/lb-svr4pic.d: Ditto. + * gas/mips/lb-xgot-ilocks.d: Ditto. + * gas/mips/lb-xgot.d: Ditto. + * gas/mips/lb.d: Ditto. + * gas/mips/ld-empic.d: Ditto. + * gas/mips/ld-ilocks-addr32.d: Ditto. + * gas/mips/ld-ilocks.d: Ditto. + * gas/mips/ld-svr4pic.d: Ditto. + * gas/mips/ld-xgot.d: Ditto. + * gas/mips/ld.d: Ditto. + * gas/mips/li.d: Ditto. + * gas/mips/lif-empic.d: Ditto. + * gas/mips/lif-svr4pic.d: Ditto. + * gas/mips/lif-xgot.d: Ditto. + * gas/mips/lifloat.d: Ditto. + * gas/mips/mips16.d: Ditto. + * gas/mips/mips32.d: Ditto. + * gas/mips/mips4.d: Ditto. + * gas/mips/mips4010.d: Ditto. + * gas/mips/mips4100.d: Ditto. + * gas/mips/mips4650.d: Ditto. + * gas/mips/mips64.d: Ditto. + * gas/mips/mul-ilocks.d: Ditto. + * gas/mips/mul.d: Ditto. + * gas/mips/nodelay.d: Ditto. + * gas/mips/rol.d: Ditto. + * gas/mips/sb.d: Ditto. + * gas/mips/trap20.d: Ditto. + * gas/mips/trunc.d: Ditto. + * gas/mips/uld.d: Ditto. + * gas/mips/ulh-empic.d: Ditto. + * gas/mips/ulh-svr4pic.d: Ditto. + * gas/mips/ulh-xgot.d: Ditto. + * gas/mips/ulh.d: Ditto. + * gas/mips/ulw.d: Ditto. + * gas/mips/usd.d: Ditto. + * gas/mips/ush.d: Ditto. + * gas/mips/usw.d: Ditto. + +2001-05-14 Richard Henderson + + * gas/elf/ehopt0.s: New. + * gas/elf/ehopt0.d: New. + * gas/elf/elf.exp: Run it. + +2001-05-12 Peter Targett + + * gas/arc/st.s: Add test case @h30 fixup. + * gas/arc/st.d: Update to suit. + +2001-05-12 Alan Modra + + * gas/i386/sse2.s: Correct cvtps2dq, movdq2q, and movq2dq + * gas/i386/sse2.d: Likewise. Fix pmuludq and punpckhqdq too. + + * gas/i386/ssemmx2.d: Correct movq. + +2001-05-10 Hans-Peter Nilsson + + * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number + handling. + +2001-05-04 Alan Modra + + * gas/i386/katmai.d: Correct pmovmskb and pextrw opcodes. + * gas/i386/ssemmx2.d: Likewise. Correct register for pextrw, + pinsrw, and pmovmskb. + * gas/i386/sse2.d: Correct register for movmskpd. + +2001-05-02 Johan Rydberg + + * gas/openrisc/addi.s: New file. + * gas/openrisc/addi.d: Likewise. + * gas/openrisc/allinsn.exp: Likewise. + * gas/openrisc/allinsn.s: Likewise. + * gas/openrisc/allinsn.d: Likewise. + * gas/openrisc/lohi.s: Likewise. + * gas/openrisc/lohi.d: Likewise. + * gas/openrisc/store.s: Likewise. + * gas/openrisc/store.d: Likewise. + +2001-04-05 Hans-Peter Nilsson + + * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, + gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, + gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, + gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, + gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d: + New tests. + * gas/cris/brokw-2.s: Correct broken-word expansion visualization + in comment. + * gas/cris/fragtest.s, gas/cris/rd-pic-1.s, + gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d, + gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d, + gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d, + gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s, + gas/cris/range-err-2.s, gas/cris/sep-err-1.s, + gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d, + gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove + trailing empty lines. + * gas/cris/continue.s: Ditto, tweak comment. + + * lib/gas-defs.exp (run_dump_test): Support using readelf. + * config/default.exp: Default READELF and READELFFLAGS. + +2001-03-31 Alan Modra + + * gas/all/cond.s: Add .if .elseif tree. + * gas/all/cond.d: Match above. + +2001-03-30 H.J. Lu + + * gas/i386/relax.d: Dump with -s instead of -drw. + +2001-03-29 H.J. Lu + + * gas/i386/relax.s: New test for relaxation between sections. + * gas/i386/relax.d: New. + + * gas/i386/i386.exp: Add tests for ELF. + +2001-03-27 Chris Demetriou + + * gas/mips/lineno.d: Allow for the possibility that + the local labels won't be in the objdump output. Match + zeros in addresses using '+' for better compatibility with + different targets. + +2001-03-26 Chris Demetriou + + * gas/mips/sync.s: Declare 'foo' as a function so that this + test will work on properly on ECOFF targets. + +2001-03-24 Alan Modra + + * gas/i386/ssemmx2.s: Change movntq to movntdq. + * gas/i386/ssemmx2.d: Matching change. + +2001-03-23 Hans-Peter Nilsson + + * gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d: + New tests. + + * gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s, + gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s. + +2001-03-19 John David Anglin + + * gas/vax/quad.exp: Correct expected result. + +2001-03-19 Andreas Schwab + + * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get + consistent output across targets. + * gas/m68k/pcrel.d: Adjusted. + +2001-03-18 H.J. Lu + + * gas/i386/intel.s: Move PIC code to ... + * gas/i386/intelpic.s: New. Here. + * gas/i386/intel.d: Updated. + * gas/i386/intelpic.d: New. + + * gas/i386/i386.exp: Check PIC code in Intel syntax for ELF + targets only. + +2001-03-18 Stephane Carrez + + * gas/mri/mri.exp: Fix test of m6811/m6812 targets. + +2001-02-26 H.J. Lu + + * gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]". + +2001-02-23 H.J. Lu + + * gas/ia64/opc-a-err.l: Fix "cmp4.lt.or". + + * gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and + "cmp4". + * gas/ia64/opc-a.s: Rebuilt. + * gas/ia64/opc-a.d: Likewise. + +2001-02-17 Chris Demetriou + + * gas/mips/mips32.d: Remove ELF dependencies. This test + wasn't meant to be ELF specific, and doesn't have to be. + * gas/mips/mips64.d: Likewise. + +2001-02-17 Chris Demetriou + + * gas/mips/mips.exp: Don't attempt the elf_e_flags family of + tests if not ELF; they test ELF-specific features. + +2001-02-08 Stephane Carrez + + * gas/mri/mri.exp: Don't execute the M68K specific tests + on m6811-elf and m6812-elf targets, still run the generic MRI tests. + +2001-02-04 Stephane Carrez + + * gas/m68hc11/malis.s: New test to verify compliance with Motorola + Assembly Language Input Standard. + * gas/m68hc11/malis.d: New file. + * gas/m68hc11/malis-include.s: New file. + * gas/m68hc11/all.exp: Add the new test. + +2001-01-12 Alan Modra + + * gas/i386/i386.exp (gas_64_check): Correct target string. + Use gas_64_check rather than target string to decided whether + x86_64 checks should run. + + * gas/i386/sse2.s: Add a label to cure objdump "no symbols" error. + * gas/i386/ssemmx2.s: Likewise. + * gas/i386/sse2.d: Update to suit. + * gas/i386/ssemmx2.s: Likewise. + +2001-01-11 Peter Targett + + * gas/arc/alias.*: Removed. + * gas/arc/branch.*: Likewise. + * gas/arc/insn3.*: Likewise. + * gas/arc/math.*: Likewise. + * gas/arc/sshift.*: Likewise. + * gas/arc/arc.exp: Simplified test process for base case + instruction set by adding run_dump_test cases for all base + instructions. + * gas/arc/adc.s, gas/arc/adc.d: New test cases and dump. + * gas/arc/add.s, gas/arc/add.d: Likewise. + * gas/arc/and.s, gas/arc/and.d: Likewise. + * gas/arc/asl.s, gas/arc/asl.d: Likewise. + * gas/arc/asr.s, gas/arc/asr.d: Likewise. + * gas/arc/b.s, gas/arc/b.d: Likewise. + * gas/arc/bic.s, gas/arc/bic.d: Likewise. + * gas/arc/bl.s, gas/arc/bl.d: Likewise. + * gas/arc/brk.s, gas/arc/brk.d: Likewise. + * gas/arc/extb.s, gas/arc/extb.d: Likewise. + * gas/arc/extw.s, gas/arc/extw.d: Likewise. + * gas/arc/flag.s, gas/arc/flag.d: Likewise. + * gas/arc/j.s, gas/arc/j.d: Likewise. + * gas/arc/jl.s, gas/arc/jl.d: Likewise. + * gas/arc/ld.s, gas/arc/ld.d: Likewise. + * gas/arc/ld2.s, gas/arc/ld2.d: Likewise. + * gas/arc/lp.s, gas/arc/lp.d: Likewise. + * gas/arc/lsr.s, gas/arc/lsr.d: Likewise. + * gas/arc/mov.s, gas/arc/mov.d: Likewise. + * gas/arc/nop.s, gas/arc/nop.d: Likewise. + * gas/arc/or.s, gas/arc/or.d: Likewise. + * gas/arc/rlc.s, gas/arc/rlc.d: Likewise. + * gas/arc/ror.s, gas/arc/ror.d: Likewise. + * gas/arc/rrc.s, gas/arc/rrc.d: Likewise. + * gas/arc/sbc.s, gas/arc/sbc.d: Likewise. + * gas/arc/sexb.s, gas/arc/sexb.d: Likewise. + * gas/arc/sexw.s, gas/arc/sexw.d: Likewise. + * gas/arc/sleep.s, gas/arc/sleep.d: Likewise. + * gas/arc/add.s, gas/arc/add.d: Likewise. + * gas/arc/st.s, gas/arc/st.d: Likewise. + * gas/arc/sub.s, gas/arc/sub.d: Likewise. + * gas/arc/swi.s, gas/arc/swi.d: Likewise. + * gas/arc/xor.s, gas/arc/xor.d: Likewise. + * gas/arc/warn.s: Removed warning test case for setting of flags + followed by conditional branch, an arc5 only feature. + + * gas/ieee-fp/x930509a.exp: Skip test if target also arc*-*-*. + + * gas/vtable/vtable.exp: Skip tests if target also arc*-*-*. + +2001-01-11 Stephane Carrez + + * gas/m68hc11/opers12.s: Add more tests for index post byte. + * gas/m68hc11/opers12.d: Likewise. + +2001-01-11 Stephane Carrez + + * gas/m68hc11/all.exp: Add new tests for dwarf2. + * gas/m68hc11/lbranch-dwarf2.d: New file, test for dwarf2. + * gas/m68hc11/opers12-dwarf2.d: Likewise. + * gas/m68hc11/insns-dwarf2.d: Likewise. + +2001-01-11 Nick Clifton + + * gas/arm/adrl.s: Add global label 'foo'. + * gas/arm/adrl.d: Expect to see references to 'foo' in the + disassembly. COFF and ELF disassemblys should now be the same. + +2001-01-10 Jan Hubicka + + * i386.exp: Add ssemmx2 and sse2 tests. + (sse2.d, sse2.s, ssemmx2.d, ssemmx2.s): New tests. + +2001-01-09 Nick Clifton + + * gas/arm/pic.d: Fix patterns to match new behaviour of + disassembler. + inst.d: Fix patterns to match new behaviour of disassembler. + +2001-01-03 Philip Blundell + + * gas/vtable/vtable.exp: Don't run tests on Alpha. + +2001-01-06 Jan Hubicka + + * i386.exp: Add tests for presence of 32bit versus 64bit output + format; run both 64bit and 32bit tests when format is available; + add x86_64 test. + * x86_64.s: New file. + * x86_64.d: New file. + +2001-01-02 Nick Clifton + + * gas/arm/arm.exp: Pass -marmv3 to msr-bad test, since the + instruction is legal in v5. Also fix expected error message. + +2001-01-01 Philip Blundell + + * gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests. + * gas/arm/arm.exp: Run them. + * gas/arm/adrl.d, gas/arm/pic.d: Expected results for above. + * gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'. + +2000-12-22 H.J. Lu + + * gas/i386/intel.s: Replace "nop" with ".p2align 4,0". + * gas/i386/intel.d: Updated. + +2000-12-12 Jim Wilson + + * gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d, + gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update. + +2000-12-12 Nick Clifton + + * gas/vtable/vtable.exp: Fix formatting. + + * gas/arm/elsegundo.s: New Test (currently disabled). + * gas/arm/elsegundo.d: Expected test results. + +2000-12-11 H.J. Lu + + * gas/i386/intel.d: Adjusted for the a.out assembler. + * gas/i386/intel.s: Likewise. + +2000-12-09 Nick Clifton + + * gas/m68k/pcrel.d: Update to match latest assembler output. + +2000-12-02 Chris Demetriou + + * gas/mips/elf_e_flags.s: Add padding to the end of the + file so that objdump output will be consistent. + * gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d, + gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: Expect + "..." at end of objdump output because of zero bytes at end + of section. + * gas/mips/elf_e_flags.c: Add note to comment about + what's changing in elf_e_flags.s. + + * gas/mips/la.s: Add padding to the end of the file so that + objdump output will be consistent. + * gas/mips/la-svr4pic.d, gas/mips/la-xgot.d: Expect "..." at + end of objdump output because of zero bytes at end of + section. + + * gas/mips/sync.s: Add padding to the end of the file so that + objdump output will be consistent. + * gas/mips/sync.d: Expect "..." at end of objdump output + because of zero bytes at end of section. + + * gas/mips/empic.d: Pad sections out to 16 bytes, to avoid + alignment issues so tests are useful on multiple targets. + * gas/mips/empic.s: Likewise. + * gas/mips/mips16-e.d: Likewise. + * gas/mips/mips16-e.s: Likewise. + * gas/mips/mips16-f.d: Likewise. + * gas/mips/mips16-f.s: Likewise. + + * gas/mips/mips32.d: Expect disassembly of madd and maddu + to use their correct names. Add tests for break and sdbbp. + * gas/mips/mips32.s: Likewise. + + * gas/mips/mips64.s: Add test for assembly of MIPS64 + extensions. + * gas/mips/mips64.d: Likewise. + * gas/mips/mips.exp: Test using the new "mips64" test. + +2000-12-01 Chris Demetriou + + * gas/mips/mips16.d: Expect mips16 nops to be used for padding + when mips16 code generation is enabled. + + * gas/mips/empic.d: Adjust for the fact that the difference + between two symbols in the same section are not expected to + generate a reloc. + * gas/mips/empic.s: Likewise. Also, correct typo in comment + about expected relocs. + + * gas/mips/mips32.s, gas/mips/mips32.d: New files for MIPS32 + instruction assembly test. + * gas/mips/mips.exp: Add the test mentioned above. + +2000-11-30 Diego Novillo + + * intel.s, intel.d: New test for @GOT references. + +2000-11-28 Hans-Peter Nilsson + + * gas/sh/err.exp: New, framework for error-testing. + * gas/sh/err-1.s: New test. + +2000-11-26 Stephane Carrez + + * gas/m68hc11/opers12.s: New test for movw operands. + * gas/m68hc11/opers12.d: Likewise. + +2000-11-24 Nick Clifton + + * arm.exp: Run tests for xscale as well as arm. + Run xscale tests. + + * xscale.s: New file: XScale instruction tests. + * xscale.d: New file: Expected XScale instruction results. + +2000-11-20 H.J. Lu + + * gas/i386/intel.d: Add 3 "nop"s for the a.out assembler. + * gas/i386/intel.s: Likewise. + +2000-11-16 H.J. Lu + + * gas/symver/symver0.d: Add 64bit support. + * gas/symver/symver1.d: Likewise. + +2000-11-16 H.J. Lu + + * gas/symver/symver.exp: Don't run symver4 nor symver5. + +2000-11-13 H.J. Lu + + * gas/symver/symver.exp: New for symver test. + * gas/symver/symver0.d: Likewise. + * gas/symver/symver0.s: Likewise. + * gas/symver/symver1.d: Likewise. + * gas/symver/symver1.s: Likewise. + * gas/symver/symver2.l: Likewise. + * gas/symver/symver2.s: Likewise. + * gas/symver/symver3.l: Likewise. + * gas/symver/symver3.s: Likewise. + * gas/symver/symver4.l: Likewise. + * gas/symver/symver4.s: Likewise. + * gas/symver/symver5.l: Likewise. + * gas/symver/symver5.s: Likewise. + * gas/symver/symver6.l: Likewise. + * gas/symver/symver6.s: Likewise. + +2000-11-11 Hans-Peter Nilsson + + * gas/macros/macros.exp: Mark strings test xfail for sh. + +2000-10-24 Diego Novillo + + * intel.s, intel.d: Add new tests for intel syntax. + +2000-10-19 Alan Modra + + * gas/elf/section0.s: Ensure section sizes are multiples of 16. + * gas/elf/section1.s: Likewise. + * gas/elf/section[01].d: Change to suit. + +2000-10-18 H.J. Lu + + * gas/i386/intel.d: Fix the support for 64bit BFD in the last + change. + +2000-10-15 Diego Novillo + + * intel.s, intel.d: Add new tests for naked registers using intel + syntax. + +2000-09-29 Hans-Peter Nilsson + + * gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s, + gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d, + gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New. + * gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d. + +2000-09-28 Alan Modra + + * gas/hppa/parse/parse.exp: Replace "hppa*w-*-*" with "hppa*64*-*-*" + * gas/hppa/reloc/reloc.exp: Likewise. + * gas/hppa/unsorted/unsorted.exp: Likewise. + + * gas/hppa/reloc/reduce.s: Modify .PARAM so we need an arg reloc. + +2000-09-22 Jim Wilson + + * gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests. + * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. + + * gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62. + * gas/ia64/dv-waw-err.s: Likewise. + * gas/ia64/dv-imply.d: Regenerate. + * gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d, + gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l, + gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise. + +2000-09-14 Timothy Wall + + * gas/ia64/dv-waw-err.[sl]: Additional tests for parallel + comparisons which should and should not produce DVs. + +2000-09-05 Alan Modra + + * gas/vtable/vtable.exp: Re-enable for hppa-elf. + +2000-08-29 Timothy Wall + + * gas/ia64/dv-mutex.s: Add stop to avoid DV error on cmp.eq. + * gas/ia64/dv-mutex.d: Update regexp pattern. + * gas/ia64/dv-entry-err.s: Add stop to avoid DV error on cmp.eq. + * gas/ia64/dv-imply.s: Add stops to avoid DV errors on cmp.REL. + Test still fails due to insn opcode pattern changes. + +2000-08-21 H.J. Lu + + * gas/all/cofftag.d: Support the strict COFF. + +2000-08-16 Jim Wilson + + * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. + * gas/ia64/dv-raw-err.l: Likewise. + * gas/ia64/dv-waw-err.l: Update sed pattern. + * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. + * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. + +2000-08-16 Nick Clifton + + * gas/arm/inst.s: Add tests for edge cases of shift based + addressing modes. + + * gas/arm/inst.d: Add expected results for new tests. + +2000-07-20 Hans-Peter Nilsson + + * gas/all/gas.exp: Don't run floating-point tests on CRIS. + * gas/ieee-fp/x930509a.exp: Ditto. + * gas/macros/macros.exp: Mark strings test xfail for CRIS. + * gas/cris/*: New tests for CRIS. + +2000-07-19 Alan Modra + + * gas/macros/macros.exp (test1): Run it for hppa*-*-linux*. + (semi): Likewise. + (strings): Don't run for hppa, except for hppa*-*-linux*. + + * gas/hppa/parse/linesepbug.s: Ensure we have whitespace before + pseudos. + +2000-07-18 Scott Bambrough + + * gas/arm/inst.d: Fix expected results to match current assembler + output. Patch from Justin Seger . + +2000-07-10 Alan Modra + + * gas/vtable/vtable.exp: Disable test for hppa. + + * gas/hppa/reloc/reloc.exp (do_relocation_reduction_tests): Don't + run test for any elf target. + (applybug): Don't run test for linux. + * gas/hppa/unsorted/unsorted.exp (do_common_text): Likewise. + * gas/hppa/parse/parse.exp (linesepbug): Remove xfail + (labelbug): xfail for hppa-linux. + + * gas/hppa/basic/{coprmem.s, fmemLRbug.s}: Add colons to labels. + * gas/hppa/parse/{callinfobug.s, regpopbug.s}: Likewise. + * gas/hppa/reloc/{applybug.s, funcrelocbug.s, longcall.s, + r_no_reloc.s, reduce3.s}: Likewise. + * gas/hppa/unsorted/common.s: Likewise. + +2000-07-05 Nick Clifton + + * gas/d30v/inst.d: Fix expected results to match current assembler + output. + * gas/d30v/bittest.l: Fix expected warning messages to match + current assembler output. + +2000-06-29 Kazu Hirata + + * gas/h8300/h8300.exp (do_h8300s_mac): Change the registers used + in ldmac and stmac. + * gas/h8300/macs.s: Likewise. + +2000-06-27 Nick Clifton + + * gas/d30v/bittest.l: Edit to match new warning messages produced + by assembler. + +2000-06-19 Timothy Wall + + * gas/macros/macros.exp: Avoid tests which are not useful on tic54x. + * gas/all/gas.exp: Make adjustments for tic54x target. + * gas/ieee-fp/x930509a.exp: Ditto. + * gas/tic54x/*: New tests for tic54x. NOTE: load page has been + moved into the LMA and is not printed separately by objdump any + longer. This still needs to be tested. + +2000-06-18 Stephane Carrez + + * gas/m68k/all.exp: Don't execute tests if the target is m68hc11&12. + * gas/m68hc11/all.exp: Specific tests for m68hc11. + * gas/m68hc11/all_insns.[ds]: Check m68hc11 instructions. + * gas/m68hc11/insns[ds]: Another test. + * gas/m68hc11/lbranch.[ds]: Check branch optimization (gas relax). + * gas/m68hc11/opers12.[ds]: New files, check m68hc12 operands. + +2000-06-17 Alan Modra + + * gas/macros/strings.s: Don't start directives in first column + (for LABELS_WITHOUT_COLONS targets). + +2000-06-14 H.J. Lu + + * gas/macros/strings.d: Support a.out and coff. + +2000-06-14 Nick Clifton + + * gas/arm/arm6.s: Remove 'mrs r9, cpsr_all' since the cpsr_all + flag is no longer legal syntax. + +2000-06-09 Nick Clifton + + * gas/macros/macros.exp: Run new test: strings. + * gas/macros/strings.s: New test: String expansion inside + macros. + * gas/macros/strings.d: New test results. + +2000-06-04 Alan Modra + + * gas/i386/prefix.s: Modify so we have at least one x86 test that + checks the line separator. + +2000-05-21 Hans-Peter Nilsson + + * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf. + +2000-05-15 Nick Clifton + + * gas/arm/arch4t.s: Add tests of new fields to msr instruction. + +2000-05-11 Ulf Carlsson + + * gas/mips/mips.exp: Include *-*-linux* in svr4pic. + + * gas/mips/jal-svr4pic.{s,d} gas/mips/jal-xgot.d: Add a jal to a + weak symbol. + +2000-05-08 Alan Modra + + * gas/mri/float.d: Fix for srec length change. + +2000-05-02 Alan Modra + + * gas/hppa/unsorted/unsorted.exp: Duplicate hppa*-*-*elf* + behaviour for hppa*-*-linux* throughout file. + * gas/hppa/reloc/reloc.exp: Ditto. + (reduce2.s): Disable test for elf targets. + + * gas/hppa/parse/parse.exp (ssbug.s): setup_xfail hppa*-*-linux*. + + * gas/elf/section0.s: Don't start pseudos on first column so + targets that define LABELS_WITHOUT_COLONS work. + * gas/elf/section1.s: Ditto. + * gas/vtable/inherit0.s: Ditto. + * gas/vtable/inherit1.s: Ditto. + * gas/vtable/entry0.s: Ditto. + * gas/vtable/entry1.s: Ditto. + +2000-05-01 Nick Clifton + + * gasp/macro.out: Fix label numbers to remove leading zeroes. + * gasp/mdouble.out: Fix label numbers to remove leading zeroes. + +2000-04-25 Alan Modra + + * gas/i386/general.l: Allow for DISP32 pe relocs. + * gas/i386/jump.d: Similarly. + +2000-04-24 Jim Wilson + + * gas/ia64/opc-i.d: Change pmin2.u to pmin2. Change pmax2.u to pmax2. + Change MLI to MLX. Switch operands for output matching tbit.z.orcm, + tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm, + tnat.nz.orcm, tnat.nz.andcm inputs. + * gas/ia64/opc-i.pl: Insert padding nops before last dep. + * gas/ia64/opc-i.s: Regenerate. + + * gas/ia64/opc-i.s: Regenerate. + * gas/ia64/opc-f.pl: Add explicit stop at end. + +2000-04-22 Timothy Wall + + * gas/ia64/opc-f.d: Disassemble zeroes to verify break.f. + * gas/ia64/opc-f.s: Add an explicit stop to make IAS output match. + +2000-04-21 Richard Henderson + David Mosberger + Timothy Wall + Jim Wilson + + * gas/vtable/vtable.exp: Disable for ia64. + * gas/ia64: New testsuite directory. + +2000-04-03 Alan Modra + + * gas/i386/general.s: Check 16-bit immediates, and move call/jump + checks to start. + * gas/i386/general.l: Likewise. + +2000-04-01 Alexandre Oliva + + * gas/mn10300/am33_5.s: Check that negative SP offsets are encoded + with 32 bits, not with the unsigned shorter opcodes. + * gas/mn10300/basic.exp: Likewise. + +2000-03-31 Alexandre Oliva + + * lib/gas-defs.exp (regexp_diff): Don't break on the first + difference, list them all. + +2000-03-29 Nick Clifton + + * gas/ieee-fp/x930509a.exp (dotest): Fix test for + LISTING_WORD_SIZE==1. + * gas/all/gas.exp (do_930509a): Same here. + * gas/all/cond.d: And here. + +2000-03-16 Nick Clifton + + * gas/arm/arm.exp: Run branch.s test. + Run tests if target is strongarm. + + * gas/arm/branch.s: New test. Make sure that assembler can handle + same-section branch relocations properly. + + * gas/arm/branch.d: New file. Expected output from assembling + branch.s. + +2000-03-10 Geoffrey Keating + + * gas/mips/empic.d: New file. + * gas/mips/empic.s: New file. + * gas/mips/mips16-e.d: New file. + * gas/mips/mips16-e.s: New file. + * gas/mips/mips16-f.d: New file. + * gas/mips/mips16-f.s: New file. + * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an + expected failure. + +2000-02-25 H.J. Lu + + * gas/i386/general.l: Support a.out and coff. + +2000-02-25 Alan Modra + + * gas/i386/intel.s: New file, intel version of opcode.s + * gas/i386/intel.d: New file, copy of opcode.d + * gas/i386/i386.exp: Call it. + + * gas/i386/general.s: Add extra "out" instructions. + * gas/i386/general.l: Likewise. + +2000-01-31 Nick Clifton + + * gas/arm/inst.s: Include test of ATPCS register naming + conventions. + + * gas/arm/float.s: Include test of ATPCS register naming + conventions. + +2000-01-21 H.J. Lu + + * gas/i386/general.l: Support a.out. + * gas/i386/jump.d: Likewise. + * gas/i386/jump16.d: Likewise. + +2000-01-21 Alan Modra + + * gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here + * gas/i386/jump16.{s,d}: To here. + * gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call + tests in general.s so that objdump is exercised. + + * gas/i386/i386.exp: Call new tests. + +2000-01-15 Alan Modra + + * gas/i386/general.{s,l}: Add jmp and call tests for .code16gcc, + .code16, and .code32 modes. + +1999-11-30 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files. + * gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise. + * gas/mn10300/{am33_7.s, am33_8.s}: Likewise. + * gas/mn10300/basic.exp: Run the am33 tests. + +1999-11-15 Gavin Romig-Koch + + * gas/mips/la.d: Adjust for new la macro expansion. + Change matches for explicit addresses to matches for + any address. + * gas/mips/la-xgot.d: Same. + * gas/mips/la-svr4pic.d: Same. + +1999-11-01 Nick Clifton + + Remove reloc generating references to local labels in test code. + Some ARM targets (eg PE) generate a reloc based on the label, + whilst others (eg ELF) generate a reloc based on the section + symbol. This meant that the disassembled outputs would differ. + + * gas/arm/inst.s: Change test of BLPL instruction. + * gas/arm/inst.d: Change expected decode of BLPL instruction. + * gas/arm/arm7t.s: Remove use of .LC0 label in .word directive. + Remove .rdata section, since this cannot exist in an arm-aout + target. + * gas/arm/arm7t.d: Change expected reloc generated for .word + directive. + +1999-10-21 Nick Clifton + + * gas/arm/arm7t.d: Update to match latest objdump output. + * gas/arm/inst.s: Fix erroneous test case. + * gas/arm/inst.d: Update to match latest objdump output. + +1999-10-11 Geoffrey Keating + + * lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some + indeterminate number of extra lines here". + + * gas/elf/elf.exp: Remove XFAILs. + * gas/elf/section0.d: Make pass on MIPS (and hopefully alpha). + * gas/elf/section1.d: Likewise. + +1999-10-07 Diego Novillo + + * gas/d10v: New directory. + * gas/d10v/d10.exp: New file. + * gas/d10v/inst.s: New file. + * gas/d10v/inst.d: New file. + +1999-10-07 Geoffrey Keating + + * gas/mips/elf-rel.s: New file. + * gas/mips/elf-rel.d: New file. + * gas/mips/elf-rel2.d: New file. + * gas/mips/e32-rel2.d: New file. + * gas/mips/elf-rel2.s: New file. + * gas/mips/mips.exp: Add elf-rel, elf-rel2. + + * gas/mips/elf_e_flags1.d: Tweak a little so it passes + even if the CPU is set to something by default. + +1999-10-04 Doug Evans + + * gas/m32r/error.exp: New testcase driver. + * gas/m32r/m32rx.exp: New testcase driver. + * gas/m32r/fslotx.[sd]: New testcase. + * gas/m32r/m32rx.[sd]: New testcase. + * gas/m32r/relax-s.[sd]: New testcase. + * gas/m32r/interfere.s: New testcase. + * gas/m32r/wrongsize.s: New testcase. + +1999-09-17 Alan Modra + + * gas/i386/i386.exp: Enable reloc and white tests for COFF. + * gas/i386/reloc.d: Accept dir32 relocs. + +1999-09-12 Donn Terry + + * gas/all/gas.exp: Run cofftag test for i*86-*-interix*. + * lib/gas-defs.exp: Add perror if can not read .d file. + +1999-09-04 Steve Chamberlain + + * gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava. + +1999-09-02 Nick Clifton + + * gas/vtable/vtable.exp: Add [istarget "strongarm*-*-*"] to run + dump test "entry0" instead of "entry1". + +1999-09-01 Scott Bambrough + + * gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump + test "entry0" instead of "entry1". ARM targets use REL relocs, + and should use the test entry0. + +1999-09-01 H.J. Lu + + * gas/i386/naked.d: Fix for coff targets. + +Mon Aug 30 12:18:40 1999 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/unsorted/*.s: Use .code instead of .SPACE/.SUBSPA for + sectioning. + * gas/hppa/unsorted/unsorted.exp: Disable tests not appropriate for + PA64. + + * gas/hppa/reloc/*.s: Use .code instead of .SPACE/.SUBSPA for + sectioning. + * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64. + Revamp address expressions slightly to handle an arbitrary sized + address. + + * gas/hppa/parse/*.s: Use .code instead of .SPACE/.SUBSPA for + sectioning. + * gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64. + + * gas/hppa/basic/*.s: Use .code instead of .SPACE/.SUBSPA for + sectioning. + +1999-08-30 Alan Modra + + * gas/i386/naked.s, gas/i386/naked.d: Test-suite addition for + allow_naked_reg parsing. + * gas/i386/i386.exp: Call it. + +1999-08-29 Alan Modra + + * gas/i386/white.s, gas/i386/white.l: Add space in FP reg tests. + +1999-08-28 Jerry Quinn + + * gas/hppa/basic/basic.exp: Add new tests shift2.s, + shift3.s, extract2.s, extract3.s, deposit2.s, and deposit3.s. + * gas/hppa/basic/shift2.s, shift3.s, extract2.s, + extract3.s, deposit2.s, deposit3.s: New. + + * gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s: + Add new syntax versions of instructions to tests. + * gas/hppa/basic/add2.s,dcor2.s,perf.s,purge2.s,shladd2.s,sub2.s, + system2.s, unit2.s: New tests. + * hppa/basic/basic.exp: Add new tests. + + * gas/hppa/basic/basic.exp: + * gas/hppa/basic/media.s: Add test cases for new instructions. + + * gas/hppa/basic/basic.exp (do_branch2,do_media): New. + * gas/hppa/basic/branch2.s: New. + * gas/hppa/basic/media.s: New. + + * gas/hppa/basic/basic.exp (do_fp_comp2): New. + * gas/hppa/basic/fp_comp2.s: New. + +1999-08-20 Alan Modra + + * gas/i386/general.s, gas/i386/general.l: Add .code16gcc + displacement checks with auto address prefix. + +1999-08-17 H.J. Lu + + * gas/elf/elf.exp: Expected to fail on alpha*-*-*. + +1999-08-09 Ian Lance Taylor + + * gas/i386/float.s, gas/i386/float.l: Modify to work correctly + when gas uses 2**4 alignment for .text. + * gas/i386/general.s, gas/i386/general.l: Likewise. + * gas/i386/katmai.s, gas/i386/katmai.d: Likewise. + * gas/i386/modrm.s, gas/i386/modrm.l: Likewise. + * gas/i386/prefix.s, gas/i386/prefix.d: Likewise. + +1999-07-27 Alan Modra + + * gas/i386/reloc.d: Fix so that test passes when enable-targets + includes 64-bit bfd target. + +1999-06-13 Ian Lance Taylor + + * gas/i386/katmai.d: Tweak for recent disassembler changes. + +1999-06-12 Ian Lance Taylor + + * gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" or + "*-*-linux*oldld*". + * gas/vtable/vtable.exp: Likewise. + * gas/i386/reloc.d: Modify expected reloc names to accept a.out + names. + + * gas/i386/amd.s: Add a symbol so a.out tests will work. + * gas/i386/katmai.s: Likewise. + * gas/i386/amd.d: Corresponding change. + * gas/i386/katmai.d: Corresponding change. + +1999-06-10 Ian Lance Taylor + + * gas/mips/sync.d: Pass -mips2 to the assembler. + + * gas/mips/elf_e_flags.s: Tweak code so that the tests pass for + mips-elf target as well as mips64-elf target. + * gas/mips/elf_e_flags1.d: Corresponding changes. + * gas/mips/elf_e_flags2.d: Likewise. + * gas/mips/elf_e_flags3.d: Likewise. + * gas/mips/elf_e_flags4.d: Likewise. + + * gas/elf/elf.exp: Add setup_xfail for mips*-*-*. + + * gas/all/itbl-test.c (main): Update itbl_get_reg_val call for new + parameter. + +1999-06-10 Jakub Jelinek + + * gas/sparc/synth64.s: Add checks for single register signx/clruw. + * gas/sparc/set64.s: Add tests for setuw and setsw synthetic insns. + * gas/sparc/prefetch.d: Add -64 as switch. + * gas/sparc/rdpr.d: Ditto. + * gas/sparc/wrpr.d: Ditto. + * gas/sparc/synth64.d: Ditto, reflect synth64.s changes. + * gas/sparc/reloc64.d: Add -64 as switch, be more tolerant, as + current gas outputs %hi(0) and not %hi(0x0). + * gas/sparc/set64.d: Add -64 as switch, reflect set64.s changes and + optimizations for setx instruction. + * gas/sparc/sparc.exp: Do sparc64*-*-* checks if it is any of the + compiled-in targets. + +1999-06-10 Richard Henderson + + * gas/macros/irp.s: Use `foo' and `bar' instead of `r' and `s'. + * gas/macros/rept.s, gas/macros/test2.s, gas/macros/test3.s: Likewise. + * gas/macros/{irp,rept,test2,test3}.d: Update. + +1999-06-05 Richard Henderson + + * gas/elf/elf.exp: New directory. + * gas/elf/section0.[sd]: New test. + * gas/elf/section1.[sd]: New test. + +1999-06-03 Philip Blundell + + * gas/arm/arm7t.d, gas/arm/inst.d: Update to match current gas, + bfd and opcodes. + +1999-05-28 Ian Lance Taylor + + * gas/vtable/vtable.exp: Don't run test for i960 yet. + +1999-05-17 Nick Clifton + + * gas/mcore/allinsn.d: Updated to match latest objdump output. + +1999-05-12 Alan Modra + + * gas/i386/opcode.d: Modify callw to suit disasm fix. + + * gas/i386/amd.d: Modify a '(bad)' to SIMD instruction. + + * gas/i386/amd.s: Pad to multiple of 8 + * gas/i386/amd.d: Here too. + + * gas/i386/prefix.[sd]: Align with nops + * gas/i386/reloc.[sd]: Here too. + + * gas/i386/katmai.[sd]: New for PIII SIMD + * gas/i386/i386.exp: Call it. + +1999-05-02 Nick Clifton + + * gas/mcore/allinsn.d: Update to match latest assembler + operations. + +1999-04-16 DJ Delorie + + * gas/i386/amd.s: Add NOPs to align for coff targets + * gas/i386/amd.d: and check for them. + +1999-04-15 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/basic/basic.exp (do_coprmem): No longer expected to file. + +1999-04-14 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/basic/branch.s: Do not use immediate value where we + really want a register. + * gas/hppa/basic/coprmem.s: Likewise. + * gas/hppa/basic/fmemLRbug.s: Likewise. + * gas/hppa/basic/coprmem.s: Likewise. + * gas/hppa/basic/spop.s: Likewise. + * gas/hppa/basic/imem.s: Likewise. + * gas/hppa/parse/badfmpyadd.s: Likewise. + * gas/hppa/parse/calldatabug.s: Likewise. + * gas/hppa/parse/entrybug.s: Likewise. + * gas/hppa/parse/exprbug.s: Likewise. + * gas/hppa/parse/fixup7bug.s: Likewise. + * gas/hppa/parse/labelbug.s: Likewise. + * gas/hppa/reloc/applybug.s: Likewise. + * gas/hppa/reloc/funcrelocbug.s: Likewise. + * gas/hppa/reloc/labelopbug.s: Likewise. + * gas/hppa/reloc/longcall.s: Likewise. + * gas/hppa/reloc/plabelbug.s: Likewise. + * gas/hppa/reloc/reduce.s: Likewise. + * gas/hppa/reloc/reduce2.s: Likewise. + * gas/hppa/reloc/reduce3.s: Likewise. + * gas/hppa/unsorted/brlenbug.s: Likewise. + * gas/hppa/unsorted/importbug.s: Likewise. + * gas/hppa/unsorted/lasbeldiffs.s: Likewise. + + * gas/hppa/basic/basic.exp (do_imem): Handle multiple encodings + for loads and stores using reg + small d addresses. + No longer expect failure for mis-parse of imm %reg. + +1999-04-13 Doug Evans + + * gas/m32r/m32rx.d (cmpu__rach): Fix expected output. + * gas/m32r/m32rx.s (bc__add,add__bc): Explicitly specify short branch + so branch relaxation restrictions won't interfere with parallelization + attempts. + +1999-04-08 Nick Clifton + + * gas/mcore: New Directory. + * gas/mcore/allinsn.exp: New File: Expect file for MCore assembly + tests. + * gas/mcore/allinsn.s: New File: Source file for MCore assembly + tests. + * gas/mcore/allinsn.d: New File: Expected output file for MCore + assembly tests. + +1999-03-20 Doug Evans + + * gas/m32r/m32rx.[sd]: Fix a few more testcases. + +1999-03-16 Martin Hunt + + * gas/d30v/d30.exp (run_list_test): Add new tests, + label, guard-debug, serial, warn_oddreg, bittest, and mul. + + * gas/d30v/opt.s: Fix some warnings and add a few labels + to keep things from parallelizing where we don't want them to. + + * gas/d30v/reloc.s: Fix warning. + + * gas/d30v/opt.d, reloc.d, inst.d: Rebuild. + + * gas/d30v/label.s: New test. Check that labels are aligned + on 8-byte boundaries. + + * gas/d30v/guard-debug.s: New test. Test output with "-g". + + * gas/d30v/serial.s: New test. Check for warnings with + illegal serial instructions. + + * gas/d30v/warn_oddreg.s: New test. CHeck for warnings when + odd-numbered registers are used for some instructions. + + * gas/d30v/bittest.s: New test. Check for bit operation + instructions (BCLR, BNOT, BSET, BTST) in the IU. + + * gas/d30v/mul.s: New test. Check for restricted sequences + in a bunch of different multiply instructions. + + * gas/vtable/vtable.exp (run_list_test): Don't + run test on D30V. + +1999-03-05 Nick Clifton + + * gas/all/gas.exp: Expect strongarm-coff target to fail cofftag + test. + +1999-02-13 Jim Blandy + + * gas/mips/mips.exp: Run the new tests, below. + * gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d, + gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: New files. + * gas/mips/elf_e_flags.c, gas/mips/elf_e_flags.s: New files. + + * lib/gas-defs.exp (run_dump_test): Document. It's not + really trivial. + + * lib/gas-defs.exp (run_dump_test): Clean up logic for guessing + $program (the dump tool). + +1999-02-10 Doug Evans + + * gas/m32r/allinsn.d: Prefix all | with \. + (push,pop): Fix expected output. + * gas/m32r/relax-1.d: Emitted nops are serial, not parallel. + * gas/m32r/fslot.d: Prefix all | with \. + +1999-02-08 Nick Clifton + + * gas/vtable/inherit0.s: Do not use '@' prefix to .type operator. + Some ports use it as a comment initiator. + + * gas/vtable/entry1.d: Do not look for an addend. Some ports use + REL relocations and so do not have one. + +1998-12-18 Nick Clifton + + * gas/fr30/allinsn.s: Fix to match latest assembler syntax. + * gas/fr30/allinsn.d: Fix to match latest assembler output + +1998-12-03 Nick Clifton + + * gas/fr30/allinsn.d: Updated to match latest assembler output. + +1998-12-02 Nick Clifton + + * gas/fr30/allinsn.s: Replace illegal insns with legal versions. + + * gas/fr30/allinsn.d: Update to match latest assembler output. + +1998-11-19 Dave Brolley + + * gas/fr30/allinsn.s: Reorder insns for better simulation. + +1998-11-19 Doug Evans + + * gas/mips/sync.[sd]: New testcase. + * gas/mips/mips.exp: Run it. + +1998-11-18 Dave Brolley + + * gas/fr30/allinsn.s (dmov): Correct hex literals. + +1998-11-17 Nick Clifton + + * gas/fr30/allinsn.s: Moved currently un-assembliable instructions + to end of file. + + * gas/fr30/allinsn.d: Added disassembly of currently assembliable + opcodes. + +1998-11-16 Nick Clifton + + * gas/fr30/allinsn.s: Fix syntax errors. + +1998-11-16 Dave Brolley + + * gas/fr30/allinsn.s: Fixed more typos. + +1998-11-13 Nick Clifton + + * gas/fr30/allinsn.s: Fixed typos and added some tests of upper + case vs lower case. + +1998-11-10 Nick Clifton + + * gas/fr30/allinsn.s: New file. + * gas/fr30/allinsn.d: New file. + * gas/fr30/allinsn.exp: New file. + * gas/fr30/fr30.exp: New file. + +1998-11-02 Doug Evans + + * gas/m32r/fslot.[sd]: New testcase. + * gas/m32r/m32r.exp: Run it. + +1998-10-20 Alan Modra + + * gas/i386/i386.exp: Run AMD insn test. + * gas/i386/amd.s: New test. + * gas/i386/amd.d: New test results. + +1998-09-20 Andreas Schwab + + * gas/vtable/inherit1.l: Require only the word GAS somewere in the + first line of the listing. + +Tue Sep 1 10:20:03 1998 Richard Henderson + + * gas/ppc/astest.d: Adjust regexps to match a 64-bit host. + * gas/ppc/astest2.d: Likewise. + +Mon Aug 31 13:25:07 1998 Richard Henderson + + * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching + of whitespace for 64-bit hosts. + +Mon Aug 31 12:45:49 1998 Richard Henderson + + * gas/vtable/vtable.exp: New. + * gas/vtable/{entry0.s,entry0.d}: New. + * gas/vtable/{entry1.s,entry1.d}: New. + * gas/vtable/{inherit0.s,inherit0.d}: New. + * gas/vtable/{inherit1.s,inherit1.l}: New. + +Thu Aug 20 23:18:06 1998 Ian Lance Taylor + + * gas/i386/white.l: Revert patch of August 12. + +Wed Aug 12 11:54:37 1998 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/udf.s: New test. + * gas/mn10300/basic.exp: Run it. + +Wed Aug 12 13:25:38 1998 Alan Modra + + * gas/i386/general.l: Test andb $~0x80,foo. + * gas/i386/general.s: Update. + + * gas/i386/white.l: Expect warning for stand-alone ss prefix. + +Tue Jul 21 12:46:59 1998 Alan Modra + + * gas/i386/white.s: Add some more whitespace tests. + * gas/i386/white.l: Update accordingly. + +Mon Jul 13 18:15:11 1998 Alan Modra + + * gas/i386/*: All new i386 testsuite. + +1998-07-02 Ken Raeburn + + * lib/gas-defs.exp (gas_init): Complain if target name isn't in + canonical form. + +Wed Jul 1 15:35:09 1998 Nick Clifton + + * gas/all/gas.exp: Expect ARM and Thumb cofftag test to fail. + +Wed Jul 1 17:31:39 1998 Ian Lance Taylor + + * gas/ppc/simpshft.s: Add alignment so that it works on AIX. + * gas/ppc/simpshft.d: Change accordingly. Only dump the .text + section. + +Tue Jun 23 15:14:43 1998 Nick Clifton + + * gas/v850/hilo2.s: Use r1 as the destination of the movea + instruction, since r0 is read only. + + * gas/v850/basic.exp: Fix names of special area relocations. + Set -mwarn-signed-overflow flag when running range.s test. + +Sun Jun 21 12:44:43 1998 Nick Clifton + + * gas/d30v/reloc.d: Updated to match latest assembler output. + +1998-06-17 Frank Ch. Eigler + + * gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case + run on differently targeted assembler. + * gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto. + * gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same. + * gas/mips/{mips16.d,mips4.d,nodelay.d}: Again. + * gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some. + + * gas/mips/ld-ilocks.d: Removed disassembler flags to let target + defaults go unmodified. Replaced $f4/$f5 with $fp[45], as the + original `ld.d' had. Find `ld.s'. + * gas/mips/mul-ilocks.d: Nearly ditto. + +1998-06-11 Nick Clifton + + * gas/d30v/inst.d: Expect repeati instrucitons to be combined. + + * gas/d30v/inst.s: Add nop to keep assembled instructions at + expected addresses. + +1998-06-08 Nick Clifton + + * gas/d30v/array.d: Updated to match latest assembler results. + * gas/d30v/reloc.d: Partially updated to match latest assembler + results. + +1998-06-05 Andreas Schwab + + * gas/m68k/operands.s: For all pc relative addresses change tstl + to pea since the former does not allow pcrel on m68000. Do not + make label foo global, so that references to it can be relaxed on + ELF targets. + * gas/m68k/operands.d, gas/m68k/op68000.d: Updated. + +1998-06-02 Geoff Keating + + * gas/ppc/ppc.exp: Run simpshft test. + * gas/ppc/simpshft.d: New file. + * gas/ppc/simpshft.s: New file. + +1998-06-01 Jeffrey A Law (law@cygnus.com) + + * gas/mips/div-ilocks.d: Handle both "break" instruction variants. + * gas/mips/{div.d, mul-ilocks.d, mul.d}: Likewise. + +1998-05-29 Ian Lance Taylor + + * gas/mips/mips.exp: Adjust ilocks initialization to match current + assembler defaults more closely. + + * gas/sh/fp.s: Remove ftst/nan. The assembler no longer supports + the instruction. + * gas/sh/basic.exp: Adjust accordingly. + +Wed May 27 15:26:51 1998 Nick Clifton + + * gas/d30v/align.d: Updated to match latest assembler output. + * gas/d30v/inst.d: Updated to match latest assembler output. + * gas/d30v/inst.s: Updated to match latest assembler rules. + * gas/d30v/opt.d: Updated to match latest assembler output. + +Fri May 22 15:56:51 1998 Doug Evans + + * gas/m32r/allinsn.d: Handle 64 bit bfd_vma. + * gas/m32r/uppercase.d: Likewise. + +Thu May 21 15:03:06 1998 Nick Clifton + + * gas/arm/thumb.s: Add period to start of labels to prevent + assembler thinking that they are function entry points. + +Tue May 19 18:17:10 1998 Ian Lance Taylor + + * gas/mips/mips16.d: Correct to reflect bug fix to disassembler. + +Mon May 18 13:11:45 1998 Frank Ch. Eigler + + * gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match + disassembler. + +Fri May 15 14:51:01 1998 Gavin Koch + + * gas/mips/mips.exp: Distinguish chains with 32-bit addresses. + * gas/mips/ld-ilocks-addr32.d : New. + +Wed May 13 15:06:31 1998 Doug Evans + + * gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA. + +Thu May 7 13:05:25 1998 Frank Ch. Eigler + + * gas/mips/break20.[sd]: New tests for 20-bit operand break and + sddbp instructions. + * gas/mips/trap20.[sd]: New tests for 20-bit operand trap + instructions. + * gas/mips/mips.exp: Run them. + +Thu Apr 30 11:55:01 1998 Frank Ch. Eigler + + * gas/d30v/{inst,array,opt,reloc}.d: Accept labels + in disassembly, where the offset is in hex and has a "0x" prefix. + +Tue Apr 28 16:38:34 1998 Frank Ch. Eigler + + * gas/mips/lineno.[sd]: Assembly source line number test. + * gas/mips/mips.exp: Added lineno test. + +Wed Apr 8 18:45:17 1998 Jeffrey A Law (law@cygnus.com) + + * gas/testsuite/all/gas.exp: No longer expect failures for + difference of undefined symbols on mn10x00 targets. + +Mon Mar 23 10:47:33 1998 Frank Ch. Eigler + + * gas/all/align.s: Back out ".section text" change below; + use ".text" again. + * gas/macros/semi.s: Ditto. + +Fri Mar 20 18:51:49 1998 Frank Ch. Eigler + + * gas/all/align.s: Identify ".text" section explicitly. + * gas/macros/semi.s: Ditto. + + + +Mon Mar 2 13:30:40 1998 Doug Evans + + * gas/m32r/allinsn.[sd] (ldi8a,ldi16a): Delete. + (ldi16): Improve test. + (nop): Fix test. + +Thu Feb 12 20:12:39 1998 Ian Lance Taylor + + * gasp/macro.out: Adjust to reflect the fact that keyword + arguments are now permitted after positional arguments. + +Wed Feb 4 15:27:44 1998 Nick Clifton + + * gas/arm/arm7t.d: Update to match latest assembler output. + +Wed Feb 4 15:40:00 1998 Geoffrey Keating + + * gas/ppc/ppc.exp: New file. + * gas/ppc/astest.s, gas/ppc/astest.d: New test. + * gas/ppc/astest2.s, gas/ppc/astest2.d: New test. + +Sun Feb 1 21:43:54 1998 Jeffrey A Law (law@cygnus.com) + + * gas/mips/4010.s: Pad test code out to a 16byte boundary. + * gas/mips/4010.d: Corresponding changes. + * gas/mips/4100.s: Pad test code out to a 16byte boundary. + * gas/mips/4100.d: Corresponding changes. + * gas/mips/4650.s: Pad test code out to a 16byte boundary. + * gas/mips/4650.d: Corresponding changes. + +Fri Jan 30 14:09:13 1998 Ian Lance Taylor + + * gas/mri/moveml.d: Add test comments, fix regexps. + +Thu Jan 29 13:34:49 1998 Doug Evans + + * gas/m32r/{allinsn,high-1}.d: Allow # constant prefix to be missing. + +Thu Jan 29 09:43:50 1998 Richard Henderson + + * gas/m68k/mri_moveml.[sd]: Moved to ... + * gas/mri/moveml.[sd]: ... here. + * gas/mri/mri.exp: Run it. + +Tue Jan 27 21:55:44 1998 Jeffrey A Law (law@cygnus.com) + + * gas/mips/4010.s: Add 4010 tests. + * gas/mips/4010.d: Expected output. + * gas/mips/4100.s: Add 4010 tests. + * gas/mips/4100.d: Expected output. + * gas/mips/4650.s: Add 4010 tests. + * gas/mips/4650.d: Expected output. + * gas/mips/mips.exp: Run the new tests. + * gas/mips/*.d: Pass the right processor model to objdump. + Fix minor cases where expected output was wrong due to opcode + conflicts. + +Tue Jan 27 05:35:02 1998 Richard Henderson + + * gas/m68k/mri_moveml.[sd]: New testcase. + +Thu Jan 22 17:29:07 1998 Nick Clifton + + * gas/m32r/high-1.d: Add hash prefix to constants. + + * gas/m32r/allinsn.s: Add hash prefix to some constants. + * gas/m32r/allinsn.d: Add hash prefix to constants. + +Wed Jan 21 21:24:08 1998 Manfred Hollstein + + * gas/m88k/init.d: Fix hexadecimal offsets. + +Wed Jan 14 17:49:22 1998 Nick Clifton + + * gas/m32r/uppercase.d: Fix white space matching. + * gas/m32r/relax-1.d: Fix white space matching. + +Wed Jan 14 15:44:32 1998 Jeffrey A Law (law@cygnus.com) + + * gas/mips/div.d: Update for recent assembler changes. + * gas/mips/div-ilocks.d: Likewise. + +Wed Jan 14 11:13:06 1998 Doug Evans + + * gas/m32r/allinsn.d (cmpui): Update output to new format. + +Thu Dec 18 11:10:42 1997 Nick Clifton + + * gas/arm/inst.d: Updated to match latest disassembler changes. + + * gas/arm/arm7t.d: Updated to match latest disassembler changes. + +Tue Dec 16 22:19:25 1997 Ken Raeburn + + * gas/mips/lb-xgot.d, gas/mips/rol.d, gas/mips/jal-svr4pic.d, + gas/mips/jal-xgot.d: Add assembler option to select a specific + target chip, the R3000. + * gas/mips/lb-xgot-ilocks.d: New test, specifically selecting + R3900. + * gas/mips/mips.exp: Run it. + + * gas/ieee-fp/x930509a.exp: Don't run IEEE FP tests for Vax + targets. + +Wed Oct 15 10:40:14 1997 Jeffrey A Law (law@cygnus.com) + + * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA. + + * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler + changes. + +1997-10-09 Doug Evans + + * gas/sparc/set64.[sd]: `set' doesn't take negative arguments. + +1997-10-09 Ian Lance Taylor + + * gas/arm/arm7t.d: Update for recent disassembler changes. + * gas/h8300/ffxx1.d: Likewise. + +1997-10-08 Doug Evans + + * gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox. + +1997-10-08 Ian Lance Taylor + + * gas/sparc/synth.d: Update for recent disassembler changes. + * gas/sparc/synth64.d: Likewise. + + * gas/mips/beq.s: Add .text to .globl to mark the symbol to as a + function symbol. + * gas/mips/jal.s: Likewise. + +1997-10-07 Doug Evans + + * gas/sparc/reloc64.[sd]: New testcase. + * gas/sparc/sparc.exp: Run it. + +1997-10-04 Ian Lance Taylor + + * gas/ieee-fp/x930509a.exp: Accept m68k listing format. + +1997-10-03 Ian Lance Taylor + + * gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now + work. Correct for big endian and for tabs in input file. + + * gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*. + * gas/alpha/fp.s: Change comment characters from ! to #. + +1997-09-18 Doug Evans + + * gas/sparc/splet.d: Update to new objdump output format. + * gas/sparc/{asi.d,membar.d,prefetch.d,rdpr.d,wrpr.d}: Likewise. + * gas/sparc/set64.[ds]: New testcase. + * gas/sparc/splet-2.[ds]: New testcase. + * gas/sparc/sparc.exp: Run them. + +1997-08-16 Ken Raeburn + + Merge changes from Martin Hunt: + + * gas/d30v/inst.s: Add some new tests. + + * gas/d30v/{inst, opt, reloc}.d: Update results with + new disassembler changes. + + * gas/d30v/inst.[sd]: Update examples for d*i instructions. + + * gas/d30v/*.d: Update all test results because + of new ".s" and ".l" extensions. + + * gas/d30v/inst.[sd]: Correct entry for mulx2h. + * gas/d30v/opt.[sd]: Correct st2w instruction. + + * gas/d30v/align.d: Change expected output. + + * gas/d30v/reloc.[sd]: Add test case. + + * gas/d30v/array.[sd]: New test case. + + * gas/d30v/opt.[sd]: Added more test cases. + + * gas/d30v/opt.s: Add test cases. + * gas/d30v/reloc.s: Fix a test case. + * gas/d30v/{opt,reloc}.d: Regenerate. + +Mon Sep 8 14:21:23 1997 Doug Evans + + * gas/m32r/high-1.[ds]: New testcase. + * gas/m32r/m32r.exp: Run it. + +Mon Aug 25 11:04:24 1997 Doug Evans + + * gas/m32r/relax-1.[ds]: New testcase. + * gas/m32r/m32r.exp: Run it. + +Thu Aug 14 23:49:49 1997 Doug Evans + + * gas/arc: New directory + * gas/arc/{arc.exp,alias.[sd],branch.[sd],flag.[sd],insn3.[sd],j.[sd], + ld.[sd],math.[sd],sshift.[sd],st.[sd],warn.{exp,s}}: New files. + +Wed Aug 6 00:33:30 1997 Ian Lance Taylor + + * config/default.exp: Set AS and GASP to as-new, not as.new. + +Tue Aug 5 12:33:23 1997 Ian Lance Taylor + + * config/default.exp: Set NM to nm-new, not nm.new, to match + recent change in binutils build directory. + +Thu Jul 31 15:21:51 1997 Jeffrey A Law (law@cygnus.com) + + * gas/v850/range.s: New test. + * gas/v850/basic.exp: Run it. + +Tue Jul 29 14:35:02 1997 Jeffrey A Law (law@cygnus.com) + + * gas/v850/hilo2.s: New test. + * gas/v850/fepsw.s: New test. + * gas/v850/basic.exp: Run them. + +Tue Jul 15 13:03:17 1997 Doug Evans + + * gas/m32r/uppercase.[sd]: New testcase. + * gas/m32r/m32r.exp: New file. + +Mon Jun 16 14:32:11 1997 Ian Lance Taylor + + * gas/m68k/pcrel.d: Update for m68k disassembler changes. + * gas/m68k/operands.d: Likewise. + +Mon Jun 2 16:50:03 1997 Nick Clifton + + * gas/arm/arm.exp: Added changes from armT-970328-branch. + +Mon Jun 2 12:09:02 1997 Gavin Koch + + * gas/mips/mips.exp: The r3900 has interlocks for mul, but + not div. + +Mon Jun 2 12:03:32 1997 Gavin Koch + + * gas/mips/mul.{d,s}: End the tests with no-ops. + +Mon Jun 2 11:48:58 1997 Gavin Koch + + * lib/gas-defs.exp (regexp_diff): Improve messages when one + file is shorter than the other. + +Wed May 7 16:18:30 1997 Manfred Hollstein + + * gas/m88k/init.{s,d}: New checks for proper padding of + .init sections. + * gas/m88k/m88.exp: Run them. + + * gas/m68k/t2.d: New file for check of presence of section + symbols on the m68k-motorola-sysv. + * gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv]. + +Wed May 7 16:12:24 1997 Ian Lance Taylor + + * gas/all/gas.exp: Don't run cofftag test for m88k-coff. + + * gas/mips/lifloat.s: Update for recent changes to floating point + handling. + * gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise. + * gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise. + + * gas/mips/mips.exp: Handle Irix 6 like Irix 5. + +Sat Apr 19 23:16:35 1997 Niklas Hallqvist + + * gas/mips/mips.exp: Handle OpenBSD like NetBSD. + +Wed Apr 16 12:20:24 1997 Martin Hunt + + * gas/d30v/d30.exp: Add optimizer test case. + * gas/d30v/opt.s: Add conditional compilation tests. + * gas/d30v/opt.d: Rebuild. + +Tue Apr 15 18:10:01 1997 Gavin Koch + + * gas/mips/{delay.d,nodelay.d}: added. + +Mon Apr 7 12:57:45 1997 Doug Evans + + * gas/m32r/allinsn.d: Update to new objdump output style. + +Fri Apr 4 13:19:39 1997 Ian Lance Taylor + + * gas/all/float.s: Put a tab before .text, to keep the PA happy. + + * gas/arm/arm.exp: Only run inst and arm7t on targets which can + handle -EL. Add setup_xfail for thumb. + + * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits. + +Thu Apr 3 18:26:56 1997 Doug Evans + + * gas/m32r/allinsn.{exp,s.d}: New testcases. + +Thu Mar 27 00:42:28 1997 Martin M. Hunt + + * gas/d30v/d30.exp: Add test case reloc. + * gas/d30v/reloc.[sd]: New files to test relocations. + +Sat Mar 15 17:21:46 1997 Ian Lance Taylor + + * gas/arm/inst.d: Update for disassembler changes. + * gas/arm/arm7t.d: Likewise. + +Tue Mar 11 13:31:56 1997 Andreas Schwab + + * gas/m68k/op68000.d: Update for recent assembler bug fix. + +Wed Mar 5 13:01:24 1997 Jeffrey A Law (law@cygnus.com) + + * gas/all/gas.exp: xfail a couple tests for the mn10300. + +Mon Mar 3 11:41:00 1997 Fred Fish + + * gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d, + relocs2.d, relocs2b.d}: Adjust to objdump format tweaks. + +Thu Feb 27 15:21:46 1997 Fred Fish + + * gas/tic80/{align.d, align.lst, align.s} New test for the + ".align" pseudop. + * gas/tic80/tic80.exp: Run the align test. + +Wed Feb 26 20:36:46 1997 Fred Fish + + * gas/tic80/{float.d, float.lst, float.s}: New tests for + simple floating point operands. + * gas/tic80/tic80.exp: Run the float test. + +Wed Feb 26 15:16:04 1997 Fred Fish + + * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d, + regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}: + New tests for :m and :s operand modifiers. + * gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests. + +Tue Feb 25 13:45:55 1997 Ian Lance Taylor + + * gas/macros/semi.s: Force the final alignment to use a fill value + of 0. + + * gas/all/cond.s, gas/all/cond.d: New test. + * gas/all/gas.exp: Run it. + +Mon Feb 24 10:52:12 1997 Bob Manson + + * lib/gas-defs.exp(gas_init): Added new parameter for script + name. + +Mon Feb 24 10:40:28 1997 Fred Fish + + * gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d, + regops.d, relocs1.d, + (relocs1.c): Add file for reference. + (relocs1b.d): Split reloc table contents test to different test file. + (relocs2.c): Add test that uses various types (char, short, int, ...) of + static and global variables with data shuffling to generate lots of ld/st + instructions for the different types. + (relocs2.d): New file, expected code for relocs2 test. + (relocs2.lst): New file, TI assembler listing for reference. + (relocs2.s): New file, assembly source for relocs2 test. + (relocs2b.d): New file, expected reloc table contents for relocs2 test. + (tic80.exp): Run the relocs1b, relocs2, and relocs2b tests. + +Sun Feb 23 17:54:00 1997 Dawn Perchik + + * gas/all/itbl-test.c(main): Update function calls. + Remove parameters from itbl_get_reg_val and + change itbl_get_insn_name to itbl_get_field. + +Sun Feb 23 17:22:00 1997 Dawn Perchik + + * gas/mips/itbl: Add comments. + * gas/mips/itbl.s: Add comments. Prefix register names with $. + * gas/all/itbl: Generic table for testing for itbl support. + * gas/all/itbl.s: Generic assembly for testing for itbl support. + * gas/mips/itbl-test.c: Moved to gas/all. + * gas/all/itbl-test.c: Moved from gas/mips. + +Sat Feb 22 20:24:23 1997 Fred Fish + + * gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst, + endmask.lst, regops.lst}: Remove ^M's from end of lines. + * gas/tic80/bitnum.s: Add comment to each line showing value + that symbolic BITNUM assembles to. Add coverage for raw + numeric values for the BITNUM operand. + * gas/tic80/bitnum.d: Update due to bitnum.s changes. + * gas/tic80/regops.d: Update due to opcode library additions + of floating point test BITNUM values that are ambiguous with + the integral ones. + * gas/tic80/relocs1.s: New test case that tests simple relocs. + * gas/tic80/relocs1.d: Expected output for above. + * gas/tic80/relocs1.lst: TI assembler listing for above. + * gas/tic80/tic80.exp: Add relocs1 test. + +Fri Feb 21 14:23:14 1997 Martin M. Hunt + + * gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s, + inst.d, inst.s, opt.d, opt.s}: Test files for D30V. + +Wed Feb 19 00:55:29 1997 Ian Lance Taylor + + * gas/macros/semi.s, gas/macros/semi.d: New test. + * gas/macros/macros.exp: Run it. + * gas/mri/semi.s, gas/mri/semi.d: New test. + * gas/mri/mri.exp: Run it. + +Tue Feb 18 13:37:06 1997 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected + output. + +Fri Feb 14 17:56:27 1997 Ian Lance Taylor + + * gas/all/align.d, gas/all/align.s: New test. + * gas/all/gas.exp: Run it. + +Thu Feb 13 14:44:05 1997 Ian Lance Taylor + + * gas/mips/mips16.d: Correct PC relative instruction bytes. + +Wed Feb 12 12:33:08 1997 Ian Lance Taylor + + * gas/mips/lif-svr4pic.d: Pass -EB when running the assembler. + * gas/mips/lif-xgot.d: Likewise. + * gas/mips/ulh-svr4pic.d: Likewise. + * gas/mips/ulh-xgot.d: Likewise. + + * gas/mips/mips16.d: Update for yet another change in disassembly + output (this one is spacing only). + +Tue Feb 11 14:45:39 1997 Fred Fish + + * gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s, + ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s, + endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s, + tic80.exp}: New files for TIc80 test cases. + +Tue Feb 11 15:46:27 1997 Ian Lance Taylor + + * gas/mips/mips16.d: Update for change in disassembly output. + +Mon Feb 10 22:24:00 1997 Dawn Perchik + + * gas/mips/itbl-test.c: Add copyright message and fix indentation. + +Mon Feb 10 17:54:00 1997 Dawn Perchik + + * gas/mips/itbl-test.c: New file. Stand-alone assembler and + dissassembler for itbl support. + +Mon Feb 10 17:20:00 1997 Dawn Perchik + + * gas/mips/itbl: New file. Instruction Spec for testing --itbl + option. + * gas/mips/itbl.s: New file. Assembly with ne2w instructions + specified in itbl. + +Fri Feb 7 16:42:53 1997 Bob Manson + + * gasp/gasp.exp: Use prune_warnings instead of prune_system_crud. + * lib/gas-defs.exp: Ditto. + +Mon Feb 3 15:46:05 1997 Ian Lance Taylor + + * gas/arm/inst.d, gas/arm/arm7t.d: Pass --prefix-addresses to + objdump. Update for current relocation printing style. + +Thu Jan 30 11:57:33 1997 Ian Lance Taylor + + * gas/mips/mips16.d: Update for disassembler changes. + +Thu Jan 23 03:15:06 1997 Angela Marie Thomas (angela@cygnus.com) + + * gas/mips/mips.exp: set ilocks for all 4100/4300 + +Thu Jan 2 16:49:17 1997 Ian Lance Taylor + + * gas/mips/mips16.s, gas/mips/mips16.d: New test. + * gas/mips/mips.exp: Run mips16 test. + + * gas/mips/mips.exp: Run dli test unconditionally. + * gas/mips/dli.s: Add text symbol. Add nops to round to 16 byte + boundary. + * gas/mips/dli.d: Corresponding changes. + +Tue Dec 31 13:03:16 1996 Ian Lance Taylor + + * gas/sparc/synth.d: Use --prefix-addresses for objdump. + * gas/sparc/synth64.d: Likewise. + +Tue Dec 24 16:30:58 1996 Angela Marie Thomas (angela@cygnus.com) + + * gas/mips/*-ilocks.d: Fix regexps to resemble disassembled output. + +Fri Dec 13 13:05:33 1996 Ian Lance Taylor + + * gas/mips/*.[sd]: Add explicit nops, sometimes controlled by + .ifdef, to accomodate change to avoid default alignment on + embedded systems. + +Wed Dec 11 09:26:01 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10200/basic.exp (do_movb): Fix bit pattern for + "movb dm,(an)". + +Tue Dec 10 13:01:05 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Update after endianness changes to + the assembler. + + * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests. + * gas/mn10200/{movb.s, movbu.s}: Likewise. + * gas/mn10200/basic.exp: Run them. + +Mon Dec 9 17:08:38 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10200/*.s: New tests for the mn10200 assembler. + * gas/mn10200/basic.exp: Run them. + +Fri Dec 6 15:35:04 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/*.s: Remove '$' register prefixing. + +Mon Nov 25 16:35:33 1996 Doug Evans + + * gas/sparc-solaris/addend.exp: Fix patterns, you can't assume + \r will be present. + +Mon Nov 25 13:45:02 1996 Ian Lance Taylor + + * gas/m68k/*.d: Update for disassembler changes. + * gas/mri/*.d: Likewise. + +Mon Nov 25 11:38:37 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/*.s: Use '$' as register prefix for + all register operands. + +Thu Nov 21 11:52:54 1996 Jeffrey A Law (law@cygnus.com) + + * gas/all/gas.exp: xfail a couple tests for the mn10300. + +Wed Nov 20 11:31:41 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/other.s: Update for correct syntax on a + few instructions (those with register lists). + * gas/mn10300/basic.exp: Corresponding changes. + +Tue Nov 19 13:36:57 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/movm.s: Update for correct syntax. + * gas/mn10300/basic.exp: Update expected movm bit patterns. + +Fri Nov 15 13:57:42 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/other.s: Put parens around register + argument in calls and jmp instructions. + +Wed Nov 13 13:16:04 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/ffxx1.d: Update for recent disassembler changes. + +Mon Nov 11 16:03:24 1996 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/reloc/reloc.exp: Pass "--prefix-addresses" to objdump + as needed. + * gas/hppa/unsorted/unsorted.exp: Likewise. + +Thu Nov 7 00:27:52 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Check opcode insertion for + extended instructions. + * gas/mn10300/extend.s: Tweak constants for better + testsuite coverage. + +Wed Nov 6 13:50:07 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Test insertion of operands + into call and jmp instructions with 32bit offsets. + Fix typo in bit test patterns. + * gas/mn10300/other.s: Tweak constants to improve + testsuite coverage. + + * gas/mn10300/basic.exp: Test insertion of 32bit operand + in calls, btst, bclr & bset instructions. + + * gas/mn10300/*.s: Tweak constants in 32bit insns for + better testing coverage. + * gas/mn10300/basic.exp: Test insertion of most 32bit + operands. + +Tue Nov 5 13:33:12 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Check bit patterns for indexed mov, + movbu, movhu instructions. Check bit patterns for more bit + operations. Check bit patterns for various 16bit call, retf + and ret instructions. + * gas/mn10300/other.s: Update operands for better test coverage. + +Mon Nov 4 12:55:11 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Check bit patterns for a couple more + mov and cmp instructions. + +Tue Oct 29 17:05:43 1996 Ian Lance Taylor + + * gas/mips/*.d: Update for disassembler changes. + +Wed Oct 16 22:39:50 1996 Jeffrey A Law (law@cygnus.com) + + * gas/v850/reloc.s: New tests. + * gas/v850/basic.exp: Run them. + +Mon Oct 14 13:52:55 1996 Ian Lance Taylor + + * gas/mips: Add symbols to several testsuites, since the ELF + assembler now always builds a symbol table, which means that + objdump will no longer report `No symbols in FILE'. Change the + expected output accordingly. + +Thu Oct 10 13:11:48 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/basic.exp: Check bit patterns for instructions + with a single 8bit or 16bit immediate operand. + + * gas/mn10300/basic.exp: Check bit patterns for many + instructions. Add missing test in do_mov1. + * gas/mn10300/mov1.s: Add missing test. + +Wed Oct 9 14:15:18 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests. + * gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise. + * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise. + * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise. + * gas/mn10300/{shift.s, sub.s}: Likewise. + * gas/mn10300/basic.exp: Run them. + +Thu Oct 3 09:57:03 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10200, gas/mn10300: New directories for Matsushita + mn10200 and mn10300 tests. + +Tue Oct 1 15:38:28 1996 Ian Lance Taylor + + * lib/gas-defs.exp (gas_version): Fix for current version + printing. + +Sun Sep 29 07:55:58 1996 Doug Evans + + * gas/sparc/splet.d: Fix typo in cpusha result. + +Mon Sep 23 12:33:31 1996 Ian Lance Taylor + + * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: Add tests for fmovemx. + +Wed Sep 18 12:14:06 1996 Ian Lance Taylor + + * gas/all/cofftag.s: Use .p2align rather than .align. + +Fri Sep 13 15:28:04 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/macs.s: Add "stmac" instructions. + * gas/h8300/basic.exp: Test them. + +Thu Sep 12 10:28:44 1996 James G. Smith + + * gas/arm/thumb.s (back): Check assembly of Thumb BL. + +Mon Sep 9 14:37:00 1996 Ian Lance Taylor + + * gas/mips/mips4.s, gas/mips/mips4.d: Use $fccN for condition code + registers. + +Fri Sep 6 18:23:54 1996 James G. Smith + + * gas/mips/dli.{s,d}: More test cases added. + +Wed Sep 4 11:47:29 1996 James G. Smith + + * gas/mips/mips.exp: Add check for dli macro instruction. + * gas/mips/dli.{s,d}: Added. + +Sat Aug 31 01:25:03 1996 Jeffrey A Law (law@cygnus.com) + + * gas/v850/basic.exp (do_mem): Check bit patterns for short + load/store instructions. Remove xfails for short load/store + instructions. + * gas/v850/mem.s: Offsets for short load/store operands + are unsigned. + + * gas/v850/basic.exp (do_branch): Check offsets in branch insns. + (do_jumps): Likewise. + +Fri Aug 30 00:37:55 1996 Jeffrey A Law (law@cygnus.com) + + * gas/v850/misc.s: Tweak register numbers for better testing. + * gas/v850/basic.exp (do_misc): Corresponding changes. + + * gas/v850/hilo.s: New testfile. + * gas/v850/basic.exp: Run hilo tests. + +Thu Aug 29 11:32:23 1996 James G. Smith + + * gas/arm/arm7t.d: Explicitly force little-endian assembly. + +Fri Aug 23 11:02:55 1996 Jeffrey A Law (law@cygnus.com) + + * gas/v850/basic.exp (do_move): Test instruction bit patterns. + * gas/v850/move.s: Tweak constants for better testing. + + * gas/v850/basic.exp (do_mem): Test instruction bit patterns. + xfail sst and sld tests. + (do_mov): Remove bogus xfail. + * gas/v850/mem.s: sst and sld instructions can only index from + "ep" register. + + * gas/v850/basic.exp (do_logical): Test instruction bit patterns. + Update addresses. + * gas/v850/logical.s: Tweak constants for better testing. + + * gas/v850/basic.exp (do_jump): Test instruction bit patterns, + but not displacements (yet). + + * gas/v850/basic.exp (do_compare): Test instruction bit patterns. + + * gas/v850/basic.exp (do_branch): Test instruction bit patterns, + but not displacements (yet). + + * gas/v850/basic.exp (do_bit): Test instruction bit patterns. + + * gas/v850/basic.exp (do_arith): Test instruction bit patterns. + * gas/v850/arith.s: Tweak constants for better testing. + + * gas/v850/basic.exp (do_misc): No longer expect failures + assembling "ldsr" and "stsr" opcodes. + * gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr" + opcodes. + + * gas/v850/basic.exp (do_misc): No longer expect failures + assembling "trap" opcodes. + * gas/v850/misc.s: Re-enable assembling of "trap" opcodes. + + * gas/v850: New directory with v850 tests. + +Fri Aug 16 00:19:10 1996 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/basic/purge.s: Use "%sr4" on pitlb, pitlbe + fic and fice instructions to test 3bit space identifiers. + * gas/hppa/basic/system.s: Similarly for iitlba and + iitlbp. + * gas/hppa/basic/basic.exp: Corresponding changes. + +Thu Aug 15 16:25:05 1996 James G. Smith + + * gas/arm/arm.exp: Change inst.s test to check objdump. + * gas/arm/inst.d: Added. + +Thu Aug 15 16:06:02 1996 James G. Smith + + * gas/arm/thumb.s: Added. + * gas/arm/immed.s: Added. + * gas/arm/arch4t.s: Added. + * gas/arm/arm.exp: Updated to run the new tests. + +Tue Aug 6 11:06:29 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/misch.s: Reenable "eepmov.w" test. + * gas/h8300/miscs.s: Likewise. + * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w" + on the H8/300H and H8/S. Don't expect it to fail. + +Wed Jul 31 10:57:44 1996 Doug Evans + + * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE. + +Wed Jul 31 15:55:12 1996 James G. Smith + + * gas/arm/arm7t.s: Added. + * gas/arm/arm7t.d: Added. + * gas/arm/arm.exp: Updated to run the new test. + +Mon Jul 8 14:27:39 1996 Ian Lance Taylor + + * gas/m68k/pcrel.d: Rename from schwab.d. + * gas/m68k/pcrel.s: Rename from schwab.s. + +Mon Jul 8 14:23:26 1996 Andreas Schwab + + * gas/m68k/schwab.d: Correct for ELF format. + * gas/m68k/all.exp: Run "schwab" test for all targets. + +Thu Jul 4 14:23:36 1996 Ian Lance Taylor + + Avoid DOS file naming problems: + * gas/h8300/branch.s: Rename from branches.s. + * gas/h8300/branchh.s: Rename from branchesh.s. + * gas/h8300/branchs.s: Rename from branchess.s. + * gas/h8300/rotsh.s: Rename from rotshift.s. + * gas/h8300/rotshh.s: Rename from rotshifth.s. + * gas/h8300/rotshs.s: Rename from rotshifts.s. + * gas/h8300/h8300.exp: Corresponding changes. + +Thu Jul 4 14:01:46 1996 James G. Smith + + * gas/mips/mips.exp: Add new tests for processors with interlocks + on div and mul. + * gas/mips/div-ilocks.d: Added. + * gas/mips/mul-ilocks.d: Added. + +Wed Jul 3 14:20:04 1996 Ian Lance Taylor + + * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests + which now pass. + * gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64 + bit host. + +Sat Jun 29 18:21:51 1996 Ian Lance Taylor + + * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a + test. + * gas/vax/quad.exp: Expect a nop after the movq. + +Tue Jun 18 12:39:49 1996 Jeffrey A. Law + + * gas/h8300/cbranchh.s: Switch into h8300h mode. + * gas/h8300/h8300.exp (H8/300H misc tests): Fix test names. + + * gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the + H8/S. + * gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise. + * gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise. + * gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise. + * gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise. + * gas/h8300/{rotshifts.s,extends.s}: Likewise. + * gas/h8300/h8300.exp: Run them. + +Mon Jun 10 14:14:40 1996 Ian Lance Taylor + + * gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag + with the same name as a global variable. + * gas/all/gas.exp: Run cofftag test for any COFF target. + +Thu Jun 6 12:30:05 1996 Ian Lance Taylor + + * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s + test. + +Fri May 31 10:11:13 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/h8300.exp: Fix add.l test for H8/300H. + +Wed May 29 16:35:43 1996 Ian Lance Taylor + + * gas/mips/jal-xgot.d: Correct for 64 bit output. + +Thu Apr 25 19:31:59 1996 Doug Evans + + * gas/sparc/sparc.exp: Only run sparclet tests if sparclet. + +Wed Apr 24 17:06:18 1996 Ian Lance Taylor + + * gas/m68k/op68000.d: Add statements now caught by gas. + +Mon Apr 22 16:45:12 1996 Doug Evans + + * gas/sparc/splet.[ds]: New tests for sparclet extensions. + * gas/sparc/sparc.exp: Run them. + +Mon Apr 15 17:25:18 1996 Ian Lance Taylor + + * gas/mips/la.d: Updated for April 5 MIPS assembler changes. + * gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise. + * gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise. + * gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise. + +Wed Apr 10 14:27:51 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/mov32bug.s: New test. + * gas/h8300/h8300.exp: Run it. + +Fri Apr 5 10:13:28 1996 Jeffrey A Law (law@cygnus.com) + + * gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests. + * gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests. + * gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests. + * gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests. + * gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests. + * gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests. + * gas/h8300/h8300.exp: Run them. + + * gas/h8300/{movb.s,movw.s}: Correct predecrement syntax. + + * gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests. + + * gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests. + * gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests. + * gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests. + * gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests. + * gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests. + * gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests. + * gas/h8300/h8300.exp: Run them. + +Fri Mar 15 17:16:24 1996 Ian Lance Taylor + + * gas/sparc/synth.d: Don't require sparc in the file format, since + it won't be there on SunOS. + +Thu Mar 7 14:51:23 1996 Doug Evans + + * gas/sparc/synth.[ds]: New testcase. + * gas/sparc/sparc.exp: Run it. + +Fri Mar 1 12:01:48 1996 Jeffrey A Law (law@cygnus.com) + + * gas/all/gas.exp: xfail difference of two undefined symbols + and difference of forward references for the h8300. + +Thu Feb 22 16:40:31 1996 Ian Lance Taylor + + * gas/mips/lb-xgot.d: Correct. + +Mon Feb 19 02:43:36 1996 Doug Evans + + * gas/sparc/{asi,membar,prefetch,rdpr,synth64,wrpr}.d: Pass -Av9 + to gas. + * gas/sparc/addend.exp: Execute for any sparc cpu. + * gas/sparc/{mismatch.exp,mism-1.s}: New test. + +Wed Feb 14 13:49:59 1996 Ian Lance Taylor + + * gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests. + * gas/mips/lb-xgot.d, gas/mips/ld-xgot.d: New tests. + * gas/mips/lif-xgot.d, gas/mips/ulh-xgot.d: New tests. + * gas/mips/mips.exp: Run new tests if svr4pic. + +Sat Jan 27 13:27:45 1996 Doug Evans + + * lib/gas-dg.exp (gas-dg-test): Delete default_flags and libs args. + +Fri Jan 26 14:24:01 1996 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/unsorted/unsorted.exp: Update for objdump changes. + +Wed Jan 10 12:40:31 1996 Ian Lance Taylor + + * gas/mips/*.d: Update for changes to disassembler. + +Wed Jan 3 22:59:53 1996 Ian Lance Taylor + + * gas/mips/ulh-svr4pic.d: Update for tc-mips.c load_address + change. + +Fri Nov 17 10:32:25 1995 Ian Lance Taylor + + * gas/mri/immconst.d: New test. + * gas/mri/mri.exp: Run it. + * gas/mri/constants.s: Test immediate constants. + * gas/mri/constants.d: Corresponding change. + + * gas/m68k/link.s: Add nop to pad to eight byte boundary. + * gas/m68k/link.d: Corresponding change. + +Sun Nov 12 21:28:11 1995 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/unsorted/brlenbug.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + +Sun Nov 5 12:49:27 1995 Ian Lance Taylor + + * gas/mips/beq.s: Declare text_label global. + * gas/mips/jal.s: Likewise. + +Fri Nov 3 12:35:07 1995 Ian Lance Taylor + + * gas/m68k/link.s: Use "&" instead of "#" for immediate values. + + * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test. + * gas/m68k/all.exp: Run it. + +Thu Nov 2 23:11:05 1995 Ian Lance Taylor + + * gas/m68k/link.s, gas/m68k/link.d: New test. + * gas/m68k/all.exp: Run it. + +Tue Oct 24 10:57:20 1995 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/basic/basic.exp: Test lci and syncdma instructions. + * gas/hppa/basic/system.s: Corresponding changes. + +Fri Oct 6 17:13:35 1995 Ken Raeburn + + * gas/m68k/operands.d: Don't require a fixed number of leading + zeros in any number. + + * gas/m68k/operands.s, gas/m68k/bitfield.s: Use "&" instead of "#" + for immediate values. + +Fri Oct 6 10:54:13 1995 Doug Evans + + * gas/arm/arm.exp: Renamed from gas.exp. + * gas/arm/le-fpconst.[sd]: New testcase. + +Fri Sep 29 15:12:10 1995 Ian Lance Taylor + + * gas/mri/mri.exp: Only run tests for m68k target. + +Mon Sep 25 12:31:46 1995 Ian Lance Taylor + + * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constants + test. + +Thu Sep 21 01:26:08 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/sh/fp.s (fmac): Update for new assembly syntax. + +Mon Sep 18 14:04:34 1995 Ian Lance Taylor + + * lib/gas-defs.exp (gas_run): Call prune_system_crud. + (run_dump_test, objdump): Likewise. + +Thu Sep 14 13:10:10 1995 Doug Evans + + * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests. + * gas/sparc/sparc.exp: Run them. + +Wed Sep 13 16:35:51 1995 Ian Lance Taylor + + * Makefile.in, configure.in: Remove; the testsuite is now run + directly from the gas Makefile. + +Mon Sep 11 11:44:23 1995 Ian Lance Taylor + + * gas/mri/empty.s: New file. + * gas/mri/mri.exp: Test assembling empty.s. + * gas/mri/comment.s: Add a couple more comment variants. + + * gas/mri/mri.exp: Add xfail for the expr test for all hppa + targets. + +Wed Sep 6 21:39:23 1995 Ian Lance Taylor + + * gas/mri/comment.s, gas/mri/comment.d: New test. + * gas/mri/mri.exp: Run it. + * gas/mri/expr.s: Remove whitespace in operand field. + * gas/mri/for.s: Add comments for further testing. + * gas/macros/test2.s: Put in an upper case ELSE to test case + insensitivity. + +Wed Aug 30 16:12:03 1995 Doug Evans + + * gas/sparc/{prefetch.[ds],synth64.[ds]}: New tests. + +Tue Aug 29 18:59:33 1995 Doug Evans + + * gas/sparc/sparc.exp: New file. + * gas/sparc/{asi.[ds],membar.[ds]}: New tests. + +Mon Aug 21 14:39:29 1995 Ian Lance Taylor + + * gas/macros/*: New tests for macros. + + * gas/mri/common.s: Use data, not .data. + + * gasp/pl3.out: Update for changes in commented source output when + LOCAL is used. + +Sat Aug 19 17:36:17 1995 Ian Lance Taylor + + * gasp/gasp.exp (gasp_test): Call prune_system_crud on the output + of diff. + * lib/gas-defs.exp: Define prune_system_crud if it is not already + defined. + +Fri Aug 18 11:09:38 1995 Ian Lance Taylor + + * gasp/mri/*.out: Use ;, not !, for the comment character. + +Wed Aug 16 12:24:12 1995 Ian Lance Taylor + + * gas/mri/mri.exp: Change hppa*-*-* expected failures to only + expect failure for targets which use SOM. + + * lib/gas-defs.exp (run_dump_test): If the program to run does not + exist, mark the test as untested. + + * gas/mri/mri.exp: Add setup_xfail for i960 b.out targets for + common test. + + * lib/gas-defs.exp (run_dump_test): Name the output file dump.o, + rather than using an implicit a.out. + + * gas/mri/for.s: Add nop to round out to four byte boundary. + * gas/mri/repeat.s: Likewise. + * gas/mri/while.s: Likewise. + * gas/mri/for.d: Expected added nop. + * gas/mri/repeat.d: Likewise. + * gas/mri/while.d: Likewise. + + * gas/mips/*.d: Change all test names to say MIPS. + +Tue Aug 15 15:42:33 1995 Ian Lance Taylor + + * gas/mri/for.d, gas/mri/for.s: New test. + * gas/mri/if.d, gas/mri/if.s: New test. + * gas/mri/repeat.d, gas/mri/repeat.s: New test. + * gas/mri/while.d, gas/mri/while.s: New test. + * gas/mri/mri.exp: Run the new tests. + +Mon Aug 14 16:03:07 1995 Ian Lance Taylor + + * gas/mri/expr.d: Permit leading zeroes, in case we're using a + 64-bit BFD. + + * gasp/mri/*: New tests. + * gasp/gasp.exp: Run them. Also, clean up the test names used in + pass and fail. + +Sun Aug 13 00:39:24 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/sh/basic.exp: Update now that we know the right + bit patters for the new sts instructions. + +Thu Aug 10 00:46:21 1995 Ian Lance Taylor + + * gas/mri/char.d: Fix for little endian machines. + * gas/mri/float.d: Likewise. + +Wed Aug 9 15:34:36 1995 Ian Lance Taylor + + * gas/all/struct.s, gas/all/struct.d: New test. + * gas/all/gas.exp: Run it. + +Tue Aug 8 17:11:39 1995 Ian Lance Taylor + + * gas/mri/common.s, gas/mri/common.d: New test. + * gas/mri/mri.exp: Run it. + +Mon Aug 7 22:39:28 1995 Ian Lance Taylor + + * gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constants + test. + + * gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: Complete + truncated files, so that the tests pass. + + * gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ, + constants, and expr. + + * gas/m68k/all.exp: Run schwab test on hpux*, not just hpux. Run + on vxworks*, not just vxworks5.1. + + * lib/gas-defs.exp (fail_phase, pass_phase): Remove. + (run_dump_test): Just call pass or fail. + + * gas/m68k/operands.s, gas/m68k/operands.d: New test. + * gas/m68k/op68000.d: New test. + * gas/m68k/cas.s, gas/m68k/cas.d: New test. + * gas/m68k/bitfield.s, gas/m68k/bitfield.d: New test. + * gas/m68k/schwab.d: Run objdump with -j .text. Adjust for + changes to disassembler. + * gas/m68k/all.exp: Run new tests. Run schwab test for + m68k-*-coff*. + +Mon Aug 7 03:01:32 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/sh/*: New tests for the hitachi-sh. + +Tue Aug 1 18:02:47 1995 Ian Lance Taylor + + * gas/mri/*: New tests for MRI mode. + + * lib/gas-defs.exp (run_dump_test): Support using objcopy. Dump + program executions to the log file before running them. Use the + simple program name, rather than the path to the binary being run, + in pass/fail messages. + (regexp_diff): If the regexp file has the special comment #pass, + stop checking at that point. + * config/default.exp: Set NM, NMFLAGS, OBJCOPY, and OBJCOPYFLAGS, + if they are not already set. + +Tue Aug 1 11:41:30 1995 steve chamberlain + + * Makefile.in: Remove superfluous runtest gasp. + +Mon Jul 31 18:19:26 1995 steve chamberlain + + * gasp/*: New. + * Makefile.in: Use gasp tests. + * config/default.exp: Add gasp stuff. + +Thu Jul 20 18:56:48 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/all/gas.exp: Disable tests that are not appropriate for + the PA. + +Thu Jul 13 18:22:49 1995 Ken Raeburn + + * gas/m68k/all.exp: Run schwab test for m68k vxworks5.1. + +Wed Jun 21 21:28:57 1995 Ken Raeburn + + * gas/m68k/schwab.*: New test based on a test case from Andreas + Schwab. + * gas/m68k/all.exp: Run it for some aout configurations. + +Mon Jun 12 22:27:18 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/parse/badfmpyadd.s: New test. + * gas/hppa/parse/parse.exp: Run it. + +Sun May 21 20:26:18 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/unsorted.exp: Disable align4 tests for + ELF targets. + +Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * arm/arm7dm.s: New file -- tests for ARM7DM instructions. + * arm/arm6.s: Correct bogus tests. + * arm/gas.exp (arm6.s): Is now a valid test. + (arm7dm.s): New test. + * arm/float.s: Add load/store multiple floating point instruction + tests. + +Wed May 3 13:14:44 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/longcall.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Tue May 2 16:37:48 1995 Ken Raeburn + + * gas/mips/ld.d: Modified for gas delay-slot fixes. + +Sat Apr 29 23:35:18 1995 Doug Evans + + * lib/gas-dg.exp: New file. + +Tue Apr 11 13:57:52 1995 Ken Raeburn + + * gas/mips/mips4.d: Allow more than exactly 8 zeros in bc1* + targets. + +Mon Apr 10 15:36:39 1995 Ken Raeburn + + * lib/gas-defs.exp (pass_phase): New proc. + (run_dump_test): Note passing or failing of each phase of this + test, instead of failure of phases or passing of complete test. + Ensure test file name is in reported message. + +Sat Apr 8 12:46:33 1995 Doug Evans + + * lib/gas-defs.exp (run_dump_test): Handle arguments with paths. + Always resolve testcase status before returning. + If `slurp_options' fails, return and don't do test. + (slurp_options): Fix "can't open" error message. + Return -1 to indicate error. + +Mon Mar 20 22:45:30 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/common.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + +Fri Mar 10 19:07:09 1995 Ken Raeburn + + * gas/h8300/ffxx1.s: Add .word 0 at the end to eliminate + uncertainty as to whether there should be trailing bytes in the + output file. + * gas/h8300/ffxx1.d: Adjust reloc values to permit an addend value + of 0x00000000ffffffff on 64-bit hosts. (I'm not sure if this is + correct.) End with "..." to match trailing zero bytes. + +Wed Mar 8 15:50:34 1995 Ian Lance Taylor + + * gas/mips/mips4.d, gas/mips/mips4.s: New files. + * gas/mips/mips.exp: Run new test. + +Thu Feb 23 17:58:50 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/basic/fmemLRbug.s: Add indexing variants. + * gas/hppa/basic/basic.exp: Test them. + +Wed Feb 15 15:43:26 1995 Ian Lance Taylor + + * gas/mips/uld.d: New file. + * gas/mips/uld.s: New file. + * gas/mips/usd.d: New file. + * gas/mips/usd.s: New file. + * gas/mips/mips.exp: Run new tests. + +Thu Feb 9 10:57:39 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/applybug.s: New test. + * gas/hppa/reloc/reloc.exp (do_applybug_test): Run it. + +Thu Feb 2 00:34:55 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/picreloc.s: New test. + * gas/hppa/reloc/reloc.exp (do_pic_relocation_test): Run it. + +Fri Jan 27 14:02:02 1995 Ken Raeburn + + * gas/h8300/ffxx1.d, gas/h8300/ffxx1.s, gas/h8300/cmpsi2.s, + gas/h8300/h8300.exp: New tests. + +Mon Jan 23 21:44:26 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/basic/basic.exp (do_system): Update. + +Wed Jan 11 17:20:25 1995 Ken Raeburn + + * gas/mips/mips.exp: Don't run the memory-access tests if the + format is a.out, because the generated code is different from what + is used with other formats. + +Tue Jan 10 11:42:13 1995 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in + regexp to avoid losing without a controlling tty. + +Fri Dec 30 18:08:20 1994 Ken Raeburn + + * gas/i386/pushw.l: Fixed whitespace to match current listing + style. + + * gas/all/gas.exp: Mark test p1480.s expected to pass, even with + listings enabled. + +Thu Dec 15 18:14:27 1994 Ken Raeburn + + * Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set. + (uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp. + * config/default.exp: Default OBJDUMP and OBJDUMPFLAGS. Use + findfile and transform procedures to determine objdump program + name. + + * gas/mips/abs.s, gas/mips/div.s: Force some padding at the end, + in case the format doesn't automatically require it. + * gas/mips/beq.d, gas/mips/jal.d: Handle MIPS_JMP as an alternate + name for the reloc type. + + * lib/gas-defs.exp (file_contents, verbose_eval): New procs. + (run_dump_test): If verbosity level is over 3, print out dump + command and its output. + +Tue Dec 13 18:21:09 1994 Ian Lance Taylor + + * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted + disassembly. + +Fri Dec 9 19:54:04 1994 Ken Raeburn + + * gas/all/gas.exp (comment.s test): Make the "\r" optional, since + it depends on tty modes. + + * lib/gas-defs.exp (gas_start): Try using -nottycopy instead of + -nottyinit. + + * gas/arm/gas.exp: The arm6 test should report errors, for now. + +Thu Dec 8 20:19:09 1994 Ken Raeburn + + * lib/gas-defs.exp: Use -i in expect_after command. + +Wed Dec 7 16:49:14 1994 Ken Raeburn + + * gas/mips/mul.d,jal.d: Fix 0-strings to work with 64-bit hosted + disassembly. + + * gas/ieee-fp: Renamed from ieee.fp. + + * lib/gas-defs.exp: Make sure timeout is at least 2 minutes. + +Wed Nov 30 10:48:00 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/parse: Renamed from gas/hppa/more.parse. + +Mon Nov 28 00:40:26 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected + to fail. Fix comments for the test. Tweak test name. + +Tue Nov 22 23:38:20 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF + output. + +Fri Nov 18 17:56:57 1994 Ian Lance Taylor + + * gas/mips/ld.d: Adjust to work for both big and little endian + code. + * gas/mips/ld.s, gas/mips/lif-empic.d: Likewise. + * gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise. + * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise. + * gas/mips/usw.d: Likewise. + +Tue Nov 15 11:09:57 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/align4.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + + * gas/hppa/unsorted/unsorted.exp (importbug): Tweak to match + current expected PA ELF output. + * gas/hppa/reloc/reloc.exp (do_r_no_reloc): Likewise. + (do_plabel_relocation_test): Likewise. + +Thu Nov 3 18:14:09 1994 Ken Raeburn + + * gas/all/p1480.s: Use larger constant, so expression can have a + positive value. + * gas/all/gas.exp: Expect p1480.s without listings to pass. + +Thu Nov 3 15:43:46 1994 Ian Lance Taylor + + * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d: + Correct test cases. + +Thu Oct 20 00:55:13 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/blebug3.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Mon Oct 17 02:33:53 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reduce3.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Sun Oct 16 22:25:56 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match + current reality. + +Wed Sep 28 21:21:34 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s + * gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s + * gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s + * gas/hppa/reloc/reloc.exp: Changed accordingly. + +Wed Sep 28 13:25:10 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch + overflows are correctly converted to jumps. + +Mon Sep 26 17:41:43 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * gas/mips: Add test cases for PIC code, both SVR4 style and + -membedded-pic style. + +Fri Sep 23 14:45:42 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * gas/mips: New directory with MIPS specific test cases. + + * lib/gas-defs.exp (run_dump_test): Permit the .d file to specify + the name of the source file to assemble. + (regexp_diff): Put the reason for failure in the log file. + +Wed Sep 21 13:44:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * lib/gas-defs.exp: Don't try to use shell redirection, since TCL + doesn't support it. Redirect stdout using > instead of 1>, and + don't bother to redirect stderr since TCL redirects it anyhow. + (run_dump_test): Pass appropriate arguments to program, defaulting + to -r. + +Sat Sep 17 01:04:56 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gas/vax: New directory. + * gas/vax/{quad.s,quad.exp}: New test, for immediate quadword + values. + +Mon Sep 12 22:19:11 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/r_no_relocbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + + * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update + expected output. + +Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + + * gas/arm/*: New subtree. Add ARM tests. + +Mon Aug 8 12:13:31 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/unsorted.exp: Accept any character + between foo's type and foo itself. + +Fri Jul 15 19:09:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/gas-defs.exp (run_dump_test): New routine for running the + assembler, running objdump or nm (not fully supported) on the + resulting object file, and comparing the results against a file of + regular expressions in the test suite, all in one command. + Options for the assembler and objdump are read from comments at + the start of the .d file. + (fail_phase, slurp_options): New auxiliary routines. + (regexp_diff): Always return a value. Fix bugs in actually doing + the regexp test. + + * gas/sun4/addend.exp: Use run_dump_test. + * gas/sun4/addend.d: Fix regular expressions so that they work. + +Thu Jul 7 11:55:33 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests. + * gas/hppa/reloc/reloc.exp: Run them. + +Thu Jun 30 18:49:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/default.exp: Look for "as.new" in "$base_dir/..", where + it got compiled, not in "$base_dir". + * config/unknown.exp: Deleted. + +Sun Jun 26 13:23:54 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait" + before exiting. Enclose both calls inside a "catch". + (objdump_finish): Likewise. + +Fri Jun 10 10:23:35 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp (roundmode test): Tweak expected output + for SOM to match current testcase. + +Thu Jun 2 19:46:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gas/i386/{pushw.s,pushw.l}: New test. + * gas/i386/all.exp: Run it. + + * Makefile.in (distclean): Remove site config files and gas.sum. + +Fri May 27 12:24:18 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gas/m68k/disperr.s: Use % for registers. + + * gas/m68k-coff/gas.exp: Expect failure for p2389a.s. + +Tue May 17 14:53:08 1994 Bill Cox (bill@rtl.cygnus.com) + + * lib/gas-defs.exp: Replace error proc calls with perror calls. + +Mon May 16 13:19:16 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Tweak expected output to match new + ELF code. + * gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does + not support them. + * gas/hppa/unsorted/unsorted.exp: Tweak expected output to match + new ELF code. + +Thu May 5 17:27:54 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/default.exp: Renamed from unix-gas.exp. + +Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) + + * Makefile.in (check): Set TCL_LIBRARY for runtest. + +Mon Apr 11 07:54:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/callinfobug.s: Add missing name for + procedure. + + * gas/hppa/reloc/funcrelocbug.s: Place the trampoline in the + $DATA$ rather than $LIT$ subspace. + +Sun Mar 27 14:05:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/funcrelocbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Thu Mar 17 13:38:04 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/importbug.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + +Wed Mar 16 11:57:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test. + + * gas/hppa/unsorted/globalbug.s: New test (expected to fail). + * gas/hppa/unsorted/unsorted.exp: Run it. + + * gas/hppa/more.parse/callinfobug.s: New test. + * gas/hppa/omre.parse/parse.exp: Run it. + + * gas/hppa/more.parse/regpopbug.s: New test. + * gas/hppa/more.parse/parse.exp: Run it. + +Mon Feb 28 14:10:04 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/gas-defs.exp (objdump): New proc. + (objdump_start): Deleted unused proc. + (objdump_start_common): Merged into objdump_start_no_subdir. + + * gas/alpha/fp.exp: Use objdump instead of + objdump_start_no_subdir, since the former actually waits for + objdump to finish. Specify .rdata section only. Make comment + indicate Alpha architecture rather than SPARC. + * gas/alpha/fp.d: Omit .reginfo patterns. Just use "." to match + against ASCII code 0x2a ("*", special in regexp). + * gas/sun4/addend.exp: Use objdump instead of + objdump_start_no_subdir. + +Thu Feb 24 07:11:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/parse.exp (no subspace test): Only expect + a failure if gas is not producing an ELF object. + +Mon Feb 14 09:24:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/basic/fmemLRbug.s: New test. + * gas/hppa/basic/basic.exp: Run it. + +Thu Feb 10 00:34:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gas/alpha/fp.*: New files. + * lib/gas-defs.exp (regexp_diff): Report noted mismatch at + verbosity level 3 or above only. + +Mon Feb 7 15:53:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than + PA OSF1. + +Fri Feb 4 23:42:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/xmpyubug.s: New test. + * gas/hppa/more.parse/parse.exp: Run it. + +Fri Feb 4 17:13:20 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on + "simple_diff" from linker test suite. + * gas/sun4/addend.exp: Use it. + * gas/sun4/addend.d: New file. + +Sun Jan 30 23:34:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * gas/all/gas.exp: Adjust regexp for x930509.s for current listing + format. + +Thu Jan 20 16:44:51 1994 Rob Savoye (rob@darkstar.cygnus.com) + + * gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp, + sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run + well under either version of expect. + +Mon Jan 17 00:25:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested + elsewhere now. + * gas/hppa/basic/{copr, coprmem, spop}.s: New tests. + * gas/hppa/basic/basic.exp: Run them. + +Thu Jan 13 11:59:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/all/gas.exp: No longer expect difference of forward + references to fail. + * gas/all/x930509.s: Fix testcase to match how the expect code was + written. + +Wed Jan 12 13:41:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Fix typo in last change. Latest test + for cross-subspace call bugs is no longer expected to fail. + + * gas/hppa/more.parse/procbug.s: Add test for another bug relating + to having a function's label follow the .PROC directive. + +Tue Jan 11 21:47:48 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug + found while working on multiple $CODE$ subspace support. + +Mon Jan 10 09:54:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected + to fail. + * gas/hppa/more.parse/procbug.s: Add missing .procend. + +Mon Jan 3 10:07:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/labelbug.s: Add testcase for bug in last + app.c change. + +Wed Dec 29 11:32:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/labelbug.s: Add more colonless label tests. + +Wed Dec 15 08:24:31 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * Makefile.in (site.exp): Don't set ASFLAGS. Quote value of + OBJDUMPFLAGS in case it's empty. Use temporary names until the + end; make creating site.exp the final step. + (check): Pass in ASFLAGS. + + * gas/all/gas.exp: Use all_ones proc. Change regexp for matching + C comments to avoid bugs in latest expect code. + +Wed Dec 8 14:30:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/m68k/disperr.s: New test. + * gas/m68k/all.exp: Run it. + +Sun Dec 5 19:24:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/roundmode.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change. + +Wed Dec 1 10:44:18 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Run the first half of bogus R_EXIT + test for ELF. + +Tue Nov 30 13:43:21 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/parse.exp: Test for error on for subspace + directive is an XFAIL for SOM assmeblers. + + * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on + cross-subspace call test. + +Sun Nov 28 12:12:50 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/appbug.s: New test. + * gas/hppa/more.parse/parse.exp: Run it. + + * gas/hppa/unsorted/align3.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + +Sat Nov 27 22:50:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/all/p2425.s: Insert a tab before assembler directives so + that the directives are not interpreted as labels. + + * gas/hppa/basic/weird.s: Sync with GDB version. + + * gas/hppa/more.parse/labelbug.s: New test. + + * gas/hppa/more.parse/parse.exp: Run it. + +Wed Nov 24 01:25:03 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/fixupbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + + * gas/hppa/reloc/exitbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Sun Nov 21 22:11:10 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF can + share the same test code. + * gas/hppa/reloc/relocreduce.s: Likewise. + + * gas/hppa/basic/fmem.s: Add quadword FP store instructions. + * gas/hppa/basic/basic.exp: Test quadword FP store instructions. + +Sun Nov 7 00:31:41 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp: No longer expect failure for + field selector on ble instruction test. + + * gas/hppa/basic/basic.exp: No longer expect failures for + system instruction tests now that probei is fixed. + +Sat Nov 6 22:45:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/selectorbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + +Thu Nov 4 17:01:30 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/fragbug.s: New test. + * gas/hppa/unsorted/unsorted.exp: Run it. + +Thu Nov 04 09:09:49 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: Changed RUNTESTFLAGS to RUNTEST_FLAGS + +Tue Nov 2 22:12:30 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests. + * gas/hppa/more.parse/parse.exp: Run them. + +Mon Nov 1 23:37:58 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at + which specific relocations are expected to be found. + +Sat Oct 30 14:12:31 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail. + + * gas/hppa/more.parse/parse.exp: Add new test. + * gas/hppa/more.parse/ssbug.s: New test to make sure non-default + sections are handled correctly. + + * gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets. + +Fri Oct 29 16:29:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/calldatabug.s: Colonize. + * gas/hppa/more.parse/parse.exp: Fix typos. + +Thu Oct 28 21:40:06 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/{basic, more.parse, reloc, unsorted}: New directories. + * gas/hppa/*/*.exp: New test drivers. + * gas/hppa/*/*.s: New test files. + +Mon Oct 25 09:40:59 1993 Ken Raeburn (raeburn@cygnus.com) + + * gas/sun4: New directory. + * gas/sun4/addend.s,addend.exp: New test case. + * gas/sparc-solaris/addend.s,addend.exp: Solaris version of same + test case. + + * gas/all/gas.exp: Check `*' in C comments. + + * lib/gas-defs.exp (all_ones): New procedure, for a predicate to + simplify some tests. + (want_no_output): Return zero or nonzero, depending on success or + failure. + (gas_test_old): Return value from want_no_output. + (objdump_start_common): Split off from objdump_start. + (objdump_start_no_subdir): New procedure. + +Wed Oct 20 07:25:48 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * gas/all/diff1.s, gas/m68k/pic1.s: New tests. + * gas/all/gas.exp, gas/m68k/all.exp: Run them. + + * Makefile.in (OBJDUMP_FOR_TARGET): Define similar to + AS_FOR_TARGET. + (check): Don't pass ASFLAGS variable. + (site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp. + + From Jeff Law: + + * lib/gas-defs.exp (objdump_start, objdump_finish): New functions + so that tests can parse the output of objdump looking for errors + in relocation entires, file headers and the like. + +Thu Sep 23 16:20:34 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * gas/ieee.fp/x930509a.exp: Currently expected to fail always. + * gas/all/gas.exp (p1480.s, x930509.s): Ditto. Break up gas_test + call so it no longer performs multiple tests. + * gas/m68k/all.exp (t2.s): Don't bother with listings. + (p2410.s): Don't pass unwanted arguments to gas_test_error. + +Wed Aug 25 16:50:08 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * lib/do*: Remove RCS id strings. + +Mon May 17 15:09:45 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * gas/all/float.s, gas/all/p1480.s, gas/m68k/p2410.s: New tests. + * gas/all/gas.exp, gas/m68k/all.exp: Run them. + * gas/i386: New directory. + +Mon May 10 14:50:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * Added directory structure, to categorize tests by targets. + * Added new tests all/x930509.s, ieee.fp/x930509a.s, m68k/p2663.s, + and refined some to examine the assembler listing output. + * lib/gas-defs.exp: Renamed gas_start to gas_run. Added some + expect_after patterns. + (gas_start, gas_finish): New procs, for tests that examine process + output. + * config/unix-gas.exp: Invoke gas_init directly, instead of + requiring test .exp files do it. + +Wed Apr 21 01:24:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * gas/gas.exp: Handle new tests, and changes to testing procs. + + * lib/gas-defs.exp (want_no_output): New proc; success iff output + is empty. + (gas_test_old): Functionally same as old gas_test. + (gas_test_ignore_stdout): Rewritten to use want_no_output. + (gas_test): New argument lists set of options to be tried in + combinations. Option with trailing ">" indicates standard output + should be ignored. + + * gas/p2425a.s: Use %-form for registers, so this test can be run + on m68k-coff targets too. + + * gas/p2430a.s: New test case, whitespace &c matches customer + report more closely. Gets different results from p2430.s; this is + bad, and not yet tested for. + +Mon Apr 5 12:27:19 1993 Ken Raeburn (raeburn@cygnus.com) + + * gas/p2389a.s, gas/p2411.s, gas/t2.s: New test cases. + * lib/run: New script. + * gas/gas-defs.exp (gas_start): Takes new args, assembler options + and redirection options. Use "run" script so redirection works. + (gas_test): Now takes assembler options as separate arg from input + file name. + (gas_test_ignore_stdout): New proc. Discards output. + (gas_test_error): New proc. Expects assembler to generate output. + (target_cpu_family setting): Handle i486->i386 also. + + * lib/do*: Scripts moved here from gas/testscripts. May be useful + someday for writing more test cases; not currently used. + +Tue Mar 30 11:45:27 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * gas/sol-gcc.s, gas/sol-cc.s, gas/p2425a.s, gas/p2389.s: New test + cases. + * gas/gas.exp: Enable them for appropriate targets. Removed some + useless comments &c. Changed m68k target test to be more general. + + * lib/gas-defs.exp (gas_exit, gas_init): New procs. + * gas/gas.exp: Call gas_init. + +Mon Mar 29 00:00:00 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * Test suite created. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 4ea946c8236..75431c2f808 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,2131 +1,9 @@ -2003-11-06 Bruno Rohee - * gprof.texi: Fix "the the" typo. - -2003-10-30 Nick Clifton - - * gprof.texi (Compiling): Describe how to use gprof when source - files are not compiled with -pg. Mention other profiling options - supported by gcc. - (How do I?): Mention the function call overhead introduced by -pg. - -2003-10-29 Nick Clifton - - * gprof.texi: Apply patch supplied by Eric S Raymond via RMS: - (Compiling): Mention that -pg must be passed to both the compiler - and the linker. - Mention that -a is now deprecated. - (How do I?): Add an entry describing how to get more information - about program hotspots. - -2003-10-11 Alan Modra - - * corefile.c (core_create_function_syms): Don't refer directly to - _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. - -2003-08-26 Nick Clifton - - * po/de.po: New German translation. - * configure.in (ALL_LINGUAS): Add de. - * configure: Regenerate. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * gconfig.in: Regenerate. - -2003-08-21 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2003-08-14 Alan Modra - - * dep-in.sed: Remove libintl.h. - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - * Makefile.in: Regenerate. - -2003-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-07-20 H.J. Lu - - * po/Make-in (.po.gmo): Do check if the .gmo file is writable - before generating it. - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - -2003-07-11 Alan Modra - - * po/gprof.pot: Regenerate. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-03-27 Chris Demetriou - - * gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New. - (gmon_get_ptr_size, gmon_get_ptr_signedness): New. - (gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc) - (gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to - use new functions and enums. - -2003-02-21 K Schutte - - * corefile.c (core_create_line_syms): Check for a NULL sentinel - value before using it. - -2002-12-02 Nick Clifton - - * configure.in (LINGUAS): Add pt_BR. - * configure: Regenerate. - * po/pt_BR: New Brazillian Portugese translation. - -2002-11-30 Alan Modra - - * basic_blocks.c, basic_blocks.h, cg_arcs.c, cg_dfn.c, cg_print.c, - corefile.c, gmon_io.c, gprof.c, gprof.h, hist.c, mips.c, source.c, - source.h, sym_ids.c, sym_ids.h, symtab.h, tahoe.c, vax.c: Replace - boolean with bfd_boolean, true with TRUE, false with FALSE. - Formatting. - -2002-11-12 Nick Clifton - - * configure.in (ALL_LINGUAS): Add da. - * configure: Regenerate. - * po/da.po: New Danish translation. - -2002-08-22 Nick Clifton - - * gprof.c (main): Turn off default excluded functions in FLAT - profile. - -2002-08-21 John David Anglin - - * gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if - BFD_HOST_U_64_BIT is defined. - (gmon_io_read_vma, gmon_io_write_vma): Add ifdefs. - -2002-07-30 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2002-07-30 Nick Clifton - - * alpha.c, cg_arcs.c, cg_dfn.c, gmon.h, gprof.c, gprof.h, hertz.c, - i386.c, mips.c, sparc.c, tahoe.c, utils.c, vax.c: Update Copyright - notice so that it applies even if the sources are modified. - -2002-07-29 Ulrich Drepper - - * gprof.texi (Executing the Program): Add documentation on how to use - bbconv.pl. Patch by Eric Hanchrow. - -2002-07-25 Nick Clifton - - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-24 Dave Brolley - - * corefile.c (core_create_function_syms): Use the end of the section - containing the symbol to compute max_vma. - -2002-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - * po/id.po: New Indonesian translation. - * configure.in (LINGUAS): Add id. - * configure: Regenerate. - -2002-05-02 Nick Clifton - - * po/Make-in (.po.gmo): Do not attempt to create a .gmo file if - the sources are read-only. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-07 Daniel Jacobowitz - - * gprof.texi: Wrap @menu in @ifnottex, not @ifinfo. - -2002-02-19 Frank Ch. Eigler - - * hist.c (hist_print): Rewrite log_scale calculation loop. - -2002-02-11 Alan Modra - - * Makefile.am: "make dep-am". - * Makefile.in: Regenerate. - -2002-02-10 Daniel Jacobowitz - - * gprof.c: Include "getopt.h" after other includes, so that - the proper macros are defined. - * gen-c-prog.awk: Emit a prototype for the generated function. - -2002-02-01 Alan Modra - - * configure.in (build_warnings): Add -Wstrict-prototypes - -Wmissing-prototypes. - * aclocal.m4: Regenerate. - * gconfig.in: Regenerate. - * configure: Regenerate. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - - * alpha.c (alpha_find_call): Warning fixes. - * mips.c (mips_find_call): Likewise. - * sparc.c (sparc_find_call): Likewise. - * basic_blocks.c: Warning fixes. Eliminate DEFUN. - * call_graph.c: Likewise. - * cg_arcs.c: Likewise. - * cg_dfn.cp: Likewise. - * gprof.c: Likewise. - * gprof.h: Likewise. - * hist.c: Likewise. - * search_list.c: Likewise. - * source.c: Likewise. - * source.h: Likewise. - * sym_ids.c: Likewise. - * symtab.c: Likewise. - * symtab.h: Likewise. - * utils.c: Likewise. - * cg_print.c: Likewise. - (struct function_map, symbol_map, symbol_map_count): Move - declaration to.. - * corefile: ..here. - * corefile.c: Warning fixes. Eliminate DEFUN. - (struct function_map): Remove declaration. - * gmon_io.c: Warning fixes. Eliminate DEFUN. - (gmon_io_read_64): Make static. - (gmon_io_write_64): Likewise. - (gmon_read_raw_arc): Likewise. - (gmon_write_raw_arc): Likewise. - (gmon_io_write_8): Don't pass char, pass int param. - * gmon_io.h (gmon_io_write_8): Likewise. - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - - * basic_blocks.c: Replace bool with boolean, TRUE with true and - FALSE with false throughout. - * basic_blocks.h: Likewise. - * cg_arcs.c: Likewise. - * cg_dfn.c: Likewise. - * cg_print.c: Likewise. - * corefile.c: Likewise. - * gmon_io.c: Likewise. - * gprof.c: Likewise. - * hist.c: Likewise. - * mips.c: Likewise. - * source.c: Likewise. - * source.h: Likewise. - * sym_ids.c: Likewise. - * sym_ids.h: Likewise. - * symtab.h: Likewise. - * tahoe.c: Likewise. - * vax.c: Likewise. - * gprof.h: Likewise. - (TRUE): Don't define. - (FALSE): Don't define. - -2002-01-31 Jason R Thorpe - - * TODO: Remove "host architecture pointer size" item. - * acconfig.h: Remove. - * gconfig.in: Regenerate. - * configure.in: Remove check for gmon pointer size. - * configure: Regenerate. - * gmon.h (GMON_HDRSIZE_BSD44_32): Define. - (GMON_HDRSIZE_BSD44_64): Ditto. - (GMON_HDRSIZE_OLDBSD_32): Ditto. - (GMON_HDRSIZE_OLDBSD_64): Ditto. - (struct raw_phdr): Wrap in #if 0, keeping it for - documentation purposes only. - (struct old_raw_phdr): Likewise. - (struct raw_arc): Likewise. Change type/size of - "count" member to long match 4.4BSD. - * gmon_io: Update copyright years. - (gmon_io_read_64): New function. - (gmon_io_read_vma): Use bfd_arch_bits_per_address to - determine target pointer size. Use gmon_io_read_32 - and gmon_io_read_64. - (gmon_io_write_64): New function. - (gmon_io_write_vma): Use bfd_arch_bits_per_address to - determine target pointer size. Use gmon_io_write_32 - and gmon_io_write_64. - (get_vma): Remove. - (put_vma): Ditto. - (gmon_read_raw_arc): New function. - (gmon_write_raw_arc): New function. - (gmon_out_read): Do not use struct raw_phdr or - struct old_raw_phdr to read the gmon header. Use - gmon_read_raw_arc to read call graph records. - (gmon_out_write): Do not use struct raw_phdr or - struct old_raw_phdr to write the gmon header. Use - gmon_write_raw_arc to write call graph records. - * po/gprof.pot: Regenerate. - * Makefile.in: Regenerate. - -2002-01-31 Alan Modra - - * alpha.c (alpha_Instruction): Don't use. - (alpha_find_call): Avoid use of bitfields and casts between - pointers and integers of different sizes. Avoid endian problems - when cross-compiling. - * vax.c (vax_find_call): Likewise. - (struct modebyte): Don't use. - (vax_operandmode): Pass in an unsigned char *. - (vax_operandlength): Likewise. - (vax_reladdr): Rename to vax_offset and return relative offset - rather than address. - * i386.c (i386_find_call): Avoid casts between pointers and - integers of different sizes. - * sparc.c (sparc_find_call): Likewise. Avoid endian problems. - * tahoe.c (tahoe_find_call): Likewise. - (tahoe_reladdr): Rename to tahoe_offset and return relative offset - rather than address. - - * basic_blocks.h: Don't include headers here. - * call_graph.h: Likewise. - * cg_arcs.h: Likewise. - * cg_print.h: Likewise. - * corefile.h: Likewise. - * gmon_io.h: Likewise. - * gmon_out.h: Likewise. - * hertz.h: Likewise. - * hist.h: Likewise. - * source.h: Likewise. - * sym_ids.h: Likewise. - * symtab.h: Likewise. - * gprof.h: Don't include ansidecl.h, do include bfd.h. - (bool): Don't typedef. - * alpha.c: Adjust #include's for above header changes. - * basic_blocks.c: Likewise. - * call_graph.c: Likewise. - * cg_arcs.c: Likewise. - * cg_dfn.c: Likewise. - * cg_print.c: Likewise. - * corefile.c: Likewise. - * gmon_io.c: Likewise. - * gprof.c: Likewise. - * hertz.c: Likewise. - * hist.c: Likewise. - * i386.c: Likewise. - * mips.c: Likewise. - * sparc.c: Likewise. - * sym_ids.c: Likewise. - * symtab.c: Likewise. - * tahoe.c: Likewise. - * utils.c: Likewise. - * vax.c: Likewise. - - * po/POTFILES.in: Regenerate. - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-26 Richard Henderson - - * i386.c (i386_iscall): Static. - * tahoe.c (indirectchild, tahoe_operandmode): Static. - (tahoe_operandlength, tahoe_reladdr): Static. - * vax.c (indirectchild): Static. - -2002-01-26 Hans-Peter Nilsson - - * Makefile.am (install): Depend on install-info. - * Makefile.in: Regenerate. - -2002-01-26 Jason Thorpe - - * mips.c: New file. - * Makefile.am (sources): Add mips.c. - (mips.o): New rule. - * Makefile.in: Regenerate. - * corefile.c: Update copyright years. - (find_call): Call mips_find_call for bfd_arch_mips. - -2002-01-26 Nick Clifton - - * po/fr.po: Updated version. - -2002-01-25 Nick Clifton - - * po/es.po: Updated version. - -2002-01-17 Nick Clifton - - * po/gprof.pot: Regenerate. - -2002-01-07 Nick Clifton - - * po/es.po: New file: Spanish translation. - * configure.in (ALL_LINGUAS): Add es. - * configure: Regenerate. - -2002-01-03 Nick Clifton - - * gmon_io.c (gmon_out_read): Remove use of ngettext(). It is not - present under AIX. - -2002-01-02 Nick Clifton - - * cg_print.c (print_header): Fix spelling typo. - - * gmon_io.c (gmon_out_read): Fix formatting of text messages to - allow easier translation into other languages. - -2001-12-21 Nick Clifton - - * configure.in (ALL_LINGUAS): Add sv. - * configure: Regenerate. - * po/sv.po: Import from translation project web site. - -2001-12-03 Nick Clifton - - * configure.in (LINGUAS): Add tr. - * configure: Regenerate. - * po/tr.po: Import from translation project's web site. - -2001-11-02 Nick Clifton - - * configure.in (ALL_LINGUAS): Add 'fr'. - * configure: Regernate. - * po/fr.po: New file. - -2001-10-03 Alan Modra - - * configure: Regenerate. - -2001-10-02 Alan Modra - - * Makefile.am (Makefile): Depend on bfd/configure.in. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-09-18 Bruno Haible - - * gprof.c (main): For gettext, also set the LC_CTYPE locate facet. - * sym_ids.c: Include "safe-ctype.h" instead of . - (parse_spec): Use ISDIGIT instead of isdigit. - -2001-09-18 Alan Modra - - * sparc.c (sparc_find_call): Warning fix. - * alpha.c (alpha_find_call): Likewise. - -2001-08-09 Alan Modra - - * alpha.c: Add missing prototypes. - * sparc.c: Likewise. - * tahoe.c: Likewise. - * vax.c: Likewise. - * i386.c: Likewise. - (i386_iscall): Don't use DEFUN. - -2001-07-19 Nick Clifton - - * NOTES: Rename to README for consistency with other binutils. - -2001-06-18 H.J. Lu - - * Makefile.am (diststuff): Add $(MANS). - (gprof.1): Remove the prefix `$(srcdir)/'. - * Makefile.in: Regenerated. - - * gprof.1: Removed. - -2001-06-12 Ben Elliston - - * gprof.texi (File Format): Profile data files are stored in - target byte order, not host byte order. - -2001-05-16 Alexandre Oliva - - * gmon_io.c (gmon_io_read, gmon_io_write_vma, - gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust - argument list for K&R C. - -2001-04-06 Stephane Carrez - - * gprof.texi: Put @c man begin and @c man end indications - to generate man page using texi2pod and pod2man. Added SEEALSO, - SYNOPSIS, BUGS, FILES and DESCRIPTION from original gprof.1 - enclosed in @ifset man condition. - * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. - Generate gprof.1 from gprof.texi. - * gprof.1: Generate from gprof.texi. - * Makefile.in: Regenerate. - -2001-03-13 David Mosberger - - * hist.c (hist_dimension): Declare as an array of 16 characters. - (hist_read_rec): If SAMPLEDEBUG, print each histogram bin count. - - * basic_blocks.c: Whitespace and formatting changes. - * bb_exit_func.c: Ditto. - * call_graph.c: Ditto. - * call_graph.h: Ditto. - * cg_arcs.c: Ditto. - * cg_print.c: Ditto. - * cg_print.h: Ditto. - * corefile.c: Ditto. - * corefile.h: Ditto. - * gmon_io.c: Ditto. - * gmon_io.h: Ditto. - * gmon_out.h: Ditto. - * gprof.c: Ditto. - * hist.c: Ditto. - * hist.h: Ditto. - * i386.c: Ditto. - * search_list.c: Ditto. - * search_list.h: Ditto. - * source.c: Ditto. - * source.h: Ditto. - * sym_ids.c: Ditto. - * sym_ids.h: Ditto. - * symtab.c: Ditto. - * symtab.h: Ditto. - * tahoe.c: Ditto. - * utils.c: Ditto. - * vax.c: Ditto. - - * gmon_out.h (gmon_hist_hdr): Delete. - (gmon_cg_arc_record): Delete. - - * gmon_io.c (put_vma): Declare "static". - (get_vma): Ditto. - (gmon_io_write): New function. - (gmon_io_write_8): Ditto. - (gmon_io_write_32): Ditto. - (gmon_io_write_vma): Ditto. - (gmon_io_read): Ditto. - (gmon_io_read_32): Ditto. - (gmon_io_read_vma): Ditto. - * basic_blocks.c (bb_read_rec): Use gmon_io_read* / gmon_io_write* - to read/write data file in a more portable fashion. - (bb_write_blocks): Ditto. - * call_graph.c (cg_read_rec): Ditto. - (cg_write_arcs): Ditto. - * hist.c (hist_read_rec): Ditto. - (hist_write_hist): Ditto. - - From Jes Sorensen - * gmon_out.h: Use GMON_PTR_SIZE instead of sizeof(char*). - * gmon.h: Ditto. - * configure.in: Get GMON_PTR_SIZE from existing - if it exists. - * acconfig.h: New file. Mention and document GMON_PTR_SIZE. - * gconfig.h: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2001-02-27 Alan Modra - - * configure.in (BFD_VERSION): New. - (AM_INIT_AUTOMAKE): Use $BFD_VERSION. - * configure: Regenerate. - * gconfig.in: Regenerate. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2001-01-27 Michael Sokolov - - * basic_blocks.c: #include only if it exists. - -2000-11-06 Nick Clifton - - * gprof.texi: Add GNU Free Documentation License. - -2000-09-07 H.J. Lu - - * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. - * configure: Rebuild. - -2000-09-06 Alexandre Oliva - - * aclocal.m4, configure: Rebuilt with new libtool.m4. - -2000-09-02 Nick Clifton - - * configure.in: Increase version number to 2.10.91. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - -2000-08-31 Alexandre Oliva - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-07-26 Nick Clifton - - * bb_exit_func.c: Assign copyright to FSF. Note that David - Mosberger-Tang continuted this code. - -2000-07-24 Nick Clifton - - * basic_blocks.c: Add copyright notice. - * basic_blocks.h: Add copyright notice. - * call_graph.c: Add copyright notice. - * call_graph.h: Add copyright notice. - * cg_print.c: Add copyright notice. - * cg_print.h: Add copyright notice. - * corefile.c: Add copyright notice. - * corefile.h: Add copyright notice. - * gmon_io.c: Add copyright notice. - * gmon_io.h: Add copyright notice. - * gmon_out.h: Add copyright notice. - * hist.c: Add copyright notice. - * hist.h: Add copyright notice. - * search_list.c: Add copyright notice. - * search_list.h: Add copyright notice. - * source.c: Add copyright notice. - * source.h: Add copyright notice. - * sym_ids.c: Add copyright notice. - * sym_ids.h: Add copyright notice. - * symtab.c: Add copyright notice. - * symtab.h: Add copyright notice. - -2000-07-05 Kenneth Block - - * gprof.c: Add optional style to demangle switch - * gprof.texi: Document optional style to demangle switch. - -2000-06-05 DJ Delorie - - * MAINTAINERS: new - -2000-07-01 Alan Modra - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-22 Alan Modra - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - -2000-06-20 Alan Modra - - * source.c (annotate_source): Correct pointer comparison when - checking for backslashes. - -2000-06-13 H.J. Lu - - * configure: Regenerate. - -2000-06-08 David O'Brien - - * configure.in (VERSION): Update to show this is the CVS mainline. - -2000-06-07 Philippe De Muyter - - * source.c: Remove direct inclusion of sys/stat.h. - -2000-05-31 Nick Clifton - - * gprof.h (_): Revert previous delta. We want to use gettext, - not dgettext in the _ macro. - -2000-05-29 Alan Modra - - * gprof.h (_): Use BFD version. - -2000-05-26 Nick Clifton - - * gprof.c (main): When calling getopt_long indicate that the 'd' - switch takes an optional argument, whereas the 'D' switch takes no - argument at all. - -2000-05-26 Alan Modra - - * dep-in.sed: Copy from ../binutils. - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - - * gprof.h: Remove most nls defines. They are pulled in by - bfd/sysdep.h. #include "ansidecl.h" not - -2000-05-26 Eli Zaretskii - - * gprof.texi: Fix numerous typos. Mention some DOS/Windows related - issues. - - * configure.in: Check for setmode function. - * configure: Regenerate. - - * gmon_io.h (SET_BINARY) [HAVE_SETMODE]: Define. - - * gmon_io.c (gmon_out_read) [SET_BINARY]: Switch stdin into binary - mode. - - * source.c: Include filenames.h and sys/stat.h. - (source_file_lookup_path, source_file_lookup_name): Use - FILENAME_CMP to compare file names. - (annotate_source) [__MSDOS__]: If "filename-ann" would overwrite - "filename", replace the extension with ".ann". - [HAVE_DOS_BASED_FILE_SYSTEM]: Support file names with - backslashes and drive letters. - Use IS_ABSOLUTE_PATH. - - * search_list.h (PATH_SEP_CHAR): Define. - - * search_list.c (search_list_append): Use PATH_SEP_CHAR. - - * hertz.c (HERTZ) [__MSDOS__]: Don't define unless they have - neither HAVE_SETITIMER nor HAVE_SYSCONF. - [HAVE_SETITIMER]: If they define both HAVE_SETITIMER and - HAVE_SYSCONF, try setitimer and fall back on sysconf. - -2000-04-07 Andrew Cagney - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure, aclocal.m4: Re-generate. - -2000-04-05 Alexandre Oliva - - * gprof.c (copyright): Do not use N_ in array initializer. - -2000-04-04 Alan Modra - - * po/gprof.pot: Regenerate. - - * gprof.c (usage): Restore translated part of bug string. - - * Makefile.am (BASEDIR): Define. - (BFDDIR): Define. - (INCDIR): Define. - (MKDEP): Define. - (INCLUDES): Add "-I." - (DEP, DEP1, dep.sed, dep, dep-in, dep-am): New targets. - (CLEANFILES): Define. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-03 Alan Modra - - * gprof.h: #include "bin-bugs.h". - * gprof.c (usage): Use REPORT_BUGS_TO. - -2000-03-31 Alan Modra - - * symtab.c (symtab_finalize): Don't use post-increment on - structure copy, to work around a ppc gcc bug. - -1999-09-29 Mark Kettenis - - * hertz.h [MACH] (hertz): Remove macro. The - include doesn't exist on al Mach based - systems, and the definition of hertz breaks compilation of hertz.c - anyway. - -2000-02-22 Ian Lance Taylor - - From Brad Lucier : - * i386.c (i386_find_call): Add cast to ensure that printf argument - matches format. - * tahoe.c (tahoe_find_call): Likewise. - * vax.c (vax_find_call): Likewise. - -2000-01-27 Alan Modra - - * utils.c (print_name_only): Don't pass error strings to - printf as format arg. - -1999-09-24 Nick Clifton - - * gmon_io.c (gmon_out_read): Make sure that sensible values - are extracted from a raw header. - -1999-08-06 Ian Lance Taylor - - From Brad Lucier : - * corefile.c (core_create_line_syms): Add cast for printf. - -1999-07-21 Ian Lance Taylor - - From Mark Elbrecht: - * configure.bat: Remove; obsolete. - -1999-07-15 Ian Lance Taylor - - * configure.in: Bump version number to 2.9.5. - * configure: Rebuild. - -1999-07-11 Ian Lance Taylor - - * corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED. - * sym-ids.c (non_existent_file): Fully initialize structure. - -1999-07-01 Ian Lance Taylor - - * Many files: Add casts in many print statements to cast bfd_vma - values to unsigned long when calling printf. - * Makefile.am ($(OBJECTS)): Add gmon.h. - * Makefile.in: Rebuild. - -1999-06-14 Andreas Schwab - - * gprof.texi: Fix typo. - -1999-06-13 Ian Lance Taylor - - From Bob Byrnes : - * cg_dfn.c: Include "libiberty.h" - (DFN_INCR_DEPTH): Define instead of DFN_DEPTH. - (dfn_stack): Define as pointer rather than array. - (pre_visit): Reallocate dfn_stack as needed. - -1999-04-26 Tom Tromey - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-06 Ian Lance Taylor - - * gprof.h (LC_MESSAGES): Never define. - * gprof.c (main): Don't pass LC_MESSAGES to setlocale if the - system does not define it. - -1999-04-05 H.J. Lu - - * corefile.c (core_create_line_syms): Don't use fixed size array - for prev_name and prev_filename. - -1999-04-04 Michael Hohmuth - - * gprof.h (FF_BSD44): Define. - * gmon.h (struct raw_phdr): Add version, profrate, and spare - fields unconditionally. - (struct old_raw_phdr): New struct. - * gprof.c (main): Handle -O 4.4bsd. - * gmon_io.c (gmon_out_read): Handle BSD 4.4 format, either - automatically or by user specification. - (gmon_out_write): Handle BSD 4.4 format. - * configure.in: Don't set BSD44_FORMAT. - * gprof.texi (Miscellaneous Options): Document -O 4.4bsd. - * configure, gconfig.in: Rebuild. - -Tue Feb 16 17:01:33 1999 Ian Lance Taylor - - * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL - to AC_PROG_INSTALL. Remove AM_CYGWIN32. Change AM_EXEEXT to - AC_EXEEXT. Add comment to AC_DEFINE. - * acconfig.h: Remove. - * aclocal.m4: Rebuild. - * configure: Rebuild. - * Makefile.in: Rebuild. - * gconfig.in: Rebuild. - -1998-12-06 Ian Lance Taylor - - * gprof.texi (Symspecs): Mention that you have to add any - underscore yourself when naming a symbol. - -1998-11-02 Geoffrey Noer - - * configure.in: detect cygwin* instead of cygwin32* - * configure: regenerate - -Wed Aug 12 14:59:06 1998 Ian Lance Taylor - - Avoid some overflow cases: - * basic_blocks.h (bb_min_calls): Change to unsigned long. - * call_graph.h (cg_tally): Change count parameter to unsigned - long. - * cg_arcs.h (Arc): Change count field to unsigned long. - (arc_add): Change count parameter to unsigned long. - * source.h (Source_File): Change ncalls field to unsigned long. - * symtab.h (Sym): Change fields ncalls, bb_calls, and - cg.self_calls to unsigned long. - * Many files: Update accordingly. - - * configure, Makefile.in, aclocal.m4: Rebuild with current tools. - -Fri Jul 10 17:29:49 1998 Stan Cox - - * configure.in (BSD44_FORMAT): Define for cygwin32, win32, mingw32 - * configure: Rebuild. - -Fri Jun 12 13:40:05 1998 Tom Tromey - - * po/Make-in (all-yes): If maintainer mode, depend on .pot file. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -Sun May 10 22:35:33 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Tue May 5 18:28:40 1998 Tom Tromey - - * gprof.h (_): Undefine BFD's version. - -Tue Apr 28 19:17:33 1998 Tom Tromey - - * gprof.c (main): Conditionally call setlocale. - * gprof.h: Include if HAVE_LOCALE_H. - (LC_MESSAGES): Now can be defined even when ENABLE_NLS. - -Tue Apr 28 19:50:09 1998 Ian Lance Taylor - - * corefile.c: Rename from core.c. - * corefile.h: Rename from core.h. - * Many .c files: Include corefile.h rather than core.h. - * Makefile.am (sources): Change core.c to corefile.c. - (noinst_HEADERS): Change core.h to corefile.h. - ($(OBJECTS)): Depend upon corefile.h rather than core.h. - (corefile.o): Rename target from core.o, depend upon corefile.c. - * Makefile.in, po/POTFILES.in: Rebuild. - -Mon Apr 27 16:50:40 1998 Ian Lance Taylor - - * configure.in: Change version number to 2.9.4 - * configure: Rebuild. - -Wed Apr 22 16:01:17 1998 Tom Tromey - - * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). - -Wed Apr 22 00:00:22 1998 Tom Tromey - - * gprof.h: Added includes and defines for gettext. - * configure.in (ALL_LINGUAS): New macro. - Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. - * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, - HAVE_LC_MESSAGES): Define. - * gprof.c (main): Call setlocale, bindtextdomain, textdomain. - * Makefile.am (SUBDIRS): New macro. - (INCLUDES): Look in intl dirs for headers. Define LOCALEDIR. - (gprof_DEPENDENCIES): Added INTLDEPS. - (gprof_LDADD): Added INTLLLIBS. - (POTFILES): New macro. - (po/POTFILES.in): New target. - * Many files: Wrap user-visible strings with gettext invocation. - -Tue Apr 7 12:43:37 1998 Ian Lance Taylor - - From hjl@lucon.org : - * Makefile.am (diststuff): New target. - * Makefile.in: Rebuild. - -Mon Mar 30 12:47:48 1998 Ian Lance Taylor - - * configure.in: Set version to 2.9.1. - * configure: Rebuild. - - * Branched binutils 2.9. - -Sat Mar 28 23:09:08 1998 Ian Lance Taylor - - Fix some gcc -Wall warnings: - * cg_arcs.c (num_cycles): Change to unsigned int. - (numarcs): Likewise. - (arc_add): Change maxarcs to unsigned int. - (cg_assemble): Change index to unsigned int. - * cg_arcs.h (num_cycles, numarcs): Update declarations. - * cg_print.c (cg_print): Change index to unsigned int. - (cg_print_index): Change index, nnames, todo, i, and j to unsigned - int. - (cg_print_file_ordering): Change symbol_count and index2 to - unsigned int. - * core.c (symbol_map_count): Change to unsigned int. - (core_create_function_syms): Change j to unsigned int. - (core_create_line_syms): Add cast to avoid warning. - * hist.c (hist_assign_samples): Change j to unsigned int. - (hist_print): Change index to unsigned i nt. Add cast to avoid - warning. - * sym_ids.c (parse_spec): Add casts to avoid warning. - * symtab.c (symtab_finalize): Change j to unsigned int. - (sym_lookup): Update printf format strings. - * symtab.h (Sym_Table): Change len to unsigned int. - * tahoe.c (tahoe_reladdr): Add casts to avoid warnings. - -Tue Mar 24 19:00:11 1998 Ian Lance Taylor - - Add --demangle and --no-demangle options: - * gprof.h (demangle): Declare. - * gprof.c (demangle): New global variable. - (OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define. - (long_options): Add "demangle" and "no-demangle". - (usage): Mention --demangle and --no-demangle. - (main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE. - * utils.c (print_name_only): Only demangle symbol name if demangle - is true. - * gprof.texi (Output Options): Document new options. - -Fri Mar 20 19:21:56 1998 Ian Lance Taylor - - * Makefile.in: Rebuild with automake 1.2e. - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Thu Feb 12 14:36:05 1998 Ian Lance Taylor - - * gprof.c (usage): Update bug-gnu-utils address. - -Sat Feb 7 15:43:12 1998 Ian Lance Taylor - - * configure, aclocal.m4: Rebuild with new libtool. - -Fri Feb 6 12:02:28 1998 Ian Lance Taylor - - * alpha.c (alpha_Instruction): Use int, not signed. - -Fri Feb 6 02:00:19 1998 Jeffrey A Law (law@cygnus.com) - - * core.c (core_init): Adding missing "break". - -Thu Feb 5 12:49:37 1998 Ian Lance Taylor - - * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. - -Tue Feb 3 14:25:25 1998 Brent Baccala - - * bbconv.pl: New file. - * Makefile.am (EXTRA_DIST): Add bbconv.pl. - * Makefile.in: Rebuild. - - * gprof.texi: Extensive additions to document all arguments and - output formats. - - * symtab.c (symtab_finalize): Prefer function symbols over line - symbols. - (dbg_sym_lookup): Correct debugging messages. - - * gprof.c (main): --sum implies --line. - - * cg_print.c (cg_print): When doing line by line profiling, don't - use a non-function as a main listing item. - - * call_graph.c (cg_tally): When using line by line profiling, use - the function symbol as the child. - - * symtab.h (NBBS): Define. - (Sym): Add bb_addr and bb_calls fields. - * basic_blocks.c (bb_read_rec): Save multiple basic blocks per - symbol. - (bb_write_blocks): Adjust for multiple basic blocks per symbol. - (print_exec_counts): Don't check whether a symbol is the start of - a basic block. Print all basic blocks for a symbol. - (annotate_with_count): Rewrite to print all basic block counts and - to pay attention to width argument. - (print_annotated_source): Don't check whether symbol is the start - of a basic block. - - Make it possible to build a cross gprof, although a few cases are - still not handled: - * configure.in: Don't set MY_TARGET. - * gprof.h: Don't include MACHINE_H. Don't define FOPEN_RB or - FOPEN_WB; just get them from sysdep.h. - * core.h (min_insn_size, offset_to_code): Declare. - * core.c (MIN_INSN_SIZE): Don't define. - (min_insn_size, offset_to_code): New variables. - (core_init): Initialize min_insn_size and offset_to_code. - (find_call): New function. - (core_create_line_syms): Don't use min_dist. Set is_static in - pass 2. - * hist.c (UNITS_TO_CODE): Define. - * gprof.c (default_excluded_list): Add "__mcount_internal". - * gmon.h: Change TARGET_alpha to __alpha__. - * hertz.h: Ifdef MACH, define hertz as HZ. - * alpha.c (alpha_Instruction): Rename from Instruction. Change - all references. - (alpha_find_call): Rename from find_call. - * alpha.h: Remove. - * dummy.c, dummy.h: Remove. - * i386.c (i386_iscall): Rename from iscall. Change all - references. Check for call instruction, not jump or lcall. - (i386_find_call): Rename from find_call. Correct for VMA. - Correct call destination computation. Don't dereference symbol if - it is NULL. - * i386.h: Remove. - * ns532.c, ns532.h: Remove. - * sparc.c (CALL): Define. - (sparc_find_call): Rename from find_call. - * sparc.h: Remove. - * tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h. Don't - include time_host.h. - (CALLF, PC): Define. - (enum tahoe_opermodes, tahoe_operandenum): Define. Rename all - references to opermodes or operandenum to these. - (tahoe_operandmode): Rename from operandmode. Call abort if - switch does not return. - (tahoe_operandname): Rename from operandname. Call abort if - switch does not return. - (tahoe_operandlength): Rename from operandlength. Call abort if - switch does not return. - (tahoe_reladdr): Rename from reladdr. - (tahoe_find_call): Rename from find_call. Use core_text_space - rather than textspace. - * tahoe.h: Remove. - * vax.c (CALLS, PC): Define. - (enum opermodes, operandenum, struct modebyte): Define. - (vax_operandmode): Rename from operandmode. Call abort if switch - does not return. - (vax_operandname): Rename from operandname. Call abort if switch - does not return. - (vax_operandlength): Rename from operandlength. Call abort if - switch does not return. - (vax_reladdr): Rename from reladdr. - (vax_find_call): Rename from find_call. - * vax.h: Remove. - * Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus. - (MY_TARGET): Remove. - (INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H= - \"$(MY_TARGET).h\". - (gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c. - (gprof_DEPENDENCIES): Remove $(MY_TARGET).o. - (gprof_LDADD): Likewise. - (noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h, - tahoe.h, vax.h, dummy.h. - (EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c, - vax.c, dummy.c. - ($(OBJECTS)): Don't depend upon $(MY_TARGET).h. - ($(MY_TARGET).o): Remove target. - (i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets. - * configure, Makefile.in, aclocal.m4: Rebuild. - -Mon Dec 29 14:17:08 1997 Ian Lance Taylor - - * core.c (core_sym_class): Treat weak symbols as text symbols. - From Dean Gaudet . - -Wed Sep 24 11:35:43 1997 Ian Lance Taylor - - * aclocal.m4: Rebuild with new libtool. - * Makefile.in: Rebuild with current automake. - * configure: Rebuild. - -Sat Aug 9 16:25:01 1997 Ian Lance Taylor - - * configure.in: Change version number to 2.8.2. Call - AM_PROG_LIBTOOL. Remove shared library handling; now handled by - libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to - AM_PROG_INSTALL. Add AM_EXEEXT. - * Makefile.am (LINK): Remove. - (gprof_LDFLAGS): Remove - (gprof_DEPENDENCIES): Change libbfd.a to libbfd.la. - (gprof_LDADD): Likewise. - ($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h. - * gprof.h: Undefine PACKAGE and VERSION after including BFD - sysdep.h file, then include new gconfig.h file. - * gprof.c (VERSION): Don't define. - * acconfig.h: New file. - * stamp-h.in: New file. - * gconfig.in: New file, created by autoheader. - * Makefile.in, configure, aclocal.m4: Rebuild. - -Sat Jun 28 23:20:42 1997 Ian Lance Taylor - - * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2. - -Mon Jun 16 15:31:39 1997 Ian Lance Taylor - - * Makefile.am (INCLUDES): Add -DDEBUG. - * Makefile.in: Rebuild. - -Tue Apr 15 14:19:30 1997 Ian Lance Taylor - - Change to use automake: - * Makefile.am: New file. - * configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and - AM_CYGWIN32. - * aclocal.m4: New file, created by aclocal. - * Makefile.in: Replace with file created by automake --cygnus. - * configure: Rebuild. - -Thu Apr 3 13:21:25 1997 Ian Lance Taylor - - * gprof.c (VERSION): Define as "2.8.1". - - * Branched binutils 2.8. - -Thu Mar 27 17:15:23 1997 Ian Lance Taylor - - * gprof.c (main): Correct copyright message. - -Mon Mar 24 11:12:26 1997 Ian Lance Taylor - - * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling. - * gmon.h: Use bytes counts rather than sizeof in struct raw_phdr - and struct raw_arc. - -Mon Mar 17 10:54:47 1997 David Mosberger-Tang - - * cg_arcs.c (arc_add): memset() newly alloced arc to ensure - all fields are initialized with 0. - -Sat Mar 15 19:17:31 1997 H.J. Lu - - * symtab.h (find_call): Declare. - * cg_arcs.c (cg_assemble): Don't declare find_call. - * hist.c (scale_and_align_entries): Declare. - -Thu Feb 27 12:46:53 1997 Ian Lance Taylor - - * configure.in: Define BSD44_FORMAT if the target looks like a - BSD4.4 derived system. - * configure: Rebuild. - * Makefile.in (.c.o): Add @DEFS@. - * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate - from profrate field, not version field. - -Thu Jan 16 17:42:54 1997 Ian Lance Taylor - - * dummy.c (find_call): Clear ignore_direct_calls. - -Tue Dec 31 15:44:10 1996 Ian Lance Taylor - - * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the - end. - (gprof): Put $(CFLAGS) after the other options. - -Tue Nov 26 17:08:38 1996 Ian Lance Taylor - - * configure: Rebuild with autoconf 2.12. - -Wed Oct 2 15:23:16 1996 Ian Lance Taylor - - * sparc.c (find_call): Align p_lowpc to avoid bus error. - -Tue Oct 1 15:58:10 1996 Ian Lance Taylor - - * gprof.c (usage): Print bug report address. - (main): Change version printing to match current GNU standards. - -Fri Aug 30 12:16:11 1996 Ian Lance Taylor - - * gmon.h: Replace #elif with #else/#endif. - -Thu Aug 29 17:04:10 1996 Michael Meissner - - * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. - * configure: Regenerate. - -Thu Aug 22 17:12:30 1996 Ian Lance Taylor - - * configure.in: Set and substitute HLDENV. - * configure: Rebuild. - * Makefile.in (HLDENV): New variable. - (gprof): Use $(HLDENV). - -Wed Aug 7 14:43:51 1996 Philippe De Muyter - - * core.c (read_function_mappings): Cast xmalloc return. - -Thu Jul 4 12:01:42 1996 Ian Lance Taylor - - * gprof.c (VERSION): Define as "2.7.1". - - * Released binutils 2.7. - - * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be - stored on a System V file system. - -Thu Jun 27 11:36:22 1996 Ian Lance Taylor - - * configure.in: Call AC_ISC_POSIX. - * configure: Rebuild. - * Makefile.in (gprof): Pass $(CFLAGS) during link. - * hertz.c: Don't include ; let sysdep.h handle that. - If HAVE_SETITIMER is not defined, try using sysconf. - -Mon Jun 24 18:27:28 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - (AC_PROG_INSTALL): added. - * configure: Rebuilt. - -Mon Jun 24 12:03:09 1996 Ian Lance Taylor - - * configure.in: On alpha*-*-osf*, link against libbfd.a if not - using shared libraries. - * configure: Rebuild with autoconf 2.10. - -Tue Jun 18 17:35:58 1996 Ian Lance Taylor - - * core.c (core_create_line_syms): Use xstrdup rather than strdup. - * source.c (source_file_lookup_path): Likewise. - -Mon Apr 8 14:44:33 1996 Ian Lance Taylor - - * configure.in: Permit --enable-shared to specify a list of - directories. - * configure: Rebuild. - -Thu Mar 21 17:18:25 1996 Ian Lance Taylor - - * core.c (core_create_function_syms): Move filename and func_name - inside ifdef where they are used. - - * core.c (core_sym_class): Parenthesize && within ||. - * symtab.c (symtab_finalize): Correct parenthesization. - - * cg_print.h (cg_print_file_ordering): Declare. - (cg_print_function_ordering): Declare. - - * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. - * cg_arcs.c (arc_add): Likewise. - * cg_print.c (cg_print_function_ordering): Likewise. - -Thu Mar 21 17:02:02 1996 David Mosberger-Tang - - * gprof.c (default_excluded_list): Add "__mcount". - - * gprof.c (main): Change ifdef __osf__ to __alpha__. - - * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the - profiling rate from the header. - - * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and - __osf__ are defined. Add new fields if BSD44_FORMAT is defined. - - * alpha.h (MIN_INSN_SIZE): Define. - * core.c (MIN_INSN_SIZE): If not defined, define as 1. - (core_sym_class): Ignore debugging symbols. - (core_create_line_syms): Use MIN_INSN_SIZE when gathering line - information. - -Wed Mar 20 18:15:47 1996 Andreas Schwab - - * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled - as __GNU_C__. - (order_and_dump_functions_by_arcs): Likewise. - -Tue Mar 12 12:19:50 1996 Ian Lance Taylor - - * configure: Rebuild with autoconf 2.8. - -Sun Feb 18 15:06:18 1996 Ian Lance Taylor - - * configure.in: Check for 'do not mix' from native linker before - trying to use -rpath. - * configure: Rebuild. - -Tue Feb 13 15:32:53 1996 Ian Lance Taylor - - * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. - * configure: Rebuild. - -Wed Feb 7 14:03:17 1996 Ian Lance Taylor - - * configure.in: Don't set CC. Look for --enable-shared. Set - BFDLIB and HLDFLAGS and substitute them. - * configure: Rebuild. - * Makefile.in (LIBS): Use @BFDLIB@. - (HLDFLAGS): New variable. - (gprof): Use $(HLDFLAGS). - -Mon Feb 5 16:34:44 1996 Ian Lance Taylor - - Support for building bfd and opcodes as shared libraries, based on - patches from Alan Modra : - * Makefile.in (LIBDEPS): New variable. - (LIBS): Use -L../bfd -lbfd. - (gprof): Depend upon $(LIBDEPS) rather than $(LIBS). - -Sat Dec 30 10:11:03 1995 Jeffrey A Law (law@cygnus.com) - - * gprof.c (long_options): Add "--function-ordering" and - "--file-ordering" options. - (usage): Add new options to usage message. - (main): Handle new options. - * gprof.h (STYLE_FUNCTION_ORDER): Define. - (STYLE_FILE_ORDER): Define. - (function_mapping_file): Declare. - * cg_arcs.c (arcs, numarcs): New globals. - (arc_add): Put new arcs into the arc array so the function/file - ordering code can examine them. - * cg_arcs.h (struct arc): New field "has_been_placed". - (arcs, numarcs): Declare new globals. - * core.c (symbol_map, symbol_map_count): New globals. - (read_function_mappings): New function to read in a function - to object map file. - (core_init): Call read_function_mappings if a function mapping - file exists. - (core_create_function_syms): Handle function to object file - mappings. - * symtab.h (struct sym): New fields "mapped", "has_been_placed", - "nuses", "prev". - * cg_print.c (cmp_arc_count): New function for sorting arcs. - (cmp_fun_nuses): Likewise for functions. - (cg_print_function_ordering): New function to print a suggested - function ordering. - (cg_print_file_ordering): Likewise for ordering .o files. - (order_and_dump_functions_by_arcs): Helper function for function - and object file ordering code. - -Sun Dec 24 21:32:27 1995 Jeffrey A Law (law@cygnus.com) - - * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION - set if ignore_non_function is set. - * gprof.h (ignore_non_functions): Declare. - * gprof.c (ignore_non_functions): Define. - (long_options): Add "ignore-non-functions". - (usage): Add new options. - (main): Recognize "-D" and "--ignore-non-functions" option. - -Tue Nov 21 13:24:39 1995 Ken Raeburn - - * Makefile.in (.m.c): Strip out directory name from function - name. - - * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do - UNITS_TO_CODE adjustment unconditionally; compiler can optimize - away zero-offset case. Refer to scaled_addr, not aligned_addr. - - * vax.c: Don't include vax.h here. - -Thu Nov 16 03:41:37 1995 Ken Raeburn - - Version 2.6 released. - -Wed Nov 8 11:40:04 1995 Ian Lance Taylor - - * gprof.c (main): Cast getenv return value. - -Mon Nov 6 15:05:00 1995 Ken Raeburn - - * Makefile.in (TAGS): New target. - -Wed Nov 1 12:51:21 1995 Per Bothner - - * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion. - (all): Depend on $(GEN_FILES), not diststuff (which also depends - on info). - -Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 - - * sym_ids.c: Include . - -Wed Oct 25 13:24:31 1995 Per Bothner - - * Makefile.in (diststuff): Also make info. - (mostlyclean): Don't remove gprof.info*. - (maintainer-clean realclean): Also remove *.info*. - -Fri Oct 6 16:25:32 1995 Ken Raeburn - - Mon Sep 25 22:49:32 1995 Andreas Schwab - - * Makefile.in: Add dependecies for $(OBJS) on header files. - - * cg_print.c (print_cycle, print_members, cg_print_index): Fix new - style output format to make it consistent. - * dummy.c (find_call): Fix typo in error message. - -Wed Sep 20 13:21:02 1995 Ian Lance Taylor - - * Makefile.in (maintainer-clean): New target, synonym for - realclean. - -Fri Sep 8 14:38:08 1995 Ian Lance Taylor - - * Makefile.in (install): Don't install in $(tooldir). - -Fri Aug 25 15:30:05 1995 Ken Raeburn - - NS32K changes from Ian Dall: - * configure.in: Use ns32k, not ns532. - * ns532.c: Include symtab.h. - (find_call): Renamed from findcall. Print a message. - * ns532.h: Remove dummy.h comments. - -Tue Aug 22 10:00:45 1995 Jeffrey A. Law - - * Makefile.in (install): Remove "brokensed" hack, unnecessary now - that we're using autoconf. - -Wed Jul 19 18:46:13 1995 Fred Fish - - * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line - to proper type of "unsigned int *". - -Fri Jun 16 15:29:36 1995 Ken Raeburn - - * configure.in: Use changequote around use of []. - -Mon Jun 12 12:14:52 1995 J.T. Conklin - - * Makefile.in (distclean, realclean): Remove config.cache and - config.log. - -Wed May 17 17:56:53 1995 J.T. Conklin - - * Makefile.in (Makefile): Added config.status to dependency list. - (config.status): New target. - (SHELL): New definition. - -Tue Apr 25 21:11:12 1995 Ken Raeburn - - * Makefile.in (install): Depend on "all". - -Thu Apr 20 17:29:07 1995 Ken Raeburn - - * Makefile.in: Change all references to MY_MACHINE to MY_TARGET, - to match configure script. - -Wed Apr 19 11:19:37 1995 J.T. Conklin - - * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in - comment emitted by this script to gen-c-prog.awk. - - * Makefile.in, configure.in: Converted to use autoconf. - * configure: New file, generated with autoconf 2.3. - * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc, - mt-tahoe, mt-vax}: Removed. - -Mon Mar 13 21:44:24 1995 Ken Raeburn - - * __bb_exit_func.c: New file, from David Mosberger-Tang. - - Thu Feb 9 16:56:07 1995 David Mosberger-Tang - - * All *.c: More cleanup towards GNU format. - - * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): - replaced sizeof (bfd_vma) by size (char*) because Ken tells me - that bfd_vma is only guaranteed to be at least as big as a pointer. - - (GMON_Record_tag): added explicit enumeration values to ensure - compatibility across compilers. - - * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by - sizeof(char*). - -Tue Feb 7 17:24:12 1995 Ken Raeburn - - * All *.c and *.h files: Ran "indent -gnu". Cleaned up a couple - of constructs GNU indent couldn't handle. Block comments not yet - rewritten in GNU format. - - * gprof.c (VERSION): Changed to 2.6, to get in sync for next - binutils release. - -Sun Feb 5 16:19:46 1995 David Mosberger-Tang - - * symtab.c (symtab_finalize): ensure globals symbols really - are favored over static ones---even if their name looks less - preferable; this is important for HP-UX; for example, there - is a static label Ltext_something that aliases the global - symbol _start - - * hist.c (hist_print): auto-scaling is now in effect for FSF-style - output only; also, auto-scaling is now performed based on - per-call, rather than total execution time, which is what it was - meant to be. - - * gprof.h (File_Format): new type. - - * gprof.c (VERSION): upped to 2.7---seems to be completely out of - sync with Cygnus version numbers though... - - (long_options): renamed --gmon-info to --file-info, --width added, - renamed --old-file-format to --file-format - (main): dito; also added support to read prof files, but as - mon_out_read() is not implemented, it's #ifdef'd out for now - - (usage): update to reflect new options. - - * gmon_io.c: replaced "old_file_format" by more general - "file_format" option - - * gmon.h (struct raw_phdr): fixed declaration for OSF/1. - - * core.c (core_sym_class): added back check for __gnu_compiled and - ___gnu_compiled for the benefit of systems without - bfd_find_nearest_line() support - - (get_src_info): now the libbfd is fixed, invoke bfd_find_nearest_line() - with section-relative addresses - - (core_create_function_syms): get_src_info() calls are currently - enabled for OSF/1 only. It appears to work allright for SunOS - 4.1.x as well, but on SPARCs it gets painfully slow with the - current implementation of aout_32_find_nearest_line(); - unfortunately, this means that static functions will not have their - filename printed in the call-graph function index; line-level - profiling should still work, but requires some patience - - * cg_print.c (cg_print_index): sanitised printing of index when - using FSF-style output; in particular, output width is now controlled - via option --width and the function tries hard to keep columns - aligned even in the presence of (occasional) long names - - * NOTES: a first shot at updating the documentation. - -Wed Feb 1 19:07:44 1995 David Mosberger-Tang - - * core.c (core_create_function_syms): fixed computation of min_vma - and max_vma. - - * *.c: removed rcsid. - -Tue Jan 31 16:18:18 1995 Ken Raeburn - - * Lots of changes from David Mosberger-Tang: - - Tue Oct 25 19:20:14 1994 David Mosberger-Tang - - * gprof.c (main): put parentheses around & within &&. - - * basic_blocks.c (bb_read_rec): print warning message (once) when - ignoring basic-block execution counts. - - * source.c (source_file_lookup_name): corrected second argument to - strcmp(). - - * hist.c (print_header): merged Fri Oct 21 18:58:02 1994 change by - Ken Raeburn from binutils-2.5.1. - - * gmon_io.c (gmon_out_read): the output stule STYLE_GMON_INFO is now - supported both for old and new (versioned) gmon.out files. Old - files are identified as version 0. - - * gmon.h (struct raw_arc): count field is now sizeof(long) bytes - long (instead of 4) because that is what OSF/1 v3.0 uses. - - * core.c: minor fixes and debugging info changes. - - Sun Sep 11 18:47:47 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * core.c (core_init): if .text cannot be found, try $CODE$ (the - name of the text-section under HP-UX). - - * hist.c (hist_assign_samples): fixed off-by-one bug: highpc - points one past the last sampling bin, so hist_scale should be - computed as "hist_scale /= hist_num_bins", not "hist_scale /= - hist_num_bins - 1". - - * gmon_io.c, hist.c, hist.h: renamed hist_num_samples to - hist_num_bins. - - * configure.in: added alpha-*-*) for per-target config. - - * alpha.c, alpha.h: created. - - * gprof.c (default_excluded_list): , added. - - * core.c (core_create_function_syms, core_create_line_syms): - explicitly keep two sentinels "" and "" that catch - all addresses outside the text-space. Thus, sym_lookup(&symtab, - addr) continues to guarantee not to return 0 on any address. It - also avoids incorrectly crediting the first/last symbol in the - text-space. - - * core.c (core_create_line_syms): always create function symbols - first, then merge in line symbols; this is so that if parts of the - program were compiled without -g, function-level symbols are - available still. - - * utils.c (print_name_only): support for print_path added. - - * symtab.c (cmp_addr): also use is_func flag in comparison. - (symtab_finalize): return immediately when table empty; now - more careful about getting rid of the right duplicate symbol. - - * sparc.c (find_call): many fixes---this function was rather - botched in binutils-2.4 already; it should work again. - - * source.c (source_file_lookup_path): PATH is now strdup'ed (it is - not good to rely on get_src_info() to return distinct string - pointers). - - * search_list.c (search_list_append): added cast for xmalloc(). - - * hist.c: added explicit initialization to some of the global - variables; fixed SItab (scales were off by a factor of 10). - - * hist.h: include of bfd.h added. - - * gprof.c, gprof.h (print_path): added. - - * gprof.h (MAX): fixed. - - * gmon_out.h: renamed gmon_time_hist_hdr to gmon_hist_hdr. - - * gmon_io.c: added some casts to (long) so we can always print as %lx - - * core.c (core_get_text_space): fixed to make it work. - - * cg_print.c (cg_print_index): added support for print_path option. - - * cg_dfn.h (cg_dfn): wrap prototype in PARAMS(). - - * call_graph.c, gmon_io.c, hist.c: avoid taking address of array - as some compilers complain (e.g., DEC's OSF/1 compiler) - - * basic_blocks.c, gmon_io.c, hist.c, source.c, sym_ids.c, - symtab.c: calls to memset() had 2nd and 3rd args reversed. - - Sat Sep 10 21:53:13 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gprof.c: added "_mcount" to default_excluded_list. - (main): if output_style==0 and there is either a histogram or a - call-graph, always generate flat and call-graph, no matter what - line_granularity is set to. - - * source.c (source_file_lookup_name): if searching for sf->name - fails, try again with filename obtained after stripping off any - partial path from sf->name. - - * gprof.h (SRCDEBUG): added. - - * search_list.c (search_list_append): directories were added in wrong - order. - - * reimplemented selection mechanism from ground up; it is now possible - to accurately control what gets included/excluded in each of the - output styles; a "symbol-specification" (spec) is the basic means - to select a set of symbols; a spec has the syntax: - - spec == (FILENAME:(FUNCNAME|LINE_NUM) | NAME). - arc == spec/spec. - - any of the terminal symbols can be empty, in which case they - match anything (wildcards). NAME is interpreted as a FILENAME - if it contains a dot (e.g., foo.c), as LINE_NUM if it starts - with a digit, and as FUNCNAME otherwise. - - For example, to get a call-graph display that ignores arcs - from foo() to bar(), you'd say "--no-graph=foo/bar"; to - show only arcs into bar() (no matter what the caller), - you'd say "--graph=/bar"; and to get a call-graph without - any arc info, you'd say "--graph=/"; similarly, to - get a flat profile without mcount, you'd say "--no-flat=mcount" - and to get a flat profile that shows includes all functions - you'd say "--flat=""" (i.e., an empty spec) - - * hist.c (hist_print): top_time wasn't initialized to 0.0. - - Fri Sep 9 01:10:21 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gmon_out.h: all headers now declared in terms of characters - to avoid getting into trouble with different compilers introducing - different amount of padding; the code already accessed the fields - through bfd functions, so that didn't have to change. - - * hist.c (hist_read_rec, hist_write_rec): added support for - collection pc histograms measuring quantities other than time; - the histogram header now includes a field that specifies the - dimension of the quantity measured by the histogram bins - (normally, this is "seconds", but other meaningful dimensions - include such things as "I-cache misses", "instruction issue stalls" - etc.); there is also a field to specify a one-character - abbreviation for the dimension; in the case of time, this would - be 's'; in most other cases it probably would be '1' (not a physical - dimension). - - Thu Sep 8 16:05:08 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gprof.c, gmon_io.[ch]: BSD_COMPATIBLE is gone and new_file_version - has become old_file_version; gmon_io.c now always supports old-style - gmon.out files; it first tries to read gmon.out as a new version - file, if that fails, it tries to read it in the old format; - although not very likely, it is possible for gprof to mistake an - old-style file as a new one (the first 4 bytes would have to - be "gmon"---including the trailing '\0'); in that case, it is - necessary to specify --old-file-version - - * gprof.h: removed dependency on SYSV; the code now always uses - strrchr(), memset(), and memcpy() and does not include either - of string.h or strings.h; this should make gprof compile on - any (Unix) system without configuration (per suggestion of - raeburn@cygnus.com) - - * gprof.c (usage): fixed location of --new-file-format option. - - * cg_arcs.c (propagate_flags): fixed typo in declaration. - - * flat_bl.m: removed formfeed at end of file; the form-feed - is now printed cg_print.c only when necessary. - - * major rewrite of gprof---too many changes to mention all of - them. new features: - - + -l now requests profiling at the line level (as opposed - to function level); in this mode, gprof creates a "symbol" - (aka name-list entry) for each line of source code, instead - of one per function) - - + support for a new gmon.out file format; the new format - consists of a header with a magic and a version number, - followed by a sequence of profile data; profile data - can any of: (a) PC histogram, (b) call-graph arcs, or - (c) basic-block execution counts; the version number makes - it possible to extend gmon.out in a backwards compatible - fashion - - + support for tcov style annotated output: if the gmon.out file - contains basic-block execution counts, the user can request - the generation of annotated source files, much like Sun's - tcov used to do - - + long options - - + new scheme to suppress symbols that aren't function names - (e.g., avoids mistaking a goto label as a function) - - + reorganized source code to make it more managable; as a - side effect, gprof now compiles cleanly with "gcc -Wall" - - Thu Sep 1 15:46:49 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gprof.c (funcsymbol): bfd_find_nearest_line() is now used as a - final cross-check to determine whether a static symbol should be - considered as a function-name. - - Fri Aug 5 19:32:36 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gmon_io.c (gmon_out_read): recognize "-" as the filename for - stdin; this is useful if you wanna keep gmon.out files compressed; - this way you can "gzcat" the compressed file into gprof. - - * gprof.c: flag_min_count now initialized with 1 instead of 0. - - * basic_blocks.c (bb_annotate_source): added support for creating - .tcov files when option flag_annotate_make_files is TRUE. - (annotate_with_count): all counts less than the minimum count - specified by -m are now annotated with hash-marks. - - * gprof.c (main): -A is now followed by a string of option chars. - - * basic_blocks.c (annotate_with_count): replaced b->count with - cnt. - - * source.c: flag_annotate_source replaced by source_lock_map. - - * source.h: source_lock_map added. - - * gprof.c (main): new command-line syntax: -S simply specifies - which source-files user is interested in; -A requests annotated - source files and -AA requests that all lines in a source file - are annotated. - - Thu Aug 4 23:27:03 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * basic_blocks.c (PATH_MAX): if undefined, define as 1024. - - * sparc.c, i386.c, tahoe.c, vax.c: added include of "time_hist.h" - so s_lowpc etc. get declared. - - * arcs.h (doarcs): created. - - * arcs.c: reordered static functions such that they get defined - before use. - - * gprof.c (main): added options: - -A: request annotation of all source lines (with -S) - -m: minimum execution count (with default basic-block display) - -N: force new file format (only if BSD_COMPATIBLE is defined) - -S: annotate source file - -t: set table length (with -S) - - * Makefile.am (OBJS): added basic_blocks.o call_graph.o gmon_io.o - source.o time_hist.o - - Fri Jul 1 15:23:50 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * gprof.c (asgnsamples): computation of "pcl" and "pch" depended - on the fact being able to store a long in a double without loss of - precision; this does not hold on machines with 64 bit longs and 64 - bit doubles. - -Fri Oct 21 18:58:02 1994 Ken Raeburn - - * printgprof.c (flatprofheader): Always set totime to 1.0 if not - greater than 0.0. Suggested by Harold Assink - . - -Fri Sep 23 15:06:45 1994 Ken Raeburn - - * printgprof.c (printprof): Use free, not cfree. - (printgprof, printindex): Ditto. - -Thu Sep 1 10:40:45 1994 Jeff Law (law@snake.cs.utah.edu) - - * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make - decls extern to keep native HP compiler quiet. - -Tue Aug 30 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as - __gnu_compiled, for the benefit of systems which add a leading - underscore. - -Wed Aug 24 12:49:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Change i386-*-* to i[345]86-*-*. - -Sun Jul 10 00:35:31 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * ns532.c, ns532.h: New Files. ns532 support. - - * config/mt-ns532: New File. ns532 support. - - * gprof.c: user register int i instead of defaulting the int. - Allows compilation with -Dregister= for debugging. - - * configure.in: Add ns532 support. - -Thu Jun 23 11:22:41 1994 Jeff Law (law@snake.cs.utah.edu) - - * Makefile.in (gprof): Depend on $(LIBS). - -Fri May 27 12:24:57 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - From binutils-2.4 release: - - Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) - - * configure.bat: [new] build makefile from makefile.in (dos) - * hertz.c: allow static HERTZ (msdos needs it) - * gprof.c: allow target to select "r" or "rb" for fopen - * gprof.c: ignore __gnu_compiled symbols - * i386.h: dfine FOPEN_RB to "rb" for dos. - -Tue May 17 15:30:22 1994 E. Michael Smith (ems@cygnus.com) - - * Makefile.in (.m.c:): Added .SUFFIXES : .m - so flat_bl.c would make from flat_bl.m file. - -Thu May 5 19:23:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (install-info): Check for gprof.info in build dir, - fall back to srcdir. Depend on it. - - * gprof.h (TRUE, FALSE): Always use undef before defining them. - -Mon Apr 4 23:47:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing - makes (osf1) in which the value of MACHINE can not be changed. - * config/*.mt: Changed appropriately. - -Wed Mar 30 16:12:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * gprof.c (getsymtab): Change nosyms to long. Rename - get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for - errors from bfd_get_symtab_upper_bound and - bfd_canonicalize_symtab. - -Tue Mar 22 10:50:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of - bfd_decode_symclass. - -Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Makefile.in: Avoid bug in hpux sed. - -Wed Dec 15 20:16:40 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) - - * gprof.texi (Invoking): add text about -v flag - - * gprof.1: add text about -v flag - -Wed Dec 8 16:55:06 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) - - * gprof.c (VERSION): defined a version macro, print the value - when the -v option is used - -Tue Jul 6 10:11:56 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * Makefile.in: Install correctly. - -Thu Jun 24 14:43:22 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * gprof.c (main): Get whoami from argv, instead of hardcoding. - Use it in usage message. Split usage message to fit in 80 cols. - -Sun Jun 20 20:58:02 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * Makefile.in: Undo 15 June change. - -Wed Jun 16 12:54:53 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * gmon.h, gprof.h: structs of chars used to hold external - representations. - * gprof.c (getpfile, openpfile, readsamples): Swap data in using - new structures. - -Tue Jun 15 23:09:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h. - -Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in: remove parentdir support - -Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. - * configure.in: No longer need to configure to get sysdep.h. - -Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in (install): should not depend on install-info - -Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com) - - * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz. - -Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Add -g to CFLAGS. - Ads LDFLAGS and use in place of CFLAGS where appropriate. - * configure.in: Make a sysdep.hlink in the same way other - bfd-based directories do. - * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned - short'. - * gprof.h: #include sysdep.h instead of a bunch of stuff. - * gprof.c (main): Fix typo gproff->gprof. - -Thu Mar 25 19:00:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * gprof.texi: add INFO-DIR-ENTRY - -Tue Mar 23 00:03:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: add installcheck target - -Sat Feb 27 18:17:10 1993 Per Bothner (bothner@rtl.cygnus.com) - - * gprof.c (funcsymbol): Invert test for aflag. - -Thu Feb 25 16:01:50 1993 Per Bothner (bothner@rtl.cygnus.com) - - * printgprof (xmalloc, xrealloc): Cast results of malloc - and realloc to PTR. - -Wed Feb 3 13:55:33 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) - - * Makefile.in: created info, install-info, dvi - -Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: fix install rule for $(PROG) - -Fri Oct 9 11:25:41 1992 Mark Eichin (eichin@cygnus.com) - - * gprof.1: updated SYNOPSIS to match actual behavior. - -Mon Oct 5 17:50:16 1992 Per Bothner (bothner@cygnus.com) - - * gen-c-prog.awk: New awk script, lightly changed from - previously deleted make-c-prog.awk. Converts a text file - to a c function that prints that text. - * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files. - Inputs to gen-c-prog.awk, containing text describing - gprof output. - * blurbs.c: Removed. Use *_bl.c instead. - * Makefile.in: Use gen-cprog.awk to generate *_bl.c files - from *_bl.m files. Also, improve *clean rules. - * printgprof.c (printgprof): Usw new function names from *_bl.c. - - -Sun Aug 30 19:54:53 1992 Per Bothner (bothner@rtl.cygnus.com) - - * gprof.h, gprof.c, printfgprof.c: Add support for two - output styles: The default is similar to the old FSF gprof, - while -T sets the variable bsd_style_output, which causes - output matching Berkeley's gprof. The biggest differences - are that with the FSF style output, the flat profile comes - before the call graph; numbers come before explanations; - and there is less gratuitous white space. - * gprof.h, gprof.c, printfgprof.c: New discard_underscores - variable causes discarding of initial underscores when - printing symbol names. It is set unless there is a "main" - symbol (without an underscore). - * printfgprof.c: New function printnameonly(), called - by printname(). It handles stripping of initial '_', - as well as C++ name-demangling. - * gprof.callg, gprof.flat, make-c-prog.awk: Removed. - It is just as convenient to edit blurbs.c directly. - * Makefile.in: Removed rule for making blurbs.c. - * blurbs.c: This is now a true source file (as opposed - to being generated from gprof.callg and gprof.flat). - Change style to use one long string literal, instead of - one literal per output line. Add FSF-style blurb for call graph. - -Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: always create installation directories. - -Wed Aug 12 15:14:14 1992 Mark Eichin (eichin@cygnus.com) - - * Makefile.in: change ${MACHINE} to $(MACHINE). - -Sun Jul 19 17:34:01 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: removed installation of the now useless - call.{flag,callg} files. - - * gprof.1: now uses the standard man macros instead of the new BSD - mandoc macros. - -Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com) - - * configure.in: Remove host section, expand target section. - * config/mt-{tahoe,vax}: Add, to match existing support files. - * config/tmake-*: Remove leftover crud. - - * blurbs.c: New file, created from gprof.flat and gprof.callg by - * make-c-prog.awk: which processes text files into C programs. - * printgprof.c (flatprofheader, gprofheader): Call new functions - to print blurbs. - (printblurb): Remove. - * Makefile.in: Infrastructure to build blurbs. - * pathnames.h: has been removed. Gprof now has no filename - dependencies in it. - * gprof.c: Lint. - -Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: define man1dir and install the man page - -Fri Jul 10 21:14:08 1992 david d `zoo' zuhn (zoo@cygnus.com) - - * Makefile.in: added dummy info and install-info targets - -Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com) - - * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for - help in debugging the problem (with -DDEBUG) - * gprof.c: symbol values are now real values, don't add the vma - anymore. (done for solaris; should verify this on other platforms) +For older changes see ChangeLog-9203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog-9203 b/gprof/ChangeLog-9203 new file mode 100644 index 00000000000..463c2a68dca --- /dev/null +++ b/gprof/ChangeLog-9203 @@ -0,0 +1,2138 @@ +2003-11-06 Bruno Rohee + + * gprof.texi: Fix "the the" typo. + +2003-10-30 Nick Clifton + + * gprof.texi (Compiling): Describe how to use gprof when source + files are not compiled with -pg. Mention other profiling options + supported by gcc. + (How do I?): Mention the function call overhead introduced by -pg. + +2003-10-29 Nick Clifton + + * gprof.texi: Apply patch supplied by Eric S Raymond via RMS: + (Compiling): Mention that -pg must be passed to both the compiler + and the linker. + Mention that -a is now deprecated. + (How do I?): Add an entry describing how to get more information + about program hotspots. + +2003-10-11 Alan Modra + + * corefile.c (core_create_function_syms): Don't refer directly to + _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. + +2003-08-26 Nick Clifton + + * po/de.po: New German translation. + * configure.in (ALL_LINGUAS): Add de. + * configure: Regenerate. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * gconfig.in: Regenerate. + +2003-08-21 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2003-08-14 Alan Modra + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + * Makefile.in: Regenerate. + +2003-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-07-20 H.J. Lu + + * po/Make-in (.po.gmo): Do check if the .gmo file is writable + before generating it. + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + +2003-07-11 Alan Modra + + * po/gprof.pot: Regenerate. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-03-27 Chris Demetriou + + * gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New. + (gmon_get_ptr_size, gmon_get_ptr_signedness): New. + (gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc) + (gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to + use new functions and enums. + +2003-02-21 K Schutte + + * corefile.c (core_create_line_syms): Check for a NULL sentinel + value before using it. + +2002-12-02 Nick Clifton + + * configure.in (LINGUAS): Add pt_BR. + * configure: Regenerate. + * po/pt_BR: New Brazillian Portugese translation. + +2002-11-30 Alan Modra + + * basic_blocks.c, basic_blocks.h, cg_arcs.c, cg_dfn.c, cg_print.c, + corefile.c, gmon_io.c, gprof.c, gprof.h, hist.c, mips.c, source.c, + source.h, sym_ids.c, sym_ids.h, symtab.h, tahoe.c, vax.c: Replace + boolean with bfd_boolean, true with TRUE, false with FALSE. + Formatting. + +2002-11-12 Nick Clifton + + * configure.in (ALL_LINGUAS): Add da. + * configure: Regenerate. + * po/da.po: New Danish translation. + +2002-08-22 Nick Clifton + + * gprof.c (main): Turn off default excluded functions in FLAT + profile. + +2002-08-21 John David Anglin + + * gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if + BFD_HOST_U_64_BIT is defined. + (gmon_io_read_vma, gmon_io_write_vma): Add ifdefs. + +2002-07-30 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2002-07-30 Nick Clifton + + * alpha.c, cg_arcs.c, cg_dfn.c, gmon.h, gprof.c, gprof.h, hertz.c, + i386.c, mips.c, sparc.c, tahoe.c, utils.c, vax.c: Update Copyright + notice so that it applies even if the sources are modified. + +2002-07-29 Ulrich Drepper + + * gprof.texi (Executing the Program): Add documentation on how to use + bbconv.pl. Patch by Eric Hanchrow. + +2002-07-25 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/fr.po: Updated French translation. + +2002-07-24 Dave Brolley + + * corefile.c (core_create_function_syms): Use the end of the section + containing the symbol to compute max_vma. + +2002-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + +2002-07-23 Nick Clifton + + * po/fr.po: Updated French translation. + * po/id.po: New Indonesian translation. + * configure.in (LINGUAS): Add id. + * configure: Regenerate. + +2002-05-02 Nick Clifton + + * po/Make-in (.po.gmo): Do not attempt to create a .gmo file if + the sources are read-only. + +2002-04-04 Alan Modra + + * dep-in.sed: Cope with absolute paths. + * Makefile.am (dep.sed): Subst TOPDIR. + Run "make dep-am". + * Makefile.in: Regenerate. + +2002-03-21 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2002-03-18 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-13 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-07 Daniel Jacobowitz + + * gprof.texi: Wrap @menu in @ifnottex, not @ifinfo. + +2002-02-19 Frank Ch. Eigler + + * hist.c (hist_print): Rewrite log_scale calculation loop. + +2002-02-11 Alan Modra + + * Makefile.am: "make dep-am". + * Makefile.in: Regenerate. + +2002-02-10 Daniel Jacobowitz + + * gprof.c: Include "getopt.h" after other includes, so that + the proper macros are defined. + * gen-c-prog.awk: Emit a prototype for the generated function. + +2002-02-01 Alan Modra + + * configure.in (build_warnings): Add -Wstrict-prototypes + -Wmissing-prototypes. + * aclocal.m4: Regenerate. + * gconfig.in: Regenerate. + * configure: Regenerate. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + + * alpha.c (alpha_find_call): Warning fixes. + * mips.c (mips_find_call): Likewise. + * sparc.c (sparc_find_call): Likewise. + * basic_blocks.c: Warning fixes. Eliminate DEFUN. + * call_graph.c: Likewise. + * cg_arcs.c: Likewise. + * cg_dfn.cp: Likewise. + * gprof.c: Likewise. + * gprof.h: Likewise. + * hist.c: Likewise. + * search_list.c: Likewise. + * source.c: Likewise. + * source.h: Likewise. + * sym_ids.c: Likewise. + * symtab.c: Likewise. + * symtab.h: Likewise. + * utils.c: Likewise. + * cg_print.c: Likewise. + (struct function_map, symbol_map, symbol_map_count): Move + declaration to.. + * corefile: ..here. + * corefile.c: Warning fixes. Eliminate DEFUN. + (struct function_map): Remove declaration. + * gmon_io.c: Warning fixes. Eliminate DEFUN. + (gmon_io_read_64): Make static. + (gmon_io_write_64): Likewise. + (gmon_read_raw_arc): Likewise. + (gmon_write_raw_arc): Likewise. + (gmon_io_write_8): Don't pass char, pass int param. + * gmon_io.h (gmon_io_write_8): Likewise. + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + + * basic_blocks.c: Replace bool with boolean, TRUE with true and + FALSE with false throughout. + * basic_blocks.h: Likewise. + * cg_arcs.c: Likewise. + * cg_dfn.c: Likewise. + * cg_print.c: Likewise. + * corefile.c: Likewise. + * gmon_io.c: Likewise. + * gprof.c: Likewise. + * hist.c: Likewise. + * mips.c: Likewise. + * source.c: Likewise. + * source.h: Likewise. + * sym_ids.c: Likewise. + * sym_ids.h: Likewise. + * symtab.h: Likewise. + * tahoe.c: Likewise. + * vax.c: Likewise. + * gprof.h: Likewise. + (TRUE): Don't define. + (FALSE): Don't define. + +2002-01-31 Jason R Thorpe + + * TODO: Remove "host architecture pointer size" item. + * acconfig.h: Remove. + * gconfig.in: Regenerate. + * configure.in: Remove check for gmon pointer size. + * configure: Regenerate. + * gmon.h (GMON_HDRSIZE_BSD44_32): Define. + (GMON_HDRSIZE_BSD44_64): Ditto. + (GMON_HDRSIZE_OLDBSD_32): Ditto. + (GMON_HDRSIZE_OLDBSD_64): Ditto. + (struct raw_phdr): Wrap in #if 0, keeping it for + documentation purposes only. + (struct old_raw_phdr): Likewise. + (struct raw_arc): Likewise. Change type/size of + "count" member to long match 4.4BSD. + * gmon_io: Update copyright years. + (gmon_io_read_64): New function. + (gmon_io_read_vma): Use bfd_arch_bits_per_address to + determine target pointer size. Use gmon_io_read_32 + and gmon_io_read_64. + (gmon_io_write_64): New function. + (gmon_io_write_vma): Use bfd_arch_bits_per_address to + determine target pointer size. Use gmon_io_write_32 + and gmon_io_write_64. + (get_vma): Remove. + (put_vma): Ditto. + (gmon_read_raw_arc): New function. + (gmon_write_raw_arc): New function. + (gmon_out_read): Do not use struct raw_phdr or + struct old_raw_phdr to read the gmon header. Use + gmon_read_raw_arc to read call graph records. + (gmon_out_write): Do not use struct raw_phdr or + struct old_raw_phdr to write the gmon header. Use + gmon_write_raw_arc to write call graph records. + * po/gprof.pot: Regenerate. + * Makefile.in: Regenerate. + +2002-01-31 Alan Modra + + * alpha.c (alpha_Instruction): Don't use. + (alpha_find_call): Avoid use of bitfields and casts between + pointers and integers of different sizes. Avoid endian problems + when cross-compiling. + * vax.c (vax_find_call): Likewise. + (struct modebyte): Don't use. + (vax_operandmode): Pass in an unsigned char *. + (vax_operandlength): Likewise. + (vax_reladdr): Rename to vax_offset and return relative offset + rather than address. + * i386.c (i386_find_call): Avoid casts between pointers and + integers of different sizes. + * sparc.c (sparc_find_call): Likewise. Avoid endian problems. + * tahoe.c (tahoe_find_call): Likewise. + (tahoe_reladdr): Rename to tahoe_offset and return relative offset + rather than address. + + * basic_blocks.h: Don't include headers here. + * call_graph.h: Likewise. + * cg_arcs.h: Likewise. + * cg_print.h: Likewise. + * corefile.h: Likewise. + * gmon_io.h: Likewise. + * gmon_out.h: Likewise. + * hertz.h: Likewise. + * hist.h: Likewise. + * source.h: Likewise. + * sym_ids.h: Likewise. + * symtab.h: Likewise. + * gprof.h: Don't include ansidecl.h, do include bfd.h. + (bool): Don't typedef. + * alpha.c: Adjust #include's for above header changes. + * basic_blocks.c: Likewise. + * call_graph.c: Likewise. + * cg_arcs.c: Likewise. + * cg_dfn.c: Likewise. + * cg_print.c: Likewise. + * corefile.c: Likewise. + * gmon_io.c: Likewise. + * gprof.c: Likewise. + * hertz.c: Likewise. + * hist.c: Likewise. + * i386.c: Likewise. + * mips.c: Likewise. + * sparc.c: Likewise. + * sym_ids.c: Likewise. + * symtab.c: Likewise. + * tahoe.c: Likewise. + * utils.c: Likewise. + * vax.c: Likewise. + + * po/POTFILES.in: Regenerate. + +2002-01-27 Daniel Jacobowitz + + * configure: Regenerated. + +2002-01-26 Richard Henderson + + * i386.c (i386_iscall): Static. + * tahoe.c (indirectchild, tahoe_operandmode): Static. + (tahoe_operandlength, tahoe_reladdr): Static. + * vax.c (indirectchild): Static. + +2002-01-26 Hans-Peter Nilsson + + * Makefile.am (install): Depend on install-info. + * Makefile.in: Regenerate. + +2002-01-26 Jason Thorpe + + * mips.c: New file. + * Makefile.am (sources): Add mips.c. + (mips.o): New rule. + * Makefile.in: Regenerate. + * corefile.c: Update copyright years. + (find_call): Call mips_find_call for bfd_arch_mips. + +2002-01-26 Nick Clifton + + * po/fr.po: Updated version. + +2002-01-25 Nick Clifton + + * po/es.po: Updated version. + +2002-01-17 Nick Clifton + + * po/gprof.pot: Regenerate. + +2002-01-07 Nick Clifton + + * po/es.po: New file: Spanish translation. + * configure.in (ALL_LINGUAS): Add es. + * configure: Regenerate. + +2002-01-03 Nick Clifton + + * gmon_io.c (gmon_out_read): Remove use of ngettext(). It is not + present under AIX. + +2002-01-02 Nick Clifton + + * cg_print.c (print_header): Fix spelling typo. + + * gmon_io.c (gmon_out_read): Fix formatting of text messages to + allow easier translation into other languages. + +2001-12-21 Nick Clifton + + * configure.in (ALL_LINGUAS): Add sv. + * configure: Regenerate. + * po/sv.po: Import from translation project web site. + +2001-12-03 Nick Clifton + + * configure.in (LINGUAS): Add tr. + * configure: Regenerate. + * po/tr.po: Import from translation project's web site. + +2001-11-02 Nick Clifton + + * configure.in (ALL_LINGUAS): Add 'fr'. + * configure: Regernate. + * po/fr.po: New file. + +2001-10-03 Alan Modra + + * configure: Regenerate. + +2001-10-02 Alan Modra + + * Makefile.am (Makefile): Depend on bfd/configure.in. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-09-18 Bruno Haible + + * gprof.c (main): For gettext, also set the LC_CTYPE locate facet. + * sym_ids.c: Include "safe-ctype.h" instead of . + (parse_spec): Use ISDIGIT instead of isdigit. + +2001-09-18 Alan Modra + + * sparc.c (sparc_find_call): Warning fix. + * alpha.c (alpha_find_call): Likewise. + +2001-08-09 Alan Modra + + * alpha.c: Add missing prototypes. + * sparc.c: Likewise. + * tahoe.c: Likewise. + * vax.c: Likewise. + * i386.c: Likewise. + (i386_iscall): Don't use DEFUN. + +2001-07-19 Nick Clifton + + * NOTES: Rename to README for consistency with other binutils. + +2001-06-18 H.J. Lu + + * Makefile.am (diststuff): Add $(MANS). + (gprof.1): Remove the prefix `$(srcdir)/'. + * Makefile.in: Regenerated. + + * gprof.1: Removed. + +2001-06-12 Ben Elliston + + * gprof.texi (File Format): Profile data files are stored in + target byte order, not host byte order. + +2001-05-16 Alexandre Oliva + + * gmon_io.c (gmon_io_read, gmon_io_write_vma, + gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust + argument list for K&R C. + +2001-04-06 Stephane Carrez + + * gprof.texi: Put @c man begin and @c man end indications + to generate man page using texi2pod and pod2man. Added SEEALSO, + SYNOPSIS, BUGS, FILES and DESCRIPTION from original gprof.1 + enclosed in @ifset man condition. + * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. + Generate gprof.1 from gprof.texi. + * gprof.1: Generate from gprof.texi. + * Makefile.in: Regenerate. + +2001-03-13 David Mosberger + + * hist.c (hist_dimension): Declare as an array of 16 characters. + (hist_read_rec): If SAMPLEDEBUG, print each histogram bin count. + + * basic_blocks.c: Whitespace and formatting changes. + * bb_exit_func.c: Ditto. + * call_graph.c: Ditto. + * call_graph.h: Ditto. + * cg_arcs.c: Ditto. + * cg_print.c: Ditto. + * cg_print.h: Ditto. + * corefile.c: Ditto. + * corefile.h: Ditto. + * gmon_io.c: Ditto. + * gmon_io.h: Ditto. + * gmon_out.h: Ditto. + * gprof.c: Ditto. + * hist.c: Ditto. + * hist.h: Ditto. + * i386.c: Ditto. + * search_list.c: Ditto. + * search_list.h: Ditto. + * source.c: Ditto. + * source.h: Ditto. + * sym_ids.c: Ditto. + * sym_ids.h: Ditto. + * symtab.c: Ditto. + * symtab.h: Ditto. + * tahoe.c: Ditto. + * utils.c: Ditto. + * vax.c: Ditto. + + * gmon_out.h (gmon_hist_hdr): Delete. + (gmon_cg_arc_record): Delete. + + * gmon_io.c (put_vma): Declare "static". + (get_vma): Ditto. + (gmon_io_write): New function. + (gmon_io_write_8): Ditto. + (gmon_io_write_32): Ditto. + (gmon_io_write_vma): Ditto. + (gmon_io_read): Ditto. + (gmon_io_read_32): Ditto. + (gmon_io_read_vma): Ditto. + * basic_blocks.c (bb_read_rec): Use gmon_io_read* / gmon_io_write* + to read/write data file in a more portable fashion. + (bb_write_blocks): Ditto. + * call_graph.c (cg_read_rec): Ditto. + (cg_write_arcs): Ditto. + * hist.c (hist_read_rec): Ditto. + (hist_write_hist): Ditto. + + From Jes Sorensen + * gmon_out.h: Use GMON_PTR_SIZE instead of sizeof(char*). + * gmon.h: Ditto. + * configure.in: Get GMON_PTR_SIZE from existing + if it exists. + * acconfig.h: New file. Mention and document GMON_PTR_SIZE. + * gconfig.h: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2001-02-27 Alan Modra + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * gconfig.in: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2001-01-27 Michael Sokolov + + * basic_blocks.c: #include only if it exists. + +2000-11-06 Nick Clifton + + * gprof.texi: Add GNU Free Documentation License. + +2000-09-07 H.J. Lu + + * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. + * configure: Rebuild. + +2000-09-06 Alexandre Oliva + + * aclocal.m4, configure: Rebuilt with new libtool.m4. + +2000-09-02 Nick Clifton + + * configure.in: Increase version number to 2.10.91. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + +2000-08-31 Alexandre Oliva + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-07-26 Nick Clifton + + * bb_exit_func.c: Assign copyright to FSF. Note that David + Mosberger-Tang continuted this code. + +2000-07-24 Nick Clifton + + * basic_blocks.c: Add copyright notice. + * basic_blocks.h: Add copyright notice. + * call_graph.c: Add copyright notice. + * call_graph.h: Add copyright notice. + * cg_print.c: Add copyright notice. + * cg_print.h: Add copyright notice. + * corefile.c: Add copyright notice. + * corefile.h: Add copyright notice. + * gmon_io.c: Add copyright notice. + * gmon_io.h: Add copyright notice. + * gmon_out.h: Add copyright notice. + * hist.c: Add copyright notice. + * hist.h: Add copyright notice. + * search_list.c: Add copyright notice. + * search_list.h: Add copyright notice. + * source.c: Add copyright notice. + * source.h: Add copyright notice. + * sym_ids.c: Add copyright notice. + * sym_ids.h: Add copyright notice. + * symtab.c: Add copyright notice. + * symtab.h: Add copyright notice. + +2000-07-05 Kenneth Block + + * gprof.c: Add optional style to demangle switch + * gprof.texi: Document optional style to demangle switch. + +2000-06-05 DJ Delorie + + * MAINTAINERS: new + +2000-07-01 Alan Modra + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-22 Alan Modra + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-20 Alan Modra + + * source.c (annotate_source): Correct pointer comparison when + checking for backslashes. + +2000-06-13 H.J. Lu + + * configure: Regenerate. + +2000-06-08 David O'Brien + + * configure.in (VERSION): Update to show this is the CVS mainline. + +2000-06-07 Philippe De Muyter + + * source.c: Remove direct inclusion of sys/stat.h. + +2000-05-31 Nick Clifton + + * gprof.h (_): Revert previous delta. We want to use gettext, + not dgettext in the _ macro. + +2000-05-29 Alan Modra + + * gprof.h (_): Use BFD version. + +2000-05-26 Nick Clifton + + * gprof.c (main): When calling getopt_long indicate that the 'd' + switch takes an optional argument, whereas the 'D' switch takes no + argument at all. + +2000-05-26 Alan Modra + + * dep-in.sed: Copy from ../binutils. + * Makefile.am: Update dependencies with "make dep-am" + * Makefile.in: Regenerate. + + * gprof.h: Remove most nls defines. They are pulled in by + bfd/sysdep.h. #include "ansidecl.h" not + +2000-05-26 Eli Zaretskii + + * gprof.texi: Fix numerous typos. Mention some DOS/Windows related + issues. + + * configure.in: Check for setmode function. + * configure: Regenerate. + + * gmon_io.h (SET_BINARY) [HAVE_SETMODE]: Define. + + * gmon_io.c (gmon_out_read) [SET_BINARY]: Switch stdin into binary + mode. + + * source.c: Include filenames.h and sys/stat.h. + (source_file_lookup_path, source_file_lookup_name): Use + FILENAME_CMP to compare file names. + (annotate_source) [__MSDOS__]: If "filename-ann" would overwrite + "filename", replace the extension with ".ann". + [HAVE_DOS_BASED_FILE_SYSTEM]: Support file names with + backslashes and drive letters. + Use IS_ABSOLUTE_PATH. + + * search_list.h (PATH_SEP_CHAR): Define. + + * search_list.c (search_list_append): Use PATH_SEP_CHAR. + + * hertz.c (HERTZ) [__MSDOS__]: Don't define unless they have + neither HAVE_SETITIMER nor HAVE_SYSCONF. + [HAVE_SETITIMER]: If they define both HAVE_SETITIMER and + HAVE_SYSCONF, try setitimer and fall back on sysconf. + +2000-04-07 Andrew Cagney + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure, aclocal.m4: Re-generate. + +2000-04-05 Alexandre Oliva + + * gprof.c (copyright): Do not use N_ in array initializer. + +2000-04-04 Alan Modra + + * po/gprof.pot: Regenerate. + + * gprof.c (usage): Restore translated part of bug string. + + * Makefile.am (BASEDIR): Define. + (BFDDIR): Define. + (INCDIR): Define. + (MKDEP): Define. + (INCLUDES): Add "-I." + (DEP, DEP1, dep.sed, dep, dep-in, dep-am): New targets. + (CLEANFILES): Define. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-03 Alan Modra + + * gprof.h: #include "bin-bugs.h". + * gprof.c (usage): Use REPORT_BUGS_TO. + +2000-03-31 Alan Modra + + * symtab.c (symtab_finalize): Don't use post-increment on + structure copy, to work around a ppc gcc bug. + +1999-09-29 Mark Kettenis + + * hertz.h [MACH] (hertz): Remove macro. The + include doesn't exist on al Mach based + systems, and the definition of hertz breaks compilation of hertz.c + anyway. + +2000-02-22 Ian Lance Taylor + + From Brad Lucier : + * i386.c (i386_find_call): Add cast to ensure that printf argument + matches format. + * tahoe.c (tahoe_find_call): Likewise. + * vax.c (vax_find_call): Likewise. + +2000-01-27 Alan Modra + + * utils.c (print_name_only): Don't pass error strings to + printf as format arg. + +1999-09-24 Nick Clifton + + * gmon_io.c (gmon_out_read): Make sure that sensible values + are extracted from a raw header. + +1999-08-06 Ian Lance Taylor + + From Brad Lucier : + * corefile.c (core_create_line_syms): Add cast for printf. + +1999-07-21 Ian Lance Taylor + + From Mark Elbrecht: + * configure.bat: Remove; obsolete. + +1999-07-15 Ian Lance Taylor + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + +1999-07-11 Ian Lance Taylor + + * corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED. + * sym-ids.c (non_existent_file): Fully initialize structure. + +1999-07-01 Ian Lance Taylor + + * Many files: Add casts in many print statements to cast bfd_vma + values to unsigned long when calling printf. + * Makefile.am ($(OBJECTS)): Add gmon.h. + * Makefile.in: Rebuild. + +1999-06-14 Andreas Schwab + + * gprof.texi: Fix typo. + +1999-06-13 Ian Lance Taylor + + From Bob Byrnes : + * cg_dfn.c: Include "libiberty.h" + (DFN_INCR_DEPTH): Define instead of DFN_DEPTH. + (dfn_stack): Define as pointer rather than array. + (pre_visit): Reallocate dfn_stack as needed. + +1999-04-26 Tom Tromey + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-06 Ian Lance Taylor + + * gprof.h (LC_MESSAGES): Never define. + * gprof.c (main): Don't pass LC_MESSAGES to setlocale if the + system does not define it. + +1999-04-05 H.J. Lu + + * corefile.c (core_create_line_syms): Don't use fixed size array + for prev_name and prev_filename. + +1999-04-04 Michael Hohmuth + + * gprof.h (FF_BSD44): Define. + * gmon.h (struct raw_phdr): Add version, profrate, and spare + fields unconditionally. + (struct old_raw_phdr): New struct. + * gprof.c (main): Handle -O 4.4bsd. + * gmon_io.c (gmon_out_read): Handle BSD 4.4 format, either + automatically or by user specification. + (gmon_out_write): Handle BSD 4.4 format. + * configure.in: Don't set BSD44_FORMAT. + * gprof.texi (Miscellaneous Options): Document -O 4.4bsd. + * configure, gconfig.in: Rebuild. + +Tue Feb 16 17:01:33 1999 Ian Lance Taylor + + * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL + to AC_PROG_INSTALL. Remove AM_CYGWIN32. Change AM_EXEEXT to + AC_EXEEXT. Add comment to AC_DEFINE. + * acconfig.h: Remove. + * aclocal.m4: Rebuild. + * configure: Rebuild. + * Makefile.in: Rebuild. + * gconfig.in: Rebuild. + +1998-12-06 Ian Lance Taylor + + * gprof.texi (Symspecs): Mention that you have to add any + underscore yourself when naming a symbol. + +1998-11-02 Geoffrey Noer + + * configure.in: detect cygwin* instead of cygwin32* + * configure: regenerate + +Wed Aug 12 14:59:06 1998 Ian Lance Taylor + + Avoid some overflow cases: + * basic_blocks.h (bb_min_calls): Change to unsigned long. + * call_graph.h (cg_tally): Change count parameter to unsigned + long. + * cg_arcs.h (Arc): Change count field to unsigned long. + (arc_add): Change count parameter to unsigned long. + * source.h (Source_File): Change ncalls field to unsigned long. + * symtab.h (Sym): Change fields ncalls, bb_calls, and + cg.self_calls to unsigned long. + * Many files: Update accordingly. + + * configure, Makefile.in, aclocal.m4: Rebuild with current tools. + +Fri Jul 10 17:29:49 1998 Stan Cox + + * configure.in (BSD44_FORMAT): Define for cygwin32, win32, mingw32 + * configure: Rebuild. + +Fri Jun 12 13:40:05 1998 Tom Tromey + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Sun May 10 22:35:33 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Tue May 5 18:28:40 1998 Tom Tromey + + * gprof.h (_): Undefine BFD's version. + +Tue Apr 28 19:17:33 1998 Tom Tromey + + * gprof.c (main): Conditionally call setlocale. + * gprof.h: Include if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + +Tue Apr 28 19:50:09 1998 Ian Lance Taylor + + * corefile.c: Rename from core.c. + * corefile.h: Rename from core.h. + * Many .c files: Include corefile.h rather than core.h. + * Makefile.am (sources): Change core.c to corefile.c. + (noinst_HEADERS): Change core.h to corefile.h. + ($(OBJECTS)): Depend upon corefile.h rather than core.h. + (corefile.o): Rename target from core.o, depend upon corefile.c. + * Makefile.in, po/POTFILES.in: Rebuild. + +Mon Apr 27 16:50:40 1998 Ian Lance Taylor + + * configure.in: Change version number to 2.9.4 + * configure: Rebuild. + +Wed Apr 22 16:01:17 1998 Tom Tromey + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 00:00:22 1998 Tom Tromey + + * gprof.h: Added includes and defines for gettext. + * configure.in (ALL_LINGUAS): New macro. + Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * gprof.c (main): Call setlocale, bindtextdomain, textdomain. + * Makefile.am (SUBDIRS): New macro. + (INCLUDES): Look in intl dirs for headers. Define LOCALEDIR. + (gprof_DEPENDENCIES): Added INTLDEPS. + (gprof_LDADD): Added INTLLLIBS. + (POTFILES): New macro. + (po/POTFILES.in): New target. + * Many files: Wrap user-visible strings with gettext invocation. + +Tue Apr 7 12:43:37 1998 Ian Lance Taylor + + From hjl@lucon.org : + * Makefile.am (diststuff): New target. + * Makefile.in: Rebuild. + +Mon Mar 30 12:47:48 1998 Ian Lance Taylor + + * configure.in: Set version to 2.9.1. + * configure: Rebuild. + + * Branched binutils 2.9. + +Sat Mar 28 23:09:08 1998 Ian Lance Taylor + + Fix some gcc -Wall warnings: + * cg_arcs.c (num_cycles): Change to unsigned int. + (numarcs): Likewise. + (arc_add): Change maxarcs to unsigned int. + (cg_assemble): Change index to unsigned int. + * cg_arcs.h (num_cycles, numarcs): Update declarations. + * cg_print.c (cg_print): Change index to unsigned int. + (cg_print_index): Change index, nnames, todo, i, and j to unsigned + int. + (cg_print_file_ordering): Change symbol_count and index2 to + unsigned int. + * core.c (symbol_map_count): Change to unsigned int. + (core_create_function_syms): Change j to unsigned int. + (core_create_line_syms): Add cast to avoid warning. + * hist.c (hist_assign_samples): Change j to unsigned int. + (hist_print): Change index to unsigned i nt. Add cast to avoid + warning. + * sym_ids.c (parse_spec): Add casts to avoid warning. + * symtab.c (symtab_finalize): Change j to unsigned int. + (sym_lookup): Update printf format strings. + * symtab.h (Sym_Table): Change len to unsigned int. + * tahoe.c (tahoe_reladdr): Add casts to avoid warnings. + +Tue Mar 24 19:00:11 1998 Ian Lance Taylor + + Add --demangle and --no-demangle options: + * gprof.h (demangle): Declare. + * gprof.c (demangle): New global variable. + (OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define. + (long_options): Add "demangle" and "no-demangle". + (usage): Mention --demangle and --no-demangle. + (main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE. + * utils.c (print_name_only): Only demangle symbol name if demangle + is true. + * gprof.texi (Output Options): Document new options. + +Fri Mar 20 19:21:56 1998 Ian Lance Taylor + + * Makefile.in: Rebuild with automake 1.2e. + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Thu Feb 12 14:36:05 1998 Ian Lance Taylor + + * gprof.c (usage): Update bug-gnu-utils address. + +Sat Feb 7 15:43:12 1998 Ian Lance Taylor + + * configure, aclocal.m4: Rebuild with new libtool. + +Fri Feb 6 12:02:28 1998 Ian Lance Taylor + + * alpha.c (alpha_Instruction): Use int, not signed. + +Fri Feb 6 02:00:19 1998 Jeffrey A Law (law@cygnus.com) + + * core.c (core_init): Adding missing "break". + +Thu Feb 5 12:49:37 1998 Ian Lance Taylor + + * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. + +Tue Feb 3 14:25:25 1998 Brent Baccala + + * bbconv.pl: New file. + * Makefile.am (EXTRA_DIST): Add bbconv.pl. + * Makefile.in: Rebuild. + + * gprof.texi: Extensive additions to document all arguments and + output formats. + + * symtab.c (symtab_finalize): Prefer function symbols over line + symbols. + (dbg_sym_lookup): Correct debugging messages. + + * gprof.c (main): --sum implies --line. + + * cg_print.c (cg_print): When doing line by line profiling, don't + use a non-function as a main listing item. + + * call_graph.c (cg_tally): When using line by line profiling, use + the function symbol as the child. + + * symtab.h (NBBS): Define. + (Sym): Add bb_addr and bb_calls fields. + * basic_blocks.c (bb_read_rec): Save multiple basic blocks per + symbol. + (bb_write_blocks): Adjust for multiple basic blocks per symbol. + (print_exec_counts): Don't check whether a symbol is the start of + a basic block. Print all basic blocks for a symbol. + (annotate_with_count): Rewrite to print all basic block counts and + to pay attention to width argument. + (print_annotated_source): Don't check whether symbol is the start + of a basic block. + + Make it possible to build a cross gprof, although a few cases are + still not handled: + * configure.in: Don't set MY_TARGET. + * gprof.h: Don't include MACHINE_H. Don't define FOPEN_RB or + FOPEN_WB; just get them from sysdep.h. + * core.h (min_insn_size, offset_to_code): Declare. + * core.c (MIN_INSN_SIZE): Don't define. + (min_insn_size, offset_to_code): New variables. + (core_init): Initialize min_insn_size and offset_to_code. + (find_call): New function. + (core_create_line_syms): Don't use min_dist. Set is_static in + pass 2. + * hist.c (UNITS_TO_CODE): Define. + * gprof.c (default_excluded_list): Add "__mcount_internal". + * gmon.h: Change TARGET_alpha to __alpha__. + * hertz.h: Ifdef MACH, define hertz as HZ. + * alpha.c (alpha_Instruction): Rename from Instruction. Change + all references. + (alpha_find_call): Rename from find_call. + * alpha.h: Remove. + * dummy.c, dummy.h: Remove. + * i386.c (i386_iscall): Rename from iscall. Change all + references. Check for call instruction, not jump or lcall. + (i386_find_call): Rename from find_call. Correct for VMA. + Correct call destination computation. Don't dereference symbol if + it is NULL. + * i386.h: Remove. + * ns532.c, ns532.h: Remove. + * sparc.c (CALL): Define. + (sparc_find_call): Rename from find_call. + * sparc.h: Remove. + * tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h. Don't + include time_host.h. + (CALLF, PC): Define. + (enum tahoe_opermodes, tahoe_operandenum): Define. Rename all + references to opermodes or operandenum to these. + (tahoe_operandmode): Rename from operandmode. Call abort if + switch does not return. + (tahoe_operandname): Rename from operandname. Call abort if + switch does not return. + (tahoe_operandlength): Rename from operandlength. Call abort if + switch does not return. + (tahoe_reladdr): Rename from reladdr. + (tahoe_find_call): Rename from find_call. Use core_text_space + rather than textspace. + * tahoe.h: Remove. + * vax.c (CALLS, PC): Define. + (enum opermodes, operandenum, struct modebyte): Define. + (vax_operandmode): Rename from operandmode. Call abort if switch + does not return. + (vax_operandname): Rename from operandname. Call abort if switch + does not return. + (vax_operandlength): Rename from operandlength. Call abort if + switch does not return. + (vax_reladdr): Rename from reladdr. + (vax_find_call): Rename from find_call. + * vax.h: Remove. + * Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus. + (MY_TARGET): Remove. + (INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H= + \"$(MY_TARGET).h\". + (gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c. + (gprof_DEPENDENCIES): Remove $(MY_TARGET).o. + (gprof_LDADD): Likewise. + (noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h, + tahoe.h, vax.h, dummy.h. + (EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c, + vax.c, dummy.c. + ($(OBJECTS)): Don't depend upon $(MY_TARGET).h. + ($(MY_TARGET).o): Remove target. + (i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets. + * configure, Makefile.in, aclocal.m4: Rebuild. + +Mon Dec 29 14:17:08 1997 Ian Lance Taylor + + * core.c (core_sym_class): Treat weak symbols as text symbols. + From Dean Gaudet . + +Wed Sep 24 11:35:43 1997 Ian Lance Taylor + + * aclocal.m4: Rebuild with new libtool. + * Makefile.in: Rebuild with current automake. + * configure: Rebuild. + +Sat Aug 9 16:25:01 1997 Ian Lance Taylor + + * configure.in: Change version number to 2.8.2. Call + AM_PROG_LIBTOOL. Remove shared library handling; now handled by + libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to + AM_PROG_INSTALL. Add AM_EXEEXT. + * Makefile.am (LINK): Remove. + (gprof_LDFLAGS): Remove + (gprof_DEPENDENCIES): Change libbfd.a to libbfd.la. + (gprof_LDADD): Likewise. + ($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h. + * gprof.h: Undefine PACKAGE and VERSION after including BFD + sysdep.h file, then include new gconfig.h file. + * gprof.c (VERSION): Don't define. + * acconfig.h: New file. + * stamp-h.in: New file. + * gconfig.in: New file, created by autoheader. + * Makefile.in, configure, aclocal.m4: Rebuild. + +Sat Jun 28 23:20:42 1997 Ian Lance Taylor + + * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2. + +Mon Jun 16 15:31:39 1997 Ian Lance Taylor + + * Makefile.am (INCLUDES): Add -DDEBUG. + * Makefile.in: Rebuild. + +Tue Apr 15 14:19:30 1997 Ian Lance Taylor + + Change to use automake: + * Makefile.am: New file. + * configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and + AM_CYGWIN32. + * aclocal.m4: New file, created by aclocal. + * Makefile.in: Replace with file created by automake --cygnus. + * configure: Rebuild. + +Thu Apr 3 13:21:25 1997 Ian Lance Taylor + + * gprof.c (VERSION): Define as "2.8.1". + + * Branched binutils 2.8. + +Thu Mar 27 17:15:23 1997 Ian Lance Taylor + + * gprof.c (main): Correct copyright message. + +Mon Mar 24 11:12:26 1997 Ian Lance Taylor + + * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling. + * gmon.h: Use bytes counts rather than sizeof in struct raw_phdr + and struct raw_arc. + +Mon Mar 17 10:54:47 1997 David Mosberger-Tang + + * cg_arcs.c (arc_add): memset() newly alloced arc to ensure + all fields are initialized with 0. + +Sat Mar 15 19:17:31 1997 H.J. Lu + + * symtab.h (find_call): Declare. + * cg_arcs.c (cg_assemble): Don't declare find_call. + * hist.c (scale_and_align_entries): Declare. + +Thu Feb 27 12:46:53 1997 Ian Lance Taylor + + * configure.in: Define BSD44_FORMAT if the target looks like a + BSD4.4 derived system. + * configure: Rebuild. + * Makefile.in (.c.o): Add @DEFS@. + * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate + from profrate field, not version field. + +Thu Jan 16 17:42:54 1997 Ian Lance Taylor + + * dummy.c (find_call): Clear ignore_direct_calls. + +Tue Dec 31 15:44:10 1996 Ian Lance Taylor + + * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the + end. + (gprof): Put $(CFLAGS) after the other options. + +Tue Nov 26 17:08:38 1996 Ian Lance Taylor + + * configure: Rebuild with autoconf 2.12. + +Wed Oct 2 15:23:16 1996 Ian Lance Taylor + + * sparc.c (find_call): Align p_lowpc to avoid bus error. + +Tue Oct 1 15:58:10 1996 Ian Lance Taylor + + * gprof.c (usage): Print bug report address. + (main): Change version printing to match current GNU standards. + +Fri Aug 30 12:16:11 1996 Ian Lance Taylor + + * gmon.h: Replace #elif with #else/#endif. + +Thu Aug 29 17:04:10 1996 Michael Meissner + + * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. + * configure: Regenerate. + +Thu Aug 22 17:12:30 1996 Ian Lance Taylor + + * configure.in: Set and substitute HLDENV. + * configure: Rebuild. + * Makefile.in (HLDENV): New variable. + (gprof): Use $(HLDENV). + +Wed Aug 7 14:43:51 1996 Philippe De Muyter + + * core.c (read_function_mappings): Cast xmalloc return. + +Thu Jul 4 12:01:42 1996 Ian Lance Taylor + + * gprof.c (VERSION): Define as "2.7.1". + + * Released binutils 2.7. + + * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be + stored on a System V file system. + +Thu Jun 27 11:36:22 1996 Ian Lance Taylor + + * configure.in: Call AC_ISC_POSIX. + * configure: Rebuild. + * Makefile.in (gprof): Pass $(CFLAGS) during link. + * hertz.c: Don't include ; let sysdep.h handle that. + If HAVE_SETITIMER is not defined, try using sysconf. + +Mon Jun 24 18:27:28 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + (AC_PROG_INSTALL): added. + * configure: Rebuilt. + +Mon Jun 24 12:03:09 1996 Ian Lance Taylor + + * configure.in: On alpha*-*-osf*, link against libbfd.a if not + using shared libraries. + * configure: Rebuild with autoconf 2.10. + +Tue Jun 18 17:35:58 1996 Ian Lance Taylor + + * core.c (core_create_line_syms): Use xstrdup rather than strdup. + * source.c (source_file_lookup_path): Likewise. + +Mon Apr 8 14:44:33 1996 Ian Lance Taylor + + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + +Thu Mar 21 17:18:25 1996 Ian Lance Taylor + + * core.c (core_create_function_syms): Move filename and func_name + inside ifdef where they are used. + + * core.c (core_sym_class): Parenthesize && within ||. + * symtab.c (symtab_finalize): Correct parenthesization. + + * cg_print.h (cg_print_file_ordering): Declare. + (cg_print_function_ordering): Declare. + + * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. + * cg_arcs.c (arc_add): Likewise. + * cg_print.c (cg_print_function_ordering): Likewise. + +Thu Mar 21 17:02:02 1996 David Mosberger-Tang + + * gprof.c (default_excluded_list): Add "__mcount". + + * gprof.c (main): Change ifdef __osf__ to __alpha__. + + * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the + profiling rate from the header. + + * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and + __osf__ are defined. Add new fields if BSD44_FORMAT is defined. + + * alpha.h (MIN_INSN_SIZE): Define. + * core.c (MIN_INSN_SIZE): If not defined, define as 1. + (core_sym_class): Ignore debugging symbols. + (core_create_line_syms): Use MIN_INSN_SIZE when gathering line + information. + +Wed Mar 20 18:15:47 1996 Andreas Schwab + + * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled + as __GNU_C__. + (order_and_dump_functions_by_arcs): Likewise. + +Tue Mar 12 12:19:50 1996 Ian Lance Taylor + + * configure: Rebuild with autoconf 2.8. + +Sun Feb 18 15:06:18 1996 Ian Lance Taylor + + * configure.in: Check for 'do not mix' from native linker before + trying to use -rpath. + * configure: Rebuild. + +Tue Feb 13 15:32:53 1996 Ian Lance Taylor + + * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared. + * configure: Rebuild. + +Wed Feb 7 14:03:17 1996 Ian Lance Taylor + + * configure.in: Don't set CC. Look for --enable-shared. Set + BFDLIB and HLDFLAGS and substitute them. + * configure: Rebuild. + * Makefile.in (LIBS): Use @BFDLIB@. + (HLDFLAGS): New variable. + (gprof): Use $(HLDFLAGS). + +Mon Feb 5 16:34:44 1996 Ian Lance Taylor + + Support for building bfd and opcodes as shared libraries, based on + patches from Alan Modra : + * Makefile.in (LIBDEPS): New variable. + (LIBS): Use -L../bfd -lbfd. + (gprof): Depend upon $(LIBDEPS) rather than $(LIBS). + +Sat Dec 30 10:11:03 1995 Jeffrey A Law (law@cygnus.com) + + * gprof.c (long_options): Add "--function-ordering" and + "--file-ordering" options. + (usage): Add new options to usage message. + (main): Handle new options. + * gprof.h (STYLE_FUNCTION_ORDER): Define. + (STYLE_FILE_ORDER): Define. + (function_mapping_file): Declare. + * cg_arcs.c (arcs, numarcs): New globals. + (arc_add): Put new arcs into the arc array so the function/file + ordering code can examine them. + * cg_arcs.h (struct arc): New field "has_been_placed". + (arcs, numarcs): Declare new globals. + * core.c (symbol_map, symbol_map_count): New globals. + (read_function_mappings): New function to read in a function + to object map file. + (core_init): Call read_function_mappings if a function mapping + file exists. + (core_create_function_syms): Handle function to object file + mappings. + * symtab.h (struct sym): New fields "mapped", "has_been_placed", + "nuses", "prev". + * cg_print.c (cmp_arc_count): New function for sorting arcs. + (cmp_fun_nuses): Likewise for functions. + (cg_print_function_ordering): New function to print a suggested + function ordering. + (cg_print_file_ordering): Likewise for ordering .o files. + (order_and_dump_functions_by_arcs): Helper function for function + and object file ordering code. + +Sun Dec 24 21:32:27 1995 Jeffrey A Law (law@cygnus.com) + + * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION + set if ignore_non_function is set. + * gprof.h (ignore_non_functions): Declare. + * gprof.c (ignore_non_functions): Define. + (long_options): Add "ignore-non-functions". + (usage): Add new options. + (main): Recognize "-D" and "--ignore-non-functions" option. + +Tue Nov 21 13:24:39 1995 Ken Raeburn + + * Makefile.in (.m.c): Strip out directory name from function + name. + + * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do + UNITS_TO_CODE adjustment unconditionally; compiler can optimize + away zero-offset case. Refer to scaled_addr, not aligned_addr. + + * vax.c: Don't include vax.h here. + +Thu Nov 16 03:41:37 1995 Ken Raeburn + + Version 2.6 released. + +Wed Nov 8 11:40:04 1995 Ian Lance Taylor + + * gprof.c (main): Cast getenv return value. + +Mon Nov 6 15:05:00 1995 Ken Raeburn + + * Makefile.in (TAGS): New target. + +Wed Nov 1 12:51:21 1995 Per Bothner + + * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion. + (all): Depend on $(GEN_FILES), not diststuff (which also depends + on info). + +Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 + + * sym_ids.c: Include . + +Wed Oct 25 13:24:31 1995 Per Bothner + + * Makefile.in (diststuff): Also make info. + (mostlyclean): Don't remove gprof.info*. + (maintainer-clean realclean): Also remove *.info*. + +Fri Oct 6 16:25:32 1995 Ken Raeburn + + Mon Sep 25 22:49:32 1995 Andreas Schwab + + * Makefile.in: Add dependecies for $(OBJS) on header files. + + * cg_print.c (print_cycle, print_members, cg_print_index): Fix new + style output format to make it consistent. + * dummy.c (find_call): Fix typo in error message. + +Wed Sep 20 13:21:02 1995 Ian Lance Taylor + + * Makefile.in (maintainer-clean): New target, synonym for + realclean. + +Fri Sep 8 14:38:08 1995 Ian Lance Taylor + + * Makefile.in (install): Don't install in $(tooldir). + +Fri Aug 25 15:30:05 1995 Ken Raeburn + + NS32K changes from Ian Dall: + * configure.in: Use ns32k, not ns532. + * ns532.c: Include symtab.h. + (find_call): Renamed from findcall. Print a message. + * ns532.h: Remove dummy.h comments. + +Tue Aug 22 10:00:45 1995 Jeffrey A. Law + + * Makefile.in (install): Remove "brokensed" hack, unnecessary now + that we're using autoconf. + +Wed Jul 19 18:46:13 1995 Fred Fish + + * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line + to proper type of "unsigned int *". + +Fri Jun 16 15:29:36 1995 Ken Raeburn + + * configure.in: Use changequote around use of []. + +Mon Jun 12 12:14:52 1995 J.T. Conklin + + * Makefile.in (distclean, realclean): Remove config.cache and + config.log. + +Wed May 17 17:56:53 1995 J.T. Conklin + + * Makefile.in (Makefile): Added config.status to dependency list. + (config.status): New target. + (SHELL): New definition. + +Tue Apr 25 21:11:12 1995 Ken Raeburn + + * Makefile.in (install): Depend on "all". + +Thu Apr 20 17:29:07 1995 Ken Raeburn + + * Makefile.in: Change all references to MY_MACHINE to MY_TARGET, + to match configure script. + +Wed Apr 19 11:19:37 1995 J.T. Conklin + + * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in + comment emitted by this script to gen-c-prog.awk. + + * Makefile.in, configure.in: Converted to use autoconf. + * configure: New file, generated with autoconf 2.3. + * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc, + mt-tahoe, mt-vax}: Removed. + +Mon Mar 13 21:44:24 1995 Ken Raeburn + + * __bb_exit_func.c: New file, from David Mosberger-Tang. + + Thu Feb 9 16:56:07 1995 David Mosberger-Tang + + * All *.c: More cleanup towards GNU format. + + * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): + replaced sizeof (bfd_vma) by size (char*) because Ken tells me + that bfd_vma is only guaranteed to be at least as big as a pointer. + + (GMON_Record_tag): added explicit enumeration values to ensure + compatibility across compilers. + + * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by + sizeof(char*). + +Tue Feb 7 17:24:12 1995 Ken Raeburn + + * All *.c and *.h files: Ran "indent -gnu". Cleaned up a couple + of constructs GNU indent couldn't handle. Block comments not yet + rewritten in GNU format. + + * gprof.c (VERSION): Changed to 2.6, to get in sync for next + binutils release. + +Sun Feb 5 16:19:46 1995 David Mosberger-Tang + + * symtab.c (symtab_finalize): ensure globals symbols really + are favored over static ones---even if their name looks less + preferable; this is important for HP-UX; for example, there + is a static label Ltext_something that aliases the global + symbol _start + + * hist.c (hist_print): auto-scaling is now in effect for FSF-style + output only; also, auto-scaling is now performed based on + per-call, rather than total execution time, which is what it was + meant to be. + + * gprof.h (File_Format): new type. + + * gprof.c (VERSION): upped to 2.7---seems to be completely out of + sync with Cygnus version numbers though... + + (long_options): renamed --gmon-info to --file-info, --width added, + renamed --old-file-format to --file-format + (main): dito; also added support to read prof files, but as + mon_out_read() is not implemented, it's #ifdef'd out for now + + (usage): update to reflect new options. + + * gmon_io.c: replaced "old_file_format" by more general + "file_format" option + + * gmon.h (struct raw_phdr): fixed declaration for OSF/1. + + * core.c (core_sym_class): added back check for __gnu_compiled and + ___gnu_compiled for the benefit of systems without + bfd_find_nearest_line() support + + (get_src_info): now the libbfd is fixed, invoke bfd_find_nearest_line() + with section-relative addresses + + (core_create_function_syms): get_src_info() calls are currently + enabled for OSF/1 only. It appears to work allright for SunOS + 4.1.x as well, but on SPARCs it gets painfully slow with the + current implementation of aout_32_find_nearest_line(); + unfortunately, this means that static functions will not have their + filename printed in the call-graph function index; line-level + profiling should still work, but requires some patience + + * cg_print.c (cg_print_index): sanitised printing of index when + using FSF-style output; in particular, output width is now controlled + via option --width and the function tries hard to keep columns + aligned even in the presence of (occasional) long names + + * NOTES: a first shot at updating the documentation. + +Wed Feb 1 19:07:44 1995 David Mosberger-Tang + + * core.c (core_create_function_syms): fixed computation of min_vma + and max_vma. + + * *.c: removed rcsid. + +Tue Jan 31 16:18:18 1995 Ken Raeburn + + * Lots of changes from David Mosberger-Tang: + + Tue Oct 25 19:20:14 1994 David Mosberger-Tang + + * gprof.c (main): put parentheses around & within &&. + + * basic_blocks.c (bb_read_rec): print warning message (once) when + ignoring basic-block execution counts. + + * source.c (source_file_lookup_name): corrected second argument to + strcmp(). + + * hist.c (print_header): merged Fri Oct 21 18:58:02 1994 change by + Ken Raeburn from binutils-2.5.1. + + * gmon_io.c (gmon_out_read): the output stule STYLE_GMON_INFO is now + supported both for old and new (versioned) gmon.out files. Old + files are identified as version 0. + + * gmon.h (struct raw_arc): count field is now sizeof(long) bytes + long (instead of 4) because that is what OSF/1 v3.0 uses. + + * core.c: minor fixes and debugging info changes. + + Sun Sep 11 18:47:47 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * core.c (core_init): if .text cannot be found, try $CODE$ (the + name of the text-section under HP-UX). + + * hist.c (hist_assign_samples): fixed off-by-one bug: highpc + points one past the last sampling bin, so hist_scale should be + computed as "hist_scale /= hist_num_bins", not "hist_scale /= + hist_num_bins - 1". + + * gmon_io.c, hist.c, hist.h: renamed hist_num_samples to + hist_num_bins. + + * configure.in: added alpha-*-*) for per-target config. + + * alpha.c, alpha.h: created. + + * gprof.c (default_excluded_list): , added. + + * core.c (core_create_function_syms, core_create_line_syms): + explicitly keep two sentinels "" and "" that catch + all addresses outside the text-space. Thus, sym_lookup(&symtab, + addr) continues to guarantee not to return 0 on any address. It + also avoids incorrectly crediting the first/last symbol in the + text-space. + + * core.c (core_create_line_syms): always create function symbols + first, then merge in line symbols; this is so that if parts of the + program were compiled without -g, function-level symbols are + available still. + + * utils.c (print_name_only): support for print_path added. + + * symtab.c (cmp_addr): also use is_func flag in comparison. + (symtab_finalize): return immediately when table empty; now + more careful about getting rid of the right duplicate symbol. + + * sparc.c (find_call): many fixes---this function was rather + botched in binutils-2.4 already; it should work again. + + * source.c (source_file_lookup_path): PATH is now strdup'ed (it is + not good to rely on get_src_info() to return distinct string + pointers). + + * search_list.c (search_list_append): added cast for xmalloc(). + + * hist.c: added explicit initialization to some of the global + variables; fixed SItab (scales were off by a factor of 10). + + * hist.h: include of bfd.h added. + + * gprof.c, gprof.h (print_path): added. + + * gprof.h (MAX): fixed. + + * gmon_out.h: renamed gmon_time_hist_hdr to gmon_hist_hdr. + + * gmon_io.c: added some casts to (long) so we can always print as %lx + + * core.c (core_get_text_space): fixed to make it work. + + * cg_print.c (cg_print_index): added support for print_path option. + + * cg_dfn.h (cg_dfn): wrap prototype in PARAMS(). + + * call_graph.c, gmon_io.c, hist.c: avoid taking address of array + as some compilers complain (e.g., DEC's OSF/1 compiler) + + * basic_blocks.c, gmon_io.c, hist.c, source.c, sym_ids.c, + symtab.c: calls to memset() had 2nd and 3rd args reversed. + + Sat Sep 10 21:53:13 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gprof.c: added "_mcount" to default_excluded_list. + (main): if output_style==0 and there is either a histogram or a + call-graph, always generate flat and call-graph, no matter what + line_granularity is set to. + + * source.c (source_file_lookup_name): if searching for sf->name + fails, try again with filename obtained after stripping off any + partial path from sf->name. + + * gprof.h (SRCDEBUG): added. + + * search_list.c (search_list_append): directories were added in wrong + order. + + * reimplemented selection mechanism from ground up; it is now possible + to accurately control what gets included/excluded in each of the + output styles; a "symbol-specification" (spec) is the basic means + to select a set of symbols; a spec has the syntax: + + spec == (FILENAME:(FUNCNAME|LINE_NUM) | NAME). + arc == spec/spec. + + any of the terminal symbols can be empty, in which case they + match anything (wildcards). NAME is interpreted as a FILENAME + if it contains a dot (e.g., foo.c), as LINE_NUM if it starts + with a digit, and as FUNCNAME otherwise. + + For example, to get a call-graph display that ignores arcs + from foo() to bar(), you'd say "--no-graph=foo/bar"; to + show only arcs into bar() (no matter what the caller), + you'd say "--graph=/bar"; and to get a call-graph without + any arc info, you'd say "--graph=/"; similarly, to + get a flat profile without mcount, you'd say "--no-flat=mcount" + and to get a flat profile that shows includes all functions + you'd say "--flat=""" (i.e., an empty spec) + + * hist.c (hist_print): top_time wasn't initialized to 0.0. + + Fri Sep 9 01:10:21 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gmon_out.h: all headers now declared in terms of characters + to avoid getting into trouble with different compilers introducing + different amount of padding; the code already accessed the fields + through bfd functions, so that didn't have to change. + + * hist.c (hist_read_rec, hist_write_rec): added support for + collection pc histograms measuring quantities other than time; + the histogram header now includes a field that specifies the + dimension of the quantity measured by the histogram bins + (normally, this is "seconds", but other meaningful dimensions + include such things as "I-cache misses", "instruction issue stalls" + etc.); there is also a field to specify a one-character + abbreviation for the dimension; in the case of time, this would + be 's'; in most other cases it probably would be '1' (not a physical + dimension). + + Thu Sep 8 16:05:08 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gprof.c, gmon_io.[ch]: BSD_COMPATIBLE is gone and new_file_version + has become old_file_version; gmon_io.c now always supports old-style + gmon.out files; it first tries to read gmon.out as a new version + file, if that fails, it tries to read it in the old format; + although not very likely, it is possible for gprof to mistake an + old-style file as a new one (the first 4 bytes would have to + be "gmon"---including the trailing '\0'); in that case, it is + necessary to specify --old-file-version + + * gprof.h: removed dependency on SYSV; the code now always uses + strrchr(), memset(), and memcpy() and does not include either + of string.h or strings.h; this should make gprof compile on + any (Unix) system without configuration (per suggestion of + raeburn@cygnus.com) + + * gprof.c (usage): fixed location of --new-file-format option. + + * cg_arcs.c (propagate_flags): fixed typo in declaration. + + * flat_bl.m: removed formfeed at end of file; the form-feed + is now printed cg_print.c only when necessary. + + * major rewrite of gprof---too many changes to mention all of + them. new features: + + + -l now requests profiling at the line level (as opposed + to function level); in this mode, gprof creates a "symbol" + (aka name-list entry) for each line of source code, instead + of one per function) + + + support for a new gmon.out file format; the new format + consists of a header with a magic and a version number, + followed by a sequence of profile data; profile data + can any of: (a) PC histogram, (b) call-graph arcs, or + (c) basic-block execution counts; the version number makes + it possible to extend gmon.out in a backwards compatible + fashion + + + support for tcov style annotated output: if the gmon.out file + contains basic-block execution counts, the user can request + the generation of annotated source files, much like Sun's + tcov used to do + + + long options + + + new scheme to suppress symbols that aren't function names + (e.g., avoids mistaking a goto label as a function) + + + reorganized source code to make it more managable; as a + side effect, gprof now compiles cleanly with "gcc -Wall" + + Thu Sep 1 15:46:49 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gprof.c (funcsymbol): bfd_find_nearest_line() is now used as a + final cross-check to determine whether a static symbol should be + considered as a function-name. + + Fri Aug 5 19:32:36 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gmon_io.c (gmon_out_read): recognize "-" as the filename for + stdin; this is useful if you wanna keep gmon.out files compressed; + this way you can "gzcat" the compressed file into gprof. + + * gprof.c: flag_min_count now initialized with 1 instead of 0. + + * basic_blocks.c (bb_annotate_source): added support for creating + .tcov files when option flag_annotate_make_files is TRUE. + (annotate_with_count): all counts less than the minimum count + specified by -m are now annotated with hash-marks. + + * gprof.c (main): -A is now followed by a string of option chars. + + * basic_blocks.c (annotate_with_count): replaced b->count with + cnt. + + * source.c: flag_annotate_source replaced by source_lock_map. + + * source.h: source_lock_map added. + + * gprof.c (main): new command-line syntax: -S simply specifies + which source-files user is interested in; -A requests annotated + source files and -AA requests that all lines in a source file + are annotated. + + Thu Aug 4 23:27:03 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * basic_blocks.c (PATH_MAX): if undefined, define as 1024. + + * sparc.c, i386.c, tahoe.c, vax.c: added include of "time_hist.h" + so s_lowpc etc. get declared. + + * arcs.h (doarcs): created. + + * arcs.c: reordered static functions such that they get defined + before use. + + * gprof.c (main): added options: + -A: request annotation of all source lines (with -S) + -m: minimum execution count (with default basic-block display) + -N: force new file format (only if BSD_COMPATIBLE is defined) + -S: annotate source file + -t: set table length (with -S) + + * Makefile.am (OBJS): added basic_blocks.o call_graph.o gmon_io.o + source.o time_hist.o + + Fri Jul 1 15:23:50 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + + * gprof.c (asgnsamples): computation of "pcl" and "pch" depended + on the fact being able to store a long in a double without loss of + precision; this does not hold on machines with 64 bit longs and 64 + bit doubles. + +Fri Oct 21 18:58:02 1994 Ken Raeburn + + * printgprof.c (flatprofheader): Always set totime to 1.0 if not + greater than 0.0. Suggested by Harold Assink + . + +Fri Sep 23 15:06:45 1994 Ken Raeburn + + * printgprof.c (printprof): Use free, not cfree. + (printgprof, printindex): Ditto. + +Thu Sep 1 10:40:45 1994 Jeff Law (law@snake.cs.utah.edu) + + * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make + decls extern to keep native HP compiler quiet. + +Tue Aug 30 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as + __gnu_compiled, for the benefit of systems which add a leading + underscore. + +Wed Aug 24 12:49:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * configure.in: Change i386-*-* to i[345]86-*-*. + +Sun Jul 10 00:35:31 1994 Ian Dall (dall@hfrd.dsto.gov.au) + + * ns532.c, ns532.h: New Files. ns532 support. + + * config/mt-ns532: New File. ns532 support. + + * gprof.c: user register int i instead of defaulting the int. + Allows compilation with -Dregister= for debugging. + + * configure.in: Add ns532 support. + +Thu Jun 23 11:22:41 1994 Jeff Law (law@snake.cs.utah.edu) + + * Makefile.in (gprof): Depend on $(LIBS). + +Fri May 27 12:24:57 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + From binutils-2.4 release: + + Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: [new] build makefile from makefile.in (dos) + * hertz.c: allow static HERTZ (msdos needs it) + * gprof.c: allow target to select "r" or "rb" for fopen + * gprof.c: ignore __gnu_compiled symbols + * i386.h: dfine FOPEN_RB to "rb" for dos. + +Tue May 17 15:30:22 1994 E. Michael Smith (ems@cygnus.com) + + * Makefile.in (.m.c:): Added .SUFFIXES : .m + so flat_bl.c would make from flat_bl.m file. + +Thu May 5 19:23:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (install-info): Check for gprof.info in build dir, + fall back to srcdir. Depend on it. + + * gprof.h (TRUE, FALSE): Always use undef before defining them. + +Mon Apr 4 23:47:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing + makes (osf1) in which the value of MACHINE can not be changed. + * config/*.mt: Changed appropriately. + +Wed Mar 30 16:12:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * gprof.c (getsymtab): Change nosyms to long. Rename + get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for + errors from bfd_get_symtab_upper_bound and + bfd_canonicalize_symtab. + +Tue Mar 22 10:50:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of + bfd_decode_symclass. + +Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Makefile.in: Avoid bug in hpux sed. + +Wed Dec 15 20:16:40 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) + + * gprof.texi (Invoking): add text about -v flag + + * gprof.1: add text about -v flag + +Wed Dec 8 16:55:06 1993 david d `zoo' zuhn (zoo@andros.cygnus.com) + + * gprof.c (VERSION): defined a version macro, print the value + when the -v option is used + +Tue Jul 6 10:11:56 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * Makefile.in: Install correctly. + +Thu Jun 24 14:43:22 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * gprof.c (main): Get whoami from argv, instead of hardcoding. + Use it in usage message. Split usage message to fit in 80 cols. + +Sun Jun 20 20:58:02 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * Makefile.in: Undo 15 June change. + +Wed Jun 16 12:54:53 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * gmon.h, gprof.h: structs of chars used to hold external + representations. + * gprof.c (getpfile, openpfile, readsamples): Swap data in using + new structures. + +Tue Jun 15 23:09:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h. + +Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in: remove parentdir support + +Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + +Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in (install): should not depend on install-info + +Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com) + + * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz. + +Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com) + + * Makefile.in: Add -g to CFLAGS. + Ads LDFLAGS and use in place of CFLAGS where appropriate. + * configure.in: Make a sysdep.hlink in the same way other + bfd-based directories do. + * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned + short'. + * gprof.h: #include sysdep.h instead of a bunch of stuff. + * gprof.c (main): Fix typo gproff->gprof. + +Thu Mar 25 19:00:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * gprof.texi: add INFO-DIR-ENTRY + +Tue Mar 23 00:03:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: add installcheck target + +Sat Feb 27 18:17:10 1993 Per Bothner (bothner@rtl.cygnus.com) + + * gprof.c (funcsymbol): Invert test for aflag. + +Thu Feb 25 16:01:50 1993 Per Bothner (bothner@rtl.cygnus.com) + + * printgprof (xmalloc, xrealloc): Cast results of malloc + and realloc to PTR. + +Wed Feb 3 13:55:33 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) + + * Makefile.in: created info, install-info, dvi + +Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: fix install rule for $(PROG) + +Fri Oct 9 11:25:41 1992 Mark Eichin (eichin@cygnus.com) + + * gprof.1: updated SYNOPSIS to match actual behavior. + +Mon Oct 5 17:50:16 1992 Per Bothner (bothner@cygnus.com) + + * gen-c-prog.awk: New awk script, lightly changed from + previously deleted make-c-prog.awk. Converts a text file + to a c function that prints that text. + * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files. + Inputs to gen-c-prog.awk, containing text describing + gprof output. + * blurbs.c: Removed. Use *_bl.c instead. + * Makefile.in: Use gen-cprog.awk to generate *_bl.c files + from *_bl.m files. Also, improve *clean rules. + * printgprof.c (printgprof): Usw new function names from *_bl.c. + + +Sun Aug 30 19:54:53 1992 Per Bothner (bothner@rtl.cygnus.com) + + * gprof.h, gprof.c, printfgprof.c: Add support for two + output styles: The default is similar to the old FSF gprof, + while -T sets the variable bsd_style_output, which causes + output matching Berkeley's gprof. The biggest differences + are that with the FSF style output, the flat profile comes + before the call graph; numbers come before explanations; + and there is less gratuitous white space. + * gprof.h, gprof.c, printfgprof.c: New discard_underscores + variable causes discarding of initial underscores when + printing symbol names. It is set unless there is a "main" + symbol (without an underscore). + * printfgprof.c: New function printnameonly(), called + by printname(). It handles stripping of initial '_', + as well as C++ name-demangling. + * gprof.callg, gprof.flat, make-c-prog.awk: Removed. + It is just as convenient to edit blurbs.c directly. + * Makefile.in: Removed rule for making blurbs.c. + * blurbs.c: This is now a true source file (as opposed + to being generated from gprof.callg and gprof.flat). + Change style to use one long string literal, instead of + one literal per output line. Add FSF-style blurb for call graph. + +Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: always create installation directories. + +Wed Aug 12 15:14:14 1992 Mark Eichin (eichin@cygnus.com) + + * Makefile.in: change ${MACHINE} to $(MACHINE). + +Sun Jul 19 17:34:01 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: removed installation of the now useless + call.{flag,callg} files. + + * gprof.1: now uses the standard man macros instead of the new BSD + mandoc macros. + +Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com) + + * configure.in: Remove host section, expand target section. + * config/mt-{tahoe,vax}: Add, to match existing support files. + * config/tmake-*: Remove leftover crud. + + * blurbs.c: New file, created from gprof.flat and gprof.callg by + * make-c-prog.awk: which processes text files into C programs. + * printgprof.c (flatprofheader, gprofheader): Call new functions + to print blurbs. + (printblurb): Remove. + * Makefile.in: Infrastructure to build blurbs. + * pathnames.h: has been removed. Gprof now has no filename + dependencies in it. + * gprof.c: Lint. + +Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: define man1dir and install the man page + +Fri Jul 10 21:14:08 1992 david d `zoo' zuhn (zoo@cygnus.com) + + * Makefile.in: added dummy info and install-info targets + +Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com) + + * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for + help in debugging the problem (with -DDEBUG) + * gprof.c: symbol values are now real values, don't add the vma + anymore. (done for solaris; should verify this on other platforms) + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/include/ChangeLog b/include/ChangeLog index 670fe38b312..33163834229 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,2733 +1,5 @@ -2003-12-19 Andreas Tobler - - * include/fibheap.h (fibnode): Use __extension__ for - bit-fields mark and degree if __GNUC__. - -2003-12-18 Kazu Hirata - - * include/fibheap.h (fibnode): Use unsigned long int for - bit-fields if __GNUC__ is defined. - -2003-12-04 H.J. Lu - - * bfdlink.h (bfd_link_info): Change relax_finalizing to - need_relax_finalize. - -2003-12-03 Alan Modra - - * bfdlink.h (struct bfd_link_hash_entry): Rename "next" to "und_next". - -2003-12-02 Alan Modra - - * bfdlink.h (struct bfd_link_info): Remove mpc860c0 field. - -2003-11-18 Maciej W. Rozycki - - * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB. - -2003-11-14 Nick Clifton - - * dis-asm.h (struct disassemble_info): Add new field - 'symbol_is_valid' which is a function which can tell the - disassembler to skip certain symbols as they should not be - displayed to the user. - (arm_symbol_is_valid): New prototype. This is the ARM - specific function for the symbol_is_valid field. - (generic_symbol_is_valid): New prototype. This is the default - function pointed to by the symbol_is_valid field. - -2003-11-06 Bruno Rohee - - * hp-symtab.h: Fix "the the" typo. - -2003-10-24 H.J. Lu - - * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove - "wildcard". - -2003-10-22 Joseph S. Myers - - * obstack.h: Merge the following change from gnulib: - 2003-10-21 Paul Eggert - * obstack.h (obstack_1grow_fast): Properly parenthesize arg. - (obstack_ptr_grow_fast, obstack_int_grow_fast): - Don't use lvalue casts, as GCC plans to remove support for them - in GCC 3.5. Reported by Joseph S. Myers. This bug - was also present in the non-GCC version, indicating that this - code had always been buggy and had never been widely used. - (obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank): - Use the fast variant of each macro, rather than copying the - definiens of the fast variant; that way, we'll be more likely to - catch future bugs in the fast variants. - -2003-10-22 Jakub Jelinek - - * bfdlink.h (struct bfd_elf_version_expr): Remove match field. - Add wildcard and mask fields. - (BFD_ELF_VERSION_C_TYPE): Define. - (BFD_ELF_VERSION_CXX_TYPE): Likewise. - (BFD_ELF_VERSION_JAVA_TYPE): Likewise. - (struct bfd_elf_version_expr_head): New. - (struct bfd_elf_version_tree): Add match field. - Change type of globals and locals fields - to struct bfd_elf_version_expr_head. - -2003-10-14 Bob Wilson - - * elf/xtensa.h: Formatting. Fix comments about property section - names for linkonce sections. - -2003-09-22 Andrew Cagney - - * floatformat.h (struct floatformat): Add field "is_valid". - -2003-09-15 Andrew Cagney - - * floatformat.h (floatformat_to_double): Make input buffer constant. - (floatformat_from_double, floatformat_is_valid): Ditto. - -2003-09-15 Andrew Cagney - - * floatformat.h (struct floatformat): Make "exp_bias" signed. - -2003-09-15 Daniel Jacobowitz - - * floatformat.h (floatformat_is_valid): Add prototype. - -2003-08-27 Andrew Cagney - - * dis-asm.h (init_disassemble_info): Declare. - (INIT_DISASSEMBLE_INFO): Redefine as a call to - init_disassemble_info. - (INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto. - -2003-08-20 Nick Clifton - - * bfdlink.h (enum report_method): New enum. Describes how to - report something. - (struct bfd_link_info): Delete fields 'no_undefined' and - 'allow_shlib_undefined'. Replace with - 'unresolved_symbols_in_objects' and - 'unresolved_symbols_in_shared_libs'. - -2003-08-07 Alan Modra - - * bfdlink.h: Remove PARAMS macro. Replace PTR with void *. - * dis-asm.h: Likewise. - -2003-07-09 Bob Wilson - - * xtensa-config.h: Undef all macros before defining them. - -2003-07-06 H.J. Lu - - * demangle.h: Support C++. - -2003-07-01 Zack Weinberg - - * filenames.h: New file imported from binutils. - -2003-06-30 Bob Wilson - - * xtensa-config.h: New file imported from binutils. - -2003-06-30 Bob Wilson - - * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS, - XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define. - -2003-06-25 Alan Modra - - * bfdlink.h: Correct spelling of "relocatable". - -2003-06-22 Zack Weinberg - - * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to - HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC - respectively. - -2003-06-21 Zack Weinberg - - * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): - New #defines. - -2003-06-17 Kaveh R. Ghazi - - * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. - -2003-05-23 Jakub Jelinek - - * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. - * elf/common.h (PT_GNU_STACK): Define. - -2003-06-03 H.J. Lu - - * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. - -2003-05-30 Ulrich Drepper - Jakub Jelinek - - * bfdlink.h (struct bfd_link_info): Add pie and executable - bits. - -2003-05-21 Nick Clifton - - * bfdlink.h (struct bfd_link_hash_table): Fix typo in comment. - -2003-05-15 Jim Blandy - - * libiberty.h (hex_value): Make the value an unsigned int, to - avoid unexpected sign-extension when cast to unsigned types larger - than int --- like bfd_vma, on some platforms. - (_hex_value): Update declaration. - -2003-05-09 Alan Modra - - * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on - gen_num_opcodes_fn return type. - -2003-05-07 Jason Merrill - - * hashtab.h (iterative_hash): Prototype. - (iterative_hash_object): New macro. - -2003-04-28 H.J. Lu - - * bfdlink.h (bfd_link_info): Add relax_finalizing. - -2003-04-23 H.J. Lu - - * bfdlink.h (bfd_link_callbacks): Add error_handler. - -2003-04-04 Svein E. Seldal - - * coff/tic4x.h: Namespace cleanup. Replace s/c4x/tic4x - and s/c3x/tic3x/ - * coff/tc-tic4x.h: Ditto - * opcode/tic4x.h: Ditto - -2003-04-02 Bob Wilson - - * xtensa-config.h: Remove comment indicating that this is a - generated file. - -2003-04-01 Bob Wilson - - * dis-asm.h (print_insn_xtensa): Declare. - * xtensa-config.h: New file. - * xtensa-isa-internal.h: Likewise. - * xtensa-isa.h: Likewise. - -2003-03-17 Kaveh R. Ghazi - - * ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF, - ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2, - ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4, - ATTRIBUTE_NULL_PRINTF_5): New. - (ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL. - -2003-03-17 Jan Hubicka - - * hashtab.h (htab_traverse_noresize): Declare. - -2003-02-27 Kaveh R. Ghazi - - * libiberty.h: Document return value of physmem routines. - -2003-02-20 Kaveh R. Ghazi - - * libiberty.h (physmem_total, physmem_available): Prototype. - -2003-02-20 Daniel Jacobowitz - - * libiberty.h (lrealpath): Add declaration. - -2003-01-31 Grant Grundler - - * hppa.h (ldwa, ldda): Add ordered opcodes. - -2003-01-26 Daniel Jacobowitz - - * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types. - (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f. - (htab_create_alloc_ex): New prototype. - (htab_set_functions_ex): New prototype. - -2003-01-25 Jakub Jelinek - - * elf/sparc.h: Add TLS relocs. Move R_SPARC_REV32 to 252. - -2003-01-20 Svein E. Seldal - - * coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug - * coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros - -2002-07-17 Geoffrey Keating - - * splay-tree.h (GTY): Define if undefined. - (splay_tree_allocate_fn): Return PTR for compatibility, not void *. - (struct splay_tree_node_s): Support gengtype. - (struct splay_tree_s): Likewise. Make allocate_data a PTR, - not a void *. - -2002-01-02 Ben Elliston - - * dis-asm.h (print_insn_iq2000): Declare. - -2002-12-24 Dmitry Diky - - * dis-asm.h: Add msp430 disassembler prototype. - -2002-12-27 Chris Demetriou - - * dis-asm.h (print_mips_disassembler_options): Prototype. - -2002-12-23 Alan Modra - - * bfdlink.h (struct bfd_link_info): Add "strip_discarded". - -2002-12-20 Alan Modra - - * bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with - bit-fields. Rearrange to put all like types together. - -2002-11-30 Alan Modra - - * bfdlink.h: Replace boolean with bfd_boolean. Formatting. - -2002-11-23 Simon Burge - - * libiberty.h (basename): Add NetBSD to the list. - -2002-11-22 Daniel Jacobowitz - - * libiberty.h (make_relative_prefix): Add prototype. - -2002-11-16 Klee Dienes - - * opcode/m88k.h (INSTAB): Remove 'next' field. - (instruction): Remove definition; replace with extern declaration - and mark as const. - -2002-11-14 Egor Duda - - * bfdlink.h (struct bfd_link_info): Add new boolean - field pei386_runtime_pseudo_reloc. - -2002-10-26 Roger Sayle - - * partition.h: Close the extern "C" scope when compiling with C++. - -2002-10-26 Roger Sayle - DJ Delorie - - PR bootstrap/8351 - * getopt.h: Avoid prototyping getopt with no arguments in C++. - -2002-10-24 Nathan Tallent - - * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the - list of platform compilers that may look, smell and act - like __STDC__ but that may not define it. - -2002-10-11 David O'Brien - - * getopt.h: getopt is in unistd.h (based on SUSv2). - -2002-09-26 Jakub Jelinek - - * elf/x86-64.h: Add TLS relocs. - -2002-09-26 Andrew Cagney - - * regs/: Delete directory. - -2002-09-19 Alexandre Oliva - - * libiberty.h (asprintf, vasprintf): Don't declare them if the - corresponding HAVE_DECL_ macro is 1. - -2002-09-19 Jakub Jelinek - - * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): - Define. - -2002-09-19 Nathan Tallent - - * dis-asm.h: Remove (errant) trailing semicolon (;) from the - extern "C" { } declaration. - -2002-09-04 Nick Clifton - - * dis-asm.h (print_ppc_disassembler_options): Prototype. - -2002-08-28 Michael Hayes - - * coff/internal.h: Add new relocation types. - * coff/ti.h: Add file-header flags for tic4x code. - * dis-asm.h: Add standard disassembler for tic4x. - * opcode/tic4x.h: New file. - * coff/tic4x.h: New file - -2002-08-07 H.J. Lu - - * bfdlink.h (bfd_link_info): Add allow_undefined_version. - (bfd_elf_version_expr): Add symver and script. - -2002-07-31 Ian Dall - - * bfdlink.h (bfd_link_common_skip_ar_symbols): New enum. - (struct bfd_link_info): Add new field 'common_skip_ar_symbols'. - -2002-07-25 Richard Sandiford - - * opcode/mips.h (CPU_R2000): Remove. - -2002-07-19 Denis Chertykov - Matthew Green - - * dis-asm.h (print_insn_ip2k): Declare. - -2002-07-10 Jakub Jelinek - - * elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED, - DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define. - -2002-07-01 Alan Modra - - * bfdlink.h (struct bfd_sym_chain): Declare. - (struct bfd_link_info): Add gc_sym_list. Formatting fixes. - -2002-06-25 Alan Modra - - * demangle.h: #include "ansidecl.h" rather than #include . - * fibheap.h: Likewise. - * hashtab.h: Likewise. - * partition.h: Likewise. - * sort.h: Likewise. - * splay-tree.h: Likewise. - -2002-06-24 Alan Modra - - * libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME. - * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT. - -2002-06-18 Dave Brolley - - From Catherine Moore: - * dis-asm.h (print_insn_frv): New prototype. - -2002-06-09 Andrew Cagney - - * remote-sim.h: Move to directory gdb/. - * callback.h: Move to directory gdb/. - -2002-06-07 Charles Wilson - - * bfdlink.h (struct bfd_link_info): Change type of - pei386_auto_import field to int so that -1 can mean enabled by - default and 1 can mean enabled by command line switch. - -2002-06-06 DJ Delorie - - * hashtab.h (htab): Rearrange new members for backward - compatibility. - (htab_create): Don't use a macro that requires other headers. - -2002-06-05 Geoffrey Keating - - * hashtab.h (htab_create): Restore prototype for backward - compatibility. - (htab_try_create): Likewise. - -2002-05-22 Geoffrey Keating - - * hashtab.h (struct htab): Update for change to length specifier. - -2002-05-10 Geoffrey Keating - - * hashtab.h (GTY): Define if undefined. - (htab_alloc): New typedef. - (htab_free): New typedef. - (struct htab): Support gengtype; allow user-specified memory - allocation. - (htab_create_alloc): New. - (htab_create): Replace with #define. - (htab_try_create): Delete. - -2002-05-31 Michal Ludvig - - * elf/dwarf2.h (DW_CFA_low_user, DW_CFA_high_user): Renamed - to DW_CFA_lo_user, DW_CFA_hi_user respectively. - -2002-05-28 Kuang Hwa Lin - - * dis-asm.h: Prototype print_insn_dlx. - -2002-05-23 Andrew Cagney - - * sim-d10v.h: Delete file. Moved to include/gdb/. - -2002-05-23 Jakub Jelinek - - * elf/common.h (PT_TLS, SHF_TLS, STT_TLS, DF_STATIC_TLS): Define. - * elf/ia64.h (R_IA64_LTOFF_TPREL22): Renamed from R_IA64_LTOFF_TP22. - * elf/i386.h: Add TLS relocs. - -2002-05-21 H.J. Lu (hjl@gnu.org) - - * bfdlink.h (bfd_link_info): Add allow_multiple_definition. - -2002-05-17 J"orn Rennecke - - * dis-asm.h (print_insn_shl, print_insn_sh64l): Remove prototype. - -2002-04-16 David S. Miller - - * xregex2.h (__restrict_arr): Define to __restrict on GCC - 3.1 and later. Do not redefine. - -2002-04-01 Phil Edwards - - * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. - -2002-03-10 Daniel Jacobowitz - - * gdb: New directory. - -2002-03-06 Andrew Cagney - - * floatformat.h (floatformat_arm_ext): Delete declaration. - -2002-02-21 Jim Blandy - - Allow the user to specify functions for allocating memory for - splay tree roots and nodes. - * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): - New types. - (splay_tree): New fields: `allocate', `deallocate', and - `allocate_data'. - (splay_tree_new_with_allocator): New function declaration. - -2002-02-15 Alan Modra - - Support arbitrary length fill patterns. - * bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. - (struct bfd_link_order): Remove fill. Add data.size. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2000-11-25 Hans-Peter Nilsson - * dis-asm.h (print_insn_sh64): New prototype. - (print_insn_sh64l): New prototype. - (print_insn_sh64x_media): New prototype. - -2002-02-05 Frank Ch. Eigler - - * dis-asm.h (disassemble_info): New field `insn_sets'. - (INIT_DISASSEMBLE_INFO): Clear it. - -2002-02-05 Jason Merrill - - * demangle.h (cplus_demangle_v3): Add "options" parm. - (cplus_demangle_v3_type): Remove prototype. - (DMGL_VERBOSE): New macro. - (DMGL_TYPES): New macro. - -2002-02-02 H.J. Lu (hjl@gnu.org) - - * demangle.h (cplus_demangle_v3_type): New prototype. - -2002-01-31 Ivan Guzvinec - - * dis-asm.h : Add support for or32 targets - -2002-01-28 Kaveh R. Ghazi - - * libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC. - -2002-01-27 David O'Brien - - * cgen.h (BFD_VERSION): Use BFD_VERSION_DATE instead. - -2001-12-14 Nick Clifton - - * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialise the - disassembler_options field (to NULL). - -2001-12-13 Jakub Jelinek - - * bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field. - -2001-12-07 Geoffrey Keating - - * dis-asm.h (print_insn_xstormy16): Declare. - -2001-12-06 Richard Henderson - - * demangle.h (no_demangling): New. - (NO_DEMANGLING_STYLE_STRING): New. - -2001-11-14 Alan Modra - - * dis-asm.h (print_insn_i386): Declare. - -2001-11-11 Timothy Wall - - * dis-asm.h: Fix comment to refer to octets rather than bytes. - -2001-10-30 Hans-Peter Nilsson - - * dis-asm.h (print_insn_mmix): Add prototype. - -2001-10-24 Neil Booth - - * safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New. - -2001-10-22 Kaveh R. Ghazi - - * libiberty.h (hex_init): Revert delete. - - * libiberty.h (_hex_value): Const-ify. - (hex_init): Delete. - -2001-10-16 Christopher Faylor - - * filenames.h: Add cygwin to the list of dosish style path systems. - -2001-10-07 Kaveh R. Ghazi - - * demangle.h (demangler_engine): Const-ify. - * libiberty.h (buildargv): Likewise. - -2001-10-03 Vassili Karpov - - * bfdlink.h (struct bfd_link_info): Add nocopyreloc field. - -2001-09-24 Kaveh R. Ghazi - - * libiberty.h (reconcat): New function. - -2001-09-18 Kaveh R. Ghazi - - * libiberty.h (concat, concat_length, concat_copy, concat_copy2, - ACONCAT): Improve comments. - -2001-09-18 Alan Modra - - * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. - -2001-09-17 Kaveh R. Ghazi - - * libiberty.h (concat_length, concat_copy, concat_copy2, - libiberty_concat_ptr, ACONCAT): New. - - * libiberty.h (ASTRDUP): New macro. - libiberty_optr, libiberty_nptr, libiberty_len): Declare. - -2001-08-29 Kaveh R. Ghazi - - * ansidecl.h: Update comments reflecting previous change. - -2001-08-27 Kaveh R. Ghazi - - * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. - -2001-08-25 Nick Clifton - - * bfdlink.h (struct bfd_link_info): Change 'spare_dynamic_tags' to - unsigned to remove a compile time warning message. - -2001-08-24 H.J. Lu - - * bfdlink.h (bfd_link_hash_table_type): New. The linker hash - table type, bfd_link_generic_hash_table and - bfd_link_elf_hash_table. - (bfd_link_hash_table): Add a new field, type, for the linker - hash table type. - -2001-08-23 Jakub Jelinek - - * bfdlink.h (struct bfd_link_info): Add combreloc and - spare_dynamic_tags fields. - -2001-08-23 Lars Brinkhoff - - * dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h: - replace "GNU CC" with "GCC". - -2001-08-21 Richard Henderson - - * fibheap.h: Tidy formatting. - (fibnode_t): Limit degree to 31 bits to avoid warning. - -2001-08-20 Daniel Berlin - - * fibheap.h: New file. Fibonacci heap. - -2001-08-20 Andrew Cagney - - * floatformat.h (floatformat_arm_ext): Document as deprecated. - (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) - (floatformat_ia64_spill_little, floatformat_ia64_quad_little) - (floatformat_ia64_spill_big, floatformat_ia64_quad_big) - (floatformat_m88110_harris_ext): Declare. - -2001-08-18 Zack Weinberg - - * ansidecl.h: Reorganize for readability, remove documentation - of obsolete macros, document PARAMS and VPARAMS. Add new - macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic - function implementation. - -2001-08-16 Richard Henderson - - * hashtab.h (htab_hash_string): Declare. - -2001-08-10 Andrew Cagney - - * libiberty.h (lbasename): Change function declaration to return a - const char pointer. - -2001-08-02 Mark Kettenis - - * xregex.h (_REGEX_RE_COMP): Define. - (re_comp): Define to xre_comp. - (re_exec): Define to xre_exec. - -2001-08-02 Charles Wilson - - * bfdlink.h (struct bfd_link_info): add new boolean - field pei386_auto_import. - -2001-07-18 Andreas Jaeger - - * xregex2.h: Place under LGPL version 2.1. - -2001-07-10 Jeff Johnston - - * xregex.h: New file to support libiberty regex. - * xregex2.h: Ditto. - -2001-06-15 Hans-Peter Nilsson - - * bfdlink.h (struct bfd_link_info): New member export_dynamic. - -2001-05-16 Matt Kraai - - * partition.h: Fix misspelling of `implementation'. - -2001-05-10 Kaveh R. Ghazi - - * ansidecl.h (NULL_PTR): Delete. - -2001-05-07 Zack Weinberg - - * demangle.h: Use PARAMS for all prototypes. - * ternary.h: Use PARAMS for all prototypes. Use PTR, not void *. - Make arguments constant where possible. - -2001-05-07 Mark Mitchell - - * splay-tree.h (splay_tree_max): New function. - (splay_tree_min): Likewise. - -2001-04-27 Johan Rydberg - - * dis-asm.h (print_insn_openrisc): Add prototype. - -2001-04-15 Daniel Berlin - - * ternary.h: New file - Ternary search tree header. - -2001-04-13 Jakub Jelinek - - * bfdlink.h (bfd_link_discard): Add discard_sec_merge. - -2001-04-03 Zack Weinberg - - * ansidecl.h: All logic from gcc/gansidecl.h moved here. - -2001-03-31 Kaveh R. Ghazi - - * libiberty.h (alloca): Handle setting C_ALLOCA. - -2001-03-20 Jim Blandy - - * demangle.h (enum gnu_v3_constructor_kinds, - is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, - is_gnu_v3_mangled_dtor): New declarations. - -2001-03-14 Nick Clifton - - * ansidecl.h: Fix copyright dates. - * demangle.h: Fix copyright dates. - * floatformat.h: Fix copyright dates. - * fnmatch.h: Fix copyright dates. - * getopt.h: Fix copyright dates. - * libiberty.h: Add FSF copyright notice. - * md5.h: Fix copyright dates. - * obstack.h: Fix copyright dates. - * splay-tree.h: Fix copyright dates. - -2001-03-10 Neil Booth - John David Anglin - - * libiberty.h: Add lbasename. - -2001-03-06 Zack Weinberg - - * libiberty.h: Prototype C_alloca; define alloca to either - __builtin_alloca or C_alloca as appropriate. - -2001-03-01 John David Anglin - - * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc - compatibility. - -2001-02-18 lars brinkhoff - - * dis-asm.h: Add PDP-11 target. - -2001-02-09 Martin Schwidefsky - - * dis-asm.h: Add linux target for S/390. - -2001-01-11 Peter Targett - - * dis-asm.h (arc_get_disassembler): Correct declaration. - -2001-01-09 Philip Blundell - - * bin-bugs.h (REPORT_BUGS_TO): Set to `bug-binutils@gnu.org'. - -2000-12-18 Joseph S. Myers - - * COPYING: Update to current - ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references - to 19yy as example year in copyright notice). - -2000-12-19 Hans-Peter Nilsson - - * dis-asm.h (struct disassemble_info): New member "section". - (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member. - Initialize section member. - -2000-12-16 Herman A.J. ten Brugge - - * safe-ctype.h: Make code work on all targets and not just on - targets where a char is 8 bits. - -2000-12-10 Fred Fish - - * bfdlink.h (struct bfd_link_info): Add new allow_shlib_undefined - member to struct for systems where it is normal to have undefined - symbols in shared libraries at runtime and the runtime linker - takes care of redirecting them. - -2000-12-07 Zack Weinberg - - * safe-ctype.h: New file. - -2000-12-06 Rodney Brown - - * getopt.h obstack.h: Standarize copyright statement. - -2000-12-04 Richard Henderson - - * demangle.h: Change "new_abi" to "v3" everywhere. - -2000-11-22 Zack Weinberg - - * libiberty.h: Move #includes to top. Prototype xmalloc_failed. - -2000-11-15 Kenneth Block - - * demangle.h: Add gnat and java demangle styles. - -2000-11-04 Hans-Peter Nilsson - - * hashtab.h (struct htab): Add member return_allocation_failure. - (htab_try_create): New prototype. Mention which functions may - return NULL when this is used. - -2000-11-03 Hans-Peter Nilsson - - * hashtab.h: Change void * to PTR where necessary. - -2000-10-11 Mark Mitchell - - * splay-tree.h (splay_tree_predecessor): Declare. - -2000-09-29 Hans-Peter Nilsson - - * dis-asm.h: Declare cris_get_disassembler, not print_insn_cris. - Fix typo in comment. - -2000-09-28 John David Anglin - - * alloca-conf.h: New file (copied from libiberty). - -2000-09-05 John David Anglin - - * md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. - -2000-09-04 Alex Samuel - - * dyn-string.h: Adjust formatting. - (dyn_string_insert_char): New macro. New declaration. - -2000-08-28 Jason Merrill - - * md5.h: New file. - -2000-08-24 Greg McGary - - * libiberty.h (ARRAY_SIZE): New macro. - -2000-07-29 Nick Clifton - - * os9k.h: Add copyright notice. - Fix formatting. - -2000-07-22 Jason Eckhardt - - * dis-asm.h (print_insn_i860): Add prototype. - -2000-07-20 H.J. Lu - - * bfdlink.h (bfd_link_info): Add new_dtags. - -2000-07-20 Hans-Peter Nilsson - - * dis-asm.h (print_insn_cris): Declare. - -2000-07-19 H.J. Lu (hjl@gnu.org) - - * bfdlink.h (bfd_link_info): Add flags and flags_1. - -2000-06-05 DJ Delorie - - * MAINTAINERS: new - -2000-06-21 Alex Samuel - - * dyn-string.h (dyn_string_init, dyn_string_new, - dyn_string_delete, dyn_string_release, dyn_string_resize, - dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr, - dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, - dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, - dyn_string_append_char, dyn_string_substring_dyn_string_eq): - Define as same name with __cxa_ prepended, if IN_LIBGCC2. - (dyn_string_init, dyn_string_copy, dyn_string_copy_cstr, - dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, - dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, - dyn_string_append_char, dyn_string_substring): Change return type - to int. - -2000-06-18 Stephane Carrez - - * dis-asm.h (print_insn_m68hc12): Define. - (print_insn_m68hc11): Likewise. - -2000-06-18 Nick Clifton - - * os9k.h: Change values of MODSYNC and CRCCON due to bug report - from Russ Magee . - -2000-06-07 Kaveh R. Ghazi - - * demangle.h (demangling_styles): Remove trailing comma in enum. - - * dyn-string.h (dyn_string_append_char): Change parameter from - char to int. - -2000-06-04 Alex Samuel - - * dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. - - * demangle.h (DMGL_GNU_NEW_ABI): New macro. - (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. - (current_demangling_style): Add gnu_new_abi_demangling. - (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. - (GNU_NEW_ABI_DEMANGLING): Likewise. - (cplus_demangle_new_abi): New declaration. - -Tue May 30 16:53:34 2000 Andrew Cagney - - * floatformat.h (struct floatformat): Add field name. - -2000-05-26 Eli Zaretskii - - * filenames.h: New file. - (HAVE_DOS_BASED_FILE_SYSTEM, IS_DIR_SEPARATOR) - (IS_ABSOLUTE_PATH, FILENAME_CMP): New macros. - -2000-05-23 Kaveh R. Ghazi - - * getopt.h (getopt): Also check HAVE_DECL_* when prototyping. - - * libiberty.h (basename): Likewise. - -2000-05-17 S. Bharadwaj Yadavalli - Rick Gorton - - * bfdlink.h (struct bfd_link_info): Add emitrelocations flag. - -2000-05-08 Alan Modra - - * dis-asm.h (print_insn_tic54x): Declare. - -2000-05-06 Zack Weinberg - - * ansidecl.h: #define __extension__ to nothing if - GCC_VERSION < 2008. - -2000-05-04 Kaveh R. Ghazi - - * demangle.h (demangler_engine): Constify. - -Thu May 4 17:15:26 2000 Philippe De Muyter - - * sort.h (sys/types.h): File included unconditionnaly. - (stddef.h): File include only #ifdef __STDC__. - -2000-05-03 Zack Weinberg - - * symcat.h: Remove #endif label. - -2000-04-28 Kenneth Block - Jason Merrill - - * demangle.h (libiberty_demanglers): new table for different styles. - (cplus_demangle_set_style): New function for setting style. - (cplus_demangle_name_to_style): New function to translate name. - -2000-04-24 Mark Mitchell - - * hashtab.h (hash_pointer): Declare. - (eq_pointer): Likewise. - -2000-04-23 Mark Mitchell - - * sort.h: New file. - -Fri Apr 21 13:20:53 2000 Richard Henderson - David Mosberger - - * dis-asm.h (print_insn_ia64): Declare. - -Tue Apr 18 16:22:30 2000 Richard Kenner - - * hashtab.h (enum insert_option): New type. - (htab_find_slot, htab_find_slot_with_hash): Use it. - -2000-04-17 Kaveh R. Ghazi - - * symcat.h: Honor autoconf macro HAVE_STRINGIZE. Add - comments/caveats with regard to traditional C behavior. - -2000-04-05 Richard Henderson - - * splay-tree.h (splay_tree_remove): Declare. - -2000-04-04 Alan Modra - - * bin-bugs.h (REPORT_BUGS_TO): Remove translated part. - -2000-04-03 Alan Modra - - * bin-bugs.h: New file. - -2000-03-30 Mark Mitchell - - * hashtab.h (hashval_t): New type. - (htab_find_with_hash): Use it as an argument. - (htab_find_slot_with_hash): Likewise. - -2000-03-27 Denis Chertykov - - * dis-asm.h (print_insn_avr): Declare. - -2000-03-14 Bernd Schmidt - - * hashtab.h (htab_trav): Modify type so that first arg is of type - void **. - (htab_find_with_hash, htab_find_slot_with_hash): Declare new - functions. - -2000-03-09 Alex Samuel - - * partition.h: New file. - -2000-03-09 Zack Weinberg - - * hashtab.h (struct htab): Add del_f. - (htab_del): New type. - (htab_create): Add fourth argument. - -2000-03-08 Zack Weinberg - - * hashtab.h (hash_table_t): Rename to htab_t. - (struct hash_table): Rename to struct htab. Shorten element - names. Reorder elements by size. - (htab_hash, htab_eq, htab_trav): New typedefs for the callback - function pointers. - (hash_table_entry_t): Discard; just use void * for element - type. - -2000-03-01 H.J. Lu - - * bfdlink.h (bfd_link_callbacks): Add a boolean arg to - the undefined_symbol callback. - -2000-02-23 Linas Vepstas - - * dis-asm.h (print_insn_i370): Declare. - -Tue Feb 22 15:19:54 2000 Andrew Cagney - - * remote-sim.h (sim_trace): Document return values. - (sim_set_trace): Declare. Deprecate. - -2000-02-21 Alan Modra - - * dis-asm.h (struct disassemble_info): Change `length' param of - read_memory_func to unsigned. Change type of `buffer_length' and - `octets_per_byte' to unsigned. - (buffer_read_memory): Change `length' param to unsigned. - -2000-02-16 Nick Clifton - - * dis-asm.h: Add prototypes for ARM register name functions. - -Wed Feb 9 18:45:49 2000 Andrew Cagney - - * wait.h: Delete. No longer used by GDB. - -Tue Feb 8 17:01:13 2000 Andrew Cagney - - * remote-sim.h (sim_resume): Clarify use of SIGGNAL. - (sim_stop_reason): Clarify meaning of sim_signalled. - -2000-02-03 Timothy Wall - - * dis-asm.h (struct disassemble_info): Added octets_per_byte - field and initialize it to one (1). - -2000-01-27 Nick Clifton - - * dis-asm.h: Add prototype for disassembler_usage(). - Add prototype for arm_disassembler_options(). - Remove prototype for arm_toggle_regnames(). - Add prototype for parse_arm_disassembler_option(). - -Sat Jan 1 19:06:52 2000 Hans-Peter Nilsson - - * symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s" - to stringify argument s. - -Wed Dec 15 11:22:56 1999 Jeffrey A Law (law@cygnus.com) - - * hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant. - (HP_LANGUAGE_F77): Define using HP_LANGUAGE_FORTRAN. - -1999-12-15 Doug Evans - - * dis-asm.h: Enclose in extern "C" ifdef __cplusplus. - -1999-12-05 Mark Mitchell - - * splay-tree.h (struct splay_tree_node): Rename to ... - (struct splay_tree_node_s): ... this. - (struct splay_tree): Rename to ... - (struct splay_tree_s): ... this. - -1999-11-30 Kaveh R. Ghazi - - * ansidecl.h (ATTRIBUTE_MALLOC): New macro. - - * libiberty.h (buildargv, dupargv, concat, choose_temp_base, - make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add - ATTRIBUTE_MALLOC. - (xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN. - -1999-11-28 Kaveh R. Ghazi - - * libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined. - (asprintf, vasprintf): Provide declarations. - -Wed Nov 10 12:43:21 1999 Philippe De Muyter - Kaveh R. Ghazi - - * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. - -1999-11-04 Jimmy Guo - - * hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind - fields, change location type to CORE_ADDR from int. - (dntt_type_const): Name the 5th field location_type. - -Sun Oct 24 19:11:32 1999 Andrew Cagney - - * sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define. - -1999-10-23 08:51 -0700 Zack Weinberg - - * hashtab.h: Give hash_table_t a struct tag. Add prototypes - for clear_hash_table_slot and traverse_hash_table. Correct - prototype of all_hash_table_collisions. - -Sat Oct 23 19:00:13 1999 Andrew Cagney - - * sim-d10v.h: New file. - -Fri Oct 15 01:47:51 1999 Vladimir Makarov - - * hashtab.h: New file. - -1999-10-10 Kaveh R. Ghazi - - * ansidecl.h (HAVE_GCC_VERSION): New macro. Use it instead of - explicitly testing __GNUC__ and __GNUC_MINOR__. - - (ATTRIBUTE_PRINTF): Use `__format__', not `format'. - -1999-09-25 Kaveh R. Ghazi - - * libiberty.h (make_temp_file): Add a prototype. - -Tue Sep 14 00:35:02 1999 Marc Espie - - * libiberty.h (basename): OpenBSD has a correct prototype. - (xrealloc): Remove outdated comment. - -1999-09-07 Jeff Garzik - - * libiberty.h (xmemdup): Add prototype for new function. - -1999-09-04 Steve Chamberlain - - * dis-asm.h (print_insn_pj): Declare. - -1999-09-01 Kaveh R. Ghazi - - * obstack.h (obstack_grow, obstack_grow0): Move (char*) casts - in calls to `_obstack_memcpy' from here ... - - (_obstack_memcpy): ... to here, except in the __STDC__ case which - doesn't need it. - -1999-08-30 Kaveh R. Ghazi - - * libiberty.h (getpwd): Prototype. - -1999-08-01 Mark Mitchell - - * splay-tree.h (splay_tree_insert): Return the new node. - -1999-07-11 Ian Lance Taylor - - * ansidecl.h: Copy attribute support macros from egcs. - -1999-06-22 Mark Mitchell - - * bfdlink.h (struct bfd_link_hash_entry): Add init_function and - fini_function. - -1999-06-20 Mark Mitchell - - * mips.h (Elf32_Internal_Msym): New structure. - (Elf32_External_Msym): Likewise. - (ELF32_MS_REL_INDEX): New macro. - (ELF32_MS_FLAGS): Likewise. - (ELF32_MS_INFO): Likewise. - -1999-06-14 Nick Clifton - - * dis-asm.h (arm_toggle_regnames): New prototype. - (struct diassemble_info): New field: disassembler_options. - -1999-04-11 Richard Henderson - - * bfdlink.h (bfd_elf_version_expr): Rename `match' to `pattern'. - Add `match' callback function. - -1999-04-10 Richard Henderson - - * bfdlink.h (bfd_link_info): Add no_undefined. - -1999-04-08 Nick Clifton - - * dis-asm.h: Add prototype for print_insn_mcore. - -1999-04-02 Mark Mitchell - - * splay-tree.h (splay_tree_compare_pointers): Declare. - -1999-03-30 Mark Mitchell - - * splay-tree.h (splay_tree_compare_ints): Declare. - -Wed Mar 24 12:46:29 1999 Andrew Cagney - - * libiberty.h (basename): Cygwin{,32} should have the prototype. - -1999-02-22 Jim Lemke - - * bfdlink.h (bfd_link_info): add field "mpc860c0". - -Mon Feb 1 21:05:46 1999 Catherine Moore - - * dis-asm.h (print_insn_i386_att): Declare. - (print_insn_i386_intel): Declare. - -1998-12-30 Michael Meissner - - * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Cast STREAM and - FPRINTF_FUNC to avoid compiler warnings. - -Wed Dec 30 16:07:14 1998 David Taylor - - * dis-asm.h: change void * to PTR (two places). - -Mon Dec 14 09:53:31 1998 Kaveh R. Ghazi - - * demangle.h: Don't check IN_GCC anymore. - * splay-tree.h: Likewise. - -Tue Dec 8 00:30:31 1998 Elena Zannoni - - The following changes were made by Elena Zannoni - and Edith Epstein - as part of a project to merge in - changes made by HP; HP did not create ChangeLog entries. - - * dis-asm.h (struct disassemble_info): change the type of stream - from FILE* to void*, for use with gdb's new type GDB_FILE. - (fprintf_ftype): change FILE* parameter type to void*. - - * demangle.h: (DMGL_EDG): new macro for Kuck and Associates - (DMGL_STYLE_MASK): modify to include Kuck and Assoc style - (demangling_styles): add new edg_demangling style - (EDG_DEMANGLING_STYLE_STRING): new macro - (EDG_DEMANGLING): new macro - (DMGL_HP): new macro, for HP/aCC compiler. - (DMGL_STYLE_MASK): modify to include new HP's style. - (demangling_styles): add new hp_demangling value. - (HP_DEMANGLING_STYLE_STRING): new macro. - (ARM_DEMANGLING): coerce to int. - (HP_DEMANGLING): new macro. - - * hp-symtab.h: rewritten, from HP. - (quick_procedure): change type of language field to unsigned int - (quick_module): change type of language field to unsigned int - (struct dntt_type_svar): add field thread_specific. - (hp_language): add languages modcal and dmpascal. - -Fri Nov 20 13:14:00 1998 Andrew Cagney - - * libiberty.h (basename): Add prototype for FreeBSD. - -Fri Nov 13 19:19:11 1998 Kaveh R. Ghazi - - * libiberty.h: Prototype xcalloc. - -Sun Nov 8 17:42:25 1998 Kaveh R. Ghazi - - * ansidecl.h: Wrap problematic macros with !IN_GCC. - - * demangle.h: Never define PARAMS(). - * splay-tree.h: Likewise. - -Sat Nov 7 18:30:20 1998 Peter Schauer - - * dis-asm.h (print_insn_vax): Declare. - -Sat Nov 7 16:04:03 1998 Kaveh R. Ghazi - - * demangle.h: Don't include gansidecl.h. - * splay-tree.h: Likewise. - -1998-10-26 16:03 Ulrich Drepper - - * bfdlink.h (struct bfd_link_info): Add new field optimize. - -Thu Oct 22 19:58:00 1998 Kaveh R. Ghazi - - * splay-tree.h: Wrap function pointer parameter declarations in - PARAMS() macro. - -1998-10-21 Mark Mitchell - - * splay-tree.h: New file. - -Fri Oct 9 00:02:03 1998 Jeffrey A Law (law@cygnus.com) - - * Merge devo and egcs include directories. - -Sat Sep 5 12:16:33 1998 Jeffrey A Law (law@cygnus.com) - - * getopt.h, obstack.h: Updated from gcc. - -1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) - - * libiberty.h (xexit): Change decl to use modern GCC attribute - to indicate exit does not return. - -Mon Jun 1 13:48:32 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * obstack.h: Update to latest FSF version. - -Tue Feb 24 13:05:02 1998 Doug Evans - - * dis-asm.h (disassemble_info): Member `symbol' renamed to `symbols' - and made an "asymbol **". New member num_symbols. - (INIT_DISASSEMBLE_INFO_NO_ARCH): Update. - -Tue Feb 17 12:32:18 1998 Andrew Cagney - - * remote-sim.h (sim_fetch_register, sim_store_register): Add - register length parameter. Functions return actual length of - register. - -Thu Feb 12 16:29:01 1998 Ian Lance Taylor - - * getopt.h: Update to latest FSF version. - -Wed Feb 11 16:56:06 1998 Doug Evans - - * symcat.h: New file. - -Mon Feb 2 17:13:31 1998 Steve Haworth - - * dis-asm.h (print_insn_tic30): Declare. - -Thu Jan 22 16:23:59 1998 Fred Fish - - * dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly - function there is a reloc on this line. - -Mon Dec 8 11:22:23 1997 Nick Clifton - - * dis-asm.h: Remove prototype of disasm_symaddr() as this function - no longer exists. - -Tue Dec 2 10:20:53 1997 Nick Clifton - - * dis-asm.h (disasm_symaddr): New prototype. - -Mon Dec 1 11:29:35 1997 Doug Evans - - * callback.h (CB_SYSCALL): Comment out arg names in prototypes. - -Wed Nov 26 16:47:58 1997 Michael Meissner - - * callback.h (CB_SYSCALL): Consistantly use names for prototype - arguments. - -Wed Nov 26 11:39:30 1997 Doug Evans - - * callback.h (CB_SYSCALL): Change byte count arguments to - {read,write}_mem to `int'. New member `magic'. - (CB_SYSCALL_MAGIC,CB_SYSCALL_INIT): New macros. - -Tue Nov 25 01:35:52 1997 Doug Evans - - * callback.h (struct stat): Move forward decl up. - (host_callback): Pass stat struct pointer to stat,fstat. - (CB_SYS_nnn): Reorganize. - (CB_SYSCALL): New members p1,p2. - (cb_host_to_target_stat): Delete fourth arg. - -Sat Nov 22 23:34:15 1997 Andrew Cagney - - * remote-sim.h (sim_stop_reason): Clarify sim_signalled SIGRC - argument. - -Mon Nov 17 14:00:51 1997 Doug Evans - - * callback.h (CB_TARGET_DEFS_MAP): Renamed from target_defs_map. - (host_callback): Add stat, fstat, syscall_map, errno_map, open_map, - signal_map, stat_map. - (errn_map,open_map): Renamed to cb_init_foo_map. - (cb_host_to_target_errno,cb_target_to_host_open): Renamed from - host_to_target_errno,target_to_host_open. - (cb_read_target_syscall_maps): Add prototype. - (cb_target_to_host_syscall): Likewise. - (cb_host_to_target_stat): Likewise. - (cb_syscall): Likewise. - (CB_SYS_{exit,open,close,read,write,lseek,unlink,getpid,kill,fstat, - argvlen,argv,chdir,stat,chmod,utime,time}): Define. - (CB_SYSCALL): New type. - (CB_RC): New enum. - -Fri Nov 7 10:34:09 1997 Rob Savoye - - * libiberty.h: Add extern "C" { so it can be used with C++ - programs. - * remote-sim.h: Add extern "C" { so it can be used with C++ - programs. - -Tue Oct 14 16:07:51 1997 Nick Clifton - - * dis-asm.h (struct disassemble_info): New field - 'symbol_at_address_func'. - (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialise new field with - generic_symbol_at_address. - -Mon Oct 13 10:17:15 1997 Andrew Cagney - - * remote-sim.h: Clarify sim_read, sim_write MEM argument. - -Wed Sep 24 18:03:10 1997 Stu Grossman - - * remote-sim.h (SIM_RC): Add a bunch of new return codes for - breakpoint stuff. - * Add functions to tell the simulator to set/clear/enable/disable - intrinsic breakpoints. - -Thu Aug 28 19:41:42 1997 Andrew Cagney - - * libiberty.h (dupargv): Add prototype. - -Tue Aug 26 12:25:49 1997 Andrew Cagney - - * remote-sim.h (sim_create_inferior): Add ABFD arg. Document. - -Mon Aug 25 10:50:51 1997 Andrew Cagney - - * remote-sim.h (sim_open): Add ABFD arg. Document. - -Fri Aug 8 16:43:56 1997 Doug Evans - - * dis-asm.h (arc_get_disassembler): Declare. - -Wed Jul 30 11:39:50 1997 Per Bothner - - * demangle.h (DMGL_JAVA): New option to request Java demangling. - -Tue Jul 22 17:59:54 1997 Ian Lance Taylor - - * libiberty.h (PEXECUTE_*): Define. - (pexecute, pwait): Declare. - -Fri Jun 6 13:02:33 1997 Andrew Cagney - - * remote-sim.h (sim_kill): Mark as depreciated. - -Fri May 23 13:43:41 1997 Fred Fish - - * bfdlink.h (struct bfd_link_info): Add task_link member. - -Thu May 22 11:32:49 1997 Andrew Cagney - - * remote-sim.h: Review documentation. Clarify restrictions on - when functions can be called. - -Wed May 21 16:47:53 1997 Andrew Cagney - - * remote-sim.h (sim_set_profile_size): Add prototype, document as - depreciated. - -Tue May 20 09:32:22 1997 Andrew Cagney - - * remote-sim.h (sim_open): Add callback struct. - (sim_set_callbacks): Drop SIM_DESC argument. Document. - (sim_size): Remove recently added SIM_DESC argument. Document. - -Mon May 19 19:14:44 1997 Andrew Cagney - - * remote-sim.h: Pass SD into sim_size. - -Thu May 15 01:24:16 1997 Mark Alexander - - * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun, - obstack_freefun): Eliminate compile warnings in gdb. - -Tue Apr 22 10:24:34 1997 Fred Fish - - * floatformat.h (floatformat_byteorders): Add comments for previous - formats and add floatformat_littlebyte_bigword, primarily for ARM. - Add declaration for floatformat_ieee_double_littlebyte_bigword. - -Fri Apr 18 13:04:49 1997 Andrew Cagney - - * remote-sim.h (sim_stop): New interface - asynchronous - notification of a request to stop / suspend the running - simulation. - - * remote-sim.h (enum sim_stop): Add sim_running and sim_polling as - states for use internal to simulators. - - * callback.h (struct host_callback_strut): Put a magic number at - the end of the struct to allow basic checking. - (struct host_callback_struct ): Add poll_quit - so - that the console etc can be polled at regular intervals. - -Thu Apr 17 02:17:12 1997 Doug Evans - - * remote-sim.h (struct _bfd): Declare. - (sim_load): Return SIM_RC. New arg `abfd'. - (sim_create_inferior): Return SIM_RC. Delete arg `start_address'. - -Wed Apr 2 17:09:12 1997 Andrew Cagney - - * remote-sim.h (sim_trace, sim_size): Make these global. They - will go away shortly. - -Wed Apr 2 15:23:49 1997 Doug Evans - - * remote-sim.h (SIM_OPEN_KIND, SIM_RC): New enums. - (sim_open): New argument `kind'. - -Wed Apr 2 14:45:51 1997 Ian Lance Taylor - - * COPYING: Update FSF address. - -Fri Mar 28 15:29:54 1997 Mike Meissner - - * callback.h (top level): Include stdarg.h or varargs.h if - va_start is not defined. - (host_callback_struct): Make {,e}vprintf_filtered take a va_list - instead of void *, since va_list might be an array or structure - type. - -Fri Mar 28 15:44:41 1997 H.J. Lu - - * libiberty.h (basename): Add prototype for glibc and linux. - -Mon Mar 17 19:22:12 1997 Ian Lance Taylor - - * objalloc.h: New file. - -Mon Mar 17 14:57:55 1997 Andrew Cagney - - * remote-sim.h: New file, copied in from gdb/remote-sim.h. One - day this will be placed in a directory of its own. - -Sat Mar 15 19:00:14 1997 Ian Lance Taylor - - * obstack.h: Update to current FSF version. - -Thu Mar 6 15:46:59 1997 Andrew Cagney - - * callback.h (struct host_callback_struct): Add callbacks - - flush_stdout, write_stderr, flush_stderr, vprintf_filtered, - evprintf_filtered. Delete redundant callbacks - printf_filtered. - -Thu Feb 27 23:18:27 1997 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_info): Remove lprefix and lprefix_len - fields. - -Tue Feb 25 00:10:49 1997 Ian Lance Taylor - - * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize - bytes_per_chunk and display_endian. - -Mon Feb 24 17:47:02 1997 Ian Lance Taylor - - From Eric Youngdale : - * bfdlink.h (struct bfd_elf_version_expr): Define. - (struct bfd_elf_version_deps): Define. - (struct bfd_elf_version_tree): Define. - -Thu Feb 6 14:20:01 1997 Martin M. Hunt - - * dis-asm.h: (disassemble_info): Add new fields - bytes_per_chunk and display_endian to control the - display of raw instructions. - -Fri Dec 27 22:17:37 1996 Fred Fish - - * dis-asm.h (print_insn_tic80): Declare. - -Sun Dec 8 17:11:12 1996 Doug Evans - - * callback.h (host_callback): New member `error'. - -Wed Nov 20 00:40:23 1996 Doug Evans - - * callback.h: New file, moved here from gdb. - -Mon Nov 18 16:34:00 1996 Dawn Perchik - - * libiberty.h: Checkin again; last checkin failed due to sticky tag. - -Wed Nov 13 08:22:00 1996 Dawn Perchik - - * libiberty.h: Revert last commit due to conflicts with hpux - system headers. - -Tue Nov 12 16:31:00 1996 Dawn Perchik - - * libiberty.h: Move prototypes from argv.c here. - -Thu Oct 31 14:56:18 1996 Doug Evans - - * ansidecl.h (VPARAMS,VA_START): Define. - -Fri Oct 25 12:08:04 1996 Ian Lance Taylor - - * dis-asm.h (disassemble_info): Add bytes_per_line field. - (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize bytes_per_line field. - -Thu Oct 24 17:10:01 1996 Ian Lance Taylor - - * dis-asm.h (disassemble_info): Add symbol field. - (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize symbol field. - -Thu Oct 17 11:17:40 1996 Doug Evans - - * dis-asm.h (print_insn_m32r): Declare. - -Mon Oct 14 23:56:52 1996 Ian Lance Taylor - - * libiberty.h: Declare parameter types for xmalloc and xrealloc. - -Thu Oct 3 13:45:27 1996 Ian Lance Taylor - - * fnmatch.h: New file. - -Thu Oct 3 10:33:14 1996 Jeffrey A Law (law@cygnus.com) - - * dis-asm.h (print_insn_mn10x00): Delete declaration. - (print_insn_mn10200, print_insn_mn10300): Declare. - -Wed Oct 2 21:24:43 1996 Jeffrey A Law (law@cygnus.com) - - * dis-asm.h (print_insn_mn10x00): Declare. - -Mon Sep 30 13:56:11 1996 Fred Fish - - * libiberty.h: Remove #ifndef PRIVATE_XMALLOC. - -Sat Aug 31 13:27:06 1996 Jeffrey A Law (law@cygnus.com) - - * dis-asm.h (print_insn_v850): Declare. - -Tue Aug 13 16:10:30 1996 Stu Grossman (grossman@critters.cygnus.com) - - * obstack.h: Change bcopy to memcpy. Works better on Posix - systems, which generally lack bcopy. - -Mon Aug 12 17:03:18 1996 Stu Grossman (grossman@critters.cygnus.com) - - * ansidecl.h: Change WIN32 to _WIN32. - -Fri Jul 26 13:58:18 1996 Ian Lance Taylor - - * dis-asm.h: Add flavour field. - (print_insn_alpha): Declare. - (print_insn_alpha_osf, print_insn_alpha_vms): Don't declare. - (INIT_DISASSEMBLE_INFO): Initialize flavour field. - -Tue Jul 23 17:37:58 1996 Fred Fish - - * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc - definitions inside #ifndef so that programs that want to - can define PRIVATE_XMALLOC and then define xmalloc and - xrealloc anyway they want. - (basename): Document in source that we can't declare the - parameter type because it is declared inconsistently across - different systems. - -Mon Jul 22 13:16:13 1996 Richard Henderson - - * dis-asm.h (print_insn_alpha): Don't declare. - (print_insn_alpha_osf, print_insn_alpha_vms): Declare. - -Wed Jul 17 14:45:12 1996 Martin M. Hunt - - * dis-asm.h: (print_insn_d10v): Declare. - -Mon Jul 15 16:55:38 1996 Stu Grossman (grossman@critters.cygnus.com) - - * dis-asm.h: Get rid of decls for print_insn_i8086, - print_insn_sparc64 and print_insn_sparclite. - * (INIT_DISASSEMBLE_INFO): Split into two pieces. One, - INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian, - mach, and arch. - -Fri Jul 12 10:19:27 1996 Stu Grossman (grossman@critters.cygnus.com) - - * dis-asm.h (print_insn_i8086): Declare. - -Wed Jul 3 16:02:39 1996 Stu Grossman (grossman@critters.cygnus.com) - - * dis-asm.h (print_insn_sparclite): Declare. - -Tue Jun 18 16:02:46 1996 Jeffrey A. Law - - * dis-asm.h (print_insn_h8300s): Declare. - -Tue Jun 18 15:11:33 1996 Klaus Kaempf - - * fopen-vms.h: New file. - -Tue Jun 4 18:58:16 1996 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_info): Add notice_all field. - -Fri Apr 26 10:33:12 1996 Doug Evans - - * demangle.h (#ifdef IN_GCC): #include "gansidecl.h". - (PROTO,PTR,const): Delete. - -Mon Apr 22 17:27:42 1996 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_info): Add traditional_format field. - -Mon Apr 15 15:16:56 1996 Doug Evans - - * libiberty.h (choose_temp_base): Add prototype. - -Tue Mar 12 17:29:46 1996 Ian Lance Taylor - - * bfdlink.h (bfd_wrapped_link_hash_lookup): Declare. - (struct bfd_link_info): Add wrap_hash field. - -Wed Feb 14 16:49:17 1996 Martin Anantharaman - - * ieee.h (ieee_record_enum_type): Define - ieee_external_reference_info_enum. - -Fri Feb 2 17:09:25 1996 Doug Evans - - * dis-asm.h (DISASM_RAW_INSN): Delete. - -Tue Jan 23 09:21:47 1996 Doug Evans - - * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN. - New argument FPRINTF_FUNC. - -Mon Jan 22 16:37:59 1996 Doug Evans - - * dis-asm.h (disassemble_info): New members arch, mach, endian. - (INIT_DISASSEMBLE_INFO): Initialize them. - (DISASM_RAW_INSN{,FLAG}): Define. - -Thu Jan 18 11:32:38 1996 Ian Lance Taylor - - * demangle.h (cplus_demangle_opname): Change opname parameter to - const char *. - (cplus_mangle_opname): Change return type and opname parameter to - const char *. - -Fri Jan 5 00:01:22 1996 Ian Lance Taylor - - * ieee.h (enum ieee_record): Add ieee_asn_record_enum, - ieee_at_record_enum, ieee_ty_record_enum, ieee_atn_record_enum, - ieee_bb_record_enum, and ieee_be_record_enum. - -Wed Jan 3 13:12:09 1996 Fred Fish - - * obstack.h: Update copyright to 1996. - (_obstack_memory_used): Declare. - (obstack_memory_used): Define macro. - -Thu Dec 28 11:42:12 1995 Ian Lance Taylor - - * libiberty.h (xstrdup): Declare. - -Thu Dec 21 14:47:17 1995 Michael Meissner - - * wait.h: Protect all macros with #ifndef. - -Tue Oct 24 21:45:40 1995 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_info): Add static_link field. - -Tue Sep 12 16:28:04 1995 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_callbacks): Add symbol parameter to - warning callback. - -Fri Sep 1 13:11:51 1995 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_callbacks): Change warning callback - to take BFD, section, and address arguments. - -Thu Aug 31 16:45:12 1995 steve chamberlain - - * bfdlink.h (struct bfd_link_info): Remove PE stuff. - -Tue Aug 22 03:18:23 1995 Ken Raeburn - - * libiberty.h: Declare xstrerror. From Pat Rankin. - -Mon Aug 21 18:11:36 1995 steve chamberlain - - * bfdlink.h (struct bfd_link_info): Remove PE stuff. - -Wed Aug 2 08:14:12 1995 Doug Evans - - * dis-asm.h (print_insn_sparc64): Declare. - -Mon Jul 10 13:26:49 1995 Eric Youngdale - - * bfdlink.h (struct bfd_link_info): Add new field symbolic. - -Sun Jul 2 17:48:40 1995 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_info): Change type of base_file to - PTR. - -Thu Jun 29 00:02:45 1995 Steve Chamberlain - - * bfdlink.h (struct bfd_link_info): Added base_file member. - -Tue Jun 20 16:40:04 1995 Steve Chamberlain - - * ansidecl.h: win32s is ANSI enough. - -Thu May 18 04:25:50 1995 Ken Raeburn - - Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - - * dis-asm.h (print_insn_arm): Delete declaration. - (print_insn_{little,big}_arm): New declarations. - - * floatformat.h (floatformat_arm_ext): Declare. - -Sat May 13 10:14:08 1995 Steve Chamberlain - - * bfdlink.h (subsytem, stack_heap_parameters): New. - -Thu May 4 14:36:42 1995 Jason Merrill - - * demangle.h: Don't include ansidecl.h if IN_GCC. - -Tue Feb 21 00:37:28 1995 Jeff Law (law@snake.cs.utah.edu) - - * hp-symtab.h: Don't use bitfield enumerations, the HP C compiler - does not handle them correctly. - -Thu Feb 9 14:20:27 1995 Ian Lance Taylor - - * libiberty.h (basename): Don't declare parameter type; some - systems have this in their header files. - -Wed Feb 8 17:35:38 1995 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_hash_entry): Change format of common - symbol information, to remove restrictions on maximum size and - alignment power, by using a pointer to a structure instead. - -Mon Feb 6 14:55:32 1995 Ian Lance Taylor - - * bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak - to bfd_link_hash_undefweak. Add bfd_link_hash_defweak. - -Mon Jan 16 21:00:23 1995 Stan Shebs - - * dis-asm.h (GDB_INIT_DISASSEMBLE_INFO, etc): Remove all - GDB-specific definitions. - -Sun Jan 15 18:39:35 1995 Steve Chamberlain - - * dis-asm.h (print_insn_w65): Declare. - -Thu Jan 12 17:51:17 1995 Ken Raeburn - - * libiberty.h (hex_p): Fix sense of test. - -Wed Jan 11 22:36:40 1995 Ken Raeburn - - * libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, - hex_p, hex_value): New macros and declarations, for hex.c. - -Fri Jan 6 17:44:14 1995 Ian Lance Taylor - - * dis-asm.h: Make idempotent. - -Wed Dec 14 13:08:43 1994 Stan Shebs - - * progress.h: New file, empty definitions for progress macros. - -Fri Nov 25 00:14:05 1994 Jeff Law (law@snake.cs.utah.edu) - - * hp-symtab.h: New file describing the debug symbols emitted - by the HP C compilers. - -Fri Nov 11 15:48:37 1994 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_hash_entry): Change u.c.size from 24 - to 26 bits, and change u.c.alignment_power from 8 to 6 bits. 6 - bit in the alignment power is enough for a 64 bit address space. - -Mon Oct 31 13:02:51 1994 Stan Shebs (shebs@andros.cygnus.com) - - * demangle.h (cplus_mangle_opname): Declare. - -Tue Oct 25 11:38:02 1994 Ian Lance Taylor - - * bfdlink.h (struct bfd_link_callbacks): Fix comments for - multiple_common field. - -Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - - * dis-asm.h: Add support for the ARM. - -Wed Aug 10 12:51:41 1994 Doug Evans (dje@canuck.cygnus.com) - - * libiberty.h (strsignal): Document its existence even if we - can't declare it. - -Tue Aug 2 14:40:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * os9k.h: Remove u_int16, u_int32, and owner_id typedefs and - expand their uses. Those names conflict with Mach headers. - -Fri Jul 22 14:17:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * bfdlink.h (struct bfd_link_hash_entry): Change u.c.size into a - bitfield. Add field u.c.alignment_power. - -Sun Jul 10 00:26:39 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * dis-asm.h: Add print_insn_ns32k declaration. - -Mon Jun 20 17:13:29 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * bfdlink.h (bfd_link_hash_table): Make creator a const pointer. - -Sat Jun 18 16:09:32 1994 Stan Shebs (shebs@andros.cygnus.com) - - * demangle.h (cplus_demangle_opname): Declare. - -Thu Jun 16 15:19:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (struct bfd_link_info): Add new field shared. - -Mon Jun 6 14:39:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (struct bfd_link_hash_entry): Remove written field: - not needed for all backends. - -Thu Apr 28 19:06:50 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * dis-asm.h (disassembler): Declare. - -Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * obstack.h: Delete use of IN_GCC to control whether - stddef.h or gstddef.h is included. - -Tue Mar 22 13:06:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (enum bfd_link_order_type): Add bfd_data_link_order. - (struct bfd_link_order): Add data field to union. - -Mon Mar 21 18:45:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (struct bfd_link_callbacks): Change bitsize argument - to add_to_set to reloc. Remove bitsize argument from constructor. - Comment that reloc_overflow, reloc_dangerous and unattached_reloc - must handle NULL pointers for reloc location. - (enum bfd_link_order_type): Add bfd_section_reloc_link_order and - bfd_symbol_reloc_link_order. - (struct bfd_link_order): Add reloc field to union. - (struct bfd_link_order_reloc): Define. - -Mon Mar 14 12:27:50 1994 Ian Lance Taylor (ian@cygnus.com) - - * ieee-float.h: Removed; no longer used. - -Tue Mar 1 18:10:49 1994 Kung Hsu (kung@mexican.cygnus.com) - - * os9k.h: os9000 target specific header file, the header of the - object file is used now. - -Sun Feb 27 21:52:26 1994 Jim Kingdon (kingdon@deneb.cygnus.com) - - * floatformat.h: New file, intended to replace ieee-float.h. - -Sun Feb 20 17:15:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com) - - * ansidecl.h (ANSI_PROTOTYPES): Define if using ANSI prototypes. - -Wed Feb 16 01:07:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * libiberty.h: Don't declare strsignal, to avoid conflicts with - Solaris system header files. - -Sat Feb 12 22:11:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * libiberty.h (xexit): Use __volatile__ to avoid losing if - compiling with gcc -traditional. - -Thu Feb 10 14:05:41 1994 Ian Lance Taylor (ian@cygnus.com) - - * libiberty.h: New file. Declares functions provided by - libiberty. - -Tue Feb 8 05:19:52 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - Handle obstack_chunk_alloc returning NULL. This allows - obstacks to be used by libraries, without forcing them - to call exit or longjmp. - * obstack.h (struct obstack): Add alloc_failed flag. - _obstack_begin, _obstack_begin_1): Declare to return int, not void. - (obstack_finish): If alloc_failed, return NULL. - (obstack_base, obstack_next_free, objstack_object_size): - If alloc_failed, return 0. - (obstack_grow, obstack_grow0, obstack_1grow, obstack_ptr_grow, - obstack_int_grow, obstack_blank): If alloc_failed, do nothing that - could corrupt the obstack. - -Mon Jan 24 15:06:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (struct bfd_link_callbacks): Add name, reloc_name and - addend argments to reloc_overflow callback. - -Fri Jan 21 19:13:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * dis-asm.h (print_insn_big_powerpc, print_insn_little_powerpc, - print_insn_rs6000): Declare. - -Thu Jan 6 14:15:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfdlink.h (struct bfd_link_callbacks): Add bitsize argument to - add_to_set field. Add new callback named constructor. - -Thu Dec 30 10:44:06 1993 Ian Lance Taylor (ian@rtl.cygnus.com) - - * bfdlink.h: New file for new BFD linker backend routines. - -Mon Nov 29 10:43:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * dis-asm.h (enum dis_insn_tyupe): Remove non-ANSI trailing comma. - -Sat Oct 2 20:42:26 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * dis-asm.h: Move comment to right place. - -Mon Aug 9 19:03:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * obstack.h (obstack_chunkfun, obstack_freefun): Add defns from - previous version. Are these Cygnus local changes? - -Fri Aug 6 17:05:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * getopt.h, obstack.h: Update to latest FSF version. - -Mon Aug 2 14:45:29 1993 John Gilmore (gnu@cygnus.com) - - * dis-asm.h: Move enum outside of struct defn to avoid warnings. - -Mon Aug 2 08:49:30 1993 Stu Grossman (grossman at cygnus.com) - - * wait.h (WEXITSTATUS, WSTOPSIG): Mask down to 8 bits. This is - for systems that store stuff into the high 16 bits of a wait - status. - -Fri Jul 30 18:38:02 1993 John Gilmore (gnu@cygnus.com) - - * dis-asm.h: Add new fields insn_info_valid, branch_delay_insns, - data_size, insn_type, target, target2. These are used to return - information from the instruction decoders back to the calling - program. Add comments, make more readable. - -Mon Jul 19 22:14:14 1993 Fred Fish (fnf@deneb.cygnus.com) - - * nlm: New directory containing NLM/NetWare includes. - -Thu Jul 15 12:10:04 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * dis-asm.h (struct disassemble_info): New field application_data. - -Thu Jul 15 12:41:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * dis-asm.h: Added declaration of print_insn_m88k. - -Fri Jul 2 10:31:59 1993 Ian Lance Taylor (ian@cygnus.com) - - * ansidecl.h: Use ANSI macros if __mips and _SYSTYPE_SVR4 are - defined, since RISC/OS cc handles ANSI declarations in SVR4 mode - but does not define __STDC__. - -Sun Jun 20 18:27:52 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * dis-asm.h: Don't need to include ansidecl.h any more. - -Fri Jun 18 03:22:10 1993 John Gilmore (gnu@cygnus.com) - - * oasys.h: Eliminate "int8_type", "int16_type", "int32_type", and - their variants. These changes are coordinated with corresponding - changes in ../bfd/oasys.c. - -Wed Jun 16 10:43:08 1993 Fred Fish (fnf@cygnus.com) - - * bfd.h: Note that it has been removed. - -Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - Support for H8/300-H - * dis-asm.h (print_insn_h8300, print_insn_h8300h): Declare it. - -Tue Jun 1 07:35:03 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * ansidecl.h (const): Don't define it if it's already defined. - -Thu May 27 18:19:51 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * dis-asm.h (print_insn_hppa): Declare it. - - * bfd.h: Moved to bfd directory. Small stub here includes it - without requiring "-I../bfd". - -Thu Apr 29 12:06:13 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * bfd.h: Updated with BSF_FUNCTION. - -Mon Apr 26 18:15:50 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h, dis-asm.h: Updated with Hitachi SH. - -Fri Apr 23 18:41:38 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h: Updated with alpha changes. - * dis-asm.h: Added alpha. - -Fri Apr 16 17:35:30 1993 Jim Kingdon (kingdon@cygnus.com) - - * bfd.h: Update for signed bfd_*get_*. - -Thu Apr 15 09:24:21 1993 Jim Kingdon (kingdon@cygnus.com) - - * bfd.h: Updated for file_truncated error. - -Thu Apr 8 10:53:47 1993 Ian Lance Taylor (ian@cygnus.com) - - * ansidecl.h: If no ANSI, define const to be empty. - -Thu Apr 1 09:00:10 1993 Jim Kingdon (kingdon@cygnus.com) - - * dis-asm.h: Declare a29k and i960 print_insn_*. - - * dis-asm.h: Add print_address_func and related stuff. - - * dis-asm.h (dis_asm_read_memory): Fix prototype. - -Wed Mar 31 17:40:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * dis-asm.h: Add print_insn_sparc. - -Wed Mar 31 17:51:42 1993 Ian Lance Taylor (ian@cygnus.com) - - * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size - prototypes. - -Wed Mar 31 16:35:12 1993 Stu Grossman (grossman@cygnus.com) - - * dis-asm.h: (disassemble_info): Fix typo in prototype of - dis_asm_memory_error(). - -Tue Mar 30 19:09:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * dis-asm.h (disassembler_info): Add read_memory_func, - memory_error_func, buffer, and length. - ({GDB_,}INIT_DISASSEMBLE_INFO): Set them. - print_insn_*: Remove second argument. - -Tue Mar 30 14:48:55 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h: Update for lma field of section. - -Tue Mar 30 12:22:55 1993 Jim Kingdon (kingdon@cygnus.com) - - * ansidecl.h: Use ANSI versions on AIX regardless of __STDC__. - -Fri Mar 19 14:49:49 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * dis-asm.h: Add h8500. - -Thu Mar 18 13:49:09 1993 Per Bothner (bothner@rtl.cygnus.com) - - * ieee-float.h: Moved from ../gdb. - * dis-asm.h: New file. Interface to dis-assembler. - -Thu Mar 11 10:52:57 1993 Fred Fish (fnf@cygnus.com) - - * demangle.h (DMGL_NO_OPTS): Add define (set to 0) to use - in place of bare 0, for readability reasons. - -Tue Mar 2 17:50:11 1993 Fred Fish (fnf@cygnus.com) - - * demangle.h: Replace all references to cfront with ARM. - -Tue Feb 23 12:21:14 1993 Ian Lance Taylor (ian@cygnus.com) - - * bfd.h: Update for new elements in JUMP_TABLE. - -Tue Feb 16 00:51:30 1993 John Gilmore (gnu@cygnus.com) - - * bfd.h: Update for BFD_VERSION 2.1. - -Tue Jan 26 11:49:20 1993 Ian Lance Taylor (ian@cygnus.com) - - * bfd.h: Update for SEC_IS_COMMON flag. - -Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfd.h: Update for bfd_asymbol_value bug fix. - -Fri Jan 8 16:37:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bfd.h: Update to include ECOFF tdata and target_flavour. - -Sun Dec 27 17:52:30 1992 Fred Fish (fnf@cygnus.com) - - * bfd.h: Add declaration for bfd_get_size(). - -Tue Dec 22 22:42:46 1992 Fred Fish (fnf@cygnus.com) - - * demangle.h: Protect file from multiple inclusions with - #if !defined(DEMANGLE_H)...#define DEMANGLE_H...#endif. - -Mon Dec 21 21:25:50 1992 Stu Grossman (grossman at cygnus.com) - - * bfd.h: Update to get hppa_core_struct from bfd.c. - -Thu Dec 17 00:42:35 1992 John Gilmore (gnu@cygnus.com) - - * bfd.h: Update to get tekhex tdata name change from bfd. - -Mon Nov 9 23:55:42 1992 John Gilmore (gnu@cygnus.com) - - * ansidecl.h: Update comments to discourage use of EXFUN. - -Thu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com) - - * bfd.h: Update to bring in SEC_SHARED_LIBRARY. - -Thu Nov 5 03:21:32 1992 John Gilmore (gnu@cygnus.com) - - * bfd.h: Update to match EXFUN, bfd_seclet_struct, and SDEF - cleanups in bfd. - -Wed Nov 4 07:28:05 1992 Ken Raeburn (raeburn@cygnus.com) - - * bout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so - widening works consistently. - -Fri Oct 16 03:17:08 1992 John Gilmore (gnu@cygnus.com) - - * getopt.h: Update to Revised Standard FSF Version. - -Thu Oct 15 21:43:22 1992 K. Richard Pixley (rich@sendai.cygnus.com) - - * getopt.h (struct option): use the provided enum for has_arg. - - * demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, - LUCID_DEMANGLING): ultrix compilers require enums to be - enums and ints to be ints and casts where they meet. cast some - enums into ints. - -Thu Oct 15 04:35:51 1992 John Gilmore (gnu@cygnus.com) - - * bfd.h: Update after comment changes. - -Thu Oct 8 09:03:02 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h (bfd_get_symbol_leading_char): new macro for getting in xvec - -Thu Sep 3 09:10:50 1992 Stu Grossman (grossman at cygnus.com) - - * bfd.h (struct reloc_howto_struct): size needs to be signed if - it's going to hold negative values. - -Sun Aug 30 17:50:27 1992 Per Bothner (bothner@rtl.cygnus.com) - - * demangle.h: New file, moved from ../gdb. Made independent - of gdb. Allow demangling style option to be passed as a - parameter to cplus_demangle(), but using the - current_demangling_style global as the default. - -Sat Aug 29 10:07:55 1992 Fred Fish (fnf@cygnus.com) - - * obstack.h: Merge comment change from current FSF version. - -Thu Aug 27 12:59:29 1992 Brendan Kehoe (brendan@cygnus.com) - - * bfd.h: add we32k - -Tue Aug 25 15:07:47 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h: new after Z8000 stuff - -Mon Aug 17 09:01:23 1992 Ken Raeburn (raeburn@cygnus.com) - - * bfd.h: Regenerated after page/segment size changes. - -Sat Aug 1 13:46:31 1992 Fred Fish (fnf@cygnus.com) - - * obstack.h: Merge changes from current FSF version. - -Mon Jul 20 21:06:23 1992 Fred Fish (fnf@cygnus.com) - - * obstack.h (area_id, flags): Remove, replace with extra_arg, - use_extra_arg, and maybe_empty_object. - * obstack.h (OBSTACK_MAYBE_EMPTY_OBJECT, OBSTACK_MMALLOC_LIKE): - Remove, replaced by maybe_empty_object and use_extra_arg bitfields. - * obstack.h (obstack_full_begin, _obstack_begin): Remove area_id - and flags arguments. - * obstack.h (obstack_alloc_arg): New macro to set extra_arg. - -Thu Jul 16 08:12:44 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * bfd.h: new after adding BFD_IS_RELAXABLE - -Sat Jul 4 03:22:23 1992 John Gilmore (gnu at cygnus.com) - - * bfd.h: Regen after adding BSF_FILE. - -Mon Jun 29 14:18:36 1992 Fred Fish (fnf at sunfish) - - * obstack.h: Convert bcopy() use to memcpy(), which is more - portable, more standard, and can take advantage of gcc's builtin - functions for increased performance. - -Thu Jun 25 04:46:08 1992 John Gilmore (gnu at cygnus.com) - - * ansidecl.h (PARAMS): Incorporate this macro from gdb's defs.h. - It's a cleaner way to forward-declare function prototypes. - -Fri Jun 19 15:46:32 1992 Stu Grossman (grossman at cygnus.com) - - * bfd.h: HPPA merge. - -Tue Jun 16 21:30:56 1992 K. Richard Pixley (rich@cygnus.com) - - * getopt.h: gratuitous white space changes merged from other prep - releases. - -Thu Jun 11 01:10:55 1992 John Gilmore (gnu at cygnus.com) - - * bfd.h: Regen'd from bfd.c after removing elf_core_tdata_struct. - -Mon May 18 17:29:03 1992 K. Richard Pixley (rich@cygnus.com) - - * getopt.h: merged changes from make-3.62.11. - - * getopt.h: merged changes from grep-1.6 (alpha). - -Fri May 8 14:53:32 1992 K. Richard Pixley (rich@cygnus.com) - - * getopt.h: merged changes from bison-1.18. - -Sat Mar 14 17:25:20 1992 Fred Fish (fnf@cygnus.com) - - * obstack.h: Add "area_id" and "flags" members to obstack - structure. Add obstack_chunkfun() and obstack_freefun() to - set functions explicitly. Convert maybe_empty_object to - a bit in "flags". - -Thu Feb 27 22:01:02 1992 Per Bothner (bothner@cygnus.com) - - * wait.h (WIFSTOPPED): Add IBM rs6000-specific version. - -Fri Feb 21 20:49:20 1992 John Gilmore (gnu at cygnus.com) - - * obstack.h: Add obstack_full_begin. - * bfd.h, obstack.h: Protolint. - -Thu Jan 30 01:18:42 1992 John Gilmore (gnu at cygnus.com) - - * bfd.h: Remove comma from enum declaration. - -Mon Jan 27 22:01:13 1992 Steve Chamberlain (sac at cygnus.com) - - * bfd.h : new target entr, bfd_relax_section - -Wed Dec 18 17:19:44 1991 Stu Grossman (grossman at cygnus.com) - - * bfd.h, ieee.h: ANSIfy enums. - -Thu Dec 12 20:59:56 1991 John Gilmore (gnu at cygnus.com) - - * fopen-same.h, fopen-bin.h: New files for configuring - whether fopen distinguishes binary files or not. For use - by host-dependent config files. - -Sat Nov 30 20:46:43 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * bfd.h: change the documentation format. - - * created coff, elf and opcode and aout directories. Moved: - - aout64.h ==> aout/aout64.h - ar.h ==> aout/ar.h - a.out.encap.h ==> aout/encap.h - a.out.host.h ==> aout/host.h - a.out.hp.h ==> aout/hp.h - a.out.sun4.h ==> aout/sun4.h - ranlib.h ==> aout/ranlib.h - reloc.h ==> aout/reloc.h - stab.def ==> aout/stab.def - stab.gnu.h ==> aout/stab_gnu.h - - coff-a29k.h ==> coff/a29k.h - coff-h8300.h ==> coff/h8300.h - coff-i386.h ==> coff/i386.h - coff-i960.h ==> coff/i960.h - internalcoff.h ==> coff/internal.h - coff-m68k.h ==> coff/m68k.h - coff-m88k.h ==> coff/m88k.h - coff-mips.h ==> coff/mips.h - coff-rs6000.h ==> coff/rs6000.h - - elf-common.h ==> elf/common.h - dwarf.h ==> elf/dwarf.h - elf-external.h ==> elf/external.h - elf-internal.h ==> elf/internal.h - - a29k-opcode.h ==> opcode/a29k.h - arm-opcode.h ==> opcode/arm.h - h8300-opcode.h ==> opcode/h8300.h - i386-opcode.h ==> opcode/i386.h - i860-opcode.h ==> opcode/i860.h - i960-opcode.h ==> opcode/i960.h - m68k-opcode.h ==> opcode/m68k.h - m88k-opcode.h ==> opcode/m88k.h - mips-opcode.h ==> opcode/mips.h - np1-opcode.h ==> opcode/np1.h - ns32k-opcode.h ==> opcode/ns32k.h - pn-opcode.h ==> opcode/pn.h - pyr-opcode.h ==> opcode/pyr.h - sparc-opcode.h ==> opcode/sparc.h - tahoe-opcode.h ==> opcode/tahoe.h - vax-opcode.h ==> opcode/vax.h - - - -Wed Nov 27 10:38:31 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * internalcoff.h: (internal_scnhdr) took out #def dependency, now - s_nreloc and s_nlnno are always long. (internal_reloc): allways - has an offset field now. - -Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com) - - * coff-rs6000.h: Lint; use unsigned chars for external fields. - * internalcoff.h: Lint; cast storage classes to signed char. - -Thu Nov 21 21:01:05 1991 Per Bothner (bothner at cygnus.com) - - * stab.def: Remove the GNU extended type codes (e.g. N_SETT). - * aout64.h: The heuristic for distinguishing between - sunos-style and bsd-style ZMAGIC files (wrt. where the - text segment starts) is moved into (the default definition of) - the macro N_HEADER_IN_TEXT. This definition is only used - if no other definition is used - e.g. bfd/newsos3.c defines - N_HEADER_IN_TEXT(x) to be always 0 (as before). - -Thu Nov 21 11:53:03 1991 John Gilmore (gnu at cygnus.com) - - * aout64.h (N_TXTADDR, N_TXTOFF, N_TXTSIZE): New definitions - that should handle all uses. LOGICAL_ versions deleted. - Eliminate N_HEADER_IN_TEXT, using a_entry to determine which - kind of zmagic a.out file we are looking at. - * coff-rs6000.h: Typo. - -Tue Nov 19 18:43:37 1991 Per Bothner (bothner at cygnus.com) - - (Note: This is a revised entry, as was aout64.h.) - * aout64.h: Some cleanups of N_TXTADDR and N_TXTOFF: - Will now work for both old- and new-style ZMAGIC files, - depending on N_HEADER_IN_TEXT macro. - Add LOGICAL_TXTADDR, LOICAL_TXTOFF and LOGICAL_TXTSIZE - that don't count the exec header as part - of the text segment, to be consistent with bfd. - * a.out.sun4.h: Simplified/fixed for previous change. - -Mon Nov 18 00:02:06 1991 Fred Fish (fnf at cygnus.com) - - * dwarf.h: Update to DWARF draft 5 version from gcc2. - -Thu Nov 14 19:44:59 1991 Per Bothner (bothner at cygnus.com) - - * stab.def: Added defs for extended GNU symbol types, - such as N_SETT. These are normally ifdef'd out (because - of conflicts with a.out.gnu.h), but are used by bfb_stab_name(). - -Thu Nov 14 19:17:03 1991 Fred Fish (fnf at cygnus.com) - - * elf-common.h: Add defines to support ELF symbol table code. - -Mon Nov 11 19:01:06 1991 Fred Fish (fnf at cygnus.com) - - * elf-internal.h, elf-external.h, elf-common.h: Add support for - note sections, which are used in ELF core files to hold copies - of various /proc structures. - -Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com) - - * internalcoff.h: took out the M88 dependency in the lineno - struct. - * coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use - 32bit linno entries. - * a29k-opcode.h: fixed encoding of mtacc - -Sun Nov 3 11:54:22 1991 Per Bothner (bothner at cygnus.com) - - * bfd.h: Updated from ../bfd/bfd-in.h (q.v). - -Fri Nov 1 11:13:53 1991 John Gilmore (gnu at cygnus.com) - - * internalcoff.h: Add x_csect defines. - -Fri Oct 25 03:18:20 1991 John Gilmore (gnu at cygnus.com) - - * Rename COFF-related files in `coff-ARCH.h' form. - coff-a29k.h, coff-i386.h, coff-i960.h, coff-m68k.h, coff-m88k.h, - coff-mips.h, coff-rs6000.h to be exact. - -Thu Oct 24 22:11:11 1991 John Gilmore (gnu at cygnus.com) - - RS/6000 support, by Metin G. Ozisik, Mimi PhûÎng-ThÄo VÔ, and - John Gilmore. - - * a.out.gnu.h: Update slightly. - * bfd.h: Add new error code, fix doc, add bfd_arch_rs6000. - * internalcoff.h: Add more F_ codes for filehdr. Add - rs/6000-dependent fields to aouthdr. Add storage classes - to syments. Add 6000-specific auxent. Add r_size in reloc. - * rs6000coff.c: New file. - -Thu Oct 24 04:13:20 1991 Fred Fish (fnf at cygnus.com) - - * dwarf.h: New file for dwarf support. Copied from gcc2 - distribution. - -Wed Oct 16 13:31:45 1991 John Gilmore (gnu at cygnus.com) - - * aout64.h: Remove PAGE_SIZE defines; they are target-dependent. - Add N_FN_SEQ for N_FN symbol type used on Sequent machines. - * stab.def: Include N_FN_SEQ in table. - * bout.h: External formats of structures use unsigned chars. - -Fri Oct 11 12:40:43 1991 Steve Chamberlain (steve at cygnus.com) - - * bfd.h:upgrade from bfd.c - * internalcoff.h: add n_name, n_zeroes and n_offset macros - * amdcoff.h: Define OMAGIC and AOUTHDRSZ. - -Fri Oct 11 10:58:06 1991 Per Bothner (bothner at cygnus.com) - - * a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony. - * bfd.h (align_power): Add (actually move) comment. - -Tue Oct 8 15:29:32 1991 Per Bothner (bothner at cygnus.com) - - * sys/h-rtbsd.h: Define MISSING_VFPRINT (for binutils/bucomm.c). - -Sun Oct 6 19:24:39 1991 John Gilmore (gnu at cygnus.com) - - * aout64.h: Move struct internal_exec to ../bfd/libaout.h so - it can be shared by all `a.out-family' code. Rename - EXTERNAL_LIST_SIZE to EXTERNAL_NLIST_SIZE. Use basic types - for nlist members, and make strx integral rather than pointer. - More commentary on n_type values. - * bout.h: Provide a struct external_exec rather than an - internal_exec. - * m68kcoff.h: Remove `tagentries' which snuck in from the i960 - COFF port. - -Fri Oct 4 01:25:59 1991 John Gilmore (gnu at cygnus.com) - - * h8300-opcode.h: Remove `_enum' from the typedef for an enum. - * bfd.h: Update to match bfd changes. - - * sys/h-i386mach.h, sysdep.h: Add 386 Mach host support. - -Tue Oct 1 04:58:42 1991 John Gilmore (gnu at cygnus.com) - - * bfd.h, elf-common.h, elf-external.h, elf-internal.h: - Add preliminary ELF support, sufficient for GDB, from Fred Fish. - * sysdep.h, sys/h-amix.h: Support Amiga SVR4. - - * sys/h-vaxult.h: Make it work. (David Taylor ) - * a.out.vax.h: Remove unused and confusing file. - -Mon Sep 30 12:52:35 1991 Per Bothner (bothner at cygnus.com) - - * sysdep.h: Define NEWSOS3_SYS, and use it. - -Fri Sep 20 13:38:21 1991 John Gilmore (gnu at cygnus.com) - - * a.out.gnu.h (N_FN): Its value *really is* 0x1F. - Fix it, and add comments warning about or-ing N_EXT with it - and/or N_WARNING. - * aout64.h (N_FN): Fix value, add comments about N_EXT. - * stab.def (table at end): Update to show all the type - values <0x20, including low order bits. Move N_FN to - its rightful place. - -Tue Sep 17 17:41:37 1991 Stu Grossman (grossman at cygnus.com) - - * sys/h-irix3.h: sgi/irix support. - -Tue Sep 17 07:52:59 1991 John Gilmore (gnu at cygint.cygnus.com) - - * stab.def (N_DEFD): Add GNU Modula-2 debug stab, from Andrew - Beers. - -Thu Sep 12 14:12:59 1991 John Gilmore (gnu at cygint.cygnus.com) - - * internalcoff.h (SYMNMLEN, FILNMLEN, DIMNUM): Define these - for internalcoff, separately from the various external coff's. - * amdcoff.h, bcs88kcoff.h, i386coff.h, intel-coff.h, m68kcoff.h, - m88k-bcs.h: Prefix SYMNMLEN, FILNMLEN, and DIMNUM with E_'s for - the external struct definitions. - * ecoff.h: Remove these #define's, kludge no longer needed. - - * sys/h-ultra3.h: Add new Ultracomputer host. - * sysdep.h: Add ULTRA3_SYM1_SYS and use it. - -Tue Sep 10 10:11:46 1991 John Gilmore (gnu at cygint.cygnus.com) - - * i386coff.h (LINESZ): Always 6, not based on sizeof(). - (Fix from Peter Schauer .) - -Wed Sep 4 08:58:37 1991 John Gilmore (gnu at cygint.cygnus.com) - - * a.out.gnu.h, aout64.h: Add N_WARNING. Change N_FN to 0x0E, - to match SunOS and BSD. Add N_COMM as 0x12 for SunOS shared lib - support. - * stab.def: Add N_COMM to table, fix overlap comment. - -Tue Sep 3 06:29:20 1991 John Gilmore (gnu at cygint.cygnus.com) - - Merge with latest FSF versions of these files. - - * stab.gnu.h: Add LAST_UNUSED_STAB_CODE. - * stab.def: Update to GPL2. Move N_WARNING out, since not a - debug symbol. Change comments, and reorder table to numeric - order. Update final table comment. - (N_DSLINE, N_BSLINE): Renumber from 0x66 and 0x68, to 0x46 and 0x48. - - * obstack.h: GPL2. Merge. - -Fri Aug 23 01:54:23 1991 John Gilmore (gnu at cygint.cygnus.com) - - * a.out.gnu.h, a.out.sun4.h: Make SEGMENT_SIZE able to depend - on the particular a.out being examined. - * a.out.sun4.h: Define segment sizes for Sun-3's and Sun-4's. - * FIXME: a.out.gnu.h is almost obsolete. - * FIXME: a.out.sun4.h should be renamed a.out.sun.h now. - -Wed Aug 21 20:32:13 1991 John Gilmore (gnu at cygint.cygnus.com) - - * Start a ChangeLog for the includes directory. - - * a.out.gnu.h (N_FN): Fix value -- was 15, should be 0x1E. - * stab.def: Update allocation table in comments at end, - to reflect reality as I know it. +For older changes see ChangeLog-9103 Local Variables: mode: change-log diff --git a/include/ChangeLog-9103 b/include/ChangeLog-9103 new file mode 100644 index 00000000000..670fe38b312 --- /dev/null +++ b/include/ChangeLog-9103 @@ -0,0 +1,2737 @@ +2003-12-19 Andreas Tobler + + * include/fibheap.h (fibnode): Use __extension__ for + bit-fields mark and degree if __GNUC__. + +2003-12-18 Kazu Hirata + + * include/fibheap.h (fibnode): Use unsigned long int for + bit-fields if __GNUC__ is defined. + +2003-12-04 H.J. Lu + + * bfdlink.h (bfd_link_info): Change relax_finalizing to + need_relax_finalize. + +2003-12-03 Alan Modra + + * bfdlink.h (struct bfd_link_hash_entry): Rename "next" to "und_next". + +2003-12-02 Alan Modra + + * bfdlink.h (struct bfd_link_info): Remove mpc860c0 field. + +2003-11-18 Maciej W. Rozycki + + * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB. + +2003-11-14 Nick Clifton + + * dis-asm.h (struct disassemble_info): Add new field + 'symbol_is_valid' which is a function which can tell the + disassembler to skip certain symbols as they should not be + displayed to the user. + (arm_symbol_is_valid): New prototype. This is the ARM + specific function for the symbol_is_valid field. + (generic_symbol_is_valid): New prototype. This is the default + function pointed to by the symbol_is_valid field. + +2003-11-06 Bruno Rohee + + * hp-symtab.h: Fix "the the" typo. + +2003-10-24 H.J. Lu + + * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove + "wildcard". + +2003-10-22 Joseph S. Myers + + * obstack.h: Merge the following change from gnulib: + 2003-10-21 Paul Eggert + * obstack.h (obstack_1grow_fast): Properly parenthesize arg. + (obstack_ptr_grow_fast, obstack_int_grow_fast): + Don't use lvalue casts, as GCC plans to remove support for them + in GCC 3.5. Reported by Joseph S. Myers. This bug + was also present in the non-GCC version, indicating that this + code had always been buggy and had never been widely used. + (obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank): + Use the fast variant of each macro, rather than copying the + definiens of the fast variant; that way, we'll be more likely to + catch future bugs in the fast variants. + +2003-10-22 Jakub Jelinek + + * bfdlink.h (struct bfd_elf_version_expr): Remove match field. + Add wildcard and mask fields. + (BFD_ELF_VERSION_C_TYPE): Define. + (BFD_ELF_VERSION_CXX_TYPE): Likewise. + (BFD_ELF_VERSION_JAVA_TYPE): Likewise. + (struct bfd_elf_version_expr_head): New. + (struct bfd_elf_version_tree): Add match field. + Change type of globals and locals fields + to struct bfd_elf_version_expr_head. + +2003-10-14 Bob Wilson + + * elf/xtensa.h: Formatting. Fix comments about property section + names for linkonce sections. + +2003-09-22 Andrew Cagney + + * floatformat.h (struct floatformat): Add field "is_valid". + +2003-09-15 Andrew Cagney + + * floatformat.h (floatformat_to_double): Make input buffer constant. + (floatformat_from_double, floatformat_is_valid): Ditto. + +2003-09-15 Andrew Cagney + + * floatformat.h (struct floatformat): Make "exp_bias" signed. + +2003-09-15 Daniel Jacobowitz + + * floatformat.h (floatformat_is_valid): Add prototype. + +2003-08-27 Andrew Cagney + + * dis-asm.h (init_disassemble_info): Declare. + (INIT_DISASSEMBLE_INFO): Redefine as a call to + init_disassemble_info. + (INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto. + +2003-08-20 Nick Clifton + + * bfdlink.h (enum report_method): New enum. Describes how to + report something. + (struct bfd_link_info): Delete fields 'no_undefined' and + 'allow_shlib_undefined'. Replace with + 'unresolved_symbols_in_objects' and + 'unresolved_symbols_in_shared_libs'. + +2003-08-07 Alan Modra + + * bfdlink.h: Remove PARAMS macro. Replace PTR with void *. + * dis-asm.h: Likewise. + +2003-07-09 Bob Wilson + + * xtensa-config.h: Undef all macros before defining them. + +2003-07-06 H.J. Lu + + * demangle.h: Support C++. + +2003-07-01 Zack Weinberg + + * filenames.h: New file imported from binutils. + +2003-06-30 Bob Wilson + + * xtensa-config.h: New file imported from binutils. + +2003-06-30 Bob Wilson + + * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS, + XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define. + +2003-06-25 Alan Modra + + * bfdlink.h: Correct spelling of "relocatable". + +2003-06-22 Zack Weinberg + + * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to + HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC + respectively. + +2003-06-21 Zack Weinberg + + * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): + New #defines. + +2003-06-17 Kaveh R. Ghazi + + * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. + +2003-05-23 Jakub Jelinek + + * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. + * elf/common.h (PT_GNU_STACK): Define. + +2003-06-03 H.J. Lu + + * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. + +2003-05-30 Ulrich Drepper + Jakub Jelinek + + * bfdlink.h (struct bfd_link_info): Add pie and executable + bits. + +2003-05-21 Nick Clifton + + * bfdlink.h (struct bfd_link_hash_table): Fix typo in comment. + +2003-05-15 Jim Blandy + + * libiberty.h (hex_value): Make the value an unsigned int, to + avoid unexpected sign-extension when cast to unsigned types larger + than int --- like bfd_vma, on some platforms. + (_hex_value): Update declaration. + +2003-05-09 Alan Modra + + * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on + gen_num_opcodes_fn return type. + +2003-05-07 Jason Merrill + + * hashtab.h (iterative_hash): Prototype. + (iterative_hash_object): New macro. + +2003-04-28 H.J. Lu + + * bfdlink.h (bfd_link_info): Add relax_finalizing. + +2003-04-23 H.J. Lu + + * bfdlink.h (bfd_link_callbacks): Add error_handler. + +2003-04-04 Svein E. Seldal + + * coff/tic4x.h: Namespace cleanup. Replace s/c4x/tic4x + and s/c3x/tic3x/ + * coff/tc-tic4x.h: Ditto + * opcode/tic4x.h: Ditto + +2003-04-02 Bob Wilson + + * xtensa-config.h: Remove comment indicating that this is a + generated file. + +2003-04-01 Bob Wilson + + * dis-asm.h (print_insn_xtensa): Declare. + * xtensa-config.h: New file. + * xtensa-isa-internal.h: Likewise. + * xtensa-isa.h: Likewise. + +2003-03-17 Kaveh R. Ghazi + + * ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF, + ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2, + ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4, + ATTRIBUTE_NULL_PRINTF_5): New. + (ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL. + +2003-03-17 Jan Hubicka + + * hashtab.h (htab_traverse_noresize): Declare. + +2003-02-27 Kaveh R. Ghazi + + * libiberty.h: Document return value of physmem routines. + +2003-02-20 Kaveh R. Ghazi + + * libiberty.h (physmem_total, physmem_available): Prototype. + +2003-02-20 Daniel Jacobowitz + + * libiberty.h (lrealpath): Add declaration. + +2003-01-31 Grant Grundler + + * hppa.h (ldwa, ldda): Add ordered opcodes. + +2003-01-26 Daniel Jacobowitz + + * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types. + (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f. + (htab_create_alloc_ex): New prototype. + (htab_set_functions_ex): New prototype. + +2003-01-25 Jakub Jelinek + + * elf/sparc.h: Add TLS relocs. Move R_SPARC_REV32 to 252. + +2003-01-20 Svein E. Seldal + + * coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug + * coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros + +2002-07-17 Geoffrey Keating + + * splay-tree.h (GTY): Define if undefined. + (splay_tree_allocate_fn): Return PTR for compatibility, not void *. + (struct splay_tree_node_s): Support gengtype. + (struct splay_tree_s): Likewise. Make allocate_data a PTR, + not a void *. + +2002-01-02 Ben Elliston + + * dis-asm.h (print_insn_iq2000): Declare. + +2002-12-24 Dmitry Diky + + * dis-asm.h: Add msp430 disassembler prototype. + +2002-12-27 Chris Demetriou + + * dis-asm.h (print_mips_disassembler_options): Prototype. + +2002-12-23 Alan Modra + + * bfdlink.h (struct bfd_link_info): Add "strip_discarded". + +2002-12-20 Alan Modra + + * bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with + bit-fields. Rearrange to put all like types together. + +2002-11-30 Alan Modra + + * bfdlink.h: Replace boolean with bfd_boolean. Formatting. + +2002-11-23 Simon Burge + + * libiberty.h (basename): Add NetBSD to the list. + +2002-11-22 Daniel Jacobowitz + + * libiberty.h (make_relative_prefix): Add prototype. + +2002-11-16 Klee Dienes + + * opcode/m88k.h (INSTAB): Remove 'next' field. + (instruction): Remove definition; replace with extern declaration + and mark as const. + +2002-11-14 Egor Duda + + * bfdlink.h (struct bfd_link_info): Add new boolean + field pei386_runtime_pseudo_reloc. + +2002-10-26 Roger Sayle + + * partition.h: Close the extern "C" scope when compiling with C++. + +2002-10-26 Roger Sayle + DJ Delorie + + PR bootstrap/8351 + * getopt.h: Avoid prototyping getopt with no arguments in C++. + +2002-10-24 Nathan Tallent + + * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the + list of platform compilers that may look, smell and act + like __STDC__ but that may not define it. + +2002-10-11 David O'Brien + + * getopt.h: getopt is in unistd.h (based on SUSv2). + +2002-09-26 Jakub Jelinek + + * elf/x86-64.h: Add TLS relocs. + +2002-09-26 Andrew Cagney + + * regs/: Delete directory. + +2002-09-19 Alexandre Oliva + + * libiberty.h (asprintf, vasprintf): Don't declare them if the + corresponding HAVE_DECL_ macro is 1. + +2002-09-19 Jakub Jelinek + + * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): + Define. + +2002-09-19 Nathan Tallent + + * dis-asm.h: Remove (errant) trailing semicolon (;) from the + extern "C" { } declaration. + +2002-09-04 Nick Clifton + + * dis-asm.h (print_ppc_disassembler_options): Prototype. + +2002-08-28 Michael Hayes + + * coff/internal.h: Add new relocation types. + * coff/ti.h: Add file-header flags for tic4x code. + * dis-asm.h: Add standard disassembler for tic4x. + * opcode/tic4x.h: New file. + * coff/tic4x.h: New file + +2002-08-07 H.J. Lu + + * bfdlink.h (bfd_link_info): Add allow_undefined_version. + (bfd_elf_version_expr): Add symver and script. + +2002-07-31 Ian Dall + + * bfdlink.h (bfd_link_common_skip_ar_symbols): New enum. + (struct bfd_link_info): Add new field 'common_skip_ar_symbols'. + +2002-07-25 Richard Sandiford + + * opcode/mips.h (CPU_R2000): Remove. + +2002-07-19 Denis Chertykov + Matthew Green + + * dis-asm.h (print_insn_ip2k): Declare. + +2002-07-10 Jakub Jelinek + + * elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED, + DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define. + +2002-07-01 Alan Modra + + * bfdlink.h (struct bfd_sym_chain): Declare. + (struct bfd_link_info): Add gc_sym_list. Formatting fixes. + +2002-06-25 Alan Modra + + * demangle.h: #include "ansidecl.h" rather than #include . + * fibheap.h: Likewise. + * hashtab.h: Likewise. + * partition.h: Likewise. + * sort.h: Likewise. + * splay-tree.h: Likewise. + +2002-06-24 Alan Modra + + * libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME. + * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT. + +2002-06-18 Dave Brolley + + From Catherine Moore: + * dis-asm.h (print_insn_frv): New prototype. + +2002-06-09 Andrew Cagney + + * remote-sim.h: Move to directory gdb/. + * callback.h: Move to directory gdb/. + +2002-06-07 Charles Wilson + + * bfdlink.h (struct bfd_link_info): Change type of + pei386_auto_import field to int so that -1 can mean enabled by + default and 1 can mean enabled by command line switch. + +2002-06-06 DJ Delorie + + * hashtab.h (htab): Rearrange new members for backward + compatibility. + (htab_create): Don't use a macro that requires other headers. + +2002-06-05 Geoffrey Keating + + * hashtab.h (htab_create): Restore prototype for backward + compatibility. + (htab_try_create): Likewise. + +2002-05-22 Geoffrey Keating + + * hashtab.h (struct htab): Update for change to length specifier. + +2002-05-10 Geoffrey Keating + + * hashtab.h (GTY): Define if undefined. + (htab_alloc): New typedef. + (htab_free): New typedef. + (struct htab): Support gengtype; allow user-specified memory + allocation. + (htab_create_alloc): New. + (htab_create): Replace with #define. + (htab_try_create): Delete. + +2002-05-31 Michal Ludvig + + * elf/dwarf2.h (DW_CFA_low_user, DW_CFA_high_user): Renamed + to DW_CFA_lo_user, DW_CFA_hi_user respectively. + +2002-05-28 Kuang Hwa Lin + + * dis-asm.h: Prototype print_insn_dlx. + +2002-05-23 Andrew Cagney + + * sim-d10v.h: Delete file. Moved to include/gdb/. + +2002-05-23 Jakub Jelinek + + * elf/common.h (PT_TLS, SHF_TLS, STT_TLS, DF_STATIC_TLS): Define. + * elf/ia64.h (R_IA64_LTOFF_TPREL22): Renamed from R_IA64_LTOFF_TP22. + * elf/i386.h: Add TLS relocs. + +2002-05-21 H.J. Lu (hjl@gnu.org) + + * bfdlink.h (bfd_link_info): Add allow_multiple_definition. + +2002-05-17 J"orn Rennecke + + * dis-asm.h (print_insn_shl, print_insn_sh64l): Remove prototype. + +2002-04-16 David S. Miller + + * xregex2.h (__restrict_arr): Define to __restrict on GCC + 3.1 and later. Do not redefine. + +2002-04-01 Phil Edwards + + * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. + +2002-03-10 Daniel Jacobowitz + + * gdb: New directory. + +2002-03-06 Andrew Cagney + + * floatformat.h (floatformat_arm_ext): Delete declaration. + +2002-02-21 Jim Blandy + + Allow the user to specify functions for allocating memory for + splay tree roots and nodes. + * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): + New types. + (splay_tree): New fields: `allocate', `deallocate', and + `allocate_data'. + (splay_tree_new_with_allocator): New function declaration. + +2002-02-15 Alan Modra + + Support arbitrary length fill patterns. + * bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. + (struct bfd_link_order): Remove fill. Add data.size. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2000-11-25 Hans-Peter Nilsson + * dis-asm.h (print_insn_sh64): New prototype. + (print_insn_sh64l): New prototype. + (print_insn_sh64x_media): New prototype. + +2002-02-05 Frank Ch. Eigler + + * dis-asm.h (disassemble_info): New field `insn_sets'. + (INIT_DISASSEMBLE_INFO): Clear it. + +2002-02-05 Jason Merrill + + * demangle.h (cplus_demangle_v3): Add "options" parm. + (cplus_demangle_v3_type): Remove prototype. + (DMGL_VERBOSE): New macro. + (DMGL_TYPES): New macro. + +2002-02-02 H.J. Lu (hjl@gnu.org) + + * demangle.h (cplus_demangle_v3_type): New prototype. + +2002-01-31 Ivan Guzvinec + + * dis-asm.h : Add support for or32 targets + +2002-01-28 Kaveh R. Ghazi + + * libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC. + +2002-01-27 David O'Brien + + * cgen.h (BFD_VERSION): Use BFD_VERSION_DATE instead. + +2001-12-14 Nick Clifton + + * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialise the + disassembler_options field (to NULL). + +2001-12-13 Jakub Jelinek + + * bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field. + +2001-12-07 Geoffrey Keating + + * dis-asm.h (print_insn_xstormy16): Declare. + +2001-12-06 Richard Henderson + + * demangle.h (no_demangling): New. + (NO_DEMANGLING_STYLE_STRING): New. + +2001-11-14 Alan Modra + + * dis-asm.h (print_insn_i386): Declare. + +2001-11-11 Timothy Wall + + * dis-asm.h: Fix comment to refer to octets rather than bytes. + +2001-10-30 Hans-Peter Nilsson + + * dis-asm.h (print_insn_mmix): Add prototype. + +2001-10-24 Neil Booth + + * safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New. + +2001-10-22 Kaveh R. Ghazi + + * libiberty.h (hex_init): Revert delete. + + * libiberty.h (_hex_value): Const-ify. + (hex_init): Delete. + +2001-10-16 Christopher Faylor + + * filenames.h: Add cygwin to the list of dosish style path systems. + +2001-10-07 Kaveh R. Ghazi + + * demangle.h (demangler_engine): Const-ify. + * libiberty.h (buildargv): Likewise. + +2001-10-03 Vassili Karpov + + * bfdlink.h (struct bfd_link_info): Add nocopyreloc field. + +2001-09-24 Kaveh R. Ghazi + + * libiberty.h (reconcat): New function. + +2001-09-18 Kaveh R. Ghazi + + * libiberty.h (concat, concat_length, concat_copy, concat_copy2, + ACONCAT): Improve comments. + +2001-09-18 Alan Modra + + * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. + +2001-09-17 Kaveh R. Ghazi + + * libiberty.h (concat_length, concat_copy, concat_copy2, + libiberty_concat_ptr, ACONCAT): New. + + * libiberty.h (ASTRDUP): New macro. + libiberty_optr, libiberty_nptr, libiberty_len): Declare. + +2001-08-29 Kaveh R. Ghazi + + * ansidecl.h: Update comments reflecting previous change. + +2001-08-27 Kaveh R. Ghazi + + * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. + +2001-08-25 Nick Clifton + + * bfdlink.h (struct bfd_link_info): Change 'spare_dynamic_tags' to + unsigned to remove a compile time warning message. + +2001-08-24 H.J. Lu + + * bfdlink.h (bfd_link_hash_table_type): New. The linker hash + table type, bfd_link_generic_hash_table and + bfd_link_elf_hash_table. + (bfd_link_hash_table): Add a new field, type, for the linker + hash table type. + +2001-08-23 Jakub Jelinek + + * bfdlink.h (struct bfd_link_info): Add combreloc and + spare_dynamic_tags fields. + +2001-08-23 Lars Brinkhoff + + * dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h: + replace "GNU CC" with "GCC". + +2001-08-21 Richard Henderson + + * fibheap.h: Tidy formatting. + (fibnode_t): Limit degree to 31 bits to avoid warning. + +2001-08-20 Daniel Berlin + + * fibheap.h: New file. Fibonacci heap. + +2001-08-20 Andrew Cagney + + * floatformat.h (floatformat_arm_ext): Document as deprecated. + (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) + (floatformat_ia64_spill_little, floatformat_ia64_quad_little) + (floatformat_ia64_spill_big, floatformat_ia64_quad_big) + (floatformat_m88110_harris_ext): Declare. + +2001-08-18 Zack Weinberg + + * ansidecl.h: Reorganize for readability, remove documentation + of obsolete macros, document PARAMS and VPARAMS. Add new + macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic + function implementation. + +2001-08-16 Richard Henderson + + * hashtab.h (htab_hash_string): Declare. + +2001-08-10 Andrew Cagney + + * libiberty.h (lbasename): Change function declaration to return a + const char pointer. + +2001-08-02 Mark Kettenis + + * xregex.h (_REGEX_RE_COMP): Define. + (re_comp): Define to xre_comp. + (re_exec): Define to xre_exec. + +2001-08-02 Charles Wilson + + * bfdlink.h (struct bfd_link_info): add new boolean + field pei386_auto_import. + +2001-07-18 Andreas Jaeger + + * xregex2.h: Place under LGPL version 2.1. + +2001-07-10 Jeff Johnston + + * xregex.h: New file to support libiberty regex. + * xregex2.h: Ditto. + +2001-06-15 Hans-Peter Nilsson + + * bfdlink.h (struct bfd_link_info): New member export_dynamic. + +2001-05-16 Matt Kraai + + * partition.h: Fix misspelling of `implementation'. + +2001-05-10 Kaveh R. Ghazi + + * ansidecl.h (NULL_PTR): Delete. + +2001-05-07 Zack Weinberg + + * demangle.h: Use PARAMS for all prototypes. + * ternary.h: Use PARAMS for all prototypes. Use PTR, not void *. + Make arguments constant where possible. + +2001-05-07 Mark Mitchell + + * splay-tree.h (splay_tree_max): New function. + (splay_tree_min): Likewise. + +2001-04-27 Johan Rydberg + + * dis-asm.h (print_insn_openrisc): Add prototype. + +2001-04-15 Daniel Berlin + + * ternary.h: New file - Ternary search tree header. + +2001-04-13 Jakub Jelinek + + * bfdlink.h (bfd_link_discard): Add discard_sec_merge. + +2001-04-03 Zack Weinberg + + * ansidecl.h: All logic from gcc/gansidecl.h moved here. + +2001-03-31 Kaveh R. Ghazi + + * libiberty.h (alloca): Handle setting C_ALLOCA. + +2001-03-20 Jim Blandy + + * demangle.h (enum gnu_v3_constructor_kinds, + is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, + is_gnu_v3_mangled_dtor): New declarations. + +2001-03-14 Nick Clifton + + * ansidecl.h: Fix copyright dates. + * demangle.h: Fix copyright dates. + * floatformat.h: Fix copyright dates. + * fnmatch.h: Fix copyright dates. + * getopt.h: Fix copyright dates. + * libiberty.h: Add FSF copyright notice. + * md5.h: Fix copyright dates. + * obstack.h: Fix copyright dates. + * splay-tree.h: Fix copyright dates. + +2001-03-10 Neil Booth + John David Anglin + + * libiberty.h: Add lbasename. + +2001-03-06 Zack Weinberg + + * libiberty.h: Prototype C_alloca; define alloca to either + __builtin_alloca or C_alloca as appropriate. + +2001-03-01 John David Anglin + + * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc + compatibility. + +2001-02-18 lars brinkhoff + + * dis-asm.h: Add PDP-11 target. + +2001-02-09 Martin Schwidefsky + + * dis-asm.h: Add linux target for S/390. + +2001-01-11 Peter Targett + + * dis-asm.h (arc_get_disassembler): Correct declaration. + +2001-01-09 Philip Blundell + + * bin-bugs.h (REPORT_BUGS_TO): Set to `bug-binutils@gnu.org'. + +2000-12-18 Joseph S. Myers + + * COPYING: Update to current + ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references + to 19yy as example year in copyright notice). + +2000-12-19 Hans-Peter Nilsson + + * dis-asm.h (struct disassemble_info): New member "section". + (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member. + Initialize section member. + +2000-12-16 Herman A.J. ten Brugge + + * safe-ctype.h: Make code work on all targets and not just on + targets where a char is 8 bits. + +2000-12-10 Fred Fish + + * bfdlink.h (struct bfd_link_info): Add new allow_shlib_undefined + member to struct for systems where it is normal to have undefined + symbols in shared libraries at runtime and the runtime linker + takes care of redirecting them. + +2000-12-07 Zack Weinberg + + * safe-ctype.h: New file. + +2000-12-06 Rodney Brown + + * getopt.h obstack.h: Standarize copyright statement. + +2000-12-04 Richard Henderson + + * demangle.h: Change "new_abi" to "v3" everywhere. + +2000-11-22 Zack Weinberg + + * libiberty.h: Move #includes to top. Prototype xmalloc_failed. + +2000-11-15 Kenneth Block + + * demangle.h: Add gnat and java demangle styles. + +2000-11-04 Hans-Peter Nilsson + + * hashtab.h (struct htab): Add member return_allocation_failure. + (htab_try_create): New prototype. Mention which functions may + return NULL when this is used. + +2000-11-03 Hans-Peter Nilsson + + * hashtab.h: Change void * to PTR where necessary. + +2000-10-11 Mark Mitchell + + * splay-tree.h (splay_tree_predecessor): Declare. + +2000-09-29 Hans-Peter Nilsson + + * dis-asm.h: Declare cris_get_disassembler, not print_insn_cris. + Fix typo in comment. + +2000-09-28 John David Anglin + + * alloca-conf.h: New file (copied from libiberty). + +2000-09-05 John David Anglin + + * md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. + +2000-09-04 Alex Samuel + + * dyn-string.h: Adjust formatting. + (dyn_string_insert_char): New macro. New declaration. + +2000-08-28 Jason Merrill + + * md5.h: New file. + +2000-08-24 Greg McGary + + * libiberty.h (ARRAY_SIZE): New macro. + +2000-07-29 Nick Clifton + + * os9k.h: Add copyright notice. + Fix formatting. + +2000-07-22 Jason Eckhardt + + * dis-asm.h (print_insn_i860): Add prototype. + +2000-07-20 H.J. Lu + + * bfdlink.h (bfd_link_info): Add new_dtags. + +2000-07-20 Hans-Peter Nilsson + + * dis-asm.h (print_insn_cris): Declare. + +2000-07-19 H.J. Lu (hjl@gnu.org) + + * bfdlink.h (bfd_link_info): Add flags and flags_1. + +2000-06-05 DJ Delorie + + * MAINTAINERS: new + +2000-06-21 Alex Samuel + + * dyn-string.h (dyn_string_init, dyn_string_new, + dyn_string_delete, dyn_string_release, dyn_string_resize, + dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr, + dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, + dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, + dyn_string_append_char, dyn_string_substring_dyn_string_eq): + Define as same name with __cxa_ prepended, if IN_LIBGCC2. + (dyn_string_init, dyn_string_copy, dyn_string_copy_cstr, + dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, + dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, + dyn_string_append_char, dyn_string_substring): Change return type + to int. + +2000-06-18 Stephane Carrez + + * dis-asm.h (print_insn_m68hc12): Define. + (print_insn_m68hc11): Likewise. + +2000-06-18 Nick Clifton + + * os9k.h: Change values of MODSYNC and CRCCON due to bug report + from Russ Magee . + +2000-06-07 Kaveh R. Ghazi + + * demangle.h (demangling_styles): Remove trailing comma in enum. + + * dyn-string.h (dyn_string_append_char): Change parameter from + char to int. + +2000-06-04 Alex Samuel + + * dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. + + * demangle.h (DMGL_GNU_NEW_ABI): New macro. + (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. + (current_demangling_style): Add gnu_new_abi_demangling. + (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. + (GNU_NEW_ABI_DEMANGLING): Likewise. + (cplus_demangle_new_abi): New declaration. + +Tue May 30 16:53:34 2000 Andrew Cagney + + * floatformat.h (struct floatformat): Add field name. + +2000-05-26 Eli Zaretskii + + * filenames.h: New file. + (HAVE_DOS_BASED_FILE_SYSTEM, IS_DIR_SEPARATOR) + (IS_ABSOLUTE_PATH, FILENAME_CMP): New macros. + +2000-05-23 Kaveh R. Ghazi + + * getopt.h (getopt): Also check HAVE_DECL_* when prototyping. + + * libiberty.h (basename): Likewise. + +2000-05-17 S. Bharadwaj Yadavalli + Rick Gorton + + * bfdlink.h (struct bfd_link_info): Add emitrelocations flag. + +2000-05-08 Alan Modra + + * dis-asm.h (print_insn_tic54x): Declare. + +2000-05-06 Zack Weinberg + + * ansidecl.h: #define __extension__ to nothing if + GCC_VERSION < 2008. + +2000-05-04 Kaveh R. Ghazi + + * demangle.h (demangler_engine): Constify. + +Thu May 4 17:15:26 2000 Philippe De Muyter + + * sort.h (sys/types.h): File included unconditionnaly. + (stddef.h): File include only #ifdef __STDC__. + +2000-05-03 Zack Weinberg + + * symcat.h: Remove #endif label. + +2000-04-28 Kenneth Block + Jason Merrill + + * demangle.h (libiberty_demanglers): new table for different styles. + (cplus_demangle_set_style): New function for setting style. + (cplus_demangle_name_to_style): New function to translate name. + +2000-04-24 Mark Mitchell + + * hashtab.h (hash_pointer): Declare. + (eq_pointer): Likewise. + +2000-04-23 Mark Mitchell + + * sort.h: New file. + +Fri Apr 21 13:20:53 2000 Richard Henderson + David Mosberger + + * dis-asm.h (print_insn_ia64): Declare. + +Tue Apr 18 16:22:30 2000 Richard Kenner + + * hashtab.h (enum insert_option): New type. + (htab_find_slot, htab_find_slot_with_hash): Use it. + +2000-04-17 Kaveh R. Ghazi + + * symcat.h: Honor autoconf macro HAVE_STRINGIZE. Add + comments/caveats with regard to traditional C behavior. + +2000-04-05 Richard Henderson + + * splay-tree.h (splay_tree_remove): Declare. + +2000-04-04 Alan Modra + + * bin-bugs.h (REPORT_BUGS_TO): Remove translated part. + +2000-04-03 Alan Modra + + * bin-bugs.h: New file. + +2000-03-30 Mark Mitchell + + * hashtab.h (hashval_t): New type. + (htab_find_with_hash): Use it as an argument. + (htab_find_slot_with_hash): Likewise. + +2000-03-27 Denis Chertykov + + * dis-asm.h (print_insn_avr): Declare. + +2000-03-14 Bernd Schmidt + + * hashtab.h (htab_trav): Modify type so that first arg is of type + void **. + (htab_find_with_hash, htab_find_slot_with_hash): Declare new + functions. + +2000-03-09 Alex Samuel + + * partition.h: New file. + +2000-03-09 Zack Weinberg + + * hashtab.h (struct htab): Add del_f. + (htab_del): New type. + (htab_create): Add fourth argument. + +2000-03-08 Zack Weinberg + + * hashtab.h (hash_table_t): Rename to htab_t. + (struct hash_table): Rename to struct htab. Shorten element + names. Reorder elements by size. + (htab_hash, htab_eq, htab_trav): New typedefs for the callback + function pointers. + (hash_table_entry_t): Discard; just use void * for element + type. + +2000-03-01 H.J. Lu + + * bfdlink.h (bfd_link_callbacks): Add a boolean arg to + the undefined_symbol callback. + +2000-02-23 Linas Vepstas + + * dis-asm.h (print_insn_i370): Declare. + +Tue Feb 22 15:19:54 2000 Andrew Cagney + + * remote-sim.h (sim_trace): Document return values. + (sim_set_trace): Declare. Deprecate. + +2000-02-21 Alan Modra + + * dis-asm.h (struct disassemble_info): Change `length' param of + read_memory_func to unsigned. Change type of `buffer_length' and + `octets_per_byte' to unsigned. + (buffer_read_memory): Change `length' param to unsigned. + +2000-02-16 Nick Clifton + + * dis-asm.h: Add prototypes for ARM register name functions. + +Wed Feb 9 18:45:49 2000 Andrew Cagney + + * wait.h: Delete. No longer used by GDB. + +Tue Feb 8 17:01:13 2000 Andrew Cagney + + * remote-sim.h (sim_resume): Clarify use of SIGGNAL. + (sim_stop_reason): Clarify meaning of sim_signalled. + +2000-02-03 Timothy Wall + + * dis-asm.h (struct disassemble_info): Added octets_per_byte + field and initialize it to one (1). + +2000-01-27 Nick Clifton + + * dis-asm.h: Add prototype for disassembler_usage(). + Add prototype for arm_disassembler_options(). + Remove prototype for arm_toggle_regnames(). + Add prototype for parse_arm_disassembler_option(). + +Sat Jan 1 19:06:52 2000 Hans-Peter Nilsson + + * symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s" + to stringify argument s. + +Wed Dec 15 11:22:56 1999 Jeffrey A Law (law@cygnus.com) + + * hp-symtab.h (HP_LANGUAGE_FORTRAN): New enumeration constant. + (HP_LANGUAGE_F77): Define using HP_LANGUAGE_FORTRAN. + +1999-12-15 Doug Evans + + * dis-asm.h: Enclose in extern "C" ifdef __cplusplus. + +1999-12-05 Mark Mitchell + + * splay-tree.h (struct splay_tree_node): Rename to ... + (struct splay_tree_node_s): ... this. + (struct splay_tree): Rename to ... + (struct splay_tree_s): ... this. + +1999-11-30 Kaveh R. Ghazi + + * ansidecl.h (ATTRIBUTE_MALLOC): New macro. + + * libiberty.h (buildargv, dupargv, concat, choose_temp_base, + make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add + ATTRIBUTE_MALLOC. + (xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN. + +1999-11-28 Kaveh R. Ghazi + + * libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined. + (asprintf, vasprintf): Provide declarations. + +Wed Nov 10 12:43:21 1999 Philippe De Muyter + Kaveh R. Ghazi + + * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. + +1999-11-04 Jimmy Guo + + * hp-symtab.h (dntt_type_fparam): Add doc_ranges, misc_kind + fields, change location type to CORE_ADDR from int. + (dntt_type_const): Name the 5th field location_type. + +Sun Oct 24 19:11:32 1999 Andrew Cagney + + * sim-d10v.h (SIM_D10V_TS2_DMAP_REGNUM): Define. + +1999-10-23 08:51 -0700 Zack Weinberg + + * hashtab.h: Give hash_table_t a struct tag. Add prototypes + for clear_hash_table_slot and traverse_hash_table. Correct + prototype of all_hash_table_collisions. + +Sat Oct 23 19:00:13 1999 Andrew Cagney + + * sim-d10v.h: New file. + +Fri Oct 15 01:47:51 1999 Vladimir Makarov + + * hashtab.h: New file. + +1999-10-10 Kaveh R. Ghazi + + * ansidecl.h (HAVE_GCC_VERSION): New macro. Use it instead of + explicitly testing __GNUC__ and __GNUC_MINOR__. + + (ATTRIBUTE_PRINTF): Use `__format__', not `format'. + +1999-09-25 Kaveh R. Ghazi + + * libiberty.h (make_temp_file): Add a prototype. + +Tue Sep 14 00:35:02 1999 Marc Espie + + * libiberty.h (basename): OpenBSD has a correct prototype. + (xrealloc): Remove outdated comment. + +1999-09-07 Jeff Garzik + + * libiberty.h (xmemdup): Add prototype for new function. + +1999-09-04 Steve Chamberlain + + * dis-asm.h (print_insn_pj): Declare. + +1999-09-01 Kaveh R. Ghazi + + * obstack.h (obstack_grow, obstack_grow0): Move (char*) casts + in calls to `_obstack_memcpy' from here ... + + (_obstack_memcpy): ... to here, except in the __STDC__ case which + doesn't need it. + +1999-08-30 Kaveh R. Ghazi + + * libiberty.h (getpwd): Prototype. + +1999-08-01 Mark Mitchell + + * splay-tree.h (splay_tree_insert): Return the new node. + +1999-07-11 Ian Lance Taylor + + * ansidecl.h: Copy attribute support macros from egcs. + +1999-06-22 Mark Mitchell + + * bfdlink.h (struct bfd_link_hash_entry): Add init_function and + fini_function. + +1999-06-20 Mark Mitchell + + * mips.h (Elf32_Internal_Msym): New structure. + (Elf32_External_Msym): Likewise. + (ELF32_MS_REL_INDEX): New macro. + (ELF32_MS_FLAGS): Likewise. + (ELF32_MS_INFO): Likewise. + +1999-06-14 Nick Clifton + + * dis-asm.h (arm_toggle_regnames): New prototype. + (struct diassemble_info): New field: disassembler_options. + +1999-04-11 Richard Henderson + + * bfdlink.h (bfd_elf_version_expr): Rename `match' to `pattern'. + Add `match' callback function. + +1999-04-10 Richard Henderson + + * bfdlink.h (bfd_link_info): Add no_undefined. + +1999-04-08 Nick Clifton + + * dis-asm.h: Add prototype for print_insn_mcore. + +1999-04-02 Mark Mitchell + + * splay-tree.h (splay_tree_compare_pointers): Declare. + +1999-03-30 Mark Mitchell + + * splay-tree.h (splay_tree_compare_ints): Declare. + +Wed Mar 24 12:46:29 1999 Andrew Cagney + + * libiberty.h (basename): Cygwin{,32} should have the prototype. + +1999-02-22 Jim Lemke + + * bfdlink.h (bfd_link_info): add field "mpc860c0". + +Mon Feb 1 21:05:46 1999 Catherine Moore + + * dis-asm.h (print_insn_i386_att): Declare. + (print_insn_i386_intel): Declare. + +1998-12-30 Michael Meissner + + * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Cast STREAM and + FPRINTF_FUNC to avoid compiler warnings. + +Wed Dec 30 16:07:14 1998 David Taylor + + * dis-asm.h: change void * to PTR (two places). + +Mon Dec 14 09:53:31 1998 Kaveh R. Ghazi + + * demangle.h: Don't check IN_GCC anymore. + * splay-tree.h: Likewise. + +Tue Dec 8 00:30:31 1998 Elena Zannoni + + The following changes were made by Elena Zannoni + and Edith Epstein + as part of a project to merge in + changes made by HP; HP did not create ChangeLog entries. + + * dis-asm.h (struct disassemble_info): change the type of stream + from FILE* to void*, for use with gdb's new type GDB_FILE. + (fprintf_ftype): change FILE* parameter type to void*. + + * demangle.h: (DMGL_EDG): new macro for Kuck and Associates + (DMGL_STYLE_MASK): modify to include Kuck and Assoc style + (demangling_styles): add new edg_demangling style + (EDG_DEMANGLING_STYLE_STRING): new macro + (EDG_DEMANGLING): new macro + (DMGL_HP): new macro, for HP/aCC compiler. + (DMGL_STYLE_MASK): modify to include new HP's style. + (demangling_styles): add new hp_demangling value. + (HP_DEMANGLING_STYLE_STRING): new macro. + (ARM_DEMANGLING): coerce to int. + (HP_DEMANGLING): new macro. + + * hp-symtab.h: rewritten, from HP. + (quick_procedure): change type of language field to unsigned int + (quick_module): change type of language field to unsigned int + (struct dntt_type_svar): add field thread_specific. + (hp_language): add languages modcal and dmpascal. + +Fri Nov 20 13:14:00 1998 Andrew Cagney + + * libiberty.h (basename): Add prototype for FreeBSD. + +Fri Nov 13 19:19:11 1998 Kaveh R. Ghazi + + * libiberty.h: Prototype xcalloc. + +Sun Nov 8 17:42:25 1998 Kaveh R. Ghazi + + * ansidecl.h: Wrap problematic macros with !IN_GCC. + + * demangle.h: Never define PARAMS(). + * splay-tree.h: Likewise. + +Sat Nov 7 18:30:20 1998 Peter Schauer + + * dis-asm.h (print_insn_vax): Declare. + +Sat Nov 7 16:04:03 1998 Kaveh R. Ghazi + + * demangle.h: Don't include gansidecl.h. + * splay-tree.h: Likewise. + +1998-10-26 16:03 Ulrich Drepper + + * bfdlink.h (struct bfd_link_info): Add new field optimize. + +Thu Oct 22 19:58:00 1998 Kaveh R. Ghazi + + * splay-tree.h: Wrap function pointer parameter declarations in + PARAMS() macro. + +1998-10-21 Mark Mitchell + + * splay-tree.h: New file. + +Fri Oct 9 00:02:03 1998 Jeffrey A Law (law@cygnus.com) + + * Merge devo and egcs include directories. + +Sat Sep 5 12:16:33 1998 Jeffrey A Law (law@cygnus.com) + + * getopt.h, obstack.h: Updated from gcc. + +1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) + + * libiberty.h (xexit): Change decl to use modern GCC attribute + to indicate exit does not return. + +Mon Jun 1 13:48:32 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * obstack.h: Update to latest FSF version. + +Tue Feb 24 13:05:02 1998 Doug Evans + + * dis-asm.h (disassemble_info): Member `symbol' renamed to `symbols' + and made an "asymbol **". New member num_symbols. + (INIT_DISASSEMBLE_INFO_NO_ARCH): Update. + +Tue Feb 17 12:32:18 1998 Andrew Cagney + + * remote-sim.h (sim_fetch_register, sim_store_register): Add + register length parameter. Functions return actual length of + register. + +Thu Feb 12 16:29:01 1998 Ian Lance Taylor + + * getopt.h: Update to latest FSF version. + +Wed Feb 11 16:56:06 1998 Doug Evans + + * symcat.h: New file. + +Mon Feb 2 17:13:31 1998 Steve Haworth + + * dis-asm.h (print_insn_tic30): Declare. + +Thu Jan 22 16:23:59 1998 Fred Fish + + * dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly + function there is a reloc on this line. + +Mon Dec 8 11:22:23 1997 Nick Clifton + + * dis-asm.h: Remove prototype of disasm_symaddr() as this function + no longer exists. + +Tue Dec 2 10:20:53 1997 Nick Clifton + + * dis-asm.h (disasm_symaddr): New prototype. + +Mon Dec 1 11:29:35 1997 Doug Evans + + * callback.h (CB_SYSCALL): Comment out arg names in prototypes. + +Wed Nov 26 16:47:58 1997 Michael Meissner + + * callback.h (CB_SYSCALL): Consistantly use names for prototype + arguments. + +Wed Nov 26 11:39:30 1997 Doug Evans + + * callback.h (CB_SYSCALL): Change byte count arguments to + {read,write}_mem to `int'. New member `magic'. + (CB_SYSCALL_MAGIC,CB_SYSCALL_INIT): New macros. + +Tue Nov 25 01:35:52 1997 Doug Evans + + * callback.h (struct stat): Move forward decl up. + (host_callback): Pass stat struct pointer to stat,fstat. + (CB_SYS_nnn): Reorganize. + (CB_SYSCALL): New members p1,p2. + (cb_host_to_target_stat): Delete fourth arg. + +Sat Nov 22 23:34:15 1997 Andrew Cagney + + * remote-sim.h (sim_stop_reason): Clarify sim_signalled SIGRC + argument. + +Mon Nov 17 14:00:51 1997 Doug Evans + + * callback.h (CB_TARGET_DEFS_MAP): Renamed from target_defs_map. + (host_callback): Add stat, fstat, syscall_map, errno_map, open_map, + signal_map, stat_map. + (errn_map,open_map): Renamed to cb_init_foo_map. + (cb_host_to_target_errno,cb_target_to_host_open): Renamed from + host_to_target_errno,target_to_host_open. + (cb_read_target_syscall_maps): Add prototype. + (cb_target_to_host_syscall): Likewise. + (cb_host_to_target_stat): Likewise. + (cb_syscall): Likewise. + (CB_SYS_{exit,open,close,read,write,lseek,unlink,getpid,kill,fstat, + argvlen,argv,chdir,stat,chmod,utime,time}): Define. + (CB_SYSCALL): New type. + (CB_RC): New enum. + +Fri Nov 7 10:34:09 1997 Rob Savoye + + * libiberty.h: Add extern "C" { so it can be used with C++ + programs. + * remote-sim.h: Add extern "C" { so it can be used with C++ + programs. + +Tue Oct 14 16:07:51 1997 Nick Clifton + + * dis-asm.h (struct disassemble_info): New field + 'symbol_at_address_func'. + (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialise new field with + generic_symbol_at_address. + +Mon Oct 13 10:17:15 1997 Andrew Cagney + + * remote-sim.h: Clarify sim_read, sim_write MEM argument. + +Wed Sep 24 18:03:10 1997 Stu Grossman + + * remote-sim.h (SIM_RC): Add a bunch of new return codes for + breakpoint stuff. + * Add functions to tell the simulator to set/clear/enable/disable + intrinsic breakpoints. + +Thu Aug 28 19:41:42 1997 Andrew Cagney + + * libiberty.h (dupargv): Add prototype. + +Tue Aug 26 12:25:49 1997 Andrew Cagney + + * remote-sim.h (sim_create_inferior): Add ABFD arg. Document. + +Mon Aug 25 10:50:51 1997 Andrew Cagney + + * remote-sim.h (sim_open): Add ABFD arg. Document. + +Fri Aug 8 16:43:56 1997 Doug Evans + + * dis-asm.h (arc_get_disassembler): Declare. + +Wed Jul 30 11:39:50 1997 Per Bothner + + * demangle.h (DMGL_JAVA): New option to request Java demangling. + +Tue Jul 22 17:59:54 1997 Ian Lance Taylor + + * libiberty.h (PEXECUTE_*): Define. + (pexecute, pwait): Declare. + +Fri Jun 6 13:02:33 1997 Andrew Cagney + + * remote-sim.h (sim_kill): Mark as depreciated. + +Fri May 23 13:43:41 1997 Fred Fish + + * bfdlink.h (struct bfd_link_info): Add task_link member. + +Thu May 22 11:32:49 1997 Andrew Cagney + + * remote-sim.h: Review documentation. Clarify restrictions on + when functions can be called. + +Wed May 21 16:47:53 1997 Andrew Cagney + + * remote-sim.h (sim_set_profile_size): Add prototype, document as + depreciated. + +Tue May 20 09:32:22 1997 Andrew Cagney + + * remote-sim.h (sim_open): Add callback struct. + (sim_set_callbacks): Drop SIM_DESC argument. Document. + (sim_size): Remove recently added SIM_DESC argument. Document. + +Mon May 19 19:14:44 1997 Andrew Cagney + + * remote-sim.h: Pass SD into sim_size. + +Thu May 15 01:24:16 1997 Mark Alexander + + * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun, + obstack_freefun): Eliminate compile warnings in gdb. + +Tue Apr 22 10:24:34 1997 Fred Fish + + * floatformat.h (floatformat_byteorders): Add comments for previous + formats and add floatformat_littlebyte_bigword, primarily for ARM. + Add declaration for floatformat_ieee_double_littlebyte_bigword. + +Fri Apr 18 13:04:49 1997 Andrew Cagney + + * remote-sim.h (sim_stop): New interface - asynchronous + notification of a request to stop / suspend the running + simulation. + + * remote-sim.h (enum sim_stop): Add sim_running and sim_polling as + states for use internal to simulators. + + * callback.h (struct host_callback_strut): Put a magic number at + the end of the struct to allow basic checking. + (struct host_callback_struct ): Add poll_quit - so + that the console etc can be polled at regular intervals. + +Thu Apr 17 02:17:12 1997 Doug Evans + + * remote-sim.h (struct _bfd): Declare. + (sim_load): Return SIM_RC. New arg `abfd'. + (sim_create_inferior): Return SIM_RC. Delete arg `start_address'. + +Wed Apr 2 17:09:12 1997 Andrew Cagney + + * remote-sim.h (sim_trace, sim_size): Make these global. They + will go away shortly. + +Wed Apr 2 15:23:49 1997 Doug Evans + + * remote-sim.h (SIM_OPEN_KIND, SIM_RC): New enums. + (sim_open): New argument `kind'. + +Wed Apr 2 14:45:51 1997 Ian Lance Taylor + + * COPYING: Update FSF address. + +Fri Mar 28 15:29:54 1997 Mike Meissner + + * callback.h (top level): Include stdarg.h or varargs.h if + va_start is not defined. + (host_callback_struct): Make {,e}vprintf_filtered take a va_list + instead of void *, since va_list might be an array or structure + type. + +Fri Mar 28 15:44:41 1997 H.J. Lu + + * libiberty.h (basename): Add prototype for glibc and linux. + +Mon Mar 17 19:22:12 1997 Ian Lance Taylor + + * objalloc.h: New file. + +Mon Mar 17 14:57:55 1997 Andrew Cagney + + * remote-sim.h: New file, copied in from gdb/remote-sim.h. One + day this will be placed in a directory of its own. + +Sat Mar 15 19:00:14 1997 Ian Lance Taylor + + * obstack.h: Update to current FSF version. + +Thu Mar 6 15:46:59 1997 Andrew Cagney + + * callback.h (struct host_callback_struct): Add callbacks - + flush_stdout, write_stderr, flush_stderr, vprintf_filtered, + evprintf_filtered. Delete redundant callbacks - printf_filtered. + +Thu Feb 27 23:18:27 1997 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Remove lprefix and lprefix_len + fields. + +Tue Feb 25 00:10:49 1997 Ian Lance Taylor + + * dis-asm.h (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize + bytes_per_chunk and display_endian. + +Mon Feb 24 17:47:02 1997 Ian Lance Taylor + + From Eric Youngdale : + * bfdlink.h (struct bfd_elf_version_expr): Define. + (struct bfd_elf_version_deps): Define. + (struct bfd_elf_version_tree): Define. + +Thu Feb 6 14:20:01 1997 Martin M. Hunt + + * dis-asm.h: (disassemble_info): Add new fields + bytes_per_chunk and display_endian to control the + display of raw instructions. + +Fri Dec 27 22:17:37 1996 Fred Fish + + * dis-asm.h (print_insn_tic80): Declare. + +Sun Dec 8 17:11:12 1996 Doug Evans + + * callback.h (host_callback): New member `error'. + +Wed Nov 20 00:40:23 1996 Doug Evans + + * callback.h: New file, moved here from gdb. + +Mon Nov 18 16:34:00 1996 Dawn Perchik + + * libiberty.h: Checkin again; last checkin failed due to sticky tag. + +Wed Nov 13 08:22:00 1996 Dawn Perchik + + * libiberty.h: Revert last commit due to conflicts with hpux + system headers. + +Tue Nov 12 16:31:00 1996 Dawn Perchik + + * libiberty.h: Move prototypes from argv.c here. + +Thu Oct 31 14:56:18 1996 Doug Evans + + * ansidecl.h (VPARAMS,VA_START): Define. + +Fri Oct 25 12:08:04 1996 Ian Lance Taylor + + * dis-asm.h (disassemble_info): Add bytes_per_line field. + (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize bytes_per_line field. + +Thu Oct 24 17:10:01 1996 Ian Lance Taylor + + * dis-asm.h (disassemble_info): Add symbol field. + (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize symbol field. + +Thu Oct 17 11:17:40 1996 Doug Evans + + * dis-asm.h (print_insn_m32r): Declare. + +Mon Oct 14 23:56:52 1996 Ian Lance Taylor + + * libiberty.h: Declare parameter types for xmalloc and xrealloc. + +Thu Oct 3 13:45:27 1996 Ian Lance Taylor + + * fnmatch.h: New file. + +Thu Oct 3 10:33:14 1996 Jeffrey A Law (law@cygnus.com) + + * dis-asm.h (print_insn_mn10x00): Delete declaration. + (print_insn_mn10200, print_insn_mn10300): Declare. + +Wed Oct 2 21:24:43 1996 Jeffrey A Law (law@cygnus.com) + + * dis-asm.h (print_insn_mn10x00): Declare. + +Mon Sep 30 13:56:11 1996 Fred Fish + + * libiberty.h: Remove #ifndef PRIVATE_XMALLOC. + +Sat Aug 31 13:27:06 1996 Jeffrey A Law (law@cygnus.com) + + * dis-asm.h (print_insn_v850): Declare. + +Tue Aug 13 16:10:30 1996 Stu Grossman (grossman@critters.cygnus.com) + + * obstack.h: Change bcopy to memcpy. Works better on Posix + systems, which generally lack bcopy. + +Mon Aug 12 17:03:18 1996 Stu Grossman (grossman@critters.cygnus.com) + + * ansidecl.h: Change WIN32 to _WIN32. + +Fri Jul 26 13:58:18 1996 Ian Lance Taylor + + * dis-asm.h: Add flavour field. + (print_insn_alpha): Declare. + (print_insn_alpha_osf, print_insn_alpha_vms): Don't declare. + (INIT_DISASSEMBLE_INFO): Initialize flavour field. + +Tue Jul 23 17:37:58 1996 Fred Fish + + * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc + definitions inside #ifndef so that programs that want to + can define PRIVATE_XMALLOC and then define xmalloc and + xrealloc anyway they want. + (basename): Document in source that we can't declare the + parameter type because it is declared inconsistently across + different systems. + +Mon Jul 22 13:16:13 1996 Richard Henderson + + * dis-asm.h (print_insn_alpha): Don't declare. + (print_insn_alpha_osf, print_insn_alpha_vms): Declare. + +Wed Jul 17 14:45:12 1996 Martin M. Hunt + + * dis-asm.h: (print_insn_d10v): Declare. + +Mon Jul 15 16:55:38 1996 Stu Grossman (grossman@critters.cygnus.com) + + * dis-asm.h: Get rid of decls for print_insn_i8086, + print_insn_sparc64 and print_insn_sparclite. + * (INIT_DISASSEMBLE_INFO): Split into two pieces. One, + INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian, + mach, and arch. + +Fri Jul 12 10:19:27 1996 Stu Grossman (grossman@critters.cygnus.com) + + * dis-asm.h (print_insn_i8086): Declare. + +Wed Jul 3 16:02:39 1996 Stu Grossman (grossman@critters.cygnus.com) + + * dis-asm.h (print_insn_sparclite): Declare. + +Tue Jun 18 16:02:46 1996 Jeffrey A. Law + + * dis-asm.h (print_insn_h8300s): Declare. + +Tue Jun 18 15:11:33 1996 Klaus Kaempf + + * fopen-vms.h: New file. + +Tue Jun 4 18:58:16 1996 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Add notice_all field. + +Fri Apr 26 10:33:12 1996 Doug Evans + + * demangle.h (#ifdef IN_GCC): #include "gansidecl.h". + (PROTO,PTR,const): Delete. + +Mon Apr 22 17:27:42 1996 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Add traditional_format field. + +Mon Apr 15 15:16:56 1996 Doug Evans + + * libiberty.h (choose_temp_base): Add prototype. + +Tue Mar 12 17:29:46 1996 Ian Lance Taylor + + * bfdlink.h (bfd_wrapped_link_hash_lookup): Declare. + (struct bfd_link_info): Add wrap_hash field. + +Wed Feb 14 16:49:17 1996 Martin Anantharaman + + * ieee.h (ieee_record_enum_type): Define + ieee_external_reference_info_enum. + +Fri Feb 2 17:09:25 1996 Doug Evans + + * dis-asm.h (DISASM_RAW_INSN): Delete. + +Tue Jan 23 09:21:47 1996 Doug Evans + + * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN. + New argument FPRINTF_FUNC. + +Mon Jan 22 16:37:59 1996 Doug Evans + + * dis-asm.h (disassemble_info): New members arch, mach, endian. + (INIT_DISASSEMBLE_INFO): Initialize them. + (DISASM_RAW_INSN{,FLAG}): Define. + +Thu Jan 18 11:32:38 1996 Ian Lance Taylor + + * demangle.h (cplus_demangle_opname): Change opname parameter to + const char *. + (cplus_mangle_opname): Change return type and opname parameter to + const char *. + +Fri Jan 5 00:01:22 1996 Ian Lance Taylor + + * ieee.h (enum ieee_record): Add ieee_asn_record_enum, + ieee_at_record_enum, ieee_ty_record_enum, ieee_atn_record_enum, + ieee_bb_record_enum, and ieee_be_record_enum. + +Wed Jan 3 13:12:09 1996 Fred Fish + + * obstack.h: Update copyright to 1996. + (_obstack_memory_used): Declare. + (obstack_memory_used): Define macro. + +Thu Dec 28 11:42:12 1995 Ian Lance Taylor + + * libiberty.h (xstrdup): Declare. + +Thu Dec 21 14:47:17 1995 Michael Meissner + + * wait.h: Protect all macros with #ifndef. + +Tue Oct 24 21:45:40 1995 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Add static_link field. + +Tue Sep 12 16:28:04 1995 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_callbacks): Add symbol parameter to + warning callback. + +Fri Sep 1 13:11:51 1995 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_callbacks): Change warning callback + to take BFD, section, and address arguments. + +Thu Aug 31 16:45:12 1995 steve chamberlain + + * bfdlink.h (struct bfd_link_info): Remove PE stuff. + +Tue Aug 22 03:18:23 1995 Ken Raeburn + + * libiberty.h: Declare xstrerror. From Pat Rankin. + +Mon Aug 21 18:11:36 1995 steve chamberlain + + * bfdlink.h (struct bfd_link_info): Remove PE stuff. + +Wed Aug 2 08:14:12 1995 Doug Evans + + * dis-asm.h (print_insn_sparc64): Declare. + +Mon Jul 10 13:26:49 1995 Eric Youngdale + + * bfdlink.h (struct bfd_link_info): Add new field symbolic. + +Sun Jul 2 17:48:40 1995 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Change type of base_file to + PTR. + +Thu Jun 29 00:02:45 1995 Steve Chamberlain + + * bfdlink.h (struct bfd_link_info): Added base_file member. + +Tue Jun 20 16:40:04 1995 Steve Chamberlain + + * ansidecl.h: win32s is ANSI enough. + +Thu May 18 04:25:50 1995 Ken Raeburn + + Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * dis-asm.h (print_insn_arm): Delete declaration. + (print_insn_{little,big}_arm): New declarations. + + * floatformat.h (floatformat_arm_ext): Declare. + +Sat May 13 10:14:08 1995 Steve Chamberlain + + * bfdlink.h (subsytem, stack_heap_parameters): New. + +Thu May 4 14:36:42 1995 Jason Merrill + + * demangle.h: Don't include ansidecl.h if IN_GCC. + +Tue Feb 21 00:37:28 1995 Jeff Law (law@snake.cs.utah.edu) + + * hp-symtab.h: Don't use bitfield enumerations, the HP C compiler + does not handle them correctly. + +Thu Feb 9 14:20:27 1995 Ian Lance Taylor + + * libiberty.h (basename): Don't declare parameter type; some + systems have this in their header files. + +Wed Feb 8 17:35:38 1995 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_hash_entry): Change format of common + symbol information, to remove restrictions on maximum size and + alignment power, by using a pointer to a structure instead. + +Mon Feb 6 14:55:32 1995 Ian Lance Taylor + + * bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak + to bfd_link_hash_undefweak. Add bfd_link_hash_defweak. + +Mon Jan 16 21:00:23 1995 Stan Shebs + + * dis-asm.h (GDB_INIT_DISASSEMBLE_INFO, etc): Remove all + GDB-specific definitions. + +Sun Jan 15 18:39:35 1995 Steve Chamberlain + + * dis-asm.h (print_insn_w65): Declare. + +Thu Jan 12 17:51:17 1995 Ken Raeburn + + * libiberty.h (hex_p): Fix sense of test. + +Wed Jan 11 22:36:40 1995 Ken Raeburn + + * libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, + hex_p, hex_value): New macros and declarations, for hex.c. + +Fri Jan 6 17:44:14 1995 Ian Lance Taylor + + * dis-asm.h: Make idempotent. + +Wed Dec 14 13:08:43 1994 Stan Shebs + + * progress.h: New file, empty definitions for progress macros. + +Fri Nov 25 00:14:05 1994 Jeff Law (law@snake.cs.utah.edu) + + * hp-symtab.h: New file describing the debug symbols emitted + by the HP C compilers. + +Fri Nov 11 15:48:37 1994 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_hash_entry): Change u.c.size from 24 + to 26 bits, and change u.c.alignment_power from 8 to 6 bits. 6 + bit in the alignment power is enough for a 64 bit address space. + +Mon Oct 31 13:02:51 1994 Stan Shebs (shebs@andros.cygnus.com) + + * demangle.h (cplus_mangle_opname): Declare. + +Tue Oct 25 11:38:02 1994 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_callbacks): Fix comments for + multiple_common field. + +Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + + * dis-asm.h: Add support for the ARM. + +Wed Aug 10 12:51:41 1994 Doug Evans (dje@canuck.cygnus.com) + + * libiberty.h (strsignal): Document its existence even if we + can't declare it. + +Tue Aug 2 14:40:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * os9k.h: Remove u_int16, u_int32, and owner_id typedefs and + expand their uses. Those names conflict with Mach headers. + +Fri Jul 22 14:17:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * bfdlink.h (struct bfd_link_hash_entry): Change u.c.size into a + bitfield. Add field u.c.alignment_power. + +Sun Jul 10 00:26:39 1994 Ian Dall (dall@hfrd.dsto.gov.au) + + * dis-asm.h: Add print_insn_ns32k declaration. + +Mon Jun 20 17:13:29 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * bfdlink.h (bfd_link_hash_table): Make creator a const pointer. + +Sat Jun 18 16:09:32 1994 Stan Shebs (shebs@andros.cygnus.com) + + * demangle.h (cplus_demangle_opname): Declare. + +Thu Jun 16 15:19:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (struct bfd_link_info): Add new field shared. + +Mon Jun 6 14:39:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (struct bfd_link_hash_entry): Remove written field: + not needed for all backends. + +Thu Apr 28 19:06:50 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * dis-asm.h (disassembler): Declare. + +Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + + * obstack.h: Delete use of IN_GCC to control whether + stddef.h or gstddef.h is included. + +Tue Mar 22 13:06:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (enum bfd_link_order_type): Add bfd_data_link_order. + (struct bfd_link_order): Add data field to union. + +Mon Mar 21 18:45:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (struct bfd_link_callbacks): Change bitsize argument + to add_to_set to reloc. Remove bitsize argument from constructor. + Comment that reloc_overflow, reloc_dangerous and unattached_reloc + must handle NULL pointers for reloc location. + (enum bfd_link_order_type): Add bfd_section_reloc_link_order and + bfd_symbol_reloc_link_order. + (struct bfd_link_order): Add reloc field to union. + (struct bfd_link_order_reloc): Define. + +Mon Mar 14 12:27:50 1994 Ian Lance Taylor (ian@cygnus.com) + + * ieee-float.h: Removed; no longer used. + +Tue Mar 1 18:10:49 1994 Kung Hsu (kung@mexican.cygnus.com) + + * os9k.h: os9000 target specific header file, the header of the + object file is used now. + +Sun Feb 27 21:52:26 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * floatformat.h: New file, intended to replace ieee-float.h. + +Sun Feb 20 17:15:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com) + + * ansidecl.h (ANSI_PROTOTYPES): Define if using ANSI prototypes. + +Wed Feb 16 01:07:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * libiberty.h: Don't declare strsignal, to avoid conflicts with + Solaris system header files. + +Sat Feb 12 22:11:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * libiberty.h (xexit): Use __volatile__ to avoid losing if + compiling with gcc -traditional. + +Thu Feb 10 14:05:41 1994 Ian Lance Taylor (ian@cygnus.com) + + * libiberty.h: New file. Declares functions provided by + libiberty. + +Tue Feb 8 05:19:52 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + Handle obstack_chunk_alloc returning NULL. This allows + obstacks to be used by libraries, without forcing them + to call exit or longjmp. + * obstack.h (struct obstack): Add alloc_failed flag. + _obstack_begin, _obstack_begin_1): Declare to return int, not void. + (obstack_finish): If alloc_failed, return NULL. + (obstack_base, obstack_next_free, objstack_object_size): + If alloc_failed, return 0. + (obstack_grow, obstack_grow0, obstack_1grow, obstack_ptr_grow, + obstack_int_grow, obstack_blank): If alloc_failed, do nothing that + could corrupt the obstack. + +Mon Jan 24 15:06:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (struct bfd_link_callbacks): Add name, reloc_name and + addend argments to reloc_overflow callback. + +Fri Jan 21 19:13:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * dis-asm.h (print_insn_big_powerpc, print_insn_little_powerpc, + print_insn_rs6000): Declare. + +Thu Jan 6 14:15:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfdlink.h (struct bfd_link_callbacks): Add bitsize argument to + add_to_set field. Add new callback named constructor. + +Thu Dec 30 10:44:06 1993 Ian Lance Taylor (ian@rtl.cygnus.com) + + * bfdlink.h: New file for new BFD linker backend routines. + +Mon Nov 29 10:43:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * dis-asm.h (enum dis_insn_tyupe): Remove non-ANSI trailing comma. + +Sat Oct 2 20:42:26 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * dis-asm.h: Move comment to right place. + +Mon Aug 9 19:03:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * obstack.h (obstack_chunkfun, obstack_freefun): Add defns from + previous version. Are these Cygnus local changes? + +Fri Aug 6 17:05:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * getopt.h, obstack.h: Update to latest FSF version. + +Mon Aug 2 14:45:29 1993 John Gilmore (gnu@cygnus.com) + + * dis-asm.h: Move enum outside of struct defn to avoid warnings. + +Mon Aug 2 08:49:30 1993 Stu Grossman (grossman at cygnus.com) + + * wait.h (WEXITSTATUS, WSTOPSIG): Mask down to 8 bits. This is + for systems that store stuff into the high 16 bits of a wait + status. + +Fri Jul 30 18:38:02 1993 John Gilmore (gnu@cygnus.com) + + * dis-asm.h: Add new fields insn_info_valid, branch_delay_insns, + data_size, insn_type, target, target2. These are used to return + information from the instruction decoders back to the calling + program. Add comments, make more readable. + +Mon Jul 19 22:14:14 1993 Fred Fish (fnf@deneb.cygnus.com) + + * nlm: New directory containing NLM/NetWare includes. + +Thu Jul 15 12:10:04 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * dis-asm.h (struct disassemble_info): New field application_data. + +Thu Jul 15 12:41:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * dis-asm.h: Added declaration of print_insn_m88k. + +Fri Jul 2 10:31:59 1993 Ian Lance Taylor (ian@cygnus.com) + + * ansidecl.h: Use ANSI macros if __mips and _SYSTYPE_SVR4 are + defined, since RISC/OS cc handles ANSI declarations in SVR4 mode + but does not define __STDC__. + +Sun Jun 20 18:27:52 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * dis-asm.h: Don't need to include ansidecl.h any more. + +Fri Jun 18 03:22:10 1993 John Gilmore (gnu@cygnus.com) + + * oasys.h: Eliminate "int8_type", "int16_type", "int32_type", and + their variants. These changes are coordinated with corresponding + changes in ../bfd/oasys.c. + +Wed Jun 16 10:43:08 1993 Fred Fish (fnf@cygnus.com) + + * bfd.h: Note that it has been removed. + +Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + Support for H8/300-H + * dis-asm.h (print_insn_h8300, print_insn_h8300h): Declare it. + +Tue Jun 1 07:35:03 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * ansidecl.h (const): Don't define it if it's already defined. + +Thu May 27 18:19:51 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * dis-asm.h (print_insn_hppa): Declare it. + + * bfd.h: Moved to bfd directory. Small stub here includes it + without requiring "-I../bfd". + +Thu Apr 29 12:06:13 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * bfd.h: Updated with BSF_FUNCTION. + +Mon Apr 26 18:15:50 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h, dis-asm.h: Updated with Hitachi SH. + +Fri Apr 23 18:41:38 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h: Updated with alpha changes. + * dis-asm.h: Added alpha. + +Fri Apr 16 17:35:30 1993 Jim Kingdon (kingdon@cygnus.com) + + * bfd.h: Update for signed bfd_*get_*. + +Thu Apr 15 09:24:21 1993 Jim Kingdon (kingdon@cygnus.com) + + * bfd.h: Updated for file_truncated error. + +Thu Apr 8 10:53:47 1993 Ian Lance Taylor (ian@cygnus.com) + + * ansidecl.h: If no ANSI, define const to be empty. + +Thu Apr 1 09:00:10 1993 Jim Kingdon (kingdon@cygnus.com) + + * dis-asm.h: Declare a29k and i960 print_insn_*. + + * dis-asm.h: Add print_address_func and related stuff. + + * dis-asm.h (dis_asm_read_memory): Fix prototype. + +Wed Mar 31 17:40:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * dis-asm.h: Add print_insn_sparc. + +Wed Mar 31 17:51:42 1993 Ian Lance Taylor (ian@cygnus.com) + + * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size + prototypes. + +Wed Mar 31 16:35:12 1993 Stu Grossman (grossman@cygnus.com) + + * dis-asm.h: (disassemble_info): Fix typo in prototype of + dis_asm_memory_error(). + +Tue Mar 30 19:09:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * dis-asm.h (disassembler_info): Add read_memory_func, + memory_error_func, buffer, and length. + ({GDB_,}INIT_DISASSEMBLE_INFO): Set them. + print_insn_*: Remove second argument. + +Tue Mar 30 14:48:55 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h: Update for lma field of section. + +Tue Mar 30 12:22:55 1993 Jim Kingdon (kingdon@cygnus.com) + + * ansidecl.h: Use ANSI versions on AIX regardless of __STDC__. + +Fri Mar 19 14:49:49 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * dis-asm.h: Add h8500. + +Thu Mar 18 13:49:09 1993 Per Bothner (bothner@rtl.cygnus.com) + + * ieee-float.h: Moved from ../gdb. + * dis-asm.h: New file. Interface to dis-assembler. + +Thu Mar 11 10:52:57 1993 Fred Fish (fnf@cygnus.com) + + * demangle.h (DMGL_NO_OPTS): Add define (set to 0) to use + in place of bare 0, for readability reasons. + +Tue Mar 2 17:50:11 1993 Fred Fish (fnf@cygnus.com) + + * demangle.h: Replace all references to cfront with ARM. + +Tue Feb 23 12:21:14 1993 Ian Lance Taylor (ian@cygnus.com) + + * bfd.h: Update for new elements in JUMP_TABLE. + +Tue Feb 16 00:51:30 1993 John Gilmore (gnu@cygnus.com) + + * bfd.h: Update for BFD_VERSION 2.1. + +Tue Jan 26 11:49:20 1993 Ian Lance Taylor (ian@cygnus.com) + + * bfd.h: Update for SEC_IS_COMMON flag. + +Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfd.h: Update for bfd_asymbol_value bug fix. + +Fri Jan 8 16:37:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bfd.h: Update to include ECOFF tdata and target_flavour. + +Sun Dec 27 17:52:30 1992 Fred Fish (fnf@cygnus.com) + + * bfd.h: Add declaration for bfd_get_size(). + +Tue Dec 22 22:42:46 1992 Fred Fish (fnf@cygnus.com) + + * demangle.h: Protect file from multiple inclusions with + #if !defined(DEMANGLE_H)...#define DEMANGLE_H...#endif. + +Mon Dec 21 21:25:50 1992 Stu Grossman (grossman at cygnus.com) + + * bfd.h: Update to get hppa_core_struct from bfd.c. + +Thu Dec 17 00:42:35 1992 John Gilmore (gnu@cygnus.com) + + * bfd.h: Update to get tekhex tdata name change from bfd. + +Mon Nov 9 23:55:42 1992 John Gilmore (gnu@cygnus.com) + + * ansidecl.h: Update comments to discourage use of EXFUN. + +Thu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com) + + * bfd.h: Update to bring in SEC_SHARED_LIBRARY. + +Thu Nov 5 03:21:32 1992 John Gilmore (gnu@cygnus.com) + + * bfd.h: Update to match EXFUN, bfd_seclet_struct, and SDEF + cleanups in bfd. + +Wed Nov 4 07:28:05 1992 Ken Raeburn (raeburn@cygnus.com) + + * bout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so + widening works consistently. + +Fri Oct 16 03:17:08 1992 John Gilmore (gnu@cygnus.com) + + * getopt.h: Update to Revised Standard FSF Version. + +Thu Oct 15 21:43:22 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * getopt.h (struct option): use the provided enum for has_arg. + + * demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, + LUCID_DEMANGLING): ultrix compilers require enums to be + enums and ints to be ints and casts where they meet. cast some + enums into ints. + +Thu Oct 15 04:35:51 1992 John Gilmore (gnu@cygnus.com) + + * bfd.h: Update after comment changes. + +Thu Oct 8 09:03:02 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h (bfd_get_symbol_leading_char): new macro for getting in xvec + +Thu Sep 3 09:10:50 1992 Stu Grossman (grossman at cygnus.com) + + * bfd.h (struct reloc_howto_struct): size needs to be signed if + it's going to hold negative values. + +Sun Aug 30 17:50:27 1992 Per Bothner (bothner@rtl.cygnus.com) + + * demangle.h: New file, moved from ../gdb. Made independent + of gdb. Allow demangling style option to be passed as a + parameter to cplus_demangle(), but using the + current_demangling_style global as the default. + +Sat Aug 29 10:07:55 1992 Fred Fish (fnf@cygnus.com) + + * obstack.h: Merge comment change from current FSF version. + +Thu Aug 27 12:59:29 1992 Brendan Kehoe (brendan@cygnus.com) + + * bfd.h: add we32k + +Tue Aug 25 15:07:47 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h: new after Z8000 stuff + +Mon Aug 17 09:01:23 1992 Ken Raeburn (raeburn@cygnus.com) + + * bfd.h: Regenerated after page/segment size changes. + +Sat Aug 1 13:46:31 1992 Fred Fish (fnf@cygnus.com) + + * obstack.h: Merge changes from current FSF version. + +Mon Jul 20 21:06:23 1992 Fred Fish (fnf@cygnus.com) + + * obstack.h (area_id, flags): Remove, replace with extra_arg, + use_extra_arg, and maybe_empty_object. + * obstack.h (OBSTACK_MAYBE_EMPTY_OBJECT, OBSTACK_MMALLOC_LIKE): + Remove, replaced by maybe_empty_object and use_extra_arg bitfields. + * obstack.h (obstack_full_begin, _obstack_begin): Remove area_id + and flags arguments. + * obstack.h (obstack_alloc_arg): New macro to set extra_arg. + +Thu Jul 16 08:12:44 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h: new after adding BFD_IS_RELAXABLE + +Sat Jul 4 03:22:23 1992 John Gilmore (gnu at cygnus.com) + + * bfd.h: Regen after adding BSF_FILE. + +Mon Jun 29 14:18:36 1992 Fred Fish (fnf at sunfish) + + * obstack.h: Convert bcopy() use to memcpy(), which is more + portable, more standard, and can take advantage of gcc's builtin + functions for increased performance. + +Thu Jun 25 04:46:08 1992 John Gilmore (gnu at cygnus.com) + + * ansidecl.h (PARAMS): Incorporate this macro from gdb's defs.h. + It's a cleaner way to forward-declare function prototypes. + +Fri Jun 19 15:46:32 1992 Stu Grossman (grossman at cygnus.com) + + * bfd.h: HPPA merge. + +Tue Jun 16 21:30:56 1992 K. Richard Pixley (rich@cygnus.com) + + * getopt.h: gratuitous white space changes merged from other prep + releases. + +Thu Jun 11 01:10:55 1992 John Gilmore (gnu at cygnus.com) + + * bfd.h: Regen'd from bfd.c after removing elf_core_tdata_struct. + +Mon May 18 17:29:03 1992 K. Richard Pixley (rich@cygnus.com) + + * getopt.h: merged changes from make-3.62.11. + + * getopt.h: merged changes from grep-1.6 (alpha). + +Fri May 8 14:53:32 1992 K. Richard Pixley (rich@cygnus.com) + + * getopt.h: merged changes from bison-1.18. + +Sat Mar 14 17:25:20 1992 Fred Fish (fnf@cygnus.com) + + * obstack.h: Add "area_id" and "flags" members to obstack + structure. Add obstack_chunkfun() and obstack_freefun() to + set functions explicitly. Convert maybe_empty_object to + a bit in "flags". + +Thu Feb 27 22:01:02 1992 Per Bothner (bothner@cygnus.com) + + * wait.h (WIFSTOPPED): Add IBM rs6000-specific version. + +Fri Feb 21 20:49:20 1992 John Gilmore (gnu at cygnus.com) + + * obstack.h: Add obstack_full_begin. + * bfd.h, obstack.h: Protolint. + +Thu Jan 30 01:18:42 1992 John Gilmore (gnu at cygnus.com) + + * bfd.h: Remove comma from enum declaration. + +Mon Jan 27 22:01:13 1992 Steve Chamberlain (sac at cygnus.com) + + * bfd.h : new target entr, bfd_relax_section + +Wed Dec 18 17:19:44 1991 Stu Grossman (grossman at cygnus.com) + + * bfd.h, ieee.h: ANSIfy enums. + +Thu Dec 12 20:59:56 1991 John Gilmore (gnu at cygnus.com) + + * fopen-same.h, fopen-bin.h: New files for configuring + whether fopen distinguishes binary files or not. For use + by host-dependent config files. + +Sat Nov 30 20:46:43 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * bfd.h: change the documentation format. + + * created coff, elf and opcode and aout directories. Moved: + + aout64.h ==> aout/aout64.h + ar.h ==> aout/ar.h + a.out.encap.h ==> aout/encap.h + a.out.host.h ==> aout/host.h + a.out.hp.h ==> aout/hp.h + a.out.sun4.h ==> aout/sun4.h + ranlib.h ==> aout/ranlib.h + reloc.h ==> aout/reloc.h + stab.def ==> aout/stab.def + stab.gnu.h ==> aout/stab_gnu.h + + coff-a29k.h ==> coff/a29k.h + coff-h8300.h ==> coff/h8300.h + coff-i386.h ==> coff/i386.h + coff-i960.h ==> coff/i960.h + internalcoff.h ==> coff/internal.h + coff-m68k.h ==> coff/m68k.h + coff-m88k.h ==> coff/m88k.h + coff-mips.h ==> coff/mips.h + coff-rs6000.h ==> coff/rs6000.h + + elf-common.h ==> elf/common.h + dwarf.h ==> elf/dwarf.h + elf-external.h ==> elf/external.h + elf-internal.h ==> elf/internal.h + + a29k-opcode.h ==> opcode/a29k.h + arm-opcode.h ==> opcode/arm.h + h8300-opcode.h ==> opcode/h8300.h + i386-opcode.h ==> opcode/i386.h + i860-opcode.h ==> opcode/i860.h + i960-opcode.h ==> opcode/i960.h + m68k-opcode.h ==> opcode/m68k.h + m88k-opcode.h ==> opcode/m88k.h + mips-opcode.h ==> opcode/mips.h + np1-opcode.h ==> opcode/np1.h + ns32k-opcode.h ==> opcode/ns32k.h + pn-opcode.h ==> opcode/pn.h + pyr-opcode.h ==> opcode/pyr.h + sparc-opcode.h ==> opcode/sparc.h + tahoe-opcode.h ==> opcode/tahoe.h + vax-opcode.h ==> opcode/vax.h + + + +Wed Nov 27 10:38:31 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * internalcoff.h: (internal_scnhdr) took out #def dependency, now + s_nreloc and s_nlnno are always long. (internal_reloc): allways + has an offset field now. + +Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com) + + * coff-rs6000.h: Lint; use unsigned chars for external fields. + * internalcoff.h: Lint; cast storage classes to signed char. + +Thu Nov 21 21:01:05 1991 Per Bothner (bothner at cygnus.com) + + * stab.def: Remove the GNU extended type codes (e.g. N_SETT). + * aout64.h: The heuristic for distinguishing between + sunos-style and bsd-style ZMAGIC files (wrt. where the + text segment starts) is moved into (the default definition of) + the macro N_HEADER_IN_TEXT. This definition is only used + if no other definition is used - e.g. bfd/newsos3.c defines + N_HEADER_IN_TEXT(x) to be always 0 (as before). + +Thu Nov 21 11:53:03 1991 John Gilmore (gnu at cygnus.com) + + * aout64.h (N_TXTADDR, N_TXTOFF, N_TXTSIZE): New definitions + that should handle all uses. LOGICAL_ versions deleted. + Eliminate N_HEADER_IN_TEXT, using a_entry to determine which + kind of zmagic a.out file we are looking at. + * coff-rs6000.h: Typo. + +Tue Nov 19 18:43:37 1991 Per Bothner (bothner at cygnus.com) + + (Note: This is a revised entry, as was aout64.h.) + * aout64.h: Some cleanups of N_TXTADDR and N_TXTOFF: + Will now work for both old- and new-style ZMAGIC files, + depending on N_HEADER_IN_TEXT macro. + Add LOGICAL_TXTADDR, LOICAL_TXTOFF and LOGICAL_TXTSIZE + that don't count the exec header as part + of the text segment, to be consistent with bfd. + * a.out.sun4.h: Simplified/fixed for previous change. + +Mon Nov 18 00:02:06 1991 Fred Fish (fnf at cygnus.com) + + * dwarf.h: Update to DWARF draft 5 version from gcc2. + +Thu Nov 14 19:44:59 1991 Per Bothner (bothner at cygnus.com) + + * stab.def: Added defs for extended GNU symbol types, + such as N_SETT. These are normally ifdef'd out (because + of conflicts with a.out.gnu.h), but are used by bfb_stab_name(). + +Thu Nov 14 19:17:03 1991 Fred Fish (fnf at cygnus.com) + + * elf-common.h: Add defines to support ELF symbol table code. + +Mon Nov 11 19:01:06 1991 Fred Fish (fnf at cygnus.com) + + * elf-internal.h, elf-external.h, elf-common.h: Add support for + note sections, which are used in ELF core files to hold copies + of various /proc structures. + +Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com) + + * internalcoff.h: took out the M88 dependency in the lineno + struct. + * coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use + 32bit linno entries. + * a29k-opcode.h: fixed encoding of mtacc + +Sun Nov 3 11:54:22 1991 Per Bothner (bothner at cygnus.com) + + * bfd.h: Updated from ../bfd/bfd-in.h (q.v). + +Fri Nov 1 11:13:53 1991 John Gilmore (gnu at cygnus.com) + + * internalcoff.h: Add x_csect defines. + +Fri Oct 25 03:18:20 1991 John Gilmore (gnu at cygnus.com) + + * Rename COFF-related files in `coff-ARCH.h' form. + coff-a29k.h, coff-i386.h, coff-i960.h, coff-m68k.h, coff-m88k.h, + coff-mips.h, coff-rs6000.h to be exact. + +Thu Oct 24 22:11:11 1991 John Gilmore (gnu at cygnus.com) + + RS/6000 support, by Metin G. Ozisik, Mimi PhûÎng-ThÄo VÔ, and + John Gilmore. + + * a.out.gnu.h: Update slightly. + * bfd.h: Add new error code, fix doc, add bfd_arch_rs6000. + * internalcoff.h: Add more F_ codes for filehdr. Add + rs/6000-dependent fields to aouthdr. Add storage classes + to syments. Add 6000-specific auxent. Add r_size in reloc. + * rs6000coff.c: New file. + +Thu Oct 24 04:13:20 1991 Fred Fish (fnf at cygnus.com) + + * dwarf.h: New file for dwarf support. Copied from gcc2 + distribution. + +Wed Oct 16 13:31:45 1991 John Gilmore (gnu at cygnus.com) + + * aout64.h: Remove PAGE_SIZE defines; they are target-dependent. + Add N_FN_SEQ for N_FN symbol type used on Sequent machines. + * stab.def: Include N_FN_SEQ in table. + * bout.h: External formats of structures use unsigned chars. + +Fri Oct 11 12:40:43 1991 Steve Chamberlain (steve at cygnus.com) + + * bfd.h:upgrade from bfd.c + * internalcoff.h: add n_name, n_zeroes and n_offset macros + * amdcoff.h: Define OMAGIC and AOUTHDRSZ. + +Fri Oct 11 10:58:06 1991 Per Bothner (bothner at cygnus.com) + + * a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony. + * bfd.h (align_power): Add (actually move) comment. + +Tue Oct 8 15:29:32 1991 Per Bothner (bothner at cygnus.com) + + * sys/h-rtbsd.h: Define MISSING_VFPRINT (for binutils/bucomm.c). + +Sun Oct 6 19:24:39 1991 John Gilmore (gnu at cygnus.com) + + * aout64.h: Move struct internal_exec to ../bfd/libaout.h so + it can be shared by all `a.out-family' code. Rename + EXTERNAL_LIST_SIZE to EXTERNAL_NLIST_SIZE. Use basic types + for nlist members, and make strx integral rather than pointer. + More commentary on n_type values. + * bout.h: Provide a struct external_exec rather than an + internal_exec. + * m68kcoff.h: Remove `tagentries' which snuck in from the i960 + COFF port. + +Fri Oct 4 01:25:59 1991 John Gilmore (gnu at cygnus.com) + + * h8300-opcode.h: Remove `_enum' from the typedef for an enum. + * bfd.h: Update to match bfd changes. + + * sys/h-i386mach.h, sysdep.h: Add 386 Mach host support. + +Tue Oct 1 04:58:42 1991 John Gilmore (gnu at cygnus.com) + + * bfd.h, elf-common.h, elf-external.h, elf-internal.h: + Add preliminary ELF support, sufficient for GDB, from Fred Fish. + * sysdep.h, sys/h-amix.h: Support Amiga SVR4. + + * sys/h-vaxult.h: Make it work. (David Taylor ) + * a.out.vax.h: Remove unused and confusing file. + +Mon Sep 30 12:52:35 1991 Per Bothner (bothner at cygnus.com) + + * sysdep.h: Define NEWSOS3_SYS, and use it. + +Fri Sep 20 13:38:21 1991 John Gilmore (gnu at cygnus.com) + + * a.out.gnu.h (N_FN): Its value *really is* 0x1F. + Fix it, and add comments warning about or-ing N_EXT with it + and/or N_WARNING. + * aout64.h (N_FN): Fix value, add comments about N_EXT. + * stab.def (table at end): Update to show all the type + values <0x20, including low order bits. Move N_FN to + its rightful place. + +Tue Sep 17 17:41:37 1991 Stu Grossman (grossman at cygnus.com) + + * sys/h-irix3.h: sgi/irix support. + +Tue Sep 17 07:52:59 1991 John Gilmore (gnu at cygint.cygnus.com) + + * stab.def (N_DEFD): Add GNU Modula-2 debug stab, from Andrew + Beers. + +Thu Sep 12 14:12:59 1991 John Gilmore (gnu at cygint.cygnus.com) + + * internalcoff.h (SYMNMLEN, FILNMLEN, DIMNUM): Define these + for internalcoff, separately from the various external coff's. + * amdcoff.h, bcs88kcoff.h, i386coff.h, intel-coff.h, m68kcoff.h, + m88k-bcs.h: Prefix SYMNMLEN, FILNMLEN, and DIMNUM with E_'s for + the external struct definitions. + * ecoff.h: Remove these #define's, kludge no longer needed. + + * sys/h-ultra3.h: Add new Ultracomputer host. + * sysdep.h: Add ULTRA3_SYM1_SYS and use it. + +Tue Sep 10 10:11:46 1991 John Gilmore (gnu at cygint.cygnus.com) + + * i386coff.h (LINESZ): Always 6, not based on sizeof(). + (Fix from Peter Schauer .) + +Wed Sep 4 08:58:37 1991 John Gilmore (gnu at cygint.cygnus.com) + + * a.out.gnu.h, aout64.h: Add N_WARNING. Change N_FN to 0x0E, + to match SunOS and BSD. Add N_COMM as 0x12 for SunOS shared lib + support. + * stab.def: Add N_COMM to table, fix overlap comment. + +Tue Sep 3 06:29:20 1991 John Gilmore (gnu at cygint.cygnus.com) + + Merge with latest FSF versions of these files. + + * stab.gnu.h: Add LAST_UNUSED_STAB_CODE. + * stab.def: Update to GPL2. Move N_WARNING out, since not a + debug symbol. Change comments, and reorder table to numeric + order. Update final table comment. + (N_DSLINE, N_BSLINE): Renumber from 0x66 and 0x68, to 0x46 and 0x48. + + * obstack.h: GPL2. Merge. + +Fri Aug 23 01:54:23 1991 John Gilmore (gnu at cygint.cygnus.com) + + * a.out.gnu.h, a.out.sun4.h: Make SEGMENT_SIZE able to depend + on the particular a.out being examined. + * a.out.sun4.h: Define segment sizes for Sun-3's and Sun-4's. + * FIXME: a.out.gnu.h is almost obsolete. + * FIXME: a.out.sun4.h should be renamed a.out.sun.h now. + +Wed Aug 21 20:32:13 1991 John Gilmore (gnu at cygint.cygnus.com) + + * Start a ChangeLog for the includes directory. + + * a.out.gnu.h (N_FN): Fix value -- was 15, should be 0x1E. + * stab.def: Update allocation table in comments at end, + to reflect reality as I know it. + + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index d18113d52e9..33163834229 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,1160 +1,9 @@ -2003-12-02 Graham Reed - - * internal.h (C_WEAKEXT): Add alternative value for AIX 5.2 - based targets. - -2003-08-23 Jason Eckhardt - - * coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1, - COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0, - COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ, - COFF860_R_BRADDR): Define new relocation constants and document. - Minor formatting adjustments. - -2003-08-07 Alan Modra - - * ti.h (GET_SCNHDR_NRELOC): Rename PTR param to LOC. - (PUT_SCNHDR_NRELOC, GET_SCNHDR_NLNNO, PUT_SCNHDR_NLNNO): Likewise. - (GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Likewise. - (GET_SCNHDR_PAGE, PUT_SCNHDR_PAGE): Likewise. - -2003-07-17 Jeff Muizelaar - - * pe.h: (IMAGE_FILE_NET_RUN_FROM_SWAP): Define. - (IMAGE_FILE_MACHINE_WCEMIPSV2): Define. - (IMAGE_FILE_MACHINE_SH3DSP): Define. - (IMAGE_FILE_MACHINE_SH3E): Define. - (IMAGE_FILE_MACHINE_SH5): Define. - (IMAGE_FILE_MACHINE_AM33): Define. - (IMAGE_FILE_MACHINE_POWERPCFP): Define. - (IMAGE_FILE_MACHINE_AXP64): Define. - (IMAGE_FILE_MACHINE_TRICORE): Define. - (IMAGE_FILE_MACHINE_CEF): Define. - (IMAGE_FILE_MACHINE_EBC): Define. - (IMAGE_FILE_MACHINE_AMD64): Define. - (IMAGE_FILE_MACHINE_M32R): Define. - (IMAGE_FILE_MACHINE_CEE): Define. - -2003-07-14 Christian Groessler - - * i860.h (AOUTSZ): Define for i860 coff. - -2003-06-29 Andreas Jaeger - - * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes. - - * ecoff.h: Convert to ISO C90 prototypes. Replace PTR by void *. - -2003-04-24 Dhananjay Deshpande - - * coff/h8300.h (H8300HNMAGIC, H8300SNMAGIC): New. - (H8300HNBADMAG, H8300SNBADMAG): New. - -2003-04-15 Rohit Kumar Srivastava - - * sh.h: Replace occurrances of 'Hitachi' with 'Renesas'. - * h8300.h: Likewise. - * h8500.h: Likewise. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * arm.h (ARM_NOTE_SECTION): Define. - -2002-11-30 Alan Modra - - * ecoff.h: Replace boolean with bfd_boolean. - * xcoff.h: Likewise. - -2002-03-18 Tom Rix - - * rs6k64.h: Add U64_TOCMAGIC, AIX 5 64 bit magic number. - -2002-02-01 Tom Rix - - * xcoff.h: Conditionally support for pre AIX 4.3. - -2002-01-31 Ivan Guzvinec - - * or32.h: New file. - -2001-12-24 Tom Rix - - * xcoff.h (xcoff_big_format_p): Make the default archive - format. - (XCOFFARMAG_ELEMENT_SIZE, XCOFFARMAGBIG_ELEMENT_SIZE): Define for - archive header ascii elements. - -2001-12-17 Tom Rix - - * xcoff.h : Add .except and .typchk section string and styp flags. - Fix xcoff_big_format_p macro. - -2001-12-16 Tom Rix - - * xcoff.h : Clean up formatting. - -2002-01-15 Richard Earnshaw - - * arm.h (F_VFP_FLOAT): Define. - -2001-11-11 Timothy Wall - - * ti.h: Move arch-specific stuff from here... - (COFF_ADJUST_SYM_IN/OUT): Optionally put page flag into symbol - value. - * tic54x.h: ...to here. - -2001-10-26 Christian Groessler - - * external.h (GET_LINENO_LNNO): Fix usage of H_GET_32/16. - (PUT_LINENO_LNNO): Likewise with H_PUT_32/16. - -2001-09-21 Nick Clifton - - * ti.h (GET_SCNHDR_PAGE): Fix compile time warning. - -2001-09-18 Alan Modra - - * external.h (GET_LINENO_LNNO): Use H_GET_32/16. - (PUT_LINENO_LNNO): Use H_PUT_32/16. - * m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC, - GET_SCN_NLINNO): Use H_GET_32. - (PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO): - Use H_PUT_32. - * ti.h: Formatting fixes. Make use of H_GET_* and H_PUT_* throughout. - * xcoff.h: White space changes. - -2001-09-05 Tom Rix - - * xcoff.h : Add XCOFF_SYSCALL32 and XCOFF_SYSCALL64 hash table flags. - -2001-08-27 Andreas Jaeger - - * xcoff.h (struct __rtinit): Make proper prototype for rtl. - -Fri Aug 24 01:18:51 2001 J"orn Rennecke - - * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix. - -2001-04-05 Tom Rix - - * rs6000.h : move xcoff32 external structures from xcofflink. - * rs6k64.h : move xcoff64 external structures from xcofflink. - * internal.h : promote 32 bit structure elements to 64 bit - for xcoff64 support - * xcoff.h : New file. - -2001-03-23 Nick Clifton - - * a29k.h: Fix compile time warning. - * external.h: Fix compile time warning. - * m88k.h: Fix compile time warning. - -2001-03-13 Nick Clifton - - * external.h: New file. Common structure definitions found in - other COFF header files. - - * a29k.h: Use external.h. - * apollo.h: Use external.h. - * arm.h: Use external.h. - * h8300.h: Use external.h. - * h8500.h: Use external.h. - * i386.h: Use external.h. - * i860.h: Use external.h. - * ia64.h: Use external.h. - * m68k.h: Use external.h. - * m88k.h: Use external.h. - * mcore.h: Use external.h. - * mips.h: Use external.h. - * mipspe.h: Use external.h. - * powerpc.h: Use external.h. - * rs6000.h: Use external.h. - * rs6k64.h: Use external.h. - * sh.h: Use external.h. - * sparc.h: Use external.h. - * tic30.h: Use external.h. - * tic80.h: Use external.h. - * w65.h: Use external.h. - * we32k.h: Use external.h. - * z8k.h: Use external.h. - -2001-02-09 David Mosberger - - * pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ. - Rename from PEPAOUTHDR. - -2001-01-23 H.J. Lu - - * pe.h (struct external_PEI_DOS_hdr): New. - (struct external_PEI_IMAGE_hdr): New. - -2000-12-11 Alan Modra - - * ti.h (OCTETS_PER_BYTE_POWER): Change #warning to #error. - -2000-12-08 Alan Modra - - * ti.h (OCTETS_PER_BYTE_POWER): Change #warn to #warning. - -2000-06-30 DJ Delorie - - * pe.h: Clarify a comment. - -2000-05-05 Clinton Popetz - - * rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC. - -2000-04-24 Clinton Popetz - - * rs6k64.h: New file. - -2000-04-17 Timothy Wall - - * ti.h: Load page cleanup. - * intental.h: Add load page field. - -Mon Apr 17 16:44:01 2000 David Mosberger - - * pe.h (PEP64AOUTHDR): New header for PE+. - (PEP64AOUTSZ): New macro. - (IMAGE_SUBSYSTEM_UNKNOWN): New macro. - (IMAGE_SUBSYSTEM_NATIVE): Ditto. - (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. - (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. - (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. - (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. - (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. - (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. - (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. - * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined - already. - * ia64.h: New file. - -2000-04-13 Alan Modra - - * ti.h (ADDR_MASK): Don't use ul suffix on constants. - (PG_MASK): Ditto. - -2000-04-11 Timothy Wall - - * ti.h: Remove load page references until load pages are - reimplemented. - * tic54x.h: Ditto. - -2000-04-07 Timothy Wall - - * internal.h: Fix some comments related to TI COFF (instead of tic80). - * ti.h: New. - * tic54x.h: New. - -Wed Apr 5 22:08:41 2000 J"orn Rennecke - - * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. - -2000-03-15 Kazu Hirata - - * internal.h: Fix a typo in the comment for R_MOVL2. - -2000-02-28 Nick Clifton - - * mipspe.h (MIPS_PE_MAGIC): Define. - * sh.h (SH_PE_MAGIC): Define. - -2000-02-22 Nick Clifton DJ Delorie - - * sh.h: Add Windows CE definitions. - * arm.h: Add Windows CE definitions. - * mipspe.h: New file: Windows CE definitions for MIPS. - * pe.h: Add constants for ILF support. - -2000-01-05 Nick Clifton - - * pe.h: Fix formatting of comments. - (IMAGE_FILE_AGGRESSIVE_WS_TRIM): Define. - (IMAGE_FILE_LARGE_ADDRESS_AWARE): Define. - (IMAGE_FILE_16BIT_MACHINE): Define. - (IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP): Define. - (IMAGE_FILE_UP_SYSTEM_ONLY): Define. - (IMAGE_FILE_MACHINE_UNKNOWN): Define. - (IMAGE_FILE_MACHINE_ALPHA): Define. - (IMAGE_FILE_MACHINE_ALPHA64): Define. - (IMAGE_FILE_MACHINE_I386): Define. - (IMAGE_FILE_MACHINE_IA64): Define. - (IMAGE_FILE_MACHINE_M68K): Define. - (IMAGE_FILE_MACHINE_MIPS16): Define. - (IMAGE_FILE_MACHINE_MIPSFPU): Define. - (IMAGE_FILE_MACHINE_MIPSFPU16): Define. - (IMAGE_FILE_MACHINE_POWERPC): Define. - (IMAGE_FILE_MACHINE_R3000): Define. - (IMAGE_FILE_MACHINE_R4000): Define. - (IMAGE_FILE_MACHINE_R10000): Define. - (IMAGE_FILE_MACHINE_SH3): Define. - (IMAGE_FILE_MACHINE_SH4): Define. - (IMAGE_FILE_MACHINE_THUMB): Define. - -1999-09-20 Alan Modra - - * internal.h: Delete bogus R_PCLONG, duplicate R_RELBYTE and - R_RELWORD, and rewrite some R_* as decimal. - -1999-09-06 Donn Terry - - * internal.h (DTYPE): Define. - * pe.h (struct external_PEI_filehdr): Rename from - external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not - defined. - -1999-07-17 Nick Clifton - - * arm.h (F_SOFT_FLOAT): Rename from F_SOFTFLOAT. - -1999-06-21 Philip Blundell - - * arm.h (F_SOFTFLOAT): Define. - -1999-07-05 Nick Clifton - - * arm.h (F_ARM_5): Define. - -Wed Jun 2 18:08:18 1999 Richard Henderson - - * internal.h (BEOS_EXE_IMAGE_BASE, BEOS_DLL_IMAGE_BASE): New. - -Mon May 17 13:35:35 1999 Stan Cox - - * arm.h (F_PIC, F_ARM_2, F_ARM_2a, F_ARM_3, F_ARM_3M, - F_ARM_4, F_ARM_4T, F_APCS26): Changed values to distinguish - F_ARM_2a, F_ARM_3M, F_ARM_4T. - -1999-05-15 Nick Clifton - - * mcore.h (IMAGE_REL_MCORE_RVA): Define. - -1999-04-21 Nick Clifton - - * mcore.h (GET_LINENO_LNNO): New macro. - (PUT_LINENO_LNNO): New macro. - -1999-04-08 Nick Clifton - - * mcore.h: New header file. Defines for Motorola's MCore - processor. - -Sun Dec 6 21:36:37 1998 Mark Elbrecht - - * internal.h (C_WEAKEXT): Define. - -Wed Jan 27 13:35:35 1999 Stan Cox - - * arm.h (F_PIC_INT, F_ARM_2, F_ARM_3, F_ARM_4, F_APCS26): - Changed values to avoid clashing with IMAGE_FILE_* coff header - flag values. - -Wed Apr 1 16:06:15 1998 Nick Clifton - - * internal.h: Document numbers associated with Thumb symbol - types. - -Fri Mar 27 17:16:57 1998 Ian Lance Taylor - - * internal.h (ISPTR, ISFCN, ISARY): Add casts to unsigned long. - -Mon Feb 2 17:10:38 1998 Steve Haworth - - * tic30.h: New file. - -Fri Dec 12 11:49:07 1997 Fred Fish - - * tic80.h (R_MPPCR15W): New relocation type, for 15 bit PC relative - offsets. - -Tue Dec 2 10:21:40 1997 Nick Clifton - - * arm.h (COFFARM): New define. - -Mon Dec 1 20:24:18 1997 J"orn Rennecke - - * sh.h (R_SH_SWITCH8): New. - -Sat Nov 22 15:10:14 1997 Nick Clifton - - * internal.h (C_THUMBEXTFUNC, C_THUMBSTATFUNC): Constants to - define static and external functions. - - * arm.h: Add bits to support PIC and APCS-FLOAT type binaries, - when implemented. - -Fri Oct 3 14:25:17 1997 Fred Fish - - * tic80.h (R_PPL16B): Make constant uppercase for consistency. - -Tue Jul 22 18:18:58 1997 Robert Hoehne - - * go32exe.h: New file. - -Tue Jul 8 12:23:55 1997 Fred Fish - - * tic80.h (TIC80_TARGET_ID): Add define. - * internal.h (struct internal_filehdr): Add f_target_id field. - -Tue Jun 3 16:44:18 1997 Nick Clifton - - * internal.h: Add storage classes for Thumb symbols - -Mon May 26 14:07:55 1997 Ian Lance Taylor - - * tic80.h (R_PPL16B): Correct value. - -Tue May 13 10:21:14 1997 Nick Clifton - - * arm.h (constants): Added new flag bits F_APCS_26 and - F_APCS_SET for the f_flags field of the filehdr structure. Added new - flags: F_APCS26, F_ARM_2, F_ARM_3, F_ARM_7, F_ARM_7T to store - information in the flags field of the internal_f structure used by BFD - routines. - -Sat May 3 08:24:59 1997 Fred Fish - - * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM): - New storage classes for TIc80. - -Fri Apr 18 11:52:55 1997 Niklas Hallqvist - - * alpha.h (ALPHA_ECOFF_BADMAG): Recognize *BSD/alpha magic too. - (ALPHA_R_LITERALSLEAZY): Define. - * ecoff.h (ALPHA_MAGIC_BSD): Define. - -Wed Jan 29 11:31:51 1997 Ian Lance Taylor - - * i960.h (R_IPR13, R_ALIGN): Define. - -Mon Jan 27 13:34:30 1997 Ian Lance Taylor - - * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitions - from here... - * i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here. - -Wed Jan 22 20:10:47 1997 Fred Fish - - * tic80.h (TIC80MAGIC): Renamed to TIC80_AOUTHDR_MAGIC. - -Fri Dec 27 22:05:45 1996 Fred Fish - - * tic80.h: New file for TIc80 support. - -Thu Dec 19 16:18:11 1996 Ian Lance Taylor - - * arm.h (_LIT): Define. - -Fri Jun 28 12:54:38 1996 Ian Lance Taylor - - * pe.h (FILHSZ): Define. - -Wed Jun 26 16:24:26 1996 Ian Lance Taylor - - * All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ, - AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of - sizeof. Define AOUTHDRSZ in all files. - * pe.h (AOUTSZ): Define by adding to AOUTHDRSZ. - -Fri Jun 21 11:17:46 1996 Richard Henderson - - * alpha.h: Add declarations for relocation types added for Alpha - OSF/1 3.0. - -Tue Jun 18 16:04:29 1996 Jeffrey A. Law - - * h8300.h (H8300SMAGIC): Define. - (H8300SBADMAG): Define. - -Mon Jun 10 11:53:28 1996 Jeffrey A Law (law@cygnus.com) - - * internal.h (R_BCC_INV, R_JMP_DEL): New relocations for - relaxing in the H8/300 series. - -Thu May 16 15:49:22 1996 Ian Lance Taylor - - * sh.h (R_SH_CODE, R_SH_DATA, R_SH_LABEL): Define. - -Tue May 7 00:36:39 1996 Jeffrey A Law (law@cygnus.com) - - * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to be - consistent with other similar relocs. - - * internal.h (H8/300 specific relocs): Add comments better - explaining what each reloc is used for. - (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2. - (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2. - (R_MOVL1, R_MOVL2): New relocs. - -Fri May 3 13:01:12 1996 Jeffrey A Law (law@cygnus.com) - - * internal.h (R_PCRWORD_B): Define for the h8300 relaxing - linker. - -Wed May 1 19:21:03 1996 Ian Lance Taylor - - * internal.h (SCNNMLEN): Define. - (struct internal_scnhdr): Use SCNNMLEN for s_name field. - -Fri Mar 29 13:41:25 1996 Ian Lance Taylor - - * pe.h: Define IMAGE_COMDAT codes. - -Wed Mar 27 17:29:42 1996 Ian Lance Taylor - - * arm.h (union external_auxent): Add x_checksum, x_associated, and - x_comdat fields to x_scn struct. - * i386.h (union external_auxent): Likewise. - * powerpc.h (union external_auxent): Likewise. - * internal.h (union internal_auxent): Likewise. - -Thu Mar 21 16:25:57 1996 David Mosberger-Tang - - * ecoff.h (struct ecoff_find_line): Add caching fields. - -Thu Mar 14 15:22:44 1996 Jeffrey A Law (law@cygnus.com) - - * internal.h (R_MEM_INDIRECT): New reloc for the h8300. - -Fri Feb 9 10:44:11 1996 Ian Lance Taylor - - * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS - systems which think that aux is a com port. - -Mon Feb 5 18:35:00 1996 Ian Lance Taylor - - * i960.h (F_I960HX): Define. - -Wed Jan 31 13:11:54 1996 Richard Henderson - - * aux.h: New file. - * internal.h, m68k.h: Protect against multiple inclusion. - -Wed Nov 22 13:48:39 1995 Ian Lance Taylor - - * ecoff.h (_RCONST, STYP_RCONST, RELOC_SECTION_RCONST): Define. - (NUM_RELOC_SECTIONS): Update. - * symconst.h (scRConst): Define. - -Tue Nov 14 18:54:29 1995 Ian Lance Taylor - - * internal.h (C_NT_WEAK): Define. - -Thu Nov 9 14:08:30 1995 Ian Lance Taylor - - * rs6000.h (STYP_OVRFLO): Define. - -Tue Nov 7 14:38:45 1995 Kim Knuttila - - * powerpc.h (IMAGE_NT_OPTIONAL_HDR_MAGIC): Added define. - * pe.h: Added defines for file level flags - -Mon Nov 6 17:28:01 1995 Harry Dolan - - * i860.h: New file, based on i386.h. - -Wed Nov 1 15:25:18 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 - - * m68k.h (PAGEMAGICEXECSWAPPED): Define. - (PAGEMAGICPEXECSWAPPED): Define. - (PAGEMAGICPEXECTSHLIB): Define. - (PAGEMAGICPEXECPAGED): Define. - (_COMMENT): DEFINE. - * m88k.h (_COMMENT): Define. - -Wed Oct 18 18:36:19 1995 Geoffrey Noer - - * sym.h: #if 0'd out runtime_pdr struct because it chokes - Visual C++ and there aren't any references to it elsewhere in gdb. - -Mon Oct 16 11:12:24 1995 Ian Lance Taylor - - * rs6000.h (SMALL_AOUTSZ): Define. - - * internal.h (XMC_TD): Define. - -Tue Oct 10 18:41:03 1995 Ian Lance Taylor - - * internal.h (struct internal_aouthdr): Add o_cputype field. - * rs6000.h (AOUTHDR): Rename o_resv1 to o_cputype. - -Mon Oct 9 14:45:46 1995 Ian Lance Taylor - - * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments. - (_PAD, _LOADER): Define. - (STYP_LOADER): Define. - * internal.h (struct internal_aouthdr): Add o_maxdata field. - -Thu Oct 5 10:02:57 1995 Ian Lance Taylor - - * ecoff.h: Define section name macros and STYP macros for various - Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic, - .comment, .liblist, .dynamic. - -Wed Oct 4 10:56:35 1995 Kim Knuttila - - * pe.h: Moved DOSMAGIC and NT_SIGNATURE defines here - * powerpc.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines - Also removed other unused defines (various MAGIC ones) - * i386.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines - * arm.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines - * apollo.h: removed unused DEFAULT_* defines - * alpha.h: removed unused DEFAULT_* defines - * h8500.h: removed unused DEFAULT_* defines - * h8300.h: removed unused DEFAULT_* defines - * i960.h: removed unused DEFAULT_* defines - * m88k.h: removed unused DEFAULT_* defines - * we32k.h: removed unused DEFAULT_* defines - * rs6000.h: removed unused DEFAULT_* defines - * mips.h: removed unused DEFAULT_* defines - * m68k.h: removed unused DEFAULT_* defines - * z8k.h: removed unused DEFAULT_* defines - * w65.h: removed unused DEFAULT_* defines - * sparc.h: removed unused DEFAULT_* defines - * sh.h: removed unused DEFAULT_* defines - -Fri Sep 29 08:40:08 1995 Kim Knuttila - - * powerpc.h: Reformatted to GNU coding conventions. - -Wed Sep 27 06:50:50 1995 Kim Knuttila - - * pe.h: added defines for more section characteristics - * powerpc.h (new file): base coff definitions for ppc PE - -Tue Sep 12 12:08:20 1995 Ian Lance Taylor - - * internal.h (struct internal_syment): Change n_numaux field from - char to unsigned char. - -Fri Sep 1 15:39:36 1995 Kazumoto Kojima - - * mips.h (struct rpdr_ext): Define. - -Thu Aug 31 16:51:50 1995 steve chamberlain - - * internal.h (internal_aouthdr, internal_filehdr): - don't indirect the pe stuff. - -Tue Aug 29 14:16:07 1995 steve chamberlain - - * i386.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Make the same - as 'the other' compiler. - * internal.h (NT_IMAGE_BASE): Deleted. - (NT_EXE_IMAGE_BASE, NT_DLL_IMAGE_BASE): New. - (PE_DEF_SECTION_ALIGNMENT, PE_DEF_FILE_ALIGNMENT): New. - (R_IMAGEBASE): New. - -Mon Aug 21 18:12:19 1995 steve chamberlain - - * internal.h: (internal_filehdr): Moved PE stuff into - internal_extra_pe_filehdr. - (internal_aouthdr): Moved PE stuff into - interanl_extra_pe_aouthdr. - -Mon Jul 24 14:05:39 1995 Ian Lance Taylor - - * internal.h: Move R_SH_* relocs from here... - * sh.h: ...to here. - (R_SH_SWITCH16, R_SH_SWITCH32): Define. - (R_SH_USES, R_SH_COUNT, R_SH_ALIGN): Define. - -Thu Jun 29 00:04:25 1995 Steve Chamberlain - - * internal.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Increase a lot. - -Tue May 16 15:08:20 1995 Ken Raeburn - - * internal.h (NT_subsystem, NT_stack_heap): Delete - -Tue May 16 15:08:20 1995 Ken Raeburn - - * internal.h (NT_subsystem, NT_stack_heap): Now extern. - -Sat May 13 10:14:08 1995 Steve Chamberlain - - * pe.h: New file. - * i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT, - NT_DEF_RESERVE, NT_DEF_COMMIT): New. - * internal.h (internal_filehdr): New fields for PE. - (IMAGE_DATA_DIRECTORY): New. - (internal_aouthdr): New fields for PE. - -Tue Feb 14 17:59:37 1995 Ian Lance Taylor - - * ecoff.h (struct ecoff_fdrtab_entry): Define. - (struct ecoff_find_line): Define. - -Sat Feb 4 14:38:03 1995 David Mosberger-Tang - - * sym.h (struct pdr): field "prof" added. - - * alpha.h (PDR_BITS1_PROF_*): added, macros for PDR_BITS*_RESERVED_* - updated accordingly. - -Sun Jan 15 18:38:33 1995 Steve Chamberlain - - * w65.h: New file. - -Wed Nov 23 22:43:38 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * sh.h (SH_ARCH_MAGIC_BIG, SH_ARCH_MAGIC_LITTLE): New. - (SHBADMAG): Changed to suit. - -Tue Jul 26 17:46:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i960.h (F_I960JX): New macro. - -Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * alpha.h: Add definitions for alpha file header flags, encoding - the object type of the file. - -Mon Jun 20 13:47:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ecoff.h (ecoff_swap_tir_in): Remove declaration. - (ecoff_swap_tir_out): Likewise. - (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise. - (struct ecoff_debug_swap): Add new fields: swap_tir_in, - swap_rndx_in, swap_tir_out, swap_rndx_out, read_debug_info. - -Sun Jun 12 03:51:52 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * symconst.h: Pick up SGI define for stIndirect. - -Fri Apr 22 13:05:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (REGINFO): Don't define. - (struct ecoff_reginfo): Don't define. - - * sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used by - several targets to mean a shared library. - (SHBADMAG): Corresponding change. - -Thu Apr 14 13:00:53 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (RELOC_BITS3_TYPE_BIG): Changed from 0x1e to 0x3e. - (RELOC_BITS3_TYPEHI_LITTLE): Define. - (RELOC_BITS3_TYPEHI_SH_LITTLE): Define. - (MIPS_R_PCREL16): Change value from 8 to 12 to match Irix 4. - (MIPS_R_RELHI): Define. - (MIPS_R_RELLO): Define. - (MIPS_R_SWITCH): Change value from 9 to 22. - -Thu Apr 7 14:19:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (MIPS_R_SWITCH): Define. - -Thu Mar 31 19:28:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * internal.h (internal_aouthdr): Added comments for Apollo fields. - -Thu Mar 31 16:28:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4. - -Fri Mar 25 17:16:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (struct ecoff_debug_info): Add adjust field. - (struct ecoff_value_adjust): Define. - -Tue Mar 22 13:22:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (MIPS_R_PCREL16): Define. - -Sat Feb 26 10:26:38 1994 Ian Lance Taylor (ian@cygnus.com) - - * ecoff.h: Add casts to avoid warnings from SVR4 cc. - -Mon Feb 21 09:48:46 1994 Ian Lance Taylor (ian@lisa.cygnus.com) - - * sym.h (struct runtime_pdr): Make field adr bfd_vma, not unsigned - long. - (SYMR): Make field value bfd_vma, not long. - -Fri Feb 4 23:35:53 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * rs6000.h (STYP_DEBUG): Define. - -Wed Feb 2 14:31:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * internal.h (union internal_auxent): Change x_csect.x_scnlen into - a union of a long and a pointer to a symbol. XCOFF sometimes uses - this field as a symbol index. - -Mon Jan 10 23:54:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (ecoff_debug_info): Remove fields line_end, - external_dnr_end, external_pdr_end, external_sym_end, - external_opt_end, external_aux_end, ss_end, external_fdr_end. - Replace ifdbase with ifdmap. - -Wed Jan 5 17:05:36 1994 Ken Raeburn (raeburn@deneb.cygnus.com) - - * ecoff.h (STYP_EXTENDESC, STYP_COMMENT, STYP_XDATA, STYP_PDATA): - Define. - -Wed Jan 5 16:58:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (NUM_RELOC_SECTIONS): Define. - -Tue Dec 21 09:24:56 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * sparc.h (struct external_reloc): Rename field r_addend to - r_offset. - -Sat Dec 11 16:12:32 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h (R_DISP7, R_SH_IMM16): New reloc types. - -Tue Nov 23 14:23:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (struct ecoff_debug_swap): Added *_end fields for all - the symbolic information pointers. - - * sym.h: Named the EXTR structure ecoff_extr. - -Fri Nov 19 08:21:18 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * sparc.h (RELSZ): Use correct size. - -Wed Nov 17 17:18:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (struct ecoff_debug_info): Define. - -Tue Nov 2 17:56:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (struct ecoff_debug_swap): Define. - -Thu Oct 28 17:07:50 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * i386.h (I386LYNXMAGIC): Rename to LYNXCOFFMAGIC. - * m68k.h (LYNXCOFFMAGIC): Define. - * sparc.h: New file. - -Tue Oct 19 15:34:50 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * alpha.h (external_aouthdr): Split four byte padding field into - two byte bldrev field and two byte padding field. - - * ecoff.h (_LITA, _PDATA, _XDATA, STYP_LITA): Defined. - -Wed Oct 13 15:52:34 1993 Ken Raeburn (raeburn@cygnus.com) - - Sun Oct 10 17:27:10 1993 Troy Rollo (troy@cbme.unsw.edu.au) - - * internal.h: Added o_sri, o_inlib and o_vid for Apollos as well - as R_DIR16. - - * apollo.h: New file - -Mon Oct 11 17:16:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (REGINFO, struct ecoff_reginfo): Define. - -Tue Oct 5 10:52:53 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * rs6000.h: Change non-ASCII characters in comment to octal - escapes. - -Tue Sep 28 03:27:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * ecoff.h (_FINI, STYP_ECOFF_FINI): Add to support .fini section. - -Fri Sep 24 11:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3. - * ecoff.h: Define MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3. - -Thu Sep 23 21:07:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2. - * ecoff.h: Define MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2. - -Thu Sep 16 20:27:21 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) - - * sym.h, symconst.h: Add comment stating these files are not part - of GDB, GAS, etc. In 1991, when we asked rms whether we could - include these files in GDB (although they are copyrighted by - someone besides the FSF), he said it was OK if they were not - considered part of GDB. - -Fri Sep 10 17:40:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (AUX_PUT_ANY): Cast val argument to bfd_vma. - - * alpha.c (external_aouthdr): Need four bytes of padding between - vstamp and tsize. - -Tue Sep 7 14:20:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further - change in bfd swapping routine names. - -Tue Sep 7 10:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd - changes. - -Fri Aug 13 14:30:32 1993 Ian Lance Taylor (ian@cygnus.com) - - * ecoff.h (RELOC_SECTION_NONE): Define. - -Thu Aug 12 11:24:42 1993 Ian Lance Taylor (ian@cygnus.com) - - * alpha.h (struct external_reloc): Add r_symndx field. - (RELSZ): Correct. - (RELOC_BITS*): Correct. - (ALPHA_R_*): Define. - * ecoff.h (RELOC_SECTION_{XDATA,PDATA,FINI,LITA,ABS}): Define. - (r_extern): Undefine. - * internal.h (struct internal_reloc): Make r_vaddr bfd_vma rather - than long. Add r_extern field. - - * alpha.h (PDR_BITS*): Define. - * sym.h (PDR): Give correct names to new fields. - - * ecoff.h: Moved MIPS reloc definitions from here... - * mips.h: to here. - -Mon Aug 2 16:37:14 1993 Stu Grossman (grossman at cygnus.com) - - * i386.h: Add Lynx magic number. - -Tue Aug 3 11:17:53 1993 Ian Lance Taylor (ian@cygnus.com) - - * alpha.h: Corrected external symbolic debugging structures to - match actual usage. - * internal.h (internal_filehdr, internal_aouthdr, - internal_scnhdr): Changed type of some fields to bfd_vma so they - can hold 64 bits. - * sym.h (HDRR, FDR, PDR, EXTR): Likewise. - (PDR): Added new fields found on Alpha. - * symconst.h (magicSym2): Define; new value found on Alpha. - - * ecoff.h: New file. - * alpha.h, mips.h: Moved common information into ecoff.h. Moved - external structure definitions in from ecoff-ext.h. - * ecoff-ext.h: Removed; information now in alpha.h and mips.h. - -Sun Jul 18 21:43:59 1993 Jim Kingdon (kingdon@rtl.cygnus.com) - - * i386.h: Recognize I386PTXMAGIC. - -Fri Jul 16 09:54:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC. - -Thu Jul 15 12:23:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m88k.h (union external_auxent): Move x_fcn back inside x_fcnary. - ({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly. - -Sun Jul 11 18:00:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * m68k.h: Define MC68KBCSMAGIC. - -Thu Jun 10 11:46:28 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h (_INIT, STYP_MIPS_INIT): Define (used on Irix4). - (STYP_OTHER_LOAD): Define as STYP_MIPS_INIT. - -Wed Jun 9 15:09:09 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h (OMAGIC): Define. - -Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - Support for H8/300-H - * h8300.h: New magic number. - * internal.h: New relocations. - -Mon Apr 26 18:04:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h, sh.h: Support for SH. - -Sat Apr 24 21:34:59 1993 Jim Kingdon (kingdon@cygnus.com) - - * a29k.h: Define _LIT. - -Fri Apr 23 18:41:23 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * alpha.h: New file. - -Thu Apr 8 12:36:34 1993 Ian Lance Taylor (ian@cygnus.com) - - * internal.h (C_SHADOW, C_VERSION): Copied in from m88k.h. - * m88k.h, i386.h, we32k.h: Don't define all the storage classes; - they're already in internal.h. - -Wed Apr 7 11:51:24 1993 Jim Kingdon (kingdon@cygnus.com) - - * internal.h: Change n_sclass to unsigned char. - Change C_EFCN to 0xff, change RS/6000 dbx symbols - to no longer be signed. - -Fri Mar 19 14:52:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h: Add H8/500 reloc types. - -Wed Mar 17 09:46:03 1993 Ian Lance Taylor (ian@cygnus.com) - - * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of - conditional expression. - -Thu Mar 4 14:12:06 1993 Ian Lance Taylor (ian@cygnus.com) - - * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY. - (AUX_PUT_*): New macros corresponding to the AUX_GET macros. - (ecoff_swap_tir_out): Added prototype. - - * mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these - are needed to interpret gcc debugging output. - -Tue Feb 9 07:43:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * we32k.h (BTYPE, ISPTR, ISFCN, ISARY, DECREF): Removed - more definitions duplicated in internal.h. - -Wed Feb 3 09:18:24 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h (RELOC_BITS3_TYPE_*): Correct for big endian machines. - -Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com) - - * internal.h (internal_aouthdr): Added additional fields used only - by MIPS ECOFF. - -Thu Jan 21 10:28:38 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h (AOUTHDR): Added additional fields used by ECOFF. - -Tue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i386.h, we32k.h (N_*, T_*, DT_*): Removed still more definitions - duplicated in internal.h. - - * mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF - relocs. - -Fri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff-ext.h: Added prototypes for new ECOFF swapping functions. - (opt_ext): New structure. - * mips.h (ZMAGIC): Defined to be 0413. - (_LIB): Defined to be ".lib" - (external_reloc): MIPS ECOFF relocs are only 8 bytes. Added - macros to aid in swapping. - -Fri Jan 8 16:19:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ecoff-ext.h: Added prototypes for ECOFF swapping functions. - * internal.h (internal_scnhdr): Always provide s_align field, not - just on i960. - (internal_reloc): Always provide r_size field, not just on - RS/6000. - * mips.h (_RDATA, _SDATA, _SBSS, _LIT4, _LIT8, STYP_RDATA, - STYP_SDATA, STYP_SBSS, STYP_LIT4, STYP_LIT8): Defined. - (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB, - STABS_SYMBOL): Moved in from gdb/mipsread.c. - -Wed Jan 6 14:01:46 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i386.h, we32k.h: removed STYP_* defines, since they duplicated - those in internal.h. - -Tue Dec 29 15:40:07 1992 Ian Lance Taylor (ian@cygnus.com) - - * i386.h: define I386AIXMAGIC for Danbury AIX PS/2 compiler. - -Sat Dec 12 16:07:57 1992 Ian Lance Taylor (ian@cygnus.com) - - * i386.h: don't define BTYPE, ISPTR, ISFCN, ISARY, DECREF: they - are defined in internal.h. - -Thu Nov 12 09:52:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h: (internal_reloc): r_offset is now a long. - * z8k.h: slight comment enhancement - -Wed Sep 30 07:46:08 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h: changed z8k reloc types - -Fri Aug 28 10:16:31 1992 Brendan Kehoe (brendan@cygnus.com) - - * we32k.h: new file - -Thu Aug 27 13:00:01 1992 Brendan Kehoe (brendan@cygnus.com) - - * symconst.h: comment out cruft at the end of #endif - -Tue Aug 25 15:06:49 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h: added #define for STYP_LIT, removed from a29k and - h8300. - - * z8k.h: added z8000 support - -Thu Jul 16 16:32:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * internal.h: added R_RELLONG_NEG reloc type - -Fri Jun 12 20:11:04 1992 John Gilmore (gnu at cygnus.com) - - * symconst.h: Fix unterminated comment. - -Wed Jun 10 07:57:49 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * i386.h: a.out magic numbers from - mohring@informatik.tu-muenchen.de - -Mon Jun 8 20:13:33 1992 John Gilmore (gnu at cygnus.com) - - * ecoff-ext.h, mips.h: Use unsigned chars everywhere. - (Suggested by Antti Miettinen.) - -Tue Apr 14 15:18:44 1992 John Gilmore (gnu at cygnus.com) - - * sym.h: Add comments. - * symconst.h: Merge with Fred's changes. - -Tue Apr 14 14:30:05 1992 Fred Fish (fnf@cygnus.com) - - * symconst.h: Pick up SGI defines for stStruct, stUnion, stEnum, - langCplusplus, and langCplusplusV2. - -Thu Apr 2 19:47:43 1992 John Gilmore (gnu at cygnus.com) - - * sym.h, symconst.h: MIPS has provided redistributable versions - of these files. Thanks! - * ecoff-ext.h: Add weakext bit to match new sym.h. - -Fri Mar 6 00:10:46 1992 John Gilmore (gnu at cygnus.com) - - * ecoff-ext.h: Add relative file descriptors. - -Thu Feb 27 11:53:04 1992 John Gilmore (gnu at cygnus.com) - - * ecoff-ext.h: New file for external (in-file) form of ecoff - symbol structures. - -Thu Feb 6 11:33:32 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * h8300.h: made the external_lineno l_lnno field 4 bytes wide. - andded GET/PUT_LINENO_LNNO macros - -Sat Nov 30 20:38:35 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * a29k.h, h8300.h, i386.h, i960.h, internal.h, m68k.h, m88k.h, - mips.h, rs6000.h: Move from above coff-.h. +For older changes see ChangeLog-9103 Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/include/coff/ChangeLog-9103 b/include/coff/ChangeLog-9103 new file mode 100644 index 00000000000..d18113d52e9 --- /dev/null +++ b/include/coff/ChangeLog-9103 @@ -0,0 +1,1160 @@ +2003-12-02 Graham Reed + + * internal.h (C_WEAKEXT): Add alternative value for AIX 5.2 + based targets. + +2003-08-23 Jason Eckhardt + + * coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1, + COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0, + COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ, + COFF860_R_BRADDR): Define new relocation constants and document. + Minor formatting adjustments. + +2003-08-07 Alan Modra + + * ti.h (GET_SCNHDR_NRELOC): Rename PTR param to LOC. + (PUT_SCNHDR_NRELOC, GET_SCNHDR_NLNNO, PUT_SCNHDR_NLNNO): Likewise. + (GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Likewise. + (GET_SCNHDR_PAGE, PUT_SCNHDR_PAGE): Likewise. + +2003-07-17 Jeff Muizelaar + + * pe.h: (IMAGE_FILE_NET_RUN_FROM_SWAP): Define. + (IMAGE_FILE_MACHINE_WCEMIPSV2): Define. + (IMAGE_FILE_MACHINE_SH3DSP): Define. + (IMAGE_FILE_MACHINE_SH3E): Define. + (IMAGE_FILE_MACHINE_SH5): Define. + (IMAGE_FILE_MACHINE_AM33): Define. + (IMAGE_FILE_MACHINE_POWERPCFP): Define. + (IMAGE_FILE_MACHINE_AXP64): Define. + (IMAGE_FILE_MACHINE_TRICORE): Define. + (IMAGE_FILE_MACHINE_CEF): Define. + (IMAGE_FILE_MACHINE_EBC): Define. + (IMAGE_FILE_MACHINE_AMD64): Define. + (IMAGE_FILE_MACHINE_M32R): Define. + (IMAGE_FILE_MACHINE_CEE): Define. + +2003-07-14 Christian Groessler + + * i860.h (AOUTSZ): Define for i860 coff. + +2003-06-29 Andreas Jaeger + + * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes. + + * ecoff.h: Convert to ISO C90 prototypes. Replace PTR by void *. + +2003-04-24 Dhananjay Deshpande + + * coff/h8300.h (H8300HNMAGIC, H8300SNMAGIC): New. + (H8300HNBADMAG, H8300SNBADMAG): New. + +2003-04-15 Rohit Kumar Srivastava + + * sh.h: Replace occurrances of 'Hitachi' with 'Renesas'. + * h8300.h: Likewise. + * h8500.h: Likewise. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * arm.h (ARM_NOTE_SECTION): Define. + +2002-11-30 Alan Modra + + * ecoff.h: Replace boolean with bfd_boolean. + * xcoff.h: Likewise. + +2002-03-18 Tom Rix + + * rs6k64.h: Add U64_TOCMAGIC, AIX 5 64 bit magic number. + +2002-02-01 Tom Rix + + * xcoff.h: Conditionally support for pre AIX 4.3. + +2002-01-31 Ivan Guzvinec + + * or32.h: New file. + +2001-12-24 Tom Rix + + * xcoff.h (xcoff_big_format_p): Make the default archive + format. + (XCOFFARMAG_ELEMENT_SIZE, XCOFFARMAGBIG_ELEMENT_SIZE): Define for + archive header ascii elements. + +2001-12-17 Tom Rix + + * xcoff.h : Add .except and .typchk section string and styp flags. + Fix xcoff_big_format_p macro. + +2001-12-16 Tom Rix + + * xcoff.h : Clean up formatting. + +2002-01-15 Richard Earnshaw + + * arm.h (F_VFP_FLOAT): Define. + +2001-11-11 Timothy Wall + + * ti.h: Move arch-specific stuff from here... + (COFF_ADJUST_SYM_IN/OUT): Optionally put page flag into symbol + value. + * tic54x.h: ...to here. + +2001-10-26 Christian Groessler + + * external.h (GET_LINENO_LNNO): Fix usage of H_GET_32/16. + (PUT_LINENO_LNNO): Likewise with H_PUT_32/16. + +2001-09-21 Nick Clifton + + * ti.h (GET_SCNHDR_PAGE): Fix compile time warning. + +2001-09-18 Alan Modra + + * external.h (GET_LINENO_LNNO): Use H_GET_32/16. + (PUT_LINENO_LNNO): Use H_PUT_32/16. + * m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC, + GET_SCN_NLINNO): Use H_GET_32. + (PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO): + Use H_PUT_32. + * ti.h: Formatting fixes. Make use of H_GET_* and H_PUT_* throughout. + * xcoff.h: White space changes. + +2001-09-05 Tom Rix + + * xcoff.h : Add XCOFF_SYSCALL32 and XCOFF_SYSCALL64 hash table flags. + +2001-08-27 Andreas Jaeger + + * xcoff.h (struct __rtinit): Make proper prototype for rtl. + +Fri Aug 24 01:18:51 2001 J"orn Rennecke + + * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix. + +2001-04-05 Tom Rix + + * rs6000.h : move xcoff32 external structures from xcofflink. + * rs6k64.h : move xcoff64 external structures from xcofflink. + * internal.h : promote 32 bit structure elements to 64 bit + for xcoff64 support + * xcoff.h : New file. + +2001-03-23 Nick Clifton + + * a29k.h: Fix compile time warning. + * external.h: Fix compile time warning. + * m88k.h: Fix compile time warning. + +2001-03-13 Nick Clifton + + * external.h: New file. Common structure definitions found in + other COFF header files. + + * a29k.h: Use external.h. + * apollo.h: Use external.h. + * arm.h: Use external.h. + * h8300.h: Use external.h. + * h8500.h: Use external.h. + * i386.h: Use external.h. + * i860.h: Use external.h. + * ia64.h: Use external.h. + * m68k.h: Use external.h. + * m88k.h: Use external.h. + * mcore.h: Use external.h. + * mips.h: Use external.h. + * mipspe.h: Use external.h. + * powerpc.h: Use external.h. + * rs6000.h: Use external.h. + * rs6k64.h: Use external.h. + * sh.h: Use external.h. + * sparc.h: Use external.h. + * tic30.h: Use external.h. + * tic80.h: Use external.h. + * w65.h: Use external.h. + * we32k.h: Use external.h. + * z8k.h: Use external.h. + +2001-02-09 David Mosberger + + * pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ. + Rename from PEPAOUTHDR. + +2001-01-23 H.J. Lu + + * pe.h (struct external_PEI_DOS_hdr): New. + (struct external_PEI_IMAGE_hdr): New. + +2000-12-11 Alan Modra + + * ti.h (OCTETS_PER_BYTE_POWER): Change #warning to #error. + +2000-12-08 Alan Modra + + * ti.h (OCTETS_PER_BYTE_POWER): Change #warn to #warning. + +2000-06-30 DJ Delorie + + * pe.h: Clarify a comment. + +2000-05-05 Clinton Popetz + + * rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC. + +2000-04-24 Clinton Popetz + + * rs6k64.h: New file. + +2000-04-17 Timothy Wall + + * ti.h: Load page cleanup. + * intental.h: Add load page field. + +Mon Apr 17 16:44:01 2000 David Mosberger + + * pe.h (PEP64AOUTHDR): New header for PE+. + (PEP64AOUTSZ): New macro. + (IMAGE_SUBSYSTEM_UNKNOWN): New macro. + (IMAGE_SUBSYSTEM_NATIVE): Ditto. + (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. + (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. + (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. + (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. + (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. + (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. + (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. + * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined + already. + * ia64.h: New file. + +2000-04-13 Alan Modra + + * ti.h (ADDR_MASK): Don't use ul suffix on constants. + (PG_MASK): Ditto. + +2000-04-11 Timothy Wall + + * ti.h: Remove load page references until load pages are + reimplemented. + * tic54x.h: Ditto. + +2000-04-07 Timothy Wall + + * internal.h: Fix some comments related to TI COFF (instead of tic80). + * ti.h: New. + * tic54x.h: New. + +Wed Apr 5 22:08:41 2000 J"orn Rennecke + + * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. + +2000-03-15 Kazu Hirata + + * internal.h: Fix a typo in the comment for R_MOVL2. + +2000-02-28 Nick Clifton + + * mipspe.h (MIPS_PE_MAGIC): Define. + * sh.h (SH_PE_MAGIC): Define. + +2000-02-22 Nick Clifton DJ Delorie + + * sh.h: Add Windows CE definitions. + * arm.h: Add Windows CE definitions. + * mipspe.h: New file: Windows CE definitions for MIPS. + * pe.h: Add constants for ILF support. + +2000-01-05 Nick Clifton + + * pe.h: Fix formatting of comments. + (IMAGE_FILE_AGGRESSIVE_WS_TRIM): Define. + (IMAGE_FILE_LARGE_ADDRESS_AWARE): Define. + (IMAGE_FILE_16BIT_MACHINE): Define. + (IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP): Define. + (IMAGE_FILE_UP_SYSTEM_ONLY): Define. + (IMAGE_FILE_MACHINE_UNKNOWN): Define. + (IMAGE_FILE_MACHINE_ALPHA): Define. + (IMAGE_FILE_MACHINE_ALPHA64): Define. + (IMAGE_FILE_MACHINE_I386): Define. + (IMAGE_FILE_MACHINE_IA64): Define. + (IMAGE_FILE_MACHINE_M68K): Define. + (IMAGE_FILE_MACHINE_MIPS16): Define. + (IMAGE_FILE_MACHINE_MIPSFPU): Define. + (IMAGE_FILE_MACHINE_MIPSFPU16): Define. + (IMAGE_FILE_MACHINE_POWERPC): Define. + (IMAGE_FILE_MACHINE_R3000): Define. + (IMAGE_FILE_MACHINE_R4000): Define. + (IMAGE_FILE_MACHINE_R10000): Define. + (IMAGE_FILE_MACHINE_SH3): Define. + (IMAGE_FILE_MACHINE_SH4): Define. + (IMAGE_FILE_MACHINE_THUMB): Define. + +1999-09-20 Alan Modra + + * internal.h: Delete bogus R_PCLONG, duplicate R_RELBYTE and + R_RELWORD, and rewrite some R_* as decimal. + +1999-09-06 Donn Terry + + * internal.h (DTYPE): Define. + * pe.h (struct external_PEI_filehdr): Rename from + external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not + defined. + +1999-07-17 Nick Clifton + + * arm.h (F_SOFT_FLOAT): Rename from F_SOFTFLOAT. + +1999-06-21 Philip Blundell + + * arm.h (F_SOFTFLOAT): Define. + +1999-07-05 Nick Clifton + + * arm.h (F_ARM_5): Define. + +Wed Jun 2 18:08:18 1999 Richard Henderson + + * internal.h (BEOS_EXE_IMAGE_BASE, BEOS_DLL_IMAGE_BASE): New. + +Mon May 17 13:35:35 1999 Stan Cox + + * arm.h (F_PIC, F_ARM_2, F_ARM_2a, F_ARM_3, F_ARM_3M, + F_ARM_4, F_ARM_4T, F_APCS26): Changed values to distinguish + F_ARM_2a, F_ARM_3M, F_ARM_4T. + +1999-05-15 Nick Clifton + + * mcore.h (IMAGE_REL_MCORE_RVA): Define. + +1999-04-21 Nick Clifton + + * mcore.h (GET_LINENO_LNNO): New macro. + (PUT_LINENO_LNNO): New macro. + +1999-04-08 Nick Clifton + + * mcore.h: New header file. Defines for Motorola's MCore + processor. + +Sun Dec 6 21:36:37 1998 Mark Elbrecht + + * internal.h (C_WEAKEXT): Define. + +Wed Jan 27 13:35:35 1999 Stan Cox + + * arm.h (F_PIC_INT, F_ARM_2, F_ARM_3, F_ARM_4, F_APCS26): + Changed values to avoid clashing with IMAGE_FILE_* coff header + flag values. + +Wed Apr 1 16:06:15 1998 Nick Clifton + + * internal.h: Document numbers associated with Thumb symbol + types. + +Fri Mar 27 17:16:57 1998 Ian Lance Taylor + + * internal.h (ISPTR, ISFCN, ISARY): Add casts to unsigned long. + +Mon Feb 2 17:10:38 1998 Steve Haworth + + * tic30.h: New file. + +Fri Dec 12 11:49:07 1997 Fred Fish + + * tic80.h (R_MPPCR15W): New relocation type, for 15 bit PC relative + offsets. + +Tue Dec 2 10:21:40 1997 Nick Clifton + + * arm.h (COFFARM): New define. + +Mon Dec 1 20:24:18 1997 J"orn Rennecke + + * sh.h (R_SH_SWITCH8): New. + +Sat Nov 22 15:10:14 1997 Nick Clifton + + * internal.h (C_THUMBEXTFUNC, C_THUMBSTATFUNC): Constants to + define static and external functions. + + * arm.h: Add bits to support PIC and APCS-FLOAT type binaries, + when implemented. + +Fri Oct 3 14:25:17 1997 Fred Fish + + * tic80.h (R_PPL16B): Make constant uppercase for consistency. + +Tue Jul 22 18:18:58 1997 Robert Hoehne + + * go32exe.h: New file. + +Tue Jul 8 12:23:55 1997 Fred Fish + + * tic80.h (TIC80_TARGET_ID): Add define. + * internal.h (struct internal_filehdr): Add f_target_id field. + +Tue Jun 3 16:44:18 1997 Nick Clifton + + * internal.h: Add storage classes for Thumb symbols + +Mon May 26 14:07:55 1997 Ian Lance Taylor + + * tic80.h (R_PPL16B): Correct value. + +Tue May 13 10:21:14 1997 Nick Clifton + + * arm.h (constants): Added new flag bits F_APCS_26 and + F_APCS_SET for the f_flags field of the filehdr structure. Added new + flags: F_APCS26, F_ARM_2, F_ARM_3, F_ARM_7, F_ARM_7T to store + information in the flags field of the internal_f structure used by BFD + routines. + +Sat May 3 08:24:59 1997 Fred Fish + + * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM): + New storage classes for TIc80. + +Fri Apr 18 11:52:55 1997 Niklas Hallqvist + + * alpha.h (ALPHA_ECOFF_BADMAG): Recognize *BSD/alpha magic too. + (ALPHA_R_LITERALSLEAZY): Define. + * ecoff.h (ALPHA_MAGIC_BSD): Define. + +Wed Jan 29 11:31:51 1997 Ian Lance Taylor + + * i960.h (R_IPR13, R_ALIGN): Define. + +Mon Jan 27 13:34:30 1997 Ian Lance Taylor + + * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitions + from here... + * i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here. + +Wed Jan 22 20:10:47 1997 Fred Fish + + * tic80.h (TIC80MAGIC): Renamed to TIC80_AOUTHDR_MAGIC. + +Fri Dec 27 22:05:45 1996 Fred Fish + + * tic80.h: New file for TIc80 support. + +Thu Dec 19 16:18:11 1996 Ian Lance Taylor + + * arm.h (_LIT): Define. + +Fri Jun 28 12:54:38 1996 Ian Lance Taylor + + * pe.h (FILHSZ): Define. + +Wed Jun 26 16:24:26 1996 Ian Lance Taylor + + * All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ, + AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of + sizeof. Define AOUTHDRSZ in all files. + * pe.h (AOUTSZ): Define by adding to AOUTHDRSZ. + +Fri Jun 21 11:17:46 1996 Richard Henderson + + * alpha.h: Add declarations for relocation types added for Alpha + OSF/1 3.0. + +Tue Jun 18 16:04:29 1996 Jeffrey A. Law + + * h8300.h (H8300SMAGIC): Define. + (H8300SBADMAG): Define. + +Mon Jun 10 11:53:28 1996 Jeffrey A Law (law@cygnus.com) + + * internal.h (R_BCC_INV, R_JMP_DEL): New relocations for + relaxing in the H8/300 series. + +Thu May 16 15:49:22 1996 Ian Lance Taylor + + * sh.h (R_SH_CODE, R_SH_DATA, R_SH_LABEL): Define. + +Tue May 7 00:36:39 1996 Jeffrey A Law (law@cygnus.com) + + * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to be + consistent with other similar relocs. + + * internal.h (H8/300 specific relocs): Add comments better + explaining what each reloc is used for. + (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2. + (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2. + (R_MOVL1, R_MOVL2): New relocs. + +Fri May 3 13:01:12 1996 Jeffrey A Law (law@cygnus.com) + + * internal.h (R_PCRWORD_B): Define for the h8300 relaxing + linker. + +Wed May 1 19:21:03 1996 Ian Lance Taylor + + * internal.h (SCNNMLEN): Define. + (struct internal_scnhdr): Use SCNNMLEN for s_name field. + +Fri Mar 29 13:41:25 1996 Ian Lance Taylor + + * pe.h: Define IMAGE_COMDAT codes. + +Wed Mar 27 17:29:42 1996 Ian Lance Taylor + + * arm.h (union external_auxent): Add x_checksum, x_associated, and + x_comdat fields to x_scn struct. + * i386.h (union external_auxent): Likewise. + * powerpc.h (union external_auxent): Likewise. + * internal.h (union internal_auxent): Likewise. + +Thu Mar 21 16:25:57 1996 David Mosberger-Tang + + * ecoff.h (struct ecoff_find_line): Add caching fields. + +Thu Mar 14 15:22:44 1996 Jeffrey A Law (law@cygnus.com) + + * internal.h (R_MEM_INDIRECT): New reloc for the h8300. + +Fri Feb 9 10:44:11 1996 Ian Lance Taylor + + * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS + systems which think that aux is a com port. + +Mon Feb 5 18:35:00 1996 Ian Lance Taylor + + * i960.h (F_I960HX): Define. + +Wed Jan 31 13:11:54 1996 Richard Henderson + + * aux.h: New file. + * internal.h, m68k.h: Protect against multiple inclusion. + +Wed Nov 22 13:48:39 1995 Ian Lance Taylor + + * ecoff.h (_RCONST, STYP_RCONST, RELOC_SECTION_RCONST): Define. + (NUM_RELOC_SECTIONS): Update. + * symconst.h (scRConst): Define. + +Tue Nov 14 18:54:29 1995 Ian Lance Taylor + + * internal.h (C_NT_WEAK): Define. + +Thu Nov 9 14:08:30 1995 Ian Lance Taylor + + * rs6000.h (STYP_OVRFLO): Define. + +Tue Nov 7 14:38:45 1995 Kim Knuttila + + * powerpc.h (IMAGE_NT_OPTIONAL_HDR_MAGIC): Added define. + * pe.h: Added defines for file level flags + +Mon Nov 6 17:28:01 1995 Harry Dolan + + * i860.h: New file, based on i386.h. + +Wed Nov 1 15:25:18 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 + + * m68k.h (PAGEMAGICEXECSWAPPED): Define. + (PAGEMAGICPEXECSWAPPED): Define. + (PAGEMAGICPEXECTSHLIB): Define. + (PAGEMAGICPEXECPAGED): Define. + (_COMMENT): DEFINE. + * m88k.h (_COMMENT): Define. + +Wed Oct 18 18:36:19 1995 Geoffrey Noer + + * sym.h: #if 0'd out runtime_pdr struct because it chokes + Visual C++ and there aren't any references to it elsewhere in gdb. + +Mon Oct 16 11:12:24 1995 Ian Lance Taylor + + * rs6000.h (SMALL_AOUTSZ): Define. + + * internal.h (XMC_TD): Define. + +Tue Oct 10 18:41:03 1995 Ian Lance Taylor + + * internal.h (struct internal_aouthdr): Add o_cputype field. + * rs6000.h (AOUTHDR): Rename o_resv1 to o_cputype. + +Mon Oct 9 14:45:46 1995 Ian Lance Taylor + + * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments. + (_PAD, _LOADER): Define. + (STYP_LOADER): Define. + * internal.h (struct internal_aouthdr): Add o_maxdata field. + +Thu Oct 5 10:02:57 1995 Ian Lance Taylor + + * ecoff.h: Define section name macros and STYP macros for various + Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic, + .comment, .liblist, .dynamic. + +Wed Oct 4 10:56:35 1995 Kim Knuttila + + * pe.h: Moved DOSMAGIC and NT_SIGNATURE defines here + * powerpc.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines + Also removed other unused defines (various MAGIC ones) + * i386.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines + * arm.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines + * apollo.h: removed unused DEFAULT_* defines + * alpha.h: removed unused DEFAULT_* defines + * h8500.h: removed unused DEFAULT_* defines + * h8300.h: removed unused DEFAULT_* defines + * i960.h: removed unused DEFAULT_* defines + * m88k.h: removed unused DEFAULT_* defines + * we32k.h: removed unused DEFAULT_* defines + * rs6000.h: removed unused DEFAULT_* defines + * mips.h: removed unused DEFAULT_* defines + * m68k.h: removed unused DEFAULT_* defines + * z8k.h: removed unused DEFAULT_* defines + * w65.h: removed unused DEFAULT_* defines + * sparc.h: removed unused DEFAULT_* defines + * sh.h: removed unused DEFAULT_* defines + +Fri Sep 29 08:40:08 1995 Kim Knuttila + + * powerpc.h: Reformatted to GNU coding conventions. + +Wed Sep 27 06:50:50 1995 Kim Knuttila + + * pe.h: added defines for more section characteristics + * powerpc.h (new file): base coff definitions for ppc PE + +Tue Sep 12 12:08:20 1995 Ian Lance Taylor + + * internal.h (struct internal_syment): Change n_numaux field from + char to unsigned char. + +Fri Sep 1 15:39:36 1995 Kazumoto Kojima + + * mips.h (struct rpdr_ext): Define. + +Thu Aug 31 16:51:50 1995 steve chamberlain + + * internal.h (internal_aouthdr, internal_filehdr): + don't indirect the pe stuff. + +Tue Aug 29 14:16:07 1995 steve chamberlain + + * i386.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Make the same + as 'the other' compiler. + * internal.h (NT_IMAGE_BASE): Deleted. + (NT_EXE_IMAGE_BASE, NT_DLL_IMAGE_BASE): New. + (PE_DEF_SECTION_ALIGNMENT, PE_DEF_FILE_ALIGNMENT): New. + (R_IMAGEBASE): New. + +Mon Aug 21 18:12:19 1995 steve chamberlain + + * internal.h: (internal_filehdr): Moved PE stuff into + internal_extra_pe_filehdr. + (internal_aouthdr): Moved PE stuff into + interanl_extra_pe_aouthdr. + +Mon Jul 24 14:05:39 1995 Ian Lance Taylor + + * internal.h: Move R_SH_* relocs from here... + * sh.h: ...to here. + (R_SH_SWITCH16, R_SH_SWITCH32): Define. + (R_SH_USES, R_SH_COUNT, R_SH_ALIGN): Define. + +Thu Jun 29 00:04:25 1995 Steve Chamberlain + + * internal.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Increase a lot. + +Tue May 16 15:08:20 1995 Ken Raeburn + + * internal.h (NT_subsystem, NT_stack_heap): Delete + +Tue May 16 15:08:20 1995 Ken Raeburn + + * internal.h (NT_subsystem, NT_stack_heap): Now extern. + +Sat May 13 10:14:08 1995 Steve Chamberlain + + * pe.h: New file. + * i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT, + NT_DEF_RESERVE, NT_DEF_COMMIT): New. + * internal.h (internal_filehdr): New fields for PE. + (IMAGE_DATA_DIRECTORY): New. + (internal_aouthdr): New fields for PE. + +Tue Feb 14 17:59:37 1995 Ian Lance Taylor + + * ecoff.h (struct ecoff_fdrtab_entry): Define. + (struct ecoff_find_line): Define. + +Sat Feb 4 14:38:03 1995 David Mosberger-Tang + + * sym.h (struct pdr): field "prof" added. + + * alpha.h (PDR_BITS1_PROF_*): added, macros for PDR_BITS*_RESERVED_* + updated accordingly. + +Sun Jan 15 18:38:33 1995 Steve Chamberlain + + * w65.h: New file. + +Wed Nov 23 22:43:38 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * sh.h (SH_ARCH_MAGIC_BIG, SH_ARCH_MAGIC_LITTLE): New. + (SHBADMAG): Changed to suit. + +Tue Jul 26 17:46:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i960.h (F_I960JX): New macro. + +Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * alpha.h: Add definitions for alpha file header flags, encoding + the object type of the file. + +Mon Jun 20 13:47:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ecoff.h (ecoff_swap_tir_in): Remove declaration. + (ecoff_swap_tir_out): Likewise. + (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise. + (struct ecoff_debug_swap): Add new fields: swap_tir_in, + swap_rndx_in, swap_tir_out, swap_rndx_out, read_debug_info. + +Sun Jun 12 03:51:52 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * symconst.h: Pick up SGI define for stIndirect. + +Fri Apr 22 13:05:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (REGINFO): Don't define. + (struct ecoff_reginfo): Don't define. + + * sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used by + several targets to mean a shared library. + (SHBADMAG): Corresponding change. + +Thu Apr 14 13:00:53 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (RELOC_BITS3_TYPE_BIG): Changed from 0x1e to 0x3e. + (RELOC_BITS3_TYPEHI_LITTLE): Define. + (RELOC_BITS3_TYPEHI_SH_LITTLE): Define. + (MIPS_R_PCREL16): Change value from 8 to 12 to match Irix 4. + (MIPS_R_RELHI): Define. + (MIPS_R_RELLO): Define. + (MIPS_R_SWITCH): Change value from 9 to 22. + +Thu Apr 7 14:19:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (MIPS_R_SWITCH): Define. + +Thu Mar 31 19:28:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * internal.h (internal_aouthdr): Added comments for Apollo fields. + +Thu Mar 31 16:28:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4. + +Fri Mar 25 17:16:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (struct ecoff_debug_info): Add adjust field. + (struct ecoff_value_adjust): Define. + +Tue Mar 22 13:22:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (MIPS_R_PCREL16): Define. + +Sat Feb 26 10:26:38 1994 Ian Lance Taylor (ian@cygnus.com) + + * ecoff.h: Add casts to avoid warnings from SVR4 cc. + +Mon Feb 21 09:48:46 1994 Ian Lance Taylor (ian@lisa.cygnus.com) + + * sym.h (struct runtime_pdr): Make field adr bfd_vma, not unsigned + long. + (SYMR): Make field value bfd_vma, not long. + +Fri Feb 4 23:35:53 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * rs6000.h (STYP_DEBUG): Define. + +Wed Feb 2 14:31:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * internal.h (union internal_auxent): Change x_csect.x_scnlen into + a union of a long and a pointer to a symbol. XCOFF sometimes uses + this field as a symbol index. + +Mon Jan 10 23:54:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (ecoff_debug_info): Remove fields line_end, + external_dnr_end, external_pdr_end, external_sym_end, + external_opt_end, external_aux_end, ss_end, external_fdr_end. + Replace ifdbase with ifdmap. + +Wed Jan 5 17:05:36 1994 Ken Raeburn (raeburn@deneb.cygnus.com) + + * ecoff.h (STYP_EXTENDESC, STYP_COMMENT, STYP_XDATA, STYP_PDATA): + Define. + +Wed Jan 5 16:58:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (NUM_RELOC_SECTIONS): Define. + +Tue Dec 21 09:24:56 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * sparc.h (struct external_reloc): Rename field r_addend to + r_offset. + +Sat Dec 11 16:12:32 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h (R_DISP7, R_SH_IMM16): New reloc types. + +Tue Nov 23 14:23:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (struct ecoff_debug_swap): Added *_end fields for all + the symbolic information pointers. + + * sym.h: Named the EXTR structure ecoff_extr. + +Fri Nov 19 08:21:18 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * sparc.h (RELSZ): Use correct size. + +Wed Nov 17 17:18:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (struct ecoff_debug_info): Define. + +Tue Nov 2 17:56:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (struct ecoff_debug_swap): Define. + +Thu Oct 28 17:07:50 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * i386.h (I386LYNXMAGIC): Rename to LYNXCOFFMAGIC. + * m68k.h (LYNXCOFFMAGIC): Define. + * sparc.h: New file. + +Tue Oct 19 15:34:50 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * alpha.h (external_aouthdr): Split four byte padding field into + two byte bldrev field and two byte padding field. + + * ecoff.h (_LITA, _PDATA, _XDATA, STYP_LITA): Defined. + +Wed Oct 13 15:52:34 1993 Ken Raeburn (raeburn@cygnus.com) + + Sun Oct 10 17:27:10 1993 Troy Rollo (troy@cbme.unsw.edu.au) + + * internal.h: Added o_sri, o_inlib and o_vid for Apollos as well + as R_DIR16. + + * apollo.h: New file + +Mon Oct 11 17:16:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (REGINFO, struct ecoff_reginfo): Define. + +Tue Oct 5 10:52:53 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * rs6000.h: Change non-ASCII characters in comment to octal + escapes. + +Tue Sep 28 03:27:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * ecoff.h (_FINI, STYP_ECOFF_FINI): Add to support .fini section. + +Fri Sep 24 11:53:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3. + * ecoff.h: Define MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3. + +Thu Sep 23 21:07:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2. + * ecoff.h: Define MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2. + +Thu Sep 16 20:27:21 1993 Jim Kingdon (kingdon@cirdan.cygnus.com) + + * sym.h, symconst.h: Add comment stating these files are not part + of GDB, GAS, etc. In 1991, when we asked rms whether we could + include these files in GDB (although they are copyrighted by + someone besides the FSF), he said it was OK if they were not + considered part of GDB. + +Fri Sep 10 17:40:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (AUX_PUT_ANY): Cast val argument to bfd_vma. + + * alpha.c (external_aouthdr): Need four bytes of padding between + vstamp and tsize. + +Tue Sep 7 14:20:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further + change in bfd swapping routine names. + +Tue Sep 7 10:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd + changes. + +Fri Aug 13 14:30:32 1993 Ian Lance Taylor (ian@cygnus.com) + + * ecoff.h (RELOC_SECTION_NONE): Define. + +Thu Aug 12 11:24:42 1993 Ian Lance Taylor (ian@cygnus.com) + + * alpha.h (struct external_reloc): Add r_symndx field. + (RELSZ): Correct. + (RELOC_BITS*): Correct. + (ALPHA_R_*): Define. + * ecoff.h (RELOC_SECTION_{XDATA,PDATA,FINI,LITA,ABS}): Define. + (r_extern): Undefine. + * internal.h (struct internal_reloc): Make r_vaddr bfd_vma rather + than long. Add r_extern field. + + * alpha.h (PDR_BITS*): Define. + * sym.h (PDR): Give correct names to new fields. + + * ecoff.h: Moved MIPS reloc definitions from here... + * mips.h: to here. + +Mon Aug 2 16:37:14 1993 Stu Grossman (grossman at cygnus.com) + + * i386.h: Add Lynx magic number. + +Tue Aug 3 11:17:53 1993 Ian Lance Taylor (ian@cygnus.com) + + * alpha.h: Corrected external symbolic debugging structures to + match actual usage. + * internal.h (internal_filehdr, internal_aouthdr, + internal_scnhdr): Changed type of some fields to bfd_vma so they + can hold 64 bits. + * sym.h (HDRR, FDR, PDR, EXTR): Likewise. + (PDR): Added new fields found on Alpha. + * symconst.h (magicSym2): Define; new value found on Alpha. + + * ecoff.h: New file. + * alpha.h, mips.h: Moved common information into ecoff.h. Moved + external structure definitions in from ecoff-ext.h. + * ecoff-ext.h: Removed; information now in alpha.h and mips.h. + +Sun Jul 18 21:43:59 1993 Jim Kingdon (kingdon@rtl.cygnus.com) + + * i386.h: Recognize I386PTXMAGIC. + +Fri Jul 16 09:54:35 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC. + +Thu Jul 15 12:23:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m88k.h (union external_auxent): Move x_fcn back inside x_fcnary. + ({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly. + +Sun Jul 11 18:00:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * m68k.h: Define MC68KBCSMAGIC. + +Thu Jun 10 11:46:28 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (_INIT, STYP_MIPS_INIT): Define (used on Irix4). + (STYP_OTHER_LOAD): Define as STYP_MIPS_INIT. + +Wed Jun 9 15:09:09 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (OMAGIC): Define. + +Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + Support for H8/300-H + * h8300.h: New magic number. + * internal.h: New relocations. + +Mon Apr 26 18:04:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h, sh.h: Support for SH. + +Sat Apr 24 21:34:59 1993 Jim Kingdon (kingdon@cygnus.com) + + * a29k.h: Define _LIT. + +Fri Apr 23 18:41:23 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * alpha.h: New file. + +Thu Apr 8 12:36:34 1993 Ian Lance Taylor (ian@cygnus.com) + + * internal.h (C_SHADOW, C_VERSION): Copied in from m88k.h. + * m88k.h, i386.h, we32k.h: Don't define all the storage classes; + they're already in internal.h. + +Wed Apr 7 11:51:24 1993 Jim Kingdon (kingdon@cygnus.com) + + * internal.h: Change n_sclass to unsigned char. + Change C_EFCN to 0xff, change RS/6000 dbx symbols + to no longer be signed. + +Fri Mar 19 14:52:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h: Add H8/500 reloc types. + +Wed Mar 17 09:46:03 1993 Ian Lance Taylor (ian@cygnus.com) + + * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of + conditional expression. + +Thu Mar 4 14:12:06 1993 Ian Lance Taylor (ian@cygnus.com) + + * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY. + (AUX_PUT_*): New macros corresponding to the AUX_GET macros. + (ecoff_swap_tir_out): Added prototype. + + * mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these + are needed to interpret gcc debugging output. + +Tue Feb 9 07:43:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * we32k.h (BTYPE, ISPTR, ISFCN, ISARY, DECREF): Removed + more definitions duplicated in internal.h. + +Wed Feb 3 09:18:24 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (RELOC_BITS3_TYPE_*): Correct for big endian machines. + +Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com) + + * internal.h (internal_aouthdr): Added additional fields used only + by MIPS ECOFF. + +Thu Jan 21 10:28:38 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h (AOUTHDR): Added additional fields used by ECOFF. + +Tue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i386.h, we32k.h (N_*, T_*, DT_*): Removed still more definitions + duplicated in internal.h. + + * mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF + relocs. + +Fri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff-ext.h: Added prototypes for new ECOFF swapping functions. + (opt_ext): New structure. + * mips.h (ZMAGIC): Defined to be 0413. + (_LIB): Defined to be ".lib" + (external_reloc): MIPS ECOFF relocs are only 8 bytes. Added + macros to aid in swapping. + +Fri Jan 8 16:19:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff-ext.h: Added prototypes for ECOFF swapping functions. + * internal.h (internal_scnhdr): Always provide s_align field, not + just on i960. + (internal_reloc): Always provide r_size field, not just on + RS/6000. + * mips.h (_RDATA, _SDATA, _SBSS, _LIT4, _LIT8, STYP_RDATA, + STYP_SDATA, STYP_SBSS, STYP_LIT4, STYP_LIT8): Defined. + (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB, + STABS_SYMBOL): Moved in from gdb/mipsread.c. + +Wed Jan 6 14:01:46 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i386.h, we32k.h: removed STYP_* defines, since they duplicated + those in internal.h. + +Tue Dec 29 15:40:07 1992 Ian Lance Taylor (ian@cygnus.com) + + * i386.h: define I386AIXMAGIC for Danbury AIX PS/2 compiler. + +Sat Dec 12 16:07:57 1992 Ian Lance Taylor (ian@cygnus.com) + + * i386.h: don't define BTYPE, ISPTR, ISFCN, ISARY, DECREF: they + are defined in internal.h. + +Thu Nov 12 09:52:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h: (internal_reloc): r_offset is now a long. + * z8k.h: slight comment enhancement + +Wed Sep 30 07:46:08 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h: changed z8k reloc types + +Fri Aug 28 10:16:31 1992 Brendan Kehoe (brendan@cygnus.com) + + * we32k.h: new file + +Thu Aug 27 13:00:01 1992 Brendan Kehoe (brendan@cygnus.com) + + * symconst.h: comment out cruft at the end of #endif + +Tue Aug 25 15:06:49 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h: added #define for STYP_LIT, removed from a29k and + h8300. + + * z8k.h: added z8000 support + +Thu Jul 16 16:32:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * internal.h: added R_RELLONG_NEG reloc type + +Fri Jun 12 20:11:04 1992 John Gilmore (gnu at cygnus.com) + + * symconst.h: Fix unterminated comment. + +Wed Jun 10 07:57:49 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * i386.h: a.out magic numbers from + mohring@informatik.tu-muenchen.de + +Mon Jun 8 20:13:33 1992 John Gilmore (gnu at cygnus.com) + + * ecoff-ext.h, mips.h: Use unsigned chars everywhere. + (Suggested by Antti Miettinen.) + +Tue Apr 14 15:18:44 1992 John Gilmore (gnu at cygnus.com) + + * sym.h: Add comments. + * symconst.h: Merge with Fred's changes. + +Tue Apr 14 14:30:05 1992 Fred Fish (fnf@cygnus.com) + + * symconst.h: Pick up SGI defines for stStruct, stUnion, stEnum, + langCplusplus, and langCplusplusV2. + +Thu Apr 2 19:47:43 1992 John Gilmore (gnu at cygnus.com) + + * sym.h, symconst.h: MIPS has provided redistributable versions + of these files. Thanks! + * ecoff-ext.h: Add weakext bit to match new sym.h. + +Fri Mar 6 00:10:46 1992 John Gilmore (gnu at cygnus.com) + + * ecoff-ext.h: Add relative file descriptors. + +Thu Feb 27 11:53:04 1992 John Gilmore (gnu at cygnus.com) + + * ecoff-ext.h: New file for external (in-file) form of ecoff + symbol structures. + +Thu Feb 6 11:33:32 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * h8300.h: made the external_lineno l_lnno field 4 bytes wide. + andded GET/PUT_LINENO_LNNO macros + +Sat Nov 30 20:38:35 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * a29k.h, h8300.h, i386.h, i960.h, internal.h, m68k.h, m88k.h, + mips.h, rs6000.h: Move from above coff-.h. + + +Local Variables: +version-control: never +End: diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 713d80d1440..33163834229 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,1914 +1,9 @@ -2003-12-19 Kazuhiro Inaoka - - * elf/m32r.h : Added m32r-linux and PIC support. Add new ABI that - uses RELA. - (R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, - R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, - R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, - R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, - R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, - R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, - R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, - R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, - R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, - R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, - R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, - R_M32R_GOTPC_LO): New relocs. - -2003-12-06 Alan Modra - - From Jan Beulich - * common.h (DT_HIOS): Correct value. - -2003-12-03 Kazuhiro Inaoka - - * elf/m32r.h: Add new machine type m32r2 and instruction modes. - -2003-11-06 Alan Modra - - * ppc.h (R_PPC_RELAX32PC): Define. - -2003-10-22 Alexandre Oliva , - Michael Snyder - - * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New. - (EF_SH_MERGE_MACH): Combine them. - -2003-10-18 Hans-Peter Nilsson - - * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number. - (_bfd_mmix_before_linker_allocation): Rename from - _bfd_mmix_prepare_linker_allocated_gregs. - (_bfd_mmix_after_linker_allocation): Rename from - _bfd_mmix_finalize_linker_allocated_gregs. - -2003-10-06 Dave Brolley - - * frv.h (EF_FRV_CPU_FR550): New macro. - -2003-09-30 Chris Demetriou - - * mips.h (E_MIPS_ARCH_64R2): New define. - -2003-09-23 DJ Delorie - - * sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, - R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces. - (R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, - R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, - R_SH_PSHA, R_SH_PSHL): New. - -2003-09-11 James Cownie - - * dwarf2.h: Add HP dwarf extensions from their hacked gdb - header files (ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz). - -2003-09-04 Nick Clifton - - * v850.h (E_V850E1_ARCH): Define. - -2003-08-21 James Cownie - - * dwarf2.h: Add PGI dwarf extensions. - -2003-08-08 Dmitry Diky - - * msp430.h: Add xW42 and xE42 parts. Sort MPU list according to - gcc order. - -2003-08-07 Alan Modra - - * reloc-macros.h (START_RELOC_NUMBERS) : Remove PARAMS macro. Use - C90 function definition. Formatting. - (RELOC_NUMBER): Remove !__STDC__ code. - -2003-07-28 Eric Christopher - - * ppc.h (R_PPC_RELAX32): New. Fake relocation. - -2003-07-25 H.J. Lu - - * v850.h (SHF_V850_GPREL): New. - (SHF_V850_EPREL): Likewise. - (SHF_V850_R0REL): Likewise. - -2003-07-09 Alexandre Oliva - - 2001-05-16 Alexandre Oliva - * mn10300.h: Introduce GOTPC16, GOTOFF24, GOTOFF16 and - PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32. - Renumbered all relocs. - 2001-04-12 Alexandre Oliva - * mn10300.h (R_MN10300_GOTPC, R_MN10300_GOTOFF, - R_MN10300_PLT32, R_MN10300_GOT32, R_MN10300_GOT24, - R_MN10300_GOT16, R_MN10300_COPY, R_MN10300_GLOB_DAT, - R_MN10300_JMP_SLOT, R_MN10300_RELATIVE): New relocs. - -2003-07-09 Alexandre Oliva - - 2000-04-01 Alexandre Oliva - * mn10300.h (E_MN10300_MACH_AM33_2): Renamed from - E_MN10300_MACH_AM332. - 2000-03-31 Alexandre Oliva - * mn10300.h (E_MN10300_MACH_AM332): Defined. - -2003-07-01 Martin Schwidefsky - - * s390.h (elf_s390_reloc_type): Add long displacement relocations - R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20. - -2003-06-29 Andreas Jaeger - - * mmix.h: Convert to ISO C90 prototypes. - * mips.h: Likewise. - -2003-06-13 Robert Millan - - * common.h (GNU_ABI_TAG_NETBSD): New tag. - (GNU_ABI_TAG_FREEBSD): New tag. - -2003-06-10 Richard Sandiford - - * h8.h (E_H8_MACH_H8300SXN): New flag. - -2003-06-03 Nick Clifton - - * v850.h (R_V850_32): Rename to R_V850_ABS32. - Add R_V850_REL32. - -2003-05-15 Roland McGrath - - * common.h (NT_AUXV, AT_*): New macros. - * external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types. - * internal.h (Elf_Internal_Auxv): New type. - -2003-05-14 Michael Snyder - From Bernd Schmidt - * h8.h (E_H8_MACH_H8300SX): New. - -2003-04-24 Dhananjay Deshpande - - * elf/h8.h (E_H8_MACH_H8300HN, E_H8_MACH_H8300SN): New - -2003-04-23 J"orn Rennecke - - * common.h (EM_SH): Amend comment to refer to SuperH. - -2003-04-22 Kazuhiro Inaoka - - * common.h: Replace references to Mitsubishi M32R with - references to Renesas M32R. - -2003-04-15 Rohit Kumar Srivastava - - * common.h: Replace occurrances of 'Hitachi' with 'Renesas'. - -2003-04-01 Bob Wilson - - * elf/common.h (EM_XTENSA_OLD): Define. - * elf/xtensa.h: New file. - -2003-04-01 Nick Clifton - - * arm.h (ARM_NOTE_SECTION): Include .gnu in the string. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * arm.h (ARM_NOTE_SECTION): Define. - -2003-03-03 J"orn Rennecke - - * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, - and SH2E & SH4 merge to SH4, not SH2E. - -2003-02-21 Ian Wienand - - * ia64.h (SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG, - SHT_IA_64_PRIORITY_INIT): Define. - -2003-02-18 Alan Modra - - * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC. - - * ppc.h: Replace DTPMOD64, TPREL64, DTPREL64 with DTPMOD32 etc. - (IS_PPC_TLS_RELOC): Define. - -2003-02-10 Nick Clifton - - * arm.h (EF_ARM_MAVERICK_FLOAT): Define. - -2003-02-05 Alan Modra - - * ppc.h: Add TLS relocs. Format. - * ppc64.h: Likewise. - -2003-01-27 Alexandre Oliva - - * mips.h (EF_MIPS_XGOT): Define. - -2003-01-24 Martin Schwidefsky - - * s390.h: Add s390 TLS relocations. - -2003-01-23 Nick Clifton - - * Add sh2e support: - - 2002-04-02 Alexandre Oliva - - * sh.h (EF_SH_MERGE_MACH): Handle SH2E. - - 2002-04-02 Elena Zannoni - - * sh.h (EF_SH2E): New. - -2003-01-23 Alan Modra - - * sh.h: Split out various bits to bfd/elf32-sh64.h. - -2003-01-20 Martin Schwidefsky - - * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff, - gotplt and pltoff relocations. - -2003-01-17 Alan Modra - - * common.h: Formatting, typo fixes. - (DT_ENCODING): Correct value. - -2003-01-17 Fabio Alemagna - - * common.h (ELFOSABI_AROS): Define. - (ELFOSABI_OPENVMS): Likewise. - (ELFOSABI_NSK): Likewise. - -2003-01-16 Alan Modra - - * ppc.h: Split out ppc64 definitions to.. - * pcc64.h: ..here. New file. - (R_PPC64_REL30): Rename from R_PPC64_ADDR30. - -2003-01-13 Dmitry Diky - - * elf/common.h (EM_MSP430): Change e_machine value to officially - assigned. - -2003-01-02 Ben Elliston - - * common.h (EM_IQ2000): Define. - * iq2000.h: New file. - -2002-12-30 Chris Demetriou - - * mips.h (E_MIPS_ARCH_32R2): New define. - -2002-12-24 Dmitry Diky - - * common.h: Define msp430 machine numbers. - * msp430.h: New file. Define msp430 relocs. - -2002-12-20 DJ Delorie - - * xstormy16.h: Add XSTORMY16_12. - -2002-12-16 Andrew MacLeod - - * xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers - for R_XSTORMY16_LO16 and R_XSTORMY16_HI16. - -2002-12-10 James Cownie - - * dwarf2.h (DW_TAG_upc_shared_type, DW_TAG_upc_strict_type, - DW_TAG_upc_relaxed_type, DW_AT_upc_threads_scaled, DW_LANG_Upc): - Define. - -2002-12-01 Stephane Carrez - - * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define. - (EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define. - (EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define. - -2002-11-30 Alan Modra - - * mmix.h: Replace boolean with bfd_boolean. - * sh.h: Likewise. - -2002-11-28 Alan Modra - - * internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr, - elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr, - Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr, - elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr, - Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym, - Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note, - elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel, - elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela, - elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela, - elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn, - Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef, - elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed, - elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux, - elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef, - Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux, - Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux, - Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym, - Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete. - (Elf_Internal_Rel): Delete. - -2002-10-11 Kaz Kojima - - * sh.h: Add SH TLS relocs. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - Eric Christopher - Richard Sandiford - - * mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New. - -2002-09-12 Roland McGrath - - * dwarf2.h: Updates from GCC version of thie file: - (enum dwarf_location_atom): DW_OP_calli -> DW_OP_call_ref. - Add DW_OP_GNU_push_tls_address. - (DW_OP_lo_user): Change to 0xe0. - -2002-08-28 Catherine Moore - - * elf/v850.h (R_V850_LONGCALL, R_V850_ALIGN, - R_V850_LONGJUMP): New relocations. - -2002-08-15 Alan Modra - - * i370.h: Define relocs using reloc-macros.h. - -2002-08-13 Stephane Carrez - - * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64, - EF_M68HC11_ABI): Define for ABI specification. - (STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for - linker and debugger. - (R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs. - (R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker - relaxation. - -2002-07-15 Denis Chertykov - Frank Ch. Eigler - Ben Elliston - Alan Lehotsky - John Healy - Graham Stott - Jeff Johnston - - * common.h (EM_IP2K): New macro. - (EM_IP2K_OLD): New macro. - * ip2k.h: New file. - -2002-07-01 Matt Thomas - - * vax.h: Rename EF_* to EF_VAX_*. - -2002-06-18 Dave Brolley - - From Catherine Moore, Michael Meissner, Dave Brolley: - * common.h (EM_CYGNUS_FRV): New macro. - * frv.h: New file. - -2002-06-06 Lars Brinkhoff - - * common.h: Change registry@sco.com to registry@caldera.com. - (EM_PDP10, EM_PDP11): Define. - -2002-06-04 Jason Thorpe - - * sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl) - (_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New - prototypes. - -2002-06-01 Richard Henderson - - * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF, - LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New. - -2002-05-30 Richard Henderson - - * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64, - R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI, - R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64, - R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New. - -2002-05-29 Matt Thomas - - * vax.h: New file - -2002-05-28 Kuang Hwa Lin - - * common.h (EM_DLX): Define. - * dlx.h: New file. - -2002-05-08 Jason Thorpe - - * common.h (NT_GNU_ABI_TAG): Define. - (GNU_ABI_TAG_LINUX): Define. - (GNU_ABI_TAG_HURD): Define. - (GNU_ABI_TAG_SOLARIS): Define. - (NT_NETBSD_IDENT): Define. - (NT_FREEBSD_ABI_TAG): Define. - -2002-04-24 Elena Zannoni - - * dwarf2.h: Add DW_AT_GNU_vector. - -2002-02-13 Matt Fredette - - * m68k.h (EF_M68000): Define. - -2002-02-12 Alan Modra - - * ppc.h (DT_PPC64_OPD, DT_PPC64_OPDSZ): Define. - -2002-02-09 Richard Henderson - - * alpha.h (R_ALPHA_BRSGP): New. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-01-23 Alexandre Oliva - * sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, - R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, - R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, - R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, - R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, - R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, - R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, - R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, - R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, - R_SH_RELATIVE64): New relocs. - (R_SH_FIRST_INVALID_RELOC_4): Adjust. - 2001-05-16 Alexandre Oliva - * sh.h: Renumbered and renamed some SH5 relocations to match - official numbers and names; moved unmaching ones to the range - 0xf2-0xff. - 2001-01-06 Hans-Peter Nilsson - * sh.h (sh64_get_contents_type): Declare. - (sh64_address_is_shmedia): Likewise. - 2000-12-30 Hans-Peter Nilsson - * sh.h (sh64_elf_crange): New type. - (struct sh64_section_data): New. - (sh64_elf_section_data): New macro. - (EF_SH5): Rename back from EF_SH64. - 2000-12-18 Hans-Peter Nilsson - * sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED, - SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE, - SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET, - SH64_CRANGE_CR_TYPE_OFFSET): New macros. - 2000-12-12 Hans-Peter Nilsson - * sh.h (EF_SH64): Don't define EF_SH64_ABI64. - 2000-11-27 Hans-Peter Nilsson - * sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete. - (EF_SH64_ABI64): New. - 2000-11-23 Hans-Peter Nilsson - * sh.h (EF_SH64): Rename from EF_SH5. - (EF_SH64_32BIT_ABI): New. - (EF_SH64_64BIT_ABI): New. - (R_SH_PT_16, R_SH_SHMEDIA_CODE - R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, - R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, - R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, - R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, - R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New - relocs. - 2000-09-01 Ben Elliston - * sh.h (EF_SH5): Define. - -2002-02-01 Hans-Peter Nilsson - - * mmix.h: Tweak comments. - (MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New. - [BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs, - _bfd_mmix_finalize_linker_allocated_gregs, - _bfd_mmix_check_all_relocs): Provide prototypes. - -2002-01-31 Ivan Guzvinec - - * or32.h: New file. - * common.h: Add support for or32 targets. - -2002-01-28 Jason Merrill - - * dwarf2.h: Sync with gcc version. - -2002-01-16 Alan Modra - - * ppc.h (DT_PPC64_GLINK): Define. - -2002-01-15 Richard Earnshaw - - * arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define. - -2002-01-09 Jason Thorpe - - * common.h: Update copyright years. - (NT_NETBSDCORE_PROCINFO): Define. - (NT_NETBSDCORE_FIRSTMACH): Define. - -2002-01-06 Steve Ellcey - - * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX. - (SHT_IA_64_HP_OPT_ANOT): Ditto - (PT_IA_64_HP_OPT_ANOT): Ditto - (PT_IA_64_HP_HSL_ANOT): Ditto - (PT_IA_64_HP_STACK): Ditto - (SHN_IA_64_ANSI_COMMON): Ditto - -2001-12-17 Alan Modra - - * external.h (Elf_External_Sym_Shndx): Declare. - * internal.h (struct elf_internal_sym ): Make it an - unsigned int. - * common.h (SHN_BAD): Define. - -2001-12-13 Jakub Jelinek - - * elf/common.h (PT_GNU_EH_FRAME): Define. - -2001-12-11 Alan Modra - - * common.h (SHN_XINDEX): Comment typo fix. - * internal.h (Elf_Internal_Ehdr): Change existing "unsigned short" - size, count and index fields to "unsigned int". - -2001-12-07 Geoffrey Keating - Richard Henderson - - * common.h (EM_XSTORMY16): Define. - * xstormy16.h: New file. - -2001-11-15 Alan Modra - - * common.h (NT_ARCH): Define. Remove incorrect comment. - -2001-11-11 Geoffrey Keating - - * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes. - -2001-10-30 Hans-Peter Nilsson - - * mmix.h: New file. - -2001-10-23 Alan Modra - - * internal.h: White space changes to keep lines under 80 chars. - -2001-10-16 Jeff Holcomb - - * internal.h (elf_internal_shdr): Make contents a unsigned char *. - -2001-09-18 Alan Modra - - * internal.h (elf_internal_rela): Make r_addend a bfd_vma. - -2001-09-13 Alexandre Oliva - - * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry. - -2001-09-12 Alexandre Oliva - - * common.h (EM_AVR_OLD): Renamed from... - (EM_AVR): this, redefined as in the current ELF standard. - (EM_PJ_OLD): Renamed from... - (EM_PJ): this, redefined as in the current ELF standard. - (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, - EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in - the current ELF standard. - (EM_CYGNUS_ARC): Removed, unused for a long time. - -2001-09-04 Richard Henderson - - * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove. - (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. - -2001-08-30 Eric Christopher - - * mips.h: Remove E_MIPS_MACH_MIPS32_4K. - -2001-08-29 Jeff Law - - * h8.h (EF_H8_MACH): New mask for encoded machine type. - (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New - machine types. - -2001-08-26 J"orn Rennecke - - * h8.h: New file. - -2001-08-27 Staffan Ulfberg - - * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2. - -2001-06-30 Daniel Berlin - - * dwarf2.h: Remerge with gcc version, - including all new DWARF 2.1 extensions. - -2001-06-29 James Cownie - - * dwarf2.h: Add DWARF 2.1 attribues. - -2001-06-15 Per Bothner - - * dwarf2.h: Partial merge with gcc version. - (enum dwarf_descrim_list): Fix typo -> dwarf_discrim_list. - (DW_LANG_Java): Use value from dwarf 2.1 draft (also used in gcc). - -2001-05-15 Ralf Baechle - - * common.h: Remove definition of EM_MIPS_RS4_BE. The constant was - never in active use and is used otherwise by the ABI. - -2001-05-11 Jakub Jelinek - - * ia64.h (ELF_STRING_ia64_unwind_once): Define. - (ELF_STRING_ia64_unwind_info_once): Define. - -2001-05-07 Thiemo Seufer - - * external.h: Fix typo. - * mips.h: Add/Extend many comments with reference to the MIPS ELF64 - spec v. 2.4, available at e.g. - ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps. - (EF_MIPS_UCODE): Define. - (EF_MIPS_OPTIONS_FIRST): Define. - (EF_MIPS_ARCH_ASE): Define. - (EF_MIPS_ARCH_ASE_MDMX): Define. - (EF_MIPS_ARCH_ASE_M16): Define. - (SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32. - (SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64. - (SHF_MIPS_NODUPES): Define. - (ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro. - (ELF64_MIPS_R_TYPE3): Likewise. - (ELF64_MIPS_R_TYPE2): Likewise. - (ELF64_MIPS_R_TYPE): Likewise. - (OHW_R10KLDL): Define. - -2001-04-24 Todd Fries - - * sparc.h: Fix typo. - -2001-04-20 Johan Rydberg - - * openrisc.h: New file. - * common.h (EM_OPENRISC): New constant. - -2001-04-23 Bo Thorsen - - * x86-64.h: Add vtable support. - -2001-03-23 Nick Clifton - - * mips.h: Remove extraneous whitespace. - -2001-03-22 Hans-Peter Nilsson - - * cris.h: Add leading comment about PC-relative location. - (R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, - R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, - R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL): - New relocs. - -2001-02-27 Philip Blundell - - * arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01. - (EF_PIC, et al.): Rename to EF_ARM_xx. - -2001-02-09 Martin Schwidefsky - - * common.h: Add linux target for S/390. - * s390.h: New file. - -2001-01-11 Peter Targett - - * arc.h (E_ARC_MACH_ARC5, E_ARC_MACH_ARC6, E_ARC_MACH_ARC7, - E_ARC_MACH_ARC8): New definitions for cpu types. - - * common.h (EM_ARC): Change comment. - -2000-12-12 Nick Clifton - - * mips.h: Fix formatting. - -2000-12-11 Jeffrey A Law (law@cygnus.com) - - * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux - compatibility. - -2000-10-16 Chris Demetriou - - * mips.h (E_MIPS_ARCH_32): New constant. - (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the - former with the latter. - - * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions. - - * mips.h (E_MIPS_MACH_SB1): New constant. - -2000-11-30 Jan Hubicka - - * common.h (EM_X86_64): New macro. - * x86-64.h: New file. - -2000-11-27 Hans-Peter Nilsson - - * common.h (e_machine numbers): Clarify comments to describe how - EM_* constants are assigned. Move EM_PJ from official section to - ad-hoc section. - (EM_CRIS): Correct comment to match official description. - (EM_MMIX): Ditto. - -2000-11-22 Nick Clifton - - * common.h (EM_JAVELIN): New machine number. - (EM_FIREPATH): New machine number. - (EM_ZSP): New machine number. - (EM_MMIX): New machine number. - (EM_HUANY): New machine number. - (EM_PRISM): New machine number. - (SHT_GROUP): New section type. - (SHT_SYMTAB_SHNDX): New section type. - (SHF_GROUP): New section flag. - (SHN_XINDEX): New section index. - (GRP_COMDAT): New section group flag. - -2000-11-20 H.J. Lu - - * common.h (ELFOSABI_MONTEREY): Renamed to ... - (ELFOSABI_AIX): This. - -2000-11-16 Richard Henderson - - Update relocations per August psABI docs. - * ia64.h (R_IA64_SEGBASE): Remove. - (R_IA64_LTV*): Renumber to 0x74 to 0x77. - (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove. - (R_IA64_TPREL14, R_IA64_TPREL64I): New. - (R_IA64_DTPMOD*): New. - (R_IA64_DTPREL*): New. - -2000-09-29 Hans-Peter Nilsson - - * cris.h (EF_CRIS_UNDERSCORE): New. - -2000-09-27 Alan Modra - - * hppa.h (R_PARISC_DIR14F): Add. - -2000-09-14 Alexandre Oliva - - * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, - R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change - numbers to the range from 160 to 167. - (R_SH_FIRST_INVALID_RELOC): Adjust. - (R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2): - New relocs to fill in the gap. - -2000-09-13 Anders Norlander - - * mips.h (E_MIPS_MACH_4K): New define. - -2000-09-05 Alan Modra - - * hppa.h: Fix a comment. - (R_PARISC_PCREL12F): Define. - (R_PARISC_GNU_VTENTRY): Define. - (R_PARISC_GNU_VTINHERIT): Define. - -2000-09-01 Alexandre Oliva - - * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, - R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs. - (R_SH_FIRST_INVALID_RELOC): Adjust. - -2000-08-14 Jim Wilson - - * ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, - EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define. - -2000-08-07 Nick Clifton - - * ppc.h: Remove spurious CYGNUS LOCAL comments. - * v850.h: Likewise. - -2000-07-22 Jason Eckhardt - - * i860.h: New file. - (elf_i860_reloc_type): Defined ELF32 i860 relocations. - -2000-07-20 Hans-Peter Nilsson - - common.h (EM_CRIS): New machine number. - cris.h: New file. - -2000-07-19 H.J. Lu - - * common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB. - -2000-07-19 H.J. Lu - - * common.h (DT_CHECKSUM): Set to 0x6ffffdf8. - (DTF_1_CONFEXP): It is 0x00000002 as suspected. - -2000-07-19 H.J. Lu - - * common.h (DT_FEATURE): Renamed from DT_FEATURE_1. - (DT_CONFIG): New. From Solaris 8. - (DT_DEPAUDIT): Likewise. - (DT_AUDIT): Likewise. - (DT_PLTPAD): Likewise. - (DT_MOVETAB): Likewise. - (DF_1_NODEPLIB): Likewise. - (DF_1_NODUMP): Likewise. - (DF_1_CONLFAT): Likewise. - (DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8. - (DTF_1_CONFEXP): Likewise. - -2000-07-18 H.J. Lu - - * common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS. - -2000-07-12 Alan Modra - - * internal.h (struct elf_internal_sym): Update comment for st_other. - -2000-07-10 Alan Modra - - * hppa.h: Add comments to all the relocs. - -2000-06-26 Marek Michalkiewicz - - * avr.h (E_AVR_MACH_AVR5): Define. - -2000-06-18 Stephane Carrez - - * m68hc11.h: New file, definitions for the Motorola 68hc11. - -2000-06-06 Alan Modra - - * reloc-macros.h (START_RELOC_NUMBERS): Don't define initial dummy - -1 valued enum. - (RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC): Append rather than - prepend comma. - (END_RELOC_NUMBERS): Give macro an arg to define as last enum. - - * alpha.h (R_ALPHA_max): Define via END_RELOC_NUMBERS rather than - with EMPTY_RELOC. - * arc.h (R_ARC_max): Likewise. - * avr.h (R_AVR_max): Likewise. - * fr30.h (R_FR30_max): Likewise. - * hppa.h (R_PARISC_UNIMPLEMENTED): Likewise. - * i960.h (R_960_max): Likewise. - * m32r.h (R_M32R_max): Likewise. - * m68k.h (R_68K_max): Likewise. - * mcore.h (R_MCORE_max): Likewise. - * mn10300.h (R_MN10300_MAX): Likewise. - * pj.h (R_PJ_max): Likewise. - * ppc.h (R_PPC_max): Likewise. - * sh.h (R_SH_max): Likewise. - * sparc.h (R_SPARC_max): Likewise. - * v850.h (R_V850_max): Likewise. - - * arm.h (R_ARM_max): Define via END_RELOC_NUMBERS. - * d10v.h (R_D10V_max): Likewise. - * d30v.h (R_D30V_max): Likewise. - * ia64.h (R_IA64_max): Likewise. - * mips.h (R_MIPS_maxext): Likewise. - * mn10200.h (R_MN10200_max): Likewise. - - * i386.h (R_386_max): Remove old RELOC_NUMBER definition, and - define via END_RELOC_NUMBERS. - -2000-06-03 Alan Modra - - * reloc-macros.h (START_RELOC_NUMBERS): Fix name clash for - !__STDC__ case. - (RELOC_NUMBER): Use ansi stringify if ALMOST_STDC defined. - -2000-05-22 Richard Henderson - - * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New. - (R_IA64_PCREL22, R_IA64_PCREL64I): New. - -2000-05-02 H.J. Lu - - * common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV. - (ELFOSABI_MODESTO): Defined. - (ELFOSABI_OPENBSD): Likewise. - -2000-04-21 Richard Henderson - David Mosberger - - * ia64.h: New file. - -2000-04-14 H.J. Lu - - * common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64. - -2000-04-14 H.J. Lu - - * common.h (ELFOSABI_NETBSD): Defined. - (ELFOSABI_HURD): Likewise. - (ELFOSABI_SOLARIS): Likewise. - (ELFOSABI_MONTEREY): Likewise. - (ELFOSABI_IRIX): Likewise. - (ELFOSABI_FREEBSD): Likewise. - (ELFOSABI_TRUE64): Likewise. - -2000-04-07 Nick Clifton - - * arm-oabi.h: Delete. - * arm.h: Merge in definitions of old reloc numbers from - arm-oabi.h. - -2000-04-06 Nick Clifton - - * arm.h (EF_ARM_SYMSARESORTED): Define. - (EF_ARM_EABIMASK): Define. - (EF_ARM_EABI_VERSION): Define. - (EF_ARM_EABI_UNKNOWN): Define. - (EF_ARM_EABI_VER1): Define. - (PF_ARM_PI): Define. - (PF_ARM_ABS): Define. - -2000-04-05 J"orn Rennecke - - * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. - -2000-03-27 Denis Chertykov - - * avr.h: New file. AVR ELF support for BFD. - * common.h: Add AVR magic number. - -2000-03-10 Geoffrey Keating - - * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, - R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation - numbers. - -2000-02-23 Linas Vepstas - - * i370.h: New file. - -2000-02-22 Nick Clifton - - * common.h (ELF_ST_OTHER): Remove definition. - (ELF32_ST_OTHER): Remove definition. - (ELF64_ST_OTHER): Remove definition. - -2000-02-22 H.J. Lu - - * common.h (ELFOSABI_LINUX): Define. - -2000-02-17 J"orn Rennecke - - * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros. - (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise. - (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise. - -2000-02-03 H.J. Lu - - * arm-oabi.h: Duplicate changes made to arm.h on Jan. 27, - 2000 by Thomas de Lellis . - -2000-01-27 Thomas de Lellis - - * arm.h (STT_ARM_TFUNC): Define in terms of STT_LOPROC. - (STT_ARM_16BIT): New flag. Denotes a label that was defined in - Thumb block but was does not identify a function. - -2000-01-20 Nick Clifton - - * common.h (EM_MCORE): Fix spelling of Motorola. - * mcore.h (EM_MCORE): Fix spelling of Motorola. - -2000-01-13 Nick Clifton - - * common.h (EM_S370): Change comment - this is now the IBM - System/370. - (EM_IA_64): Change comment - this is now the IA-64. - -2000-01-11 Nick Clifton - - * common.h (DT_ENCODING): Fix definition of this value. - (DT_LOOS): Fix definition of this value. - (DT_HIOS): Fix definition of this value. - (OLD_DT_LOOS): Value of DT_LOOS before Oct 4, 1999 draft - of ELF spec changed it. - (OLD_DT_HIOS): Value of DT_HIOS before Oct 4, 1999 draft - of ELF spec changed it. - -2000-01-10 Egor Duda - - * common.h (NT_WIN32PSTATUS): Define. (cygwin elf core dumps). - -1999-12-28 Nick Clifton - - * mips.h (STO_*): Redefine in terms of STV_* values now in - common.h. - -1999-12-27 Nick Clifton - - * common.h: Upgrade to match Oct4, 1999 Draft ELF ABI Spec. - (EM_MIPS_RS3_LE): New machine number. - (EM_RCE): New machine number. - (EM_MMA): New machine number. - (EM_PCP): New machine number. - (EM_NCPU): New machine number. - (EM_NDR1): New machine number. - (EM_STARCORE): New machine number. - (EM_ME16): New machine number. - (EM_ST100): New machine number. - (EM_TINYJ): New machine number. - (EM_FX66): New machine number. - (EM_ST9PLUS): New machine number. - (EM_ST7): New machine number. - (EM_68HC16): New machine number. - (EM_68HC11): New machine number. - (EM_68HC08): New machine number. - (EM_68HC05): New machine number. - (EM_SVX): New machine number. - (EM_VAX): New machine number. - (PF_MASKOS): Change value. - (SHT_INIT_ARRAY): New value for sh_type field. - (SHT_FINI_ARRAY): New value for sh_type field. - (SHT_PREINIT_ARRAY): New value for sh_type field. - (SHT_HIUSER): Change value. - (SHF_MERGE): New valye for sh_flags field. - (SHF_STRINGS): New valye for sh_flags field. - (SHF_INFO_LINK): New valye for sh_flags field. - (SHF_OS_NONCONFORMING): New valye for sh_flags field. - (SHF_MASKOS): Change value. - (ELF_ST_VISIBILITY): New macro. - (ELF_ST_OTHER): New macro. - (STT_COMMON): New symbol type. - (STV_DEFAULT): Value for symbol visibility. - (STV_INTERNAL): Value for symbol visibility. - (STV_HIDDEN): Value for symbol visibility. - (STV_PROTECTED): Value for symbol visibility. - (DT_RUNPATH): New dynamic section tag. - (DT_FLAGS): New dynamic section tag. - (DT_ENCODING): New dynamic section tag. - (DT_PREINIT_ARRAY): New dynamic section tag. - (DT_PREINIT_ARRAYSZ): New dynamic section tag. - (DT_LOPROC): New dynamic section tag index. - (DT_HIPROC): New dynamic section tag index. - (DF_ORIGIN): Value for dynamic section flag. - (DF_SYMBOLIC): Value for dynamic section flag. - (DF_TEXTREL): Value for dynamic section flag. - (DF_BIND_NOW): Value for dynamic section flag. - -1999-12-09 Fred Fish - - * i960.h (reloc-macros.h): Include using relative dir elf/. - * i386.h (reloc-macros.h): Include using relative dir elf/. - * hppa.h (reloc-macros.h): Include using relative dir elf/. - -1999-12-07 Jim Blandy - - * common.h (NT_PRXFPREG): New definition. - -Wed Dec 1 03:02:15 1999 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (E_MN10300_MACH_AM33): Define. - -Mon Oct 11 22:42:37 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (PF_HP_PAGE_SIZE): Define. - (PF_HP_FAR_SHARED, PF_HP_NEAR_SHARED, PF_HP_CODE): Likewise. - (PF_HP_MODIFY, PF_HP_LAZYSWAP, PF_HP_SBP): Likewise. - -Mon Oct 4 17:42:38 1999 Doug Evans - - * m32r.h (E_M32RX_ARCH): Define. - -1999-09-15 Ulrich Drepper - - * hppa.h: Add DT_HP_GST_SIZE, DT_HP_GST_VERSION, and DT_HP_GST_HASHVAL. - -1999-09-04 Steve Chamberlain - - * pj.h: New file. - * common.h (EM_PJ): Define. - -1999-09-02 Ulrich Drepper - - * hppa.h: Add HPUX specific symbol type definitions. - - * hppa.h: Add HPUX specific dynamic and program header table - specific definitions. - -1999-08-31 Scott Bambrough - - * common.h (NT_TASKSTRUCT): Define. - -1999-07-16 Jakub Jelinek - - * sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions - flag (as per SCD2.4.1). - -1999-07-16 Jakub Jelinek - - * sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not - ELF64_R_SYM bits. - -1999-06-21 Philip Blundell - - * arm.h (EF_SOFT_FLOAT, F_SOFT_FLOAT): Define. - -1999-07-13 Andreas Schwab - - * m68k.h (EF_CPU32): Move definition inside multiple inclusion - guard. - -1999-07-08 Richard Henderson - - * sparc.h (ELF64_R_TYPE_DATA): Sign extend the value. - (ELF64_R_TYPE_INFO): Mask out all but low 24 bits of data. - (DT_SPARC_PLTFMT): Delete. - Based on a patch from Jakub Jelinek. - -Mon Jun 21 16:36:02 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type. - -1999-06-10 Jakub Jelinek - - * sparc.h (R_SPARC_max_std): Define. - -Wed Jun 9 15:16:34 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h: Update with various changes from newest PA ELF - specifications. - -1999-06-03 Ian Lance Taylor - - * common.h (EM_PPC64): Define. - -1999-06-02 Stu Grossman - - * dwarf.h: Add LANG_JAVA. - * dwarf2.h: Add DW_LANG_Java. - -1999-05-29 Nick Clifton - - * common.h (ELFOSABI_ARM): Define. - -1999-05-28 Nick Clifton - - * reloc-macros.h: Update comment. - -1999-05-28 Ian Lance Taylor - - * i960.h: New file. - -1999-05-16 Nick Clifton - - * mcore.h (R_MCORE_COPY): Define. - (R_MCORE_GLOB_DAT): Define. - (R_MCORE_JUMP_SLOT): Define. - -1999-05-15 Nick Clifton - - * mcore.h (R_MCORE_RELATIVE): Define. - -1999-05-05 Catherine Moore - - * m68k.h (EF_CPU32): Define. - -1999-04-21 Nick Clifton - - * reloc-macros.h (START_RELOC_NUMBERS): Prepend an underscore to - fake reloc entry name (if possible), in order to avoid conflicts - with typedefs of the same name. - -1999-04-16 Gavin Romig-Koch - - * mips.h (EF_MIPS_32BITMODE): New. - -1999-04-08 Nick Clifton - - * mcore.h: New header file. Defines for Motorola's MCore - processor. - -1999-04-08 Nick Clifton - - * common.h: Add new constants defined in: "System V Application - Binary Interface - DRAFT - April 29, 1998" found at the web site: - http://www.sco.com/developer/gabi/contents.html - - (EM_MMA): Removed. Replaced with EM_MCORE as Motorolla own this - value. - -1999-03-31 Nick Clifton - - * reloc-macros.h: Fixed to not generate an enum with a trailing - comma. - -1999-03-16 Gavin Romig-Koch - - * mips.h (E_MIPS_MACH_5000): New. - -1999-03-10 Ulrich Drepper - - * common.h: Add definitions for a few more Solaris ELF extensions. - -Thu Feb 18 18:58:26 1999 Ian Lance Taylor - - * external.h: Only use attribute if __GNUC__ is defined. - -1999-02-17 Nick Clifton - - Patch submitted by: Scott Bambrough - - * external.h: struct Elf_External_Versym must be packed on - ARM. Code uses sizeof(Elf_External_Versym) and assumes it is - equal to sizeof(char[2]). Reported by Jim Pick - -1999-02-02 Nick Clifton - - * dwarf2.h (DWARF2_External_ARange): New structure. - (DWARF2_Internal_ARange): New structure. - -Mon Feb 1 11:33:56 1999 Catherine Moore - - * arm.h: Renumber relocs to conform to standard. - (EF_NEW_ABI): Define. - (EF_OLD_ABI): Define. - * arm-oabi.h: New file. - -1999-01-28 Nick Clifton - - * fr30.h: Add R_FR30_GNU_VT{INHERIT,ENTRY} relocs. - -1999-01-27 Nick Clifton - - * dwarf2.h: Add typedefs for structures found in dwarf2 sections. - -1998-12-16 Gavin Romig-Koch - - * mips.h (E_MIPS_MACH_4111): New. - -1998-12-15 Gavin Romig-Koch - - * mips.h (EF_MIPS_ABI,E_MIPS_ABI_O32,E_MIPS_ABI_O64, - E_MIPS_ABI_EABI32,E_MIPS_ABI_EABI64): - -1998-12-03 Nick Clifton - - * fr30.h: Add R_FR30_48 reloc. - -1998-12-02 Ulrich Drepper - - * mips.h: Add external data type for conflict section. - - * mips.h: Add more LL_* options from Irix 6.5. - - * mips.h: Add R_MIPS_JALR and adjust R_MIPS_max appropriately. - -Mon Nov 30 15:25:58 1998 J"orn Rennecke - - * sh.h (elf_sh_reloc_type): Add R_SH_FIRST_INVALID_RELOC, - R_SH_LAST_INVALID_RELOC, R_SH_SWITCH8 and R_SH_max. - -Tue Nov 10 15:12:28 1998 Nick Clifton - - * common.h (EM_CYGNUS_FR30): Reduce to a 16 bit value. - -Tue Nov 10 15:17:28 1998 Catherine Moore - - * d10v.h: Add vtable relocs. - -Wed Nov 4 15:56:50 1998 Nick Clifton - - * common.h (EM_CYGNUS_FR30): New machine number. - - * fr30.h: New file: Definitions for the FR30. - -Fri Oct 30 11:54:15 1998 Catherine Moore - - From Philip Blundell : - * arm.h (R_ARM_COPY, et al.): New relocs, used by Linux for PIC. - (EF_ALIGN8): New flag. - -Tue Oct 20 11:19:50 1998 Ian Lance Taylor - - * common.h (NT_LWPSTATUS): Close comment accidentally left open. - -Mon Oct 19 20:24:11 1998 Catherine Moore - - * sh.h: Add vtable relocs. - -Mon Oct 19 01:44:42 1998 Felix Lee - - * common.h (NT_PSTATUS, NT_FPREGS, NT_PSINFO, - NT_LWPSTATUS,NT_LWPSINFO): added. - * internal.h (Elf_Internal_Note): new structure members. - -Fri Oct 16 14:11:25 1998 Catherine Moore - - * m32r.h: Add vtable relocs. - -Tue Oct 6 09:22:22 1998 Catherine Moore - - * sparc.h: Add vtable relocs. - -Mon Oct 5 09:39:22 1998 Catherine Moore - - * v850.h: Add vtable relocs. - -Sun Oct 4 21:17:51 1998 Ian Lance Taylor - - * i386.h (R_386_max): Change from 252 to 24. - -Mon Sep 21 12:24:44 1998 Catherine Moore - - * i386.h: Change vtable reloc numbers. - -Sun Sep 20 00:54:22 1998 Andreas Schwab - - * m68k.h: Add vtable relocs and R_68K_max. - -Tue Sep 15 09:56:49 CDT 1998 Catherine Moore - - * arm.h: Add vtable relocs. - -Mon Aug 31 11:25:27 1998 Catherine Moore - - * arm.h: Define STT_ARM_TFUNC. Remove ST_THUMB_xxxx - definitions. - -Sat Aug 29 22:25:51 1998 Richard Henderson - - * i386.h: Add vtable relocs. - -1998-08-25 16:42 Ulrich Drepper - - * common.h: Add SYMINFO_* macros to access Elf*_Syminfo information. - - * external.h: Add Elf_External_Syminfo definition. - - * internal.h: Add Elf_Internal_Syminfo, Elf32_Internal_Syminfo, - and Elf64_Syminfo definitions. - -Sun Aug 9 20:26:49 CDT 1998 Catherine Moore - - * arm.h: Add ST_THUMB definitions. - -Wed Aug 5 15:52:35 1998 Nick Clifton - - * arm.h: Add ELF header flags to specify compile time optins: - EF_INTERWORK: New flag. - EF_APCS_26: New flag. - EF_APCS_FLOAT: New flag. - EF_PIC: New flag. - -1998-07-31 21:28 Ulrich Drepper - - * mips.h: Add missing RHF_* constants. - -Fri Jul 31 10:01:40 1998 Catherine Moore - - * arm.h: Add R_ARM_THM_PC9 relocation. - -1998-07-30 16:25 Ulrich Drepper - - * common.h: Add new DT_* entries and there flag macros from Solaris. - -Tue Jul 28 18:14:07 1998 Stan Cox - - * sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x. - -Fri Jul 24 11:22:06 1998 Jeffrey A Law (law@cygnus.com) - - * mn10300.h: Add R_MN10300_24 relocation. - -1998-07-24 Ulrich Drepper - - * mips.h: Add MIPS64 relocation names and values. - -Wed Jul 22 19:29:00 Catherine Moore - - * arm.h: Rename relocations. - -1998-07-22 Ulrich Drepper - - * ppc.h: Define enum as elf_ppc_reloc_type. - -Wed Jul 22 16:22:11 1998 Nick Clifton - - * reloc-macros.h: New file. Provides relocation macros: - START_RELOC_NUMBERS, RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC and - END_RELOC_NUMBERS used by other elf header files. - - * alpha.h: Use reloc-macros.h. - * arc.h: Use reloc-macros.h. - * arm.h: Use reloc-macros.h. - * d10v.h: Use reloc-macros.h. - * d30v.h: Use reloc-macros.h. - * hppa.h: Use reloc-macros.h. - * i386.h: Use reloc-macros.h. - * m32r.h: Use reloc-macros.h. - * m68k.h: Use reloc-macros.h. - * mips.h: Use reloc-macros.h. - * mn10200.h: Use reloc-macros.h. - * mn10300.h: Use reloc-macros.h. - * ppc.h: Use reloc-macros.h. - * sh.h: Use reloc-macros.h. - * sparc.h: Use reloc-macros.h. - * v850.h: Use reloc-macros.h. - -1998-07-22 13:07 Ulrich Drepper - - * mn10300.h: Rewrite relocation definition using macros. - * mips.h: Likewise. - * ppc.h: Likewise. - * alpha.h: Likewise. - * arm.h: Likewise. - * d10v.h: Likewise. - * d30v.h: Likewise. - * m32r.h: Likewise. - * m68k.h: Likewise. - * mn10200.h: Likewise. - * sh.h: Likewise. - * sparc.h: Likewise. - -1998-07-21 13:07 Ulrich Drepper - - * arm.h: New file. - * d10v.h: New file. - * d30v.h: New file. - * i386.h: New file. - * m68k.h: New file. - * mn10200.h: New file. - * sh.h: New file. - - * mips.h: Add R_MIPS_* and SHT_MIPS_* entries. - - * mn10300.h: Add R_MN10300_* entries. - - * ppc.h: Add R_PPC_* entries. - -1998-07-20 07:11 Ulrich Drepper - - * mips.h: Add ODK_*, OEX_*, OPAD_*, OHW_*, and OGP_* constants. - Define Elf32_External_Lib. - -1998-07-19 15:24 Ulrich Drepper - - * mips.h (PT_MIPS_OPTIONS): New symbol. - Add lots of DT_MIPS_* symbols. - -Fri Jun 26 10:46:35 1998 Jeffrey A Law (law@cygnus.com) - - * mn10300.h: New file. - -Thu Jun 18 19:27:56 1998 Nick Clifton - - * common.h (EM_960, EM_V800, EM_FR20, EM_RH32, EM_MMA, - EM_OLD_ALPHA): Add these constants. - -Thu Jun 11 17:59:01 1998 Nick Clifton - - * common.h (EM_486, EM_S370): Add these constants. - -Tue Jun 9 09:35:29 1998 Nick Clifton - - * common.h (EM_ARM): Add this constant. - -Wed May 6 09:45:30 1998 Gavin Koch - - * mips.h (EF_MIPS_MACH,E_MIPS_MACH_*): Added. - -Sat Apr 25 18:35:06 1998 Richard Henderson - - * alpha.h (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New. - -Wed Apr 15 15:42:45 1998 Richard Henderson - - * common.h (EM_SPARC64): Move and rename to EM_OLD_SPARCV9. - (EM_SPARCV9): New. This is the official ABI name and number. - -Sat Feb 28 17:04:41 1998 Richard Henderson - - * alpha.h (EF_ALPHA_32BIT, EF_ALPHA_CANRELAX): New. - -Mon Dec 15 15:07:49 1997 Nick Clifton - - * m32r.h (EF_M32R_ARCH, E_M32R_ARCH): New flags to - specify machine architecture. - -Fri Dec 5 11:20:08 1997 Nick Clifton - - * v850.h: New constants: SHN_V850_SCOMMON, SHN_V850_TCOMMON, - SHN_V850_ZCOMMON, SHT_V850_SCOMMON, SHT_V850_TCOMMON, - SHT_V850_ZCOMMON to handle v850 common sections. - enum reloc_type renamed to v850_reloc_type to avoid name - conflict. - -Thu Oct 23 13:55:24 1997 Richard Henderson - - * sparc.h (enum elf_sparc_reloc_type): Add UA64 & UA16. - -Thu Oct 23 00:42:04 1997 Richard Henderson - - * sparc.h (DT_SPARC_REGISTER): New macro. - (DT_SPARC_PLTFMT): In support of old sparc64-linux .plts; will - go away soon. - -Tue Sep 30 13:26:58 1997 Doug Evans - - * sparc.h (EF_SPARC_HAL_R1, EF_SPARC_EXT_MASK): New macros. - (EF_SPARCV9_{MM,TSO,PSO,RMO}): New macros. - (SHN_BEFORE,SHN_AFTER): New macros. - (SHF_EXCLUDE,SHF_ORDERED): New macros. - (STT_REGISTER): New macro. - (R_SPARC_GLOB_JMP): Deleted, but slot reserved. - (R_SPARC_{DISP64,PLT64,HIX22,LOX10}): New relocations. - (R_SPARC_{H44,M44,L44,REGISTER}): New relocations. - (ELF64_R_TYPE_{DATA,ID,INFO}): New macros. - -Wed Sep 17 16:41:42 1997 Nick Clifton - - * v850.h: Add R_V850_CALLT_6_7_OFFSET and R_V850_CALLT_16_16_OFFSET. - -Tue Sep 16 14:16:17 1997 Nick Clifton - - * v850.h (reloc_type): Add R_V850_TDA_16_16_OFFSET. - -Wed Sep 3 15:11:14 1997 Richard Henderson - - * mips.h: Correct typo in comment. - -Wed Sep 3 11:25:57 1997 Nick Clifton - - * v850.h (reloc_type): Remove R_V850_16_PCREL. - -Tue Sep 2 17:41:05 1997 Nick Clifton - - * common.h: Remove magic number for V850E. - * common.h: Remove magic number for V850EA. - * v850.h: Add new flags for e_flags field in elf header. - -Mon Aug 25 16:06:47 1997 Nick Clifton - - * common.h (EM_CYGNUS_V850E): backend magic number for v850e. - * common.h (EM_CYGNUS_V850EA): backend magic number for v850ea. - -Mon Aug 18 11:05:23 1997 Nick Clifton - - * v850.h (reloc_type): Add 16 bit PC relative relocation. - -Fri Aug 15 05:10:09 1997 Doug Evans - - * arc.h (enum reloc): Move here from elf32-arc.c. - -Fri Aug 8 17:05:29 1997 Doug Evans - - * arc.h: New file. - * common.h (EM_CYGNUS_ARC): Define. - -Mon Jun 16 14:46:12 1997 Ian Lance Taylor - - * internal.h (Elf_Internal_Ehdr): Change e_phoff and e_shoff from - bfd_signed_vma to bfd_size_type, as they are not signed. - -Wed Mar 5 15:35:26 1997 Doug Evans - - * m32r.h (SHF_M32R_CAN_RELAX): Define. - -Mon Feb 24 17:49:01 1997 Ian Lance Taylor - - * external.h: Dump the 32/64 bit specific forms of the version - structures, and just define them as size independent. - - * common.h (VERSYM_HIDDEN, VERSYM_VERSION): Define. - -Fri Feb 21 13:00:34 1997 Doug Evans - - * m32r.h (enum reloc_type): Add R_M32R_SDA16. - (SHN_M32R_SCOMMON): Define. - -Wed Feb 19 15:35:31 1997 Ian Lance Taylor - - From Eric Youngdale : - * external.h, internal.h, common.h: Added new structures and - definitions for ELF versions. - -Tue Feb 18 17:40:36 1997 Martin M. Hunt - - * common.h (EM_CYGNUS_D30V): Define. - -Mon Jan 27 11:54:44 1997 Doug Evans - - * m32r.h (enum reloc_type): Add R_M32R_HI16_[SU]LO,R_M32R_LO16. - -Fri Jan 3 11:32:51 1997 Michael Meissner - - * v850.h (V850_OTHER_{TDA_BYTE,ERROR}): New bits for the st_other - field. - (SHN_V850_*): Remove v850 specific section indexes, which are not - needed. - (enum reloc_type): Move the v850 relocations here from - elf32-v850.c - -Thu Jan 2 19:30:23 1997 Michael Meissner - - * v850.h: New file, provide V850 specific definitions. - -Tue Dec 31 14:44:32 1996 Ian Lance Taylor - - * common.h (DT_AUXILIARY): Define. - (DT_FILTER): Define. - -Wed Dec 4 05:03:37 1996 Jason Merrill - - * dwarf2.h: Update. - -Tue Nov 26 10:44:47 1996 Ian Lance Taylor - - * mips.h (STO_MIPS16): Define. - -Tue Nov 12 15:45:42 1996 Martin M. Hunt - - * d10v.h: Remove empty file. - -Tue Oct 8 11:31:24 1996 Ian Lance Taylor - - * mips.h (EF_MIPS_ABI2): Define. - -Thu Oct 3 10:01:40 1996 Jeffrey A Law (law@cygnus.com) - - * common.h: Break mn10x00 support into mn10200 and mn10300. - -Wed Oct 2 21:26:43 1996 Jeffrey A Law (law@cygnus.com) - - * common.h (EM_CYGNUS_MN10x00): Define. - -Mon Sep 23 09:18:04 1996 Doug Evans - - * m32r.h: New file. - -Fri Aug 30 17:06:21 1996 Ian Lance Taylor - - * common.h (EM_SH): Define. - -Tue Aug 20 14:47:54 1996 J.T. Conklin - - * common.h (EM_CYGNUS_V850): Define. - -Mon Aug 19 10:59:10 1996 Doug Evans - - * common.h (EM_CYGNUS_M32R): Define. - -Mon Jul 22 18:59:55 1996 Ian Lance Taylor - - * mips.h (SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Define. - (SHT_MIPS_SYMBOL_LIB): Define. - (SHF_MIPS_MERGE, SHF_MIPS_ADDR32, SHF_MIPS_ADDR64): Define. - (SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL, SHF_MIPS_NAMES): Define. - -Thu Jul 18 19:12:15 1996 Stan Shebs - - * dwarf2.h: New file. - -Jul 18 13:20:39 1996 Martin M. Hunt - - * common.h (EM_CYGNUS_D10V): Define. - * d10v.h: New file. - -Fri Jun 21 12:33:24 1996 Richard Henderson - - * alpha.h: New file. - * common.h (EM_ALPHA): Define. - -Fri May 31 17:28:05 1996 Ian Lance Taylor - - * mips.h (Elf_External_Options, Elf_Internal_Options): Define. - (bfd_mips_elf_swap_options_in): Declare. - (bfd_mips_elf_swap_options_out): Declare. - (ODK_*): Define. - (Elf64_External_RegInfo, Elf64_Internal_RegInfo): Define. - (bfd_mips_elf64_swap_reginfo_in): Declare. - (bfd_mips_elf64_swap_reginfo_out): Declare. - -Thu May 30 12:35:57 1996 Ian Lance Taylor - - * mips.h (E_MIPS_ARCH_4): Define. - -Wed May 29 15:35:33 1996 Ian Lance Taylor - - * mips.h (Elf64_Mips_External_Rel): Define. - (Elf64_Mips_Internal_Rel): Define. - (Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define. - (RSS_*): Define. - -Mon Apr 22 18:26:30 1996 Doug Evans - - * sparc.h (R_SPARC_[56]): Always define. - -Mon Feb 19 01:55:56 1996 Doug Evans - - * sparc.h (R_SPARC_{PLT32,HIPLT22,LOPLT10,PCPLT32,PCPLT22, - PCPLT10,5,6}): Don't define ifdef SPARC64_OLD_RELOCS. - -Tue Feb 6 11:33:58 1996 Doug Evans - - * sparc.h (enum sparc_elf_reloc_type): Define. - -Wed Jan 17 09:09:16 1996 Doug Evans - - * common.h: Define EM_SPARC32PLUS. - * sparc.h: New file. - -Thu Jan 11 16:27:34 1996 Michael Meissner - - * ppc.h (SHF_EXCLUDE, SHT_ORDERED): New fields from the abi. - -Thu Nov 30 16:47:18 1995 Ian Lance Taylor - - * internal.h (struct elf_segment_map): Add includes_filehdr and - includes_phdrs fields. - -Tue Nov 28 16:58:10 1995 Ian Lance Taylor - - * internal.h (struct elf_segment_map): Define. - -Tue Oct 31 15:19:36 1995 Fred Fish - - * common.h, dwarf.h, external.h, hppa.h, internal.h, - mips.h, ppc.h: Protect against multiple inclusions. - -Thu Sep 21 13:51:58 1995 Michael Meissner - - * ppc.h (EF_PPC_RELOCATABLE_LIB): Add new flag bit. - -Fri Sep 1 15:32:17 1995 Kazumoto Kojima - - * mips.h: Add some definitions used on Irix 5. - -Tue Jun 20 10:18:28 1995 Jeff Law (law@snake.cs.utah.edu) - - * hppa.h (CPU_PA_RISC1_0): Protect from redefinitions. - (CPU_PA_RISC1_1): Likewise. - -Wed Mar 8 18:14:37 1995 Michael Meissner - - * ppc.h: New file for PowerPC support. - -Tue Feb 14 13:59:13 1995 Michael Meissner - - * common.h (EM_PPC): Use offical value of 20, not 17. - (EM_PPC_OLD): Define this to be the old value of EM_PPC. - -Tue Jan 24 09:40:59 1995 Michael Meissner - - * common.h (EM_PPC): New macro, PowerPC machine id. - -Tue Jan 17 10:51:38 1995 Ian Lance Taylor - - * mips.h (SHT_MIPS_MSYM, SHT_MIPS_DWARF, SHT_MIPS_EVENTS): Define. - -Mon Oct 17 13:43:59 1994 Ian Lance Taylor - - * internal.h (Elf_Internal_Shdr): Remove rawdata and size fields. - Add bfd_section field. - -Tue May 24 16:11:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (Elf32_External_gptab): Define. - -Mon May 16 13:22:04 1994 Jeff Law (law@snake.cs.utah.edu) - - * common.h (EM_HPPA): Delete. - (EM_PARISC): Add. - * hppa.h: New file. - -Mon May 9 13:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * common.h (SHN_LORESERVE): Rename from SHN_LORESERV. - (ELF32_R_TYPE, ELF32_R_INFO): Don't rely on size of unsigned char. - (ELF64_R_TYPE): Don't rely on size of unsigned long. - -Mon Apr 25 15:53:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * internal.h (Elf_Internal_Shdr): Use PTR, not void *. - -Fri Mar 11 00:34:59 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * mips.h (SHN_MIPS_TEXT, SHN_MIPS_DATA): Define. - -Sat Mar 5 14:08:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * internal.h: Remove Elf32_*, Elf64_* typedefs. These names - cause conflicts with system headers, e.g. link.h in gdb/solib.c. - Combine 32- and 64-bit versions of *_Internal_Dyn. - * common.h: Replace uses of Elf64_Word, Elf64_Xword typedefs - by their expansion. - * mips.h: Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr - typedefs by their expansion. Add DT_MIPS_RLD_MAP definition. - -Fri Feb 18 10:39:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * common.h (EM_CYGNUS_POWERPC): Define. This may be temporary, - depending upon how quickly I can find a real PowerPC ABI. - -Mon Feb 7 08:27:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT. - -Wed Feb 2 14:12:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * common.h: Add comments regarding value of EM_HPPA and how to - pick an unofficial value. - -Wed Nov 17 17:14:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (SHT_MIPS_OPTIONS): Define. - -Mon Nov 8 17:57:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h: Added some more MIPS ABI macro definitions. - -Wed Nov 3 22:07:17 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * common.h (EM_MIPS_RS4_BE): New macro. - -Tue Oct 12 07:28:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h: New file. MIPS ABI specific information. - -Mon Jun 21 13:13:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * internal.h: Combined 32- and 64-bit versions of all structures - except *_Internal_Dyn. This will simply the assembler interface, - and some bfd code. - -Tue May 25 02:00:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * external.h, internal.h, common.h: Added 64-bit versions of some - structures and macros. Renamed old versions to put "32" in the - name. Some are unchanged. - -Thu Apr 29 12:12:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * common.h (EM_HPPA, NT_VERSION, STN_UNDEF, DT_*): New macros. - * external.h (Elf_External_Dyn): New type. - - * internal.h (Elf_Intenral_Shdr): New field `size'. - (Elf_Internal_Dyn): New type. - -Tue Apr 20 16:03:45 1993 Fred Fish (fnf@cygnus.com) - - * dwarf.h (LANG_CHILL): Change value to one randomly picked in - the user defined range, to reduce probability of collisions. - -Sun Nov 15 09:34:02 1992 Fred Fish (fnf@cygnus.com) - - * dwarf.h (AT_src_coords): Whitespace change only. - * dwarf.h (AT_body_begin, AT_body_end, LANG_MODULA2): - Add from latest gcc. - * dwarf.h (LANG_CHILL): Add as GNU extension. - -Sat Aug 1 13:46:53 1992 Fred Fish (fnf@cygnus.com) - - * dwarf.h: Replace with current version from gcc distribution. - -Fri Jun 19 19:05:09 1992 John Gilmore (gnu at cygnus.com) - - * internal.h: Add real struct tags to all the Type_Defs, so they - can be used in prototypes where the Type_Defs are not known. - -Fri Apr 3 20:58:58 1992 Mark Eichin (eichin at cygnus.com) - - * common.h: added ELF_R_{SYM,TYPE,INFO} for handling relocation - info - added EM_MIPS, and corrected value of EM_860 based on System V ABI - manual. - - * external.h: added Elf_External_{Rel,Rela}. - - * internal.h: added Elf_Internal_{Rel,Rela}. - added rawdata to Elf_Internal_Shdr. - -Sat Nov 30 20:43:59 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * common.h, dwarf.h, external.h, internal.h, ChangeLog; moved from - ../elf- +For older changes see ChangeLog-9103 Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/include/elf/ChangeLog-9103 b/include/elf/ChangeLog-9103 new file mode 100644 index 00000000000..713d80d1440 --- /dev/null +++ b/include/elf/ChangeLog-9103 @@ -0,0 +1,1914 @@ +2003-12-19 Kazuhiro Inaoka + + * elf/m32r.h : Added m32r-linux and PIC support. Add new ABI that + uses RELA. + (R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, + R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, + R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, + R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, + R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, + R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, + R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, + R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, + R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, + R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, + R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, + R_M32R_GOTPC_LO): New relocs. + +2003-12-06 Alan Modra + + From Jan Beulich + * common.h (DT_HIOS): Correct value. + +2003-12-03 Kazuhiro Inaoka + + * elf/m32r.h: Add new machine type m32r2 and instruction modes. + +2003-11-06 Alan Modra + + * ppc.h (R_PPC_RELAX32PC): Define. + +2003-10-22 Alexandre Oliva , + Michael Snyder + + * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New. + (EF_SH_MERGE_MACH): Combine them. + +2003-10-18 Hans-Peter Nilsson + + * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number. + (_bfd_mmix_before_linker_allocation): Rename from + _bfd_mmix_prepare_linker_allocated_gregs. + (_bfd_mmix_after_linker_allocation): Rename from + _bfd_mmix_finalize_linker_allocated_gregs. + +2003-10-06 Dave Brolley + + * frv.h (EF_FRV_CPU_FR550): New macro. + +2003-09-30 Chris Demetriou + + * mips.h (E_MIPS_ARCH_64R2): New define. + +2003-09-23 DJ Delorie + + * sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, + R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces. + (R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, + R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, + R_SH_PSHA, R_SH_PSHL): New. + +2003-09-11 James Cownie + + * dwarf2.h: Add HP dwarf extensions from their hacked gdb + header files (ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz). + +2003-09-04 Nick Clifton + + * v850.h (E_V850E1_ARCH): Define. + +2003-08-21 James Cownie + + * dwarf2.h: Add PGI dwarf extensions. + +2003-08-08 Dmitry Diky + + * msp430.h: Add xW42 and xE42 parts. Sort MPU list according to + gcc order. + +2003-08-07 Alan Modra + + * reloc-macros.h (START_RELOC_NUMBERS) : Remove PARAMS macro. Use + C90 function definition. Formatting. + (RELOC_NUMBER): Remove !__STDC__ code. + +2003-07-28 Eric Christopher + + * ppc.h (R_PPC_RELAX32): New. Fake relocation. + +2003-07-25 H.J. Lu + + * v850.h (SHF_V850_GPREL): New. + (SHF_V850_EPREL): Likewise. + (SHF_V850_R0REL): Likewise. + +2003-07-09 Alexandre Oliva + + 2001-05-16 Alexandre Oliva + * mn10300.h: Introduce GOTPC16, GOTOFF24, GOTOFF16 and + PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32. + Renumbered all relocs. + 2001-04-12 Alexandre Oliva + * mn10300.h (R_MN10300_GOTPC, R_MN10300_GOTOFF, + R_MN10300_PLT32, R_MN10300_GOT32, R_MN10300_GOT24, + R_MN10300_GOT16, R_MN10300_COPY, R_MN10300_GLOB_DAT, + R_MN10300_JMP_SLOT, R_MN10300_RELATIVE): New relocs. + +2003-07-09 Alexandre Oliva + + 2000-04-01 Alexandre Oliva + * mn10300.h (E_MN10300_MACH_AM33_2): Renamed from + E_MN10300_MACH_AM332. + 2000-03-31 Alexandre Oliva + * mn10300.h (E_MN10300_MACH_AM332): Defined. + +2003-07-01 Martin Schwidefsky + + * s390.h (elf_s390_reloc_type): Add long displacement relocations + R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20. + +2003-06-29 Andreas Jaeger + + * mmix.h: Convert to ISO C90 prototypes. + * mips.h: Likewise. + +2003-06-13 Robert Millan + + * common.h (GNU_ABI_TAG_NETBSD): New tag. + (GNU_ABI_TAG_FREEBSD): New tag. + +2003-06-10 Richard Sandiford + + * h8.h (E_H8_MACH_H8300SXN): New flag. + +2003-06-03 Nick Clifton + + * v850.h (R_V850_32): Rename to R_V850_ABS32. + Add R_V850_REL32. + +2003-05-15 Roland McGrath + + * common.h (NT_AUXV, AT_*): New macros. + * external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types. + * internal.h (Elf_Internal_Auxv): New type. + +2003-05-14 Michael Snyder + From Bernd Schmidt + * h8.h (E_H8_MACH_H8300SX): New. + +2003-04-24 Dhananjay Deshpande + + * elf/h8.h (E_H8_MACH_H8300HN, E_H8_MACH_H8300SN): New + +2003-04-23 J"orn Rennecke + + * common.h (EM_SH): Amend comment to refer to SuperH. + +2003-04-22 Kazuhiro Inaoka + + * common.h: Replace references to Mitsubishi M32R with + references to Renesas M32R. + +2003-04-15 Rohit Kumar Srivastava + + * common.h: Replace occurrances of 'Hitachi' with 'Renesas'. + +2003-04-01 Bob Wilson + + * elf/common.h (EM_XTENSA_OLD): Define. + * elf/xtensa.h: New file. + +2003-04-01 Nick Clifton + + * arm.h (ARM_NOTE_SECTION): Include .gnu in the string. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * arm.h (ARM_NOTE_SECTION): Define. + +2003-03-03 J"orn Rennecke + + * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, + and SH2E & SH4 merge to SH4, not SH2E. + +2003-02-21 Ian Wienand + + * ia64.h (SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG, + SHT_IA_64_PRIORITY_INIT): Define. + +2003-02-18 Alan Modra + + * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC. + + * ppc.h: Replace DTPMOD64, TPREL64, DTPREL64 with DTPMOD32 etc. + (IS_PPC_TLS_RELOC): Define. + +2003-02-10 Nick Clifton + + * arm.h (EF_ARM_MAVERICK_FLOAT): Define. + +2003-02-05 Alan Modra + + * ppc.h: Add TLS relocs. Format. + * ppc64.h: Likewise. + +2003-01-27 Alexandre Oliva + + * mips.h (EF_MIPS_XGOT): Define. + +2003-01-24 Martin Schwidefsky + + * s390.h: Add s390 TLS relocations. + +2003-01-23 Nick Clifton + + * Add sh2e support: + + 2002-04-02 Alexandre Oliva + + * sh.h (EF_SH_MERGE_MACH): Handle SH2E. + + 2002-04-02 Elena Zannoni + + * sh.h (EF_SH2E): New. + +2003-01-23 Alan Modra + + * sh.h: Split out various bits to bfd/elf32-sh64.h. + +2003-01-20 Martin Schwidefsky + + * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff, + gotplt and pltoff relocations. + +2003-01-17 Alan Modra + + * common.h: Formatting, typo fixes. + (DT_ENCODING): Correct value. + +2003-01-17 Fabio Alemagna + + * common.h (ELFOSABI_AROS): Define. + (ELFOSABI_OPENVMS): Likewise. + (ELFOSABI_NSK): Likewise. + +2003-01-16 Alan Modra + + * ppc.h: Split out ppc64 definitions to.. + * pcc64.h: ..here. New file. + (R_PPC64_REL30): Rename from R_PPC64_ADDR30. + +2003-01-13 Dmitry Diky + + * elf/common.h (EM_MSP430): Change e_machine value to officially + assigned. + +2003-01-02 Ben Elliston + + * common.h (EM_IQ2000): Define. + * iq2000.h: New file. + +2002-12-30 Chris Demetriou + + * mips.h (E_MIPS_ARCH_32R2): New define. + +2002-12-24 Dmitry Diky + + * common.h: Define msp430 machine numbers. + * msp430.h: New file. Define msp430 relocs. + +2002-12-20 DJ Delorie + + * xstormy16.h: Add XSTORMY16_12. + +2002-12-16 Andrew MacLeod + + * xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers + for R_XSTORMY16_LO16 and R_XSTORMY16_HI16. + +2002-12-10 James Cownie + + * dwarf2.h (DW_TAG_upc_shared_type, DW_TAG_upc_strict_type, + DW_TAG_upc_relaxed_type, DW_AT_upc_threads_scaled, DW_LANG_Upc): + Define. + +2002-12-01 Stephane Carrez + + * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define. + (EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define. + (EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define. + +2002-11-30 Alan Modra + + * mmix.h: Replace boolean with bfd_boolean. + * sh.h: Likewise. + +2002-11-28 Alan Modra + + * internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr, + elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr, + Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr, + elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr, + Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym, + Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note, + elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel, + elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela, + elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela, + elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn, + Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef, + elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed, + elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux, + elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef, + Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux, + Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux, + Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym, + Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete. + (Elf_Internal_Rel): Delete. + +2002-10-11 Kaz Kojima + + * sh.h: Add SH TLS relocs. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + Eric Christopher + Richard Sandiford + + * mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New. + +2002-09-12 Roland McGrath + + * dwarf2.h: Updates from GCC version of thie file: + (enum dwarf_location_atom): DW_OP_calli -> DW_OP_call_ref. + Add DW_OP_GNU_push_tls_address. + (DW_OP_lo_user): Change to 0xe0. + +2002-08-28 Catherine Moore + + * elf/v850.h (R_V850_LONGCALL, R_V850_ALIGN, + R_V850_LONGJUMP): New relocations. + +2002-08-15 Alan Modra + + * i370.h: Define relocs using reloc-macros.h. + +2002-08-13 Stephane Carrez + + * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64, + EF_M68HC11_ABI): Define for ABI specification. + (STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for + linker and debugger. + (R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs. + (R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker + relaxation. + +2002-07-15 Denis Chertykov + Frank Ch. Eigler + Ben Elliston + Alan Lehotsky + John Healy + Graham Stott + Jeff Johnston + + * common.h (EM_IP2K): New macro. + (EM_IP2K_OLD): New macro. + * ip2k.h: New file. + +2002-07-01 Matt Thomas + + * vax.h: Rename EF_* to EF_VAX_*. + +2002-06-18 Dave Brolley + + From Catherine Moore, Michael Meissner, Dave Brolley: + * common.h (EM_CYGNUS_FRV): New macro. + * frv.h: New file. + +2002-06-06 Lars Brinkhoff + + * common.h: Change registry@sco.com to registry@caldera.com. + (EM_PDP10, EM_PDP11): Define. + +2002-06-04 Jason Thorpe + + * sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl) + (_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New + prototypes. + +2002-06-01 Richard Henderson + + * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF, + LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New. + +2002-05-30 Richard Henderson + + * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64, + R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI, + R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64, + R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New. + +2002-05-29 Matt Thomas + + * vax.h: New file + +2002-05-28 Kuang Hwa Lin + + * common.h (EM_DLX): Define. + * dlx.h: New file. + +2002-05-08 Jason Thorpe + + * common.h (NT_GNU_ABI_TAG): Define. + (GNU_ABI_TAG_LINUX): Define. + (GNU_ABI_TAG_HURD): Define. + (GNU_ABI_TAG_SOLARIS): Define. + (NT_NETBSD_IDENT): Define. + (NT_FREEBSD_ABI_TAG): Define. + +2002-04-24 Elena Zannoni + + * dwarf2.h: Add DW_AT_GNU_vector. + +2002-02-13 Matt Fredette + + * m68k.h (EF_M68000): Define. + +2002-02-12 Alan Modra + + * ppc.h (DT_PPC64_OPD, DT_PPC64_OPDSZ): Define. + +2002-02-09 Richard Henderson + + * alpha.h (R_ALPHA_BRSGP): New. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2002-01-23 Alexandre Oliva + * sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, + R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, + R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, + R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, + R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, + R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, + R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, + R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, + R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, + R_SH_RELATIVE64): New relocs. + (R_SH_FIRST_INVALID_RELOC_4): Adjust. + 2001-05-16 Alexandre Oliva + * sh.h: Renumbered and renamed some SH5 relocations to match + official numbers and names; moved unmaching ones to the range + 0xf2-0xff. + 2001-01-06 Hans-Peter Nilsson + * sh.h (sh64_get_contents_type): Declare. + (sh64_address_is_shmedia): Likewise. + 2000-12-30 Hans-Peter Nilsson + * sh.h (sh64_elf_crange): New type. + (struct sh64_section_data): New. + (sh64_elf_section_data): New macro. + (EF_SH5): Rename back from EF_SH64. + 2000-12-18 Hans-Peter Nilsson + * sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED, + SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE, + SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET, + SH64_CRANGE_CR_TYPE_OFFSET): New macros. + 2000-12-12 Hans-Peter Nilsson + * sh.h (EF_SH64): Don't define EF_SH64_ABI64. + 2000-11-27 Hans-Peter Nilsson + * sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete. + (EF_SH64_ABI64): New. + 2000-11-23 Hans-Peter Nilsson + * sh.h (EF_SH64): Rename from EF_SH5. + (EF_SH64_32BIT_ABI): New. + (EF_SH64_64BIT_ABI): New. + (R_SH_PT_16, R_SH_SHMEDIA_CODE + R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, + R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, + R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, + R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, + R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New + relocs. + 2000-09-01 Ben Elliston + * sh.h (EF_SH5): Define. + +2002-02-01 Hans-Peter Nilsson + + * mmix.h: Tweak comments. + (MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New. + [BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs, + _bfd_mmix_finalize_linker_allocated_gregs, + _bfd_mmix_check_all_relocs): Provide prototypes. + +2002-01-31 Ivan Guzvinec + + * or32.h: New file. + * common.h: Add support for or32 targets. + +2002-01-28 Jason Merrill + + * dwarf2.h: Sync with gcc version. + +2002-01-16 Alan Modra + + * ppc.h (DT_PPC64_GLINK): Define. + +2002-01-15 Richard Earnshaw + + * arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define. + +2002-01-09 Jason Thorpe + + * common.h: Update copyright years. + (NT_NETBSDCORE_PROCINFO): Define. + (NT_NETBSDCORE_FIRSTMACH): Define. + +2002-01-06 Steve Ellcey + + * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX. + (SHT_IA_64_HP_OPT_ANOT): Ditto + (PT_IA_64_HP_OPT_ANOT): Ditto + (PT_IA_64_HP_HSL_ANOT): Ditto + (PT_IA_64_HP_STACK): Ditto + (SHN_IA_64_ANSI_COMMON): Ditto + +2001-12-17 Alan Modra + + * external.h (Elf_External_Sym_Shndx): Declare. + * internal.h (struct elf_internal_sym ): Make it an + unsigned int. + * common.h (SHN_BAD): Define. + +2001-12-13 Jakub Jelinek + + * elf/common.h (PT_GNU_EH_FRAME): Define. + +2001-12-11 Alan Modra + + * common.h (SHN_XINDEX): Comment typo fix. + * internal.h (Elf_Internal_Ehdr): Change existing "unsigned short" + size, count and index fields to "unsigned int". + +2001-12-07 Geoffrey Keating + Richard Henderson + + * common.h (EM_XSTORMY16): Define. + * xstormy16.h: New file. + +2001-11-15 Alan Modra + + * common.h (NT_ARCH): Define. Remove incorrect comment. + +2001-11-11 Geoffrey Keating + + * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes. + +2001-10-30 Hans-Peter Nilsson + + * mmix.h: New file. + +2001-10-23 Alan Modra + + * internal.h: White space changes to keep lines under 80 chars. + +2001-10-16 Jeff Holcomb + + * internal.h (elf_internal_shdr): Make contents a unsigned char *. + +2001-09-18 Alan Modra + + * internal.h (elf_internal_rela): Make r_addend a bfd_vma. + +2001-09-13 Alexandre Oliva + + * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry. + +2001-09-12 Alexandre Oliva + + * common.h (EM_AVR_OLD): Renamed from... + (EM_AVR): this, redefined as in the current ELF standard. + (EM_PJ_OLD): Renamed from... + (EM_PJ): this, redefined as in the current ELF standard. + (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, + EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in + the current ELF standard. + (EM_CYGNUS_ARC): Removed, unused for a long time. + +2001-09-04 Richard Henderson + + * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove. + (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. + +2001-08-30 Eric Christopher + + * mips.h: Remove E_MIPS_MACH_MIPS32_4K. + +2001-08-29 Jeff Law + + * h8.h (EF_H8_MACH): New mask for encoded machine type. + (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New + machine types. + +2001-08-26 J"orn Rennecke + + * h8.h: New file. + +2001-08-27 Staffan Ulfberg + + * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2. + +2001-06-30 Daniel Berlin + + * dwarf2.h: Remerge with gcc version, + including all new DWARF 2.1 extensions. + +2001-06-29 James Cownie + + * dwarf2.h: Add DWARF 2.1 attribues. + +2001-06-15 Per Bothner + + * dwarf2.h: Partial merge with gcc version. + (enum dwarf_descrim_list): Fix typo -> dwarf_discrim_list. + (DW_LANG_Java): Use value from dwarf 2.1 draft (also used in gcc). + +2001-05-15 Ralf Baechle + + * common.h: Remove definition of EM_MIPS_RS4_BE. The constant was + never in active use and is used otherwise by the ABI. + +2001-05-11 Jakub Jelinek + + * ia64.h (ELF_STRING_ia64_unwind_once): Define. + (ELF_STRING_ia64_unwind_info_once): Define. + +2001-05-07 Thiemo Seufer + + * external.h: Fix typo. + * mips.h: Add/Extend many comments with reference to the MIPS ELF64 + spec v. 2.4, available at e.g. + ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps. + (EF_MIPS_UCODE): Define. + (EF_MIPS_OPTIONS_FIRST): Define. + (EF_MIPS_ARCH_ASE): Define. + (EF_MIPS_ARCH_ASE_MDMX): Define. + (EF_MIPS_ARCH_ASE_M16): Define. + (SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32. + (SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64. + (SHF_MIPS_NODUPES): Define. + (ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro. + (ELF64_MIPS_R_TYPE3): Likewise. + (ELF64_MIPS_R_TYPE2): Likewise. + (ELF64_MIPS_R_TYPE): Likewise. + (OHW_R10KLDL): Define. + +2001-04-24 Todd Fries + + * sparc.h: Fix typo. + +2001-04-20 Johan Rydberg + + * openrisc.h: New file. + * common.h (EM_OPENRISC): New constant. + +2001-04-23 Bo Thorsen + + * x86-64.h: Add vtable support. + +2001-03-23 Nick Clifton + + * mips.h: Remove extraneous whitespace. + +2001-03-22 Hans-Peter Nilsson + + * cris.h: Add leading comment about PC-relative location. + (R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, + R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, + R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL): + New relocs. + +2001-02-27 Philip Blundell + + * arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01. + (EF_PIC, et al.): Rename to EF_ARM_xx. + +2001-02-09 Martin Schwidefsky + + * common.h: Add linux target for S/390. + * s390.h: New file. + +2001-01-11 Peter Targett + + * arc.h (E_ARC_MACH_ARC5, E_ARC_MACH_ARC6, E_ARC_MACH_ARC7, + E_ARC_MACH_ARC8): New definitions for cpu types. + + * common.h (EM_ARC): Change comment. + +2000-12-12 Nick Clifton + + * mips.h: Fix formatting. + +2000-12-11 Jeffrey A Law (law@cygnus.com) + + * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux + compatibility. + +2000-10-16 Chris Demetriou + + * mips.h (E_MIPS_ARCH_32): New constant. + (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the + former with the latter. + + * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions. + + * mips.h (E_MIPS_MACH_SB1): New constant. + +2000-11-30 Jan Hubicka + + * common.h (EM_X86_64): New macro. + * x86-64.h: New file. + +2000-11-27 Hans-Peter Nilsson + + * common.h (e_machine numbers): Clarify comments to describe how + EM_* constants are assigned. Move EM_PJ from official section to + ad-hoc section. + (EM_CRIS): Correct comment to match official description. + (EM_MMIX): Ditto. + +2000-11-22 Nick Clifton + + * common.h (EM_JAVELIN): New machine number. + (EM_FIREPATH): New machine number. + (EM_ZSP): New machine number. + (EM_MMIX): New machine number. + (EM_HUANY): New machine number. + (EM_PRISM): New machine number. + (SHT_GROUP): New section type. + (SHT_SYMTAB_SHNDX): New section type. + (SHF_GROUP): New section flag. + (SHN_XINDEX): New section index. + (GRP_COMDAT): New section group flag. + +2000-11-20 H.J. Lu + + * common.h (ELFOSABI_MONTEREY): Renamed to ... + (ELFOSABI_AIX): This. + +2000-11-16 Richard Henderson + + Update relocations per August psABI docs. + * ia64.h (R_IA64_SEGBASE): Remove. + (R_IA64_LTV*): Renumber to 0x74 to 0x77. + (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove. + (R_IA64_TPREL14, R_IA64_TPREL64I): New. + (R_IA64_DTPMOD*): New. + (R_IA64_DTPREL*): New. + +2000-09-29 Hans-Peter Nilsson + + * cris.h (EF_CRIS_UNDERSCORE): New. + +2000-09-27 Alan Modra + + * hppa.h (R_PARISC_DIR14F): Add. + +2000-09-14 Alexandre Oliva + + * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, + R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change + numbers to the range from 160 to 167. + (R_SH_FIRST_INVALID_RELOC): Adjust. + (R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2): + New relocs to fill in the gap. + +2000-09-13 Anders Norlander + + * mips.h (E_MIPS_MACH_4K): New define. + +2000-09-05 Alan Modra + + * hppa.h: Fix a comment. + (R_PARISC_PCREL12F): Define. + (R_PARISC_GNU_VTENTRY): Define. + (R_PARISC_GNU_VTINHERIT): Define. + +2000-09-01 Alexandre Oliva + + * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, + R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs. + (R_SH_FIRST_INVALID_RELOC): Adjust. + +2000-08-14 Jim Wilson + + * ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, + EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define. + +2000-08-07 Nick Clifton + + * ppc.h: Remove spurious CYGNUS LOCAL comments. + * v850.h: Likewise. + +2000-07-22 Jason Eckhardt + + * i860.h: New file. + (elf_i860_reloc_type): Defined ELF32 i860 relocations. + +2000-07-20 Hans-Peter Nilsson + + common.h (EM_CRIS): New machine number. + cris.h: New file. + +2000-07-19 H.J. Lu + + * common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB. + +2000-07-19 H.J. Lu + + * common.h (DT_CHECKSUM): Set to 0x6ffffdf8. + (DTF_1_CONFEXP): It is 0x00000002 as suspected. + +2000-07-19 H.J. Lu + + * common.h (DT_FEATURE): Renamed from DT_FEATURE_1. + (DT_CONFIG): New. From Solaris 8. + (DT_DEPAUDIT): Likewise. + (DT_AUDIT): Likewise. + (DT_PLTPAD): Likewise. + (DT_MOVETAB): Likewise. + (DF_1_NODEPLIB): Likewise. + (DF_1_NODUMP): Likewise. + (DF_1_CONLFAT): Likewise. + (DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8. + (DTF_1_CONFEXP): Likewise. + +2000-07-18 H.J. Lu + + * common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS. + +2000-07-12 Alan Modra + + * internal.h (struct elf_internal_sym): Update comment for st_other. + +2000-07-10 Alan Modra + + * hppa.h: Add comments to all the relocs. + +2000-06-26 Marek Michalkiewicz + + * avr.h (E_AVR_MACH_AVR5): Define. + +2000-06-18 Stephane Carrez + + * m68hc11.h: New file, definitions for the Motorola 68hc11. + +2000-06-06 Alan Modra + + * reloc-macros.h (START_RELOC_NUMBERS): Don't define initial dummy + -1 valued enum. + (RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC): Append rather than + prepend comma. + (END_RELOC_NUMBERS): Give macro an arg to define as last enum. + + * alpha.h (R_ALPHA_max): Define via END_RELOC_NUMBERS rather than + with EMPTY_RELOC. + * arc.h (R_ARC_max): Likewise. + * avr.h (R_AVR_max): Likewise. + * fr30.h (R_FR30_max): Likewise. + * hppa.h (R_PARISC_UNIMPLEMENTED): Likewise. + * i960.h (R_960_max): Likewise. + * m32r.h (R_M32R_max): Likewise. + * m68k.h (R_68K_max): Likewise. + * mcore.h (R_MCORE_max): Likewise. + * mn10300.h (R_MN10300_MAX): Likewise. + * pj.h (R_PJ_max): Likewise. + * ppc.h (R_PPC_max): Likewise. + * sh.h (R_SH_max): Likewise. + * sparc.h (R_SPARC_max): Likewise. + * v850.h (R_V850_max): Likewise. + + * arm.h (R_ARM_max): Define via END_RELOC_NUMBERS. + * d10v.h (R_D10V_max): Likewise. + * d30v.h (R_D30V_max): Likewise. + * ia64.h (R_IA64_max): Likewise. + * mips.h (R_MIPS_maxext): Likewise. + * mn10200.h (R_MN10200_max): Likewise. + + * i386.h (R_386_max): Remove old RELOC_NUMBER definition, and + define via END_RELOC_NUMBERS. + +2000-06-03 Alan Modra + + * reloc-macros.h (START_RELOC_NUMBERS): Fix name clash for + !__STDC__ case. + (RELOC_NUMBER): Use ansi stringify if ALMOST_STDC defined. + +2000-05-22 Richard Henderson + + * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New. + (R_IA64_PCREL22, R_IA64_PCREL64I): New. + +2000-05-02 H.J. Lu + + * common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV. + (ELFOSABI_MODESTO): Defined. + (ELFOSABI_OPENBSD): Likewise. + +2000-04-21 Richard Henderson + David Mosberger + + * ia64.h: New file. + +2000-04-14 H.J. Lu + + * common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64. + +2000-04-14 H.J. Lu + + * common.h (ELFOSABI_NETBSD): Defined. + (ELFOSABI_HURD): Likewise. + (ELFOSABI_SOLARIS): Likewise. + (ELFOSABI_MONTEREY): Likewise. + (ELFOSABI_IRIX): Likewise. + (ELFOSABI_FREEBSD): Likewise. + (ELFOSABI_TRUE64): Likewise. + +2000-04-07 Nick Clifton + + * arm-oabi.h: Delete. + * arm.h: Merge in definitions of old reloc numbers from + arm-oabi.h. + +2000-04-06 Nick Clifton + + * arm.h (EF_ARM_SYMSARESORTED): Define. + (EF_ARM_EABIMASK): Define. + (EF_ARM_EABI_VERSION): Define. + (EF_ARM_EABI_UNKNOWN): Define. + (EF_ARM_EABI_VER1): Define. + (PF_ARM_PI): Define. + (PF_ARM_ABS): Define. + +2000-04-05 J"orn Rennecke + + * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. + +2000-03-27 Denis Chertykov + + * avr.h: New file. AVR ELF support for BFD. + * common.h: Add AVR magic number. + +2000-03-10 Geoffrey Keating + + * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, + R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation + numbers. + +2000-02-23 Linas Vepstas + + * i370.h: New file. + +2000-02-22 Nick Clifton + + * common.h (ELF_ST_OTHER): Remove definition. + (ELF32_ST_OTHER): Remove definition. + (ELF64_ST_OTHER): Remove definition. + +2000-02-22 H.J. Lu + + * common.h (ELFOSABI_LINUX): Define. + +2000-02-17 J"orn Rennecke + + * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros. + (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise. + (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise. + +2000-02-03 H.J. Lu + + * arm-oabi.h: Duplicate changes made to arm.h on Jan. 27, + 2000 by Thomas de Lellis . + +2000-01-27 Thomas de Lellis + + * arm.h (STT_ARM_TFUNC): Define in terms of STT_LOPROC. + (STT_ARM_16BIT): New flag. Denotes a label that was defined in + Thumb block but was does not identify a function. + +2000-01-20 Nick Clifton + + * common.h (EM_MCORE): Fix spelling of Motorola. + * mcore.h (EM_MCORE): Fix spelling of Motorola. + +2000-01-13 Nick Clifton + + * common.h (EM_S370): Change comment - this is now the IBM + System/370. + (EM_IA_64): Change comment - this is now the IA-64. + +2000-01-11 Nick Clifton + + * common.h (DT_ENCODING): Fix definition of this value. + (DT_LOOS): Fix definition of this value. + (DT_HIOS): Fix definition of this value. + (OLD_DT_LOOS): Value of DT_LOOS before Oct 4, 1999 draft + of ELF spec changed it. + (OLD_DT_HIOS): Value of DT_HIOS before Oct 4, 1999 draft + of ELF spec changed it. + +2000-01-10 Egor Duda + + * common.h (NT_WIN32PSTATUS): Define. (cygwin elf core dumps). + +1999-12-28 Nick Clifton + + * mips.h (STO_*): Redefine in terms of STV_* values now in + common.h. + +1999-12-27 Nick Clifton + + * common.h: Upgrade to match Oct4, 1999 Draft ELF ABI Spec. + (EM_MIPS_RS3_LE): New machine number. + (EM_RCE): New machine number. + (EM_MMA): New machine number. + (EM_PCP): New machine number. + (EM_NCPU): New machine number. + (EM_NDR1): New machine number. + (EM_STARCORE): New machine number. + (EM_ME16): New machine number. + (EM_ST100): New machine number. + (EM_TINYJ): New machine number. + (EM_FX66): New machine number. + (EM_ST9PLUS): New machine number. + (EM_ST7): New machine number. + (EM_68HC16): New machine number. + (EM_68HC11): New machine number. + (EM_68HC08): New machine number. + (EM_68HC05): New machine number. + (EM_SVX): New machine number. + (EM_VAX): New machine number. + (PF_MASKOS): Change value. + (SHT_INIT_ARRAY): New value for sh_type field. + (SHT_FINI_ARRAY): New value for sh_type field. + (SHT_PREINIT_ARRAY): New value for sh_type field. + (SHT_HIUSER): Change value. + (SHF_MERGE): New valye for sh_flags field. + (SHF_STRINGS): New valye for sh_flags field. + (SHF_INFO_LINK): New valye for sh_flags field. + (SHF_OS_NONCONFORMING): New valye for sh_flags field. + (SHF_MASKOS): Change value. + (ELF_ST_VISIBILITY): New macro. + (ELF_ST_OTHER): New macro. + (STT_COMMON): New symbol type. + (STV_DEFAULT): Value for symbol visibility. + (STV_INTERNAL): Value for symbol visibility. + (STV_HIDDEN): Value for symbol visibility. + (STV_PROTECTED): Value for symbol visibility. + (DT_RUNPATH): New dynamic section tag. + (DT_FLAGS): New dynamic section tag. + (DT_ENCODING): New dynamic section tag. + (DT_PREINIT_ARRAY): New dynamic section tag. + (DT_PREINIT_ARRAYSZ): New dynamic section tag. + (DT_LOPROC): New dynamic section tag index. + (DT_HIPROC): New dynamic section tag index. + (DF_ORIGIN): Value for dynamic section flag. + (DF_SYMBOLIC): Value for dynamic section flag. + (DF_TEXTREL): Value for dynamic section flag. + (DF_BIND_NOW): Value for dynamic section flag. + +1999-12-09 Fred Fish + + * i960.h (reloc-macros.h): Include using relative dir elf/. + * i386.h (reloc-macros.h): Include using relative dir elf/. + * hppa.h (reloc-macros.h): Include using relative dir elf/. + +1999-12-07 Jim Blandy + + * common.h (NT_PRXFPREG): New definition. + +Wed Dec 1 03:02:15 1999 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (E_MN10300_MACH_AM33): Define. + +Mon Oct 11 22:42:37 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (PF_HP_PAGE_SIZE): Define. + (PF_HP_FAR_SHARED, PF_HP_NEAR_SHARED, PF_HP_CODE): Likewise. + (PF_HP_MODIFY, PF_HP_LAZYSWAP, PF_HP_SBP): Likewise. + +Mon Oct 4 17:42:38 1999 Doug Evans + + * m32r.h (E_M32RX_ARCH): Define. + +1999-09-15 Ulrich Drepper + + * hppa.h: Add DT_HP_GST_SIZE, DT_HP_GST_VERSION, and DT_HP_GST_HASHVAL. + +1999-09-04 Steve Chamberlain + + * pj.h: New file. + * common.h (EM_PJ): Define. + +1999-09-02 Ulrich Drepper + + * hppa.h: Add HPUX specific symbol type definitions. + + * hppa.h: Add HPUX specific dynamic and program header table + specific definitions. + +1999-08-31 Scott Bambrough + + * common.h (NT_TASKSTRUCT): Define. + +1999-07-16 Jakub Jelinek + + * sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions + flag (as per SCD2.4.1). + +1999-07-16 Jakub Jelinek + + * sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not + ELF64_R_SYM bits. + +1999-06-21 Philip Blundell + + * arm.h (EF_SOFT_FLOAT, F_SOFT_FLOAT): Define. + +1999-07-13 Andreas Schwab + + * m68k.h (EF_CPU32): Move definition inside multiple inclusion + guard. + +1999-07-08 Richard Henderson + + * sparc.h (ELF64_R_TYPE_DATA): Sign extend the value. + (ELF64_R_TYPE_INFO): Mask out all but low 24 bits of data. + (DT_SPARC_PLTFMT): Delete. + Based on a patch from Jakub Jelinek. + +Mon Jun 21 16:36:02 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type. + +1999-06-10 Jakub Jelinek + + * sparc.h (R_SPARC_max_std): Define. + +Wed Jun 9 15:16:34 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h: Update with various changes from newest PA ELF + specifications. + +1999-06-03 Ian Lance Taylor + + * common.h (EM_PPC64): Define. + +1999-06-02 Stu Grossman + + * dwarf.h: Add LANG_JAVA. + * dwarf2.h: Add DW_LANG_Java. + +1999-05-29 Nick Clifton + + * common.h (ELFOSABI_ARM): Define. + +1999-05-28 Nick Clifton + + * reloc-macros.h: Update comment. + +1999-05-28 Ian Lance Taylor + + * i960.h: New file. + +1999-05-16 Nick Clifton + + * mcore.h (R_MCORE_COPY): Define. + (R_MCORE_GLOB_DAT): Define. + (R_MCORE_JUMP_SLOT): Define. + +1999-05-15 Nick Clifton + + * mcore.h (R_MCORE_RELATIVE): Define. + +1999-05-05 Catherine Moore + + * m68k.h (EF_CPU32): Define. + +1999-04-21 Nick Clifton + + * reloc-macros.h (START_RELOC_NUMBERS): Prepend an underscore to + fake reloc entry name (if possible), in order to avoid conflicts + with typedefs of the same name. + +1999-04-16 Gavin Romig-Koch + + * mips.h (EF_MIPS_32BITMODE): New. + +1999-04-08 Nick Clifton + + * mcore.h: New header file. Defines for Motorola's MCore + processor. + +1999-04-08 Nick Clifton + + * common.h: Add new constants defined in: "System V Application + Binary Interface - DRAFT - April 29, 1998" found at the web site: + http://www.sco.com/developer/gabi/contents.html + + (EM_MMA): Removed. Replaced with EM_MCORE as Motorolla own this + value. + +1999-03-31 Nick Clifton + + * reloc-macros.h: Fixed to not generate an enum with a trailing + comma. + +1999-03-16 Gavin Romig-Koch + + * mips.h (E_MIPS_MACH_5000): New. + +1999-03-10 Ulrich Drepper + + * common.h: Add definitions for a few more Solaris ELF extensions. + +Thu Feb 18 18:58:26 1999 Ian Lance Taylor + + * external.h: Only use attribute if __GNUC__ is defined. + +1999-02-17 Nick Clifton + + Patch submitted by: Scott Bambrough + + * external.h: struct Elf_External_Versym must be packed on + ARM. Code uses sizeof(Elf_External_Versym) and assumes it is + equal to sizeof(char[2]). Reported by Jim Pick + +1999-02-02 Nick Clifton + + * dwarf2.h (DWARF2_External_ARange): New structure. + (DWARF2_Internal_ARange): New structure. + +Mon Feb 1 11:33:56 1999 Catherine Moore + + * arm.h: Renumber relocs to conform to standard. + (EF_NEW_ABI): Define. + (EF_OLD_ABI): Define. + * arm-oabi.h: New file. + +1999-01-28 Nick Clifton + + * fr30.h: Add R_FR30_GNU_VT{INHERIT,ENTRY} relocs. + +1999-01-27 Nick Clifton + + * dwarf2.h: Add typedefs for structures found in dwarf2 sections. + +1998-12-16 Gavin Romig-Koch + + * mips.h (E_MIPS_MACH_4111): New. + +1998-12-15 Gavin Romig-Koch + + * mips.h (EF_MIPS_ABI,E_MIPS_ABI_O32,E_MIPS_ABI_O64, + E_MIPS_ABI_EABI32,E_MIPS_ABI_EABI64): + +1998-12-03 Nick Clifton + + * fr30.h: Add R_FR30_48 reloc. + +1998-12-02 Ulrich Drepper + + * mips.h: Add external data type for conflict section. + + * mips.h: Add more LL_* options from Irix 6.5. + + * mips.h: Add R_MIPS_JALR and adjust R_MIPS_max appropriately. + +Mon Nov 30 15:25:58 1998 J"orn Rennecke + + * sh.h (elf_sh_reloc_type): Add R_SH_FIRST_INVALID_RELOC, + R_SH_LAST_INVALID_RELOC, R_SH_SWITCH8 and R_SH_max. + +Tue Nov 10 15:12:28 1998 Nick Clifton + + * common.h (EM_CYGNUS_FR30): Reduce to a 16 bit value. + +Tue Nov 10 15:17:28 1998 Catherine Moore + + * d10v.h: Add vtable relocs. + +Wed Nov 4 15:56:50 1998 Nick Clifton + + * common.h (EM_CYGNUS_FR30): New machine number. + + * fr30.h: New file: Definitions for the FR30. + +Fri Oct 30 11:54:15 1998 Catherine Moore + + From Philip Blundell : + * arm.h (R_ARM_COPY, et al.): New relocs, used by Linux for PIC. + (EF_ALIGN8): New flag. + +Tue Oct 20 11:19:50 1998 Ian Lance Taylor + + * common.h (NT_LWPSTATUS): Close comment accidentally left open. + +Mon Oct 19 20:24:11 1998 Catherine Moore + + * sh.h: Add vtable relocs. + +Mon Oct 19 01:44:42 1998 Felix Lee + + * common.h (NT_PSTATUS, NT_FPREGS, NT_PSINFO, + NT_LWPSTATUS,NT_LWPSINFO): added. + * internal.h (Elf_Internal_Note): new structure members. + +Fri Oct 16 14:11:25 1998 Catherine Moore + + * m32r.h: Add vtable relocs. + +Tue Oct 6 09:22:22 1998 Catherine Moore + + * sparc.h: Add vtable relocs. + +Mon Oct 5 09:39:22 1998 Catherine Moore + + * v850.h: Add vtable relocs. + +Sun Oct 4 21:17:51 1998 Ian Lance Taylor + + * i386.h (R_386_max): Change from 252 to 24. + +Mon Sep 21 12:24:44 1998 Catherine Moore + + * i386.h: Change vtable reloc numbers. + +Sun Sep 20 00:54:22 1998 Andreas Schwab + + * m68k.h: Add vtable relocs and R_68K_max. + +Tue Sep 15 09:56:49 CDT 1998 Catherine Moore + + * arm.h: Add vtable relocs. + +Mon Aug 31 11:25:27 1998 Catherine Moore + + * arm.h: Define STT_ARM_TFUNC. Remove ST_THUMB_xxxx + definitions. + +Sat Aug 29 22:25:51 1998 Richard Henderson + + * i386.h: Add vtable relocs. + +1998-08-25 16:42 Ulrich Drepper + + * common.h: Add SYMINFO_* macros to access Elf*_Syminfo information. + + * external.h: Add Elf_External_Syminfo definition. + + * internal.h: Add Elf_Internal_Syminfo, Elf32_Internal_Syminfo, + and Elf64_Syminfo definitions. + +Sun Aug 9 20:26:49 CDT 1998 Catherine Moore + + * arm.h: Add ST_THUMB definitions. + +Wed Aug 5 15:52:35 1998 Nick Clifton + + * arm.h: Add ELF header flags to specify compile time optins: + EF_INTERWORK: New flag. + EF_APCS_26: New flag. + EF_APCS_FLOAT: New flag. + EF_PIC: New flag. + +1998-07-31 21:28 Ulrich Drepper + + * mips.h: Add missing RHF_* constants. + +Fri Jul 31 10:01:40 1998 Catherine Moore + + * arm.h: Add R_ARM_THM_PC9 relocation. + +1998-07-30 16:25 Ulrich Drepper + + * common.h: Add new DT_* entries and there flag macros from Solaris. + +Tue Jul 28 18:14:07 1998 Stan Cox + + * sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x. + +Fri Jul 24 11:22:06 1998 Jeffrey A Law (law@cygnus.com) + + * mn10300.h: Add R_MN10300_24 relocation. + +1998-07-24 Ulrich Drepper + + * mips.h: Add MIPS64 relocation names and values. + +Wed Jul 22 19:29:00 Catherine Moore + + * arm.h: Rename relocations. + +1998-07-22 Ulrich Drepper + + * ppc.h: Define enum as elf_ppc_reloc_type. + +Wed Jul 22 16:22:11 1998 Nick Clifton + + * reloc-macros.h: New file. Provides relocation macros: + START_RELOC_NUMBERS, RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC and + END_RELOC_NUMBERS used by other elf header files. + + * alpha.h: Use reloc-macros.h. + * arc.h: Use reloc-macros.h. + * arm.h: Use reloc-macros.h. + * d10v.h: Use reloc-macros.h. + * d30v.h: Use reloc-macros.h. + * hppa.h: Use reloc-macros.h. + * i386.h: Use reloc-macros.h. + * m32r.h: Use reloc-macros.h. + * m68k.h: Use reloc-macros.h. + * mips.h: Use reloc-macros.h. + * mn10200.h: Use reloc-macros.h. + * mn10300.h: Use reloc-macros.h. + * ppc.h: Use reloc-macros.h. + * sh.h: Use reloc-macros.h. + * sparc.h: Use reloc-macros.h. + * v850.h: Use reloc-macros.h. + +1998-07-22 13:07 Ulrich Drepper + + * mn10300.h: Rewrite relocation definition using macros. + * mips.h: Likewise. + * ppc.h: Likewise. + * alpha.h: Likewise. + * arm.h: Likewise. + * d10v.h: Likewise. + * d30v.h: Likewise. + * m32r.h: Likewise. + * m68k.h: Likewise. + * mn10200.h: Likewise. + * sh.h: Likewise. + * sparc.h: Likewise. + +1998-07-21 13:07 Ulrich Drepper + + * arm.h: New file. + * d10v.h: New file. + * d30v.h: New file. + * i386.h: New file. + * m68k.h: New file. + * mn10200.h: New file. + * sh.h: New file. + + * mips.h: Add R_MIPS_* and SHT_MIPS_* entries. + + * mn10300.h: Add R_MN10300_* entries. + + * ppc.h: Add R_PPC_* entries. + +1998-07-20 07:11 Ulrich Drepper + + * mips.h: Add ODK_*, OEX_*, OPAD_*, OHW_*, and OGP_* constants. + Define Elf32_External_Lib. + +1998-07-19 15:24 Ulrich Drepper + + * mips.h (PT_MIPS_OPTIONS): New symbol. + Add lots of DT_MIPS_* symbols. + +Fri Jun 26 10:46:35 1998 Jeffrey A Law (law@cygnus.com) + + * mn10300.h: New file. + +Thu Jun 18 19:27:56 1998 Nick Clifton + + * common.h (EM_960, EM_V800, EM_FR20, EM_RH32, EM_MMA, + EM_OLD_ALPHA): Add these constants. + +Thu Jun 11 17:59:01 1998 Nick Clifton + + * common.h (EM_486, EM_S370): Add these constants. + +Tue Jun 9 09:35:29 1998 Nick Clifton + + * common.h (EM_ARM): Add this constant. + +Wed May 6 09:45:30 1998 Gavin Koch + + * mips.h (EF_MIPS_MACH,E_MIPS_MACH_*): Added. + +Sat Apr 25 18:35:06 1998 Richard Henderson + + * alpha.h (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New. + +Wed Apr 15 15:42:45 1998 Richard Henderson + + * common.h (EM_SPARC64): Move and rename to EM_OLD_SPARCV9. + (EM_SPARCV9): New. This is the official ABI name and number. + +Sat Feb 28 17:04:41 1998 Richard Henderson + + * alpha.h (EF_ALPHA_32BIT, EF_ALPHA_CANRELAX): New. + +Mon Dec 15 15:07:49 1997 Nick Clifton + + * m32r.h (EF_M32R_ARCH, E_M32R_ARCH): New flags to + specify machine architecture. + +Fri Dec 5 11:20:08 1997 Nick Clifton + + * v850.h: New constants: SHN_V850_SCOMMON, SHN_V850_TCOMMON, + SHN_V850_ZCOMMON, SHT_V850_SCOMMON, SHT_V850_TCOMMON, + SHT_V850_ZCOMMON to handle v850 common sections. + enum reloc_type renamed to v850_reloc_type to avoid name + conflict. + +Thu Oct 23 13:55:24 1997 Richard Henderson + + * sparc.h (enum elf_sparc_reloc_type): Add UA64 & UA16. + +Thu Oct 23 00:42:04 1997 Richard Henderson + + * sparc.h (DT_SPARC_REGISTER): New macro. + (DT_SPARC_PLTFMT): In support of old sparc64-linux .plts; will + go away soon. + +Tue Sep 30 13:26:58 1997 Doug Evans + + * sparc.h (EF_SPARC_HAL_R1, EF_SPARC_EXT_MASK): New macros. + (EF_SPARCV9_{MM,TSO,PSO,RMO}): New macros. + (SHN_BEFORE,SHN_AFTER): New macros. + (SHF_EXCLUDE,SHF_ORDERED): New macros. + (STT_REGISTER): New macro. + (R_SPARC_GLOB_JMP): Deleted, but slot reserved. + (R_SPARC_{DISP64,PLT64,HIX22,LOX10}): New relocations. + (R_SPARC_{H44,M44,L44,REGISTER}): New relocations. + (ELF64_R_TYPE_{DATA,ID,INFO}): New macros. + +Wed Sep 17 16:41:42 1997 Nick Clifton + + * v850.h: Add R_V850_CALLT_6_7_OFFSET and R_V850_CALLT_16_16_OFFSET. + +Tue Sep 16 14:16:17 1997 Nick Clifton + + * v850.h (reloc_type): Add R_V850_TDA_16_16_OFFSET. + +Wed Sep 3 15:11:14 1997 Richard Henderson + + * mips.h: Correct typo in comment. + +Wed Sep 3 11:25:57 1997 Nick Clifton + + * v850.h (reloc_type): Remove R_V850_16_PCREL. + +Tue Sep 2 17:41:05 1997 Nick Clifton + + * common.h: Remove magic number for V850E. + * common.h: Remove magic number for V850EA. + * v850.h: Add new flags for e_flags field in elf header. + +Mon Aug 25 16:06:47 1997 Nick Clifton + + * common.h (EM_CYGNUS_V850E): backend magic number for v850e. + * common.h (EM_CYGNUS_V850EA): backend magic number for v850ea. + +Mon Aug 18 11:05:23 1997 Nick Clifton + + * v850.h (reloc_type): Add 16 bit PC relative relocation. + +Fri Aug 15 05:10:09 1997 Doug Evans + + * arc.h (enum reloc): Move here from elf32-arc.c. + +Fri Aug 8 17:05:29 1997 Doug Evans + + * arc.h: New file. + * common.h (EM_CYGNUS_ARC): Define. + +Mon Jun 16 14:46:12 1997 Ian Lance Taylor + + * internal.h (Elf_Internal_Ehdr): Change e_phoff and e_shoff from + bfd_signed_vma to bfd_size_type, as they are not signed. + +Wed Mar 5 15:35:26 1997 Doug Evans + + * m32r.h (SHF_M32R_CAN_RELAX): Define. + +Mon Feb 24 17:49:01 1997 Ian Lance Taylor + + * external.h: Dump the 32/64 bit specific forms of the version + structures, and just define them as size independent. + + * common.h (VERSYM_HIDDEN, VERSYM_VERSION): Define. + +Fri Feb 21 13:00:34 1997 Doug Evans + + * m32r.h (enum reloc_type): Add R_M32R_SDA16. + (SHN_M32R_SCOMMON): Define. + +Wed Feb 19 15:35:31 1997 Ian Lance Taylor + + From Eric Youngdale : + * external.h, internal.h, common.h: Added new structures and + definitions for ELF versions. + +Tue Feb 18 17:40:36 1997 Martin M. Hunt + + * common.h (EM_CYGNUS_D30V): Define. + +Mon Jan 27 11:54:44 1997 Doug Evans + + * m32r.h (enum reloc_type): Add R_M32R_HI16_[SU]LO,R_M32R_LO16. + +Fri Jan 3 11:32:51 1997 Michael Meissner + + * v850.h (V850_OTHER_{TDA_BYTE,ERROR}): New bits for the st_other + field. + (SHN_V850_*): Remove v850 specific section indexes, which are not + needed. + (enum reloc_type): Move the v850 relocations here from + elf32-v850.c + +Thu Jan 2 19:30:23 1997 Michael Meissner + + * v850.h: New file, provide V850 specific definitions. + +Tue Dec 31 14:44:32 1996 Ian Lance Taylor + + * common.h (DT_AUXILIARY): Define. + (DT_FILTER): Define. + +Wed Dec 4 05:03:37 1996 Jason Merrill + + * dwarf2.h: Update. + +Tue Nov 26 10:44:47 1996 Ian Lance Taylor + + * mips.h (STO_MIPS16): Define. + +Tue Nov 12 15:45:42 1996 Martin M. Hunt + + * d10v.h: Remove empty file. + +Tue Oct 8 11:31:24 1996 Ian Lance Taylor + + * mips.h (EF_MIPS_ABI2): Define. + +Thu Oct 3 10:01:40 1996 Jeffrey A Law (law@cygnus.com) + + * common.h: Break mn10x00 support into mn10200 and mn10300. + +Wed Oct 2 21:26:43 1996 Jeffrey A Law (law@cygnus.com) + + * common.h (EM_CYGNUS_MN10x00): Define. + +Mon Sep 23 09:18:04 1996 Doug Evans + + * m32r.h: New file. + +Fri Aug 30 17:06:21 1996 Ian Lance Taylor + + * common.h (EM_SH): Define. + +Tue Aug 20 14:47:54 1996 J.T. Conklin + + * common.h (EM_CYGNUS_V850): Define. + +Mon Aug 19 10:59:10 1996 Doug Evans + + * common.h (EM_CYGNUS_M32R): Define. + +Mon Jul 22 18:59:55 1996 Ian Lance Taylor + + * mips.h (SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Define. + (SHT_MIPS_SYMBOL_LIB): Define. + (SHF_MIPS_MERGE, SHF_MIPS_ADDR32, SHF_MIPS_ADDR64): Define. + (SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL, SHF_MIPS_NAMES): Define. + +Thu Jul 18 19:12:15 1996 Stan Shebs + + * dwarf2.h: New file. + +Jul 18 13:20:39 1996 Martin M. Hunt + + * common.h (EM_CYGNUS_D10V): Define. + * d10v.h: New file. + +Fri Jun 21 12:33:24 1996 Richard Henderson + + * alpha.h: New file. + * common.h (EM_ALPHA): Define. + +Fri May 31 17:28:05 1996 Ian Lance Taylor + + * mips.h (Elf_External_Options, Elf_Internal_Options): Define. + (bfd_mips_elf_swap_options_in): Declare. + (bfd_mips_elf_swap_options_out): Declare. + (ODK_*): Define. + (Elf64_External_RegInfo, Elf64_Internal_RegInfo): Define. + (bfd_mips_elf64_swap_reginfo_in): Declare. + (bfd_mips_elf64_swap_reginfo_out): Declare. + +Thu May 30 12:35:57 1996 Ian Lance Taylor + + * mips.h (E_MIPS_ARCH_4): Define. + +Wed May 29 15:35:33 1996 Ian Lance Taylor + + * mips.h (Elf64_Mips_External_Rel): Define. + (Elf64_Mips_Internal_Rel): Define. + (Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define. + (RSS_*): Define. + +Mon Apr 22 18:26:30 1996 Doug Evans + + * sparc.h (R_SPARC_[56]): Always define. + +Mon Feb 19 01:55:56 1996 Doug Evans + + * sparc.h (R_SPARC_{PLT32,HIPLT22,LOPLT10,PCPLT32,PCPLT22, + PCPLT10,5,6}): Don't define ifdef SPARC64_OLD_RELOCS. + +Tue Feb 6 11:33:58 1996 Doug Evans + + * sparc.h (enum sparc_elf_reloc_type): Define. + +Wed Jan 17 09:09:16 1996 Doug Evans + + * common.h: Define EM_SPARC32PLUS. + * sparc.h: New file. + +Thu Jan 11 16:27:34 1996 Michael Meissner + + * ppc.h (SHF_EXCLUDE, SHT_ORDERED): New fields from the abi. + +Thu Nov 30 16:47:18 1995 Ian Lance Taylor + + * internal.h (struct elf_segment_map): Add includes_filehdr and + includes_phdrs fields. + +Tue Nov 28 16:58:10 1995 Ian Lance Taylor + + * internal.h (struct elf_segment_map): Define. + +Tue Oct 31 15:19:36 1995 Fred Fish + + * common.h, dwarf.h, external.h, hppa.h, internal.h, + mips.h, ppc.h: Protect against multiple inclusions. + +Thu Sep 21 13:51:58 1995 Michael Meissner + + * ppc.h (EF_PPC_RELOCATABLE_LIB): Add new flag bit. + +Fri Sep 1 15:32:17 1995 Kazumoto Kojima + + * mips.h: Add some definitions used on Irix 5. + +Tue Jun 20 10:18:28 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa.h (CPU_PA_RISC1_0): Protect from redefinitions. + (CPU_PA_RISC1_1): Likewise. + +Wed Mar 8 18:14:37 1995 Michael Meissner + + * ppc.h: New file for PowerPC support. + +Tue Feb 14 13:59:13 1995 Michael Meissner + + * common.h (EM_PPC): Use offical value of 20, not 17. + (EM_PPC_OLD): Define this to be the old value of EM_PPC. + +Tue Jan 24 09:40:59 1995 Michael Meissner + + * common.h (EM_PPC): New macro, PowerPC machine id. + +Tue Jan 17 10:51:38 1995 Ian Lance Taylor + + * mips.h (SHT_MIPS_MSYM, SHT_MIPS_DWARF, SHT_MIPS_EVENTS): Define. + +Mon Oct 17 13:43:59 1994 Ian Lance Taylor + + * internal.h (Elf_Internal_Shdr): Remove rawdata and size fields. + Add bfd_section field. + +Tue May 24 16:11:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (Elf32_External_gptab): Define. + +Mon May 16 13:22:04 1994 Jeff Law (law@snake.cs.utah.edu) + + * common.h (EM_HPPA): Delete. + (EM_PARISC): Add. + * hppa.h: New file. + +Mon May 9 13:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * common.h (SHN_LORESERVE): Rename from SHN_LORESERV. + (ELF32_R_TYPE, ELF32_R_INFO): Don't rely on size of unsigned char. + (ELF64_R_TYPE): Don't rely on size of unsigned long. + +Mon Apr 25 15:53:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * internal.h (Elf_Internal_Shdr): Use PTR, not void *. + +Fri Mar 11 00:34:59 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips.h (SHN_MIPS_TEXT, SHN_MIPS_DATA): Define. + +Sat Mar 5 14:08:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * internal.h: Remove Elf32_*, Elf64_* typedefs. These names + cause conflicts with system headers, e.g. link.h in gdb/solib.c. + Combine 32- and 64-bit versions of *_Internal_Dyn. + * common.h: Replace uses of Elf64_Word, Elf64_Xword typedefs + by their expansion. + * mips.h: Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr + typedefs by their expansion. Add DT_MIPS_RLD_MAP definition. + +Fri Feb 18 10:39:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * common.h (EM_CYGNUS_POWERPC): Define. This may be temporary, + depending upon how quickly I can find a real PowerPC ABI. + +Mon Feb 7 08:27:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT. + +Wed Feb 2 14:12:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * common.h: Add comments regarding value of EM_HPPA and how to + pick an unofficial value. + +Wed Nov 17 17:14:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (SHT_MIPS_OPTIONS): Define. + +Mon Nov 8 17:57:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h: Added some more MIPS ABI macro definitions. + +Wed Nov 3 22:07:17 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * common.h (EM_MIPS_RS4_BE): New macro. + +Tue Oct 12 07:28:18 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h: New file. MIPS ABI specific information. + +Mon Jun 21 13:13:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * internal.h: Combined 32- and 64-bit versions of all structures + except *_Internal_Dyn. This will simply the assembler interface, + and some bfd code. + +Tue May 25 02:00:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * external.h, internal.h, common.h: Added 64-bit versions of some + structures and macros. Renamed old versions to put "32" in the + name. Some are unchanged. + +Thu Apr 29 12:12:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * common.h (EM_HPPA, NT_VERSION, STN_UNDEF, DT_*): New macros. + * external.h (Elf_External_Dyn): New type. + + * internal.h (Elf_Intenral_Shdr): New field `size'. + (Elf_Internal_Dyn): New type. + +Tue Apr 20 16:03:45 1993 Fred Fish (fnf@cygnus.com) + + * dwarf.h (LANG_CHILL): Change value to one randomly picked in + the user defined range, to reduce probability of collisions. + +Sun Nov 15 09:34:02 1992 Fred Fish (fnf@cygnus.com) + + * dwarf.h (AT_src_coords): Whitespace change only. + * dwarf.h (AT_body_begin, AT_body_end, LANG_MODULA2): + Add from latest gcc. + * dwarf.h (LANG_CHILL): Add as GNU extension. + +Sat Aug 1 13:46:53 1992 Fred Fish (fnf@cygnus.com) + + * dwarf.h: Replace with current version from gcc distribution. + +Fri Jun 19 19:05:09 1992 John Gilmore (gnu at cygnus.com) + + * internal.h: Add real struct tags to all the Type_Defs, so they + can be used in prototypes where the Type_Defs are not known. + +Fri Apr 3 20:58:58 1992 Mark Eichin (eichin at cygnus.com) + + * common.h: added ELF_R_{SYM,TYPE,INFO} for handling relocation + info + added EM_MIPS, and corrected value of EM_860 based on System V ABI + manual. + + * external.h: added Elf_External_{Rel,Rela}. + + * internal.h: added Elf_Internal_{Rel,Rela}. + added rawdata to Elf_Internal_Shdr. + +Sat Nov 30 20:43:59 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * common.h, dwarf.h, external.h, internal.h, ChangeLog; moved from + ../elf- + + +Local Variables: +version-control: never +End: diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 42cf9a5e4f5..33163834229 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3102 +1,9 @@ -2003-10-21 Peter Barada - Bernardo Innocenti - - * m68k.h: Add MCFv4/MCF5528x support. - -2003-10-19 Hans-Peter Nilsson - - * mmix.h (JMP_INSN_BYTE): Define. - -2003-09-30 Chris Demetriou - - * mips.h: Document +E, +F, +G, +H, and +I operand types. - Update documentation of I, +B and +C operand types. - (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. - (M_DEXT, M_DINS): New enum values. - -2003-09-04 Nick Clifton - - * v850.h (PROCESSOR_V850E1): Define. - -2003-08-19 Alan Modra - - * ppc.h (PPC_OPCODE_440): Define. Formatting. Use hex for other - PPC_OPCODE_* defines. - -2003-08-16 Jason Eckhardt - - * i860.h (fmov.ds): Expand as famov.ds. - (fmov.sd): Expand as famov.sd. - (pfmov.ds): Expand as pfamov.ds. - -2003-08-07 Michael Meissner - - * cgen.h: Remove PARAM macro usage in all prototypes. - (CGEN_EXTRACT_INFO): Use void * instead of PTR. - (cgen_print_fn): Ditto. - (CGEN_HW_ENTRY): Ditto. - (CGEN_MAYBE_MULTI_IFLD): Ditto. - (struct cgen_insn): Ditto. - (CGEN_CPU_TABLE): Ditto. - -2003-08-07 Alan Modra - - * alpha.h: Remove PARAMS macro. - * arc.h: Likewise. - * d10v.h: Likewise. - * d30v.h: Likewise. - * i370.h: Likewise. - * or32.h: Likewise. - * pj.h: Likewise. - * ppc.h: Likewise. - * sparc.h: Likewise. - * tic80.h: Likewise. - * v850.h: Likewise. - -2003-07-18 Michael Snyder - - * include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting. - -2003-07-15 Richard Sandiford - - * mips.h (CPU_RM7000): New macro. - (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. - -2003-07-09 Alexandre Oliva - - 2000-04-01 Alexandre Oliva - * mn10300.h (AM33_2): Renamed from AM33. - 2000-03-31 Alexandre Oliva - * mn10300.h (AM332, FMT_D3): Defined. - (MN10300_OPERAND_FSREG, MN10300_OPERAND_FDREG): Likewise. - (MN10300_OPERAND_FPCR): Likewise. - -2003-07-01 Martin Schwidefsky - - * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990. - -2003-06-25 Richard Sandiford - - * h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. - (IMM8U, IMM8U_NS): Define. - (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy. - -2003-06-25 Richard Sandiford - - * h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd and - mov.l ERs,@(dd:32,ERd) entries. - -2003-06-23 H.J. Lu - - * i386.h (i386_optab): Support Intel Precott New Instructions. - -2003-06-10 Gary Hade - - * ppc.h (PPC_OPERAND_DQ): Define. - -2003-06-10 Richard Sandiford - - * h8300.h (IMM4_NS, IMM8_NS): New. - (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. - Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. - -2003-06-03 Michael Snyder - - * h8300.h (enum h8_model): Add AV_H8S to distinguish from H8H. - (ldc): Split ccr ops from exr ops (which are only available - on H8S or H8SX). - (stc): Ditto. - (andc, orc, xorc): Ditto. - (ldmac, stmac, clrmac, mac): Change access to AV_H8S. - -2003-06-03 Michael Snyder - and Bernd Schmidt - and Alexandre Oliva - * h8300.h: Add support for h8300sx instruction set. - -2003-05-23 Jason Eckhardt - - * i860.h (expand_type): Add XP_ONLY. - (scyc.b): New XP instruction. - (ldio.l): Likewise. - (ldio.s): Likewise. - (ldio.b): Likewise. - (ldint.l): Likewise. - (ldint.s): Likewise. - (ldint.b): Likewise. - (stio.l): Likewise. - (stio.s): Likewise. - (stio.b): Likewise. - (pfld.q): Likewise. - -2003-05-20 Jason Eckhardt - - * i860.h (flush): Set lower 3 bits properly and use 'L' - for the immediate operand type instead of 'i'. - -2003-05-20 Jason Eckhardt - - * i860.h (fzchks): Both S and R bits must be set. - (pfzchks): Likewise. - (faddp): Likewise. - (pfaddp): Likewise. - (fix.ss): Remove (invalid instruction). - (pfix.ss): Likewise. - (ftrunc.ss): Likewise. - (pftrunc.ss): Likewise. - -2003-05-18 Jason Eckhardt - - * i860.h (form, pform): Add missing .dd suffix. - -2003-05-13 Stephane Carrez - - * m68hc11.h (M68HC12_BANK_VIRT): Define to 0x010000 - -2003-04-07 Michael Snyder - - * h8300.h (ldc/stc): Fix up src/dst swaps. - -2003-04-09 J. Grant - - * mips.h: Correct comment typo. - -2003-03-21 Martin Schwidefsky - - * s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val. - (S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH. - (s390_opcode): Remove architecture. Add modes and min_cpu. - -2003-03-17 D.Venkatasubramanian - - * h8300.h (O_SYS_CMDLINE): New pseudo opcode for command line - processing. - -2003-02-21 Noida D.Venkatasubramanian - - * h8300.h (ldmac, stmac): Replace MACREG with MS32 and MD32. - -2003-01-23 Alan Modra - - * m68hc11.h (cpu6812s): Define. - -2003-01-07 Chris Demetriou - - * mips.h: Fix missing space in comment. - (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5) - (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right - by four bits. - -2003-01-02 Chris Demetriou - - * mips.h: Update copyright years to include 2002 (which had - been missed previously) and 2003. Make comments about "+A", - "+B", and "+C" operand types more descriptive. - -2002-12-31 Chris Demetriou - - * mips.h: Note that the "+D" operand type name is now used. - -2002-12-30 Chris Demetriou - - * mips.h: Document "+" as the start of two-character operand - type names, and add new "K", "+A", "+B", and "+C" operand types. - (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) - (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New - defines. - -2002-12-24 Dmitry Diky - - * msp430.h: New file. Defines msp430 opcodes. - -2002-12-30 D.Venkatasubramanian - - * h8300.h: Added some more pseudo opcodes for system call - processing. - -2002-12-19 Chris Demetriou - - * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3) - (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2) - (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1) - (OP_OP_SDC2, OP_OP_SDC3): Define. - -2002-12-16 Alan Modra - - * hppa.h (completer_chars): #if 0 out. - - * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and - "default_args". - (struct not_wot): Constify "args". - (struct not): Constify "name". - (numopcodes): Delete. - (endop): Delete. - -2002-12-13 Alan Modra - - * pj.h (pj_opc_info_t): Add union. - -2002-12-04 David Mosberger - - * ia64.h: Fix copyright message. - (IA64_OPND_AR_CSD): New operand kind. - -2002-12-03 Richard Henderson - - * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV. - -2002-12-03 Alan Modra - - * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union. - Constify "leaf" and "multi". - -2002-11-19 Klee Dienes - - * h8300.h (h8_opcode): Remove 'noperands', 'idx', and 'size' - fields. - (h8_opcodes). Modify initializer and initializer macros to no - longer initialize the removed fields. - -2002-11-19 Svein E. Seldal - - * tic4x.h (c4x_insts): Fixed LDHI constraint - -2002-11-18 Klee Dienes - - * h8300.h (h8_opcode): Remove 'length' field. - (h8_opcodes): Mark as 'const' (both the declaration and - definition). Modify initializer and initializer macros to no - longer initialize the length field. - -2002-11-18 Klee Dienes - - * arc.h (arc_ext_opcodes): Declare as extern. - (arc_ext_operands): Declare as extern. - * i860.h (i860_opcodes): Declare as const. - -2002-11-18 Svein E. Seldal - - * tic4x.h: File reordering. Added enhanced opcodes. - -2002-11-16 Svein E. Seldal - - * tic4x.h: Major rewrite of entire file. Define instruction - classes, and put each instruction into a class. - -2002-11-11 Svein E. Seldal - - * tic4x.h: Added new opcodes and corrected some bugs. Add support - for new DSP types. - -2002-10-14 Alan Modra - - * cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - Eric Christopher - Richard Sandiford - - * mips.h: Update comment for new opcodes. - (OP_MASK_VECBYTE, OP_SH_VECBYTE): New. - (OP_MASK_VECALIGN, OP_SH_VECALIGN): New. - (INSN_4111, INSN_4120, INSN_5400, INSN_5500): New. - (CPU_VR4120, CPU_VR5400, CPU_VR5500): New. - (OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags. - Don't match CPU_R4111 with INSN_4100. - -2002-08-19 Elena Zannoni - - From matthew green - - * ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500 - instructions. - (PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR, - PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the - e500x2 Integer select, branch locking, performance monitor, - cache locking and machine check APUs, respectively. - (PPC_OPCODE_EFS): New opcode type for efs* instructions. - (PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions. - -2002-08-13 Stephane Carrez - - * m68hc11.h (M6812_OP_PAGE): Define to identify call operand. - (M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE, - M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12 - memory banks. - (M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value. - -2002-07-09 Thiemo Seufer - - * mips.h (INSN_MIPS16): New define. - -2002-07-08 Alan Modra - - * i386.h: Remove IgnoreSize from movsx and movzx. - -2002-06-08 Alan Modra - - * a29k.h: Replace CONST with const. - (CONST): Don't define. - * convex.h: Replace CONST with const. - (CONST): Don't define. - * dlx.h: Replace CONST with const. - * or32.h (CONST): Don't define. - -2002-05-30 Chris G. Demetriou - - * mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL) - (MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH) - (MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC) - (INSN_MDMX): New constants, for MDMX support. - (opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX. - -2002-05-28 Kuang Hwa Lin - - * dlx.h: New file. - -2002-05-25 Alan Modra - - * ia64.h: Use #include "" instead of <> for local header files. - * sparc.h: Likewise. - -2002-05-22 Thiemo Seufer - - * mips.h: Add M_DROL, M_DROL_I, M_DROR, M_DROR_I macro cases. - -2002-05-17 Andrey Volkov - - * h8300.h: Corrected defs of all control regs - and eepmov instr. - -2002-04-11 Alan Modra - - * i386.h: Add intel mode cmpsd and movsd. - Put them before SSE2 insns, so that rep prefix works. - -2002-03-15 Chris G. Demetriou - - * mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D - instructions. - (OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks - may be passed along with the ISA bitmask. - -2002-03-05 Paul Koning - - * pdp11.h: Add format codes for float instruction formats. - -2002-02-25 Alan Modra - - * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define. - -Mon Feb 18 17:31:48 CET 2002 Jan Hubicka - - * i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands. - -Mon Feb 11 12:53:19 CET 2002 Jan Hubicka - - * i386.h (push,pop): Allow 16bit operands in 64bit mode. - (xchg): Fix. - (in, out): Disable 64bit operands. - (call, jmp): Avoid REX prefixes. - (jcxz): Prohibit in 64bit mode - (jrcxz, loop): Add 64bit variants. - (movq): Fix patterns. - (movmskps, pextrw, pinstrw): Add 64bit variants. - -2002-01-31 Ivan Guzvinec - - * or32.h: New file. - -2002-01-22 Graydon Hoare - - * cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure. - (CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field. - -2002-01-21 Thomas Klausner - - * h8300.h: Comment typo fix. - -2002-01-03 matthew green - - * ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific. - (PPC_OPCODE_BOOKE64): Likewise. - -Mon Dec 31 16:45:41 2001 Jeffrey A Law (law@cygnus.com) - - * hppa.h (call, ret): Move to end of table. - (addb, addib): PA2.0 variants should have been PA2.0W. - (ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler - happy. - (fldw, fldd, fstw, fstd, bb): Likewise. - (short loads/stores): Tweak format specifier slightly to keep - disassembler happy. - (indexed loads/stores): Likewise. - (absolute loads/stores): Likewise. - -2001-12-04 Alexandre Oliva - - * d10v.h (OPERAND_NOSP): New macro. - -2001-11-29 Alexandre Oliva - - * d10v.h (OPERAND_SP): New macro. - -2001-11-15 Alan Modra - - * ppc.h (struct powerpc_operand ): Add dialect param. - -2001-11-11 Timothy Wall - - * tic54x.h: Revise opcode layout; don't really need a separate - structure for parallel opcodes. - -2001-11-13 Zack Weinberg - Alan Modra - - * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to - accept WordReg. - -2001-11-04 Chris Demetriou - - * mips.h (OPCODE_IS_MEMBER): Remove extra space. - -2001-10-30 Hans-Peter Nilsson - - * mmix.h: New file. - -2001-10-18 Chris Demetriou - - * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end - of the expression, to make source code merging easier. - -2001-10-17 Chris Demetriou - - * mips.h: Sort coprocessor instruction argument characters - in comment, add a few more words of description for "H". - -2001-10-17 Chris Demetriou - - * mips.h (INSN_SB1): New cpu-specific instruction bit. - (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1 - if cpu is CPU_SB1. - -2001-10-17 matthew green - - * ppc.h (PPC_OPCODE_BOOKE64): Fix typo. - -2001-10-12 matthew green - - * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_BOOKE64, PPC_OPCODE_403): New - opcode flags for BookE 32-bit, BookE 64-bit and PowerPC 403 - instructions, respectively. - -2001-09-27 Nick Clifton - - * v850.h: Remove spurious comment. - -2001-09-21 Nick Clifton - - * h8300.h: Fix compile time warning messages - -2001-09-04 Richard Henderson - - * alpha.h (struct alpha_operand): Pack elements into bitfields. - -2001-08-31 Eric Christopher - - * mips.h: Remove CPU_MIPS32_4K. - -2001-08-27 Torbjorn Granlund - - * ppc.h (PPC_OPERAND_DS): Define. - -2001-08-25 Andreas Jaeger - - * d30v.h: Fix declaration of reg_name_cnt. - - * d10v.h: Fix declaration of d10v_reg_name_cnt. - - * arc.h: Add prototypes from opcodes/arc-opc.c. - -2001-08-16 Thiemo Seufer - - * mips.h (INSN_10000): Define. - (OPCODE_IS_MEMBER): Check for INSN_10000. - -2001-08-10 Alan Modra - - * ppc.h: Revert 2001-08-08. - -2001-08-10 Richard Sandiford - - * mips.h (INSN_GP32): Remove. - (OPCODE_IS_MEMBER): Remove gp32 parameter. - (M_MOVE): New macro identifier. - -2001-08-08 Alan Modra - - 1999-10-25 Torbjorn Granlund - * ppc.h (struct powerpc_operand): New field `reloc'. - -2001-08-01 Aldy Hernandez - - * mips.h (INSN_ISA_MASK): Nuke bits 12-15. - -2001-07-12 Jeff Johnston - - * cgen.h (CGEN_INSN): Add regex support. - (build_insn_regex): Declare. - -2001-07-11 Frank Ch. Eigler - - * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field. - (cgen_cpu_desc): Ditto. - -2001-07-07 Ben Elliston - - * m88k.h: Clean up and reformat. Remove unused code. - -2001-06-14 Geoffrey Keating - - * cgen.h (cgen_keyword): Add nonalpha_chars field. - -2001-05-23 Thiemo Seufer - - * mips.h (CPU_R12000): Define. - -2001-05-23 John Healy - - * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48. - -2001-05-15 Thiemo Seufer - - * mips.h (INSN_ISA_MASK): Define. - -2001-05-12 Alan Modra - - * i386.h (i386_optab): Second operand of cvtps2dq is an xmm reg, - not an mmx reg. Swap xmm/mmx regs on both movdq2q and movq2dq, - and use InvMem as these insns must have register operands. - -2001-05-04 Alan Modra - - * i386.h (i386_optab): Move InvMem to first operand of pmovmskb - and pextrw to swap reg/rm assignments. - -2001-04-05 Hans-Peter Nilsson - - * cris.h (enum cris_insn_version_usage): Correct comment for - cris_ver_v3p. - -2001-03-24 Alan Modra - - * i386.h (i386_optab): Correct entry for "movntdq". Add "punpcklqdq". - Add InvMem to first operand of "maskmovdqu". - -2001-03-22 Hans-Peter Nilsson - - * cris.h (ADD_PC_INCR_OPCODE): New macro. - -2001-03-21 Kazu Hirata - - * h8300.h: Fix formatting. - -2001-03-22 Alan Modra - - * i386.h (i386_optab): Add paddq, psubq. - -2001-03-19 Alan Modra - - * i386.h (REGNAM_AL, REGNAM_AX, REGNAM_EAX): Define. - -2001-02-28 Igor Shevlyakov - - * m68k.h: new defines for Coldfire V4. Update mcf to know - about mcf5407. - -2001-02-18 lars brinkhoff - - * pdp11.h: New file. - -2001-02-12 Jan Hubicka - - * i386.h (i386_optab): SSE integer converison instructions have - 64bit versions on x86-64. - -2001-02-10 Nick Clifton - - * mips.h: Remove extraneous whitespace. Formating change to allow - for future contribution. - -2001-02-09 Martin Schwidefsky - - * s390.h: New file. - -2001-02-02 Patrick Macdonald - - * cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short. - (CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES. - (CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS. - -2001-01-24 Karsten Keil - - * i386.h (i386_optab): Fix swapgs - -2001-01-14 Alan Modra - - * hppa.h: Describe new '<' and '>' operand types, and tidy - existing comments. - (pa_opcodes): Add entries for missing wide mode ldi,ldo,ldw,stw. - Remove duplicate "ldw j(s,b),x". Sort some entries. - -2001-01-13 Jan Hubicka - - * i386.h (i386_optab): Fix pusha and ret templates. - -2001-01-11 Peter Targett - - * arc.h (ARC_MACH_5, ARC_MACH_6, ARC_MACH_7, ARC_MACH_8): New - definitions for masking cpu type. - (arc_ext_operand_value) New structure for storing extended - operands. - (ARC_OPERAND_*) Flags for operand values. - -2001-01-10 Jan Hubicka - - * i386.h (pinsrw): Add. - (pshufw): Remove. - (cvttpd2dq): Fix operands. - (cvttps2dq): Likewise. - (movq2q): Rename to movdq2q. - -2001-01-10 Richard Schaal - - * i386.h: Correct movnti instruction. - -2001-01-09 Jeff Johnston - - * cgen.h (CGEN_SYNTAX_CHAR_TYPE): New typedef based on max number - of operands (unsigned char or unsigned short). - (CGEN_SYNTAX): Changed to make array CGEN_SYNTAX_CHAR_TYPE. - (CGEN_SYNTAX_CHAR): Changed to cast to unsigned char. - -2001-01-05 Jan Hubicka - - * i386.h (i386_optab): Make [sml]fence template to use immext field. - -2001-01-03 Jan Hubicka - - * i386.h (i386_optab): Fix 64bit pushf template; Add instructions - introduced by Pentium4 - -2000-12-30 Jan Hubicka - - * i386.h (i386_optab): Add "rex*" instructions; - add swapgs; disable jmp/call far direct instructions for - 64bit mode; add syscall and sysret; disable registers for 0xc6 - template. Add 'q' suffixes to extendable instructions, disable - obsolete instructions, add new sign/zero extension ones. - (i386_regtab): Add extended registers. - (*Suf): Add No_qSuf. - (q_Suf, wlq_Suf, bwlq_Suf): New. - -2000-12-20 Jan Hubicka - - * i386.h (i386_optab): Replace "Imm" with "EncImm". - (i386_regtab): Add flags field. - -2000-12-12 Nick Clifton - - * mips.h: Fix formatting. - -2000-12-01 Chris Demetriou - - mips.h (OP_MASK_SYSCALL, OP_SH_SYSCALL): Delete. - (OP_MASK_CODE20, OP_SH_CODE20): Define, with values of old - OP_*_SYSCALL definitions. - (OP_SH_CODE19, OP_MASK_CODE19): Define, for use as - 19 bit wait codes. - (MIPS operand specifier comments): Remove 'm', add 'U' and - 'J', and update the meaning of 'B' so that it's more general. - - * mips.h (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, - INSN_ISA5): Renumber, redefine to mean the ISA at which the - instruction was added. - (INSN_ISA32): New constant. - (INSN_4650, INSN_4010, INSN_4100, INSN_3900, INSN_GP32): - Renumber to avoid new and/or renumbered INSN_* constants. - (INSN_MIPS32): Delete. - (ISA_UNKNOWN): New constant to indicate unknown ISA. - (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4, ISA_MIPS5, - ISA_MIPS32): New constants, defined to be the mask of INSN_* - constants available at that ISA level. - (CPU_UNKNOWN): New constant to indicate unknown CPU. - (CPU_4K, CPU_MIPS32_4K): Rename the former to the latter, - define it with a unique value. - (OPCODE_IS_MEMBER): Update for new ISA membership-related - constant meanings. - - * mips.h (INSN_ISA64, ISA_MIPS5, ISA_MIPS64): New - definitions. - - * mips.h (CPU_SB1): New constant. - -2000-10-20 Jakub Jelinek - - * sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B. - Note that '3' is used for siam operand. - -2000-09-22 Jim Wilson - - * ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP. - -2000-09-13 Anders Norlander - - * mips.h: Use defines instead of hard-coded processor numbers. - (CPU_R2000, CPU_R3000, CPU_R3900, CPU_R4000, CPU_R4010, - CPU_VR4100, CPU_R4111, CPU_R4300, CPU_R4400, CPU_R4600, CPU_R4650, - CPU_R5000, CPU_R6000, CPU_R8000, CPU_R10000, CPU_MIPS32, CPU_4K, - CPU_4KC, CPU_4KM, CPU_4KP): Define.. - (OPCODE_IS_MEMBER): Use new defines. - (OP_MASK_SEL, OP_SH_SEL): Define. - (OP_MASK_CODE20, OP_SH_CODE20): Define. - Add 'P' to used characters. - Use 'H' for coprocessor select field. - Use 'm' for 20 bit breakpoint code. - Document new arg characters and add to used characters. - (INSN_MIPS32): New define for MIPS32 extensions. - (OPCODE_IS_MEMBER): Recognize MIPS32 instructions. - -2000-09-05 Alan Modra - - * hppa.h: Mention cz completer. - -2000-08-16 Jim Wilson - - * ia64.h (IA64_OPCODE_POSTINC): New. - -2000-08-15 H.J. Lu - - * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the - IgnoreSize change. - -2000-08-08 Jason Eckhardt - - * i860.h: Small formatting adjustments. - -2000-07-29 Marek Michalkiewicz - - * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros. - Move related opcodes closer to each other. - Minor changes in comments, list undefined opcodes. - -2000-07-26 Dave Brolley - - * cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned. - -2000-07-22 Jason Eckhardt - - * i860.h (btne, bte, bla): Changed these opcodes - to use sbroff ('r') instead of split16 ('s'). - (J, K, L, M): New operand types for 16-bit aligned fields. - (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to - use I, J, K, L, M instead of just I. - (T, U): New operand types for split 16-bit aligned fields. - (st.x): Changed these opcodes to use S, T, U instead of just S. - (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not - exist on the i860. - (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. - (pfeq.ss, pfeq.dd): New opcodes. - (st.s): Fixed incorrect mask bits. - (fmlow): Fixed incorrect mask bits. - (fzchkl, pfzchkl): Fixed incorrect mask bits. - (faddz, pfaddz): Fixed incorrect mask bits. - (form, pform): Fixed incorrect mask bits. - (pfld.l): Fixed incorrect mask bits. - (fst.q): Fixed incorrect mask bits. - (all floating point opcodes): Fixed incorrect mask bits for - handling of dual bit. - -2000-07-20 Hans-Peter Nilsson - - cris.h: New file. - -2000-06-26 Marek Michalkiewicz - - * avr.h (AVR_ISA_WRAP): Remove, now assumed if not AVR_ISA_MEGA. - (AVR_ISA_ESPM): Remove, because ESPM removed in databook update. - (AVR_ISA_85xx): Remove, all uses changed back to AVR_ISA_2xxx. - (AVR_ISA_M83): Define for ATmega83, ATmega85. - (espm): Remove, because ESPM removed in databook update. - (eicall, eijmp): Move to the end of opcode table. - -2000-06-18 Stephane Carrez - - * m68hc11.h: New file for support of Motorola 68hc11. - -Fri Jun 9 21:51:50 2000 Denis Chertykov - - * avr.h: clr,lsl,rol, ... moved after add,adc, ... - -Wed Jun 7 21:39:54 2000 Denis Chertykov - - * avr.h: New file with AVR opcodes. - -Wed Apr 12 17:11:20 2000 Donald Lindsay - - * d10v.h: added ALONE attribute for d10v_opcode.exec_type. - -2000-05-23 Maciej W. Rozycki - - * i386.h: Allow d suffix on iret, and add DefaultSize modifier. - -2000-05-17 Maciej W. Rozycki - - * i386.h: Use sl_FP, not sl_Suf for fild. - -2000-05-16 Frank Ch. Eigler - - * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that - it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set. - (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds - CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set. - -2000-05-13 Alan Modra , - - * i386.h (i386_optab): Cpu686 for sysenter,sysexit,fxsave,fxrestore. - -2000-05-13 Alan Modra , - Alexander Sokolov - - * i386.h (i386_optab): Add cpu_flags for all instructions. - -2000-05-13 Alan Modra - - From Gavin Romig-Koch - * i386.h (wld_Suf): Define. Use on pushf, popf, pusha, popa. - -2000-05-04 Timothy Wall - - * tic54x.h: New. - -2000-05-03 J.T. Conklin - - * ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit. - (PPC_OPERAND_VR): New operand flag for vector registers. - -2000-05-01 Kazu Hirata - - * h8300.h (EOP): Add missing initializer. - -Fri Apr 21 15:03:37 2000 Jason Eckhardt - - * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode - forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements). - New operand types l,y,&,fe,fE,fx added to support above forms. - (pa_opcodes): Replaced usage of 'x' as source/target for - floating point double-word loads/stores with 'fx'. - -Fri Apr 21 13:20:53 2000 Richard Henderson - David Mosberger - Timothy Wall - Jim Wilson - - * ia64.h: New file. - -2000-03-27 Nick Clifton - - * d30v.h (SHORT_A1): Fix value. - (SHORT_AR): Renumber so that it is at the end of the list of short - instructions, not the end of the list of long instructions. - -2000-03-26 Alan Modra - - * i386.h: (UNIXWARE_COMPAT): Rename to SYSV386_COMPAT as the - problem isn't really specific to Unixware. - (OLDGCC_COMPAT): Define. - (i386_optab): If !OLDGCC_COMPAT, don't handle fsubp etc. with - destination %st(0). - Fix lots of comments. - -2000-03-02 J"orn Rennecke - - * d30v.h: - (SHORT_B2r, SHORT_B3, SHORT_B3r, SHORT_B3b, SHORT_B3br): Updated. - (SHORT_D1r, SHORT_D2, SHORT_D2r, SHORT_D2Br, SHORT_U): Updated. - (SHORT_F, SHORT_AF, SHORT_T, SHORT_A5, SHORT_CMP, SHORT_CMPU): Updated. - (SHORT_A1, SHORT_AA, SHORT_RA, SHORT_MODINC, SHORT_MODDEC): Updated. - (SHORT_C1, SHORT_C2, SHORT_UF, SHORT_A2, SHORT_NONE, LONG): Updated. - (LONG_U, LONG_Ur, LONG_CMP, LONG_M, LONG_M2, LONG_2, LONG_2r): Updated. - (LONG_2b, LONG_2br, LONG_D, LONG_Dr, LONG_Dbr): Updated. - -2000-02-25 Alan Modra - - * i386.h (fild, fistp): Change intel d_Suf form to fildd and - fistpd without suffix. - -2000-02-24 Nick Clifton - - * cgen.h (cgen_cpu_desc): Rename field 'flags' to - 'signed_overflow_ok_p'. - Delete prototypes for cgen_set_flags() and cgen_get_flags(). - -2000-02-24 Andrew Haley - - * cgen.h (CGEN_INSN_MACH_HAS_P): New macro. - (CGEN_CPU_TABLE): flags: new field. - Add prototypes for new functions. - -2000-02-24 Alan Modra - - * i386.h: Add some more UNIXWARE_COMPAT comments. - -2000-02-23 Linas Vepstas - - * i370.h: New file. - -2000-02-22 Chandra Chavva - - * d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation - cannot be combined in parallel with ADD/SUBppp. - -2000-02-22 Andrew Haley - - * mips.h: (OPCODE_IS_MEMBER): Add comment. - -1999-12-30 Andrew Haley - - * mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines - whether synthetic opcodes (e.g. move) generate 32-bit or 64-bit - insns. - -2000-01-15 Alan Modra - - * i386.h: Qualify intel mode far call and jmp with x_Suf. - -1999-12-27 Alan Modra - - * i386.h: Add JumpAbsolute qualifier to all non-intel mode - indirect jumps and calls. Add FF/3 call for intel mode. - -Wed Dec 1 03:05:25 1999 Jeffrey A Law (law@cygnus.com) - - * mn10300.h: Add new operand types. Add new instruction formats. - -Wed Nov 24 20:28:58 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb" - instruction. - -1999-11-18 Gavin Romig-Koch - - * mips.h (INSN_ISA5): New. - -1999-11-01 Gavin Romig-Koch - - * mips.h (OPCODE_IS_MEMBER): New. - -1999-10-29 Nick Clifton - - * d30v.h (SHORT_AR): Define. - -1999-10-18 Michael Meissner - - * alpha.h (alpha_num_opcodes): Convert to unsigned. - (alpha_num_operands): Ditto. - -Sun Oct 10 01:46:56 1999 Jerry Quinn - - * hppa.h (pa_opcodes): Add load and store cache control to - instructions. Add ordered access load and store. - - * hppa.h (pa_opcode): Add new entries for addb and addib. - - * hppa.h (pa_opcodes): Fix cmpb and cmpib entries. - - * hppa.h (pa_opcodes): Add entries for cmpb and cmpib. - -Thu Oct 7 00:12:25 MDT 1999 Diego Novillo - - * d10v.h: Add flag RESTRICTED_NUM3 for imm3 operands. - -Thu Sep 23 07:08:38 1999 Jerry Quinn - - * hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve" - and "be" using completer prefixes. - - * hppa.h (pa_opcodes): Add initializers to silence compiler. - - * hppa.h: Update comments about character usage. - -Mon Sep 20 03:55:31 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning - up the new fstw & bve instructions. - -Sun Sep 19 10:40:59 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store - instructions. - - * hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions. - - * hppa.h (pa_opcodes): Add long offset double word load/store - instructions. - - * hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and - stores. - - * hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns. - - * hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions. - - * hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions. - - * hppa.h (pa_opcodes): Add new syntax "be" instructions. - - * hppa.h (pa_opcodes): Note use of 'M' and 'L'. - - * hppa.h (pa_opcodes): Add support for "b,l". - - * hppa.h (pa_opcodes): Add support for "b,gate". - -Sat Sep 18 11:41:16 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Use 'fX' for first register operand - in xmpyu. - - * hppa.h (pa_opcodes): Fix mask for probe and probei. - - * hppa.h (pa_opcodes): Fix mask for depwi. - -Tue Sep 7 13:44:25 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as - an explicit output argument. - -Mon Sep 6 04:41:42 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores. - Add a few PA2.0 loads and store variants. - -1999-09-04 Steve Chamberlain - - * pj.h: New file. - -1999-08-29 Alan Modra - - * i386.h (i386_regtab): Move %st to top of table, and split off - other fp reg entries. - (i386_float_regtab): To here. - -Sat Aug 28 00:25:25 1999 Jerry Quinn - - * hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args - by 'f'. - - * hppa.h (pa_opcodes): Add extrd, extrw, depd, depdi, depw, depwi. - Add supporting args. - - * hppa.h: Document new completers and args. - * hppa.h (pa_opcodes): Add 64 bit patterns and pa2.0 syntax for uxor, - uaddcm, dcor, addi, add, sub, subi, shladd, rfi, and probe. Add pa2.0 - extensions for ssm, rsm, pdtlb, pitlb. Add performance instructions - pmenb and pmdis. - - * hppa.h (pa_opcodes): Add pa2.0 instructions hadd, hshl, - hshr, hsub, mixh, mixw, permh. - - * hppa.h (pa_opcodes): Change completers in instructions to - use 'c' prefix. - - * hppa.h (pa_opcodes): Add popbts, new forms of bb, havg, - hshladd, hshradd, shrpd, and shrpw instructions. Update arg comments. - - * hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg, - fnegabs to use 'I' instead of 'F'. - -1999-08-21 Alan Modra - - * i386.h: Add AMD athlon instructions, pfnacc, pfpnacc, pswapd. - Document pf2iw and pi2fw as athlon insns. Remove pswapw. - Alphabetically sort PIII insns. - -Wed Aug 18 18:14:40 1999 Doug Evans - - * cgen.h (CGEN_INSN_MACH_HAS_P): New macro. - -Fri Aug 6 09:46:35 1999 Jerry Quinn - - * hppa.h (pa_opcodes): Add 64 bit versions of or, xor, and, - and andcm. Add 32 and 64 bit version of cmpclr, cmpiclr. - - * hppa.h: Document 64 bit condition completers. - -Thu Aug 5 16:56:07 1999 Jerry Quinn - - * hppa.h (pa_opcodes): Change condition args to use '?' prefix. - -1999-08-04 Alan Modra - - * i386.h (i386_optab): Add DefaultSize modifier to all insns - that implicitly modify %esp. #undef d_Suf, x_suf, sld_suf, - sldx_suf, bwld_Suf, d_FP, x_FP, sld_FP, sldx_FP at end of table. - -Wed Jul 28 02:04:24 1999 Jerry Quinn - Jeff Law - - * hppa.h (pa_opcodes): Add "pushnom" and "pushbts". - - * hppa.h (pa_opcodes): Mark all PA2.0 opcodes with FLAG_STRICT. - - * hppa.h (pa_opcodes): Change xmpyu, fmpyfadd, - and fmpynfadd to use 'J' and 'K' instead of 'E' and 'X'. - -1999-07-13 Alan Modra - - * i386.h: Add "undocumented" AMD 3DNow! pf2iw, pi2fw, pswapw insns. - -Thu Jul 1 00:17:24 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (struct pa_opcode): Add new field "flags". - (FLAGS_STRICT): Define. - -Fri Jun 25 04:22:04 1999 Jerry Quinn - Jeff Law - - * hppa.h (pa_opcodes): Add pa2.0 clrbts instruction. - - * hppa.h (pa_opcodes): Add entries for mfia and mtsarcm instructions. - -1999-06-23 Alan Modra - - * i386.h: Allow `l' suffix on bswap. Allow `w' suffix on arpl, - lldt, lmsw, ltr, str, verr, verw. Add FP flag to fcmov*. Add FP - flag to fcomi and friends. - -Fri May 28 15:26:11 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Move integer arithmetic instructions after - integer logical instructions. - -1999-05-28 Linus Nordberg - - * m68k.h: Document new formats `E', `G', `H' and new places `N', - `n', `o'. - - * m68k.h: Define mcf5206e, mcf5307, mcf. Document new format `u' - and new places `m', `M', `h'. - -Thu May 27 04:13:54 1999 Joel Sherrill (joel@OARcorp.com - - * hppa.h (pa_opcodes): Add several processor specific system - instructions. - -Wed May 26 16:57:44 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pa_opcodes): Add second entry for "comb", "comib", - "addb", and "addib" to be used by the disassembler. - -1999-05-12 Alan Modra - - * i386.h (ReverseModrm): Remove all occurences. - (InvMem): Add to control/debug/test mov insns, movhlps, movlhps, - movmskps, pextrw, pmovmskb, maskmovq. - Change NoSuf to FP on all MMX, XMM and AMD insns as these all - ignore the data size prefix. - - * i386.h (i386_optab, i386_regtab): Add support for PIII SIMD. - Mostly stolen from Doug Ledford - -Sat May 8 23:27:35 1999 Richard Henderson - - * ppc.h (PPC_OPCODE_64_BRIDGE): New. - -1999-04-14 Doug Evans - - * cgen.h (CGEN_ATTR): Delete member num_nonbools. - (CGEN_ATTR_TYPE): Update. - (CGEN_ATTR_MASK): Number booleans starting at 0. - (CGEN_ATTR_VALUE): Update. - (CGEN_INSN_ATTR): Update. - -Mon Apr 12 23:43:27 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (fmpyfadd, fmpynfadd, fneg, fnegabs): New PA2.0 - instructions. - -Tue Mar 23 11:24:38 1999 Jeffrey A Law (law@cygnus.com) - - * hppa.h (bb, bvb): Tweak opcode/mask. - - -1999-03-22 Doug Evans - - * cgen.h (CGEN_ISA,CGEN_MACH): New typedefs. - (struct cgen_cpu_desc): Rename member mach to machs. New member isas. - New members word_bitsize,default_insn_bitsize,base_insn-bitsize, - min_insn_bitsize,max_insn_bitsize,isa_table,mach_table,rebuild_tables. - Delete member max_insn_size. - (enum cgen_cpu_open_arg): New enum. - (cpu_open): Update prototype. - (cpu_open_1): Declare. - (cgen_set_cpu): Delete. - -1999-03-11 Doug Evans - - * cgen.h (CGEN_HW_TABLE): Delete `num_init_entries' member. - (CGEN_OPERAND_NIL): New macro. - (CGEN_OPERAND): New member `type'. - (@arch@_cgen_operand_table): Delete decl. - (CGEN_OPERAND_INDEX,CGEN_OPERAND_TYPE,CGEN_OPERAND_ENTRY): Delete. - (CGEN_OPERAND_TABLE): New struct. - (cgen_operand_lookup_by_name,cgen_operand_lookup_by_num): Declare. - (CGEN_OPINST): Pointer to operand table entry replaced with enum. - (CGEN_CPU_TABLE): New member `isa'. Change member `operand_table', - now a CGEN_OPERAND_TABLE. Add CGEN_CPU_DESC arg to - {get,set}_{int,vma}_operand. - (@arch@_cgen_cpu_open): New arg `isa'. - (cgen_set_cpu): Ditto. - -Fri Feb 26 02:36:45 1999 Richard Henderson - - * i386.h: Fill in cmov and fcmov alternates. Add fcomi short forms. - -1999-02-25 Doug Evans - - * cgen.h (enum cgen_asm_type): Add CGEN_ASM_NONE. - (CGEN_HW_ENTRY): Delete member `next'. Change type of `type' to - enum cgen_hw_type. - (CGEN_HW_TABLE): New struct. - (hw_table): Delete declaration. - (CGEN_OPERAND): Change member hw to hw_type, change type from pointer - to table entry to enum. - (CGEN_OPINST): Ditto. - (CGEN_CPU_TABLE): Change member hw_list to hw_table. - -Sat Feb 13 14:13:44 1999 Richard Henderson - - * alpha.h (AXP_OPCODE_EV6): New. - (AXP_OPCODE_NOPAL): Include it. - -1999-02-09 Doug Evans - - * cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC. - All uses updated. New members int_insn_p, max_insn_size, - parse_operand,insert_operand,extract_operand,print_operand, - sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand, - get_vma_operand,set_vma_operand,parse_handlers,insert_handlers, - extract_handlers,print_handlers. - (CGEN_ATTR): Change type of num_nonbools to unsigned int. - (CGEN_ATTR_BOOL_OFFSET): New macro. - (CGEN_ATTR_MASK): Subtract it to compute bit number. - (CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation. - (cgen_opcode_handler): Renamed from cgen_base. - (CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated. - (CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR, - all uses updated. - (CGEN_OPERAND_INDEX): Rewrite to use table entry, not global. - (enum cgen_opinst_type): Renamed from cgen_operand_instance_type. - (CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated. - (CGEN_OPCODE,CGEN_IBASE): New types. - (CGEN_INSN): Rewrite. - (CGEN_{ASM,DIS}_HASH*): Delete. - (init_opcode_table,init_ibld_table): Declare. - (CGEN_INSN_ATTR): New type. - -Mon Feb 1 21:09:14 1999 Catherine Moore - - * i386.h (d_Suf, x_Suf, sld_Suf, sldx_Suf, bwld_Suf): Define. - (x_FP, d_FP, dls_FP, sldx_FP): Define. - Change *Suf definitions to include x and d suffixes. - (movsx): Use w_Suf and b_Suf. - (movzx): Likewise. - (movs): Use bwld_Suf. - (fld): Change ordering. Use sld_FP. - (fild): Add Intel Syntax equivalent of fildq. - (fst): Use sld_FP. - (fist): Use sld_FP. - (fstp): Use sld_FP. Add x_FP version. - (fistp): LLongMem version for Intel Syntax. - (fcom, fcomp): Use sld_FP. - (fadd, fiadd, fsub): Use sld_FP. - (fsubr): Use sld_FP. - (fmul, fimul, fdvi, fidiv, fdivr): Use sld_FP. - -1999-01-27 Doug Evans - - * cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT, - CGEN_MODE_UINT. - -1999-01-16 Jeffrey A Law (law@cygnus.com) - - * hppa.h (bv): Fix mask. - -1999-01-05 Doug Evans - - * cgen.h (CGEN_ATTR_VALUE_TYPE): New typedef. - (CGEN_ATTR): Use it. - (CGEN_ATTR_TYPE,CGEN_ATTR_ENTRY): Ditto. - (CGEN_ATTR_TABLE): New member dfault. - -1998-12-30 Gavin Romig-Koch - - * mips.h (MIPS16_INSN_BRANCH): New. - -Wed Dec 9 10:38:48 1998 David Taylor - - The following is part of a change made by Edith Epstein - as part of a project to merge in - changes by HP; HP did not create ChangeLog entries. - - * hppa.h (completer_chars): list of chars to not put a space - after. - -Sun Dec 6 13:21:34 1998 Ian Lance Taylor - - * i386.h (i386_optab): Permit w suffix on processor control and - status word instructions. - -1998-11-30 Doug Evans - - * cgen.h (struct cgen_hw_entry): Delete const on attrs member. - (struct cgen_keyword_entry): Ditto. - (struct cgen_operand): Ditto. - (CGEN_IFLD): New typedef, with associated access macros. - (CGEN_IFMT): New typedef, with associated access macros. - (CGEN_IFMT): Renamed from CGEN_FORMAT. New member `iflds'. - (CGEN_IVALUE): New typedef. - (struct cgen_insn): Delete const on syntax,attrs members. - `format' now points to format data. Type of `value' is now - CGEN_IVALUE. - (struct cgen_opcode_table): New member ifld_table. - -1998-11-18 Doug Evans - - * cgen.h (cgen_extract_fn): Update type of `base_insn' arg. - (CGEN_OPERAND_INSTANCE): New member `attrs'. - (CGEN_OPERAND_INSTANCE_{ATTRS,ATTR}): New macros. - (cgen_dis_lookup_insn): Update type of `base_insn' arg. - (cgen_opcode_table): Update type of dis_hash fn. - (extract_operand): Update type of `insn_value' arg. - -Thu Oct 29 11:38:36 1998 Doug Evans - - * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete. - -Tue Oct 27 08:57:59 1998 Gavin Romig-Koch - - * mips.h (INSN_MULT): Added. - -Tue Oct 20 11:31:34 1998 Alan Modra - - * i386.h (MAX_MNEM_SIZE): Rename from MAX_OPCODE_SIZE. - -Mon Oct 19 12:50:00 1998 Doug Evans - - * cgen.h (CGEN_INSN_INT): New typedef. - (CGEN_INT_INSN_P): Renamed from CGEN_INT_INSN. - (CGEN_INSN_BYTES): Renamed from cgen_insn_t. - (CGEN_INSN_BYTES_PTR): New typedef. - (CGEN_EXTRACT_INFO): New typedef. - (cgen_insert_fn,cgen_extract_fn): Update. - (cgen_opcode_table): New member `insn_endian'. - (assemble_insn,lookup_insn,lookup_get_insn_operands): Update. - (insert_operand,extract_operand): Update. - (cgen_get_insn_value,cgen_put_insn_value): Add prototypes. - -Fri Oct 9 13:38:13 1998 Doug Evans - - * cgen.h (CGEN_ATTR_BOOLS): New macro. - (struct CGEN_HW_ENTRY): New member `attrs'. - (CGEN_HW_ATTR): New macro. - (struct CGEN_OPERAND_INSTANCE): New member `name'. - (CGEN_INSN_INVALID_P): New macro. - -Mon Oct 5 00:21:07 1998 Jeffrey A Law (law@cygnus.com) - - * hppa.h: Add "fid". - -Sun Oct 4 21:00:00 1998 Alan Modra - - From Robert Andrew Dale - * i386.h (i386_optab): Add AMD 3DNow! instructions. - (AMD_3DNOW_OPCODE): Define. - -Tue Sep 22 17:53:47 1998 Nick Clifton - - * d30v.h (EITHER_BUT_PREFER_MU): Define. - -Mon Aug 10 14:09:38 1998 Doug Evans - - * cgen.h (cgen_insn): #if 0 out element `cdx'. - -Mon Aug 3 12:21:57 1998 Doug Evans - - Move all global state data into opcode table struct, and treat - opcode table as something that is "opened/closed". - * cgen.h (CGEN_OPCODE_DESC): New type. - (all fns): New first arg of opcode table descriptor. - (cgen_set_parse_operand_fn): Add prototype. - (cgen_current_machine,cgen_current_endian): Delete. - (CGEN_OPCODE_TABLE): New members mach,endian,operand_table, - parse_operand_fn,asm_hash_table,asm_hash_table_entries, - dis_hash_table,dis_hash_table_entries. - (opcode_open,opcode_close): Add prototypes. - - * cgen.h (cgen_insn): New element `cdx'. - -Thu Jul 30 21:44:25 1998 Frank Ch. Eigler - - * d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions. - -Tue Jul 28 10:59:07 1998 Jeffrey A Law (law@cygnus.com) - - * mn10300.h: Add "no_match_operands" field for instructions. - (MN10300_MAX_OPERANDS): Define. - -Fri Jul 24 11:44:24 1998 Doug Evans - - * cgen.h (cgen_macro_insn_count): Declare. - -Tue Jul 21 13:12:13 1998 Doug Evans - - * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Define. - (cgen_insert_fn,cgen_extract_fn): New arg `pc'. - (get_operand,put_operand): Replaced with get_{int,vma}_operand, - set_{int,vma}_operand. - -Fri Jun 26 11:09:06 1998 Jeffrey A Law (law@cygnus.com) - - * mn10300.h: Add "machine" field for instructions. - (MN103, AM30): Define machine types. - -Fri Jun 19 16:09:09 1998 Alan Modra - - * i386.h: Use FP, not sl_Suf, for fxsave and fxrstor. - -1998-06-18 Ulrich Drepper - - * i386.h: Add support for fxsave, fxrstor, sysenter and sysexit. - -Sat Jun 13 11:31:35 1998 Alan Modra - - * i386.h (i386_optab): Add general form of aad and aam. Add ud2a - and ud2b. - (i386_regtab): Allow cr0..7, db0..7, dr0..7, tr0..7, not just - those that happen to be implemented on pentiums. - -Tue Jun 9 12:16:01 1998 Alan Modra - - * i386.h: Change occurences of Data16 to Size16, Data32 to Size32, - IgnoreDataSize to IgnoreSize. Flag address and data size prefixes - with Size16|IgnoreSize or Size32|IgnoreSize. - -Mon Jun 8 12:15:52 1998 Alan Modra - - * i386.h (REPNE): Rename to REPNE_PREFIX_OPCODE. - (REPE): Rename to REPE_PREFIX_OPCODE. - (i386_regtab_end): Remove. - (i386_prefixtab, i386_prefixtab_end): Remove. - (i386_optab): Use NULL as sentinel rather than "" to suit rewrite - of md_begin. - (MAX_OPCODE_SIZE): Define. - (i386_optab_end): Remove. - (sl_Suf): Define. - (sl_FP): Use sl_Suf. - - * i386.h (i386_optab): Allow 16 bit displacement for `mov - mem,acc'. Combine 16 and 32 bit forms of various insns. Allow 16 - bit form of ljmp. Add IsPrefix modifier to prefixes. Add addr32, - data32, dword, and adword prefixes. - (i386_regtab): Add BaseIndex modifier to valid 16 bit base/index - regs. - -Fri Jun 5 23:42:43 1998 Alan Modra - - * i386.h (i386_regtab): Remove BaseIndex modifier from esp. - - * i386.h: Allow `l' suffix on fld, fst, fstp, fcom, fcomp with - register operands, because this is a common idiom. Flag them with - a warning. Allow illegal faddp, fsubp, fsubrp, fmulp, fdivp, - fdivrp because gcc erroneously generates them. Also flag with a - warning. - - * i386.h: Add suffix modifiers to most insns, and tighter operand - checks in some cases. Fix a number of UnixWare compatibility - issues with float insns. Merge some floating point opcodes, using - new FloatMF modifier. - (WORD_PREFIX_OPCODE): Rename to DATA_PREFIX_OPCODE for - consistency. - - * i386.h: Change occurence of ShortformW to W|ShortForm. Add - IgnoreDataSize where appropriate. - -Wed Jun 3 18:28:45 1998 Alan Modra - - * i386.h: (one_byte_segment_defaults): Remove. - (two_byte_segment_defaults): Remove. - (i386_regtab): Add BaseIndex to 32 bit regs reg_type. - -Fri May 15 15:59:04 1998 Doug Evans - - * cgen.h (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup. - (cgen_hw_lookup_by_num): Declare. - -Thu May 7 09:27:58 1998 Frank Ch. Eigler - - * mips.h (OP_{SH,MASK}_CODE2): Added "q" operand format for lower - ten bits of MIPS ISA1 "break" instruction, and for "sdbbp" - -Thu May 7 02:14:08 1998 Doug Evans - - * cgen.h (cgen_asm_init_parse): Delete. - (cgen_save_fixups,cgen_restore_fixups,cgen_swap_fixups): Delete. - (cgen_asm_record_register,cgen_asm_finish_insn): Delete. - -Mon Apr 27 10:13:11 1998 Doug Evans - - * cgen.h (CGEN_ATTR_TYPE): Delete `const', moved to uses. - (cgen_asm_finish_insn): Update prototype. - (cgen_insn): New members num, data. - (CGEN_INSN_TABLE): Members asm_hash, asm_hash_table_size, - dis_hash, dis_hash_table_size moved to ... - (CGEN_OPCODE_TABLE). Here. Renamed from CGEN_OPCODE_DATA. - All uses updated. New members asm_hash_p, dis_hash_p. - (CGEN_MINSN_EXPANSION): New struct. - (cgen_expand_macro_insn): Declare. - (cgen_macro_insn_count): Declare. - (get_insn_operands): Update prototype. - (lookup_get_insn_operands): Declare. - -Tue Apr 21 17:11:32 1998 Alan Modra - - * i386.h (i386_optab): Change iclrKludge and imulKludge to - regKludge. Add operands types for string instructions. - -Mon Apr 20 14:40:29 1998 Tom Tromey - - * i386.h (X): Renamed from `Z_' to preserve formatting of opcode - table. - -Sun Apr 19 13:54:06 1998 Tom Tromey - - * i386.h (Z_): Renamed from `_' to avoid clash with common alias - for `gettext'. - -Fri Apr 3 12:04:48 1998 Alan Modra - - * i386.h: Remove NoModrm flag from all insns: it's never checked. - Add IsString flag to string instructions. - (IS_STRING): Don't define. - (LOCK_PREFIX_OPCODE, CS_PREFIX_OPCODE, DS_PREFIX_OPCODE): Define. - (ES_PREFIX_OPCODE, FS_PREFIX_OPCODE, GS_PREFIX_OPCODE): Define. - (SS_PREFIX_OPCODE): Define. - -Mon Mar 30 21:31:56 1998 Ian Lance Taylor - - * i386.h: Revert March 24 patch; no more LinearAddress. - -Mon Mar 30 10:25:54 1998 Alan Modra - - * i386.h (i386_optab): Remove fwait (9b) from all floating point - instructions, and instead add FWait opcode modifier. Add short - form of fldenv and fstenv. - (FWAIT_OPCODE): Define. - - * i386.h (i386_optab): Change second operand constraint of `mov - sreg,reg|mem' instruction from Reg16|Mem to WordReg|WordMem to - allow legal instructions such as `movl %gs,%esi' - -Fri Mar 27 18:30:52 1998 Ian Lance Taylor - - * h8300.h: Various changes to fully bracket initializers. - -Tue Mar 24 18:32:47 1998 H.J. Lu - - * i386.h: Set LinearAddress for lidt and lgdt. - -Mon Mar 2 10:44:07 1998 Doug Evans - - * cgen.h (CGEN_BOOL_ATTR): New macro. - -Thu Feb 26 15:54:31 1998 Michael Meissner - - * d30v.h (FLAG_DELAY): New flag for delayed branches/jumps. - -Mon Feb 23 10:38:21 1998 Doug Evans - - * cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now. - (cgen_insn): Record syntax and format entries here, rather than - separately. - -Tue Feb 17 21:42:56 1998 Nick Clifton - - * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro. - -Tue Feb 17 16:00:56 1998 Doug Evans - - * cgen.h (cgen_insert_fn): Change type of result to const char *. - (cgen_parse_{signed,unsigned}_integer): Delete min,max arguments. - (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS. - -Thu Feb 12 18:30:41 1998 Doug Evans - - * cgen.h (lookup_insn): New argument alias_p. - -Thu Feb 12 03:41:00 1998 J"orn Rennecke - -Fix rac to accept only a0: - * d10v.h (OPERAND_ACC): Split into: - (OPERAND_ACC0, OPERAND_ACC1) . - (OPERAND_GPR): Define. - -Wed Feb 11 17:31:53 1998 Doug Evans - - * cgen.h (CGEN_FIELDS): Define here. - (CGEN_HW_ENTRY): New member `type'. - (hw_list): Delete decl. - (enum cgen_mode): Declare. - (CGEN_OPERAND): New member `hw'. - (enum cgen_operand_instance_type): Declare. - (CGEN_OPERAND_INSTANCE): New type. - (CGEN_INSN): New member `operands'. - (CGEN_OPCODE_DATA): Make hw_list const. - (get_insn_operands,lookup_insn): Add prototypes for. - -Tue Feb 3 17:11:23 1998 Doug Evans - - * cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS. - (CGEN_HW_ENTRY): Move `next' entry to end of struct. - (CGEN_KEYWORD_MAX_ATTRS): Renamed from CGEN_MAX_KEYWORD_ATTRS. - (CGEN_OPERAND_MAX_ATTRS): Renamed from CGEN_MAX_OPERAND_ATTRS. - -Mon Feb 2 19:19:15 1998 Ian Lance Taylor - - * cgen.h: Correct typo in comment end marker. - -Mon Feb 2 17:10:38 1998 Steve Haworth - - * tic30.h: New file. - -Thu Jan 22 17:54:56 1998 Nick Clifton - - * cgen.h: Add prototypes for cgen_save_fixups(), - cgen_restore_fixups(), and cgen_swap_fixups(). Change prototype - of cgen_asm_finish_insn() to return a char *. - -Wed Jan 14 17:21:43 1998 Nick Clifton - - * cgen.h: Formatting changes to improve readability. - -Mon Jan 12 11:37:36 1998 Doug Evans - - * cgen.h (*): Clean up pass over `struct foo' usage. - (CGEN_ATTR): Make unsigned char. - (CGEN_ATTR_TYPE): Update. - (CGEN_ATTR_{ENTRY,TABLE}): New types. - (cgen_base): Move member `attrs' to cgen_insn. - (CGEN_KEYWORD): New member `null_entry'. - (CGEN_{SYNTAX,FORMAT}): New types. - (cgen_insn): Format and syntax separated from each other. - -Tue Dec 16 15:15:52 1997 Michael Meissner - - * d30v.h (d30v_opcode): Reorder flags somewhat, add new flags for - 2 word load/store, ADDppp/SUBppp, 16/32 bit multiply. Make - flags_{used,set} long. - (d30v_operand): Make flags field long. - -Mon Dec 1 12:24:44 1997 Andreas Schwab - - * m68k.h: Fix comment describing operand types. - -Sun Nov 23 22:31:27 1997 Michael Meissner - - * d30v.h (SHORT_CMPU): Add case for cmpu instruction, and move - everything else after down. - -Tue Nov 18 18:45:14 1997 J"orn Rennecke - - * d10v.h (OPERAND_FLAG): Split into: - (OPERAND_FFLAG, OPERAND_CFLAG) . - -Thu Nov 13 11:04:24 1997 Gavin Koch - - * mips.h (struct mips_opcode): Changed comments to reflect new - field usage. - -Fri Oct 24 22:36:20 1997 Ken Raeburn - - * mips.h: Added to comments a quick-ref list of all assigned - operand type characters. - (OP_{MASK,SH}_PERFREG): New macros. - -Wed Oct 22 17:28:33 1997 Richard Henderson - - * sparc.h: Add '_' and '/' for v9a asr's. - Patch from David Miller - -Tue Oct 14 13:22:29 1997 Jeffrey A Law (law@cygnus.com) - - * h8300.h: Bit ops with absolute addresses not in the 8 bit - area are not available in the base model (H8/300). - -Thu Sep 25 13:03:41 1997 Ian Lance Taylor - - * m68k.h: Remove documentation of ` operand specifier. - -Wed Sep 24 19:00:34 1997 Ian Lance Taylor - - * m68k.h: Document q and v operand specifiers. - -Mon Sep 15 18:28:37 1997 Nick Clifton - - * v850.h (struct v850_opcode): Add processors field. - (PROCESSOR_V850, PROCESSOR_ALL): New bit constants. - (PROCESSOR_V850E, PROCESSOR_NOT_V850): New bit constants. - (PROCESSOR_V850EA): New bit constants. - -Mon Sep 15 11:29:43 1997 Ken Raeburn - - Merge changes from Martin Hunt: - - * d30v.h: Allow up to 64 control registers. Add - SHORT_A5S format. - - * d30v.h (LONG_Db): New form for delayed branches. - - * d30v.h: (LONG_Db): New form for repeati. - - * d30v.h (SHORT_D2B): New form. - - * d30v.h (SHORT_A2): New form. - - * d30v.h (OPERAND_2REG): Add new operand to indicate 2 - registers are used. Needed for VLIW optimization. - -Mon Sep 8 14:05:45 1997 Doug Evans - - * cgen.h: Move assembler interface section - up so cgen_parse_operand_result is defined for cgen_parse_address. - (cgen_parse_address): Update prototype. - -Tue Sep 2 15:32:32 1997 Nick Clifton - - * v850.h (V850_OPREAND_ADJUST_SHORT_MEMORY): Removed. - -Tue Aug 26 12:21:52 1997 Ian Lance Taylor - - * i386.h (two_byte_segment_defaults): Correct base register 5 in - modes 1 and 2 to be ss rather than ds. From Gabriel Paubert - . - - * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert - . - - * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert - . - - * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again). - (JUMP_ON_ECX_ZERO): Remove commented out macro. - -Fri Aug 22 10:38:29 1997 Nick Clifton - - * v850.h (V850_NOT_R0): New flag. - -Mon Aug 18 11:05:58 1997 Nick Clifton - - * v850.h (struct v850_opcode): Remove flags field. - -Wed Aug 13 18:45:48 1997 Nick Clifton - - * v850.h (struct v850_opcode): Add flags field. - (struct v850_operand): Extend meaning of 'bits' and 'shift' - fields. - (V850E_INSTRUCTION, V850EA_INSTRUCTION): New flags. - (V850E_PUSH_POP, V850E_IMMEDIATE16, V850E_IMMEDIATE32): New flags. - -Fri Aug 8 16:58:42 1997 Doug Evans - - * arc.h: New file. - -Thu Jul 24 21:16:58 1997 Doug Evans - - * sparc.h (sparc_opcodes): Declare as const. - -Thu Jul 10 12:53:25 1997 Jeffrey A Law (law@cygnus.com) - - * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn - uses single or double precision floating point resources. - (INSN_NO_ISA, INSN_ISA1): Define. - (cpu specific INSN macros): Tweak into bitmasks outside the range - of INSN_ISA field. - -Mon Jun 16 14:10:00 1997 H.J. Lu - - * i386.h: Fix pand opcode. - -Mon Jun 2 11:35:09 1997 Gavin Koch - - * mips.h: Widen INSN_ISA and move it to a more convenient - bit position. Add INSN_3900. - -Tue May 20 11:25:29 1997 Gavin Koch - - * mips.h (struct mips_opcode): added new field membership. - -Mon May 12 16:26:50 1997 H.J. Lu - - * i386.h (movd): only Reg32 is allowed. - - * i386.h: add fcomp and ud2. From Wayne Scott - . - -Mon May 5 17:16:21 1997 Ian Lance Taylor - - * i386.h: Add MMX instructions. - -Mon May 5 12:45:19 1997 H.J. Lu - - * i386.h: Remove W modifier from conditional move instructions. - -Mon Apr 14 14:56:58 1997 Ian Lance Taylor - - * i386.h: Change the opcodes for fsubp, fsubrp, fdivp, and fdivrp - with no arguments to match that generated by the UnixWare - assembler. - -Thu Apr 10 14:35:00 1997 Doug Evans - - * cgen.h (_cgen_assemble_insn): New arg for errmsg. - (cgen_parse_operand_fn): Declare. - (cgen_init_parse_operand): Declare. - (cgen_parse_operand): Renamed from cgen_asm_parse_operand, - new argument `want'. - (enum cgen_parse_operand_result): Renamed from cgen_asm_result. - (enum cgen_parse_operand_type): New enum. - -Sat Apr 5 13:14:05 1997 Ian Lance Taylor - - * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. - -Fri Apr 4 11:46:11 1997 Doug Evans - - * cgen.h: New file. - -Fri Apr 4 14:02:32 1997 Ian Lance Taylor - - * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and - fdivrp. - -Tue Mar 25 22:57:26 1997 Stu Grossman (grossman@critters.cygnus.com) - - * v850.h (extract): Make unsigned. - -Mon Mar 24 14:38:15 1997 Ian Lance Taylor - - * i386.h: Add iclr. - -Thu Mar 20 19:49:10 1997 Ian Lance Taylor - - * i386.h: Change DW to W for cmpxchg and xadd, since they don't - take a direction bit. - -Sat Mar 15 19:03:29 1997 H.J. Lu - - * sparc.h (sparc_opcode_lookup_arch): Use full prototype. - -Fri Mar 14 15:22:01 1997 Ian Lance Taylor - - * sparc.h: Include . Update function declarations to - use prototypes, and to use const when appropriate. - -Thu Mar 6 14:18:30 1997 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_RELAX): Define. - -Mon Feb 24 15:15:56 1997 Martin M. Hunt - - * d10v.h: Change pre_defined_registers to - d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt. - -Sat Feb 22 21:25:00 1997 Dawn Perchik - - * mips.h: Add macros for cop0, cop1 cop2 and cop3. - Change mips_opcodes from const array to a pointer, - and change bfd_mips_num_opcodes from const int to int, - so that we can increase the size of the mips opcodes table - dynamically. - -Fri Feb 21 16:34:18 1997 Martin M. Hunt - - * d30v.h (FLAG_X): Remove unused flag. - -Tue Feb 18 17:37:20 1997 Martin M. Hunt - - * d30v.h: New file. - -Fri Feb 14 13:16:15 1997 Fred Fish - - * tic80.h (PDS_NAME): Macro to access name field of predefined symbols. - (PDS_VALUE): Macro to access value field of predefined symbols. - (tic80_next_predefined_symbol): Add prototype. - -Mon Feb 10 10:32:17 1997 Fred Fish - - * tic80.h (tic80_symbol_to_value): Change prototype to match - change in function, added class parameter. - -Thu Feb 6 17:30:15 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80 - endmask fields, which are somewhat weird in that 0 and 32 are - treated exactly the same. - -Thu Jan 30 13:46:18 1997 Fred Fish - - * tic80.h: Change all the OPERAND defines to use the form (1 << X) - rather than a constant that is 2**X. Reorder them to put bits for - operands that have symbolic names in the upper bits, so they can - be packed into an int where the lower bits contain the value that - corresponds to that symbolic name. - (predefined_symbo): Add struct. - (tic80_predefined_symbols): Declare array of translations. - (tic80_num_predefined_symbols): Declare size of that array. - (tic80_value_to_symbol): Declare function. - (tic80_symbol_to_value): Declare function. - -Wed Jan 29 09:37:25 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200.h (MN10200_OPERAND_RELAX): Define. - -Sat Jan 18 15:18:59 1997 Fred Fish - - * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot - be the destination register. - -Thu Jan 16 20:48:55 1997 Fred Fish - - * tic80.h (struct tic80_opcode): Change "format" field to "flags". - (FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete. - (TIC80_VECTOR): Define a flag bit for the flags. This one means - that the opcode can have two vector instructions in a single - 32 bit word and we have to encode/decode both. - -Tue Jan 14 19:37:09 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_PCREL): Renamed from - TIC80_OPERAND_RELATIVE for PC relative. - (TIC80_OPERAND_BASEREL): New flag bit for register - base relative. - -Mon Jan 13 15:56:38 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands. - -Mon Jan 6 10:51:15 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional - ":s" modifier for scaling. - -Sun Jan 5 12:12:19 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m". - (TIC80_OPERAND_M_LI): Ditto - -Sat Jan 4 19:02:44 1997 Fred Fish - - * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ. - (TIC80_OPERAND_CC): New define for condition code operand. - (TIC80_OPERAND_CR): New define for control register operand. - -Fri Jan 3 16:22:23 1997 Fred Fish - - * tic80.h (struct tic80_opcode): Name changed. - (struct tic80_opcode): Remove format field. - (struct tic80_operand): Add insertion and extraction functions. - (TIC80_OPERAND_*): Remove old bogus values, start adding new - correct ones. - (FMT_*): Ditto. - -Tue Dec 31 15:05:41 1996 Michael Meissner - - * v850.h (V850_OPERAND_ADJUST_SHORT_MEMORY): New flag to adjust - type IV instruction offsets. - -Fri Dec 27 22:23:10 1996 Fred Fish - - * tic80.h: New file. - -Wed Dec 18 10:06:31 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200.h (MN10200_OPERAND_NOCHECK): Define. - -Sat Dec 14 10:48:31 1996 Fred Fish - - * mn10200.h: Fix comment, mn10200_operand not powerpc_operand. - * mn10300.h: Fix comment, mn10300_operand not powerpc_operand. - * v850.h: Fix comment, v850_operand not powerpc_operand. - -Mon Dec 9 16:45:39 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200.h: Flesh out structures and definitions needed by - the mn10200 assembler & disassembler. - -Tue Nov 26 10:46:56 1996 Ian Lance Taylor - - * mips.h: Add mips16 definitions. - -Mon Nov 25 17:56:54 1996 J.T. Conklin - - * m68k.h: Document new <, >, m, n, o and p operand specifiers. - -Wed Nov 20 10:59:41 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_PCREL): Define. - (MN10300_OPERAND_MEMADDR): Define. - -Tue Nov 19 13:30:40 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_REG_LIST): Define. - -Wed Nov 6 13:41:08 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_SPLIT): Define. - -Tue Nov 5 13:26:12 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_EXTENDED): Define. - -Mon Nov 4 12:52:48 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_REPEATED): Define. - -Fri Nov 1 10:31:02 1996 Richard Henderson - - * alpha.h: Don't include "bfd.h"; private relocation types are now - negative to minimize problems with shared libraries. Organize - instruction subsets by AMASK extensions and PALcode - implementation. - (struct alpha_operand): Move flags slot for better packing. - -Tue Oct 29 12:19:10 1996 Jeffrey A Law (law@cygnus.com) - - * v850.h (V850_OPERAND_RELAX): New operand flag. - -Thu Oct 10 14:29:11 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (FMT_*): Move operand format definitions - here. - -Tue Oct 8 14:48:07 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (MN10300_OPERAND_PAREN): Define. - -Mon Oct 7 16:52:11 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300.h (mn10300_opcode): Add "format" field. - (MN10300_OPERAND_*): Define. - -Thu Oct 3 10:33:46 1996 Jeffrey A Law (law@cygnus.com) - - * mn10x00.h: Delete. - * mn10200.h, mn10300.h: New files. - -Wed Oct 2 21:31:26 1996 Jeffrey A Law (law@cygnus.com) - - * mn10x00.h: New file. - -Fri Sep 27 18:26:46 1996 Stu Grossman (grossman@critters.cygnus.com) - - * v850.h: Add new flag to indicate this instruction uses a PC - displacement. - -Fri Sep 13 14:58:13 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (stmac): Add missing instruction. - -Sat Aug 31 16:02:03 1996 Jeffrey A Law (law@cygnus.com) - - * v850.h (v850_opcode): Remove "size" field. Add "memop" - field. - -Fri Aug 23 10:39:08 1996 Jeffrey A Law (law@cygnus.com) - - * v850.h (V850_OPERAND_EP): Define. - - * v850.h (v850_opcode): Add size field. - -Thu Aug 22 16:51:25 1996 J.T. Conklin - - * v850.h (v850_operands): Add insert and extract fields, pointers - to functions used to handle unusual operand encoding. - (V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC, - V850_OPERAND_SIGNED): Defined. - -Wed Aug 21 17:45:10 1996 J.T. Conklin - - * v850.h (v850_operands): Add flags field. - (OPERAND_REG, OPERAND_NUM): Defined. - -Tue Aug 20 14:52:02 1996 J.T. Conklin - - * v850.h: New file. - -Fri Aug 16 14:44:15 1996 James G. Smith - - * mips.h (OP_SH_LOCC, OP_SH_HICC, OP_MASK_CC, OP_SH_COP1NORM, - OP_MASK_COP1NORM, OP_SH_COP1SPEC, OP_MASK_COP1SPEC, - OP_MASK_COP1SCLR, OP_MASK_COP1CMP, OP_SH_COP1CMP, OP_SH_FORMAT, - OP_MASK_FORMAT, OP_SH_TRUE, OP_MASK_TRUE, OP_SH_GE, OP_MASK_GE, - OP_SH_UNSIGNED, OP_MASK_UNSIGNED, OP_SH_HINT, OP_MASK_HINT): - Defined. - -Fri Aug 16 00:15:15 1996 Jeffrey A Law (law@cygnus.com) - - * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept - a 3 bit space id instead of a 2 bit space id. - -Thu Aug 15 13:11:46 1996 Martin M. Hunt - - * d10v.h: Add some additional defines to support the - assembler in determining which operations can be done in parallel. - -Tue Aug 6 11:13:22 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (SN): Define. - (eepmov.b): Renamed from "eepmov" - (nop, bpt, rte, rts, sleep, clrmac): These have no size associated - with them. - -Fri Jul 26 11:47:10 1996 Martin M. Hunt - - * d10v.h (OPERAND_SHIFT): New operand flag. - -Thu Jul 25 12:06:22 1996 Martin M. Hunt - - * d10v.h: Changes for divs, parallel-only instructions, and - signed numbers. - -Mon Jul 22 11:21:15 1996 Martin M. Hunt - - * d10v.h (pd_reg): Define. Putting the definition here allows - the assembler and disassembler to share the same struct. - -Mon Jul 22 12:15:25 1996 Ian Lance Taylor - - * i960.h (i960_opcodes): "halt" takes an argument. From Stephen - Williams . - -Wed Jul 17 14:46:38 1996 Martin M. Hunt - - * d10v.h: New file. - -Thu Jul 11 12:09:15 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (band, bclr): Force high bit of immediate nibble to zero. - -Wed Jul 3 14:30:12 1996 J.T. Conklin - - * m68k.h (mcf5200): New macro. - Document names of coldfire control registers. - -Tue Jul 2 23:05:45 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (SRC_IN_DST): Define. - - * h8300.h (UNOP3): Mark the register operand in this insn - as a source operand, not a destination operand. - (SHIFT_2, SHIFT_IMM): Remove. Eliminate all references. - (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops. Mark - register operand with SRC_IN_DST. - -Fri Jun 21 13:52:17 1996 Richard Henderson - - * alpha.h: New file. - -Thu Jun 20 15:02:57 1996 Ian Lance Taylor - - * rs6k.h: Remove obsolete file. - -Wed Jun 19 15:29:38 1996 Ian Lance Taylor - - * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp, - fdivp, and fdivrp. Add ffreep. - -Tue Jun 18 16:06:00 1996 Jeffrey A. Law - - * h8300.h: Reorder various #defines for readability. - (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define. - (BITOP): Accept additional (unused) argument. All callers changed. - (EBITOP): Likewise. - (O_LAST): Bump. - (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes. - - * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define. - (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define. - (BITOP, EBITOP): Handle new H8/S addressing modes for - bit insns. - (UNOP3): Handle new shift/rotate insns on the H8/S. - (insns using exr): New instructions. - (tas, mac, ldmac, clrmac, ldm, stm): New instructions. - -Thu May 23 16:56:48 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (add.l): Undo Apr 5th change. The manual I had - was incorrect. - -Mon May 6 23:38:22 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (START): Remove. - (MEMRELAX): Define. Mark absolute memory operands in mov.b, mov.w - and mov.l insns that can be relaxed. - -Tue Apr 30 18:30:58 1996 Ian Lance Taylor - - * i386.h: Remove Abs32 from lcall. - -Mon Apr 22 17:09:23 1996 Doug Evans - - * sparc.h (SPARC_OPCODE_ARCH_V9_P): New macro. - (SLCPOP): New macro. - Mark X,Y opcode letters as in use. - -Thu Apr 11 17:28:18 1996 Ian Lance Taylor - - * sparc.h (F_FLOAT, F_FBR): Define. - -Fri Apr 5 16:55:34 1996 Jeffrey A Law (law@cygnus.com) - - * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV - from all insns. - (ABS8SRC,ABS8DST): Add ABS8MEM. - (add.l): Fix reg+reg variant. - (eepmov.w): Renamed from eepmovw. - (ldc,stc): Fix many cases. - -Sun Mar 31 13:30:03 1996 Doug Evans - - * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro. - -Thu Mar 7 15:08:23 1996 Doug Evans - - * sparc.h (O): Mark operand letter as in use. - -Tue Feb 20 20:46:21 1996 Doug Evans - - * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare. - Mark operand letters uU as in use. - -Mon Feb 19 01:59:08 1996 Doug Evans - - * sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_SPARCLET. - (sparc_opcode_arch): Delete member `conflicts'. Add `supported'. - (SPARC_OPCODE_SUPPORTED): New macro. - (SPARC_OPCODE_CONFLICT_P): Rewrite. - (F_NOTV9): Delete. - -Fri Feb 16 12:23:34 1996 Jeffrey A Law (law@cygnus.com) - - * sparc.h (sparc_opcode_lookup_arch) Make return type in - declaration consistent with return type in definition. - -Wed Feb 14 18:14:11 1996 Alan Modra - - * i386.h (i386_optab): Remove Data32 from pushf and popf. - -Thu Feb 8 14:27:21 1996 James Carlson - - * i386.h (i386_regtab): Add 80486 test registers. - -Mon Feb 5 18:35:46 1996 Ian Lance Taylor - - * i960.h (I_HX): Define. - (i960_opcodes): Add HX instruction. - -Mon Jan 29 12:43:39 1996 Ken Raeburn - - * i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, - and fclex. - -Wed Jan 24 22:36:59 1996 Doug Evans - - * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture. - (SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P. - (bfd_* defines): Delete. - (sparc_opcode_archs): Replaces architecture_pname. - (sparc_opcode_lookup_arch): Declare. - (NUMOPCODES): Delete. - -Mon Jan 22 08:24:32 1996 Doug Evans - - * sparc.h (enum sparc_architecture): Add v9a. - (ARCHITECTURES_CONFLICT_P): Update. - -Thu Dec 28 13:27:53 1995 John Hassey - - * i386.h: Added Pentium Pro instructions. - -Thu Nov 2 22:59:22 1995 Ian Lance Taylor - - * m68k.h: Document new 'W' operand place. - -Tue Oct 24 10:49:10 1995 Jeffrey A Law (law@cygnus.com) - - * hppa.h: Add lci and syncdma instructions. - -Mon Oct 23 11:09:16 1995 James G. Smith - - * mips.h: Added INSN_4100 flag to mark NEC VR4100 specific - instructions. - -Mon Oct 16 10:28:15 1995 Michael Meissner - - * ppc.h (PPC_OPCODE_{COMMON,ANY}): New opcode flags for - assembler's -mcom and -many switches. - -Wed Oct 11 16:56:33 1995 Ken Raeburn - - * i386.h: Fix cmpxchg8b extension opcode description. - -Thu Oct 5 18:03:36 1995 Ken Raeburn - - * i386.h: Add Pentium instructions wrmsr, rdtsc, rdmsr, cmpxchg8b, - and register cr4. - -Tue Sep 19 15:26:43 1995 Ian Lance Taylor - - * m68k.h: Change comment: split type P into types 0, 1 and 2. - -Wed Aug 30 13:50:55 1995 Doug Evans - - * sparc.h (sparc_{encode,decode}_prefetch): Declare. - -Tue Aug 29 15:34:58 1995 Doug Evans - - * sparc.h (sparc_{encode,decode}_{asi,membar}): Declare. - -Wed Aug 2 18:32:19 1995 Ian Lance Taylor - - * m68kmri.h: Remove. - - * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the - declarations. Remove F_ALIAS and flag field of struct - m68k_opcode. Change arch field of struct m68k_opcode to unsigned - int. Make name and args fields of struct m68k_opcode const. - -Wed Aug 2 08:16:46 1995 Doug Evans - - * sparc.h (F_NOTV9): Define. - -Tue Jul 11 14:20:42 1995 Jeff Spiegel - - * mips.h (INSN_4010): Define. - -Wed Jun 21 18:49:51 1995 Ken Raeburn - - * m68k.h (TBL1): Reverse sense of "round" argument in result. - - Changes from Andreas Schwab : - * m68k.h: Fix argument descriptions of coprocessor - instructions to allow only alterable operands where appropriate. - [!NO_DEFAULT_SIZES]: An omitted size defaults to `w'. - (m68k_opcode_aliases): Add more aliases. - -Fri Apr 14 22:15:34 1995 Ken Raeburn - - * m68k.h: Added explcitly short-sized conditional branches, and a - bunch of aliases (fmov*, ftest*, tdivul) to support gcc's - svr4-based configurations. - -Mon Mar 13 21:30:01 1995 Ken Raeburn - - Mon Feb 27 08:36:39 1995 Bryan Ford - * i386.h: added missing Data16/Data32 flags to a few instructions. - -Wed Mar 8 15:19:53 1995 Ian Lance Taylor - - * mips.h (OP_MASK_FR, OP_SH_FR): Define. - (OP_MASK_BCC, OP_SH_BCC): Define. - (OP_MASK_PREFX, OP_SH_PREFX): Define. - (OP_MASK_CCC, OP_SH_CCC): Define. - (INSN_READ_FPR_R): Define. - (INSN_RFE): Delete. - -Wed Mar 8 03:13:23 1995 Ken Raeburn - - * m68k.h (enum m68k_architecture): Deleted. - (struct m68k_opcode_alias): New type. - (m68k_opcodes): Now const. Deleted opcode aliases with exactly - matching constraints, values and flags. As a side effect of this, - the MOTOROLA_SYNTAX_ONLY and MIT_SYNTAX_ONLY macros, which so far - as I know were never used, now may need re-examining. - (numopcodes): Now const. - (m68k_opcode_aliases, numaliases): New variables. - (endop): Deleted. - [DONT_DEFINE_TABLE]: Declare numopcodes, numaliases, and - m68k_opcode_aliases; update declaration of m68k_opcodes. - -Mon Mar 6 10:02:00 1995 Jeff Law (law@snake.cs.utah.edu) - - * hppa.h (delay_type): Delete unused enumeration. - (pa_opcode): Replace unused delayed field with an architecture - field. - (pa_opcodes): Mark each instruction as either PA1.0 or PA1.1. - -Fri Mar 3 16:10:24 1995 Ian Lance Taylor - - * mips.h (INSN_ISA4): Define. - -Fri Feb 24 19:13:37 1995 Ian Lance Taylor - - * mips.h (M_DLA_AB, M_DLI): Define. - -Thu Feb 23 17:33:09 1995 Jeff Law (law@snake.cs.utah.edu) - - * hppa.h (fstwx): Fix single-bit error. - -Wed Feb 15 12:19:52 1995 Ian Lance Taylor - - * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define. - -Mon Feb 6 10:35:23 1995 J.T. Conklin - - * i386.h: added cpuid instruction , and dr[0-7] aliases for the - debug registers. From Charles Hannum (mycroft@netbsd.org). - -Mon Feb 6 03:31:54 1995 Ken Raeburn - - Changes from Bryan Ford for 16-bit - i386 support: - * i386.h (MOV_AX_DISP32): New macro. - (i386_optab): Added Data16 and Data32 as needed. Added "w" forms - of several call/return instructions. - (ADDR_PREFIX_OPCODE): New macro. - -Mon Jan 23 16:45:43 1995 Ken Raeburn - - Sat Jan 21 17:50:38 1995 Pat Rankin (rankin@eql.caltech.edu) - - * vax.h (struct vot_wot, field `args'): Make it pointer to const - char. - (struct vot, field `name'): ditto. - -Thu Jan 19 14:47:53 1995 Ken Raeburn - - * vax.h: Supply and properly group all values in end sentinel. - -Tue Jan 17 10:55:30 1995 Ian Lance Taylor - - * mips.h (INSN_ISA, INSN_4650): Define. - -Wed Oct 19 13:34:17 1994 Ian Lance Taylor - - * a29k.h: Add operand type 'I' for `inv' and `iretinv'. On - systems with a separate instruction and data cache, such as the - 29040, these instructions take an optional argument. - -Wed Sep 14 17:44:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips.h (INSN_STORE_MEMORY): Correct value to not conflict with - INSN_TRAP. - -Tue Sep 6 11:39:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips.h (INSN_STORE_MEMORY): Define. - -Thu Jul 28 19:28:07 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * sparc.h: Document new operand type 'x'. - -Tue Jul 26 17:48:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i960.h (I_CX2): New instruction category. It includes - instructions available on Cx and Jx processors. - (I_JX): New instruction category, for JX-only instructions. - (i960_opcodes): Put eshro and sysctl in I_CX2 category. Added - Jx-only instructions, in I_JX category. - -Wed Jul 13 18:43:47 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ns32k.h (endop): Made pointer const too. - -Sun Jul 10 11:01:09 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * ns32k.h: Drop Q operand type as there is no correct use - for it. Add I and Z operand types which allow better checking. - -Thu Jul 7 12:34:48 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * h8300.h (xor.l) :fix bit pattern. - (L_2): New size of operand. - (trapa): Use it. - -Fri Jun 10 16:38:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m68k.h: Move "trap" before "tpcc" to change disassembly. - -Fri Jun 3 15:57:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * sparc.h: Include v9 definitions. - -Thu Jun 2 12:23:17 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * m68k.h (m68060): Defined. - (m68040up, mfloat, mmmu): Include it. - (struct m68k_opcode): Widen `arch' field. - (m68k_opcodes): Updated for M68060. Removed comments that were - instructions commented out by "JF" years ago. - -Thu Apr 28 18:31:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * m68k.h (struct m68k_opcode): Shorten `arch' field to 8 bits, and - add a one-bit `flags' field. - (F_ALIAS): New macro. - -Wed Apr 27 11:29:52 1994 Steve Chamberlain (sac@cygnus.com) - - * h8300.h (dec, inc): Get encoding right. - -Mon Apr 4 13:12:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc.h (struct powerpc_operand): Removed signedp field; just use - a flag instead. - (PPC_OPERAND_SIGNED): Define. - (PPC_OPERAND_SIGNOPT): Define. - -Thu Mar 31 19:34:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size - prefix is 0x66, not 0x67. Patch from H.J. Lu (hlu@nynexst.com). - -Thu Mar 3 15:51:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i386.h: Reverse last change. It'll be handled in gas instead. - -Thu Feb 24 15:29:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i386.h (sar): Disabled the two-operand Imm1 form, since it was - slower on the 486 and used the implicit shift count despite the - explicit operand. The one-operand form is still available to get - the shorter form with the implicit shift count. - -Thu Feb 17 12:27:52 1994 Torbjorn Granlund (tege@mexican.cygnus.com) - - * hppa.h: Fix typo in fstws arg string. - -Wed Feb 9 21:23:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc.h (struct powerpc_opcode): Make operands field unsigned. - -Mon Feb 7 19:14:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc.h (PPC_OPCODE_601): Define. - -Fri Feb 4 23:43:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa.h (addb): Use '@' for addb and addib pseudo ops. - (so we can determine valid completers for both addb and addb[tf].) - - * hppa.h (xmpyu): No floating point format specifier for the - xmpyu instruction. - -Fri Feb 4 23:36:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc.h (PPC_OPERAND_NEXT): Define. - (PPC_OPERAND_NEGATIVE): Change value to make room for above. - (struct powerpc_macro): Define. - (powerpc_macros, powerpc_num_macros): Declare. - -Fri Jan 21 19:13:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc.h: New file. Header file for PowerPC opcode table. - -Mon Jan 17 00:14:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa.h: More minor template fixes for sfu and copr (to allow - for easier disassembly). - - * hppa.h: Fix templates for all the sfu and copr instructions. - -Wed Dec 15 15:12:42 1993 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i386.h (push): Permit Imm16 operand too. - -Sat Dec 11 16:14:06 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * h8300.h (andc): Exists in base arch. - -Wed Dec 1 12:15:32 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * From Hisashi MINAMINO - * hppa.h: #undef NONE to avoid conflict with hiux include files. - -Sun Nov 21 22:06:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa.h: Add FP quadword store instructions. - -Wed Nov 17 17:13:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h: (M_J_A): Added. - (M_LA): Removed. - -Mon Nov 8 12:12:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (OP_MASK_CACHE, OP_SH_CACHE): Define. From Ted Lemon - . - -Sun Nov 7 00:30:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa.h: Immediate field in probei instructions is unsigned, - not low-sign extended. - -Wed Nov 3 10:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * m88k.h (RRI10MASK): Change from 0xfc00ffe0 to 0xfc00fc00. - -Tue Nov 2 12:41:30 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * i386.h: Add "fxch" without operand. - -Mon Nov 1 18:13:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added. - -Sat Oct 2 22:26:11 1993 Jeffrey A Law (law@snake.cs.utah.edu) - - * hppa.h: Add gfw and gfr to the opcode table. - -Wed Sep 29 16:23:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * m88k.h: extended to handle m88110. - -Tue Sep 28 19:19:08 1993 Jeffrey A Law (law@snake.cs.utah.edu) - - * hppa.h (be, ble): Use operand type 'z' to denote absolute branch - addresses. - -Tue Sep 14 14:04:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i960.h (i960_opcodes): Properly bracket initializers. - -Mon Sep 13 12:50:52 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * m88k.h (BOFLAG): rewrite to avoid nested comment. - -Mon Sep 13 15:46:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m68k.h (two): Protect second argument with parentheses. - -Fri Sep 10 16:29:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * i386.h (i386_optab): Added new instruction "rsm" (for i386sl). - Deleted old in/out instructions in "#if 0" section. - -Thu Sep 9 17:42:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i386.h (i386_optab): Properly bracket initializers. - -Wed Aug 25 13:50:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * hppa.h (pa_opcode): Use '|' for movb and movib insns. (From - Jeff Law, law@cs.utah.edu). - -Mon Aug 23 16:55:03 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * i386.h (lcall): Accept Imm32 operand also. - -Mon Aug 23 12:43:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (M_ABSU): Removed (absolute value of unsigned number??). - (M_DABS): Added. - -Thu Aug 19 15:08:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h (INSN_*): Changed values. Removed unused definitions. - Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3. Split - INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and - INSN_LOAD_COPROC_DELAY. Split INSN_COPROC_DELAY into - INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY. - (M_*): Added new values for r6000 and r4000 macros. - (ANY_DELAY): Removed. - -Wed Aug 18 15:37:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h: Added M_LI_S and M_LI_SS. - -Tue Aug 17 07:08:08 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * h8300.h: Get some rare mov.bs correct. - -Thu Aug 5 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * sparc.h: Don't define const ourself; rely on ansidecl.h having - been included. - -Fri Jul 30 18:41:11 1993 John Gilmore (gnu@cygnus.com) - - * sparc.h (F_JSR, F_UNBR, F_CONDBR): Add new flags to mark - jump instructions, for use in disassemblers. - -Thu Jul 22 07:25:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * m88k.h: Make bitfields just unsigned, not unsigned long or - unsigned short. - -Wed Jul 21 11:55:31 1993 Jim Kingdon (kingdon@deneb.cygnus.com) - - * hppa.h: New argument type 'y'. Use in various float instructions. - -Mon Jul 19 17:17:03 1993 Jim Kingdon (kingdon@deneb.cygnus.com) - - * hppa.h (break): First immediate field is unsigned. - - * hppa.h: Add rfir instruction. - -Sun Jul 18 16:28:08 1993 Jim Kingdon (kingdon@rtl.cygnus.com) - - * mips.h: Split the actual table out into ../../opcodes/mips-opc.c. - -Fri Jul 16 09:59:29 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h: Reworked the hazard information somewhat, and fixed some - bugs in the instruction hazard descriptions. - -Thu Jul 15 12:42:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m88k.h: Corrected a couple of opcodes. - -Tue Jul 6 15:17:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.h: Replaced with version from Ralph Campbell and OSF. The - new version includes instruction hazard information, but is - otherwise reasonably similar. - -Thu Jul 1 20:36:17 1993 Doug Evans (dje@canuck.cygnus.com) - - * h8300.h: Fix typo in UNOP3 (affected sh[al][lr].l). - -Fri Jun 11 18:38:44 1993 Ken Raeburn (raeburn@cygnus.com) - - Patches from Jeff Law, law@cs.utah.edu: - * hppa.h: Clean up some of the OLD_TABLE, non-OLD_TABLE braindamage. - Make the tables be the same for the following instructions: - "bb", "addb[tf]", "addib[tf]", "add", "add[loc]", "addco", - "sh[123]add", "sh[123]add[lo]", "sub", "sub[obt]", "sub[bt]o", - "ds", "comclr", "addi", "addi[ot]", "addito", "subi", "subio", - "comiclr", "fadd", "fsub", "fmpy", "fdiv", "fsqrt", "fabs", - "frnd", "fcpy", "fcnvff", "fcnvxf", "fcnvfx", "fcnvfxt", - "fcmp", and "ftest". - - * hppa.h: Make new and old tables the same for "break", "mtctl", - "mfctl", "bb", "ssm", "rsm", "xmpyu", "fmpyadd", "fmpysub". - Fix typo in last patch. Collapse several #ifdefs into a - single #ifdef. - - * hppa.h: Delete remaining OLD_TABLE code. Bring some - of the comments up-to-date. - - * hppa.h: Update "free list" of letters and update - comments describing each letter's function. - -Thu Jul 8 09:05:26 1993 Doug Evans (dje@canuck.cygnus.com) - - * h8300.h: Lots of little fixes for the h8/300h. - -Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - Support for H8/300-H - * h8300.h: Lots of new opcodes. - -Fri Jun 4 15:41:37 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * h8300.h: checkpoint, includes H8/300-H opcodes. - -Thu Jun 3 15:42:59 1993 Stu Grossman (grossman@cygnus.com) - - * Patches from Jeffrey Law . - * hppa.h: Rework single precision FP - instructions so that they correctly disassemble code - PA1.1 code. - -Thu May 27 19:21:22 1993 Bruce Bauman (boot@osf.org) - - * i386.h (i386_optab, mov pattern): Remove Mem16 restriction from - mov to allow instructions like mov ss,xyz(ecx) to assemble. - -Tue May 25 00:39:40 1993 Ken Raeburn (raeburn@cygnus.com) - - * hppa.h: Use new version from Utah if OLD_TABLE isn't defined; - gdb will define it for now. - -Mon May 24 15:20:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * sparc.h: Don't end enumerator list with comma. - -Fri May 14 15:15:50 1993 Ian Lance Taylor (ian@cygnus.com) - - * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson): - * mips.h (OP_MASK_COPZ, OP_SH_COPZ): Define. - ("bc2t"): Correct typo. - ("[ls]wc[023]"): Use T rather than t. - ("c[0123]"): Define general coprocessor instructions. - -Mon May 10 06:02:25 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * m68k.h: Move split point for gcc compilation more towards - middle. - -Fri Apr 9 13:26:16 1993 Jim Kingdon (kingdon@cygnus.com) - - * rs6k.h: Clean up instructions for primary opcode 19 (many were - simply wrong, ics, rfi, & rfsvc were missing). - Add "a" to opr_ext for "bb". Doc fix. - -Thu Mar 18 13:45:31 1993 Per Bothner (bothner@rtl.cygnus.com) - - * i386.h: 486 extensions from John Hassey (hassey@dg-rtp.dg.com). - * mips.h: Add casts, to suppress warnings about shifting too much. - * m68k.h: Document the placement code '9'. - -Thu Feb 18 02:03:14 1993 John Gilmore (gnu@cygnus.com) - - * m68k.h (BREAK_UP_BIG_DECL, AND_OTHER_PART): Add kludge which - allows callers to break up the large initialized struct full of - opcodes into two half-sized ones. This permits GCC to compile - this module, since it takes exponential space for initializers. - (numopcodes, endop): Revise to use AND_OTHER_PART in size calcs. - -Thu Feb 4 02:06:56 1993 John Gilmore (gnu@cygnus.com) - - * a29k.h: Remove RCS crud, update GPL to v2, update copyrights. - * convex.h: Added, from GDB's convx-opcode.h. Added CONST to all - initialized structs in it. - -Thu Jan 28 21:32:22 1993 John Gilmore (gnu@cygnus.com) - - Delta 88 changes inspired by Carl Greco, : - * m88k.h (PMEM): Avoid previous definition from . - (AND): Change to AND_ to avoid ansidecl.h `AND' conflict. - -Sat Jan 23 18:10:49 PST 1993 Ralph Campbell (ralphc@pyramid.com) - - * mips.h: document "i" and "j" operands correctly. - -Thu Jan 7 15:58:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips.h: Removed endianness dependency. - -Sun Jan 3 14:13:35 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * h8300.h: include info on number of cycles per instruction. - -Mon Dec 21 21:29:08 1992 Stu Grossman (grossman at cygnus.com) - - * hppa.h: Move handy aliases to the front. Fix masks for extract - and deposit instructions. - -Sat Dec 12 16:09:48 1992 Ian Lance Taylor (ian@cygnus.com) - - * i386.h: accept shld and shrd both with and without the shift - count argument, which is always %cl. - -Fri Nov 27 17:13:18 1992 Ken Raeburn (raeburn at cygnus.com) - - * i386.h (i386_optab_end, i386_regtab_end): Now const. - (one_byte_segment_defaults, two_byte_segment_defaults, - i386_prefixtab_end): Ditto. - -Mon Nov 23 10:47:25 1992 Ken Raeburn (raeburn@cygnus.com) - - * vax.h (bb*): Use "v" (bitfield type), not "a" (address operand) - for operand 2; from John Carr, jfc@dsg.dec.com. - -Wed Nov 4 07:36:49 1992 Ken Raeburn (raeburn@cygnus.com) - - * m68k.h: Define FIXED_SIZE_BRANCH, so bsr and bra instructions - always use 16-bit offsets. Makes calculated-size jump tables - feasible. - -Fri Oct 16 22:52:43 1992 Ken Raeburn (raeburn@cygnus.com) - - * i386.h: Fix one-operand forms of in* and out* patterns. - -Tue Sep 22 14:08:14 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * m68k.h: Added CPU32 support. - -Tue Sep 22 00:38:41 1992 John Gilmore (gnu@cygnus.com) - - * mips.h (break): Disassemble the argument. Patch from - jonathan@cs.stanford.edu (Jonathan Stone). - -Wed Sep 9 11:25:28 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68k.h: merged Motorola and MIT syntax. - -Thu Sep 3 09:33:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * m68k.h (pmove): make the tests less strict, the 68k book is - wrong. - -Tue Aug 25 23:25:19 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * m68k.h (m68ec030): Defined as alias for 68030. - (m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" - for immediate 0-7 added. Set up some opcodes (ptest, bkpt) to use - them. Tightened description of "fmovex" to distinguish it from - some "pmove" encodings. Added "pmove" for 68030 MMU regs, cleaned - up descriptions that claimed versions were available for chips not - supporting them. Added "pmovefd". - -Mon Aug 24 12:04:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * m68k.h: fix where the . goes in divull - -Wed Aug 19 11:22:24 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68k.h: the cas2 instruction is supposed to be written with - indirection on the last two operands, which can be either data or - address registers. Added a new operand type 'r' which accepts - either register type. Added new cases for cas2l and cas2w which - use them. Corrected masks for cas2 which failed to recognize use - of address register. - -Fri Aug 14 14:20:38 1992 Per Bothner (bothner@cygnus.com) - - * m68k.h: Merged in patches (mostly m68040-specific) from - Colin Smith . - - * m68k.h: Merged m68kmri.h and m68k.h (using the former as a - base). Also cleaned up duplicates, re-ordered instructions for - the sake of dis-assembling (so aliases come after standard names). - * m68kmri.h: Now just defines some macros, and #includes m68k.h. - -Wed Aug 12 16:38:15 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in - all missing .s - -Mon Aug 10 23:22:33 1992 Ken Raeburn (raeburn@cygnus.com) - - * sparc.h: Moved tables to BFD library. - - * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc. - -Sun Jun 28 13:29:03 1992 Fred Fish (fnf@cygnus.com) - - * h8300.h: Finish filling in all the holes in the opcode table, - so that the Lucid C compiler can digest this as well... - -Fri Jun 26 21:27:17 1992 John Gilmore (gnu at cygnus.com) - - * i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases. - Fix opcodes on various sizes of fild/fist instructions - (16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix). - Use tabs to indent for comments. Fixes suggested by Minh Tran-Le. - -Thu Jun 25 16:13:26 1992 Stu Grossman (grossman at cygnus.com) - - * h8300.h: Fill in all the holes in the opcode table so that the - losing HPUX C compiler can digest this... - -Thu Jun 11 12:15:25 1992 John Gilmore (gnu at cygnus.com) - - * mips.h: Fix decoding of coprocessor instructions, somewhat. - (Fix by Eric Anderson, 3jean@maas-neotek.arc.nasa.gov.) - -Thu May 28 11:17:44 1992 Jim Wilson (wilson@sphagnum.cygnus.com) - - * sparc.h: Add new architecture variant sparclite; add its scan - and divscc opcodes. Define ARCHITECTURES_CONFLICT_P macro. - -Tue May 5 14:23:27 1992 Per Bothner (bothner@rtl.cygnus.com) - - * mips.h: Add some more opcode synonyms (from Frank Yellin, - fy@lucid.com). - -Thu Apr 16 18:25:26 1992 Per Bothner (bothner@cygnus.com) - - * rs6k.h: New version from IBM (Metin). - -Thu Apr 9 00:31:19 1992 Per Bothner (bothner@rtl.cygnus.com) - - * rs6k.h: Fix incorrect extended opcode for instructions `fm' - and `fd'. (From metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).) - -Tue Apr 7 13:38:47 1992 Stu Grossman (grossman at cygnus.com) - - * rs6k.h: Move from ../../gdb/rs6k-opcode.h. - -Fri Apr 3 11:30:20 1992 Fred Fish (fnf@cygnus.com) - - * m68k.h (one, two): Cast macro args to unsigned to suppress - complaints from compiler and lint about integer overflow during - shift. - -Sun Mar 29 12:22:08 1992 John Gilmore (gnu at cygnus.com) - - * sparc.h (OP): Avoid signed overflow when shifting to high order bit. - -Fri Mar 6 00:22:38 1992 John Gilmore (gnu at cygnus.com) - - * mips.h: Make bitfield layout depend on the HOST compiler, - not on the TARGET system. - -Fri Feb 21 01:29:51 1992 K. Richard Pixley (rich@cygnus.com) - - * i386.h: added inb, inw, outb, outw opcodes, added att syntax for - scmp, slod, smov, ssca, ssto. Curtesy Minh Tran-Le - . - -Thu Jan 30 07:31:44 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * h8300.h: turned op_type enum into #define list - -Thu Jan 30 01:07:24 1992 John Gilmore (gnu at cygnus.com) - - * sparc.h: Remove "cypress" architecture. Remove "fitox" and - similar instructions -- they've been renamed to "fitoq", etc. - REALLY fix tsubcctv. Fix "fcmpeq" and "fcmpq" which had wrong - number of arguments. - * h8300.h: Remove extra ; which produces compiler warning. - -Tue Jan 28 22:59:22 1992 Stu Grossman (grossman at cygnus.com) - - * sparc.h: fix opcode for tsubcctv. - -Tue Jan 7 17:19:39 1992 K. Richard Pixley (rich at cygnus.com) - - * sparc.h: fba and cba are now aliases for fb and cb respectively. - -Fri Dec 27 10:55:50 1991 Per Bothner (bothner at cygnus.com) - - * sparc.h (nop): Made the 'lose' field be even tighter, - so only a standard 'nop' is disassembled as a nop. - -Sun Dec 22 12:18:18 1991 Michael Tiemann (tiemann at cygnus.com) - - * sparc.h (nop): Add RD_GO to `lose' so that only %g0 in dest is - disassembled as a nop. - -Wed Dec 18 17:19:44 1991 Stu Grossman (grossman at cygnus.com) - - * m68k.h, sparc.h: ANSIfy enums. - -Tue Dec 10 00:22:20 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * sparc.h: fix a typo. - -Sat Nov 30 20:40:51 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * a29k.h, arm.h, h8300.h, i386.h, i860.h, i960.h , m68k.h, - m88k.h, mips.h , np1.h, ns32k.h, pn.h, pyr.h, sparc.h, tahoe.h, - vax.h: Renamed from ../-opcode.h. +For older changes see ChangeLog-9103 Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/include/opcode/ChangeLog-9103 b/include/opcode/ChangeLog-9103 new file mode 100644 index 00000000000..0cdb1f3bed6 --- /dev/null +++ b/include/opcode/ChangeLog-9103 @@ -0,0 +1,3102 @@ +2003-10-21 Peter Barada + Bernardo Innocenti + + * m68k.h: Add MCFv4/MCF5528x support. + +2003-10-19 Hans-Peter Nilsson + + * mmix.h (JMP_INSN_BYTE): Define. + +2003-09-30 Chris Demetriou + + * mips.h: Document +E, +F, +G, +H, and +I operand types. + Update documentation of I, +B and +C operand types. + (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. + (M_DEXT, M_DINS): New enum values. + +2003-09-04 Nick Clifton + + * v850.h (PROCESSOR_V850E1): Define. + +2003-08-19 Alan Modra + + * ppc.h (PPC_OPCODE_440): Define. Formatting. Use hex for other + PPC_OPCODE_* defines. + +2003-08-16 Jason Eckhardt + + * i860.h (fmov.ds): Expand as famov.ds. + (fmov.sd): Expand as famov.sd. + (pfmov.ds): Expand as pfamov.ds. + +2003-08-07 Michael Meissner + + * cgen.h: Remove PARAM macro usage in all prototypes. + (CGEN_EXTRACT_INFO): Use void * instead of PTR. + (cgen_print_fn): Ditto. + (CGEN_HW_ENTRY): Ditto. + (CGEN_MAYBE_MULTI_IFLD): Ditto. + (struct cgen_insn): Ditto. + (CGEN_CPU_TABLE): Ditto. + +2003-08-07 Alan Modra + + * alpha.h: Remove PARAMS macro. + * arc.h: Likewise. + * d10v.h: Likewise. + * d30v.h: Likewise. + * i370.h: Likewise. + * or32.h: Likewise. + * pj.h: Likewise. + * ppc.h: Likewise. + * sparc.h: Likewise. + * tic80.h: Likewise. + * v850.h: Likewise. + +2003-07-18 Michael Snyder + + * include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting. + +2003-07-15 Richard Sandiford + + * mips.h (CPU_RM7000): New macro. + (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. + +2003-07-09 Alexandre Oliva + + 2000-04-01 Alexandre Oliva + * mn10300.h (AM33_2): Renamed from AM33. + 2000-03-31 Alexandre Oliva + * mn10300.h (AM332, FMT_D3): Defined. + (MN10300_OPERAND_FSREG, MN10300_OPERAND_FDREG): Likewise. + (MN10300_OPERAND_FPCR): Likewise. + +2003-07-01 Martin Schwidefsky + + * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990. + +2003-06-25 Richard Sandiford + + * h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. + (IMM8U, IMM8U_NS): Define. + (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy. + +2003-06-25 Richard Sandiford + + * h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd and + mov.l ERs,@(dd:32,ERd) entries. + +2003-06-23 H.J. Lu + + * i386.h (i386_optab): Support Intel Precott New Instructions. + +2003-06-10 Gary Hade + + * ppc.h (PPC_OPERAND_DQ): Define. + +2003-06-10 Richard Sandiford + + * h8300.h (IMM4_NS, IMM8_NS): New. + (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. + Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. + +2003-06-03 Michael Snyder + + * h8300.h (enum h8_model): Add AV_H8S to distinguish from H8H. + (ldc): Split ccr ops from exr ops (which are only available + on H8S or H8SX). + (stc): Ditto. + (andc, orc, xorc): Ditto. + (ldmac, stmac, clrmac, mac): Change access to AV_H8S. + +2003-06-03 Michael Snyder + and Bernd Schmidt + and Alexandre Oliva + * h8300.h: Add support for h8300sx instruction set. + +2003-05-23 Jason Eckhardt + + * i860.h (expand_type): Add XP_ONLY. + (scyc.b): New XP instruction. + (ldio.l): Likewise. + (ldio.s): Likewise. + (ldio.b): Likewise. + (ldint.l): Likewise. + (ldint.s): Likewise. + (ldint.b): Likewise. + (stio.l): Likewise. + (stio.s): Likewise. + (stio.b): Likewise. + (pfld.q): Likewise. + +2003-05-20 Jason Eckhardt + + * i860.h (flush): Set lower 3 bits properly and use 'L' + for the immediate operand type instead of 'i'. + +2003-05-20 Jason Eckhardt + + * i860.h (fzchks): Both S and R bits must be set. + (pfzchks): Likewise. + (faddp): Likewise. + (pfaddp): Likewise. + (fix.ss): Remove (invalid instruction). + (pfix.ss): Likewise. + (ftrunc.ss): Likewise. + (pftrunc.ss): Likewise. + +2003-05-18 Jason Eckhardt + + * i860.h (form, pform): Add missing .dd suffix. + +2003-05-13 Stephane Carrez + + * m68hc11.h (M68HC12_BANK_VIRT): Define to 0x010000 + +2003-04-07 Michael Snyder + + * h8300.h (ldc/stc): Fix up src/dst swaps. + +2003-04-09 J. Grant + + * mips.h: Correct comment typo. + +2003-03-21 Martin Schwidefsky + + * s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val. + (S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH. + (s390_opcode): Remove architecture. Add modes and min_cpu. + +2003-03-17 D.Venkatasubramanian + + * h8300.h (O_SYS_CMDLINE): New pseudo opcode for command line + processing. + +2003-02-21 Noida D.Venkatasubramanian + + * h8300.h (ldmac, stmac): Replace MACREG with MS32 and MD32. + +2003-01-23 Alan Modra + + * m68hc11.h (cpu6812s): Define. + +2003-01-07 Chris Demetriou + + * mips.h: Fix missing space in comment. + (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5) + (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right + by four bits. + +2003-01-02 Chris Demetriou + + * mips.h: Update copyright years to include 2002 (which had + been missed previously) and 2003. Make comments about "+A", + "+B", and "+C" operand types more descriptive. + +2002-12-31 Chris Demetriou + + * mips.h: Note that the "+D" operand type name is now used. + +2002-12-30 Chris Demetriou + + * mips.h: Document "+" as the start of two-character operand + type names, and add new "K", "+A", "+B", and "+C" operand types. + (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) + (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New + defines. + +2002-12-24 Dmitry Diky + + * msp430.h: New file. Defines msp430 opcodes. + +2002-12-30 D.Venkatasubramanian + + * h8300.h: Added some more pseudo opcodes for system call + processing. + +2002-12-19 Chris Demetriou + + * mips.h (OP_OP_COP0, OP_OP_COP1, OP_OP_COP2, OP_OP_COP3) + (OP_OP_LWC1, OP_OP_LWC2, OP_OP_LWC3, OP_OP_LDC1, OP_OP_LDC2) + (OP_OP_LDC3, OP_OP_SWC1, OP_OP_SWC2, OP_OP_SWC3, OP_OP_SDC1) + (OP_OP_SDC2, OP_OP_SDC3): Define. + +2002-12-16 Alan Modra + + * hppa.h (completer_chars): #if 0 out. + + * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and + "default_args". + (struct not_wot): Constify "args". + (struct not): Constify "name". + (numopcodes): Delete. + (endop): Delete. + +2002-12-13 Alan Modra + + * pj.h (pj_opc_info_t): Add union. + +2002-12-04 David Mosberger + + * ia64.h: Fix copyright message. + (IA64_OPND_AR_CSD): New operand kind. + +2002-12-03 Richard Henderson + + * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV. + +2002-12-03 Alan Modra + + * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union. + Constify "leaf" and "multi". + +2002-11-19 Klee Dienes + + * h8300.h (h8_opcode): Remove 'noperands', 'idx', and 'size' + fields. + (h8_opcodes). Modify initializer and initializer macros to no + longer initialize the removed fields. + +2002-11-19 Svein E. Seldal + + * tic4x.h (c4x_insts): Fixed LDHI constraint + +2002-11-18 Klee Dienes + + * h8300.h (h8_opcode): Remove 'length' field. + (h8_opcodes): Mark as 'const' (both the declaration and + definition). Modify initializer and initializer macros to no + longer initialize the length field. + +2002-11-18 Klee Dienes + + * arc.h (arc_ext_opcodes): Declare as extern. + (arc_ext_operands): Declare as extern. + * i860.h (i860_opcodes): Declare as const. + +2002-11-18 Svein E. Seldal + + * tic4x.h: File reordering. Added enhanced opcodes. + +2002-11-16 Svein E. Seldal + + * tic4x.h: Major rewrite of entire file. Define instruction + classes, and put each instruction into a class. + +2002-11-11 Svein E. Seldal + + * tic4x.h: Added new opcodes and corrected some bugs. Add support + for new DSP types. + +2002-10-14 Alan Modra + + * cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + Eric Christopher + Richard Sandiford + + * mips.h: Update comment for new opcodes. + (OP_MASK_VECBYTE, OP_SH_VECBYTE): New. + (OP_MASK_VECALIGN, OP_SH_VECALIGN): New. + (INSN_4111, INSN_4120, INSN_5400, INSN_5500): New. + (CPU_VR4120, CPU_VR5400, CPU_VR5500): New. + (OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags. + Don't match CPU_R4111 with INSN_4100. + +2002-08-19 Elena Zannoni + + From matthew green + + * ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500 + instructions. + (PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR, + PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the + e500x2 Integer select, branch locking, performance monitor, + cache locking and machine check APUs, respectively. + (PPC_OPCODE_EFS): New opcode type for efs* instructions. + (PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions. + +2002-08-13 Stephane Carrez + + * m68hc11.h (M6812_OP_PAGE): Define to identify call operand. + (M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE, + M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12 + memory banks. + (M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value. + +2002-07-09 Thiemo Seufer + + * mips.h (INSN_MIPS16): New define. + +2002-07-08 Alan Modra + + * i386.h: Remove IgnoreSize from movsx and movzx. + +2002-06-08 Alan Modra + + * a29k.h: Replace CONST with const. + (CONST): Don't define. + * convex.h: Replace CONST with const. + (CONST): Don't define. + * dlx.h: Replace CONST with const. + * or32.h (CONST): Don't define. + +2002-05-30 Chris G. Demetriou + + * mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL) + (MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH) + (MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC) + (INSN_MDMX): New constants, for MDMX support. + (opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX. + +2002-05-28 Kuang Hwa Lin + + * dlx.h: New file. + +2002-05-25 Alan Modra + + * ia64.h: Use #include "" instead of <> for local header files. + * sparc.h: Likewise. + +2002-05-22 Thiemo Seufer + + * mips.h: Add M_DROL, M_DROL_I, M_DROR, M_DROR_I macro cases. + +2002-05-17 Andrey Volkov + + * h8300.h: Corrected defs of all control regs + and eepmov instr. + +2002-04-11 Alan Modra + + * i386.h: Add intel mode cmpsd and movsd. + Put them before SSE2 insns, so that rep prefix works. + +2002-03-15 Chris G. Demetriou + + * mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D + instructions. + (OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks + may be passed along with the ISA bitmask. + +2002-03-05 Paul Koning + + * pdp11.h: Add format codes for float instruction formats. + +2002-02-25 Alan Modra + + * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define. + +Mon Feb 18 17:31:48 CET 2002 Jan Hubicka + + * i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands. + +Mon Feb 11 12:53:19 CET 2002 Jan Hubicka + + * i386.h (push,pop): Allow 16bit operands in 64bit mode. + (xchg): Fix. + (in, out): Disable 64bit operands. + (call, jmp): Avoid REX prefixes. + (jcxz): Prohibit in 64bit mode + (jrcxz, loop): Add 64bit variants. + (movq): Fix patterns. + (movmskps, pextrw, pinstrw): Add 64bit variants. + +2002-01-31 Ivan Guzvinec + + * or32.h: New file. + +2002-01-22 Graydon Hoare + + * cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure. + (CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field. + +2002-01-21 Thomas Klausner + + * h8300.h: Comment typo fix. + +2002-01-03 matthew green + + * ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific. + (PPC_OPCODE_BOOKE64): Likewise. + +Mon Dec 31 16:45:41 2001 Jeffrey A Law (law@cygnus.com) + + * hppa.h (call, ret): Move to end of table. + (addb, addib): PA2.0 variants should have been PA2.0W. + (ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler + happy. + (fldw, fldd, fstw, fstd, bb): Likewise. + (short loads/stores): Tweak format specifier slightly to keep + disassembler happy. + (indexed loads/stores): Likewise. + (absolute loads/stores): Likewise. + +2001-12-04 Alexandre Oliva + + * d10v.h (OPERAND_NOSP): New macro. + +2001-11-29 Alexandre Oliva + + * d10v.h (OPERAND_SP): New macro. + +2001-11-15 Alan Modra + + * ppc.h (struct powerpc_operand ): Add dialect param. + +2001-11-11 Timothy Wall + + * tic54x.h: Revise opcode layout; don't really need a separate + structure for parallel opcodes. + +2001-11-13 Zack Weinberg + Alan Modra + + * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to + accept WordReg. + +2001-11-04 Chris Demetriou + + * mips.h (OPCODE_IS_MEMBER): Remove extra space. + +2001-10-30 Hans-Peter Nilsson + + * mmix.h: New file. + +2001-10-18 Chris Demetriou + + * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end + of the expression, to make source code merging easier. + +2001-10-17 Chris Demetriou + + * mips.h: Sort coprocessor instruction argument characters + in comment, add a few more words of description for "H". + +2001-10-17 Chris Demetriou + + * mips.h (INSN_SB1): New cpu-specific instruction bit. + (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1 + if cpu is CPU_SB1. + +2001-10-17 matthew green + + * ppc.h (PPC_OPCODE_BOOKE64): Fix typo. + +2001-10-12 matthew green + + * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_BOOKE64, PPC_OPCODE_403): New + opcode flags for BookE 32-bit, BookE 64-bit and PowerPC 403 + instructions, respectively. + +2001-09-27 Nick Clifton + + * v850.h: Remove spurious comment. + +2001-09-21 Nick Clifton + + * h8300.h: Fix compile time warning messages + +2001-09-04 Richard Henderson + + * alpha.h (struct alpha_operand): Pack elements into bitfields. + +2001-08-31 Eric Christopher + + * mips.h: Remove CPU_MIPS32_4K. + +2001-08-27 Torbjorn Granlund + + * ppc.h (PPC_OPERAND_DS): Define. + +2001-08-25 Andreas Jaeger + + * d30v.h: Fix declaration of reg_name_cnt. + + * d10v.h: Fix declaration of d10v_reg_name_cnt. + + * arc.h: Add prototypes from opcodes/arc-opc.c. + +2001-08-16 Thiemo Seufer + + * mips.h (INSN_10000): Define. + (OPCODE_IS_MEMBER): Check for INSN_10000. + +2001-08-10 Alan Modra + + * ppc.h: Revert 2001-08-08. + +2001-08-10 Richard Sandiford + + * mips.h (INSN_GP32): Remove. + (OPCODE_IS_MEMBER): Remove gp32 parameter. + (M_MOVE): New macro identifier. + +2001-08-08 Alan Modra + + 1999-10-25 Torbjorn Granlund + * ppc.h (struct powerpc_operand): New field `reloc'. + +2001-08-01 Aldy Hernandez + + * mips.h (INSN_ISA_MASK): Nuke bits 12-15. + +2001-07-12 Jeff Johnston + + * cgen.h (CGEN_INSN): Add regex support. + (build_insn_regex): Declare. + +2001-07-11 Frank Ch. Eigler + + * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field. + (cgen_cpu_desc): Ditto. + +2001-07-07 Ben Elliston + + * m88k.h: Clean up and reformat. Remove unused code. + +2001-06-14 Geoffrey Keating + + * cgen.h (cgen_keyword): Add nonalpha_chars field. + +2001-05-23 Thiemo Seufer + + * mips.h (CPU_R12000): Define. + +2001-05-23 John Healy + + * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48. + +2001-05-15 Thiemo Seufer + + * mips.h (INSN_ISA_MASK): Define. + +2001-05-12 Alan Modra + + * i386.h (i386_optab): Second operand of cvtps2dq is an xmm reg, + not an mmx reg. Swap xmm/mmx regs on both movdq2q and movq2dq, + and use InvMem as these insns must have register operands. + +2001-05-04 Alan Modra + + * i386.h (i386_optab): Move InvMem to first operand of pmovmskb + and pextrw to swap reg/rm assignments. + +2001-04-05 Hans-Peter Nilsson + + * cris.h (enum cris_insn_version_usage): Correct comment for + cris_ver_v3p. + +2001-03-24 Alan Modra + + * i386.h (i386_optab): Correct entry for "movntdq". Add "punpcklqdq". + Add InvMem to first operand of "maskmovdqu". + +2001-03-22 Hans-Peter Nilsson + + * cris.h (ADD_PC_INCR_OPCODE): New macro. + +2001-03-21 Kazu Hirata + + * h8300.h: Fix formatting. + +2001-03-22 Alan Modra + + * i386.h (i386_optab): Add paddq, psubq. + +2001-03-19 Alan Modra + + * i386.h (REGNAM_AL, REGNAM_AX, REGNAM_EAX): Define. + +2001-02-28 Igor Shevlyakov + + * m68k.h: new defines for Coldfire V4. Update mcf to know + about mcf5407. + +2001-02-18 lars brinkhoff + + * pdp11.h: New file. + +2001-02-12 Jan Hubicka + + * i386.h (i386_optab): SSE integer converison instructions have + 64bit versions on x86-64. + +2001-02-10 Nick Clifton + + * mips.h: Remove extraneous whitespace. Formating change to allow + for future contribution. + +2001-02-09 Martin Schwidefsky + + * s390.h: New file. + +2001-02-02 Patrick Macdonald + + * cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short. + (CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES. + (CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS. + +2001-01-24 Karsten Keil + + * i386.h (i386_optab): Fix swapgs + +2001-01-14 Alan Modra + + * hppa.h: Describe new '<' and '>' operand types, and tidy + existing comments. + (pa_opcodes): Add entries for missing wide mode ldi,ldo,ldw,stw. + Remove duplicate "ldw j(s,b),x". Sort some entries. + +2001-01-13 Jan Hubicka + + * i386.h (i386_optab): Fix pusha and ret templates. + +2001-01-11 Peter Targett + + * arc.h (ARC_MACH_5, ARC_MACH_6, ARC_MACH_7, ARC_MACH_8): New + definitions for masking cpu type. + (arc_ext_operand_value) New structure for storing extended + operands. + (ARC_OPERAND_*) Flags for operand values. + +2001-01-10 Jan Hubicka + + * i386.h (pinsrw): Add. + (pshufw): Remove. + (cvttpd2dq): Fix operands. + (cvttps2dq): Likewise. + (movq2q): Rename to movdq2q. + +2001-01-10 Richard Schaal + + * i386.h: Correct movnti instruction. + +2001-01-09 Jeff Johnston + + * cgen.h (CGEN_SYNTAX_CHAR_TYPE): New typedef based on max number + of operands (unsigned char or unsigned short). + (CGEN_SYNTAX): Changed to make array CGEN_SYNTAX_CHAR_TYPE. + (CGEN_SYNTAX_CHAR): Changed to cast to unsigned char. + +2001-01-05 Jan Hubicka + + * i386.h (i386_optab): Make [sml]fence template to use immext field. + +2001-01-03 Jan Hubicka + + * i386.h (i386_optab): Fix 64bit pushf template; Add instructions + introduced by Pentium4 + +2000-12-30 Jan Hubicka + + * i386.h (i386_optab): Add "rex*" instructions; + add swapgs; disable jmp/call far direct instructions for + 64bit mode; add syscall and sysret; disable registers for 0xc6 + template. Add 'q' suffixes to extendable instructions, disable + obsolete instructions, add new sign/zero extension ones. + (i386_regtab): Add extended registers. + (*Suf): Add No_qSuf. + (q_Suf, wlq_Suf, bwlq_Suf): New. + +2000-12-20 Jan Hubicka + + * i386.h (i386_optab): Replace "Imm" with "EncImm". + (i386_regtab): Add flags field. + +2000-12-12 Nick Clifton + + * mips.h: Fix formatting. + +2000-12-01 Chris Demetriou + + mips.h (OP_MASK_SYSCALL, OP_SH_SYSCALL): Delete. + (OP_MASK_CODE20, OP_SH_CODE20): Define, with values of old + OP_*_SYSCALL definitions. + (OP_SH_CODE19, OP_MASK_CODE19): Define, for use as + 19 bit wait codes. + (MIPS operand specifier comments): Remove 'm', add 'U' and + 'J', and update the meaning of 'B' so that it's more general. + + * mips.h (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, + INSN_ISA5): Renumber, redefine to mean the ISA at which the + instruction was added. + (INSN_ISA32): New constant. + (INSN_4650, INSN_4010, INSN_4100, INSN_3900, INSN_GP32): + Renumber to avoid new and/or renumbered INSN_* constants. + (INSN_MIPS32): Delete. + (ISA_UNKNOWN): New constant to indicate unknown ISA. + (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4, ISA_MIPS5, + ISA_MIPS32): New constants, defined to be the mask of INSN_* + constants available at that ISA level. + (CPU_UNKNOWN): New constant to indicate unknown CPU. + (CPU_4K, CPU_MIPS32_4K): Rename the former to the latter, + define it with a unique value. + (OPCODE_IS_MEMBER): Update for new ISA membership-related + constant meanings. + + * mips.h (INSN_ISA64, ISA_MIPS5, ISA_MIPS64): New + definitions. + + * mips.h (CPU_SB1): New constant. + +2000-10-20 Jakub Jelinek + + * sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B. + Note that '3' is used for siam operand. + +2000-09-22 Jim Wilson + + * ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP. + +2000-09-13 Anders Norlander + + * mips.h: Use defines instead of hard-coded processor numbers. + (CPU_R2000, CPU_R3000, CPU_R3900, CPU_R4000, CPU_R4010, + CPU_VR4100, CPU_R4111, CPU_R4300, CPU_R4400, CPU_R4600, CPU_R4650, + CPU_R5000, CPU_R6000, CPU_R8000, CPU_R10000, CPU_MIPS32, CPU_4K, + CPU_4KC, CPU_4KM, CPU_4KP): Define.. + (OPCODE_IS_MEMBER): Use new defines. + (OP_MASK_SEL, OP_SH_SEL): Define. + (OP_MASK_CODE20, OP_SH_CODE20): Define. + Add 'P' to used characters. + Use 'H' for coprocessor select field. + Use 'm' for 20 bit breakpoint code. + Document new arg characters and add to used characters. + (INSN_MIPS32): New define for MIPS32 extensions. + (OPCODE_IS_MEMBER): Recognize MIPS32 instructions. + +2000-09-05 Alan Modra + + * hppa.h: Mention cz completer. + +2000-08-16 Jim Wilson + + * ia64.h (IA64_OPCODE_POSTINC): New. + +2000-08-15 H.J. Lu + + * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the + IgnoreSize change. + +2000-08-08 Jason Eckhardt + + * i860.h: Small formatting adjustments. + +2000-07-29 Marek Michalkiewicz + + * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros. + Move related opcodes closer to each other. + Minor changes in comments, list undefined opcodes. + +2000-07-26 Dave Brolley + + * cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned. + +2000-07-22 Jason Eckhardt + + * i860.h (btne, bte, bla): Changed these opcodes + to use sbroff ('r') instead of split16 ('s'). + (J, K, L, M): New operand types for 16-bit aligned fields. + (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to + use I, J, K, L, M instead of just I. + (T, U): New operand types for split 16-bit aligned fields. + (st.x): Changed these opcodes to use S, T, U instead of just S. + (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not + exist on the i860. + (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. + (pfeq.ss, pfeq.dd): New opcodes. + (st.s): Fixed incorrect mask bits. + (fmlow): Fixed incorrect mask bits. + (fzchkl, pfzchkl): Fixed incorrect mask bits. + (faddz, pfaddz): Fixed incorrect mask bits. + (form, pform): Fixed incorrect mask bits. + (pfld.l): Fixed incorrect mask bits. + (fst.q): Fixed incorrect mask bits. + (all floating point opcodes): Fixed incorrect mask bits for + handling of dual bit. + +2000-07-20 Hans-Peter Nilsson + + cris.h: New file. + +2000-06-26 Marek Michalkiewicz + + * avr.h (AVR_ISA_WRAP): Remove, now assumed if not AVR_ISA_MEGA. + (AVR_ISA_ESPM): Remove, because ESPM removed in databook update. + (AVR_ISA_85xx): Remove, all uses changed back to AVR_ISA_2xxx. + (AVR_ISA_M83): Define for ATmega83, ATmega85. + (espm): Remove, because ESPM removed in databook update. + (eicall, eijmp): Move to the end of opcode table. + +2000-06-18 Stephane Carrez + + * m68hc11.h: New file for support of Motorola 68hc11. + +Fri Jun 9 21:51:50 2000 Denis Chertykov + + * avr.h: clr,lsl,rol, ... moved after add,adc, ... + +Wed Jun 7 21:39:54 2000 Denis Chertykov + + * avr.h: New file with AVR opcodes. + +Wed Apr 12 17:11:20 2000 Donald Lindsay + + * d10v.h: added ALONE attribute for d10v_opcode.exec_type. + +2000-05-23 Maciej W. Rozycki + + * i386.h: Allow d suffix on iret, and add DefaultSize modifier. + +2000-05-17 Maciej W. Rozycki + + * i386.h: Use sl_FP, not sl_Suf for fild. + +2000-05-16 Frank Ch. Eigler + + * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that + it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set. + (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds + CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set. + +2000-05-13 Alan Modra , + + * i386.h (i386_optab): Cpu686 for sysenter,sysexit,fxsave,fxrestore. + +2000-05-13 Alan Modra , + Alexander Sokolov + + * i386.h (i386_optab): Add cpu_flags for all instructions. + +2000-05-13 Alan Modra + + From Gavin Romig-Koch + * i386.h (wld_Suf): Define. Use on pushf, popf, pusha, popa. + +2000-05-04 Timothy Wall + + * tic54x.h: New. + +2000-05-03 J.T. Conklin + + * ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit. + (PPC_OPERAND_VR): New operand flag for vector registers. + +2000-05-01 Kazu Hirata + + * h8300.h (EOP): Add missing initializer. + +Fri Apr 21 15:03:37 2000 Jason Eckhardt + + * hppa.h (pa_opcodes): New opcodes for PA2.0 wide mode + forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements). + New operand types l,y,&,fe,fE,fx added to support above forms. + (pa_opcodes): Replaced usage of 'x' as source/target for + floating point double-word loads/stores with 'fx'. + +Fri Apr 21 13:20:53 2000 Richard Henderson + David Mosberger + Timothy Wall + Jim Wilson + + * ia64.h: New file. + +2000-03-27 Nick Clifton + + * d30v.h (SHORT_A1): Fix value. + (SHORT_AR): Renumber so that it is at the end of the list of short + instructions, not the end of the list of long instructions. + +2000-03-26 Alan Modra + + * i386.h: (UNIXWARE_COMPAT): Rename to SYSV386_COMPAT as the + problem isn't really specific to Unixware. + (OLDGCC_COMPAT): Define. + (i386_optab): If !OLDGCC_COMPAT, don't handle fsubp etc. with + destination %st(0). + Fix lots of comments. + +2000-03-02 J"orn Rennecke + + * d30v.h: + (SHORT_B2r, SHORT_B3, SHORT_B3r, SHORT_B3b, SHORT_B3br): Updated. + (SHORT_D1r, SHORT_D2, SHORT_D2r, SHORT_D2Br, SHORT_U): Updated. + (SHORT_F, SHORT_AF, SHORT_T, SHORT_A5, SHORT_CMP, SHORT_CMPU): Updated. + (SHORT_A1, SHORT_AA, SHORT_RA, SHORT_MODINC, SHORT_MODDEC): Updated. + (SHORT_C1, SHORT_C2, SHORT_UF, SHORT_A2, SHORT_NONE, LONG): Updated. + (LONG_U, LONG_Ur, LONG_CMP, LONG_M, LONG_M2, LONG_2, LONG_2r): Updated. + (LONG_2b, LONG_2br, LONG_D, LONG_Dr, LONG_Dbr): Updated. + +2000-02-25 Alan Modra + + * i386.h (fild, fistp): Change intel d_Suf form to fildd and + fistpd without suffix. + +2000-02-24 Nick Clifton + + * cgen.h (cgen_cpu_desc): Rename field 'flags' to + 'signed_overflow_ok_p'. + Delete prototypes for cgen_set_flags() and cgen_get_flags(). + +2000-02-24 Andrew Haley + + * cgen.h (CGEN_INSN_MACH_HAS_P): New macro. + (CGEN_CPU_TABLE): flags: new field. + Add prototypes for new functions. + +2000-02-24 Alan Modra + + * i386.h: Add some more UNIXWARE_COMPAT comments. + +2000-02-23 Linas Vepstas + + * i370.h: New file. + +2000-02-22 Chandra Chavva + + * d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation + cannot be combined in parallel with ADD/SUBppp. + +2000-02-22 Andrew Haley + + * mips.h: (OPCODE_IS_MEMBER): Add comment. + +1999-12-30 Andrew Haley + + * mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines + whether synthetic opcodes (e.g. move) generate 32-bit or 64-bit + insns. + +2000-01-15 Alan Modra + + * i386.h: Qualify intel mode far call and jmp with x_Suf. + +1999-12-27 Alan Modra + + * i386.h: Add JumpAbsolute qualifier to all non-intel mode + indirect jumps and calls. Add FF/3 call for intel mode. + +Wed Dec 1 03:05:25 1999 Jeffrey A Law (law@cygnus.com) + + * mn10300.h: Add new operand types. Add new instruction formats. + +Wed Nov 24 20:28:58 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Correctly handle immediate for PA2.0 "bb" + instruction. + +1999-11-18 Gavin Romig-Koch + + * mips.h (INSN_ISA5): New. + +1999-11-01 Gavin Romig-Koch + + * mips.h (OPCODE_IS_MEMBER): New. + +1999-10-29 Nick Clifton + + * d30v.h (SHORT_AR): Define. + +1999-10-18 Michael Meissner + + * alpha.h (alpha_num_opcodes): Convert to unsigned. + (alpha_num_operands): Ditto. + +Sun Oct 10 01:46:56 1999 Jerry Quinn + + * hppa.h (pa_opcodes): Add load and store cache control to + instructions. Add ordered access load and store. + + * hppa.h (pa_opcode): Add new entries for addb and addib. + + * hppa.h (pa_opcodes): Fix cmpb and cmpib entries. + + * hppa.h (pa_opcodes): Add entries for cmpb and cmpib. + +Thu Oct 7 00:12:25 MDT 1999 Diego Novillo + + * d10v.h: Add flag RESTRICTED_NUM3 for imm3 operands. + +Thu Sep 23 07:08:38 1999 Jerry Quinn + + * hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve" + and "be" using completer prefixes. + + * hppa.h (pa_opcodes): Add initializers to silence compiler. + + * hppa.h: Update comments about character usage. + +Mon Sep 20 03:55:31 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning + up the new fstw & bve instructions. + +Sun Sep 19 10:40:59 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store + instructions. + + * hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions. + + * hppa.h (pa_opcodes): Add long offset double word load/store + instructions. + + * hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and + stores. + + * hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns. + + * hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions. + + * hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions. + + * hppa.h (pa_opcodes): Add new syntax "be" instructions. + + * hppa.h (pa_opcodes): Note use of 'M' and 'L'. + + * hppa.h (pa_opcodes): Add support for "b,l". + + * hppa.h (pa_opcodes): Add support for "b,gate". + +Sat Sep 18 11:41:16 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Use 'fX' for first register operand + in xmpyu. + + * hppa.h (pa_opcodes): Fix mask for probe and probei. + + * hppa.h (pa_opcodes): Fix mask for depwi. + +Tue Sep 7 13:44:25 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as + an explicit output argument. + +Mon Sep 6 04:41:42 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores. + Add a few PA2.0 loads and store variants. + +1999-09-04 Steve Chamberlain + + * pj.h: New file. + +1999-08-29 Alan Modra + + * i386.h (i386_regtab): Move %st to top of table, and split off + other fp reg entries. + (i386_float_regtab): To here. + +Sat Aug 28 00:25:25 1999 Jerry Quinn + + * hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args + by 'f'. + + * hppa.h (pa_opcodes): Add extrd, extrw, depd, depdi, depw, depwi. + Add supporting args. + + * hppa.h: Document new completers and args. + * hppa.h (pa_opcodes): Add 64 bit patterns and pa2.0 syntax for uxor, + uaddcm, dcor, addi, add, sub, subi, shladd, rfi, and probe. Add pa2.0 + extensions for ssm, rsm, pdtlb, pitlb. Add performance instructions + pmenb and pmdis. + + * hppa.h (pa_opcodes): Add pa2.0 instructions hadd, hshl, + hshr, hsub, mixh, mixw, permh. + + * hppa.h (pa_opcodes): Change completers in instructions to + use 'c' prefix. + + * hppa.h (pa_opcodes): Add popbts, new forms of bb, havg, + hshladd, hshradd, shrpd, and shrpw instructions. Update arg comments. + + * hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg, + fnegabs to use 'I' instead of 'F'. + +1999-08-21 Alan Modra + + * i386.h: Add AMD athlon instructions, pfnacc, pfpnacc, pswapd. + Document pf2iw and pi2fw as athlon insns. Remove pswapw. + Alphabetically sort PIII insns. + +Wed Aug 18 18:14:40 1999 Doug Evans + + * cgen.h (CGEN_INSN_MACH_HAS_P): New macro. + +Fri Aug 6 09:46:35 1999 Jerry Quinn + + * hppa.h (pa_opcodes): Add 64 bit versions of or, xor, and, + and andcm. Add 32 and 64 bit version of cmpclr, cmpiclr. + + * hppa.h: Document 64 bit condition completers. + +Thu Aug 5 16:56:07 1999 Jerry Quinn + + * hppa.h (pa_opcodes): Change condition args to use '?' prefix. + +1999-08-04 Alan Modra + + * i386.h (i386_optab): Add DefaultSize modifier to all insns + that implicitly modify %esp. #undef d_Suf, x_suf, sld_suf, + sldx_suf, bwld_Suf, d_FP, x_FP, sld_FP, sldx_FP at end of table. + +Wed Jul 28 02:04:24 1999 Jerry Quinn + Jeff Law + + * hppa.h (pa_opcodes): Add "pushnom" and "pushbts". + + * hppa.h (pa_opcodes): Mark all PA2.0 opcodes with FLAG_STRICT. + + * hppa.h (pa_opcodes): Change xmpyu, fmpyfadd, + and fmpynfadd to use 'J' and 'K' instead of 'E' and 'X'. + +1999-07-13 Alan Modra + + * i386.h: Add "undocumented" AMD 3DNow! pf2iw, pi2fw, pswapw insns. + +Thu Jul 1 00:17:24 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (struct pa_opcode): Add new field "flags". + (FLAGS_STRICT): Define. + +Fri Jun 25 04:22:04 1999 Jerry Quinn + Jeff Law + + * hppa.h (pa_opcodes): Add pa2.0 clrbts instruction. + + * hppa.h (pa_opcodes): Add entries for mfia and mtsarcm instructions. + +1999-06-23 Alan Modra + + * i386.h: Allow `l' suffix on bswap. Allow `w' suffix on arpl, + lldt, lmsw, ltr, str, verr, verw. Add FP flag to fcmov*. Add FP + flag to fcomi and friends. + +Fri May 28 15:26:11 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Move integer arithmetic instructions after + integer logical instructions. + +1999-05-28 Linus Nordberg + + * m68k.h: Document new formats `E', `G', `H' and new places `N', + `n', `o'. + + * m68k.h: Define mcf5206e, mcf5307, mcf. Document new format `u' + and new places `m', `M', `h'. + +Thu May 27 04:13:54 1999 Joel Sherrill (joel@OARcorp.com + + * hppa.h (pa_opcodes): Add several processor specific system + instructions. + +Wed May 26 16:57:44 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pa_opcodes): Add second entry for "comb", "comib", + "addb", and "addib" to be used by the disassembler. + +1999-05-12 Alan Modra + + * i386.h (ReverseModrm): Remove all occurences. + (InvMem): Add to control/debug/test mov insns, movhlps, movlhps, + movmskps, pextrw, pmovmskb, maskmovq. + Change NoSuf to FP on all MMX, XMM and AMD insns as these all + ignore the data size prefix. + + * i386.h (i386_optab, i386_regtab): Add support for PIII SIMD. + Mostly stolen from Doug Ledford + +Sat May 8 23:27:35 1999 Richard Henderson + + * ppc.h (PPC_OPCODE_64_BRIDGE): New. + +1999-04-14 Doug Evans + + * cgen.h (CGEN_ATTR): Delete member num_nonbools. + (CGEN_ATTR_TYPE): Update. + (CGEN_ATTR_MASK): Number booleans starting at 0. + (CGEN_ATTR_VALUE): Update. + (CGEN_INSN_ATTR): Update. + +Mon Apr 12 23:43:27 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (fmpyfadd, fmpynfadd, fneg, fnegabs): New PA2.0 + instructions. + +Tue Mar 23 11:24:38 1999 Jeffrey A Law (law@cygnus.com) + + * hppa.h (bb, bvb): Tweak opcode/mask. + + +1999-03-22 Doug Evans + + * cgen.h (CGEN_ISA,CGEN_MACH): New typedefs. + (struct cgen_cpu_desc): Rename member mach to machs. New member isas. + New members word_bitsize,default_insn_bitsize,base_insn-bitsize, + min_insn_bitsize,max_insn_bitsize,isa_table,mach_table,rebuild_tables. + Delete member max_insn_size. + (enum cgen_cpu_open_arg): New enum. + (cpu_open): Update prototype. + (cpu_open_1): Declare. + (cgen_set_cpu): Delete. + +1999-03-11 Doug Evans + + * cgen.h (CGEN_HW_TABLE): Delete `num_init_entries' member. + (CGEN_OPERAND_NIL): New macro. + (CGEN_OPERAND): New member `type'. + (@arch@_cgen_operand_table): Delete decl. + (CGEN_OPERAND_INDEX,CGEN_OPERAND_TYPE,CGEN_OPERAND_ENTRY): Delete. + (CGEN_OPERAND_TABLE): New struct. + (cgen_operand_lookup_by_name,cgen_operand_lookup_by_num): Declare. + (CGEN_OPINST): Pointer to operand table entry replaced with enum. + (CGEN_CPU_TABLE): New member `isa'. Change member `operand_table', + now a CGEN_OPERAND_TABLE. Add CGEN_CPU_DESC arg to + {get,set}_{int,vma}_operand. + (@arch@_cgen_cpu_open): New arg `isa'. + (cgen_set_cpu): Ditto. + +Fri Feb 26 02:36:45 1999 Richard Henderson + + * i386.h: Fill in cmov and fcmov alternates. Add fcomi short forms. + +1999-02-25 Doug Evans + + * cgen.h (enum cgen_asm_type): Add CGEN_ASM_NONE. + (CGEN_HW_ENTRY): Delete member `next'. Change type of `type' to + enum cgen_hw_type. + (CGEN_HW_TABLE): New struct. + (hw_table): Delete declaration. + (CGEN_OPERAND): Change member hw to hw_type, change type from pointer + to table entry to enum. + (CGEN_OPINST): Ditto. + (CGEN_CPU_TABLE): Change member hw_list to hw_table. + +Sat Feb 13 14:13:44 1999 Richard Henderson + + * alpha.h (AXP_OPCODE_EV6): New. + (AXP_OPCODE_NOPAL): Include it. + +1999-02-09 Doug Evans + + * cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC. + All uses updated. New members int_insn_p, max_insn_size, + parse_operand,insert_operand,extract_operand,print_operand, + sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand, + get_vma_operand,set_vma_operand,parse_handlers,insert_handlers, + extract_handlers,print_handlers. + (CGEN_ATTR): Change type of num_nonbools to unsigned int. + (CGEN_ATTR_BOOL_OFFSET): New macro. + (CGEN_ATTR_MASK): Subtract it to compute bit number. + (CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation. + (cgen_opcode_handler): Renamed from cgen_base. + (CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated. + (CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR, + all uses updated. + (CGEN_OPERAND_INDEX): Rewrite to use table entry, not global. + (enum cgen_opinst_type): Renamed from cgen_operand_instance_type. + (CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated. + (CGEN_OPCODE,CGEN_IBASE): New types. + (CGEN_INSN): Rewrite. + (CGEN_{ASM,DIS}_HASH*): Delete. + (init_opcode_table,init_ibld_table): Declare. + (CGEN_INSN_ATTR): New type. + +Mon Feb 1 21:09:14 1999 Catherine Moore + + * i386.h (d_Suf, x_Suf, sld_Suf, sldx_Suf, bwld_Suf): Define. + (x_FP, d_FP, dls_FP, sldx_FP): Define. + Change *Suf definitions to include x and d suffixes. + (movsx): Use w_Suf and b_Suf. + (movzx): Likewise. + (movs): Use bwld_Suf. + (fld): Change ordering. Use sld_FP. + (fild): Add Intel Syntax equivalent of fildq. + (fst): Use sld_FP. + (fist): Use sld_FP. + (fstp): Use sld_FP. Add x_FP version. + (fistp): LLongMem version for Intel Syntax. + (fcom, fcomp): Use sld_FP. + (fadd, fiadd, fsub): Use sld_FP. + (fsubr): Use sld_FP. + (fmul, fimul, fdvi, fidiv, fdivr): Use sld_FP. + +1999-01-27 Doug Evans + + * cgen.h (enum cgen_mode): Add CGEN_MODE_TARGET_MAX, CGEN_MODE_INT, + CGEN_MODE_UINT. + +1999-01-16 Jeffrey A Law (law@cygnus.com) + + * hppa.h (bv): Fix mask. + +1999-01-05 Doug Evans + + * cgen.h (CGEN_ATTR_VALUE_TYPE): New typedef. + (CGEN_ATTR): Use it. + (CGEN_ATTR_TYPE,CGEN_ATTR_ENTRY): Ditto. + (CGEN_ATTR_TABLE): New member dfault. + +1998-12-30 Gavin Romig-Koch + + * mips.h (MIPS16_INSN_BRANCH): New. + +Wed Dec 9 10:38:48 1998 David Taylor + + The following is part of a change made by Edith Epstein + as part of a project to merge in + changes by HP; HP did not create ChangeLog entries. + + * hppa.h (completer_chars): list of chars to not put a space + after. + +Sun Dec 6 13:21:34 1998 Ian Lance Taylor + + * i386.h (i386_optab): Permit w suffix on processor control and + status word instructions. + +1998-11-30 Doug Evans + + * cgen.h (struct cgen_hw_entry): Delete const on attrs member. + (struct cgen_keyword_entry): Ditto. + (struct cgen_operand): Ditto. + (CGEN_IFLD): New typedef, with associated access macros. + (CGEN_IFMT): New typedef, with associated access macros. + (CGEN_IFMT): Renamed from CGEN_FORMAT. New member `iflds'. + (CGEN_IVALUE): New typedef. + (struct cgen_insn): Delete const on syntax,attrs members. + `format' now points to format data. Type of `value' is now + CGEN_IVALUE. + (struct cgen_opcode_table): New member ifld_table. + +1998-11-18 Doug Evans + + * cgen.h (cgen_extract_fn): Update type of `base_insn' arg. + (CGEN_OPERAND_INSTANCE): New member `attrs'. + (CGEN_OPERAND_INSTANCE_{ATTRS,ATTR}): New macros. + (cgen_dis_lookup_insn): Update type of `base_insn' arg. + (cgen_opcode_table): Update type of dis_hash fn. + (extract_operand): Update type of `insn_value' arg. + +Thu Oct 29 11:38:36 1998 Doug Evans + + * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Delete. + +Tue Oct 27 08:57:59 1998 Gavin Romig-Koch + + * mips.h (INSN_MULT): Added. + +Tue Oct 20 11:31:34 1998 Alan Modra + + * i386.h (MAX_MNEM_SIZE): Rename from MAX_OPCODE_SIZE. + +Mon Oct 19 12:50:00 1998 Doug Evans + + * cgen.h (CGEN_INSN_INT): New typedef. + (CGEN_INT_INSN_P): Renamed from CGEN_INT_INSN. + (CGEN_INSN_BYTES): Renamed from cgen_insn_t. + (CGEN_INSN_BYTES_PTR): New typedef. + (CGEN_EXTRACT_INFO): New typedef. + (cgen_insert_fn,cgen_extract_fn): Update. + (cgen_opcode_table): New member `insn_endian'. + (assemble_insn,lookup_insn,lookup_get_insn_operands): Update. + (insert_operand,extract_operand): Update. + (cgen_get_insn_value,cgen_put_insn_value): Add prototypes. + +Fri Oct 9 13:38:13 1998 Doug Evans + + * cgen.h (CGEN_ATTR_BOOLS): New macro. + (struct CGEN_HW_ENTRY): New member `attrs'. + (CGEN_HW_ATTR): New macro. + (struct CGEN_OPERAND_INSTANCE): New member `name'. + (CGEN_INSN_INVALID_P): New macro. + +Mon Oct 5 00:21:07 1998 Jeffrey A Law (law@cygnus.com) + + * hppa.h: Add "fid". + +Sun Oct 4 21:00:00 1998 Alan Modra + + From Robert Andrew Dale + * i386.h (i386_optab): Add AMD 3DNow! instructions. + (AMD_3DNOW_OPCODE): Define. + +Tue Sep 22 17:53:47 1998 Nick Clifton + + * d30v.h (EITHER_BUT_PREFER_MU): Define. + +Mon Aug 10 14:09:38 1998 Doug Evans + + * cgen.h (cgen_insn): #if 0 out element `cdx'. + +Mon Aug 3 12:21:57 1998 Doug Evans + + Move all global state data into opcode table struct, and treat + opcode table as something that is "opened/closed". + * cgen.h (CGEN_OPCODE_DESC): New type. + (all fns): New first arg of opcode table descriptor. + (cgen_set_parse_operand_fn): Add prototype. + (cgen_current_machine,cgen_current_endian): Delete. + (CGEN_OPCODE_TABLE): New members mach,endian,operand_table, + parse_operand_fn,asm_hash_table,asm_hash_table_entries, + dis_hash_table,dis_hash_table_entries. + (opcode_open,opcode_close): Add prototypes. + + * cgen.h (cgen_insn): New element `cdx'. + +Thu Jul 30 21:44:25 1998 Frank Ch. Eigler + + * d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions. + +Tue Jul 28 10:59:07 1998 Jeffrey A Law (law@cygnus.com) + + * mn10300.h: Add "no_match_operands" field for instructions. + (MN10300_MAX_OPERANDS): Define. + +Fri Jul 24 11:44:24 1998 Doug Evans + + * cgen.h (cgen_macro_insn_count): Declare. + +Tue Jul 21 13:12:13 1998 Doug Evans + + * cgen.h (CGEN_VERSION_{MAJOR,MINOR,FIXLEVEL}): Define. + (cgen_insert_fn,cgen_extract_fn): New arg `pc'. + (get_operand,put_operand): Replaced with get_{int,vma}_operand, + set_{int,vma}_operand. + +Fri Jun 26 11:09:06 1998 Jeffrey A Law (law@cygnus.com) + + * mn10300.h: Add "machine" field for instructions. + (MN103, AM30): Define machine types. + +Fri Jun 19 16:09:09 1998 Alan Modra + + * i386.h: Use FP, not sl_Suf, for fxsave and fxrstor. + +1998-06-18 Ulrich Drepper + + * i386.h: Add support for fxsave, fxrstor, sysenter and sysexit. + +Sat Jun 13 11:31:35 1998 Alan Modra + + * i386.h (i386_optab): Add general form of aad and aam. Add ud2a + and ud2b. + (i386_regtab): Allow cr0..7, db0..7, dr0..7, tr0..7, not just + those that happen to be implemented on pentiums. + +Tue Jun 9 12:16:01 1998 Alan Modra + + * i386.h: Change occurences of Data16 to Size16, Data32 to Size32, + IgnoreDataSize to IgnoreSize. Flag address and data size prefixes + with Size16|IgnoreSize or Size32|IgnoreSize. + +Mon Jun 8 12:15:52 1998 Alan Modra + + * i386.h (REPNE): Rename to REPNE_PREFIX_OPCODE. + (REPE): Rename to REPE_PREFIX_OPCODE. + (i386_regtab_end): Remove. + (i386_prefixtab, i386_prefixtab_end): Remove. + (i386_optab): Use NULL as sentinel rather than "" to suit rewrite + of md_begin. + (MAX_OPCODE_SIZE): Define. + (i386_optab_end): Remove. + (sl_Suf): Define. + (sl_FP): Use sl_Suf. + + * i386.h (i386_optab): Allow 16 bit displacement for `mov + mem,acc'. Combine 16 and 32 bit forms of various insns. Allow 16 + bit form of ljmp. Add IsPrefix modifier to prefixes. Add addr32, + data32, dword, and adword prefixes. + (i386_regtab): Add BaseIndex modifier to valid 16 bit base/index + regs. + +Fri Jun 5 23:42:43 1998 Alan Modra + + * i386.h (i386_regtab): Remove BaseIndex modifier from esp. + + * i386.h: Allow `l' suffix on fld, fst, fstp, fcom, fcomp with + register operands, because this is a common idiom. Flag them with + a warning. Allow illegal faddp, fsubp, fsubrp, fmulp, fdivp, + fdivrp because gcc erroneously generates them. Also flag with a + warning. + + * i386.h: Add suffix modifiers to most insns, and tighter operand + checks in some cases. Fix a number of UnixWare compatibility + issues with float insns. Merge some floating point opcodes, using + new FloatMF modifier. + (WORD_PREFIX_OPCODE): Rename to DATA_PREFIX_OPCODE for + consistency. + + * i386.h: Change occurence of ShortformW to W|ShortForm. Add + IgnoreDataSize where appropriate. + +Wed Jun 3 18:28:45 1998 Alan Modra + + * i386.h: (one_byte_segment_defaults): Remove. + (two_byte_segment_defaults): Remove. + (i386_regtab): Add BaseIndex to 32 bit regs reg_type. + +Fri May 15 15:59:04 1998 Doug Evans + + * cgen.h (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup. + (cgen_hw_lookup_by_num): Declare. + +Thu May 7 09:27:58 1998 Frank Ch. Eigler + + * mips.h (OP_{SH,MASK}_CODE2): Added "q" operand format for lower + ten bits of MIPS ISA1 "break" instruction, and for "sdbbp" + +Thu May 7 02:14:08 1998 Doug Evans + + * cgen.h (cgen_asm_init_parse): Delete. + (cgen_save_fixups,cgen_restore_fixups,cgen_swap_fixups): Delete. + (cgen_asm_record_register,cgen_asm_finish_insn): Delete. + +Mon Apr 27 10:13:11 1998 Doug Evans + + * cgen.h (CGEN_ATTR_TYPE): Delete `const', moved to uses. + (cgen_asm_finish_insn): Update prototype. + (cgen_insn): New members num, data. + (CGEN_INSN_TABLE): Members asm_hash, asm_hash_table_size, + dis_hash, dis_hash_table_size moved to ... + (CGEN_OPCODE_TABLE). Here. Renamed from CGEN_OPCODE_DATA. + All uses updated. New members asm_hash_p, dis_hash_p. + (CGEN_MINSN_EXPANSION): New struct. + (cgen_expand_macro_insn): Declare. + (cgen_macro_insn_count): Declare. + (get_insn_operands): Update prototype. + (lookup_get_insn_operands): Declare. + +Tue Apr 21 17:11:32 1998 Alan Modra + + * i386.h (i386_optab): Change iclrKludge and imulKludge to + regKludge. Add operands types for string instructions. + +Mon Apr 20 14:40:29 1998 Tom Tromey + + * i386.h (X): Renamed from `Z_' to preserve formatting of opcode + table. + +Sun Apr 19 13:54:06 1998 Tom Tromey + + * i386.h (Z_): Renamed from `_' to avoid clash with common alias + for `gettext'. + +Fri Apr 3 12:04:48 1998 Alan Modra + + * i386.h: Remove NoModrm flag from all insns: it's never checked. + Add IsString flag to string instructions. + (IS_STRING): Don't define. + (LOCK_PREFIX_OPCODE, CS_PREFIX_OPCODE, DS_PREFIX_OPCODE): Define. + (ES_PREFIX_OPCODE, FS_PREFIX_OPCODE, GS_PREFIX_OPCODE): Define. + (SS_PREFIX_OPCODE): Define. + +Mon Mar 30 21:31:56 1998 Ian Lance Taylor + + * i386.h: Revert March 24 patch; no more LinearAddress. + +Mon Mar 30 10:25:54 1998 Alan Modra + + * i386.h (i386_optab): Remove fwait (9b) from all floating point + instructions, and instead add FWait opcode modifier. Add short + form of fldenv and fstenv. + (FWAIT_OPCODE): Define. + + * i386.h (i386_optab): Change second operand constraint of `mov + sreg,reg|mem' instruction from Reg16|Mem to WordReg|WordMem to + allow legal instructions such as `movl %gs,%esi' + +Fri Mar 27 18:30:52 1998 Ian Lance Taylor + + * h8300.h: Various changes to fully bracket initializers. + +Tue Mar 24 18:32:47 1998 H.J. Lu + + * i386.h: Set LinearAddress for lidt and lgdt. + +Mon Mar 2 10:44:07 1998 Doug Evans + + * cgen.h (CGEN_BOOL_ATTR): New macro. + +Thu Feb 26 15:54:31 1998 Michael Meissner + + * d30v.h (FLAG_DELAY): New flag for delayed branches/jumps. + +Mon Feb 23 10:38:21 1998 Doug Evans + + * cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now. + (cgen_insn): Record syntax and format entries here, rather than + separately. + +Tue Feb 17 21:42:56 1998 Nick Clifton + + * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro. + +Tue Feb 17 16:00:56 1998 Doug Evans + + * cgen.h (cgen_insert_fn): Change type of result to const char *. + (cgen_parse_{signed,unsigned}_integer): Delete min,max arguments. + (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS. + +Thu Feb 12 18:30:41 1998 Doug Evans + + * cgen.h (lookup_insn): New argument alias_p. + +Thu Feb 12 03:41:00 1998 J"orn Rennecke + +Fix rac to accept only a0: + * d10v.h (OPERAND_ACC): Split into: + (OPERAND_ACC0, OPERAND_ACC1) . + (OPERAND_GPR): Define. + +Wed Feb 11 17:31:53 1998 Doug Evans + + * cgen.h (CGEN_FIELDS): Define here. + (CGEN_HW_ENTRY): New member `type'. + (hw_list): Delete decl. + (enum cgen_mode): Declare. + (CGEN_OPERAND): New member `hw'. + (enum cgen_operand_instance_type): Declare. + (CGEN_OPERAND_INSTANCE): New type. + (CGEN_INSN): New member `operands'. + (CGEN_OPCODE_DATA): Make hw_list const. + (get_insn_operands,lookup_insn): Add prototypes for. + +Tue Feb 3 17:11:23 1998 Doug Evans + + * cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS. + (CGEN_HW_ENTRY): Move `next' entry to end of struct. + (CGEN_KEYWORD_MAX_ATTRS): Renamed from CGEN_MAX_KEYWORD_ATTRS. + (CGEN_OPERAND_MAX_ATTRS): Renamed from CGEN_MAX_OPERAND_ATTRS. + +Mon Feb 2 19:19:15 1998 Ian Lance Taylor + + * cgen.h: Correct typo in comment end marker. + +Mon Feb 2 17:10:38 1998 Steve Haworth + + * tic30.h: New file. + +Thu Jan 22 17:54:56 1998 Nick Clifton + + * cgen.h: Add prototypes for cgen_save_fixups(), + cgen_restore_fixups(), and cgen_swap_fixups(). Change prototype + of cgen_asm_finish_insn() to return a char *. + +Wed Jan 14 17:21:43 1998 Nick Clifton + + * cgen.h: Formatting changes to improve readability. + +Mon Jan 12 11:37:36 1998 Doug Evans + + * cgen.h (*): Clean up pass over `struct foo' usage. + (CGEN_ATTR): Make unsigned char. + (CGEN_ATTR_TYPE): Update. + (CGEN_ATTR_{ENTRY,TABLE}): New types. + (cgen_base): Move member `attrs' to cgen_insn. + (CGEN_KEYWORD): New member `null_entry'. + (CGEN_{SYNTAX,FORMAT}): New types. + (cgen_insn): Format and syntax separated from each other. + +Tue Dec 16 15:15:52 1997 Michael Meissner + + * d30v.h (d30v_opcode): Reorder flags somewhat, add new flags for + 2 word load/store, ADDppp/SUBppp, 16/32 bit multiply. Make + flags_{used,set} long. + (d30v_operand): Make flags field long. + +Mon Dec 1 12:24:44 1997 Andreas Schwab + + * m68k.h: Fix comment describing operand types. + +Sun Nov 23 22:31:27 1997 Michael Meissner + + * d30v.h (SHORT_CMPU): Add case for cmpu instruction, and move + everything else after down. + +Tue Nov 18 18:45:14 1997 J"orn Rennecke + + * d10v.h (OPERAND_FLAG): Split into: + (OPERAND_FFLAG, OPERAND_CFLAG) . + +Thu Nov 13 11:04:24 1997 Gavin Koch + + * mips.h (struct mips_opcode): Changed comments to reflect new + field usage. + +Fri Oct 24 22:36:20 1997 Ken Raeburn + + * mips.h: Added to comments a quick-ref list of all assigned + operand type characters. + (OP_{MASK,SH}_PERFREG): New macros. + +Wed Oct 22 17:28:33 1997 Richard Henderson + + * sparc.h: Add '_' and '/' for v9a asr's. + Patch from David Miller + +Tue Oct 14 13:22:29 1997 Jeffrey A Law (law@cygnus.com) + + * h8300.h: Bit ops with absolute addresses not in the 8 bit + area are not available in the base model (H8/300). + +Thu Sep 25 13:03:41 1997 Ian Lance Taylor + + * m68k.h: Remove documentation of ` operand specifier. + +Wed Sep 24 19:00:34 1997 Ian Lance Taylor + + * m68k.h: Document q and v operand specifiers. + +Mon Sep 15 18:28:37 1997 Nick Clifton + + * v850.h (struct v850_opcode): Add processors field. + (PROCESSOR_V850, PROCESSOR_ALL): New bit constants. + (PROCESSOR_V850E, PROCESSOR_NOT_V850): New bit constants. + (PROCESSOR_V850EA): New bit constants. + +Mon Sep 15 11:29:43 1997 Ken Raeburn + + Merge changes from Martin Hunt: + + * d30v.h: Allow up to 64 control registers. Add + SHORT_A5S format. + + * d30v.h (LONG_Db): New form for delayed branches. + + * d30v.h: (LONG_Db): New form for repeati. + + * d30v.h (SHORT_D2B): New form. + + * d30v.h (SHORT_A2): New form. + + * d30v.h (OPERAND_2REG): Add new operand to indicate 2 + registers are used. Needed for VLIW optimization. + +Mon Sep 8 14:05:45 1997 Doug Evans + + * cgen.h: Move assembler interface section + up so cgen_parse_operand_result is defined for cgen_parse_address. + (cgen_parse_address): Update prototype. + +Tue Sep 2 15:32:32 1997 Nick Clifton + + * v850.h (V850_OPREAND_ADJUST_SHORT_MEMORY): Removed. + +Tue Aug 26 12:21:52 1997 Ian Lance Taylor + + * i386.h (two_byte_segment_defaults): Correct base register 5 in + modes 1 and 2 to be ss rather than ds. From Gabriel Paubert + . + + * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert + . + + * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert + . + + * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again). + (JUMP_ON_ECX_ZERO): Remove commented out macro. + +Fri Aug 22 10:38:29 1997 Nick Clifton + + * v850.h (V850_NOT_R0): New flag. + +Mon Aug 18 11:05:58 1997 Nick Clifton + + * v850.h (struct v850_opcode): Remove flags field. + +Wed Aug 13 18:45:48 1997 Nick Clifton + + * v850.h (struct v850_opcode): Add flags field. + (struct v850_operand): Extend meaning of 'bits' and 'shift' + fields. + (V850E_INSTRUCTION, V850EA_INSTRUCTION): New flags. + (V850E_PUSH_POP, V850E_IMMEDIATE16, V850E_IMMEDIATE32): New flags. + +Fri Aug 8 16:58:42 1997 Doug Evans + + * arc.h: New file. + +Thu Jul 24 21:16:58 1997 Doug Evans + + * sparc.h (sparc_opcodes): Declare as const. + +Thu Jul 10 12:53:25 1997 Jeffrey A Law (law@cygnus.com) + + * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn + uses single or double precision floating point resources. + (INSN_NO_ISA, INSN_ISA1): Define. + (cpu specific INSN macros): Tweak into bitmasks outside the range + of INSN_ISA field. + +Mon Jun 16 14:10:00 1997 H.J. Lu + + * i386.h: Fix pand opcode. + +Mon Jun 2 11:35:09 1997 Gavin Koch + + * mips.h: Widen INSN_ISA and move it to a more convenient + bit position. Add INSN_3900. + +Tue May 20 11:25:29 1997 Gavin Koch + + * mips.h (struct mips_opcode): added new field membership. + +Mon May 12 16:26:50 1997 H.J. Lu + + * i386.h (movd): only Reg32 is allowed. + + * i386.h: add fcomp and ud2. From Wayne Scott + . + +Mon May 5 17:16:21 1997 Ian Lance Taylor + + * i386.h: Add MMX instructions. + +Mon May 5 12:45:19 1997 H.J. Lu + + * i386.h: Remove W modifier from conditional move instructions. + +Mon Apr 14 14:56:58 1997 Ian Lance Taylor + + * i386.h: Change the opcodes for fsubp, fsubrp, fdivp, and fdivrp + with no arguments to match that generated by the UnixWare + assembler. + +Thu Apr 10 14:35:00 1997 Doug Evans + + * cgen.h (_cgen_assemble_insn): New arg for errmsg. + (cgen_parse_operand_fn): Declare. + (cgen_init_parse_operand): Declare. + (cgen_parse_operand): Renamed from cgen_asm_parse_operand, + new argument `want'. + (enum cgen_parse_operand_result): Renamed from cgen_asm_result. + (enum cgen_parse_operand_type): New enum. + +Sat Apr 5 13:14:05 1997 Ian Lance Taylor + + * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. + +Fri Apr 4 11:46:11 1997 Doug Evans + + * cgen.h: New file. + +Fri Apr 4 14:02:32 1997 Ian Lance Taylor + + * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and + fdivrp. + +Tue Mar 25 22:57:26 1997 Stu Grossman (grossman@critters.cygnus.com) + + * v850.h (extract): Make unsigned. + +Mon Mar 24 14:38:15 1997 Ian Lance Taylor + + * i386.h: Add iclr. + +Thu Mar 20 19:49:10 1997 Ian Lance Taylor + + * i386.h: Change DW to W for cmpxchg and xadd, since they don't + take a direction bit. + +Sat Mar 15 19:03:29 1997 H.J. Lu + + * sparc.h (sparc_opcode_lookup_arch): Use full prototype. + +Fri Mar 14 15:22:01 1997 Ian Lance Taylor + + * sparc.h: Include . Update function declarations to + use prototypes, and to use const when appropriate. + +Thu Mar 6 14:18:30 1997 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_RELAX): Define. + +Mon Feb 24 15:15:56 1997 Martin M. Hunt + + * d10v.h: Change pre_defined_registers to + d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt. + +Sat Feb 22 21:25:00 1997 Dawn Perchik + + * mips.h: Add macros for cop0, cop1 cop2 and cop3. + Change mips_opcodes from const array to a pointer, + and change bfd_mips_num_opcodes from const int to int, + so that we can increase the size of the mips opcodes table + dynamically. + +Fri Feb 21 16:34:18 1997 Martin M. Hunt + + * d30v.h (FLAG_X): Remove unused flag. + +Tue Feb 18 17:37:20 1997 Martin M. Hunt + + * d30v.h: New file. + +Fri Feb 14 13:16:15 1997 Fred Fish + + * tic80.h (PDS_NAME): Macro to access name field of predefined symbols. + (PDS_VALUE): Macro to access value field of predefined symbols. + (tic80_next_predefined_symbol): Add prototype. + +Mon Feb 10 10:32:17 1997 Fred Fish + + * tic80.h (tic80_symbol_to_value): Change prototype to match + change in function, added class parameter. + +Thu Feb 6 17:30:15 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80 + endmask fields, which are somewhat weird in that 0 and 32 are + treated exactly the same. + +Thu Jan 30 13:46:18 1997 Fred Fish + + * tic80.h: Change all the OPERAND defines to use the form (1 << X) + rather than a constant that is 2**X. Reorder them to put bits for + operands that have symbolic names in the upper bits, so they can + be packed into an int where the lower bits contain the value that + corresponds to that symbolic name. + (predefined_symbo): Add struct. + (tic80_predefined_symbols): Declare array of translations. + (tic80_num_predefined_symbols): Declare size of that array. + (tic80_value_to_symbol): Declare function. + (tic80_symbol_to_value): Declare function. + +Wed Jan 29 09:37:25 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200.h (MN10200_OPERAND_RELAX): Define. + +Sat Jan 18 15:18:59 1997 Fred Fish + + * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot + be the destination register. + +Thu Jan 16 20:48:55 1997 Fred Fish + + * tic80.h (struct tic80_opcode): Change "format" field to "flags". + (FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete. + (TIC80_VECTOR): Define a flag bit for the flags. This one means + that the opcode can have two vector instructions in a single + 32 bit word and we have to encode/decode both. + +Tue Jan 14 19:37:09 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_PCREL): Renamed from + TIC80_OPERAND_RELATIVE for PC relative. + (TIC80_OPERAND_BASEREL): New flag bit for register + base relative. + +Mon Jan 13 15:56:38 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands. + +Mon Jan 6 10:51:15 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional + ":s" modifier for scaling. + +Sun Jan 5 12:12:19 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m". + (TIC80_OPERAND_M_LI): Ditto + +Sat Jan 4 19:02:44 1997 Fred Fish + + * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ. + (TIC80_OPERAND_CC): New define for condition code operand. + (TIC80_OPERAND_CR): New define for control register operand. + +Fri Jan 3 16:22:23 1997 Fred Fish + + * tic80.h (struct tic80_opcode): Name changed. + (struct tic80_opcode): Remove format field. + (struct tic80_operand): Add insertion and extraction functions. + (TIC80_OPERAND_*): Remove old bogus values, start adding new + correct ones. + (FMT_*): Ditto. + +Tue Dec 31 15:05:41 1996 Michael Meissner + + * v850.h (V850_OPERAND_ADJUST_SHORT_MEMORY): New flag to adjust + type IV instruction offsets. + +Fri Dec 27 22:23:10 1996 Fred Fish + + * tic80.h: New file. + +Wed Dec 18 10:06:31 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200.h (MN10200_OPERAND_NOCHECK): Define. + +Sat Dec 14 10:48:31 1996 Fred Fish + + * mn10200.h: Fix comment, mn10200_operand not powerpc_operand. + * mn10300.h: Fix comment, mn10300_operand not powerpc_operand. + * v850.h: Fix comment, v850_operand not powerpc_operand. + +Mon Dec 9 16:45:39 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200.h: Flesh out structures and definitions needed by + the mn10200 assembler & disassembler. + +Tue Nov 26 10:46:56 1996 Ian Lance Taylor + + * mips.h: Add mips16 definitions. + +Mon Nov 25 17:56:54 1996 J.T. Conklin + + * m68k.h: Document new <, >, m, n, o and p operand specifiers. + +Wed Nov 20 10:59:41 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_PCREL): Define. + (MN10300_OPERAND_MEMADDR): Define. + +Tue Nov 19 13:30:40 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_REG_LIST): Define. + +Wed Nov 6 13:41:08 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_SPLIT): Define. + +Tue Nov 5 13:26:12 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_EXTENDED): Define. + +Mon Nov 4 12:52:48 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_REPEATED): Define. + +Fri Nov 1 10:31:02 1996 Richard Henderson + + * alpha.h: Don't include "bfd.h"; private relocation types are now + negative to minimize problems with shared libraries. Organize + instruction subsets by AMASK extensions and PALcode + implementation. + (struct alpha_operand): Move flags slot for better packing. + +Tue Oct 29 12:19:10 1996 Jeffrey A Law (law@cygnus.com) + + * v850.h (V850_OPERAND_RELAX): New operand flag. + +Thu Oct 10 14:29:11 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (FMT_*): Move operand format definitions + here. + +Tue Oct 8 14:48:07 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (MN10300_OPERAND_PAREN): Define. + +Mon Oct 7 16:52:11 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (mn10300_opcode): Add "format" field. + (MN10300_OPERAND_*): Define. + +Thu Oct 3 10:33:46 1996 Jeffrey A Law (law@cygnus.com) + + * mn10x00.h: Delete. + * mn10200.h, mn10300.h: New files. + +Wed Oct 2 21:31:26 1996 Jeffrey A Law (law@cygnus.com) + + * mn10x00.h: New file. + +Fri Sep 27 18:26:46 1996 Stu Grossman (grossman@critters.cygnus.com) + + * v850.h: Add new flag to indicate this instruction uses a PC + displacement. + +Fri Sep 13 14:58:13 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (stmac): Add missing instruction. + +Sat Aug 31 16:02:03 1996 Jeffrey A Law (law@cygnus.com) + + * v850.h (v850_opcode): Remove "size" field. Add "memop" + field. + +Fri Aug 23 10:39:08 1996 Jeffrey A Law (law@cygnus.com) + + * v850.h (V850_OPERAND_EP): Define. + + * v850.h (v850_opcode): Add size field. + +Thu Aug 22 16:51:25 1996 J.T. Conklin + + * v850.h (v850_operands): Add insert and extract fields, pointers + to functions used to handle unusual operand encoding. + (V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC, + V850_OPERAND_SIGNED): Defined. + +Wed Aug 21 17:45:10 1996 J.T. Conklin + + * v850.h (v850_operands): Add flags field. + (OPERAND_REG, OPERAND_NUM): Defined. + +Tue Aug 20 14:52:02 1996 J.T. Conklin + + * v850.h: New file. + +Fri Aug 16 14:44:15 1996 James G. Smith + + * mips.h (OP_SH_LOCC, OP_SH_HICC, OP_MASK_CC, OP_SH_COP1NORM, + OP_MASK_COP1NORM, OP_SH_COP1SPEC, OP_MASK_COP1SPEC, + OP_MASK_COP1SCLR, OP_MASK_COP1CMP, OP_SH_COP1CMP, OP_SH_FORMAT, + OP_MASK_FORMAT, OP_SH_TRUE, OP_MASK_TRUE, OP_SH_GE, OP_MASK_GE, + OP_SH_UNSIGNED, OP_MASK_UNSIGNED, OP_SH_HINT, OP_MASK_HINT): + Defined. + +Fri Aug 16 00:15:15 1996 Jeffrey A Law (law@cygnus.com) + + * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept + a 3 bit space id instead of a 2 bit space id. + +Thu Aug 15 13:11:46 1996 Martin M. Hunt + + * d10v.h: Add some additional defines to support the + assembler in determining which operations can be done in parallel. + +Tue Aug 6 11:13:22 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (SN): Define. + (eepmov.b): Renamed from "eepmov" + (nop, bpt, rte, rts, sleep, clrmac): These have no size associated + with them. + +Fri Jul 26 11:47:10 1996 Martin M. Hunt + + * d10v.h (OPERAND_SHIFT): New operand flag. + +Thu Jul 25 12:06:22 1996 Martin M. Hunt + + * d10v.h: Changes for divs, parallel-only instructions, and + signed numbers. + +Mon Jul 22 11:21:15 1996 Martin M. Hunt + + * d10v.h (pd_reg): Define. Putting the definition here allows + the assembler and disassembler to share the same struct. + +Mon Jul 22 12:15:25 1996 Ian Lance Taylor + + * i960.h (i960_opcodes): "halt" takes an argument. From Stephen + Williams . + +Wed Jul 17 14:46:38 1996 Martin M. Hunt + + * d10v.h: New file. + +Thu Jul 11 12:09:15 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (band, bclr): Force high bit of immediate nibble to zero. + +Wed Jul 3 14:30:12 1996 J.T. Conklin + + * m68k.h (mcf5200): New macro. + Document names of coldfire control registers. + +Tue Jul 2 23:05:45 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (SRC_IN_DST): Define. + + * h8300.h (UNOP3): Mark the register operand in this insn + as a source operand, not a destination operand. + (SHIFT_2, SHIFT_IMM): Remove. Eliminate all references. + (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops. Mark + register operand with SRC_IN_DST. + +Fri Jun 21 13:52:17 1996 Richard Henderson + + * alpha.h: New file. + +Thu Jun 20 15:02:57 1996 Ian Lance Taylor + + * rs6k.h: Remove obsolete file. + +Wed Jun 19 15:29:38 1996 Ian Lance Taylor + + * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp, + fdivp, and fdivrp. Add ffreep. + +Tue Jun 18 16:06:00 1996 Jeffrey A. Law + + * h8300.h: Reorder various #defines for readability. + (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define. + (BITOP): Accept additional (unused) argument. All callers changed. + (EBITOP): Likewise. + (O_LAST): Bump. + (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes. + + * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define. + (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define. + (BITOP, EBITOP): Handle new H8/S addressing modes for + bit insns. + (UNOP3): Handle new shift/rotate insns on the H8/S. + (insns using exr): New instructions. + (tas, mac, ldmac, clrmac, ldm, stm): New instructions. + +Thu May 23 16:56:48 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (add.l): Undo Apr 5th change. The manual I had + was incorrect. + +Mon May 6 23:38:22 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (START): Remove. + (MEMRELAX): Define. Mark absolute memory operands in mov.b, mov.w + and mov.l insns that can be relaxed. + +Tue Apr 30 18:30:58 1996 Ian Lance Taylor + + * i386.h: Remove Abs32 from lcall. + +Mon Apr 22 17:09:23 1996 Doug Evans + + * sparc.h (SPARC_OPCODE_ARCH_V9_P): New macro. + (SLCPOP): New macro. + Mark X,Y opcode letters as in use. + +Thu Apr 11 17:28:18 1996 Ian Lance Taylor + + * sparc.h (F_FLOAT, F_FBR): Define. + +Fri Apr 5 16:55:34 1996 Jeffrey A Law (law@cygnus.com) + + * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV + from all insns. + (ABS8SRC,ABS8DST): Add ABS8MEM. + (add.l): Fix reg+reg variant. + (eepmov.w): Renamed from eepmovw. + (ldc,stc): Fix many cases. + +Sun Mar 31 13:30:03 1996 Doug Evans + + * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro. + +Thu Mar 7 15:08:23 1996 Doug Evans + + * sparc.h (O): Mark operand letter as in use. + +Tue Feb 20 20:46:21 1996 Doug Evans + + * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare. + Mark operand letters uU as in use. + +Mon Feb 19 01:59:08 1996 Doug Evans + + * sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_SPARCLET. + (sparc_opcode_arch): Delete member `conflicts'. Add `supported'. + (SPARC_OPCODE_SUPPORTED): New macro. + (SPARC_OPCODE_CONFLICT_P): Rewrite. + (F_NOTV9): Delete. + +Fri Feb 16 12:23:34 1996 Jeffrey A Law (law@cygnus.com) + + * sparc.h (sparc_opcode_lookup_arch) Make return type in + declaration consistent with return type in definition. + +Wed Feb 14 18:14:11 1996 Alan Modra + + * i386.h (i386_optab): Remove Data32 from pushf and popf. + +Thu Feb 8 14:27:21 1996 James Carlson + + * i386.h (i386_regtab): Add 80486 test registers. + +Mon Feb 5 18:35:46 1996 Ian Lance Taylor + + * i960.h (I_HX): Define. + (i960_opcodes): Add HX instruction. + +Mon Jan 29 12:43:39 1996 Ken Raeburn + + * i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, + and fclex. + +Wed Jan 24 22:36:59 1996 Doug Evans + + * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture. + (SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P. + (bfd_* defines): Delete. + (sparc_opcode_archs): Replaces architecture_pname. + (sparc_opcode_lookup_arch): Declare. + (NUMOPCODES): Delete. + +Mon Jan 22 08:24:32 1996 Doug Evans + + * sparc.h (enum sparc_architecture): Add v9a. + (ARCHITECTURES_CONFLICT_P): Update. + +Thu Dec 28 13:27:53 1995 John Hassey + + * i386.h: Added Pentium Pro instructions. + +Thu Nov 2 22:59:22 1995 Ian Lance Taylor + + * m68k.h: Document new 'W' operand place. + +Tue Oct 24 10:49:10 1995 Jeffrey A Law (law@cygnus.com) + + * hppa.h: Add lci and syncdma instructions. + +Mon Oct 23 11:09:16 1995 James G. Smith + + * mips.h: Added INSN_4100 flag to mark NEC VR4100 specific + instructions. + +Mon Oct 16 10:28:15 1995 Michael Meissner + + * ppc.h (PPC_OPCODE_{COMMON,ANY}): New opcode flags for + assembler's -mcom and -many switches. + +Wed Oct 11 16:56:33 1995 Ken Raeburn + + * i386.h: Fix cmpxchg8b extension opcode description. + +Thu Oct 5 18:03:36 1995 Ken Raeburn + + * i386.h: Add Pentium instructions wrmsr, rdtsc, rdmsr, cmpxchg8b, + and register cr4. + +Tue Sep 19 15:26:43 1995 Ian Lance Taylor + + * m68k.h: Change comment: split type P into types 0, 1 and 2. + +Wed Aug 30 13:50:55 1995 Doug Evans + + * sparc.h (sparc_{encode,decode}_prefetch): Declare. + +Tue Aug 29 15:34:58 1995 Doug Evans + + * sparc.h (sparc_{encode,decode}_{asi,membar}): Declare. + +Wed Aug 2 18:32:19 1995 Ian Lance Taylor + + * m68kmri.h: Remove. + + * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the + declarations. Remove F_ALIAS and flag field of struct + m68k_opcode. Change arch field of struct m68k_opcode to unsigned + int. Make name and args fields of struct m68k_opcode const. + +Wed Aug 2 08:16:46 1995 Doug Evans + + * sparc.h (F_NOTV9): Define. + +Tue Jul 11 14:20:42 1995 Jeff Spiegel + + * mips.h (INSN_4010): Define. + +Wed Jun 21 18:49:51 1995 Ken Raeburn + + * m68k.h (TBL1): Reverse sense of "round" argument in result. + + Changes from Andreas Schwab : + * m68k.h: Fix argument descriptions of coprocessor + instructions to allow only alterable operands where appropriate. + [!NO_DEFAULT_SIZES]: An omitted size defaults to `w'. + (m68k_opcode_aliases): Add more aliases. + +Fri Apr 14 22:15:34 1995 Ken Raeburn + + * m68k.h: Added explcitly short-sized conditional branches, and a + bunch of aliases (fmov*, ftest*, tdivul) to support gcc's + svr4-based configurations. + +Mon Mar 13 21:30:01 1995 Ken Raeburn + + Mon Feb 27 08:36:39 1995 Bryan Ford + * i386.h: added missing Data16/Data32 flags to a few instructions. + +Wed Mar 8 15:19:53 1995 Ian Lance Taylor + + * mips.h (OP_MASK_FR, OP_SH_FR): Define. + (OP_MASK_BCC, OP_SH_BCC): Define. + (OP_MASK_PREFX, OP_SH_PREFX): Define. + (OP_MASK_CCC, OP_SH_CCC): Define. + (INSN_READ_FPR_R): Define. + (INSN_RFE): Delete. + +Wed Mar 8 03:13:23 1995 Ken Raeburn + + * m68k.h (enum m68k_architecture): Deleted. + (struct m68k_opcode_alias): New type. + (m68k_opcodes): Now const. Deleted opcode aliases with exactly + matching constraints, values and flags. As a side effect of this, + the MOTOROLA_SYNTAX_ONLY and MIT_SYNTAX_ONLY macros, which so far + as I know were never used, now may need re-examining. + (numopcodes): Now const. + (m68k_opcode_aliases, numaliases): New variables. + (endop): Deleted. + [DONT_DEFINE_TABLE]: Declare numopcodes, numaliases, and + m68k_opcode_aliases; update declaration of m68k_opcodes. + +Mon Mar 6 10:02:00 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa.h (delay_type): Delete unused enumeration. + (pa_opcode): Replace unused delayed field with an architecture + field. + (pa_opcodes): Mark each instruction as either PA1.0 or PA1.1. + +Fri Mar 3 16:10:24 1995 Ian Lance Taylor + + * mips.h (INSN_ISA4): Define. + +Fri Feb 24 19:13:37 1995 Ian Lance Taylor + + * mips.h (M_DLA_AB, M_DLI): Define. + +Thu Feb 23 17:33:09 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa.h (fstwx): Fix single-bit error. + +Wed Feb 15 12:19:52 1995 Ian Lance Taylor + + * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define. + +Mon Feb 6 10:35:23 1995 J.T. Conklin + + * i386.h: added cpuid instruction , and dr[0-7] aliases for the + debug registers. From Charles Hannum (mycroft@netbsd.org). + +Mon Feb 6 03:31:54 1995 Ken Raeburn + + Changes from Bryan Ford for 16-bit + i386 support: + * i386.h (MOV_AX_DISP32): New macro. + (i386_optab): Added Data16 and Data32 as needed. Added "w" forms + of several call/return instructions. + (ADDR_PREFIX_OPCODE): New macro. + +Mon Jan 23 16:45:43 1995 Ken Raeburn + + Sat Jan 21 17:50:38 1995 Pat Rankin (rankin@eql.caltech.edu) + + * vax.h (struct vot_wot, field `args'): Make it pointer to const + char. + (struct vot, field `name'): ditto. + +Thu Jan 19 14:47:53 1995 Ken Raeburn + + * vax.h: Supply and properly group all values in end sentinel. + +Tue Jan 17 10:55:30 1995 Ian Lance Taylor + + * mips.h (INSN_ISA, INSN_4650): Define. + +Wed Oct 19 13:34:17 1994 Ian Lance Taylor + + * a29k.h: Add operand type 'I' for `inv' and `iretinv'. On + systems with a separate instruction and data cache, such as the + 29040, these instructions take an optional argument. + +Wed Sep 14 17:44:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips.h (INSN_STORE_MEMORY): Correct value to not conflict with + INSN_TRAP. + +Tue Sep 6 11:39:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips.h (INSN_STORE_MEMORY): Define. + +Thu Jul 28 19:28:07 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * sparc.h: Document new operand type 'x'. + +Tue Jul 26 17:48:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i960.h (I_CX2): New instruction category. It includes + instructions available on Cx and Jx processors. + (I_JX): New instruction category, for JX-only instructions. + (i960_opcodes): Put eshro and sysctl in I_CX2 category. Added + Jx-only instructions, in I_JX category. + +Wed Jul 13 18:43:47 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ns32k.h (endop): Made pointer const too. + +Sun Jul 10 11:01:09 1994 Ian Dall (dall@hfrd.dsto.gov.au) + + * ns32k.h: Drop Q operand type as there is no correct use + for it. Add I and Z operand types which allow better checking. + +Thu Jul 7 12:34:48 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * h8300.h (xor.l) :fix bit pattern. + (L_2): New size of operand. + (trapa): Use it. + +Fri Jun 10 16:38:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m68k.h: Move "trap" before "tpcc" to change disassembly. + +Fri Jun 3 15:57:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * sparc.h: Include v9 definitions. + +Thu Jun 2 12:23:17 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * m68k.h (m68060): Defined. + (m68040up, mfloat, mmmu): Include it. + (struct m68k_opcode): Widen `arch' field. + (m68k_opcodes): Updated for M68060. Removed comments that were + instructions commented out by "JF" years ago. + +Thu Apr 28 18:31:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * m68k.h (struct m68k_opcode): Shorten `arch' field to 8 bits, and + add a one-bit `flags' field. + (F_ALIAS): New macro. + +Wed Apr 27 11:29:52 1994 Steve Chamberlain (sac@cygnus.com) + + * h8300.h (dec, inc): Get encoding right. + +Mon Apr 4 13:12:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc.h (struct powerpc_operand): Removed signedp field; just use + a flag instead. + (PPC_OPERAND_SIGNED): Define. + (PPC_OPERAND_SIGNOPT): Define. + +Thu Mar 31 19:34:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size + prefix is 0x66, not 0x67. Patch from H.J. Lu (hlu@nynexst.com). + +Thu Mar 3 15:51:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i386.h: Reverse last change. It'll be handled in gas instead. + +Thu Feb 24 15:29:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i386.h (sar): Disabled the two-operand Imm1 form, since it was + slower on the 486 and used the implicit shift count despite the + explicit operand. The one-operand form is still available to get + the shorter form with the implicit shift count. + +Thu Feb 17 12:27:52 1994 Torbjorn Granlund (tege@mexican.cygnus.com) + + * hppa.h: Fix typo in fstws arg string. + +Wed Feb 9 21:23:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc.h (struct powerpc_opcode): Make operands field unsigned. + +Mon Feb 7 19:14:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc.h (PPC_OPCODE_601): Define. + +Fri Feb 4 23:43:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa.h (addb): Use '@' for addb and addib pseudo ops. + (so we can determine valid completers for both addb and addb[tf].) + + * hppa.h (xmpyu): No floating point format specifier for the + xmpyu instruction. + +Fri Feb 4 23:36:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc.h (PPC_OPERAND_NEXT): Define. + (PPC_OPERAND_NEGATIVE): Change value to make room for above. + (struct powerpc_macro): Define. + (powerpc_macros, powerpc_num_macros): Declare. + +Fri Jan 21 19:13:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc.h: New file. Header file for PowerPC opcode table. + +Mon Jan 17 00:14:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa.h: More minor template fixes for sfu and copr (to allow + for easier disassembly). + + * hppa.h: Fix templates for all the sfu and copr instructions. + +Wed Dec 15 15:12:42 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i386.h (push): Permit Imm16 operand too. + +Sat Dec 11 16:14:06 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * h8300.h (andc): Exists in base arch. + +Wed Dec 1 12:15:32 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * From Hisashi MINAMINO + * hppa.h: #undef NONE to avoid conflict with hiux include files. + +Sun Nov 21 22:06:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa.h: Add FP quadword store instructions. + +Wed Nov 17 17:13:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h: (M_J_A): Added. + (M_LA): Removed. + +Mon Nov 8 12:12:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (OP_MASK_CACHE, OP_SH_CACHE): Define. From Ted Lemon + . + +Sun Nov 7 00:30:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa.h: Immediate field in probei instructions is unsigned, + not low-sign extended. + +Wed Nov 3 10:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * m88k.h (RRI10MASK): Change from 0xfc00ffe0 to 0xfc00fc00. + +Tue Nov 2 12:41:30 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * i386.h: Add "fxch" without operand. + +Mon Nov 1 18:13:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added. + +Sat Oct 2 22:26:11 1993 Jeffrey A Law (law@snake.cs.utah.edu) + + * hppa.h: Add gfw and gfr to the opcode table. + +Wed Sep 29 16:23:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * m88k.h: extended to handle m88110. + +Tue Sep 28 19:19:08 1993 Jeffrey A Law (law@snake.cs.utah.edu) + + * hppa.h (be, ble): Use operand type 'z' to denote absolute branch + addresses. + +Tue Sep 14 14:04:35 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i960.h (i960_opcodes): Properly bracket initializers. + +Mon Sep 13 12:50:52 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * m88k.h (BOFLAG): rewrite to avoid nested comment. + +Mon Sep 13 15:46:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m68k.h (two): Protect second argument with parentheses. + +Fri Sep 10 16:29:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * i386.h (i386_optab): Added new instruction "rsm" (for i386sl). + Deleted old in/out instructions in "#if 0" section. + +Thu Sep 9 17:42:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i386.h (i386_optab): Properly bracket initializers. + +Wed Aug 25 13:50:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * hppa.h (pa_opcode): Use '|' for movb and movib insns. (From + Jeff Law, law@cs.utah.edu). + +Mon Aug 23 16:55:03 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * i386.h (lcall): Accept Imm32 operand also. + +Mon Aug 23 12:43:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (M_ABSU): Removed (absolute value of unsigned number??). + (M_DABS): Added. + +Thu Aug 19 15:08:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h (INSN_*): Changed values. Removed unused definitions. + Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3. Split + INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and + INSN_LOAD_COPROC_DELAY. Split INSN_COPROC_DELAY into + INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY. + (M_*): Added new values for r6000 and r4000 macros. + (ANY_DELAY): Removed. + +Wed Aug 18 15:37:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h: Added M_LI_S and M_LI_SS. + +Tue Aug 17 07:08:08 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * h8300.h: Get some rare mov.bs correct. + +Thu Aug 5 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * sparc.h: Don't define const ourself; rely on ansidecl.h having + been included. + +Fri Jul 30 18:41:11 1993 John Gilmore (gnu@cygnus.com) + + * sparc.h (F_JSR, F_UNBR, F_CONDBR): Add new flags to mark + jump instructions, for use in disassemblers. + +Thu Jul 22 07:25:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * m88k.h: Make bitfields just unsigned, not unsigned long or + unsigned short. + +Wed Jul 21 11:55:31 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * hppa.h: New argument type 'y'. Use in various float instructions. + +Mon Jul 19 17:17:03 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * hppa.h (break): First immediate field is unsigned. + + * hppa.h: Add rfir instruction. + +Sun Jul 18 16:28:08 1993 Jim Kingdon (kingdon@rtl.cygnus.com) + + * mips.h: Split the actual table out into ../../opcodes/mips-opc.c. + +Fri Jul 16 09:59:29 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h: Reworked the hazard information somewhat, and fixed some + bugs in the instruction hazard descriptions. + +Thu Jul 15 12:42:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m88k.h: Corrected a couple of opcodes. + +Tue Jul 6 15:17:35 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.h: Replaced with version from Ralph Campbell and OSF. The + new version includes instruction hazard information, but is + otherwise reasonably similar. + +Thu Jul 1 20:36:17 1993 Doug Evans (dje@canuck.cygnus.com) + + * h8300.h: Fix typo in UNOP3 (affected sh[al][lr].l). + +Fri Jun 11 18:38:44 1993 Ken Raeburn (raeburn@cygnus.com) + + Patches from Jeff Law, law@cs.utah.edu: + * hppa.h: Clean up some of the OLD_TABLE, non-OLD_TABLE braindamage. + Make the tables be the same for the following instructions: + "bb", "addb[tf]", "addib[tf]", "add", "add[loc]", "addco", + "sh[123]add", "sh[123]add[lo]", "sub", "sub[obt]", "sub[bt]o", + "ds", "comclr", "addi", "addi[ot]", "addito", "subi", "subio", + "comiclr", "fadd", "fsub", "fmpy", "fdiv", "fsqrt", "fabs", + "frnd", "fcpy", "fcnvff", "fcnvxf", "fcnvfx", "fcnvfxt", + "fcmp", and "ftest". + + * hppa.h: Make new and old tables the same for "break", "mtctl", + "mfctl", "bb", "ssm", "rsm", "xmpyu", "fmpyadd", "fmpysub". + Fix typo in last patch. Collapse several #ifdefs into a + single #ifdef. + + * hppa.h: Delete remaining OLD_TABLE code. Bring some + of the comments up-to-date. + + * hppa.h: Update "free list" of letters and update + comments describing each letter's function. + +Thu Jul 8 09:05:26 1993 Doug Evans (dje@canuck.cygnus.com) + + * h8300.h: Lots of little fixes for the h8/300h. + +Tue Jun 8 12:16:03 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + Support for H8/300-H + * h8300.h: Lots of new opcodes. + +Fri Jun 4 15:41:37 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * h8300.h: checkpoint, includes H8/300-H opcodes. + +Thu Jun 3 15:42:59 1993 Stu Grossman (grossman@cygnus.com) + + * Patches from Jeffrey Law . + * hppa.h: Rework single precision FP + instructions so that they correctly disassemble code + PA1.1 code. + +Thu May 27 19:21:22 1993 Bruce Bauman (boot@osf.org) + + * i386.h (i386_optab, mov pattern): Remove Mem16 restriction from + mov to allow instructions like mov ss,xyz(ecx) to assemble. + +Tue May 25 00:39:40 1993 Ken Raeburn (raeburn@cygnus.com) + + * hppa.h: Use new version from Utah if OLD_TABLE isn't defined; + gdb will define it for now. + +Mon May 24 15:20:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * sparc.h: Don't end enumerator list with comma. + +Fri May 14 15:15:50 1993 Ian Lance Taylor (ian@cygnus.com) + + * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson): + * mips.h (OP_MASK_COPZ, OP_SH_COPZ): Define. + ("bc2t"): Correct typo. + ("[ls]wc[023]"): Use T rather than t. + ("c[0123]"): Define general coprocessor instructions. + +Mon May 10 06:02:25 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * m68k.h: Move split point for gcc compilation more towards + middle. + +Fri Apr 9 13:26:16 1993 Jim Kingdon (kingdon@cygnus.com) + + * rs6k.h: Clean up instructions for primary opcode 19 (many were + simply wrong, ics, rfi, & rfsvc were missing). + Add "a" to opr_ext for "bb". Doc fix. + +Thu Mar 18 13:45:31 1993 Per Bothner (bothner@rtl.cygnus.com) + + * i386.h: 486 extensions from John Hassey (hassey@dg-rtp.dg.com). + * mips.h: Add casts, to suppress warnings about shifting too much. + * m68k.h: Document the placement code '9'. + +Thu Feb 18 02:03:14 1993 John Gilmore (gnu@cygnus.com) + + * m68k.h (BREAK_UP_BIG_DECL, AND_OTHER_PART): Add kludge which + allows callers to break up the large initialized struct full of + opcodes into two half-sized ones. This permits GCC to compile + this module, since it takes exponential space for initializers. + (numopcodes, endop): Revise to use AND_OTHER_PART in size calcs. + +Thu Feb 4 02:06:56 1993 John Gilmore (gnu@cygnus.com) + + * a29k.h: Remove RCS crud, update GPL to v2, update copyrights. + * convex.h: Added, from GDB's convx-opcode.h. Added CONST to all + initialized structs in it. + +Thu Jan 28 21:32:22 1993 John Gilmore (gnu@cygnus.com) + + Delta 88 changes inspired by Carl Greco, : + * m88k.h (PMEM): Avoid previous definition from . + (AND): Change to AND_ to avoid ansidecl.h `AND' conflict. + +Sat Jan 23 18:10:49 PST 1993 Ralph Campbell (ralphc@pyramid.com) + + * mips.h: document "i" and "j" operands correctly. + +Thu Jan 7 15:58:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips.h: Removed endianness dependency. + +Sun Jan 3 14:13:35 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * h8300.h: include info on number of cycles per instruction. + +Mon Dec 21 21:29:08 1992 Stu Grossman (grossman at cygnus.com) + + * hppa.h: Move handy aliases to the front. Fix masks for extract + and deposit instructions. + +Sat Dec 12 16:09:48 1992 Ian Lance Taylor (ian@cygnus.com) + + * i386.h: accept shld and shrd both with and without the shift + count argument, which is always %cl. + +Fri Nov 27 17:13:18 1992 Ken Raeburn (raeburn at cygnus.com) + + * i386.h (i386_optab_end, i386_regtab_end): Now const. + (one_byte_segment_defaults, two_byte_segment_defaults, + i386_prefixtab_end): Ditto. + +Mon Nov 23 10:47:25 1992 Ken Raeburn (raeburn@cygnus.com) + + * vax.h (bb*): Use "v" (bitfield type), not "a" (address operand) + for operand 2; from John Carr, jfc@dsg.dec.com. + +Wed Nov 4 07:36:49 1992 Ken Raeburn (raeburn@cygnus.com) + + * m68k.h: Define FIXED_SIZE_BRANCH, so bsr and bra instructions + always use 16-bit offsets. Makes calculated-size jump tables + feasible. + +Fri Oct 16 22:52:43 1992 Ken Raeburn (raeburn@cygnus.com) + + * i386.h: Fix one-operand forms of in* and out* patterns. + +Tue Sep 22 14:08:14 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * m68k.h: Added CPU32 support. + +Tue Sep 22 00:38:41 1992 John Gilmore (gnu@cygnus.com) + + * mips.h (break): Disassemble the argument. Patch from + jonathan@cs.stanford.edu (Jonathan Stone). + +Wed Sep 9 11:25:28 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68k.h: merged Motorola and MIT syntax. + +Thu Sep 3 09:33:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * m68k.h (pmove): make the tests less strict, the 68k book is + wrong. + +Tue Aug 25 23:25:19 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * m68k.h (m68ec030): Defined as alias for 68030. + (m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" + for immediate 0-7 added. Set up some opcodes (ptest, bkpt) to use + them. Tightened description of "fmovex" to distinguish it from + some "pmove" encodings. Added "pmove" for 68030 MMU regs, cleaned + up descriptions that claimed versions were available for chips not + supporting them. Added "pmovefd". + +Mon Aug 24 12:04:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * m68k.h: fix where the . goes in divull + +Wed Aug 19 11:22:24 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68k.h: the cas2 instruction is supposed to be written with + indirection on the last two operands, which can be either data or + address registers. Added a new operand type 'r' which accepts + either register type. Added new cases for cas2l and cas2w which + use them. Corrected masks for cas2 which failed to recognize use + of address register. + +Fri Aug 14 14:20:38 1992 Per Bothner (bothner@cygnus.com) + + * m68k.h: Merged in patches (mostly m68040-specific) from + Colin Smith . + + * m68k.h: Merged m68kmri.h and m68k.h (using the former as a + base). Also cleaned up duplicates, re-ordered instructions for + the sake of dis-assembling (so aliases come after standard names). + * m68kmri.h: Now just defines some macros, and #includes m68k.h. + +Wed Aug 12 16:38:15 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in + all missing .s + +Mon Aug 10 23:22:33 1992 Ken Raeburn (raeburn@cygnus.com) + + * sparc.h: Moved tables to BFD library. + + * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc. + +Sun Jun 28 13:29:03 1992 Fred Fish (fnf@cygnus.com) + + * h8300.h: Finish filling in all the holes in the opcode table, + so that the Lucid C compiler can digest this as well... + +Fri Jun 26 21:27:17 1992 John Gilmore (gnu at cygnus.com) + + * i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases. + Fix opcodes on various sizes of fild/fist instructions + (16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix). + Use tabs to indent for comments. Fixes suggested by Minh Tran-Le. + +Thu Jun 25 16:13:26 1992 Stu Grossman (grossman at cygnus.com) + + * h8300.h: Fill in all the holes in the opcode table so that the + losing HPUX C compiler can digest this... + +Thu Jun 11 12:15:25 1992 John Gilmore (gnu at cygnus.com) + + * mips.h: Fix decoding of coprocessor instructions, somewhat. + (Fix by Eric Anderson, 3jean@maas-neotek.arc.nasa.gov.) + +Thu May 28 11:17:44 1992 Jim Wilson (wilson@sphagnum.cygnus.com) + + * sparc.h: Add new architecture variant sparclite; add its scan + and divscc opcodes. Define ARCHITECTURES_CONFLICT_P macro. + +Tue May 5 14:23:27 1992 Per Bothner (bothner@rtl.cygnus.com) + + * mips.h: Add some more opcode synonyms (from Frank Yellin, + fy@lucid.com). + +Thu Apr 16 18:25:26 1992 Per Bothner (bothner@cygnus.com) + + * rs6k.h: New version from IBM (Metin). + +Thu Apr 9 00:31:19 1992 Per Bothner (bothner@rtl.cygnus.com) + + * rs6k.h: Fix incorrect extended opcode for instructions `fm' + and `fd'. (From metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).) + +Tue Apr 7 13:38:47 1992 Stu Grossman (grossman at cygnus.com) + + * rs6k.h: Move from ../../gdb/rs6k-opcode.h. + +Fri Apr 3 11:30:20 1992 Fred Fish (fnf@cygnus.com) + + * m68k.h (one, two): Cast macro args to unsigned to suppress + complaints from compiler and lint about integer overflow during + shift. + +Sun Mar 29 12:22:08 1992 John Gilmore (gnu at cygnus.com) + + * sparc.h (OP): Avoid signed overflow when shifting to high order bit. + +Fri Mar 6 00:22:38 1992 John Gilmore (gnu at cygnus.com) + + * mips.h: Make bitfield layout depend on the HOST compiler, + not on the TARGET system. + +Fri Feb 21 01:29:51 1992 K. Richard Pixley (rich@cygnus.com) + + * i386.h: added inb, inw, outb, outw opcodes, added att syntax for + scmp, slod, smov, ssca, ssto. Curtesy Minh Tran-Le + . + +Thu Jan 30 07:31:44 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * h8300.h: turned op_type enum into #define list + +Thu Jan 30 01:07:24 1992 John Gilmore (gnu at cygnus.com) + + * sparc.h: Remove "cypress" architecture. Remove "fitox" and + similar instructions -- they've been renamed to "fitoq", etc. + REALLY fix tsubcctv. Fix "fcmpeq" and "fcmpq" which had wrong + number of arguments. + * h8300.h: Remove extra ; which produces compiler warning. + +Tue Jan 28 22:59:22 1992 Stu Grossman (grossman at cygnus.com) + + * sparc.h: fix opcode for tsubcctv. + +Tue Jan 7 17:19:39 1992 K. Richard Pixley (rich at cygnus.com) + + * sparc.h: fba and cba are now aliases for fb and cb respectively. + +Fri Dec 27 10:55:50 1991 Per Bothner (bothner at cygnus.com) + + * sparc.h (nop): Made the 'lose' field be even tighter, + so only a standard 'nop' is disassembled as a nop. + +Sun Dec 22 12:18:18 1991 Michael Tiemann (tiemann at cygnus.com) + + * sparc.h (nop): Add RD_GO to `lose' so that only %g0 in dest is + disassembled as a nop. + +Wed Dec 18 17:19:44 1991 Stu Grossman (grossman at cygnus.com) + + * m68k.h, sparc.h: ANSIfy enums. + +Tue Dec 10 00:22:20 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * sparc.h: fix a typo. + +Sat Nov 30 20:40:51 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * a29k.h, arm.h, h8300.h, i386.h, i860.h, i960.h , m68k.h, + m88k.h, mips.h , np1.h, ns32k.h, pn.h, pyr.h, sparc.h, tahoe.h, + vax.h: Renamed from ../-opcode.h. + + +Local Variables: +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index 2666cbf6a3f..eacd2653890 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,6944 +1,5 @@ -2003-12-19 Kazuhiro Inaoka - Add m32r-linux and PIC support. Add new ABI that uses RELA. - * Makefile.am: Added em32rlelf.c, em32relf_linux.c, - em32rlelf_linux.c. - * Makefile.in: Regenerate. - * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added. - * emulparams/m32relf_linux.sh: Added. - * emulparams/m32rlelf.sh: Ditto. - * emulparams/m32rlelf_linux.sh: Ditto. - * NEWS: Mention support m32r Linux. - -2003-12-18 Eric Youngdale - Nick Clifton - - * emultempl/pe.em (_after_open): When scanning MS import - libraries allow for the possible presence of static objects. - -2003-12-07 H.J. Lu - - * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to - cplus_demangle. - -2003-12-07 Kazu Hirata - - * ldemul.c: Convert to ISO-C. - * ldver.c: Likewise. - -2003-12-06 Kazu Hirata - - * lexsup.c (is_num): Remove. - -2003-12-05 Dmitry Semyonov - - * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to - 0. This fixes "bad fixup" error generated by MS linker. - -2003-12-04 H.J. Lu - - * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set - link_info.need_relax_finalize to TRUE. - - * ldlang.c (lang_process): Use link_info.need_relax_finalize - instead of link_info.relax_finalizing. - * ldmain.c (main): Likewise. - -2003-12-04 Dmitry Semyonov - - * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. - -2003-12-04 Alan Modra - - * ldlang.c (lang_do_assignments): Function return is void. - * ldlang.h (lang_do_assignments): Ditto. - * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. - * Makefile.am (ens32knbsd.c): Depend on netbsd.em. - * Makefile.in: Regenerate. - -2003-12-03 Dave Airlie - - * configure.tgt: Add vax-linux-gnu target. - -2003-12-03 Dmitry Diky - - * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for - forthcoming devices. - (_etext): provide this defenition for all scripts. - -2003-12-02 Kazu Hirata - - * emultempl/beos.em: Remove ARGSUSED. - -2003-12-03 Alan Modra - - * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed - bfd_link_hash_entry field "next" -> "und_next". - (pe_find_data_imports): Likewise. - (gld_${EMULATION_NAME}_after_open): Likewise. - * emultempl/sunos.em (before_allocation): Likewise. - -2003-12-02 Nick Clifton - - * ld.texinfo (Options): --ignore-all is no longer the default - behaviour for shared libraries and dynamic executables. - -2003-12-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-12-02 Alan Modra - - * ldmain.c (main): Remove mpc860c0 code. - * lexsup.c (enum option_values): Delete OPTION_MPC860C0. - (ld_options): Delete mpc860c0 entry. - (parse_args): Likewise. - -2003-12-01 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test - hash table type rather than testing creator flavour. - * emultempl/hppaelf.em (hppaelf_create_output_section_statements): - Only create stub_file bfd if hash table creator is as expected. - (gld${EMULATION_NAME}_finish): Test stub_file. - -2003-11-28 Marcel Moolenaar - - * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. - (DATA_ADDR): Unset. - -2003-11-18 James E Wilson - - * ldlang.c (lang_process): Move lang_reset_memory_regions call after - lang_do_assignments call. - - * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include - .rela.opd if -pie. - -2003-11-10 Jonathan Wilson - - * scripttempl/pe.sc: Add support for TLS sections. - -2003-11-09 Alan Modra - - * configure.host (HOSTING_LIBS): Group libgcc and libc with - --start-group, --end-group pair. - (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. - (am33_2.0-*-linux*): Edit default HOSTING_CRT0. - (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. - (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. - -2003-11-07 Jonathan R. Grant - - * ldfile.c (ldfile_open_file): Use "No such file" error message. - -2003-11-06 Bruno Rohee - - * ls.texinfo: Fix "the the" typo. - -2003-11-05 Alan Modra - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do - pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. - (pr_sym): Move inside #ifdef DLL_SUPPORT. - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap - unused variable. - - * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. - -2003-11-04 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call - _bfd_elf_tls_setup. - -2003-10-31 Nick Clifton - - * ldlang.c (lookup_name): When looking for a previously loaded - file compare the local_sym_name not the filename, as the - filename might have been transformed via the search directory - path lookup. - If the sought-for file has not been found in the input file - chain then create a new node with the search_dirs_flag set so - that the entire set of directory paths will be scanned for it. - -2003-10-30 Andrew Cagney - - * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" - with "struct bfd_symbol". - -2003-10-30 Phil Edwards - - * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o. - (eelf32mipswindiss.c): New target. - * Makefile.in: Regenerated. - * emulparams/elf32mipswindiss.sh: New file. - * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks, - mips*-*-vxworks*): Use ELF now. - (mips*-*-windiss): New stanza, use elf32mipswindiss. - -2003-10-27 Stephane Carrez - - * scripttempl/elfm68hc12.sc: Define eeprom memory region. - -2003-10-25 Kazu Hirata - - * ChangeLog-9197: Fix typos. - * NEWS: Likewise. - * ld.texinfo: Likewise. - * ldlang.c: Fix comment typos. - -2003-10-24 H.J. Lu - - * ldlang.c (lang_vers_match): Fix a typo. - -2003-10-24 H.J. Lu - - * ldlang.c (lang_vers_match): Check demangled symbols. - -2003-10-24 H.J. Lu - - * ldlang.c (lang_vers_match): Check "symbol" instead of - "wildcard" and "pattern". Fix a typo. - (lang_finalize_version_expr_head): Likewise. - (lang_register_vers_node): Likewise. - (realsymbol): New function. - (lang_new_vers_pattern): Set "symbol" and remove "wildcard". - - * ldlex.l (V_IDENTIFIER): Allow '\\'. - -2003-10-24 Nick Clifton - - * emultempl/m68hc1xelf.em (before_allocation): Add missing second - parameter to lang_memory_region_lookup. - -2003-10-22 Jakub Jelinek - - * ldlang.c: Include hashtab.h. - (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, - lang_vers_match_lang_java): Remove. - (lang_vers_match): New function. - (lang_new_vers_pattern): Initialize wildcard and mask - fields, don't initialize match. - (lang_new_vers_node): Use xcalloc. Adjust for globals and - locals field type changes. Set match field. - (version_expr_head_hash, version_expr_head_eq): New functions. - (lang_finalize_version_expr_head): New function. - (lang_register_vers_node): Call lang_finalize_version_expr_head. - Search in hash table if not wildcard when looking for duplicates. - * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with - duplicate checking. Initialize all fields of dot_entry from entry - with the exception of pattern and next. - -2003-10-21 Nick Clifton - - * ldlang.c (lang_memory_region_lookup): Add second parameter - - create - which is true if the region is being created. Issue - appropriate warning messages for finding and not finding - already created regions. - (lang_memory_default): Use DEFAULT_MEMORY_REGION. - (lang_leave_overlay_section): Likewise. - (lang_size_sections_1): Likewise. - Pass second parameter to lang_memory_region_lookup. - (lang_get_regions): Likewise. - * ldlang.h (DEFAULT_MEMORY_REGION): Define. - Update prototype for lang_memory_region_lookup. - * ldgram.y: Pass second parameter to lang_memory_region_lookup. - Use DEFAULT_MEMORY_REGION instead of "*default". - -2003-10-20 Andrew Cagney - - * pe-dll.c: Replace "struct sec" with "struct bfd_section". - -2003-10-19 Marek Michalkiewicz - - * Makefile.am: Remove old (before GCC 3.3) emulations for AVR - target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, - avrmega161, avrmega603. Default to avr2. - * Makefile.in: Regenerate. - * configure.tgt: Likewise. - * emulparams/avr1200.sh: Remove. - * emulparams/avr23xx.sh: Remove. - * emulparams/avr4433.sh: Remove. - * emulparams/avr44x4.sh: Remove. - * emulparams/avr85xx.sh: Remove. - * emulparams/avrmega103.sh: Remove. - * emulparams/avrmega161.sh: Remove. - * emulparams/avrmega603.sh: Remove. - * scripttempl/elf32avr.sc: Remove. - -2003-10-19 Andreas Schwab - - * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add - newline to message. - - * deffilep.y: Remove commas from %token lines. - -2003-10-18 Hans-Peter Nilsson - - * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker - relaxation always; don't exclude relocatable linking. Adjust for - _bfd_mmix_prepare_linker_allocated_gregs renamed to - _bfd_mmix_before_linker_allocation. - (mmix_after_allocation): Adjust for - _bfd_mmix_finalize_linker_allocated_gregs renamed to - _bfd_mmix_after_linker_allocation. - * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text). - - * ldlang.c (lang_size_sections): Last, set _cooked_size for output - sections. - -2003-10-16 Alan Modra - - * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use - GENSCRIPTS and GEN_DEPENDS in place of these. - * Makefile.in: Regenerate. - * genscripts_extra.sh: Delete. Merge extra functionality to.. - * genscripts.sh: ..here. - - * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define. - * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - -2003-10-16 Alan Modra - - * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't - use $EMULATION_NAME to call bfd function. - -2003-10-14 Danny Smith - - * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections - to identify data symbols. - -2003-10-13 Richard Sandiford - - * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move - definition from elf64btsmip.sh. - (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh. - * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove. - * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove. - * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define. - (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects. - Define __program_header_table in terms of __elf_header. - -2003-10-10 H.J. Lu - - * Makefile.am (eelf64_ia64.c): Also depend on - $(srcdir)/emultempl/ia64elf.em. - * Makefile.in: Regenerated. - - * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. - - * emultempl/ia64elf.em: New. - -2003-10-12 Kaz Kojima - - * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. - -2003-10-11 Hans-Peter Nilsson - - * ld.texinfo (Builtin Functions) : Say that only symbols - defined before the statement using DEFINED yield 1. - * ldexp.c (fold_name) : In lang_first_phase_enum, - call lang_track_definedness on symbol. In subsequent phases, use - lang_symbol_definition_iteration and lang_statement_iteration to - check whether the symbol was defined before the current statement. - (exp_fold_tree) : Call - lang_update_definedness before updating symbol type when setting - symbol. - * ldlang.c (lang_definedness_table): New variable. - (lang_definedness_newfunc, lang_track_definedness) - (lang_symbol_definition_iteration, lang_update_definedness): New - functions. - (lang_init): Initialize lang_definedness_table and - lang_statement_iteration. - (lang_finish): Destroy bfd_hash_table_free. - (lang_size_sections): Increment lang_statement_iteration. - (lang_do_assignments_1): New function with former - lang_do_assignments contents. Change recursive calls to call this - function. - (lang_do_assignments): Evacuate contents. Increment - lang_statement_iteration, then just call lang_do_assignments_1. - * ldlang.h (struct lang_definedness_hash_entry) - (lang_statement_iteration, lang_track_definedness) - (lang_symbol_definition_iteration, lang_update_definedness): - Declare. - -2003-10-09 H.J. Lu - - * scripttempl/elf.sc (__executable_start): Provide. - -2003-10-09 Daniel Jacobowitz - - * emulparams/armelf.sh: Define NO_SMALL_DATA. - * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, - emulparams/armnto.sh: Likewise. - -2003-10-08 Alexandre Oliva - - * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell - whether to skip test for no memory region. - -2003-10-08 Nick Clifton - - * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment - describing defaults. Change default to report unresolved symbols - in object files as well. - -2003-10-08 Hans-Peter Nilsson - - * ldexp.c (fold_name) : Set section of result to - abs_output_section. - -2003-10-07 Bob Wilson - - * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, - OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to - zero for relocatable links. - -2003-10-07 John David Anglin - - * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. - -2003-10-07 Nathan Sidwell - - * ldwrite.c (unsplittable_name): New. - (clone_section): Strip existing numeric suffix. Only truncate names - for coff targets. - (split_sections): Use unsplittable_name. - -2003-10-06 Nick Clifton - - * lexsup.c (parse_args): Report unresolved symbols in shared - libraries when creating a dynamic executable. This is a - restoration of the default behaviour for previous versions of - the linker. - -2003-10-06 Matt Thomas - - * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. - * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". - -2003-10-06 Robert Millan - - * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. - -2003-10-02 Ivan Warren - - * pe-dll.c (make_one): Correct sym def order & pick right sym for - .idata$7 reloc. - -2003-09-30 Chris Demetriou - - * NEWS: Add an indication of the cutoff for 2.14. - -2003-09-30 Chris Demetriou - - * ldmain.c (get_emulation): Ignore "-mips64r2". - -2003-09-03 Robert Millan - - * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu - triplet. - * configure.tgt: Likewise. - -2003-08-29 Jafa - - * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. - -2003-08-21 Nick Clifton - - * po/tr.po: Updated Turkish translation. - -2003-08-20 Nick Clifton - - * ldmain.c: Initialise the new fields in bfd_link_info to - NOT_YET_SET. - * lexsup.c (enum option_values): New enum. Use this to - replace the hand coded values for the long switch options. - (ld_options): Add 'unresolved-symbols', - 'warn-unresolved-symbols' and 'error-unresolved-symbols'. - (parse_args): Handle the new switches. Set the values of - unresolved_symbols_in_objects and - unresolved_symbols_in_shared_libs appropriately. If they were - not initialised by the command line, install default values. - * emultempl/elf32.em (handle_option): Update OPTION_GROUP and - -z defs to use the new fields in bfd_link_info. - * ld.texinfo: Document the new switches. - * NEWS: Mention this feature. - -2003-08-15 Dmitry Diky - - * Makefile.am (GENSCRIPTS_EXTRA): New script definition which - calls genscripts_extra.sh. - Rearrange all msp430 depends using this script. - * Makefile.in: Regenerate. - * genscripts_extra.sh: New file: Similar to genscripts.sh, except - that the script to be run to generate the emulations can be passed - as an optional parameter instead of being computed from the - emulation name. - * emulparams/msp430all.sh: New file: Combine all msp430 subdevice - definitions into one file. - * emulparams/msp430x*.sh: Removed. - -2003-08-15 Nick Clifton - - * ld.texinfo (Options): Put keywords for the -z option into a - table. Add more text describing what the -z now option does. - -2003-08-14 Alan Modra - - * dep-in.sed: Remove libintl.h. - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - * Makefile.in: Regenerate. - -2003-08-13 Alan Modra - - * genscripts.sh (libpath.exp): Only generate for first emulation. - (LIB_PATH): Correct order of paths. Don't add $tool_lib when - already present or when LIB_PATH is set to ":". - -2003-08-12 Ian Lance Taylor - - * ldmain.c (undefined_symbol): Change parameter name from `fatal' - to `error'. If only a warning, put warning in the reported - string. Consistently set failure flag when not a warning. - -2003-08-08 Dmitry Diky - - * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to - gcc order. - * Makefile.in: Regenerate. - * configure.tgt: Add extra emulations. - * emulparams/msp430xE423.sh: New file. - * emulparams/msp430xE427.sh: New file. - * emulparams/msp430xW425.sh: New file. - * emulparams/msp430xE425.sh: New file. - * emulparams/msp430xW423.sh: New file. - * emulparams/msp430xW427.sh: New file. - -2003-08-07 Danny Smith - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): - Change second (cmdline) arg to lang_add_entry to FALSE. - (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. - -2003-08-05 Christian Groessler - Jason Eckhardt - - * configure.tgt: Recognize new target i860-*-coff. - * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. - (ecoff_i860.c): New rule. - * emulparams/coff_i860.sh: New file. - * scripttempl/i860coff.sc: New file. - * Makefile.in: Regenerate. - -2003-08-04 Nick Clifton - - * emultempl/elf32.em (before_allocation): Prepend "warning: " - to messages produced for .gnu.warning.SYMBOL sections. - -2003-08-04 Alan Modra - - * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put - .rel.dyn before other reloc sections. Don't stop looking for reloc - sections on finding one that isn't allocated. Match .rel even when - placing .rela and vice versa, when setting last_rel and - last_rel_alloc for the first time. If no reloc sections in script, - prefer allocated section over non-alloc. - (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. - -2003-07-29 Kaz Kojima - - * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack - section for shared library. - * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. - * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. - -2003-07-29 Stephane Carrez - - * scripttempl/elfm68hc12.sc: Add gcc_except_table. - * scripttempl/elfm68hc11.sc: Likewise. - -2003-07-28 Alan Modra - - * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. - - * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. - -2003-07-27 Alan Modra - - * ld.texinfo: Typo fixes. Document SUBALIGN. - * ldgram.y (opt_subalign): Add. - * ldlex.l (SUBALIGN): Recognize. - * ldlang.c (overlay_subalign): New var. - (lang_enter_overlay): Add subalign param. - (lang_enter_overlay_section): Pass overlay_subalign to - lang_enter_output_section_statement. - * ldlang.h (lang_enter_overlay): Update. - -2003-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-07-23 Stephane Carrez - - * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into - account .tramp sections; - * scripttempl/elfm68hc12.sc: Likewise. - -2003-07-17 Charles Wilson - - * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - -2003-07-11 Alan Modra - - * po/ld.pot: Regenerate. - -2003-07-10 Bob Wilson - - * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit - with new .got.loc section. - (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for - non-relocating links. - (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce - sections separate for non-relocating links; likewise for .xt.insn. - -2003-07-10 Alexandre Oliva - - 2001-08-22 Alexandre Oliva - * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. - 2001-05-09 Alexandre Oliva - * configure.host (am33_2.0-*-linux*): Added. - * configure.tgt (am33_2.0-*-linux*): Likewise. - * emulparams/elf32am33lin.sh: New. - * Makefile.am (eelf32am33lin.c): New rule. - * Makefile.in: Rebuilt. - -2003-07-09 Alexandre Oliva - - 2001-04-17 Alexandre Oliva - * emulparams/mn10300.sh (TEMPLATE_NAME): Define. - (GENERATE_SHLIB_SCRIPT): Likewise. - -2003-07-10 Alan Modra - - * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. - (GOT): Define. - * emultempl/ppc64elf.em (stub_added): New static var. - (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. - (ppc_add_stub_section): Set stub_added. - (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust - ppc64_elf_size_stubs call and test for stubs. - * scripttempl/elf.sc (GOT): Define and use. - -2003-07-08 J"orn Rennecke - - * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): - Allow second call from ldemul_finish. - -2003-07-04 J"orn Rennecke - - * emulparams/shelf32.sh (STACK_ADDR): Don't define. - (OTHER_SECTIONS): Include .stack. - * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. - -2003-07-02 Jakub Jelinek - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include - .opd if -pie. - (OTHER_READWRITE_SECTIONS): Include .opd if -pie. - * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR - if -pie. - -2003-06-28 Alan Modra - - * ld.h: Convert to C90, remove unnecessary prototypes and casts. - Replace PTR with void *. Formatting. - * ldcref.c: Likewise. - * ldctor.c: Likewise. - * ldctor.h: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.h: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmain.h: Likewise. - * ldmisc.c: Likewise. - * ldmisc.h: Likewise. - * ldver.h: Likewise. - * ldwrite.c: Likewise. - * ldwrite.h: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * mri.h: Likewise. - * pe-dll.c: Likewise. - * pe-dll.h: Likewise. - * deffilep.y: Likewise. - * deffile.h: Likewise. Don't include ansidecl.h. - * emulparams/elf32mcore.sh: Remove unnecessary cast. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/ticoff.em: Remove lang_add_output_format declaration. - * sysdep.h: Don't include ansidecl.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-06-27 Nick Clifton - - * deffilep.y (def_file_add_directive): Cope with NUL seperated - directives. Fix reporting of unparseable directives. - (def_error): Check for a NULL def_filename. - -2003-06-27 Alan Modra - - * emultempl/aix.em: Convert to C90, remove unnecessary prototypes - and casts. Replace PTR with void *. Formatting. - * emultempl/alphaelf.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68hc1xelf.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/mipself.em: Likewise. - * emultempl/mmix-elfnmmo.em: Likewise. - * emultempl/mmixelf.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/needrelax.em: Likewise. - * emultempl/netbsd.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sh64elf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - * Makefile.am: Correct dependencies. - * Makefile.in: Regenerate. - -2003-06-25 Alan Modra - - * ld.texinfo: Correct spelling of "relocatable". - * ldctor.c: Likewise. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldint.texinfo: Likewise. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * ldwrite.c: Likewise. - * lexsup.c: Likewise. - * emultempl/aix.em: Likewise. - * emultempl/alphaelf.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68hc1xelf.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/mipself.em: Likewise. - * emultempl/mmix-elfnmmo.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/needrelax.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/sh64elf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - -2003-06-24 Alan Modra - - * emultempl/ppc32elf.em: Convert to C90. - -2003-06-20 Alan Modra - - * emultempl/ppc64elf.em: Convert to C90 function definitions, remove - unnecessary prototypes and casts. - -2003-06-19 Alan Modra - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out - statistics from ppc64_elf_build_stubs. - -2003-06-19 Alan Modra - - * emultempl/ppc64elf.em (build_section_lists): Check return status - from ppc64_elf_next_input_section. - -2003-06-17 H.J. Lu - - * ldlang.c (section_already_linked): Put back assignment of - kept_section. - -2003-06-17 Rainer Keuchel - - * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D - reloc. - -2003-06-17 Loren James Rittle - - * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 - if not produced by gcc. - -2003-06-16 Hans-Peter Nilsson - - * configure.tgt: Add specific case for cris-*-linux-gnu* - with crislinux emulation only. - -2003-06-13 Robert Millan - - * configure.tgt: Add i386-netbsd-gnu target. - -2003-06-12 Richard Sandiford - - * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations - to $targ_extra_libpath. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-10 Doug Evans - - * Makefile.am (ALL_EMULATIONS): Add em32relf.o. - * Makefile.in: Regenerate. - -2003-06-10 Richard Sandiford - - * configure.tgt (h8300*): Add h8300sxn emulations. - * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. - (eh8300sxn.c, eh8300sxnelf.c): New rules. - * Makefile.in: Regenerate. - * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. - * scripttempl/h8300sxn.sc: New file. - -2003-06-10 Alan Modra - - * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, - CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. - -2003-06-08 Alan Modra - - * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. - (build_toc_list): New function. - (gld${EMULATION_NAME}_finish): Call build_toc_list and - ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. - (OPTION_STUBSYMS): Define. - (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. - (PARSE_AND_LIST_OPTIONS): Document. - (PARSE_AND_LIST_ARGS_CASES): Handle. - -2003-06-05 Roland McGrath - - * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove - extra \t in -z noexecstack line. - -2003-05-23 Jakub Jelinek - - * ldgram.y (phdr_type): Grok PT_GNU_STACK. - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add - -z execstack and -z noexecstack. - (gld${EMULATION_NAME}_list_options): Likewise. - * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. - -2003-06-03 Michael Snyder - and Bernd Schmidt - and Alexandre Oliva - - * Makefile.am: Add new emulations for h8300sx. - * Makefile.in: Regenerate. - * configure.tgt: Add new emulations. - * emulparams/h8300sx.sh: New emulation. - * emulparams/h8300sxelf.sh: Ditto. - * scripttempl/h8300sx.sc: Ditto. - -2003-06-03 H.J. Lu - - * ldmisc.c: Include "bfdlink.h". - (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION - and -LD_DEFINITION_IN_DISCARDED_SECTION. - - * Makefile.am: Rebuild dependency. - * Makefile.in: Regenerated. - -2003-06-03 Kaz Kojima - - * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. - * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. - -2003-06-02 Fabrizio Gennari - - * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is - sorted alphabetically, instead of exported_symbols, which is - sorted by ordinal. - -2003-05-30 Ulrich Drepper - Jakub Jelinek - - * lexsup.c (OPTION_PIE): Define. - (ld_options): Add -pie and --pic-executable options. - (parse_args): Handle OPTION_PIE. - * ldmain.c (main): Initialize link_info.pie and - link_info.executable. - * genscripts.sh: Generate PIE scripts. - * ld.texinfo: Document -pie and --pic-executable options. - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): - (gld${EMULATION_NAME}_place_orphan): Likewise. - (gld${EMULATION_NAME}_get_script): Include PIE scripts. - * scripttempl/elf.sc: In PIE scripts set . the same way as in - shared scripts. - * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. - * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. - -2003-05-30 H.J. Lu - - * genscripts.sh: Create tmpdir/libpath.exp. - -2003-05-30 Nick Clifton - - * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT - with a test for a NULL bfd_for_interworking. - -2003-05-29 Jason Thorpe - - * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS - correctly for more recent versions of NetBSD. - (alpha*-*-netbsd*): Remove. - (i[3-7]86-*-netbsd*): Remove. - -2003-05-29 Nick Clifton - - * emultempl/pe.em: Include "safe-ctype.h" instead of . - -2003-05-26 Maciej W. Rozycki - - * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to - trap on pointer crops. - -2003-05-21 Marcus Comstedt - - * configure.tgt: Check for a target triplet of shl-...-netbsdelf - as well as shle-...-netbsdelf. - -2003-05-16 Kelley Cook - - * configure.host: Accept i[3-7]86 variants. - * configure.tgt: Likewise. - -2003-05-15 H.J. Lu - - * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. - -2003-05-09 Daniel Jacobowitz - - * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. - (earmelfb.c, earmelfb_linux.c): New rules. - * Makefile.in: Regenerated. - * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. - * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. - -2003-05-09 Nick Clifton - - * ldlang.c (lang_size_sections_1): Default to generating a - fatal error message if a loadable section is not allocated - to a memory region when regions are defined. - -2003-05-09 Alan Modra - - * Makefile.am (em68hc11elf.c): Correct dependencies. - (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. - * Makefile.in: Regenerate. - * emultempl/elf32.em (find_exp_assignment): Adjust for changed - bfd_elf_record_link_assignment name. - -2003-05-07 Alexandre Oliva - - * ldmain.h (overflow_cutoff_limit): Declare. - * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. - (reloc_overflow): Limit error messages based on it. - * lexsup.c (parse_args) : Set cutoff to - unlimited. - -2003-05-05 Alan Modra - - * ldlex.l: Accept C style comments in version scripts. - -2003-04-28 H.J. Lu - - * ldlang.c (lang_process): Add the relax finalize pass. - - * ldmain.c (main): Initialize link_info.relax_finalizing to - FALSE. - -2003-04-24 Roland McGrath - - * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. - If a name string is unknown, give an error rather than crashing later. - -2003-04-23 Dhananjay Deshpande - - * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, - eh8300hnelf.o, eh8300snelf.o and respective rules. - * Makefile.in: Regenerate. - * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf - * emulparams/h8300hn.sh: New - * emulparams/h8300sn.sh: New - * emulparams/h8300hnelf.sh: New - * emulparams/h8300snelf.sh: New - * scripttempl/h8300hn.sc: new - * scripttempl/h8300sn.sc: new - -2003-04-23 H.J. Lu - - * ldmain.c (link_callbacks): Initialize error_handler. - - * ldmisc.c (error_handler): New function. - - * ldmisc.h (error_handler): New prototype. - -2003-04-21 Stephane Carrez - - * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. - * emulparams/m68hc11elfb.sh: Likewise. - * emulparams/m68hc12elf.sh: Likewise. - * emulparams/m68hc12elfb.sh: Likewise. - -2003-04-19 Stephane Carrez - - * emultempl/m68hc1xelf.em: New file to generate far trampolines on - 68HC11 and 68HC12. - (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to - generate. - (LDEMUL_FINISH): Override to generate the trampolines after gc and - linker relaxation. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the - stub file for trampolines. - (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options - --no-trampoline and --bank-window to control the memory bank window. - -2003-04-18 H.J. Lu - - * ldfile.c (ldfile_add_library_path): Remove the unused - variable. - -2003-04-18 Andrew Haley - - * scripttempl/xstormy16.sc (__data, __rdata): New. - -2003-04-16 Nick Clifton - - * scripttempl/xstormy16.sc: Add .jcr section mapping. - -2003-04-15 H.J. Lu - - From Debian by Jack Howarth : - - * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. - -2003-04-15 Rohit Kumar Srivastava - - * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. - * ld.texinfo: Likewise. - -2003-04-14 Alan Modra - - From Prashanth Tamraparni - * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and - other variants of crtbegin.o, crtend.o. - (DTOR): Likewise. - * scripttempl/crisaout.sc (ctors, dtors): Likewise. - * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. - * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. - * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. - * scripttempl/mmo.sc (ctors, dtors): Likewise. - * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. - -2003-04-09 Dmitry Diky - - * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors - sections to respect C++ constructor/destructor. Add ctors/dtors - start/stop definitions. - * scripttempl/elf32msp430_3.sc: Likewise. - -2003-04-06 Nick Clifton - - * ld.texinfo (Options): Add a reminder of the target specific - nature to the description of the i386 PE specific options, for - readers who have not read all the way through the manual. - -2003-04-04 Svein E. Seldal - - * configure.tgt: Fixed bug in list of targ_extra_emuls. - * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace - cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ - * emulparams/tic3xcoff_onchip.sh: Ditto - * emulparams/tic4xcoff.sh: Ditto - * scripttempl/tic4xcoff.sc: Ditto - -2003-04-03 Nick Clifton - - * NEWS: Mention support for Xtensa architecture. - -2003-04-02 Nick Clifton - - * pe-dll.c (pe_detail_list): arm-pe targets use underscores. - -2003-04-01 Danny Smith - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): - Don't call pe_dll_build_section() if link_info.relocateable. - (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() - if link_info.relocateable. - -2003-04-01 Fabrizio Gennari - - * pe-dll.c (process_def_file): Don't create an export - section if there are no exports and we're building an exe - (pe_dll_build_sections): Ditto - (pe_dll_fill_sections): Conditionalize setting - abfd->dll true on info->shared - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): - If i386pe or armpe, call pe_dll_build_section() - for both exe's and dll's, not just dll's. - (gld_${EMULATION_NAME}_finish): For all targets except - shpe and mipspe, call pe_dll_fill_sections() for both - exe's and dll's, not just dll's. - -2003-04-02 Bob Wilson - - * emulparams/xtensa-config.sh: Remove comment indicating that this is - a generated file. - -2003-04-01 Bob Wilson - - * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. - (eelf32xtensa.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle xtensa-*-*. - * gen-doc.texi: Set XTENSA variable. - * ld.texinfo: Set XTENSA variable. Add new Xtensa node. - * emulparams/elf32xtensa.sh: New file. - * emulparams/xtensa-config.sh: Likewise. - * emultempl/xtensaelf.em: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - -2003-04-01 Jakub Jelinek - - * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 - targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath - if --enable-64-bit-bfd. - -2003-04-01 Nick Clifton - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of - note section. - * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change - name of note section. - -2003-03-31 Alexandre Oliva - - * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of - --section-start. - -2003-03-31 David Heine - - * ldfile.c (ldfile_add_library_path): Always allocate space for - the filename. - * ldlang.c (lang_register_vers_node): Free the node if it cannot - be used. - * ldmain.c (set_scripts_dir): Always free the constructed - directory name. - (add_keepsyms_file): Fix memory leak. - * ldmisc.c (vfinfo): Likewise. - * lexsup.c (parse_args): Likewise. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. - * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. - * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. - (.bss): Likewise. - -2003-03-25 Alexandre Oliva - - * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. - * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. - (main): Initialize them. - * ldfile.c: Include pathnames.h. - (is_sysrooted_pathname): New. - (ldfile_add_library_path): Use it. - (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't - search_dirs if given an absolute pathname. - (ldfile_open_file): Issue error message for sysrooted - absolute pathnames. - * Makefile.am: Updated dependencies. - * Makefile.in: Rebuild. - -2003-03-24 Daniel NĂ©ri - - * ld.texinfo: Rename all occurances of C54X to TIC54X. - -2003-03-19 Andreas Schwab - - * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after - eof. - -2003-03-18 Danny Smith - - * deffilep.y (opt_base): If no number given, set to default - (-1), not 0. - -2003-03-13 Danny Smith - - * deffilep.y (def_import): Use default extension of "dll" - if no extension provided in parsed IMPORT definition. - - * deffilep.y (def_lex): Revert 2003-03-12 change. - (dot_name): New id type and rule. - (expline): Use instead of ID. - (opt_equal_name): Likewise. - -2003-03-12 Danny Smith - - * deffilep.y (def_lex): Accept '.' as valid non-lead char. - -2003-03-07 Christopher Faylor - - * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after - apparent accidental removal on 2003-01-06. - -2003-03-04 Dmitry Diky - - * Makefile.am: Add new devices x1122 x1132 emulation - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * emulparams/msp430x1122.sh: New file. - * emulparams/msp430x1132.sh: New file. - -2003-03-03 Alexandre Oliva - - * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as - well. - - * ldfile.h (struct search_dirs): Added sysrooted field. - * ldlang.h (struct lang_input_statement_struct): Likewise. - * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. - (ldfile_open_file_search): Look for sysrooted filename starting - with / in ld_sysroot instead of in the current directory. Clear - sysrooted flag if it's found in the current directory. Set it - from the search directory's sysrooted flag where it is found - otherwise. - * ldlang.c (ldlang_sysrooted_script): New static variable. - (new_afile): Mark search_file_enums as sysrooted if - ldlang_sysrooted_script. - (load_symbols): Set ldlang_sysrooted_script according to the - script's sysrooted field while processing it. - * ld.texinfo: Document INPUT behavior in sysroot. - -2003-03-02 Danny Smith - - * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, - -2003-03-03 Alan Modra - - * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, - PARSE_AND_LIST_EPILOGUE): Don't define. - * emultempl/alphaelf.em: New file. - -2003-03-01 Alan Modra - - * ldemul.c: Include getopt.h. - * emultempl/elf32.em: Include getopt.h earlier. - * emultempl/ticoff.em: Likewise. - -2003-02-28 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc - support when scripts read from files. - -2003-02-28 Alan Modra - - * ldemul.c (ldemul_parse_args): Return FALSE by default. - * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args - comment. - - * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. - (ldemul_parse_args): Return bfd_boolean. Formatting. - * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. - (ldemul_parse_args): Adjust. - (struct ld_emulation_xfer_struct): Add add_options and handle_option. - Return bfd_boolean from parse_args. - * lexsup.c (parse_args): Malloc shortopts, longopts and - really_longopts. Call ldemul_add_options and ldemul_handle_option. - * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from - gld${EMULATION_NAME}_parse_args. - (gld${EMULATION_NAME}_handle_option): Likewise. - (ld_${EMULATION_NAME}_emulation): Adjust initializer. - * emultempl/armcoff.em: As for aix.em, but remove parse_args. - * emultempl/beos.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/elf32.em: Likewise. Don't duplicate long options either. - (gld${EMULATION_NAME}_add_sysroot): Prototype. - * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate - options. - * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust - initializer. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. - -2003-02-25 Alexandre Oliva - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix - memory allocation error. - - * Makefile.am (ldmain.o): Define TOOLBINDIR. - * Makefile.in: Rebuilt. - * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. - -2003-02-21 Bob Wilson - - * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only - call os_region_check when it is set. - (lang_size_sections): Add CHECK_REGIONS argument and pass it through to - lang_size_sections_1. - (lang_process): Change lang_size_sections calls to set CHECK_REGIONS - only for the last call, not on every relaxation iteration. - * ldlang.h (lang_size_sections): Update prototype. - * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls - to lang_size_sections. - (pe_exe_fill_sections): Likewise. - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. - (ppc_layout_sections_again): Likewise. - -2003-02-21 Bob Wilson - - * gen-doc.texi: Set ARM and HPPA variables. - * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section - title capitalization more consistent. Add missing menu entries for - machine-specific sections and conditionalize them consistently. - Conditionalize text that is irrelevant when SingleFormat is set. - Add @group divisions to improve page breaks in long examples. - Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output - is correct. Remove "FIXME" comment about not using - @raisesections/@lowersections. Use @raisesections/@lowersections - consistently for machine-specific sections. Change to be more polite - about poor bug reports. Replace FDL appendix with include of fdl.texi. - Move WIN32 node to match its order in the menus. - * fdl.texi: New file. - -2003-02-20 Alexandre Oliva - - * configure.in (TARGET_SYSTEM_ROOT): Set default to - ${exec_prefix}/${target_alias}/sys-root. Match explicit - '${exec_prefix}' (in addition to the expansion thereof) as - relocatable. - * configure: Rebuilt. - -2003-02-20 Phil Edwards - - * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. - -2003-02-20 Harri Porten - - * ldgram.y (vers_defns): Allow optional trailing semicolon in - EXTERN NAME block; - -2003-02-18 Alan Modra - - * emultempl/ppc32elf.em: New file. - * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. - * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. - (eelf32lppcnto.c): Likewise. - (eelf32lppcsim.c): Likewise. - (eelf32ppcnto.c): Likewise. - (eelf32ppc.c): Likewise. - (eelf32ppc_fbsd.c): Likewise. - (eelf32ppcsim.c): Likewise. - (eelf32ppclinux.c): Likewise. - * Makefile.in: Regenerate. - -2003-02-18 Alan Modra - - * ld.texinfo: Remove spaces between @samp and opening brace. - -2003-02-18 Alan Modra - - * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check - hash creator. - (ppc_before_allocation): Don't do optimizations if wrong hash table. - (gld${EMULATION_NAME}_finish): Ditto. - -2003-02-17 Nick Clifton - - * ldmain.c (main) Default allow_shlib_undefined to true. - * lexsup.c (ld_options): Add --no-allow-shlib-undefined. - (parse_args): Parse the new switch. - * ld.texinfo: Document new switch and default behaviour of - allowing undefined symbols in shared libraries. - -2003-02-11 Dmitry Diky - - * scripttempl/elf32msp430.sc: Add new data anchors definitions. - * scripttempl/elf32msp430_3.sc: Likewise. - -2003-02-11 Uwe Stieber - - * configure.tgt: Add support for kaOS as cross build target - system. - -2003-02-10 John Daivid Anglin - - * hppaelf.em (group_size): Change default back to 1. - -2003-02-09 Alan Modra - - * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. - -2003-02-07 John David Anglin - - * hppaelf.em (group_size): Change default to -1. - -2003-02-07 Nick Clifton - - * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short - opt. - (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for - no-pipeline-knowledge. This will prevent the getopt package from - thinking that there are any shorter abbreviations for - --no-pipeline-knowledge. - -2003-02-07 Jakub Jelinek - - * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths - which already have it. Avoid duplicates. - -2003-02-06 Jakub Jelinek - - * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. - * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. - * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. - -2003-02-05 Alan Modra - - * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then - call ppc64_elf_tls_optimize. - -2003-02-03 Daniel Jacobowitz - - * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot - outside of GNU/Linux conditional. - -2003-01-28 Ralf Habacker - - * deffilep.y (def_get_module): New function: locate an already - added module. - * deffile.h (def_get_module): New prototype. - * pe-dll.c (pe_implied_import_dll): Add code to prevent importing - a dll multiple times. - -2003-01-23 Alan Modra - - * emultempl/sh64elf.em: Include elf32-sh64.h. - (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed - sh64_elf_section_data. - (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. - -2003-01-23 Wu Yongwei - - * ld.texinfo: Remove an extra "i" in --dll-search-prefix. - * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a - cross-80th-column-margin "an" to the next line. - -2003-01-21 Nick Clifton - - * emulparams/tic3xcoff-onchip.sh: Rename to ...z - * emulparams/tic3xcoff_onchip.sh: ...this. - * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. - * Makefile.in: Regenerate. - -2003-01-21 Fabio Alemagna - - * configure.tgt: Handle i[3456]86-*-aros* - -2003-01-19 Svein E. Seldal - - * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o - * Makefile.in: Regenerate - * configure.tgt: Added extra target emulations - * emulparams/tic3xcoff.sh: Remove old settings - * emulparams/tic4xcoff.sh: Ditto - * emulparams/tic3xcoff-onchip.sh: Added new - * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x - * scripttempl/tic3xcoff.sc: Remove - -2003-01-17 Andreas Jaeger - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not - skip ':'. - -2003-01-16 Alan Modra - - * Makefile.in: Regenerate. - -2002-01-14 Charles Wilson - - * ld.texinfo (node WIN32): Some clarifications - and formatting fixups. - -2003-01-09 Chris Demetriou - - * ldmain.c (get_emulation): Sort -mipsNN checks in the usual - order, and handle (ignore) -mips32r2. - -2003-01-09 Daniel Jacobowitz - - * ldmain.c (main): Make sure ld_sysroot is initialized. - -2003-01-06 Daniel Jacobowitz - - * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. - - * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. - (GENSCRIPTS): Add @use_sysroot@. - * Makefile.in: Regenerated. - * configure.host: Move setting of NATIVE_LIB_DIRS to... - * configure.tgt: ... here. Use ${target} instead of ${host} - for NATIVE_LIB_DIRS. - * configure.in: Add --with-sysroot. - * configure: Regenerated. - * genscripts.sh: Accept use_sysroot option. Set new variables - NATIVE and USE_LIBPATH. Prepend "=" to directory names if - $use_sysroot. Don't search $tool_lib if $use_sysroot. - * ldfile.c (ldfile_add_library_path): Handle leading '='. - * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. - (ld_sysroot): New variable. - (main): Initialize ld_sysroot. - * ldmain.h (ld_sysroot): New extern. - * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of - searching $EMULATION_LIBPATH. - (gld${EMULATION_NAME}_add_sysroot): New function. - (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. - (gld${EMULATION_NAME}_after_open): Likewise. Only search - environment variables if $NATIVE. - * ld.texinfo (Options): Mention "=" prefix in the description of -L. - * NEWS: Mention --with-sysroot. - - * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX - instead of setting LIB_PATH. - * emulparams/elf32ppc.sh: Likewise. - * emulparams/elf64_s390.sh: Likewise. - * emulparams/elf64_sparc.sh: Likewise. - * emulparams/elf64ppc.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - - * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. - * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. - -2003-01-03 Charles Wilson - - * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. - -2003-01-04 Daniel Jacobowitz - - * Makefile.am (ldmain.o): Pass BINDIR. - * Makefile.in: Regenerated. - * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first - search path. - -2003-01-02 Ben Elliston - - * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. - (eelf32iq2000.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle iq2000-*-elf. - * emulparams/elf32iq10.sh: New file. - * emulparams/elf32iq2000.sh: New file. - * scripttempl/iq2000.sc: New file. - -2003-01-02 Charles Wilson - - * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc - and _pei386_runtime_relocator to the exclude list. - -2003-01-01 Kazu Hirata - - * ldfile.c: Fix comment typos. - * ldlang.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2003-01-01 Daniel Jacobowitz - - Suggested by Manfred Hollstein : - * Makefile.am (ld.1): Depend on configdoc.texi - and ldver.texi. - * Makefile.in: Regenerated. - -2002-12-24 Dmitry Diky - - * Makefile.am: Add msp430 target. - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * emulparams/msp430x???.sh: New files. Linker script parameters - for various msp430 configurations. - * gen-doc.texi: Enable msp430 documenation. - * ld.texinfo: Document msp430 sections. - * scripttempl/elf32msp430.sc: New file. Linker script for msp430. - * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430. - -2002-12-30 Ralf Habacker - Charles Wilson - - * config.in (HAVE_REALPATH): New entry. - (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete. - -2002-12-30 Ralf Habacker - - * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll - symbols'. - -2002-12-23 Alan Modra - - * ldmain.c (main): Init "strip_discarded". - * lexsup.c (OPTION_STRIP_DISCARDED): Define. - (OPTION_NO_STRIP_DISCARDED): Define. - (ld_options): Add "strip-discarded" and "no-strip-discarded". - (parse_args): Handle them. - -2002-12-23 Nick Clifton - - * ld.h (struct args_type): Add new field - 'accept_unknown_input_architecture'. - * ldmain.c (main): Initialise 'accept_unknown_input_architecture' - to false. - * ldlang.c (lang_check): Pass accept_unknown_input_architecture to - bfd_arch_get_compatible. - * ldfile.c (ldfile_try_open_bfd): Likewise. - * lexsup.c (ld_options): Add new command line switch - --accept-unknown-input-architecture and its inverse. - (parse_args): Handle --accept-unknown-input-architecture. - * ld.texinfo: Document new linker option. - * NEWS: Mention new linker option. - -2002-12-20 Alan Modra - - * ldmain.c (main): Re-order link_info initialization. Init all - fields. - -2002-12-19 Charles Wilson - - * ld.texinfo: Clarify and extend the documentation - in the Machine Dependent, WIN32 section. - -2002-12-18 Ralf Habacker - - * ld.texinfo: Add win32 machine depending section. - * gen-doc.texi: Enable win32 machine depending section. - - * configure.host: Add win32 library search path. - -2002-12-17 Ralf Habacker - - * emultempl/pe.em (pe_find_data_imports): Don't search for data - import when auto-import is disabled. - -2002-12-17 Danny Smith - - * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to - account for trailing '\0'. - -2002-12-17 Nick Clifton - - * emultempl/pe.em (longopts): Duplicate entry for --compact-implib - so that it is not confused with -c. - -2002-12-13 Ralf Habacker - Charles Wilson - - * configure.in: Add check for realpath function. - * configure: Regenerate. - * config.in: Regenerate. - * aclocal.m4: Regenerate. - * deffile.h: Add .data field to def_file_import - structure. - * pe-dll.c (pe_proces_import_defs): Use .data field of - def_file_import structure to initialize flag_data field of - def_file_export structure. - (pe_implied_import_dll): New variables exp_funcbase and - [data|bss]_[start|end]. Use DLL's internal name to set dll_name, - not filename (which may be a symlink). Scan the sections and - initialize [data|bss]_[start|end]. When scanning the export - table, skip _nm_ symbols, and mark any symbols whose rva indicates - that it is in the .bss or .data sections as data. - * sysdep.h: Include limits.h and sys/param.h, and define - LD_PATHMAX as appropriate. Also define REALPATH as realpath if it - exists, NULL otherwise. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call - pe_process_import_defs before pe_find_data_imports, so that - auto-import will check the virtual implib as well as "real" - implibs. - (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow - symlinks to their target; check that the target's extension is - .dll before calling pe_implied_import_dll(), not the filename - itself (which may be a symlink). - -2002-12-10 Alan Modra - - * emultempl/elf32.em (struct orphan_save): Add os_tail field. - (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement - list too. - -2002-12-08 Alan Modra - - * ldlang.h: Formatting. - -2002-12-07 Alan Modra - - * ldlang.c (init_os): Ensure sections mentioned in load_base - are initialized. - -2002-12-05 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set - load_base for orphans that follow a section with load_base set. - -2002-12-01 H.J. Lu - - * ld.texinfo: Remove the extra `;' in sample version script. - -2002-11-30 Alan Modra - - * configure.host: Correct dynamic-linker for powerpc64 hosts. - - * Makefile.am (eelf32ppcwindiss.c): Correct dependencies. - * Makefile.in: Regenerate. - - * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c, - ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c, - ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h, - emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em, - emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em, - emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em, - emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em, - emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em, - emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em, - emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em, - emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace - boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify - comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. - -2002-11-27 David O'Brien - - * configure.host: Fix generic FreeBSD configuration entry. - -2002-11-27 H.J. Lu - - * ld.texinfo: Add the missing `;' to sample version scripts. - -2002-11-20 Alan Modra - - * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define. - -2002-11-14 Egor Duda - - * ldmain.c (main): Make runtime relocs disabled by default. Remove - assignment which has no effect. - * pe-dll.h (pe_create_import_fixup): Change prototype. - * pe-dll.c (make_runtime_pseudo_reloc): New function. - (pe_create_runtime_relocator_reference): Ditto. - (pe_create_import_fixup): Handle relocations with non-zero addends. - * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and - --disable-runtime-pseudo-reloc. - (make_import_fixup): Handle relocations with non-zero addends. Create - an external reference to _pei386_runtime_relocator symbol if at least - one pseudo reloc was created. - * ld.texinfo: Document --enable-runtime-pseudo-reloc and - --disable-runtime-pseudo-reloc options. - -2002-11-12 Earl Chew - - * ldlang.c (lang_add_section): Discard debugging sections that have - been marked SEC_EXCLUDE. - -2002-11-12 Nick Clifton - - * configure.in (ALL_LINGUAS): Add da. - * configure: Regenerate. - * po/da.po: New Danish translation. - -2002-11-12 Alan Modra - - * emultempl/ppc64elf.em (ppc_before_allocation): New function. - (LDEMUL_BEFORE_ALLOCATION): Define. - (gld${EMULATION_NAME}_finish): Run discard_info for relocatable - linking. - * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise. - -2002-11-11 Christopher Faylor - - * configure.tgt (LIB_PATH): Default to searching w32api directory under - cygwin. - -2002-11-11 Charles Wilson - - * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list - of restricted auto-export libs. - -2002-11-11 Charles Wilson - - * pe-dll.c (autofilter_liblist): Generalize library names to catch more - creative library naming instances like, e.g., libstdc++-2.a. - -2002-11-06 Alexandre Oliva - - * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define. - * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise. - -2002-11-07 Danny Smith - - * deffilep.y (def_lex): Handle '@' as first character of an ID. - * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__". - (make_one): Don't prefix decorated fastcall symbols with '_'. - (pe_process_import_defs): Likewise. - * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall - symbols to cdecl names or vise-versa. - -2002-10-13 Eric Kohl - - * pe-dll.c (process_def_file): Handle fastcall symbols when - generating undecorated aliases. Don't prefix decorated fastcall - symbols with '_'. - (fill_exported_offsets): Don't prefix decorated fastcall symbols - with '_'. - -2002-10-29 Daniel Jacobowitz - - * emultempl/aix.em: Use include <> for generated headers. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/pe.em: Likewise. - * ldctor.c: Likewise. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldlang.c: Likewise. - * ldlex.c: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmisc.c: Likewise. - * ldwrite.c: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2002-10-23 Jakub Jelinek - - * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* - sections into .rel{,a}.dyn. - -2002-10-23 Nick Clifton - - * lexsup.c (OPTION_NO_OMAGIC): Define. - (ld_options): Add "no-omagic" option. - (parse_args): Parse --no-omagic. - * ld.texinfo: Document --no-omagic. - * NEWS: Mention new option. - -2002-10-21 Danny Smith - - * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, - __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. - -2002-10-22 Alexandre Oliva - - * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to - emulation name. Set LIB_PATH only for native tools, and - search the ABI-specific versions of NATIVE_LIB_DIRS before the - .../lib variants, not instead of them. Mostly copied from... - * emulparams/elf32ppc.sh: ... here. Fixed typo. - * emulparams/elf64bmip-defs.sh: Backed out. - * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. - * emulparams/elf64btsmip.sh: Likewise. - (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, - TEXT_DYNAMIC): Removed. - -2002-10-17 Alexandre Oliva - - * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32. - (GENERATE_SHLIB_SCRIPT): Set to yes. - (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... - * emulparams/elf32bmipn32.sh: here. - (GENERATE_SHLIB_SCRIPT): Deleted as redundant. - * emulparams/elf32btsmipn32.sh: Delete redundant unsets. - * emulparams/elf64bmip-defs.sh: New file. Extend - elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. - * emulparams/elf64bmip.sh: Bring in definitions from - elf64bmip-defs.sh. - (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant - settings. - (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. - * emulparams/elf64btsmip.sh: Bring in definitions from - elf64bmip-defs.sh. - (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. - (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets. - -2002-10-16 Jakub Jelinek - - * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. - (s390-*-linux*): Add elf64_s390 emulation if want64. - * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 - genscript.sh changes. - * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. - * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. - -2002-10-15 Alan Modra - - * ldlang.c (load_symbols): Revert last change. - -2002-10-14 Alan Modra - - * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when - just_syms_flag. - (lang_reasonable_defaults): Don't compare against false. - (size_input_section): Likewise. - (lang_size_sections_1): Likewise. - (lang_do_assignments): Likewise. - (lang_add_output): Likewise. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * ldver.c: #include "bfdver.h". - -2002-10-13 Stephane Carrez - - * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, - .finiN section. - * scripttempl/elfm68hc12.sc: Likewise. - -2002-10-11 Alan Modra - - * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. - - * ldgram.y (memory_spec): Provide empty action. - (section ): Likewise. - -2002-10-10 Jakub Jelinek - - * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if - they have OUTPUT_FORMAT not matching actual output format. - * ldlang.c (lang_get_output_target): New function. - (open_output): Use it. - * ldlang.h (lang_get_output_target): New prototype. - -2002-10-10 Alan Modra - - * emultempl/elf32.em (output_rel_find): Prefer .rel script sections - when orphan is .rel, .rela when orphan is .rela. - (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case - first. Remove outsecname var. - -2002-10-09 Richard Shann - Stephen Clarke - - * Makefile.am: Add eshelf32_linux.o and - eshlelf32_linux.o, new emulations for sh64 Linux. - * Makefile.in: Regenerate. - * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. - * emulparams/shelf32_linux.sh: New file. - * emulparams/shlelf32_linux.sh: New file. - -2002-10-08 H.J. Lu - - * ldlang.c (lang_file_exist): Removed. - (new_afile): Revert the last change. - * ldlang.h (lang_file_exist): Removed. - * lexsup.c (parse_args): Revert the last change. - -2002-10-07 Ralf Habacker - - * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export - auto-import symbols. - (make_one): Create _nm_ for data only. - -2002-10-05 Elias Athanasopoulos - - * ldlang.c (lang_file_exist): New function. - (new_afile): Abort if the filename to be added matches the linker - output filename. - * ldlang.h: Add prototype for lang_file_exist. - * lexsup.c (parse_args): Abort if the output filename matches - one of the input filenames. - -2002-10-02 Alan Modra - - * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. - -2002-09-30 Alan Modra - - * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - - * emultempl/elf32.em (output_rel_find): Always place orphan loadable - reloc sections just before .rel.plt/.rela.plt. - (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. - Only put loadable reloc sections in hold_rel. - -2002-09-29 H.J. Lu - - * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. - -2002-09-25 Daniel Jacobowitz - - From "Anita Kulkarni" - * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* - sections. - -2002-09-25 Alan Modra - - * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before - TARGET_PAGE_SIZE. - * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate - SEGMENT_SIZE alignment. - * emulparams/elf64ppc.sh (DATA_ADDR): Delete. - (SEGMENT_SIZE): Define. - - * ldexp.c (fold_unary): New. Split out from exp_fold_tree. - (fold_binary): Correct abs - non-abs case. - (fold_trinary): New. Split out from exp_fold_tree. - -2002-09-24 Alan Modra - - * emulparams/elf64ppc.sh (DATA_ADDR): Define. - * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address - for start of .data, instead align up to 256M boundary. - * scripttempl/aix.sc: Likewise. - -2002-09-22 Mark Elbrecht - - * scripttempl/i386go32.sc: Handle bss unique sections. - -2002-09-21 Alan Modra - - * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. - -2002-09-17 Stan Cox - - * emulparams/elf32bmipn32-defs.sh: New file. - * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. - * emulparams/elf32btsmipn32.sh: Likewise. - * emulparams/elf64bmip.sh: Likewise. - * emulparams/elf64btsmip.sh: Likewise. - -2002-09-16 Bruno Haible - - * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to - elf32-i386-freebsd. - * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to - elf64-alpha-freebsd. - -2002-09-11 Nick Clifton - - * NEWS: New TI port supports both C4x and C3x series of DSPs. - - * po/tr.po: Updated Turkish translation. - -2002-09-06 Jeffrey A Law (law@redhat.com) - - * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore. - -2002-09-02 Nick Clifton - - * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and - __ep. - * emulparams/v850.sh (TEMPLATE_NAME): Define. - -2002-08-30 Nick Clifton - - * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not - used. Change INSN to start at 0x01000000 and extend for - 256K (ignoring holes). Start the STACK on a word aligned - boundary. - (.rodata): Start it at the READONLY_START_ADDR. - -2002-08-30 Alan Modra - - * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common". - -2002-08-28 Svein E. Seldal - - * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and - added makefile targets for this file. - * Makefile.in: Regenerate. - * configure.tgt: Added tic4x-coff and c4x-coff emulations. - * NEWS: Mention new port. - -2002-08-28 Michael Hayes - - * emulparams/tic3xcoff.sh: New file. - * emulparams/tic4xcoff.sh: New file. - * scripttempl/tic3xcoff.sc: New file. - * scripttempl/tic4xcoff.sc: New file. - -2002-08-28 Alan Modra - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll, - strtoul and strtoull with bfd_scan_vma. - (gld${EMULATION_NAME}_read_file): Likewise. - -2002-08-28 Alan Modra - - * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*. - -2002-08-27 Egor Duda - - * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. - Add symbols for application to access them. - -2002-08-27 Nick Clifton - - * emultempl/armelf.em: Revert this patch, it is not needed. - - 2002-08-22 Adam Nemet - -2002-08-20 Dan Kegel - - * configure.in: added --with-lib-path argument to ld's configure - to set LIB_PATH. - * NEWS: Document new switch. - * README: Mention new switch. - * configure: Regenerate. - * Makefile.in: Regenerate. - - Based on this patch: - 2001-04-25 Christopher Faylor - - * Makefile.in (LIB_PATH): Make configurable. - (GENSCRIPTS): Set LIB_PATH in environment. - * configure.in: Substitute LIB_PATH. - -2002-08-22 Adam Nemet - - * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h. - (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI - depending on the type of the function. - (arm_elf_convert_thumb_symbol_to_address): New function. - -2002-08-22 Graeme Peterson - - * Makefile.am: Add esh{l}elf_nto.o files. - * Makefile.in: Regenerate. - * configure.tgt: Add support for sh-**-nto* targets. - * emulparams/shelf_nto.sh: New file. - * emulparams/shlelf_nto.sh: New file. - -2002-08-21 John David Anglin - - * ldlang.c (offsetof): Define if not defined. - -2002-08-14 H.J. Lu - - * configure.tgt: Always enable 64bit emulations for 32bit - Linux/mips. - -2002-08-13 Alan Modra - - * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1. - (MAXPAGESIZE): Set to 1. - - * ld.h (ALIGN_N): Delete. - * ldexp.h (align_n): Declare. - * ldexp.c (align_n): New function. - (fold_binary): Use align_n instead of ALIGN_N. - (exp_fold_tree): Likewise. - * ldlang.c (lang_size_sections_1): Likewise. - (lang_one_common): Likewise. - * ld.texinfo (ALIGN): Remove power of 2 restriction. - -2002-07-31 Graeme Peterson - - * configure.tgt: Add support for powerpc{le}-*-nto* targets. - * Makefile.am: Add eelf32{l}ppcnto.o files. - * Makefile.in: Regenerate. - * emulparams/elf32lppcnto.sh: New file. - * emulparams/elf32ppcnto.sh: New file. - -2002-08-07 H.J. Lu - - * ld.texinfo: Document --no-undefined-version. - - * ldlang.c (lang_new_vers_pattern): Set the `symver' and - `script.' fields to 0. - - * ldmain.c (main): Initialize the allow_undefined_version to - true. - - * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New. - (ld_options): Add --no-undefined-version. - (parse_args): Support OPTION_NO_UNDEFINED_VERSION. - -2002-08-07 Nick Clifton - - * emultempl/armelf.em (arm_elf_before_allocation): Only search for - an interworking bfd if there are input bfds. (107501) - -2002-08-06 Alan Modra - - * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts - 2002-05-10 change. - -2002-08-01 Nick Clifton - - * emulparams/armelf.sh: Revert previous delta. - * scripttempl/elf.sc: Revert previous delta. - -2002-07-31 H.J. Lu - - * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for - --enable-64-bit-bfd. - -2002-07-31 H.J. Lu - - * configure.tgt: Enable x86-64 emulation for Linux/i386 if - 64bit BFD is selected. - -2002-07-31 H.J. Lu - - * configure.tgt: Enable 64bit emulations for 32bit Linux/mips - if 64bit BFD is selected. - -2002-07-31 Ian Dall - - * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set - link_info.common_skip_ar_aymbols. - * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file. - - * ldmain.c (main): Initialize new field - link_info.common_skip_ar_aymbols. - -2002-07-31 Adam Nemet - - * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it - to .plt.thumb. - * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is - used. - -2002-07-31 Nick Clifton - - * NEWS: Retroactively add entry for Lars Brinkhoff's contribution - of the PDP-11 and 2.11BSD a.out support. - -2002-07-31 Thiemo Seufer - - * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations - for n32 ABI support. - * Makefile.in: Regenerate. - * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add - n32 ABI emulations for these 64 bit targets. - * emulparams/elf32bmipn32.sh: Expand comment. - * emulparams/elf32btsmipn32.sh: New file, for traditional big endian - n32 ABI. - * emulparams/elf32ltsmipn32.sh: Likewise for little endian. - -2002-07-30 Graeme Peterson - - * configure.tgt: Add support for arm-*-nto target. - * Makefile.am: Add earmnto.o file. - * Makefile.in: Regenerate. - * NEWS: Mention port of ARM support to QNX. - * emulparams/armnto.sh: New file. - -2002-07-30 Jakub Jelinek - - * ldlang.c (lang_add_section): Don't turn .tbss into normal sections - for relocatable link. - (lang_size_sections_1): Don't make .tbss zero size for relocatable - link. - -2002-07-26 Bernd Schmidt - - * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete. - (STACK_ADDR): New. - -2002-07-25 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - -2002-07-20 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - bomb on /DISCARD/ input section. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - -2002-07-19 Hans-Peter Nilsson - - * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text - output section. - -2002-07-16 Denis Chertykov - Nick Clifton - Frank Ch. Eigler - John Healy - - * configure.tgt: Add support for ip2k-elf. - * Makefile.am: Add support for ip2k-elf. - * Makefile.in: Regenerate. - * emulparams/elf32ip2k.sh: New file. - * scripttempl/ip2k.sc: New file - * NEWS: Mention support for new port. - -2002-07-16 Nick Clifton - - * NEWS: Add 'Changes in 2.13'. - -2002-07-14 H.J. Lu - - * ld.texinfo: Document a .symver takes precedence over a - version script. - -2002-07-12 Alan Modra - - * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. - (COMMONPAGESIZE): Define. - -2002-07-09 Alan Modra - - * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. - -2002-07-09 Federico G. Schwindt - - * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, - powerpc-*-openbsd* and sparc64-*-openbsd*. - * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. - * Makefile.in: Regenerate. - * emulparams/hppaobsd.sh: New file. - -2002-07-05 Alan Modra - - * ldlang.c (print_wild_statement): Fix output formatting. - -2002-07-04 Alan Modra - - * ldlang.c: (strip_excluded_output_sections): New function. - (lang_process): Call it. - (lang_size_sections_1): Revert 2002-06-10 change. - -2002-07-03 Alan Modra - - * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-07-02 Alan Modra - - * ldfile.c (ldfile_try_open_bfd): Formatting. - - * ldmisc.c (demangle): Move so that it doesn't intrude between - vfinfo comment and body. Add comment. - -2002-07-01 John David Anglin - - * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. - -2002-07-01 Alan Modra - - * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. - * ldlang.c (entry_sym): Likewise. - (ldlang_undef_chain_list_type): Likewise. - (lang_finish): Adjust references to entry_symbol. - (lang_add_entry): Likewise. - (lang_gc_sections): Use link_info.gc_sym_list. - (lang_process): Set link_info.gc_sym_list. - * ldlex.l: Include bfdlink.h. - * ldmain.c (main): Init link_info.gc_sym_list. - * emultempl/aix.em: Adjust references to entry_symbol. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ppc64elf.em (ppc_after_open): New function. - (LDEMUL_AFTER_OPEN): Define. - * emulparams/elf64ppc.sh: KEEP .opd sections. - -2002-06-29 Stephane Carrez - - * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. - * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. - * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. - (EEPROM_START_ADDR): Define. - (EEPROM_MEMORY): Define. - * emulparams/m68hc12elf.sh: Likewise. - * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs - section to put soft registers in .page0. - * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. - -2002-06-26 John David Anglin - - * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd - section. Add ${RELOCATING-0}. - -2002-06-26 J"orn Rennecke - - * emulparams/shelf.sh (STACK_ADDR): Don't define. - (OTHER_SECTIONS): Define. - * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. - (OTHER_SECTIONS): Undef. - -2002-06-26 Alan Modra - - * ldmisc.c (demangle): Restore dots stripped from sym name. - -2002-06-25 H.J. Lu - - * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. - * Makefile.in: Regenerated. - -2002-06-20 Nick Clifton - - * ld.texinfo (Bug Reporting): Update text to suggest a limit on - the size of attached object files, to allow make the object files - available via FTP or HTTP and to mention that the mail will be - sent to a mailing list. - -2002-06-20 Nathanael Nerode - - * configure.host (romp): Drop support. - -2002-06-18 Chris Demetriou - - * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check - section flags for SEC_DATA, rather than for SEC_CODE being unset. - -2002-06-18 Chris Demetriou - - * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix - format specifier used to print BFD name. - -2002-06-18 Dave Brolley - - From Catherine Moore, Michael Meissner, Jim Blandy: - * emulparams/elf32frv.sh: New file. - * configure.tgt: Support frv-*-*. - * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. - (eelf32frv.c): New target. - -2002-06-17 Tom Rix - - * emultempl/elf32.em: gld*_get_script: Check for - GENERATE_COMBRELOC_SCRIPT. - * scripttempl/elfd10v.sc : Fix STACK and INSN. - * emulparams/d10velf.sh : Fix TEXT_START_ADDR. - -2002-06-13 J"orn Rennecke - - * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. - -2002-06-12 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return - false if xvec doesn't match. - -2002-06-10 Richard Sandiford - - * ldlang.c (lang_size_sections_1): Skip removed output sections. - -2002-06-08 Alan Modra - - * ldexp.c: Replace CONST with const. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlex.l: Likewise. - * mri.c: Likewise. - * pe-dll.h: Likewise. - -2002-06-07 Alan Modra - - * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. - -2002-06-07 Charles Wilson - - * ldmain.c (main): initialize link_info.pei386_auto_import - to -1 == implicit enable. - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): - initialize link_info.pei386_auto_import to -1 == implicit - enable. - (gld_${EMULATION_NAME}_parse_args): When processing - --enable-auto-import and --disable-auto-import options, use - '1' and '0' instead of 'true' and 'false'. - (pe_find_data_imports): Only issue message about auto-import - when the feature is implicitly enabled. Downgrade message to - informational instead of warning. - -2002-06-07 Alan Modra - - * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. - -2002-06-06 John David Anglin - - * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, - HOSTING_CRT0 and HOSTING_LIBS. - -2002-06-05 J"orn Rennecke - - * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. - -2002-06-05 Jason Thorpe - - * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. - (NONPAGED_TEXT_START_ADDR): Set to 0x1000. - -2002-06-05 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place - SEC_EXCLUDE sections when doing a relocatable link. - -2002-06-04 Jason Thorpe - - * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, - eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. - (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) - (eshlelf64_nbsd.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) - (sh64-*-netbsd*): New targets. - * emulparams/shelf32_nbsd.sh: New file. - * emulparams/shelf64_nbsd.sh: New file. - * emulparams/shlelf32_nbsd.sh: New file. - * emulparams/shlelf64_nbsd.sh: New file. - -2002-06-04 Alan Modra - - * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. - -2002-06-02 Marek Michalkiewicz - - * scripttempl/avr.sc: Changes to support current GCC and avr-libc, - C++ constructors/destructors, loosely based on the m68hc11 port. - -2002-05-31 Alan Modra - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-05-31 Graeme Peterson - - * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. - (ei386nto.c): Add rule. - * Makefile.in: Regenerate. - * configure.tgt: Add i[3456]86-*-nto-qnx*. - * emulparams/i386nto.sh: New file. - -2002-05-29 Jason Thorpe - - * NEWS: Add entry for VAX ELF support. - -2002-05-29 Matt Thomas - Jason Thorpe - - * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. - (eelf32vax.c) - (evaxnbsd.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (vax-*-netbsdelf*) - (vax-*-netbsdaout*) - (vax-*-netbsd*): New targets. - * emulparams/elf32vax.sh: New file. - * emulparams/vaxnbsd.sh: New file. - -2002-05-29 Adam Nemet - - * emultempl/armelf.em (arm_elf_after_open): Don't determine - bfd_for_interwork, instead add glue sections to each input bfd. - (bfd_for_interwork): New global. - (arm_elf_set_bfd_for_interworking): New function. - (arm_elf_before_allocation): Use it. - -2002-05-28 Kuang Hwa Lin - - * Makefile.am: Add DLX make target. - * configure.tgt: Add DLX configuration. - * Makefile.in: Regenerate. - * emulparams/elf32_dlx.sh: New file - * scripttempl/dlx.sc: New file - -2002-05-27 Per Lundberg - - * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. - * Makefile.in: Regenerate. - * emulparams/elf_chaos.sh: Use elf_chaos script. - * scripttempl/elf_chaos.sc: New file. - -2002-05-27 Richard Sandiford - - * ldlang.c (lang_size_sections_1): Move check for conflicting load - addresses and regions from here... - (lang_get_regions): ...to this new function. - (lang_leave_output_section_statement): Use lang_get_regions. - (lang_leave_overlay): Likewise. - * mri.c (mri_draw_tree): Pass null as last argument to - lang_leave_output_section_statement. - * emultempl/elf32.em (gld*_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - * emultempl/pe.em (gld*_place_orphan): Likewise. - -2002-05-26 Jason Thorpe - - * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. - -2002-05-25 Kazu Hirata - - * ldemul.c: Fix formatting. - * ldfile.c: Likewise. - * pe-dll.c: Likewise. - * pe-dll.h: Likewise. - -2002-05-25 Alan Modra - - * ldlang.c (lang_process): Formatting, grammar. - - * ldlex.l: Use #include "" instead of <> for local header files. - -2002-05-24 TAMURA Kent - - * configure.tgt: Add a target for i386-netbsdpe. - -2002-05-23 Jakub Jelinek - - * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. - * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for - output section if necessary. Handle .tbss. - (lang_size_sections): Clear _raw_size for .tbss section - (it allocates space in PT_TLS segment only). - * ldwrite.c (build_link_order): Build link order for .tbss too. - -2002-05-23 Alan Modra - - * configure.in: Correct spelling of AC_PREREQ. - -2002-05-21 Danny Smith - - * pe-dll.c (autofilter_liblist): Add more system libs excluded by - default. - (autofilter_objlist): Add crtbegin.o, crtend.o. - -2002-05-21 Danny Smith - - * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. - (longopts): Add new option --exclude-libs. - (gld_${EMULATION_NAME}_list_options): Give quick help about it. - (gld_${EMULATION_NAME}_parse_args): Use it. - * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. - * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols - from whole archives. - (pe_dll_add_excludes): Set excludes->type. - (auto_export): Add new variable libname and set to archive basename if - abfd. Use it when filtering default and user-specified libarary - excludes. Let string "ALL" mean all libs when filtering user-specified - libs. - * ld.texinfo: Document --exclude-libs. - -2002-05-22 Alan Modra - - * ldemul.c (ldemul_new_vers_pattern): New function. - * ldemul.h (ldemul_new_vers_pattern): Declare. - (struct ld_emulation_xfer_struct): Add new_vers_pattern. - * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. - * emultempl/ppc64elf.em (dotsyms): New static var. - (gld${EMULATION_NAME}_new_vers_pattern): New function. - (LDEMUL_NEW_VERS_PATTERN): Define. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Handle them. - * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update - initialiser. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - -2002-05-22 Alan Modra - - * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir - and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. - (LIB_SEARCH_DIRS): No need to use "tr". - (COMPILE_IN): Only set for native targets. - * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs - here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. - * configure.tgt (powerpc*): Set tdir_*. - (powerpcle*): Correct targ_extra_emuls. - * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. - * emulparams/elf64ppc.sh (LIB_PATH): Likewise. - -2002-05-22 Alan Modra - - * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when - calling lang_add_entry. - -2002-05-21 H.J. Lu (hjl@gnu.org) - - * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle - "-z muldefs". - (gld${EMULATION_NAME}_list_options): Add "-z muldefs". - - * ld.texinfo: Updated for --allow-multiple-definition and - "-z muldefs". - - * ldmain.c (main): Initialize the allow_multiple_definition - field to false. - - * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. - (ld_options): Add --allow-multiple-definition. - (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. - -2002-05-21 Jason Thorpe - - * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. - (earmelfb_nbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (armeb-*-netbsdelf*): New target. - (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. - (arm-*-netbsd*): Likewise. - * emulparams/armelfb_nbsd.sh: New file. - -2002-05-18 Tom Rix - - * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib - support. - -2002-05-17 Marek Michalkiewicz - - * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. - * Makefile.in: Regenerate. - * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. - -2002-05-16 Marek Michalkiewicz - - * emulparams/avr1.sh: New file. - * emulparams/avr2.sh: New file. - * emulparams/avr3.sh: New file. - * emulparams/avr4.sh: New file. - * emulparams/avr5.sh: New file. - * scripttempl/avr.sc: New file. - -2002-05-15 Alan Modra - - * ldlang.c (section_already_linked): Call bfd_link_just_syms. - (lang_place_orphans): Abort if just_syms_flag. - -2002-05-10 Tom Rix - - * emultempl/aix.em: (gld*_set_output_arch): New function. Use - architecture and machine information in the output bfd. - (gld*_before_parse): Remove old arch and machine code. - (choose_target): Rename to gld*_choose_target. - (rtld): Change type to int. - * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for - objects in XCOFF archives. - * ldfile.h: Update copyright date. - -2002-05-10 Jakub Jelinek - - * ldmain.c (main): Enable -z combreloc by default. - -2002-05-07 Federico G. Schwindt - - * Makefile.am: Honour DESTDIR. - * Makefile.in: Regenerate. - -2002-05-07 Richard Sandiford - - * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. - (lang_enter_overlay): Remove the last two parameters. - (lang_leave_overlay): Take them here instead. - * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. - (section): Pass LMA and crossref flag to lang_leave_overlay rather - than lang_enter_overlay. - * ldlang.c (lang_memory_region_lookup): Return null for null names. - (lang_output_section_statement_lookup): Initialize update_dot_tree. - (lang_size_sections_1): Evaluate it. - (lang_leave_output_section_statement): Rework LMA lookup. - (overlay_lma, overlay_nocrossrefs): Remove. - (lang_enter_overlay): Remove LMA and crossref arguments. - (lang_enter_overlay_section): Don't set the LMA here. - (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' - assignment to the last section's update_dot_tree. Unconditionally - use the load and run-time regions specified in the OVERLAY statement. - Likewise the first section's LMA. Only set the other sections' LMAs - when no load region is given. - -2002-05-06 Nick Clifton - - * po/sv.po: New translation. - -2002-05-04 Alan Modra - - * emultempl/hppaelf.em (build_section_lists): New function. - (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists - and build_section_lists. - -2002-05-03 Kazu Hirata - - * ld.h: Fix formatting. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * lexsup.c: Likewise. - * pe-dll.c: Likewise. - -2002-05-02 Alan Modra - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): - Adjust for ppc64_elf_set_toc change. #include libbfd.h. - (build_section_lists): Do output_section tests here. - -2002-04-30 Tom Rix - - * emultempl/aix.em : (gld*_parse_arge): Formatting changes. - -2002-05-01 Alan Modra - - Long branch stubs, multiple stub sections. - * emultempl/ppc64elf.em: Include ldctor.h. - (stub_file): New var. - (group_size): New var. - (ppc_create_output_section_statements): New function. - (struct hook_stub_info): New. - (hook_in_stub): New function. - (ppc_add_stub_section): New function. - (ppc_layout_sections_again): New function. - (build_section_lists): New function. - (gld${EMULATION_NAME}_finish): Rewrite. - (real_func): New var. - (ppc_for_each_input_file_wrapper): New function. - (ppc_lang_for_each_input_file): New function. - (lang_for_each_input_file): Define. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. - -2002-04-30 Tom Rix - - * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add - -blibpath, -bnolibpath support. - -2002-04-30 Mark Mitchell - - * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. - (eelf32ppcwindiss.c): New target. - * Makefile.in: Regenerated. - * configure.tgt: Add support for powerpc-*-windiss. - * emulparams/elf32ppcwindiss.sh: New file. - -2002-04-30 Richard Sandiford - - * ldlang.c (print_assignment): Update print_dot for assignments to ".". - * ldexp.c (exp_print_token): Add "infix_p" argument. - (exp_print_tree): Update accordingly. - -2002-04-28 Alan Modra - - * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. - * Makefile.in: Regenerate. - * mpw-elfmips.c: Delete. - * mpw-eppcmac.c: Delete. - * mpw-esh.c: Delete. - * mpw-idtmips.c: Delete. - -2002-04-17 J"orn Rennecke - - * emulparams/shelf32.sh (MACHINE): Now sh5. - -2002-04-17 Thiemo Seufer - - * ldgram.y: Fix syntax warning. - -2002-04-11 Nick Clifton - - * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order - to prevent "-n" from being taken as an abbreviation for - "--no-pipeline-knowledge". - -2002-04-08 Alan Modra - - * ldlang.c (lang_size_sections_1): Don't complain about - SEC_NEVER_LOAD sections having no memory region specified. - - * ld.texinfo (Format Commands ): Typo fix. - -2002-04-07 matthew green - - * configure.host (*-*-netbsd*): Add support for NetBSD/ELF. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-04-04 Thiemo Seufer - - * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. - -2002-04-03 Jakub Jelinek - - * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size - is smaller than maximum, round dot up to common page boundary. - -2002-03-28 Alan Modra - - * configure.host: Set up for generic hosts first, then tweak as - necessary in more specific targets. - (HOSTING_LIBS): Include libgcc_eh.a if found. - -2002-03-23 Andreas Jaeger - - * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. - -2002-03-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-21 Albert Chin-A-Young - - * genscripts.sh (LIB_SEARCH_DIRS): Quote path. - -2002-03-20 Alan Modra - - * ldlang.c (ldlang_add_undef): If the output bfd has been opened, - add the symbol to the linker hash table immediately. - (lang_place_undefineds): Split symbol creation out.. - (insert_undefined): ..to here. - -2002-03-18 David O'Brien - - * emultempl/elf32.em: Use lbasename vs. basename to fix problem where - the contents of the buffer returned from basename function will are - getting overwritten while still being used. - -2002-03-18 Jan Hubicka - Andreas Jaeger - Andreas Schwab - - * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. - * elf_x86_64.sh (ARCH): Set to i386:x86-64 - set libraries to default to lib64 paths. - -2002-03-18 Tom Rix - - * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. - * configure.tgt : Same. - * emulparms/aix5ppc.sh : New file. For eaix5ppc. - * emulparms/aix5rs6.sh : New file. For eaix5rs6. - * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT - emulation parameters for better -b32, -b64 support. - * emulparms/aixrs6.sh : Same. - * emulparms/ppcmacos.sh : Same. - * emultempl/aix.em (choose_target) : Use new emulation parameters - OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. - * Makefile.in : Regenerate. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-18 Alan Modra - - * ldmain.c (main): Move .text readonly flag fudges from here.. - * ldlang.c (lang_process): ..to here. - -2002-03-14 Alan Modra - - * ldlang.c (lang_check): Remove the word size check added in last - change. Treat emitrelocations case as for relocatable links. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-13 Alan Modra - - * ldlang.c (lang_check): Do relocatable link checks first, so that - warn_mismatch can't override. Check compatible and word size too. - -2002-03-07 Daniel Jacobowitz - - * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. - -2002-03-05 Jakub Jelinek - - * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with - DATA_SEGMENT_ALIGN. - -2002-03-04 H.J. Lu - - * scripttempl/elf.sc: Put .preinit_array, .init_array and - .fini_array in the data segment. - -2002-03-04 Alan Modra - - * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. - -2002-03-01 David Mosberger - - * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, - .init_array, and .fini_array. - -2002-02-20 Andreas Schwab - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold - .IA64_unwind* in a relocatable link. - -2002-02-20 Nick Clifton - - * NEWS: Mark 2.12 branch. - -2002-02-19 Martin Schwidefsky - - * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". - * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". - -2002-02-18 Tom Rix - - * emultempl/aix.em (gld*_parse_args): Add -brtl support. - (gld*_before_allocation): Same. - (gld*_create_output_section_statements): Generate - __rtinit if run time linking. Add librtl.a to the link. - (gld*_read_file): Clean. - -2002-02-18 Alan Modra - - * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. - -2002-02-18 David O'Brien - - * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, - eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, - and eelf64alpha_fbsd. - * Makefile.in: Regenerate. - * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, - x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): - use a FreeBSD-specific emulation rather than the psABI one. - * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value - for all FreeBSD ELF systems. - * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI - emulation. - * emulparams/elf32ppc_fbsd.sh: Likewise. - * emulparams/elf64_ia64_fbsd.sh: Likewise. - * emulparams/elf64_sparc_fbsd.sh: Likewise. - * emulparams/elf64alpha_fbsd.sh: Likewise. - * emulparams/elf_i386_fbsd.sh: Likewise. - * emulparams/elf_x86_64_fbsd.sh: Likewise. - -2002-02-18 Nick Clifton - - * po/tr.po: Updated version. - -2002-02-18 Alan Modra - - * ld.texinfo (Output Section Fill): Fix amateur texinfo. - (FILL): Likewise. - -2002-02-17 Hans-Peter Nilsson - - * emultempl/mmo.em (mmo_after_open): Don't call - _bfd_mmix_check_all_relocs when producing ELF output. - -2002-02-15 Richard Henderson - - * emulparams/elf64alpha.sh (NOP): Adjust for big-endian - definition. Emit a unop+nop pair. - -2002-02-15 Hans-Peter Nilsson - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check - for presence of .MMIX.reg_contents.linker_allocated before early - exit. - - * NEWS: Mention support for MMIX. - -2002-02-15 Alan Modra - - Support arbitrary length fill patterns. - * ld.texinfo (Output Section Fill): Describe fill expressions. - (FILL): Refer to the above. - * ldexp.h (etree_value_type): Add "str" field. - (union etree_union): Add "str" to "value" struct. - (exp_bigintop): Declare. - (exp_get_fill): Declare. - * ldexp.c: Include "safe-ctype.h". - (exp_intop): Set value.str to NULL. - (exp_bigintop): New function. - (new_rel): Pass in "str", and set new.str from it. - (new_rel_from_section): Set new.str to NULL. - (fold_name): Adjust calls to new_rel. - (exp_fold_tree): Likewise. - (exp_get_fill): New function. - * ldgram.y (struct big_int bigint, fill_type *fill): New. - (INT): Returns a "bigint". Adjust all code handling INTs. - (fill_opt): Returns a "fill". - (fill_exp): Split out of fill_opt, use for FILL. - * ldlang.h (struct _fill_type): New. - (fill_type): Move typedef to ldexp.h. - (lang_output_section_statement_type): "fill" is now a pointer. - (lang_fill_statement_type): Likewise. - (lang_padding_statement_type): Likewise. - (lang_add_fill): Now takes a "fill_type *" param. - (lang_leave_output_section_statement): Likewise. - (lang_do_assignments): Likewise. - (lang_size_sections): Likewise. - (lang_leave_overlay_section): Likewise. - (lang_leave_overlay): Likewise. - * ldlang.c: Include ldgram.h after ldexp.h. - (lang_output_section_statement_lookup): Adjust for fill_type change. - (print_fill_statement): Likewise. - (print_padding_statement): Likewise. - (insert_pad): Now takes a "fill_type *" arg. - (size_input_section): Likewise. - (lang_size_sections_1): Likewise. - (lang_size_sections): Likewise. - (lang_do_assignments): Likewise. - (lang_add_fill): Likewise. - (lang_leave_output_section_statement): Likewise. - (lang_leave_overlay_section): Likewise. - (lang_leave_overlay): Likewise. - Adjust all callers of the above function. - * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers - starting with "0X" as well as "0x". Return bigint.str for hex - numbers starting with "0x" or "0X", zero bigint.str otherwise. - Always use base 16 for numbers starting with "$". - * ldmain.c: Include ldgram.h after ldexp.h. - * ldwrite.c (build_link_order): Use bfd_data_link_order in place - of bfd_fill_link_order. - * pe-dll.c: Adjust lang_do_assignments calls. - * emultempl/elf32.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust - lang_add_assignment call. - * emultempl/pe.em: Likewise. - -2002-02-14 Phil Edwards - - * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. - * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; - the pattern in question is not a regexp. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. - -2002-02-12 Jakub Jelinek - - * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. - * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. - (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). - * ldexp.c (exp_data_seg): New variable. - (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. - (fold_binary): Handle DATA_SEGMENT_ALIGN. - (exp_fold_tree): Handle DATA_SEGMENT_END. - Pass allocation_done when recursing instead of hardcoding - lang_allocating_phase_enum. - * ldexp.h (exp_data_seg): New. - * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. - (lang_size_sections): New. - * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. - * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END - if COMMONPAGESIZE is defined. - * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. - * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared - libraries only. - -2002-02-11 Alan Modra - - * Makefile.in: Regenerate. - -2002-02-10 Daniel Jacobowitz - - * lexsup.c: Remove strtoul declaration. - -2002-02-10 Daniel Jacobowitz - - * ldmain.c: Add prototype for main (). - * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. - * emultempl/lnk960.em (lnk960_choose_target): Function should - take two arguments. - -2002-02-10 Alan Modra - - * ldlang.c (entry_section): New initialised variable. - (lang_finish): Use it. - * ldlang.h (entry_section): Declare. - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set - entry_section to ".opd". - -2002-02-09 Chris Demetriou - - * ld.texinfo (Options): Add back in -nostdlib documentation, - which had been inadvertently removed. - -2002-02-09 Hans-Peter Nilsson - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust - register section vma to a sane value after emitting error. Make - fatal conditions cause program exit when emitting message. - -2002-02-08 Ivan Guzvinec - - * configure.tgt: Add or32-*-rtems target. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-01-24 Alexandre Oliva - * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined - in OTHER_RELOCATABLE_SECTIONS. - 2002-01-18 Alexandre Oliva - * emulparams/shelf32.sh (STACK_ADDR): Define. - (OTHER_RELOCATABLE_SECTIONS): Renamed to... - (OTHER_SECTIONS): this. Removed stack settings. - * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. - (OTHER_SECTIONS): Reset after sourcing shelf32.sh. - 2001-03-12 DJ Delorie - * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable - relaxing if any shmedia or mixed sections are found. - 2001-03-07 DJ Delorie - * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to - einfo. Gracefully decline to output to non-elf formats. - 2001-03-06 Hans-Peter Nilsson - * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: - Default to _end aligned to next multiple of 0x40000, plus 0x40000. - * emulparams/shelf32.sh: Ditto. - 2001-01-14 Hans-Peter Nilsson - * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak - comment. - 2001-01-10 Ben Elliston - * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid - non-portable shell constructs. From Hans-Peter Nilsson. - 2001-01-09 Hans-Peter Nilsson - * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. - * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust - dependencies to the shell script include chain. - * Makefile.in: Regenerate. - 2001-01-06 Hans-Peter Nilsson - * emultempl/sh64elf.em: Update and tweak comments. - (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and - make a .cranges section SEC_IN_MEMORY. - 2000-12-30 Hans-Peter Nilsson - * emultempl/sh64elf.em - (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when - .cranges section found to be necessary; continue and set stored - section contents flags for sections with non-mixed contents. - Use a struct sh64_section_data container and sh64_elf_section_data - to store contents-type flags. - Remove unused update of "isec". - (sh64_elf_${EMULATION_NAME}_after_allocation): Only process - sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to - access contents-type flags. Assert that the associated container - is initialized. Use that container, not elf_gp_size, to hold size - of linker-generated cranges contents. - 2000-12-18 Hans-Peter Nilsson - * emultempl/sh64elf.em - (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if - there's already a .cranges section. When section flag difference - is found, don't NULL-check cranges a second time. Tweak comments. - (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after - merging, not max size, as size of ld-generated .cranges contents. - Don't set ELF section flags in output section. When checking for - needed .cranges descriptors, don't use a variable; compare - incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak - comments. - 2000-12-18 Hans-Peter Nilsson - * emultempl/sh64elf.em: New file. - * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. - * Makefile.in: Regenerate. - * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. - (OTHER_RELOCATING_SECTIONS): Ditto. - (EXTRA_EM_FILE): New, set to sh64elf if not set. - * emulparams/shlelf32.sh: Stub out all settings except - OUTPUT_FORMAT. Source shelf32.sh. - * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and - OTHER_RELOCATING_SECTIONS. - (OTHER_RELOCATING_SECTIONS): Remove .cranges. - * emulparams/shlelf64.sh: Stub out all settings except - OUTPUT_FORMAT. Source shelf64.sh. - 2000-12-15 Hans-Peter Nilsson - * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include - .cranges section. - (DATA_START_SYMBOLS): Define, provide ___data. - (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 - for consecutive .data section. - (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss - section after .data section. - * emulparams/shlelf64.sh: Ditto. - * emulparams/shelf32.sh: Ditto. - (ALIGNMENT): Define to 8. - * emulparams/shelf32.sh: Ditto. - 2000-12-12 Hans-Peter Nilsson - * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get - built-in linker scripts. - 2000-11-30 Hans-Peter Nilsson - * emulparams/shlelf64.sh: New. - * emulparams/shelf64.sh: New. - * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to - targ_extra_emuls. - * Makefile.am: Add support for shlelf64 and shelf64. - * Makefile.in: Regenerate. - 2000-11-29 Hans-Peter Nilsson - * configure.tgt (sh64-*-elf*): Add shelf as default. - Add shlelf to targ_extra_emuls. - 2000-11-24 Hans-Peter Nilsson - * emulparams/shelf32.sh: New file. - * emulparams/shlelf32.sh: New file. - * Makefile.am: Add support for shlelf32 and shelf32. - * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. - * Makefile.in: Regenerate. - -2002-02-05 Hans-Peter Nilsson - - * ldlang.c (lang_reset_memory_regions): Rename from - reset_memory_regions. Change all callers. Make public. - * ldlang.h (lang_reset_memory_regions): Prototype. - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call - lang_reset_memory_regions before lang_size_sections. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. - -2002-02-04 Hans-Peter Nilsson - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed - arithmetic when checking for too many global registers. - -2002-02-02 Jason Thorpe - - * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. - (ehppanbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (hppa*-*-netbsd*): New target. - * emulparams/hppalinux.sh: Add comment to check other files - that source this file it is modified, and list which - files that do. - * emulparams/hppanbsd.sh: New file. - -2002-02-01 Geoffrey Keating - - * scripttempl/xstormy16.sc: Don't allocate extra space for the - stack. - -2002-02-01 Hans-Peter Nilsson - - Support on-demand global register allocation from - R_MMIX_BASE_PLUS_OFFSET relocs. - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from - mmix_set_reg_section_vma. Call - _bfd_mmix_finalize_linker_allocated_gregs. - (mmix_before_allocation): New function. - (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. - (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. - * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. - (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated - before .MMIX.reg_contents. - * emultempl/mmo.em (gldmmo_before_allocation): Define to default. - (mmo_after_open): New function. - (LDEMUL_AFTER_OPEN): Define to mmo_after_open. - * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add - .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. - -2002-01-31 Ivan Guzvinec - - * emulparams/or32.sh: New file. - * emulparams/or32elf.sh: New file. - * scripttempl/or32.sc: New file. - * configure.tgt : Add support for or32. - * configure: Regenerate - * Makefile.am: Add support for or32. - * Makefile.in: Regenerate. - * NEWS: Mention support for or32. - * po/ld.pot: Regenerate. - -2002-01-29 Chris Demetriou - Mitch Lichtenberg - - * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. - * emultempl/mipself.em: New file to handle MIPS ELF embedded - reloc creation (ld --embedded-relocs). - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-26 Hans-Peter Nilsson - - * Makefile.am (install): Depend on install-info. - * Makefile.in: Regenerate. - -2002-01-26 Christian Rose - - * ldmain.c (main): Use full sentences to ease translation. - -2002-01-26 Nick Clifton - - * po/fr.po: Updated version. - -2002-01-25 Nick Clifton - - * po/es.po: Updated version. - -2002-01-25 Andreas Jaeger - - * ldlex.l (yy_input): Correct error check. - -2002-01-25 Alan Modra - - * ldmisc.c (demangle): Put back dots when string not demangled. - -2002-01-22 Richard Henderson - - * emulparams/elf64alpha.sh (NOP): Use unop. - -2002-01-21 Andreas Jaeger - - * ldlex.l: Use fread instead of read. - -2002-01-21 Jason Thorpe - - * configure.tgt (ia64-*-netbsd*): New target. - -2002-01-21 H.J. Lu - - * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to - 0. - * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. - -2002-01-18 Andreas Jaeger - - * ldver.c (ldversion): Update year. - -2002-01-17 Nick Clifton - - * po/ld.pot: Regenerate. - -2002-01-16 Alan Modra - - * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. - * Makefile.in: Regenerate. - * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. - * emultempl/ppc64elf.em: New file. - -2002-01-15 DJ Delorie - - * scripttempl/pe.sc: Add support for constructor priorities. - -2002-01-07 Marek Michalkiewicz - - * emulparams/avr1200.sh (DATA_START): Define as 0x60. - * emulparams/avr23xx.sh: Likewise. - * emulparams/avr4433.sh: Likewise. - * emulparams/avr44x4.sh: Likewise. - * emulparams/avr85xx.sh: Likewise. - * emulparams/avrmega103.sh: Likewise. - * emulparams/avrmega161.sh: Likewise. - * emulparams/avrmega603.sh: Likewise. - * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. - -2002-01-08 Alexandre Oliva - - * ldlang.c (walk_wild_section): Exclude object file if enclosing - archive is excluded. - -2002-01-07 Jason Thorpe - - * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. - (eshelf_nbsd.c): New rule. - (eshlelf_nbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (sh*le-*-netbsdelf*): New target. - (sh*-*-netbsdelf*): New target. - * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. - * emulparams/shelf_nbsd.sh: New emulation. - * emulparams/shlelf_nbsd.sh: New emulation. - -2002-01-07 Nick Clifton - - * po/es.po: New file: Spanish translation. - * configure.in (ALL_LINGUAS): Add es. - * configure: Regenerate. - -2002-01-06 John Marshall - - * ld.texinfo: Note that --emit-relocs is currently only - implemented for ELF. - -2002-01-05 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use - of bfd_section_list_remove and bfd_section_list_insert macros. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - -2002-01-04 Jason Thorpe - - * configure.tgt (x86_64-*-netbsd*): New target. - -2001-12-21 Tom Rix - - (gld*_create_output_section_statements): New function. - For -binitfini support. - * emultempl/aix.em (gld*_before_parse): Fix comment. - * emultempl/aix.em (gld*_parse_args): Fix comment. - -2001-12-20 Jason Thorpe - - * configure.tgt (mips*-dec-netbsd*): Delete alias for - mips*el-*-netbsd*. - (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. - - * configure.tgt (arm-*-netbsdelf*): Add target. - (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. - * emulparams/armelf_nbsd.sh: Added. - * Makefile.am: Add rules for earmelf_nbsd. - * Makefile.in: Regenerate. - -2001-12-19 Andreas Jaeger , - Susanne Oberhauser - - * configure.host: Add rules for x86_64-*linux-gnu. Change - s390x-linux entry to use gcc to report configuration, replace gcc - with $CC in s390-linux - -2001-12-19 Andreas Jaeger - - * ld.texinfo (VERSION): Fix markup. - -2001-12-18 matthew green - - * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. - (m68kelfnbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (m68*-hp-netbsd*): Renamed to .. - (m68*-*-netbsd*4k*): .. this. - (m68*-*-netbsdelf*): New target. - (m68*-*-netbsd*): Also include ELF support. - (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. - * emulparams/m68kelfnbsd.sh: New emulation. - -2001-12-18 Jakub Jelinek - - * ldgram.y (vers_node): Support anonymous version tags. - * ldlang.c (lang_register_vers_node): Ensure anonymous version - tag is not defined together with non-anonymous versions. - * ld.texinfo: Document it. - -2001-12-18 Nick Clifton - - * po/tr.po: New file: Turkish translation. - * configure.in (ALL_LINGUAS): Add tr. - * configure: Regenerate. - -2001-12-17 Jason Thorpe - - * Makefile.am: Add rules for eelf64alpha_nbsd. - * Makefile.in: Regenerate. - * configure.tgt (alpha*-*-netbsd*): Set - targ_emul to elf64alpha_nbsd. - * emulparams/elf64alpha_nbsd.sh: Added. - -2001-12-17 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust - section_tail when fiddling with section list. - (gld${EMULATION_NAME}_list_options): Ensure sentences aren't - broken into separate strings to make translation easier. - * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when - fiddling with section list. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - -2001-12-16 Hans-Peter Nilsson - - * scripttempl/mmo.sc: Add .debug_ranges to listed sections. - -2001-12-15 Alan Modra - - * ldmain.c (main): Initialise link_info.eh_frame_hdr. - -2001-12-13 Jakub Jelinek - - * emultempl/elf32.em (finish): Supply output_bfd - to bfd_elf*_discard_info. - (OPTION_EH_FRAME_HDR): Define. - (longopts): Add --eh-frame-hdr. - (parse_args): Handle it. - (list_options): Add --eh-frame-hdr to help. - * emultempl/hppaelf.em (finish): Supply output_bfd - to bfd_elf*_discard_info. - * scripttempl/elf.sc (.eh_frame_hdr): Add. - -2001-12-13 Alan Modra - - * lexsup.c (parse_args): Don't pass shortopts to second call to - getopt functions. Restore optind rather than decrementing before - second call. Remove errind as it now duplicates last_optind. - -2001-12-11 Christopher Faylor - - * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. - -2001-12-07 Geoffrey Keating - Richard Henderson - - * Makefile.am: Add support for xstormy16. - * configure.tgt: Add support for xstormy16. - * Makefile.in: Regenerate. - * emulparams/elf32xstormy16.sh: New file. - * scripttempl/xstormy16.sc: New file. - -2001-10-01 Christopher Faylor - - * Makefile.in (LIB_PATH): Make configurable. - (GENSCRIPTS): Set LIB_PATH in environment. - * configure.in: Substitute LIB_PATH. - * configure: Regenerate. - * configure.tgt (*cygwin): Set LIB_PATH for cross build. - * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. - -2001-12-07 Nick Clifton - - * lexsup.c (ld_options): Insert 'PROGRAM' into the text string - describing the -N option so that it is easier to translate into - foreign languages. - -2001-12-05 Nick Clifton - - * emultempl/pe.em (..._list_options): Replace multiple fprintf - statements describing a single option with a single, newline - escaped fprintf. This allows better translation into other - languages. - - * ldmain.c (add_archive_element): Combine multiple strings - into a single string to permit better translation into other - languages. - -2001-12-05 Tom Rix - - * Makefile.am: Remove eaixppc64. - * Makefile.in: Regenerate. - -2001-12-04 Tom Rix - - * emultempl/aix.em (choose_target): Change default target to - OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler - warning. - (gld*_read_file): Fix typo. - (change_symbol_mode): Add prototype. - (is_syscall): Same. - - * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. - * emulparams/aixrs6.sh : Same. - * emulparams/ppcmacos.sh : Same. - * emulparams/aixppc64.sh : Delete file. - * emultempl/aix.em : Formatting changes. - -2001-12-04 Hans-Peter Nilsson - - * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. - (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting - __Sbss. - (OTHER_END_SYMBOLS): Fix formatting. - * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. - (OTHER_END_SYMBOLS): Fix formatting. - -2001-12-04 Alan Modra - - * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. - -2001-12-02 Tom Rix - - * configure.tgt : Remove eaixppc64 emulations. - * Makefile.in : Remove eaixppc64.c - * ldemul.c (ldemul_choose_target): New parameters argc, argv. - (ldemul_default_target): Same. - * emultempl/gld960.em (gld960_choose_target): Same. - * emultempl/gld960c.em (gld960_choose_target): Same. - * scripttempl/aix.sc: Remove OUTPUT_FORMAT. - * emultempl/aix.em (is_syscall): syscall_mask now a variable. - * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. - * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. - * emultempl/aix.em (choose_target): New function. Handle emulation of - -b32 and -b64. - -2001-11-27 H.J. Lu - - * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. - * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. - * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. - - * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} - is not empty. - (SDATA): Likewise. - (REL_SDATA): Likewise. - (REL_SBSS): Likewise. - (REL_SDATA2): Likewise. - (REL_SBSS2): Likewise. - (SBSS2): Define if ${NO_SMALL_DATA} is not empty. - (SDATA2): Likewise. - -2001-11-25 Stephane Carrez - - * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and - destructor in rom. - * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. - -2001-11-22 H.J. Lu - - * Makefile.in: Regenerated with automake based on automake - 1.4-8 in RedHat 7.1. - -2001-11-22 Alan Modra - - * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. - (config.status): Delete rule. - Add extra dependencies to cover sourced emulparams files. - * Makefile.in: Regenerate. - - * scripttempl/elf.sc: Order
,
.* and - corresponding linkonce sections as seen in input files. - Formatting fixes. Zero vma of all sections if not relocating. - (STACK): Define and insert if STACK_ADDR defined. - (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_END_SYMBOLS): Define. - (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. - (OTHER_READWRITE_SECTIONS): Likewise. - (OTHER_GOT_SECTIONS): Likewise. - (OTHER_SDATA_SECTIONS): Likewise. - (OTHER_BSS_SECTIONS): Likewise. - * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. - (OTHER_READWRITE_SECTIONS): Likewise. - * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. - (OTHER_READWRITE_SECTIONS): Likewise. - - * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. - (STACK_ADDR): Define. - * emulparams/armelf_oabi.sh: As for armelf.sh. - * emulparams/elf32mcore.sh: As for armelf.sh. - * emulparams/h8300elf.sh: As for armelf.sh. - * emulparams/mn10200.sh: As for armelf.sh. - * emulparams/shelf.sh: As for armelf.sh. - - * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_END_SYMBOLS): Define. - * emulparams/m32relf.sh: As for elf32fr30.sh. - * emulparams/h8300helf.sh: As for elf32fr30.sh. - * emulparams/h8300self.sh: As for elf32fr30.sh. - - * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol - defines with RELOCATING test. - (OTHER_SDATA_SECTIONS): Likewise. - (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. - (OTHER_END_SYMBOLS): ..this. - * emulparams/crislinux.sh: As for criself.sh. - - * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma - if not relocating. - (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. - (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order - normal and linkonce sections as seen in input files. - * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. - (TEXT_DYNAMIC): Likewise. - (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. - (OTHER_SDATA_SECTIONS): Likewise. - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. - * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. - * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. - (OTHER_PLT_RELOC_SECTIONS): Likewise. - (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce - sections as seen in input files. - * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. - * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma - if not relocating. - (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. - (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. - * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_SECTIONS): Instead, use this.. - (OTHER_END_SYMBOLS): ..and this. - - * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. - * emulparams/elf32bsmip.sh: Likewise. - * emulparams/elf32btsmip.sh: Likewise. - * emulparams/elf32ebmip.sh: Likewise. - * emulparams/elf32lmip.sh: Likewise. - * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. - * emulparams/elf32lsmip.sh: Likewise. - * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. - * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. - * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. - * emulparams/elf64btsmip.sh: Likewise. - * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. - * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. - * emulparams/elf32ppclinux.sh: Likewise. - * emulparams/elf32ppcsim.sh: Likewise. - * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. - * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. - * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. - * emulparams/h8300self.sh: Likewise. - * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. - * emulparams/sh.sh: Comment. - * emulparams/shl.sh: Source sh.sh, remove duplicates. - * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. - * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. - -2001-11-21 David Heine - Alan Modra - - * ldlang.c (map_input_to_output_sections): Replace "break" - accidentally removed with 2001-08-03 change. - (lang_gc_sections_1): Likewise. - -2001-11-21 Alan Modra - - * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. - -2001-11-20 Angela Marie Thomas - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead - of false when calling lang_size_sections. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - -2001-11-15 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this - function when LDEMUL_FINISH isn't set to the same name. Don't - call ${LDEMUL_FINISH}. - (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. - * emultempl/armelf.em (arm_elf_finish): Call - gld${EMULATION_NAME}_finish. - * emultempl/hppaelf.em (hppaelf_finish): Rename to - gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and - hppaelf_layout_sections_again if necessary. - (need_laying_out): New var. - (hppaelf_layaout_sections_again): Rename to - hppaelf_layout_sections_again. Clear need_laying_out. - (PARSE_AND_LIST_OPTIONS): Format text. - -2001-11-14 H.J. Lu - - * emultempl/armelf.em (arm_elf_finish): Renamed from - gld${EMULATION_NAME}_finish. - (LDEMUL_FINISH): Set to arm_elf_finish. - -2001-11-14 Daniel Jacobowitz - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. - (struct ld_emulation_xfer_struct): Use it. - -2001-11-13 Ross Alexander - - * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add - additional symbols referenced by newer crt0.o files from HP. - -2001-11-12 Anthony Green - - * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. - -2001-11-12 Alfred M. Szmidt - - * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. - * Makefile.in: Regenerate. - -2001-11-02 Stephane Carrez - - * ld.texinfo: Use @command for commands, @option for options. - * Makefile.am (POD2MAN): Use 'GNU Development Tools' for - the page man title. - * Makefile.in: Rebuild. - -2001-11-04 Chris Demetriou - - * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): - Add support for targets. - -2001-11-02 Nick Clifton - - * configure.in (ALL_LINGUAS): Add "fr" and "sv" - * configure: Regernate. - * po/fr.po: New file. - * po/sv.po: New file. - -2001-11-01 NIIBE Yutaka - - * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls - as little endian default and to support big endian. - -2001-11-01 Chris Demetriou - - * ld.texinfo (Options): Document new option, -nostdlib. - * lexsup.c (OPTION_NOSTDLIB): New definition. - (ld_options): Add entry for "nostdlib". - (parse_args): Handle OPTIONS_NOSTDLIB. - * ldfile.c (ldfile_add_library_path): Don't add directories - to the search path if they weren't specified on the command line - and -nostdlib was specified. - * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. - -2001-10-31 Nick Clifton - - * lexsup.c (parse_args): Prevent infinite parsing loop when - "-rpath.a" is specified on the command line. - Replace calls to fprintf with calls to einfo. - -2001-10-31 John Marshall - - * ld.texinfo: A historical requirement that MEMORY and SECTIONS - appear only once across all the linker scripts involved in a link - invocation no longer applies. Make the documentation reflect - that. - -2001-10-31 NIIBE Yutaka - - * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu - targets. - (sh-*-linux*): Added targ_extra_libpath. - -2001-10-31 David Heine - - * ldlang.c (lang_size_sections): Keep a valid output_offset field - for padding statements. - -2001-10-30 Hans-Peter Nilsson - - * configure.tgt (mmix-*-*): New target. - * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. - Add dependencies to match. - * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, - emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, - scripttempl/mmo.sc: New files. - * gen-doc.texi: @set MMIX. - * ld.texinfo: Ditto. - [MMIX] Add MMIX node. - * Makefile.in: Regenerate. - -2001-10-29 Kazu Hirata - - * ldlang.c: Fix a comment typo. - -2001-10-23 Alan Modra - - * configure.host: Move alpha*-*-linux-gnu* entry to generic - entries, and match *-*-linux*. - -2001-10-20 Alan Modra - - * ldgram.y (mri_script_command): Surround processing of INCLUDE - with ldlex_script, ldlex_popstate. - (ifile_p1): Likewise. - * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the - correct slot. - (lex_push_file): Save current lineno to lineno_stack. Set lineno - to 1. Don't BEGIN(SCRIPT). - (lex_redirect): Similarly. - * ldmain.c (main): Set yydebug non-zero if YYDEBUG. - -2001-10-20 Nick Clifton - - * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and - __EH_FRAME_END__ and accept eh frames into data section. - Add ctor and dtor sections. - -2001-10-19 Danny Smith - - * pe-dll.c (autofilter_objectlist): Add gcrt0.o. - (auto-export): Fix indentation. - -2001-10-18 Danny Smith - - * pe-dll.c (autofilter_objectlist): Add startup objects - for profiling. - (auto-export): Constify char * p. - Extract file basename and use strcmp rather than ststr - for object lookup. - -2001-10-18 Chris Demetriou - - * ldmain.c (get_emulation): Improve comment about the handling - of -mipsN options. - -2001-10-17 Alan Modra - - * po/POTFILES.in: Regenerate. - -2001-10-16 Vassili Karpov - - * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from - -z nocopyreloc and -z nocombreloc usage strings. - -2001-10-12 Vassili Karpov - - * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc - in usage. - -2001-10-11 Aleksey Romanov - - * scripttempl/armaout.sc: Place .bss section after end of aligned - data section to match behaviour of aout code in constructrion of - header. - -2001-10-11 Danny Smith - - * pe-dll.c (autofilter_entry_type autofilter_liblist: Add - startup files for mingw32 dlls to list. - -2001-10-10 Chris Demetriou - - * emultempl/elf32.em: Fix shell 'if' usage for portability. - -2001-10-08 Aldy Hernandez - - * configure.tgt (targ): Add arm9e-*-elf. - -2001-10-05 H.J. Lu - - * genscripts.sh: Fix a typo in the last change. - -2001-10-05 Jakub Jelinek - - * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and - -z nocombreloc in usage. - -2001-10-03 Jim Blandy - - * genscripts.sh: Include a comment at the top of each generated - script, explaining its purpose. - -2001-10-03 Vassili Karpov - - * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. - * NEWS: Mention -z nocopyreloc. - * ld.texinfo (Options): Describe nocopyreloc. - -2001-10-03 Alan Modra - - * configure: Regenerate. - -2001-10-02 Alan Modra - - * ldver.h (ld_program_version): Remove declaration. - * lexsup.c (parse_args): Move printing of copyright message.. - * ldver.c (ldversion): .. to here. - Use BFD_VERSION_STRING in place of BFD_VERSION. - (ld_program_version): Remove. - * Makefile.am (Makefile): Depend on bfd/configure.in. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-09-30 Hans-Peter Nilsson - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate. - -2001-09-29 John Reiser - - * ldlang.c (lang_common): Conditionally inhibit Common allocation. - * lexsup.c: Add --no-define-common commandline option. - * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. - * ldlex.l: Likewise. - * ld.h: Add command_line.inhibit_common_definition. - * ldmain.c (main): Initialize. - * ld.texinfo: Document. - -2001-09-29 Alan Modra - - * ldlang.c (section_already_linked): Remove assignment to kept_section. - -2001-09-26 Alan Modra - - * ldmisc.c (USE_STDARG): Remove. - (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. - (einfo): Likewise. - (minfo): Likewise. - (lfinfo): Likewise. - - * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi - declarations. Update copyright. - -2001-09-24 Charles Wilson - - * pe-dll.c: Remove obsoleted declaration of - pe_get_data_import_dll_name. - (pe_create_import_fixup): Fix thinko. - - * ld.texinfo(enable-auto-import): Clarify the explanation. - -2001-09-24 Nick Clifton - - * pe-dll.c (pe_create_import_fixup): Revert previous patch. - * emultemp/pe.em (pe_data_import_dll): Move definition outside of - DLL_SUPPORT controlled code. - -2001-09-24 Charles Wilson - - * emultempl/pe.em(pe_data_import_dll): Make static. - (pe_get_data_import_dll_name): New accessor function. - * pe-dll.c(pe_create_import_fixup): call - pe_get_data_import_dll_name() from pe.em, instead of - directly accessing pe_data_import_dll variable from pe.em. - -2001-09-18 Bruno Haible - - * deffilep.y: Include "safe-ctype.h" instead of . - (def_file_add_directive): Use ISSPACE instead of isspace. - (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of - isdigit/isxdigit/isalpha/isalnum. - * emultempl/aix.em: Include "safe-ctype.h" instead of . - (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. - * emultempl/elf32.em: Include "safe-ctype.h" instead of . - (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of - isalnum. - * emultempl/gld960c.em: Include "safe-ctype.h" instead of . - (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of - isupper/tolower. - * emultempl/sunos.em: Include "safe-ctype.h" instead of . - (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. - * ldctor.c: Include "safe-ctype.h" instead of . - (ctor_prio): Use ISDIGIT instead of isdigit. - * ldfile.c: Include "safe-ctype.h" instead of . - (ldfile_open_file_search): Use ISALPHA instead of isalpha. - (ldfile_add_arch): Use ISUPPER/TOLOWER instead of - isupper/tolower. - * ldlang.c: Include "safe-ctype.h" instead of . - (stricpy): Use TOLOWER instead of isupper/tolower. - (lang_leave_overlay_section): Use ISALNUM instead of isalnum. - * ldlex.l: Include "safe-ctype.h" instead of . - (lex_warn_invalid): Use ISPRINT instead of isprint. - * ldmain.c: Include "safe-ctype.h" instead of . - (main): For gettext, also set the LC_CTYPE locate facet. - (add_keepsyms_file): Use ISSPACE instead of isspace. - * lexsup.c: Include "safe-ctype.h" instead of . - (is_num, parse_args): Use ISDIGIT instead of isdigit. - * mpw-elfmips.c: Include "safe-ctype.h" instead of . - (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. - * mpw-eppcmac.c: Include "safe-ctype.h" instead of . - (gldppcmacos_read_file): Use ISSPACE instead of isspace. - * pe-dll.c: Include "safe-ctype.h" instead of . - (quoteput): Use ISSPACE instead of isspace. - (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM - instead of isalnum. - -2001-09-18 Alan Modra - - * deffilep.y (def_stash_module): Constify "name" param. - - * pe-dll.c: Replace CONST with const throughout. - (quick_symbol): Constify "n1", "n2", "n3" params. - (make_singleton_name_thunk): Constify "import" param. Make - "buffer_len" a size_t. - (make_import_fixup_entry): Constify "name", "fixup_name", - "dll_symname" params. - (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. - (pe_get32): Likewise. - (pe_implied_import_dll): Likewise. - - * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". - (sort_by_section_name): Likewise. - - * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. - (make_import_fixup): Cast printf arg, rel->address to long rather - than int. - (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. - -2001-09-15 Alan Modra - - * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX - defines BufferSize. Increase buffer size by one. - -2001-09-14 Ralf Habacker - - * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. - -2001-09-14 Kevin Lo - - * configure.tgt: Add arm-openbsd target. - -2001-09-12 H.J. Lu - - * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and - eelf64lppc.o to ... - (ALL_64_EMULATIONS): Here. - * Makefile.in: Regenerated. - -2001-09-12 Paul Sokolovsky - - * emultempl/pe.em(make_import_fixup): change signature to - take asection as well as arelec; we need this for proper - error reporting. Only call pe_create_import_fixup() if - there is no attempt to add a constant addend to the reloc; - otherwise, report error condition. - * pe-dll.c(pe_walk_relocs_of_symbol): change signature, - since final argument is a pointer to make_import_fixup(). - Change call to cb() to match make_import_fixup() signature. - (make_import_fixup_mark): make buffer_len unsigned. - * pe-dll.h: change signature of pe_walk_relocs_of_symbol. - -2001-09-12 Charles Wilson - - * ld.texinfo: add verbose documentation for auto-import - direct-addressing workaround, to compliment the terse - error message. - -2001-09-12 Andrew MacLeod - - * scripttempl/v850.sc: Add gcc_except_table sections. - -2001-09-11 Jeffrey A Law (law@cygnus.com) - - * emulparams/h8300helf.sh: Move stack to a much higher memory address. - * emulparams/h8300self.sh: Similarly. - -2001-09-05 Danny Smith - - * ld.texinfo (Options, --stack): Correct default value for stack - reserve. - -2001-09-05 Tom Rix - - * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. - -2001-09-03 Andreas Jaeger - - * emultempl/beos.em: Declare prototypes for comparions functions, - adjust definitions. - -2001-09-02 Andreas Jaeger - - * emultempl/aix.em: Add missing prototype. - * emultempl/lnk960.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/gld960.em: Likewise. - - * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter - for prototype declaration. - -2001-08-31 Eric Christopher - Jason Eckhardt - - * ldmain.c (get_emulation): Add support for -mips32 and -mips64. - -2001-08-31 Andreas Jaeger - - * emultempl/pe.em: Add missing prototypes. - (gld_${EMULATION_NAME}_after_open): Remove extra args to - pe_find_data_imports. - (pr_sym): Add unused attribute. - -2001-08-29 Joel Sherrill - - * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change - default from coff to elf. - -2001-08-29 Jeff Law - - * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update - ARCH specification. - * emulparams/h8300self.sh: Similarly. - -2001-08-28 J"orn Rennecke - - * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and - eh8300self.o . - (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. - * configure.tgt (h8300-*-elf*): New case. - * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. - * emulparams/h8300self.sh: New file. - * Makefile.in: Regenerated. - -2001-08-28 Nick Clifton - - * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision - with macro name. - -2001-08-27 Linus Nordberg - Alan Modra - - * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. - (eelf64ppc.c, eelf64lppc.c): Add make targets. - Run "make dep-am" - * Makefile.in: Regenerate. - * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj - entries to correct alphabetical position. - * emulparams/elf64ppc.sh: New. - * emulparams/elf64lppc.sh: New. - -2001-08-27 Nick Clifton - - * ldmain.c (main): Declare BSIZE as static. - -2001-08-23 Jakub Jelinek - - * emultempl/elf32.em (place_orphan): Place orphan .rel* sections - into .rel.dyn resp. .rela.dyn if combreloc. - (get_script): If .x linker script is equal to .xn, only put it - once into the binary. - Add .xc and .xsc scripts. - (parse_args): Handle -z combreloc and -z nocombreloc. - * scripttempl/elf.sc (.rela.sbss): Fix a typo. - For .xc and .xsc scripts put all .rel* or .rela* input sections - but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. - * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME - is elf. - Strip trailing whitespace from script. - Generate .xc and .xsc scripts if requested. - * ldmain.c (main): Initialize link_info.combreloc and - link_info.spare_dynamic_tags. - * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. - (ld_options): Add --spare-dynamic-tags option. - (parse_args): Likewise. - * ld.texinfo: Document -z combreloc and -z nocombreloc. - * ldint.texinfo: Document .xc and .xsc linker scripts. - * NEWS: Add notes about -z combreloc and SHF_MERGE. - -2001-08-22 H.J. Lu - - * emulparams/elf32fr30.sh: Add a newline. - -2001-08-21 Andreas Jaeger - - * deffilep.y: Add missing prototypes. - * pe-dll.c: Likewise. - -2001-08-20 Alan Modra - - * ldlang.c (insert_pad): Fix typos in last patch. - - * ldlang.c: When traversing lang_statement_union_type lists, - consistently use "header.next" rather than "next". - * mpw-eppcmac.c: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/pe.em: Likewise. - * ldlang.h (union lang_statement_union): Remove "next" field. - - * ldlang.c (insert_pad): Use offsetof macro. - (lang_size_sections): Always neuter padding statements. - * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. - - * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param - passed to lang_size_sections. - (pe_exe_fill_sections): Likewise. - * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. - (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. - -2001-08-18 Alan Modra - - * emultempl/aix.em: Formatting fixes. - -2001-08-18 Alan Modra - - * ldlang.c (insert_pad): Make use of an existing pad statement if - available. Move code calculating alignment, adjusting section - alignment power, and adjusting dot to .. - (size_input_section): .. here. Remove unused relax param. - (lang_size_sections): Change boolean `relax' param to boolean *. - Adjust call to size_input_section. Make use of insert_pad to - place pad after the assignment statement. If relaxing, zap - padding statements. - (reset_memory_regions): Reset output_bfd section sizes too. - (relax_again): Move to.. - (lang_process): ..here. Adjust call to lang_size_sections, and - remove duplicated code. - * ldlang.h (lang_size_sections): Change `relax' param to boolean *. - -2001-08-17 Alan Modra - - * ld.texinfo: Document that fill values now use the four least - significant bytes. - * emulparams/elf32fr30.sh (NOP): Update. - * emulparams/elf32mcore.sh: Likewise. - * emulparams/elf64_s390.sh: Likewise. - * emulparams/elf_i386.sh: Likewise. - * emulparams/elf_i386_be.sh: Likewise. - * emulparams/elf_i386_chaos.sh: Likewise. - * emulparams/elf_i386_ldso.sh: Likewise. - * emulparams/elf_s390.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - * emulparams/i386moss.sh: Likewise. - * emulparams/i386nw.sh: Likewise. - * emulparams/m68kelf.sh: Likewise. - * scripttempl/elf.sc: Update NOP comment. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/nw.sc: Likewise. - -2001-08-15 Tom Rix - - * ldgram.y (saved_script_handle): Initialize to NULL. - * ldmain.c (main): Change check on saved_script_handle. - -2001-08-14 Alan Modra - - * emultempl/elf32.em: Formatting fixes. - (output_prev_sec_find): Test for bfd_ind_section too; do so by - looking at sec->owner. - (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. - (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove - unused code, and reorganize orphan section placement code. - - * ldlang.c (wild_doit): Rename to lang_add_section. - * ldlang.h: Here too. - * mpw-elfmips.c: And here. - * emultempl/beos.em: And here. - * emultempl/elf32.em: And here. - * emultempl/hppaelf.em: And here. - * emultempl/pe.em: And here. - -2001-08-13 Richard Henderson - - * emultempl/needrelax.em: New file. - * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. - * Makefile.am (eelf64_ia64.c): Depend on it. - * Makefile.in: Rebuild. - -2001-08-13 Alan Modra - - * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that - output_section is set non-NULL. - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return - `true' for SEC_EXCLUDE sections so that the generic code doesn't - needlessly create an output_section_statement. Treat a correctly - named output_section_statement with NULL bfd_section as compatible. - -2001-08-13 Hans-Peter Nilsson - - * emultempl/generic.em: Support EXTRA_EM_FILE. - (ld_${EMULATION_NAME}_emulation): Support emulation parameters - LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, - LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, - LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, - LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, - LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, - LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, - LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, - LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, - LDEMUL_FIND_POTENTIAL_LIBRARIES. - -2001-08-12 Richard Henderson - - * scripttempl/elf.sc, scripttempl/elfd30v.sc, - scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, - scripttempl/v850.sc: Keep .jcr data. - -2001-08-12 H.J. Lu - Andrew Haley - Nick Clifton - - * ldgram.y (had_script): Change name to saved_script_handle. - Change type to file handle. - * ld.h (had_script): Rename and retype. - * ldfile.c (ldfile_open_command_file): Save the file handle - used in saved_script_handle. - * lexsup.c (parse_args): Do not allow -c option to alter - saved_script_handle. - * ldmain.c (main): Print out the linker script used if - --verbose is given. Check saved_script_handle to obtain the - external linker script used, or if NULL, dump the builtin - script. - * ld.texinfo: Document that --verbose now dumps the linker - script used, regardless of whether it was an internal or an - external script. - -2001-08-10 Andreas Jaeger - - * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes - to build warnings. - * configure: Regenerate. - -2001-08-09 Alan Modra - - * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. - - * scripttempl/elf.sc: Move non-text .dynamic section before - .plt/.got/.sdata* group. - (OTHER_GOT_SECTIONS): Move to immediately after .got. - (OTHER_SDATA_SECTIONS): Add. - * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than - OTHER_GOT_SECTIONS. - * emulparams/crislinux.sh: Likewise. - * emulparams/elf32b4300.sh: Likewise. - * emulparams/elf32bmip.sh: Likewise. - * emulparams/elf32bmipn32.sh: Likewise. - * emulparams/elf32bsmip.sh: Likewise. - * emulparams/elf32btsmip.sh: Likewise. - * emulparams/elf32ebmip.sh: Likewise. - * emulparams/elf32elmip.sh: Likewise. - * emulparams/elf32l4300.sh: Likewise. - * emulparams/elf32lmip.sh: Likewise. - * emulparams/elf32lsmip.sh: Likewise. - * emulparams/elf32ltsmip.sh: Likewise. - * emulparams/elf64bmip.sh: Likewise. - * emulparams/elf64btsmip.sh: Likewise. - * emulparams/elf64ltsmip.sh: Likewise. - -2001-08-08 Alan Modra - - * genscripts.sh: Source the emulparams script before each output - script is generated so that variables like `RELOCATING' may affect - variables defined in the emulparams script. - -2001-08-04 Alan Modra - - * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this - order. - - * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, - ie. iterate over wild_statement.section_list. - (gld${EMULATION_NAME}_place_orphan): Likewise. - -2001-08-03 Stephane Carrez - - * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle - .fini[0-4] sections used by _exit - (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. - (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. - * scripttempl/elfm68hc11.sc: Likewise. - -2001-08-03 H.J. Lu - - * emultempl/beos.em (init): Add the missing initialization. - -2001-08-03 Alan Modra - - * ld.texinfo (Input Section Basics): Clarify ordering of output - sections. - * ldlang.c (callback_t): Add wildcard_list param. - (walk_wild_section): Remove "section" param. Rewrite for - lang_wild_statement_type change. Remove unique_section_p test. - (walk_wild_file): Remove "section" param. - (walk_wild): Remove "section" and "file" params. - (lang_gc_wild): Likewise. - (wild): Likewise. Modify for lang_wild_statement_type change. - (wild_sort): Likewise. Add "sec" param. - (gc_section_callback): Likewise. - (output_section_callback): Likewise. Do unique_section_p test. - (map_input_to_output_sections): Modify call to wild. - (lang_gc_sections_1): Likewise. - (print_wild_statement): Modify for lang_wild_statement_type - change. - (lang_add_wild): Replace filename, filenames_sorted param with - filespec. Replace section_name, sections_sorted, - exclude_filename_list with section_list. - * ldlang.h (lang_add_wild): Here too. - (lang_wild_statement_type): Replace section_name, sections_sorted, - and exclude_filename_list with section_list. - * ldgram.y (current_file): Delete. - (%union): Add wildcard_list. - (file_NAME_list): Set type to wildcard_list. Build a linked list - rather than calling lang_add_wild for each entry. - (input_section_spec_no_keep): Call lang_add_wild here instead. - * ld.h (struct wildcard_list): Declare. - * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. - -2001-08-02 Charles Wilson - - * ldmain.c (main): initialize link_info.pei386_auto_import - * pe-dll.c: new tables for auto-export filtering - (auto_export): change API, pass abfd for contextual filtering. - Loop thru tables of excluded symbols instead of comparing - "by hand". - -2001-08-02 Paul Sokolovsky - - * pe-dll.c: new variable pe_dll_enable_extra_debug. New - static variable current_sec (static struct sec *). Add - forward declaration for add_bfd_to_link. - (process_def_file): Don't export undefined symbols. Do not - export symbols starting with "_imp__". Call auto_export() - with new API. - (pe_walk_relocs_of_symbol): New function. - (generate_reloc): add optional extra debugging - (pe_dll_generate_def_file): eliminate extraneous initial blank - line in output - (make_one): enlarge symtab to make room for __nm__ symbols - (DATA auto-import support). - (make_singleton_name_thunk): New function. - (make_import_fixup_mark): New function. - (make_import_fixup_entry): New function. - (pe_create_import_fixup): New function. - (add_bfd_to_link): Specify that 'name' argument is a CONST - char *. - * pe-dll.h: declare new variable pe_dll_extra_pe_debug; - declare new functions pe_walk_relocs_of_symbol and - pe_create_import_fixup. - * emultempl/pe.em: add new options --enable-auto-import, - --disable-auto-import, and --enable-extra-pe-debug. - (make_import_fixup): New function. - (pe_find_data_imports): New function. - (pr_sym): New function. - (gld_${EMULATION_NAME}_after_open): Add optional extra pe - debugging. Call pe_find_data_imports. Mark .idata as DATA, not - CODE. - -2001-08-02 Charles Wilson - - * ld.texinfo: add additional documentation for - --export-all-symbols. Document --out-implib, - --enable-auto-image-base, --disable-auto-image-base, - --dll-search-prefix, --enable-auto-import, and - --disable-auto-import. - * ldint.texinfo: Add detailed documentation on auto-import - implementation. - -2001-07-30 Nick Clifton - - * ld.texinfo (Simple Assignments): Fix computation in SECTIONS - example. - -2001-07-24 Alan Modra - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate - -2001-07-23 Alan Modra - - * ldcref.c (check_section_sym_xref): New function. - (check_nocrossrefs): Call it. - (check_nocrossref): Interate over h->refs here instead of.. - (check_refs): ..here. Pass in the symbol name, section, and bfd - rather than hash_entry pointers. - (struct check_refs_info): Keep symbol name rather than hash entry. - Remove "same". - (check_reloc_refs): Tweak for above changes in check_refs_info. - Only report references to section syms when symname is NULL to - prevent duplicate messages for the same reloc. - -2001-07-19 Nick Clifton - - * ldexp.c (exp_print_tree): Use stderr if config.map_file is not - available. Do not print NULL trees. - (exp_print_token): Print unknown tokens with values > 126 as - decimal values not ASCII characters. - - * ldlang.c (lang_leave_overlay): If a region is specified assign - it to all sections inside the overlay unless they have been - assigned to the own, non-default, memory region. - - * README: Add header for consistency with other README files. - -2001-07-14 H.J. Lu - - * emultempl/elf32.em (output_prev_sec_find): Never return - bfd_abs_section_ptr, bfd_com_section_ptr nor - bfd_und_section_ptr. - -2001-07-14 Nick Clifton - - * Makefile.am (em32relf.c): Change dependency from generic.em to - elf32.em. - * Makefile.in: Regenerate. - -2001-07-14 matthew green - - * configure.tgt (i386-*-netbsdelf*): New target. - (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' - -2001-07-13 Jakub Jelinek - - * emultempl/elf32.em (output_prev_sec_find): New. - (place_orphan): Use it. - -2001-07-11 H.J. Lu - - * ldmain.c (main): Fix typos in the last change. - -2001-07-11 Jakub Jelinek - - * ldmain.c (main): Disallow -F and -f without -shared. - -2001-07-11 Nick Clifton - - * emultempl/pe.em (after_open): Check for the output_bfd not - having any coff_data structure allocated to it. - -2001-07-09 David O'Brien - - * emultempl/elf32.em: Do not assuming that contents of the buffer - returned from basename function will remain unchanged accross other - function calls. - -2001-07-03 H.J. Lu - - * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on - 2001-07-03. It creates dynamic entries even for static binaries. - -2001-07-03 Jakub Jelinek - - * scripttempl/elf.sc (DYNAMIC_PAD): New variable. - (DYNAMIC): Use it to reserve few dynamic entries for - post-linking tools. - -2001-06-27 Alan Modra - - * emulparams/hppa64linux.sh: New file. - * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh - * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o - (ehppa64linux.c): Add rule to make it. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-06-21 Hans-Peter Nilsson - - * ld.texinfo (Options, -r): Mention restrictions when using - different object formats. - -2001-06-19 Hans-Peter Nilsson - - * ldlang.c (lang_check): Emit fatal error if relocatable link - between different object flavours with relocations in input. - -2001-06-19 H.J. Lu - - * ld.texinfo (-E, --export-dynamic): Mention --version-script. - (--version-script): Mention the language support. - -2001-06-19 H.J. Lu - - * ldlang.c (lang_check): Revert the change mode on 2001-06-15. - -2001-06-18 H.J. Lu - - * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. - (diststuff): Add $(MANS). - * Makefile.in: Regenerated. - - * ld.1: Removed. - -2001-06-18 Hans-Peter Nilsson - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. - * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. - * ld.h (args_type): Remove member export_dynamic. All users - changed to use struct bfd_link_info member. - - * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on - $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. - * Makefile.in: Regenerate. - -2001-06-18 H.J. Lu - - * ldlang.c (init_os): Add the newline to the einfo call. - (lang_check): Likewise. - (lang_do_version_exports_section): Likewise. - -2001-06-15 H.J. Lu - - * lexsup.c (parse_args); Save optind to report unrecognized - option. - -2001-06-15 Hans-Peter Nilsson - - * ldlang.c (lang_check): Emit fatal error if relocatable link - between different object flavours. - - * lexsup.c (parse_args) : - Set new link_info member export_dynamic. - * ldmain.c (main): Initialize new link_info member export_dynamic. - -2001-06-12 Nick Clifton - - * ldlang.c (walk_wild): Only call walk_wild_file if - lookup_name returns something. - (lookup_name): If load_symbols fails, return NULL. - (load_symbols): Change to a boolean function. - (open_input_bfds): If load_symbols fails then do not make the - executable. - -2001-06-08 Alan Modra - - * ldlang.c (record_bfd_errors): Remove. - - * emultempl/aix.em: Fix copyright dates. - -2001-06-07 Andreas Jaeger - - * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. - (TEXT_START_ADDR): Likewise. - -2001-06-06 Martin Schwidefsky - - * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. - -2001-06-05 Danny Smith - - * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. - -2001-05-31 H.J. Lu - - * ldlang.c (open_input_bfds): Don't change the bfd error - handler whilst loading symbols. - -2001-05-28 Nick Clifton - - * configure.tgt: Remove i370-mvs architecture, it is not currently - supported. - -2001-05-25 H.J. Lu - - * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK - like emulparams/aixppc.sh. - -2001-05-25 H.J. Lu - - * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move - setting of output_filename after bfd_scan_arch. - * emultempl/pe.em: Likewise. - -2001-05-25 H.J. Lu - - * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK - like emulparams/aixppc.sh. - - * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed - instead of ${srcdir}/emultempl/stringify.sed. - -2001-05-25 Timothy Wall - - * emulparams/elf64_aix.sh: Change settings to match IBM linker - output. - -2001-05-25 Alan Modra - - * configure.host: Replace linuxoldld with linux*oldld. - * configure.tgt: Likewise. - -2001-05-24 H.J. Lu - - * emultempl/stringify.sed: Removed again. - -2001-05-24 H.J. Lu - - * emultempl/aix.em (OUTPUT_ARCH): Defined. - (gld${EMULATION_NAME}_before_parse): Initialize - ldfile_output_architecture, ldfile_output_machine and - ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - -2001-05-24 Tom Rix - - * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) - udate import file format. - (change_symbol_mode) New, same - (is_syscall) New, same - * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK - * emulparams/aixppc64.sh : same - * emulparams/aixrs6.sh : same - * emulparams/ppcmacos.sh : same - * emultempl/aix.em : use strtoull to parse options - * Makefile.am : add eaixppc64 emulation for xcoff64 - * Makefile.in : same - * configure.tgt : same - - * scripttempl/aix.sc : default text section offset to 0x10000000 - default data section offset to 0x20000000 - add .sv3264 and .sv64 pseudo sections - loader and debug sections use the currect section offset. - - * emultempl/aix.em : Add xcoff64 support - Add -binitfini support - (gld${EMULATION_NAME}_before_parse) -binitfini - (gld${EMULATION_NAME}_parse_args) same - (gld${EMULATION_NAME}_before_allocation) format change for special - sections - - * emulparams/aixppc64.sh : New file for xcoff64 support - -2001-05-23 Alexandre Oliva - - * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new - variable to avoid non-portable shell construct. - -2001-05-23 Thiemo Seufer - - * ldmain.c (get_emulation): Add -mips5 command line argument. - -2001-05-22 Alexandre Oliva - - * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. - (ELF_INTERPRETER_NAME): Define it. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use - it. - * configure.tgt (targ_emul, targ_extra_emuls) - [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso - as primary, elf_i386 as extra. - * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. - (eelf_i386_ldso.c): New rule. - * Makefile.in: Rebuilt. - -2001-05-22 Nick Clifton - - * lexsup.c (ld_options): Allow -I to be an alias for - --dynamic-linker. This is for Solaris compatability. - * ld.texinfo: Document that -I can be used. - * ld.1: Regenerate. - -2001-05-16 Alan Modra - - * ldlang.c (wild_doit): Use linker_has_input to reliably determine - whether an input section is the first one assigned to an output - section. - Assorted formatting fixes. - -2001-05-14 DJ Delorie - - * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. - * Makefile.in: Ditto. - -2001-05-11 Jakub Jelinek - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put - .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* - output sections. - * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. - -2001-05-11 Jakub Jelinek - - * ldlang.c (lang_process): Call bfd_merge_sections. - -2001-05-07 Thiemo Seufer - - * ldgram.y: Fix typo. - -2001-05-03 H.J. Lu - - * emultempl/elf32.em: Include "libiberty.h". - (gld${EMULATION_NAME}_vercheck): Call basename () to get the - basename of the bfd filename. - (gld${EMULATION_NAME}_stat_needed): Likewise. - (gld${EMULATION_NAME}_try_needed): Likewise. - (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. - -2001-05-02 H.J. Lu - - * emultempl/pe.em: Include . - -2001-05-02 Johan Rydberg - - * emulparams/elf32openrisc.sh: New file. - - * Makefile.am: Add OpenRISC target. - * Makefile.in: Regenerated. - - * configure.tgt: Add openrisc-*-* mapping. - -2001-05-02 Nick Clifton - - * emultempl/aix.em: Replace buystring with xstrdup. - * emultempl/beos.em: Replace buystring with xstrdup. - -2001-05-02 H.J. Lu - - * ldfile.c: Include "libiberty.h". - * ldlex.l: Likewise. - - * ldmisc.c (buystring): Removed. - * ldmisc.h: Likewise. - - * ldfile.c: Replace buystring with xstrdup. - * ldlang.c: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmisc.c: Likewise. - * lexsup.c: Likewise. - * mpw-eppcmac.c: Likewise. - -2001-04-30 Andreas Jaeger - - * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. - -2001-04-28 Paul Sokolovsky - - * ldlang.c (load_symbols): Give emulation a chance - to process unrecognized file before fatal error is - reported, not after. - -2001-04-27 Sean McNeil - - * configure.tgt: Add arm-vxworks target. - * scripttempl/armcoff.sc: Support .text or .data as a section name - prefix. - Define _etext. - -2001-04-13 J.T. Conklin - - * ld.texinfo: Document --fatal-warnings. - * ld.1: Regenerate. - - * ldmisc.c (vfinfo): Set flag to inhibit making executable if - warnings have been turned into errors. - * lexsup.c (OPTION_WARN_FATAL): Define. - (ld_options): Entry for --fatal-warnings. - (parse_args): Handle OPTION_WARN_FATAL. - * ld.h (ld_config_type): Add fatal_warnings field. - -2001-04-13 Jakub Jelinek - - * ldmain.c (main): Default to discard_sec_merge. - * lexsup.c (OPTION_DISCARD_NONE): Define. - (ld_options): Add --discard-none. - (parse_args): Handle OPTION_DISCARD_NONE. - * ldlang.c (wild_doit): SEC_MERGE should be set in the output - section only if SEC_MERGE and SEC_STRINGS flags and entsize of - all its input sections match. - -2001-04-05 Steven J. Hill - - * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. - (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. - (eelf32ltsmip.c): New target. - (eelf64btsmip.c): Likewise. - (eelf64ltsmip.c): Likewise. - * Makefile.in: Regenerated. - - * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS - target. - (mips*-*-linux-gnu*): Likewise. - - * emulparams/elf32ltsmip.sh: New. Traditional little endian - MIPS taget. - * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian - target. - * emulparams/elf64ltsmip.sh: New. Traditional 64bit little - endian target. - -2001-04-05 Hans-Peter Nilsson - - * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide - correct value of __Stext here. - (TEXT_START_SYMBOLS): Define; always define __Stext, to start of - .startup section. - - * emulparams/crislinux.sh: Remove FIXME. - -2001-04-02 Alan Modra - - * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. - (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. - -2001-03-27 Hans-Peter Nilsson - - * configure.tgt (cris-*-*): Change default emulation to criself. - (cris-*-*aout*): New rule. - -2001-03-27 Matthew Wilcox - - * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. - (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - -2001-03-26 Andreas Jaeger - - * ld.texinfo (Overview): Fix syntax in texi code. - -2001-03-25 Stephane Carrez - - * ld.texinfo: Put @c man indications to generate the ld man page. - When generating man, define all the variables. Define SEEALSO - and SYNOPSIS. Re-organize some lines to avoid the cross references. - * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. - (ld.1): Generate from ld.texinfo. - * Makefile.in: Regenerate. - -2001-03-23 Mark Elbrecht - - * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' - and '-fdata-sections'. Set the VMA of STABS sections to zero. - -2001-03-17 Ulrich Drepper - - * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME - is an absolute path look only for this file and not along the path. - -2001-03-17 Ulrich Drepper - - * emultempl/elf32.em (OPTION_GROUP): New macro. - Add new option Bgroup to longopts. - (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. - (gld*_list_options): Add -Bgroup and -z defs. - * ld.1: Document -Bgroup and -z defs. - * ld.texinfo: Likewise. - -2001-03-07 Michael Meissner - - * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal - with sections created by -fdata-sections. - (.dynbss,.bss): Ditto. - -2001-03-05 Alan Modra - - * emultempl/m68kelf.em (m68k_elf_after_allocation): Call - after_allocation_default, not gld..._before_allocation. - -2001-02-27 Alan Modra - - * configure.in (BFD_VERSION): New. - (AM_INIT_AUTOMAKE): Use $BFD_VERSION. - * configure: Regenerate. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2001-02-26 Timothy Wall - - * emulparams/elf64_aix.sh: Add additional read-only sections; - uncomment lines which are now required. - -2001-02-26 H.J. Lu - - * ldlang.c (open_input_bfds): Set the bfd error handler so - that problems can be caught whilst loading symbols. - (record_bfd_errors): New function: Report BFD errors and mark - the executable output as being invalid. - -2001-02-22 Timothy Wall - - * configure.host: Add configuration for ia64-*-aix*. - * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. - Add dependencies for eelf64_aix.c. - * Makefile.in: Regenerate. - * configure.tgt: Add ia64-*-aix* mapping. - * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. - -2001-02-20 H.J. Lu - - * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to - false if we found the file. - -2001-02-18 David O'Brien - - * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, - FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. - -2001-02-18 lars brinkhoff - - * Makefile.am: Add PDP-11 target. - * configure.tgt: Likewise. - * emulparams/pdp11.sh: New file. - -2001-02-17 David O'Brien - - * configure.host: Add a generic FreeBSD configuration entry such that - all [modern] FreeBSD systems on all platforms will look the same. - -2001-02-14 H.J. Lu - - * configure.tgt: Remove mention of earmelf_linux26. - -2001-02-13 Richard Henderson - - * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. - -2001-02-13 H.J. Lu - - * ldexp.h (node_type): Add etree_provided. - * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node - type to etree_provided if defined by PROVIDE. Allow updating - for etree_provided. - (exp_print_tree): Handle etree_provided. - * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle - etree_provided. - -2001-02-09 David Mosberger - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add - .IA_64.unwind.* pattern to unwind table section and - .IA_64.unwind_info* pattern to unwind info section. - -2001-02-09 Martin Schwidefsky - - * Makefile.am: Add linux target for S/390. - * Makefile.in: Likewise. - * configure.host: Likewise. - * configure.tgt: Likewise. - * emulparams/elf64_s390.sh: New file. - * emulparams/elf_s390.sh: New file. - -2001-02-09 Jakub Jelinek - - * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into - targ_extra_libpath. - (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. - -2001-02-06 Philip Blundell - - * Makefile.am: Remove mention of earmelf_linux26. - * Makefile.in: Regenerate. - -2001-02-04 Philip Blundell - - * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. - * emulparams/armelf_linux26.sh: Delete. - * configure.tgt: Remove mention of armelf_linux26 emulation. - -2001-02-01 Nick Clifton - - * ld.1: Replace occurances of -oformat with --oformat. - -2001-01-25 Jim Driftmyer - - * ldlang.c (lang_leave_overlay): Don't set lma_region when - load_base is specified. - -2001-01-24 Hans-Peter Nilsson - - * emultempl/elf32.em: Correct spelling in comments and listed - options. - -2001-01-23 Alan Modra - - * ldlang.c (lang_leave_overlay): Only set lma_region from the - default for the first section of a group of overlay sections. - -2001-01-22 Alan Modra - - * Makefile.am (GENSCRIPTS): Pass exec_prefix. - * Makefile.in: Regenerate. - * genscripts.sh: Use exec_prefix parameter to specify tool lib. - Check for null tool_dir. - -2001-01-16 Jim Wilson - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind - and IA_64.unwind.info. - -2001-01-16 H.J. Lu - - * ldlang.c (lang_check): Merge the private data only if the - input file has contents. - -2001-01-14 Alan Modra - - * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. - - * emultempl/hppaelf.em (hppaelf_after_parse): New function, - enabling search for libmilli. On a relocatable link, make .text - sections unique. - (LDEMUL_AFTER_PARSE): Define. - (hppaelf_finish): Correct spelling of relocatable in comments. - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - rummage through the script for sections on the unique list. - Correct length of strncmp for ".note". - (gld${EMULATION_NAME}_check_needed): Rearrange function. - - * ldlang.c (unique_section_list): New var. - (unique_section_p): New function. - (walk_wild_section): Don't match sections on unique_section_list. - (lang_add_unique): New function. - Correct spelling of relocatable in comments. - - * ldlang.h (struct unique_sections): Declare. - (unique_section_list): Declare. - (unique_section_p): Declare. - (lang_add_unique): Declare. - - * lexsup.c (ld_options): Allow --unique to take an optional arg. - (parse_args [OPTION_UNIQUE]): Call lang_add_unique. - - * ld.texinfo (--unique): Update. - -2001-01-13 Nick Clifton - - * lexsup.c (parse_args): Remove spurious white space. - -2001-01-12 Nick Clifton - - * lexsup.c (parse_args): Update copyright date. - -2001-01-12 Philip Blundell - - * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. - -2001-01-10 Kazu Hirata - - * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. - * scripttempl/h8300h.sc: Fix formatting. - * scripttempl/h8300s.sc: Likewise. - * scripttempl/h8500.sc: Likewise. - * scripttempl/h8500b.sc: Likewise. - * scripttempl/h8500c.sc: Likewise. - * scripttempl/h8500m.sc: Likewise. - * scripttempl/h8500s.sc: Likewise. - -2000-01-07 David O'Brien - - * emultempl/elf32.em: Only perform Linux ld hints processing when - targeting Linux. - -2001-01-07 Philip Blundell - - * ld.texinfo (Bug Reporting): Update email address for reports. - -2000-12-31 Nick Clifton - - * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long - options by checking for a return value of '?' not -1. - -2000-12-28 Nick Clifton - - * lexsup.c (struct ld_option): Add new enum value: - EXACTLY_TWO_DASHES. - (ld_options[]): Change -omagic, -output and -oformat options - to be EXACTLY_TWO_DASHES. - (OUTPUT_COUNT): Use ARRAY_SIZE. - (parse_args): Change parameter 'argc' to unsigned. - Place EXACTLY_TWO_DASHES options into new really_longopts - array. - If getopt_long_only fails, try calling getopt_long using the - really_longopts array. - (help): Print a double dash for both EXACTLY_TWO_DASHES and - TWO_DASHES options. - - * ldlex.h: Fix prototype of parse_args. - - * ld.texinfo: Document that long options starting with 'o' - must be preceeded by two dashes. Change example of a single - dashed long option from -oformat to -trace-symbol. - -2000-12-26 Danny Smith - - * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. - (longopts[]): New --no-default-excludes option. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse_args): Handle. - -2000-12-13 Michael Sokolov - - * ldlang.c (new_stat): Revert the last beautification with "innocent" - whitespace, it breaks the K&R C preprocessor. - -2000-12-11 DJ Delorie - - * ld.texinfo: Add notes about --whole-archive and gcc. - -2000-11-18 Fred Fish - - * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. - (ld_options): Entry for --allow-shlib-undefined. - (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. - * ldmain.c (main): Initialize link_info.allow_shlib_undefined - to false. - * ld.texinfo: Document new command line switch. - -2000-12-12 Geoffrey Keating - - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): - .fixup is actually read/write. - * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. - -2000-12-11 Jan Hubicka - - * NEWS: Add note about x86_64 architecture. - -2000-12-06 Mark Elbrecht - - * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. - Set DWARF2 sections to a VMA of zero. - -2000-12-01 Joel Sherrill - - * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): - New targets. - (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. - (sparc*-*-rtems*): Switched from a.out to ELF. - -2000-11-30 Jan Hubicka - - * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o - (eelf_x86_64.c): New. - * Makefile.in: Regenerate. - * configure.tgt: Add support for x86_64-*-linux-gnu*. - * emulparams/elf_x86_64.sh: New. - -2000-11-30 Hans-Peter Nilsson - - * emulparams/crislinux.sh (ENTRY): Change back to _start. - (TEXT_START_SYMBOLS): Remove conditional setting of __start. - - * scripttempl/crisaout.sc: Change all RELOCATING not related to - merging non-a.out sections into CONSTRUCTING. - -2000-11-28 Nick Clifton - - * ld.1 (COPYING): Mention that the GNU Free Documentation - License is present in the sources, but not the output, and - also available from the GNU website. - (GNU Free Documentation License): Comment out this section. - -2000-11-28 David O'Brien - - * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF - does not use them. - -2000-11-25 David O'Brien - - * ld.1: Remove old date so it does not give the impression the manpage - is way out of date. - -2000-11-24 Nick Clifton - - * configure.tgt (xscale-coff): Add target. - (xscale-elf): Add target. - -2000-11-24 Fred Fish - - * ldmain.c (main): Remove redundant init of config.make_executable - to true. - -2000-11-15 Richard Henderson - - * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. - -2000-11-14 Kazu Hirata - - * scripttempl/h8300.sc: Fix formatting. - * scripttempl/h8300h.sc: Likewise. - * scripttempl/h8300s.sc: Likewise. - -2000-11-14 Denis Chertykov - - * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. - -2000-11-09 Philip Blundell - - * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME - around orphan sections whose names can be represented in C. - -2000-11-07 Jim Wilson - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local - hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. - -2000-11-06 Nick Clifton - - * ld.texinfo: Add GNU Free Documentation License. - * ldint.texinfo: Add GNU Free Documentation License. - * ld.1: Add GNU Free Documentation License. - -2000-11-05 Alan Modra - - * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, - yy_is_interactive, yy_at_bol, and yy_fill_buffer. - - * Makefile.am (DISTCLEANFILES): Add stringify.sed. - Move 2000-11-02 Makefile.in changes to this file. - * Makefile.in: Regenerate. - -2000-11-03 Nick Clifton - - * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose - constructors and destructors. - * scripttempl/h8300h.sc: Ditto. - * scripttempl/h8300s.sc: Ditto. - * scripttempl/h8500.sc: Ditto. - * scripttempl/h8500b.sc: Ditto. - * scripttempl/h8500c.sc: Ditto. - * scripttempl/h8500m.sc: Ditto. - * scripttempl/h8500s.sc: Ditto. - * scripttempl/v850.sc: Ditto. - * scripttempl/w65.sc: Ditto. - * scripttempl/z8000.sc: Ditto. - -2000-11-02 Per Lundberg - - * Makefile.in (e_i386_chaos.c): New rule. - (ALL_EMULATIONS): Added e_i386_chaos.o. - * emulparams/elf_i386_chaos.sh: New file. - * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. - -2000-10-20 Jakub Jelinek - - * emulparams/elf64_sparc.sh (TEXT_START_ADDR, - NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. - Fix sed invocation, so that it coped with '/' in Solaris 64bit - library path suffix. - Based on patch by Andrew Macleod . - -2000-10-18 Hans-Peter Nilsson - - * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), - for consecutive sections. - -2000-10-17 Chandrakala Chavva - - * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific - options. - * ld.texinfo: Added notes about this new option. - -2000-10-16 Nick Clifton - - * emultempl/pe.em (_after_open): Add tests of return values from - bfd functions. Emit appropriate error messages if necessary. - -2000-10-13 Nick Clifton - - * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' - local variables - they are not used, but leave in the call to - bfd_canonicalize_symtab. - (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of - pe_dll_search_prefix. - -2000-10-12 Charles Wilson - - * emultempl/pe.em (pe_dll_search_prefix): New variable, - (longopts): New --dll-search-prefix option. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse_args): Handle. - (gld_${EMULATION_NAME}_open_dynamic_archive): When linking - dynamically, search for a dll named '.dll' - in preference to 'lib.dll' if --dll-search-prefix - is specified. - -2000-10-12 Alan Modra - - * ldlang.c (section_already_linked): Set kept_section instead of - sec->comdat->sec. - -2000-10-10 Kazu Hirata - - * deffile.h: Fix formatting. - * lexsup.c: Likewise. - * mri.c: Likewise. - -2000-10-09 Paul Sokolovsky - - * pe-dll.c (make_one): Do not generate code thunk for DATA - exports. - (process_def_file): deduce DATA flag for auto-export sumbols. - -2000-10-09 Kazu Hirata - - * ld.h: Fix formatting. - * ldcref.c: Likewise. - * ldctor.h: Likewise. - * ldemul.c: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldmain.c: Likewise. - * pe-dll.c: Likewise. - - * pe-dll.c: Revert some formatting fixes. - -2000-10-08 Kazu Hirata - - * pe-dll.c: Fix formatting. - -2000-10-05 Kazu Hirata - - * ldlang.c: Fix formatting. - -2000-10-03 DJ Delorie - - * pe-dll.c (fill_edata): initialize entire block - (make_one): fill in correct section. - -2000-10-03 Kazu Hirata - - * ldexp.c: Fix formatting. - -2000-10-02 DJ Delorie - - * emultempl/pe.em (gld_*_after_open): detect case where there two - import libraries for same dll; rename one to ensure proper link - order. - - * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix - typo - (generate_edata): fix typo - -2000-09-29 Hans-Peter Nilsson - - * scripttempl/crisaout.sc (ENTRY): Now __start. - (.text): Add default setting for __start. - Remove CONSTRUCTORS handling. - (/DISCARD/): Add .gnu.warning.*. - * emulparams/crislinux.sh (ENTRY): Now __start. - (TEXT_START_SYMBOLS): New; provide __Stext and __start default. - * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. - (ENTRY): Now __start. - (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. - (EXECUTABLE_SYMBOLS): Add default setting for __start. - -2000-09-29 Kazu Hirata - - * deffile.h: Fix formatting. - * ld.h: Likewise. - * ldcref.c: Likewise. - * ldctor.c: Likewise. - * ldctor.h: Likewise. - * ldemul.c: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2000-09-28 Paul Sokolovsky - - * pe-dll.c (process_def_file): Uninitialized data wasn't - exported with --export-all-symbols switch. - -2000-09-28 DJ Delorie - - * pe-dll.c (fill_edata): rearrange the data so that ordinals and - noname work properly. - -2000-09-28 Alan Modra - - * ld.texinfo (HPPA ELF32): New section. - - * emultempl/hppaelf.em (group_size): New. - (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. - (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate - options to prevent abbreviations matching. - (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. - (PARSE_AND_LIST_ARGS_CASES): Handle it. - -2000-09-21 Michael Sokolov - - * emultempl/m68kelf.em: Conditionalise the embedded relocs feature - on the m68*-*-elf target. Make it support COFF input objects. - -2000-09-21 Kazu Hirata - - * ldmain.c: Fix formatting. - * ldmisc.c: Likewise. - * ldver.c: Likewise. - * ldwrite.c: Likewise. - -2000-09-21 Alan Modra - - * ldwrite.c (clone_section): Silence gcc warnings. - -2000-09-20 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle - out of memory failure. - - * ldwrite.c (ldwrite): Remove unnecessary einfo arg. - (clone_section): Handle out of memory failures. Rename var to - avoid c++ reserved word. - -2000-09-18 Alan Modra - - * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename - stub_name param to stub_sec_name. - (hppaelf_finish): Modify call to elf32_hppa_size_stubs. - -2000-09-10 Michael Sokolov - - * emultempl/m68kelf.em: New file. - * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. - * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. - * Makefile.in: Regenerate. - -2000-09-15 Alan Modra - - * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ - only as needed. - -2000-09-13 Nick Clifton - - * ldmain.c (multiple_definition): Disable relaxation if - multiple symbol definitions are encountered - otherwise the - linker could abort with an assertion failure. - -2000-09-10 Nick Clifton - - * mri.c: Fix formatting. - -2000-09-07 H.J. Lu - - * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. - * configure: Rebuild. - -2000-09-07 H.J. Lu - - * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. - * Makefile.in: Rebuild. - -2000-09-07 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix - broken list handling. Create __start_SECNAME and __stop_SECNAME - when no place-holder. Add some comments. Test both SEC_CODE and - SEC_READONLY for hold_text to prevent .rodata orphan poisoning. - Handle case where no output section statement created. - -2000-09-07 Niibe Yutaka , Kaz Kojima , Alexandre Oliva - - * configure.tgt (sh-*-linux*): Added. - * Makefile.am: Added eshelf_linux and eshlelf_linux. - * Makefile.in: Rebuilt. - * emulparams/shelf_linux.sh: New file. - * emulparams/shlelf_linux.sh: New file. - -2000-09-06 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - try shuffling sections when the orphan happens to be the place - holder. Keep count of unique section names generated so we speed - the search for a new name. - -2000-09-06 Alexandre Oliva - - * configure: Rebuilt with new libtool.m4. - -2000-09-05 Nick Clifton - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * config.in: Regenerate. - * po/ld.pot: Regenerate. - - * ldint.texinfo: Remove CVS revision marker - it foils local - comparisons. - - * emultempl/ticoff.em: Remove extraneous comma. - -2000-09-05 Alan Modra - - * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC - to stub section flags. - (hppa_for_each_input_file_wrapper): New. - (hppa_lang_for_each_input_file): New. - (lang_for_each_input_file): Define to call above. - (multi_subspace): New. - (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (hppaelf_finish): Call elf32_hppa_set_gp. - (hppaelf_set_output_arch): Remove. - (LDEMUL_SET_OUTPUT_ARCH): Remove. - - * emulparams/hppalinux.sh (ELFSIZE): Define. - (MACHINE): Define. - (OTHER_READONLY_SECTIONS): Define. - (DATA_PLT): Define. - (GENERATE_SHLIB_SCRIPT): Define. - - * ldlang.c: Add missing prototypes, and tidy others. Change CONST - to const throughout. Change `void *' to `PTR' throughout. - (lang_memory_default): Function is local to file, add `static'. - - * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. - (ehppalinux.c): Likewise. - (earmelf.c): Likewise. - (earmelf_linux.c): Likewise. - (earmelf_linux26.c): Likewise. - * Makefile.in: Regenerate. - - * ld.h (ld_config_type): Add unique_orphan_sections. - * lexsup.c (OPTION_UNIQUE): Define. - (ld_options): Add "--unique". - (parse_args): Handle it. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - search for an existing output section if unique_orphan_sections is - set. Make use of bfd_get_unique_section_name rather than - duplicating code here. - * ld.texinfo: Describe --unique. - - * lexsup.c (ld_options): Make split-by-reloc arg optional. Add - optional arg to split-by-file. - (parse_args): Handle them. - * ld.texinfo: Update description of these options. - * ldwrite.c (clone_section): Pass in the section name. Replace - local code with bfd_get_unique_section_name. - (split_sections): Tidy code and comments. Use a list traversal - more appropriate to the list construction. Handle cooked section - sizes. Split when split_by_reloc reached rather than exceeded. - Track section size and split when split_by_file reached. Fix - link_order_tail (even though it's not used). - (ldwrite): Modify condition for calling split_sections to suit - changed split_by_reloc and split_by_file. - * ldmain.c (main): Init config.split_by_reloc and - config.split_by_file to -1. - * ld.h (ld_config_type): Change split_by_reloc to unsigned. - Change split_by_file to bfd_size_type. - -2000-09-02 Nick Clifton - - * configure.in: Increase version number to 2.10.91. - * NEWS: Mention new ability to support removal of duplicate DWARF2 - debug information. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - -2000-09-02 Daniel Berlin - - * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info - sections. - * scripttempl/elf32avr.sc: Ditto. - * scripttempl/elfd10v.sc: Ditto. - * scripttempl/elfd30v.sc: Ditto. - * scripttempl/elfi370.sc: Ditto. - * scripttempl/elfm68hc11.sc: Ditto. - * scripttempl/elfm68hc12.sc: Ditto. - * scripttempl/elfi386beos.sc: Ditto. - * scripttempl/v850.sc: Ditto. - -2000-08-31 Alexandre Oliva - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-08-25 Nick Clifton - - * ldlang.c (open_output): When choosing the target for a - particular endianness, do nothing if the target is not - supported. - -2000-08-25 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't - check -rpath nor LD_RUN_PATH for cross link. - * ld.texinfo: Document the change. - -2000-08-24 Hans-Peter Nilsson - - * NEWS: Mention support for CRIS. - -2000-08-23 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get - the current runpath list from bfd_elf_get_runpath_list () - before search. - -2000-08-22 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search - the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after - LD_LIBRARY_PATH for native linker. Display the needed DSO if - trace_file_tries is non-zero. - (gld${EMULATION_NAME}_try_needed): Report the needed DSO found - if trace_file_tries is non-zero. - - * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. - * NEWS: Mention it. - -2000-08-14 Jason Eckhardt - - * NEWS: Mention i860 support. - -2000-08-14 Andreas Schwab - - * scripttempl/elf.sc: Fix last change to use correct comment - syntax. - -2000-08-10 Geoff Keating - - * scripttempl/elf.sc: Add a comment giving the correspondence - between sections, per-datum sections, and linkonce sections. Make - the comment true even for .bss, .sdata, .sdata2, .sbss, and - .sbss2. - -2000-08-10 Jason Eckhardt - - * emulparams/elf32_i860.sh: New file. - * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. - * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. - (eelf32_i860.c): New rule. - * Makefile.in: Regenerate. - -2000-08-10 Nick Clifton - - * emulparams/mipspe.sh (ENTRY): Add definition. - -2000-08-08 Peter Jeremy - - * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath - in error message. - -2000-08-08 Stephane Carrez - - * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate - the final size of .bss section. - * scripttempl/elfm68hc12.sc: Likewise. - -2000-08-04 Alan Modra - - * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to - gld${EMULATION_NAME}_parse_args for consistency. Combine - lastoptind and prevoptind vars, and keep track of last optind. - (gld_${EMULATION_NAME}_list_options): Rename to - gld${EMULATION_NAME}_list_options. - -2000-08-03 Rodney Brown - - * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 - (i586-sco-sysv5uw7.1.0). - -2000-07-27 H.J. Lu - - * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. - (PARSE_AND_LIST_PROLOGUE): New. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (PARSE_AND_LIST_EPILOGUE): Likewise. - -2000-07-28 Alan Modra - - * emultempl/armelf.em: Elide functions common to elf32.em, - ie. most of the file. - (arm_elf_after_open): New. Do arm specific things then call - gld${EMULATION_NAME}_after_open. - (arm_elf_before_allocation): New. Call - gld${EMULATION_NAME}_before_allocation then do arm specifics. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_SHORTOPTS): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (LDEMUL_AFTER_OPEN): Define. - (LDEMUL_BEFORE_ALLOCATION): Define. - (LDEMUL_BEFORE_PARSE): Define. - (LDEMUL_FINISH): Define. - - * emultempl/hppaelf.em: Similarly zap most of this file. - (hppaelf_add_stub_section): Prototype. - (hppaelf_layaout_sections_again): Prototype. - (hook_in_stub): Prototype. - (LDEMUL_SET_OUTPUT_ARCH): Define. - (LDEMUL_FINISH): Define. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. - - * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. - (EXTRA_EM_FILE): New. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armelf_linux26.sh: Likewise. - * emulparams/hppalinux.sh: Likewise. - * emulparams/hppaelf.sh: Likewise. - (NOP): Define. - - * emultempl/elf32.em: Fix formatting. - (EXTRA_EM_FILE): Source it. - (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, - LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, - LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, - LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, - LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, - LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, - LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, - LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, - LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to - allow functions in this file to be overridden. - (PARSE_AND_LIST_SHORTOPTS): Handle it. - - * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. - - * emultempl/elf32.em: Reorganize file. - -2000-07-27 Ivan Kokshaysky - - * emulparams/elf64alpha.sh: Implement "-taso" emulation - specific option to fit 64-bit executable in the lower - 31-bit address range. This is done by changing start - address of .interp (the very first section of executable) - and then setting EF_ALPHA_32BIT elf header flag. - -2000-07-21 Michael Sokolov - - * emultempl/m68kcoff.em: New file. - * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. - * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than - generic.em. - * Makefile.in: Regenerate. - -2000-07-20 H.J. Lu - - * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" - and "disable-new-dtags" to stop getopt from treating -d/-e as - abbreviations for these options. - -2000-07-20 H.J. Lu - - * ld.texinfo: Add documentation for --disable-new-dtags and - --enable-new-dtags. - - * ldmain.c (main): Initialize link_info.new_dtags to false. - - * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add - --disable-new-dtags and --enable-new-dtags. - (gld_${EMULATION_NAME}_list_options): Likewise. - -2000-07-05 Kenneth Block - - * lexsup.c: Add optional style to demangle switch - * ld.texinfo: Document optional style to demangle switch. - -2000-07-20 Hans-Peter Nilsson - - * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, - ecrislinux.o. - (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. - Regenerate dependencies. - * Makefile.in: Rebuild. - * configure.tgt (cris-*-*): New target. - * emulparams/crisaout.sh, emulparams/criself.sh, - emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. - * po/POTFILES.in, po/ld.pot: Regenerate. - -2000-07-20 H.J. Lu - - * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): - Print out ignored -z options. - -2000-07-19 H.J. Lu - - * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. - (PARSE_AND_LIST_PROLOGUE): New. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - - * ldmain.c (main): Clear link_info.flags and link_info.flags_1. - - * lexsup.c (ld_options): Comment out 'z'. - (parse_args): Likewise. - - * emultempl/elf32.em: Include "elf/common.h". - (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z - options. - (gld_${EMULATION_NAME}_list_options): Likewise. - - * ld.texinfo: Add documentation for the recognized -z options. - -2000-07-19 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call - bfd_elf_set_dt_needed_soname (). - -2000-07-18 DJ Delorie - - * pe-dll.c (pe_dll_id_target): check object target name also - -2000-07-18 Hans-Peter Nilsson - - * scripttempl/elf.sc (.init): Only do ${INIT_START} and - ${INIT_END} if relocating. - (.fini): Likewise ${FINI_START} and ${FINI_END}. - -2000-07-16 Charles Wilson - - * emultempl/pe.em (gld_*_open_dynamic_archive): New search - order for dynamic library '-lfoo' on pei386: libfoo.dll.a, - foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility - errors introduced by the old dynamic lib search order. - -2000-07-17 DJ Delorie - - * pe-dll.c (process_def_file): auto-export data items also - (pe_process_import_defs): also see if _imp_ form needed - -2000-07-12 Charles Wilson - - * pe-dll.c (make_one): fix a typo in the __imp_ name decoration - for dll import libraries - -2000-07-12 Mark Elbrecht - - * scripttempl/i386go32.sc: Support the g++ attribute init_priority in - gcc 2.95.2 and later. - -2000-07-11 Kazu Hirata - - * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error - message. - -2000-07-10 Alan Modra - - * ldemul.h (struct lang_input_statement_struct): Remove forward - declaration. - (struct search_dirs): Likewise. - * ldfile.h (struct lang_input_statement_struct): Likewise. - Protect file from multiple inclusion. - * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain - declaration from macro to file scope. - - * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. - * ldgram.y: Likewise here. - * ldlang.c: And here. - * ldmain.c: And here. - * mpw-elfmips.c: And here. - * mpw-eppcmac.c: And here. - * emultempl/aix.em: And here. - * emultempl/armcoff.em: And here. - * emultempl/armelf.em: And here. - * emultempl/armelf_oabi.em: And here. - * emultempl/beos.em: And here. - * emultempl/elf32.em: And here. - * emultempl/hppaelf.em: And here. - * emultempl/linux.em: And here. - * emultempl/lnk960.em: And here. - * emultempl/pe.em: And here. - * emultempl/sunos.em: And here. - * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. - * mpw-idtmips.c: Ditto. - * emultempl/generic.em: Ditto. - * emultempl/gld960.em: Ditto. - * emultempl/gld960c.em: Ditto. - * emultempl/mipsecoff.em: Ditto. - * emultempl/ticoff.em: Ditto. - * emultempl/vanilla.em: Ditto. - - * pe-dll.c: Include ldfile.h - * ldver.c: Include ldexp.h, ldlang.h, ldfile.h - - * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing - arguments to bfd_elf32_size_dynamic_sections call. - (gldelf32ebmip_place_orphan): Add missing arguments to - lang_leave_output_section_statement call. - -2000-07-10 H.J. Lu - - * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with - DLL_SUPPORT. - (strhash): Likewise. - (compute_dll_image_base): Likewise. - (pe_undef_found_sym): Likewise. - (pe_undef_cdecl_match): Likewise. - (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the - argument "arch" with ATTRIBUTE_UNUSED. - -2000-07-10 Alan Modra - - * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. - - From Ryan Bradetich - * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. - -2000-07-09 Alan Modra - - Changes to create multiple linker stubs, positioned immediately - before the section where they are required. - * emultempl/hppaelf.em: Include elf32-hppa.h. - (stub_sec, file_chain): Delete. - (hppaelf_create_output_section_statements): Don't make a stub - section here. - (hook_stub_info): New struct. - (hook_in_stub): New function. - (hppaelf_add_stub_section): New function. - (hppaelf_finish): Do nothing for relocateable links. Modify the - call to elf32_hppa_size_stubs. Move code for updating section - layout from here... - (hppaelf_layaout_sections_again): ..to here, a new function. - - * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix - broken list handling. Pass in a pointer to the list. - (hppaelf_finish): Update call to hppaelf_delete_padding_statements - for above changes. - (hppaelf_before_parse): Prototype. - (hppaelf_set_output_arch): Prototype. - (hppaelf_create_output_section_statements): Prototype. - (hppaelf_delete_padding_statements): Prototype. - (hppaelf_finish): Prototype. - - Merge from elf32.em - * emultempl/hppaelf.em: Include ctype.h. - (struct orphan_save): New. - (gld${EMULATION_NAME}_place_orphan): New. - (output_rel_find): New. - (hppaelf_get_script): Update from elf32.em. - (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. - Change emulation_name field to "${EMULATION_NAME}". Add - gld${EMULATION_NAME}_place_orphan. - - * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add - ehppalinux.o, sort it. Regenerate dependencies. - (ehppalinux.c): Depend on hppaelf.em - * Makefile.in: Regenerate. - - * configure.tgt: targ_emul=hppalinux for hppa*linux - - * emulparams/hppalinux.sh: New. - * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. - -2000-07-08 Alan Modra - - * lexsup.c (parse_args): Copy section name. - -2000-07-07 Charles Wilson - - * emultempl/pe.em: institute the following search order for - dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import - libs), libfoo.dll, foo.dll (link direct to dll). Fall back to - static lib (libfoo.a) if none of the above are found. - -2000-07-07 Mumit Khan - - * emultempl/pe.em (pe_enable_auto_image_base): New variable. - (longopts): New --{enable,disable}-auto-image-base options. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse): Handle. - (strhash): New static function. - (compute_dll_image_base): New static function. - (gld_${EMULATION_NAME}_set_symbols): Use. - -2000-07-05 DJ Delorie - - * MAINTAINERS: new - -2000-07-01 Koundinya K - - * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. - * emulparams/elf32btsmip.sh: New file. - * Makefile.am: Add traditional mips target. - * Makefile.in: Rebuild. - -2000-07-01 H.J. Lu - - * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for - automake to use YLWRAP. - * Makefile.in: Rebuild. - -2000-07-01 Alan Modra - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-30 Timothy Wall - - * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode - the page in the upper octet of the address. - -2000-06-26 Marek Michalkiewicz - - * emulparams/avrmega161.sh (ARCH): Change to avr:5. - -2000-06-24 Alan Modra - - * NEWS: arm-elf does --gc-sections too. - -2000-06-22 Alan Modra - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - -2000-06-21 H.J. Lu - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-20 H.J. Lu - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-20 Timothy Wall - - * scripttempl/tic54xcoff.sc: New. - * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. - * gen-doc.texi: Add flag for TI COFF. - * ld.texinfo: Add documentation for TI COFF handling switches. - * emultempl/ticoff.em: New. TI COFF handling. - * configure.tgt: Add tic54x target. - * Makefile.am: Add tic54x target. - * Makefile.in: Ditto. - -2000-06-20 Alan Modra - - * ldmain.c (set_scripts_dir): Correct pointer comparison when - checking for backslashes. - -2000-06-19 Alan Modra - - * NEWS: Move entries not in 2.10 above "Changes in version 2.10". - -2000-06-18 Alan Modra - - * NEWS: Update list of targets supporting --gc-sections. - - * scripttempl/elf.sc: KEEP .eh_frame contents. - * scripttempl/elfd30v.sc: Same here. - -2000-06-18 Stephane Carrez - - * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 - and m68hc11 (elf). - * Makefile.in: Rebuild. - * configure.tgt: Recognize m68hc12 and m68hc11. - * scripttempl/elfm68hc12.sc: New file. - * emulparams/m68hc12elfb: New emulation. - * emulparams/m68hc12elf: New emulation. - * emulparams/m68hc11elfb.sh: New file. User configurable emulation - (includes a memory.x script to define the ROM and RAM banks). - * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: - New configuration files for support of Motorola 68hc11 - -2000-06-15 Alan Modra - - * ldmain.c (main): Only change SEC_READONLY for final link. - -2000-06-13 H.J. Lu - - * configure: Regenerate. - -2000-06-08 David O'Brien - - * configure.in (VERSION): Update to show this is the CVS mainline. - -2000-06-07 Michael Sokolov - - * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all - input objects to be ECOFF. - (check_sections): einfo takes %B, not %P, to print a BFD name. - -2000-06-05 Michael Matz - - * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in - version scripts. - - * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. - -2000-05-23 Marek Michalkiewicz - - * emulparams/avr1200.sh (STACK): Define as 0. - * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. - * emulparams/avr4433.sh (STACK): Likewise. - * emulparams/avr44x4.sh (STACK): Likewise. - * emulparams/avr85xx.sh (STACK): Likewise. - * emulparams/avrmega103.sh (STACK): Likewise. - * emulparams/avrmega161.sh (STACK): Likewise. - * emulparams/avrmega603.sh (STACK): Likewise. - * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. - (__stack): Define from ${STACK} for main(). - -2000-05-26 Alan Modra - - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - -2000-05-26 Eli Zaretskii - - * ldmain.c: Include filenames.h. - (set_scripts_dir): Support backslashes in program name. - -2000-05-22 Igor Shevlyakov - - * ldmain.c (main): When deciding if ".text" section should be - read-only, don't forget to reset SEC_READONLY because it - could be already set. - -2000-05-22 Thomas de Lellis - - * ld.1: Add documentation for new command line option: - --section-start = - This is a generic version of -Ttext etc. which accepts - any section name as a parameter instead of just text/data/ - bss. - * ld.texinfo: More docs. - * NEWS: More docs. - * lexsup.c: (parse_args): Recognize new command line option. - (ld_options): Add new option. - -2000-05-18 H.J. Lu - - * lexsup.c (parse_args): `i' == `r', not `q'. - -2000-05-18 Jeffrey A Law (law@cygnus.com) - - * configure.tgt (hppa*64*-*-*): Enable PA64 target. - -2000-05-17 S. Bharadwaj Yadavalli - Rick Gorton - - Add support for '-q' == '--emit-relocs' switch. - * ldmain.c (main): Default to false. - * lexsup.c (parse_args): Turn on emitrelocations flag if set. - * NEWS: Describe the emitrelocations switch. - * ld.texinfo: Describe the emitrelocations switch. - -2000-05-16 Charles Wilson - - * emultempl/pe.em (_open_dynamic_archive): New function: Search - the library path for "foo.dll" and "libfoo.dll" dynamic libraries - before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' - link options. - -2000-05-15 David O'Brien - - * lexsup.c (parse_args): Update the year in the copyright notice. - -2000-05-13 Alan Modra - - * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): - Replace defines with those from intl/libgettext.h to quieten gcc - warnings. - -2000-05-10 H.J. Lu - - * ldlang.c (open_input_bfds): Don't load the same file within - a group again if the whole archive has been loaded already. - -2000-05-03 Alan Modra - - From Ulf Carlsson and Andreas Jaeger - * lexsup.c (set_section_start): Use bfd_scan_vma rather than - strtoul. - -2000-05-01 Jim Wilson - - * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. - - * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - host "ia64-*-linux-gnu*". - -2000-04-29 Andreas Jaeger - - * ld.h: Correctly check GCC version. - -2000-04-25 Jeffrey A Law (law@cygnus.com) - - * Makefile.am: Add PA64 support. Add missing dependencies for - PA32 elf support. - * Makefile.in: Rebuilt. - * configure.tgt: Add PA64 support (currently disabled). - -2000-04-25 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. - (output_rel_find): New function. - (hold_section, hold_use): Delete. - (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, - hold_interp): Make local to place_orphan. - (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find - rather than place_section to find possible previous use of orphan. - Similarly find the place-holder output sections. Use returned - value from lang_enter_output_section_statement rather than calling - lang_output_section_statement_lookup. - * emultempl/armelf.em: Same here. - * emultempl/pe.em: Similar to above, but no need for output_rel_find. - - * ldlang.c (lang_enter_output_section_statement): Return output - section statement. - * ldlang.h (lang_enter_output_section_statement): Change - declaration too. - - * ldlang.h (lang_output_section_statement): Export it. - * ldlang.c (lang_output_section_statement): Ditto. - -2000-04-24 Nick Clifton - - * ld.texinfo (Output Section Data): Add note that section data - commands cannot appear outside of section directives. - -2000-04-2 Matthew Green - - * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. - -2000-04-21 Richard Henderson - David Mosberger - - * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. - (eelf64_ia64.c): New rule. - * Makefile.in: Rebuild. - * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. - * emulparams/elf64_ia64.sh: New file. - -2000-04-21 Richard Henderson - - * scripttempl/elfd30v.sc: Place .gcc_except_table. - -2000-04-19 Alan Modra - - * dep-in.sed: Match space at start of file name, not at end. - -2000-04-18 H.J. Lu - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call - lang_leave_output_section_statement () after calling - lang_enter_output_section_statement (). - * emultempl/armelf.em: Likewise. - -2000-04-18 Alan Modra - - * emultempl/elf32.em (struct orphan_save): Add section field. - (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in - better order, and place first orphan section as we did before the - 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. - Don't call make_bfd_section here, let wild_doit do the job for us. - Don't build a statement list when we'll only throw it away. - * emultempl/armelf.em: Ditto. - * emultempl/pe.em: Similarly. - -2000-04-14 Geoff Keating - - * scripttempl/elfppc.sc: Remove. - * emulparams/elf32ppc.sh: Use elf.sc. - * emulparams/elf32lppc.sh: Use elf.sc. - * emulparams/elf32ppclinux.sh: Use elf.sc. - * emulparams/elf32ppcsim.sh: New file. - * emulparams/elf32lppcsim.sh: New file. - * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. - (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. - * Makefile.in: Regenerate. - * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. - -2000-04-14 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process - ~SEC_ALLOC sections too. Init start address of debug sections. - * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. - * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. - Also set all relocateable section start addresses. - -2000-04-13 Geoff Keating - - * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. - Add new BSS_PLT variable for when .plt need not be contained in - the file. Move _etext so that it is also after .fini, and provide - both etext and _etext with a leading underscore. Mark the start - and end of .sbss. - -2000-04-12 Alan Modra - - * emultempl/elf32.em (struct orphan_save): New. - (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, - hold_interp): Make them struct orphan_save. - (gld${EMULATION_NAME}_place_section): Modify for new hold_*. - (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to - the end of the relevant section list. Also add associated section - statements to the end of any previous orphan statements. - * emultempl/armelf.em: Similarly. - * emultempl/pe.em: Similarly. - -2000-04-11 Alan Modra - - * ld.texinfo (Simple Example): Remove extraneous paragraph. - -2000-04-07 Andrew Cagney - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure: Re-generate. - -2000-04-04 Alan Modra - - * po/ld.pot: Regenerate. - - * lexsup.c (help): Restore translated part of bug string. - - * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. - (DEP): Quote when passing vars to sub-make. Add warning message - to end. - (DEP1): Rewrite for "gcc -MM". - (CLEANFILES): Add DEP2. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-03 Alan Modra - - * ld.h: #include "bin-bugs.h" - * lexsup.c (help): Use REPORT_BUGS_TO. - -2000-03-27 Denis Chertykov - - * configure.tgt (avr-*-*): New target support. - * Makefile.am: Likewise. - * scripttempl/elf32avr.sc: New script file. - * emulparams/avr1200.sh: New file. - * emulparams/avr23xx.sh: New file. - * emulparams/avr4433.sh New file. - * emulparams/avr44x4.sh New file. - * emulparams/avr85xx.sh New file. - * emulparams/avrmega103.sh New file. - * emulparams/avrmega161.sh New file. - * emulparams/avrmega603.sh New file. - * Makefile.in: Regenerate. - -2000-03-09 Andreas Jaeger - - * Makefile.am (check-DEJAGNU): Also unset LANG. - * Makefile.in: Rebuild. - -2000-03-06 Ian Lance Taylor - - * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty - archive. - -2000-03-02 H.J. Lu - - * emulparams/elf32mcore.sh: Include "getopt.h". - -2000-03-01 Ian Lance Taylor - - * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. - -2000-03-01 H.J. Lu - - * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. - * emulparams/shpe.sh: Likewise. - -2000-03-01 Nick Clifton - - * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED - to unused parameters. - - * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static - functions only used by DLL code. - (_place_orphan): Initialise 'dollar'. - -2000-03-01 H.J. Lu - - * ldmain.c (undefined_symbol): Take one more arg, fatal, to - indicate if the undefined symbol is a fatal error or not. - Don't delete the output file if "fatal" is false. - -2000-02-29 H.J. Lu - - * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". - Set LC_COLLATE and LC_ALL to null and export them. It is for - sort which expects the C locale. - Add $(LIBS) to all $(HOSTING_LIBS). - * Makefile.in: Rebuild. - -2000-02-29 Alan Modra - - * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, - beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, - linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} - (ld_emulation_xfer_struct): Add missing NULL initialiser for - find_potential_libraries. - -2000-02-28 Jim Blandy - - * ldgram.y (exclude_name_list): Don't require a comma to separate - list entries; the lexer considers commas to be valid part of a - filename, so in something like `foo, bar' the comma is considered - part of the first filename, `foo,'. - * ld.texinfo: Update section on EXCLUDE_FILE lists. - -2000-02-27 Loren J. Rittle - - * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - host "i[3456]86-*-freebsdelf*". - -2000-02-27 Mark Elbrecht - - * scripttempl/i386go32.sc: Move misplaced semicolons. - -2000-02-25 Ian Lance Taylor - - * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. - (ALL_64_EMULATIONS): Remove eelf64hppa.o. - (eelf64hppa.c, ehppaelf.c): Remove targets. - * Makefile.in: Rebuild. - -2000-02-25 Alexandre Oliva - - * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on - GNU/Linux/sparc, but keep the default as 32. - - * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make - it default if sparcv9 or sparc64. - -2000-02-24 Nick Clifton - - * Makefile.am: Add rules to build emipspe.o and earmpe.o. - * Makefile.in: Regenerate. - * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. - - * ldemul.h (ld_emulation_xfer_struct): Add new field: - find_potential_libraries. - * ldemul.c (ldemul_find_potential_libraries): New function. - - * ldfile.c (ldfile_open_file_search): Allow function to be - exported. - (ldfile_open_file): Call ldemul_find_potential_libraries. - * ldfile.h: Add prototype for ldfile_open_file_search. - - * pe-dll.c: Add support for ARM, MIPS and SH targets. - - * emulparams/mipspe.sh: New file. Parameters for mips-pe target. - * emulparams/shpe.sh: New file. Parameters for sh-pe target. - - * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. - (gld_X_find_potential_libraries): New function. Search for - libraries called "*.lib". - - * scripttempl/pe.sc: Add .pdata section. - -2000-02-23 Richard Henderson - - * scripttempl/elfd10v.sc: Remove dynamic linking hooks. - Add and use memory regions. - -2000-02-23 Linas Vepstas (linas@linas.org) - - * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. - - * Makefile.am: Add support for Linux/IBM 370. - * configure.tgt: Likewise. - - * Makefile.in: Regenerate. - -2000-02-21 Alan Modra - - * ldlang.c (print_input_section, print_data_statement, - print_reloc_statement, print_padding_statement, insert_pad, - size_input_section, lang_check_section_addresses, - lang_size_sections, lang_do_assignments, lang_set_startof, - lang_one_common): Change `opb' to unsigned. - (lang_do_assignments): Also change `size' to unsigned. - -2000-02-16 Richard Henderson - - * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. - -2000-02-16 Timothy Wall - - * mri.c (mri_draw_tree): Add default LMA region argument to call - to lang_leave_output_section_statement. - * ldlang.h: Update prototypes with LMA region arguments. - * ldlang.c (lang_size_sections): Encapsulate region bounds - checking in os_check_region call. - (os_check_region): New function. - (lang_output_section_statement_lookup): Initialize lma_region. - (lang_leave_output_section_statement): Add LMA region argument. - (lang_leave_overlay): Ditto. - * ldgram.y: Handle LMA region syntax. - * ld.texinfo (Output Section Description): Describe LMA region usage. - * emultempl/armelf.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - * emultempl/elf32.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - * emultempl/pe.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - - -2000-02-04 Timothy Wall - - * ldlang.c (lang_check_section_addresses): Use bytes instead of - octets when calculating section end addresses. - -2000-02-04 Timothy Wall - - * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. - -2000-02-03 Timothy Wall - - * ldexp.c (fold_name): Make SIZEOF operator return byte count, not - octet count. - * ldlang.c (print_input_section, print_data_statement, - print_reloc_statement, print_padding_statement): Print target - address values and section sizes as bytes, not octets. - (insert_pad) Calculate padding size in octets, and adjust "dot" - by bytes. - (size_input_section) Always adjust "dot" by bytes, not octets. - (lang_check_section_addresses, lang_do_assignments) Adjust - "dot" by bytes, not octets. Use the larger of the directive size - or octets_per_byte for the number of octets actually allocated in - the output section. - (lang_set_startof) Make sure STARTOF returns a target address. - (lang_one_common) Record size changes in octets. - (lang_abs_symbol_at_end_of) Section end symbol's value is - recorded in target bytes. - * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. - to be clear about behavior when an octet is smaller than one byte. - -2000-01-27 Alan Modra - - * ldcref.c (output_cref): Don't pass message strings to printf - as format arg. - Update copyright. - - * ldmisc.c (vfinfo): Same here. - Update copyright. - -2000-01-23 Alan Modra - - * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, - generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, - mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): - Add missing NULL initialisers, and comments. - -2000-01-21 Nick Clifton - - * ldlang.c (lang_size_sections): Fix typo in comment. - -2000-01-18 H.J. Lu - - * ldlang.c (lang_size_sections): Also update the current - address of a region if the SEC_NEVER_LOAD bit is not set. - -2000-01-10 Philip Blundell - - * configure.tgt (arm*-*-conix*): New target. - -2000-01-07 Nick Clifton - - * ld.texinfo (Options): Remind users to preceed linker command - line switches with -Wl, (or whatever is appropriate) if it is - being invoked by a comnpiler driver program. - Fix description of the behaviour of the -n command line switch. - -2000-01-05 Catherine Moore - - * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. - (name_list): New. - * ld.texinfo (EXCLUDE_FILE): Update documentation. - * ldgram.y (wildcard_spec): Support a list of excluded_files. - (exclude_name_list): New. - ldlang.c (walk_wild_section): Support list of excluded files. - (print_wild_statement): Likewise. - (lang_add_wild): Likewise. - * ldlang.h (lang_wild_statement_type): Likewise. - * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. - -2000-01-04 Mumit Khan - - * pe-dll.c (pe_dll_warn_dup_exports): New variable. - (process_def_file): Use. - (pe_dll_compat_implib): New variable. - (make_one): Use. - - * pe-dll.h: Add exports of pe_dll_warn_dup_exports and - pe_dll_compat_implib. - - * emultempl/pe.em (longopts): Add warn-duplicate-exports and - compat-implib options. - (gld_${EMULATION_NAME}_list_options): List new options. - (gld_${EMULATION_NAME}_parse_args): Handle. - - * pe-dll.c (pe_dll_generate_implib): Use the correct name for output - dll. - - * deffilep.y (opt_name): Allow "." in name. - -For older changes see ChangeLog-9899 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/ld/ChangeLog-0001 b/ld/ChangeLog-0001 new file mode 100644 index 00000000000..9183afe56f1 --- /dev/null +++ b/ld/ChangeLog-0001 @@ -0,0 +1,3376 @@ +2001-12-21 Tom Rix + + (gld*_create_output_section_statements): New function. + For -binitfini support. + * emultempl/aix.em (gld*_before_parse): Fix comment. + * emultempl/aix.em (gld*_parse_args): Fix comment. + +2001-12-20 Jason Thorpe + + * configure.tgt (mips*-dec-netbsd*): Delete alias for + mips*el-*-netbsd*. + (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. + + * configure.tgt (arm-*-netbsdelf*): Add target. + (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. + * emulparams/armelf_nbsd.sh: Added. + * Makefile.am: Add rules for earmelf_nbsd. + * Makefile.in: Regenerate. + +2001-12-19 Andreas Jaeger , + Susanne Oberhauser + + * configure.host: Add rules for x86_64-*linux-gnu. Change + s390x-linux entry to use gcc to report configuration, replace gcc + with $CC in s390-linux + +2001-12-19 Andreas Jaeger + + * ld.texinfo (VERSION): Fix markup. + +2001-12-18 matthew green + + * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. + (m68kelfnbsd.c): New rule. + * Makefile.in: Regenerate. + * configure.tgt (m68*-hp-netbsd*): Renamed to .. + (m68*-*-netbsd*4k*): .. this. + (m68*-*-netbsdelf*): New target. + (m68*-*-netbsd*): Also include ELF support. + (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. + * emulparams/m68kelfnbsd.sh: New emulation. + +2001-12-18 Jakub Jelinek + + * ldgram.y (vers_node): Support anonymous version tags. + * ldlang.c (lang_register_vers_node): Ensure anonymous version + tag is not defined together with non-anonymous versions. + * ld.texinfo: Document it. + +2001-12-18 Nick Clifton + + * po/tr.po: New file: Turkish translation. + * configure.in (ALL_LINGUAS): Add tr. + * configure: Regenerate. + +2001-12-17 Jason Thorpe + + * Makefile.am: Add rules for eelf64alpha_nbsd. + * Makefile.in: Regenerate. + * configure.tgt (alpha*-*-netbsd*): Set + targ_emul to elf64alpha_nbsd. + * emulparams/elf64alpha_nbsd.sh: Added. + +2001-12-17 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust + section_tail when fiddling with section list. + (gld${EMULATION_NAME}_list_options): Ensure sentences aren't + broken into separate strings to make translation easier. + * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when + fiddling with section list. + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. + +2001-12-16 Hans-Peter Nilsson + + * scripttempl/mmo.sc: Add .debug_ranges to listed sections. + +2001-12-15 Alan Modra + + * ldmain.c (main): Initialise link_info.eh_frame_hdr. + +2001-12-13 Jakub Jelinek + + * emultempl/elf32.em (finish): Supply output_bfd + to bfd_elf*_discard_info. + (OPTION_EH_FRAME_HDR): Define. + (longopts): Add --eh-frame-hdr. + (parse_args): Handle it. + (list_options): Add --eh-frame-hdr to help. + * emultempl/hppaelf.em (finish): Supply output_bfd + to bfd_elf*_discard_info. + * scripttempl/elf.sc (.eh_frame_hdr): Add. + +2001-12-13 Alan Modra + + * lexsup.c (parse_args): Don't pass shortopts to second call to + getopt functions. Restore optind rather than decrementing before + second call. Remove errind as it now duplicates last_optind. + +2001-12-11 Christopher Faylor + + * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. + +2001-12-07 Geoffrey Keating + Richard Henderson + + * Makefile.am: Add support for xstormy16. + * configure.tgt: Add support for xstormy16. + * Makefile.in: Regenerate. + * emulparams/elf32xstormy16.sh: New file. + * scripttempl/xstormy16.sc: New file. + +2001-10-01 Christopher Faylor + + * Makefile.in (LIB_PATH): Make configurable. + (GENSCRIPTS): Set LIB_PATH in environment. + * configure.in: Substitute LIB_PATH. + * configure: Regenerate. + * configure.tgt (*cygwin): Set LIB_PATH for cross build. + * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. + +2001-12-07 Nick Clifton + + * lexsup.c (ld_options): Insert 'PROGRAM' into the text string + describing the -N option so that it is easier to translate into + foreign languages. + +2001-12-05 Nick Clifton + + * emultempl/pe.em (..._list_options): Replace multiple fprintf + statements describing a single option with a single, newline + escaped fprintf. This allows better translation into other + languages. + + * ldmain.c (add_archive_element): Combine multiple strings + into a single string to permit better translation into other + languages. + +2001-12-05 Tom Rix + + * Makefile.am: Remove eaixppc64. + * Makefile.in: Regenerate. + +2001-12-04 Tom Rix + + * emultempl/aix.em (choose_target): Change default target to + OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler + warning. + (gld*_read_file): Fix typo. + (change_symbol_mode): Add prototype. + (is_syscall): Same. + + * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. + * emulparams/aixrs6.sh : Same. + * emulparams/ppcmacos.sh : Same. + * emulparams/aixppc64.sh : Delete file. + * emultempl/aix.em : Formatting changes. + +2001-12-04 Hans-Peter Nilsson + + * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. + (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting + __Sbss. + (OTHER_END_SYMBOLS): Fix formatting. + * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. + (OTHER_END_SYMBOLS): Fix formatting. + +2001-12-04 Alan Modra + + * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. + +2001-12-02 Tom Rix + + * configure.tgt : Remove eaixppc64 emulations. + * Makefile.in : Remove eaixppc64.c + * ldemul.c (ldemul_choose_target): New parameters argc, argv. + (ldemul_default_target): Same. + * emultempl/gld960.em (gld960_choose_target): Same. + * emultempl/gld960c.em (gld960_choose_target): Same. + * scripttempl/aix.sc: Remove OUTPUT_FORMAT. + * emultempl/aix.em (is_syscall): syscall_mask now a variable. + * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. + * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. + * emultempl/aix.em (choose_target): New function. Handle emulation of + -b32 and -b64. + +2001-11-27 H.J. Lu + + * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. + * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. + * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. + + * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} + is not empty. + (SDATA): Likewise. + (REL_SDATA): Likewise. + (REL_SBSS): Likewise. + (REL_SDATA2): Likewise. + (REL_SBSS2): Likewise. + (SBSS2): Define if ${NO_SMALL_DATA} is not empty. + (SDATA2): Likewise. + +2001-11-25 Stephane Carrez + + * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and + destructor in rom. + * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. + +2001-11-22 H.J. Lu + + * Makefile.in: Regenerated with automake based on automake + 1.4-8 in RedHat 7.1. + +2001-11-22 Alan Modra + + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. + (config.status): Delete rule. + Add extra dependencies to cover sourced emulparams files. + * Makefile.in: Regenerate. + + * scripttempl/elf.sc: Order
,
.* and + corresponding linkonce sections as seen in input files. + Formatting fixes. Zero vma of all sections if not relocating. + (STACK): Define and insert if STACK_ADDR defined. + (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_END_SYMBOLS): Define. + (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. + (OTHER_READWRITE_SECTIONS): Likewise. + (OTHER_GOT_SECTIONS): Likewise. + (OTHER_SDATA_SECTIONS): Likewise. + (OTHER_BSS_SECTIONS): Likewise. + * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. + (OTHER_READWRITE_SECTIONS): Likewise. + * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. + (OTHER_READWRITE_SECTIONS): Likewise. + + * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. + (STACK_ADDR): Define. + * emulparams/armelf_oabi.sh: As for armelf.sh. + * emulparams/elf32mcore.sh: As for armelf.sh. + * emulparams/h8300elf.sh: As for armelf.sh. + * emulparams/mn10200.sh: As for armelf.sh. + * emulparams/shelf.sh: As for armelf.sh. + + * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_END_SYMBOLS): Define. + * emulparams/m32relf.sh: As for elf32fr30.sh. + * emulparams/h8300helf.sh: As for elf32fr30.sh. + * emulparams/h8300self.sh: As for elf32fr30.sh. + + * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol + defines with RELOCATING test. + (OTHER_SDATA_SECTIONS): Likewise. + (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. + (OTHER_END_SYMBOLS): ..this. + * emulparams/crislinux.sh: As for criself.sh. + + * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma + if not relocating. + (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. + (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order + normal and linkonce sections as seen in input files. + * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. + (TEXT_DYNAMIC): Likewise. + (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. + (OTHER_SDATA_SECTIONS): Likewise. + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. + * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. + * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. + (OTHER_PLT_RELOC_SECTIONS): Likewise. + (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce + sections as seen in input files. + * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. + * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma + if not relocating. + (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. + (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. + * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_SECTIONS): Instead, use this.. + (OTHER_END_SYMBOLS): ..and this. + + * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. + * emulparams/elf32bsmip.sh: Likewise. + * emulparams/elf32btsmip.sh: Likewise. + * emulparams/elf32ebmip.sh: Likewise. + * emulparams/elf32lmip.sh: Likewise. + * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. + * emulparams/elf32lsmip.sh: Likewise. + * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. + * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. + * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. + * emulparams/elf64btsmip.sh: Likewise. + * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. + * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. + * emulparams/elf32ppclinux.sh: Likewise. + * emulparams/elf32ppcsim.sh: Likewise. + * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. + * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. + * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. + * emulparams/h8300self.sh: Likewise. + * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. + * emulparams/sh.sh: Comment. + * emulparams/shl.sh: Source sh.sh, remove duplicates. + * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. + * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. + +2001-11-21 David Heine + Alan Modra + + * ldlang.c (map_input_to_output_sections): Replace "break" + accidentally removed with 2001-08-03 change. + (lang_gc_sections_1): Likewise. + +2001-11-21 Alan Modra + + * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. + +2001-11-20 Angela Marie Thomas + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead + of false when calling lang_size_sections. + * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. + +2001-11-15 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this + function when LDEMUL_FINISH isn't set to the same name. Don't + call ${LDEMUL_FINISH}. + (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. + * emultempl/armelf.em (arm_elf_finish): Call + gld${EMULATION_NAME}_finish. + * emultempl/hppaelf.em (hppaelf_finish): Rename to + gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and + hppaelf_layout_sections_again if necessary. + (need_laying_out): New var. + (hppaelf_layaout_sections_again): Rename to + hppaelf_layout_sections_again. Clear need_laying_out. + (PARSE_AND_LIST_OPTIONS): Format text. + +2001-11-14 H.J. Lu + + * emultempl/armelf.em (arm_elf_finish): Renamed from + gld${EMULATION_NAME}_finish. + (LDEMUL_FINISH): Set to arm_elf_finish. + +2001-11-14 Daniel Jacobowitz + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. + (struct ld_emulation_xfer_struct): Use it. + +2001-11-13 Ross Alexander + + * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add + additional symbols referenced by newer crt0.o files from HP. + +2001-11-12 Anthony Green + + * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. + +2001-11-12 Alfred M. Szmidt + + * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. + * Makefile.in: Regenerate. + +2001-11-02 Stephane Carrez + + * ld.texinfo: Use @command for commands, @option for options. + * Makefile.am (POD2MAN): Use 'GNU Development Tools' for + the page man title. + * Makefile.in: Rebuild. + +2001-11-04 Chris Demetriou + + * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): + Add support for targets. + +2001-11-02 Nick Clifton + + * configure.in (ALL_LINGUAS): Add "fr" and "sv" + * configure: Regernate. + * po/fr.po: New file. + * po/sv.po: New file. + +2001-11-01 NIIBE Yutaka + + * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls + as little endian default and to support big endian. + +2001-11-01 Chris Demetriou + + * ld.texinfo (Options): Document new option, -nostdlib. + * lexsup.c (OPTION_NOSTDLIB): New definition. + (ld_options): Add entry for "nostdlib". + (parse_args): Handle OPTIONS_NOSTDLIB. + * ldfile.c (ldfile_add_library_path): Don't add directories + to the search path if they weren't specified on the command line + and -nostdlib was specified. + * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. + +2001-10-31 Nick Clifton + + * lexsup.c (parse_args): Prevent infinite parsing loop when + "-rpath.a" is specified on the command line. + Replace calls to fprintf with calls to einfo. + +2001-10-31 John Marshall + + * ld.texinfo: A historical requirement that MEMORY and SECTIONS + appear only once across all the linker scripts involved in a link + invocation no longer applies. Make the documentation reflect + that. + +2001-10-31 NIIBE Yutaka + + * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu + targets. + (sh-*-linux*): Added targ_extra_libpath. + +2001-10-31 David Heine + + * ldlang.c (lang_size_sections): Keep a valid output_offset field + for padding statements. + +2001-10-30 Hans-Peter Nilsson + + * configure.tgt (mmix-*-*): New target. + * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. + Add dependencies to match. + * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, + emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, + scripttempl/mmo.sc: New files. + * gen-doc.texi: @set MMIX. + * ld.texinfo: Ditto. + [MMIX] Add MMIX node. + * Makefile.in: Regenerate. + +2001-10-29 Kazu Hirata + + * ldlang.c: Fix a comment typo. + +2001-10-23 Alan Modra + + * configure.host: Move alpha*-*-linux-gnu* entry to generic + entries, and match *-*-linux*. + +2001-10-20 Alan Modra + + * ldgram.y (mri_script_command): Surround processing of INCLUDE + with ldlex_script, ldlex_popstate. + (ifile_p1): Likewise. + * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the + correct slot. + (lex_push_file): Save current lineno to lineno_stack. Set lineno + to 1. Don't BEGIN(SCRIPT). + (lex_redirect): Similarly. + * ldmain.c (main): Set yydebug non-zero if YYDEBUG. + +2001-10-20 Nick Clifton + + * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and + __EH_FRAME_END__ and accept eh frames into data section. + Add ctor and dtor sections. + +2001-10-19 Danny Smith + + * pe-dll.c (autofilter_objectlist): Add gcrt0.o. + (auto-export): Fix indentation. + +2001-10-18 Danny Smith + + * pe-dll.c (autofilter_objectlist): Add startup objects + for profiling. + (auto-export): Constify char * p. + Extract file basename and use strcmp rather than ststr + for object lookup. + +2001-10-18 Chris Demetriou + + * ldmain.c (get_emulation): Improve comment about the handling + of -mipsN options. + +2001-10-17 Alan Modra + + * po/POTFILES.in: Regenerate. + +2001-10-16 Vassili Karpov + + * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from + -z nocopyreloc and -z nocombreloc usage strings. + +2001-10-12 Vassili Karpov + + * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc + in usage. + +2001-10-11 Aleksey Romanov + + * scripttempl/armaout.sc: Place .bss section after end of aligned + data section to match behaviour of aout code in constructrion of + header. + +2001-10-11 Danny Smith + + * pe-dll.c (autofilter_entry_type autofilter_liblist: Add + startup files for mingw32 dlls to list. + +2001-10-10 Chris Demetriou + + * emultempl/elf32.em: Fix shell 'if' usage for portability. + +2001-10-08 Aldy Hernandez + + * configure.tgt (targ): Add arm9e-*-elf. + +2001-10-05 H.J. Lu + + * genscripts.sh: Fix a typo in the last change. + +2001-10-05 Jakub Jelinek + + * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and + -z nocombreloc in usage. + +2001-10-03 Jim Blandy + + * genscripts.sh: Include a comment at the top of each generated + script, explaining its purpose. + +2001-10-03 Vassili Karpov + + * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. + * NEWS: Mention -z nocopyreloc. + * ld.texinfo (Options): Describe nocopyreloc. + +2001-10-03 Alan Modra + + * configure: Regenerate. + +2001-10-02 Alan Modra + + * ldver.h (ld_program_version): Remove declaration. + * lexsup.c (parse_args): Move printing of copyright message.. + * ldver.c (ldversion): .. to here. + Use BFD_VERSION_STRING in place of BFD_VERSION. + (ld_program_version): Remove. + * Makefile.am (Makefile): Depend on bfd/configure.in. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-09-30 Hans-Peter Nilsson + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate. + +2001-09-29 John Reiser + + * ldlang.c (lang_common): Conditionally inhibit Common allocation. + * lexsup.c: Add --no-define-common commandline option. + * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. + * ldlex.l: Likewise. + * ld.h: Add command_line.inhibit_common_definition. + * ldmain.c (main): Initialize. + * ld.texinfo: Document. + +2001-09-29 Alan Modra + + * ldlang.c (section_already_linked): Remove assignment to kept_section. + +2001-09-26 Alan Modra + + * ldmisc.c (USE_STDARG): Remove. + (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. + (einfo): Likewise. + (minfo): Likewise. + (lfinfo): Likewise. + + * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi + declarations. Update copyright. + +2001-09-24 Charles Wilson + + * pe-dll.c: Remove obsoleted declaration of + pe_get_data_import_dll_name. + (pe_create_import_fixup): Fix thinko. + + * ld.texinfo(enable-auto-import): Clarify the explanation. + +2001-09-24 Nick Clifton + + * pe-dll.c (pe_create_import_fixup): Revert previous patch. + * emultemp/pe.em (pe_data_import_dll): Move definition outside of + DLL_SUPPORT controlled code. + +2001-09-24 Charles Wilson + + * emultempl/pe.em(pe_data_import_dll): Make static. + (pe_get_data_import_dll_name): New accessor function. + * pe-dll.c(pe_create_import_fixup): call + pe_get_data_import_dll_name() from pe.em, instead of + directly accessing pe_data_import_dll variable from pe.em. + +2001-09-18 Bruno Haible + + * deffilep.y: Include "safe-ctype.h" instead of . + (def_file_add_directive): Use ISSPACE instead of isspace. + (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of + isdigit/isxdigit/isalpha/isalnum. + * emultempl/aix.em: Include "safe-ctype.h" instead of . + (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. + * emultempl/elf32.em: Include "safe-ctype.h" instead of . + (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of + isalnum. + * emultempl/gld960c.em: Include "safe-ctype.h" instead of . + (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of + isupper/tolower. + * emultempl/sunos.em: Include "safe-ctype.h" instead of . + (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. + * ldctor.c: Include "safe-ctype.h" instead of . + (ctor_prio): Use ISDIGIT instead of isdigit. + * ldfile.c: Include "safe-ctype.h" instead of . + (ldfile_open_file_search): Use ISALPHA instead of isalpha. + (ldfile_add_arch): Use ISUPPER/TOLOWER instead of + isupper/tolower. + * ldlang.c: Include "safe-ctype.h" instead of . + (stricpy): Use TOLOWER instead of isupper/tolower. + (lang_leave_overlay_section): Use ISALNUM instead of isalnum. + * ldlex.l: Include "safe-ctype.h" instead of . + (lex_warn_invalid): Use ISPRINT instead of isprint. + * ldmain.c: Include "safe-ctype.h" instead of . + (main): For gettext, also set the LC_CTYPE locate facet. + (add_keepsyms_file): Use ISSPACE instead of isspace. + * lexsup.c: Include "safe-ctype.h" instead of . + (is_num, parse_args): Use ISDIGIT instead of isdigit. + * mpw-elfmips.c: Include "safe-ctype.h" instead of . + (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. + * mpw-eppcmac.c: Include "safe-ctype.h" instead of . + (gldppcmacos_read_file): Use ISSPACE instead of isspace. + * pe-dll.c: Include "safe-ctype.h" instead of . + (quoteput): Use ISSPACE instead of isspace. + (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM + instead of isalnum. + +2001-09-18 Alan Modra + + * deffilep.y (def_stash_module): Constify "name" param. + + * pe-dll.c: Replace CONST with const throughout. + (quick_symbol): Constify "n1", "n2", "n3" params. + (make_singleton_name_thunk): Constify "import" param. Make + "buffer_len" a size_t. + (make_import_fixup_entry): Constify "name", "fixup_name", + "dll_symname" params. + (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. + (pe_get32): Likewise. + (pe_implied_import_dll): Likewise. + + * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". + (sort_by_section_name): Likewise. + + * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. + (make_import_fixup): Cast printf arg, rel->address to long rather + than int. + (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. + +2001-09-15 Alan Modra + + * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX + defines BufferSize. Increase buffer size by one. + +2001-09-14 Ralf Habacker + + * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. + +2001-09-14 Kevin Lo + + * configure.tgt: Add arm-openbsd target. + +2001-09-12 H.J. Lu + + * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and + eelf64lppc.o to ... + (ALL_64_EMULATIONS): Here. + * Makefile.in: Regenerated. + +2001-09-12 Paul Sokolovsky + + * emultempl/pe.em(make_import_fixup): change signature to + take asection as well as arelec; we need this for proper + error reporting. Only call pe_create_import_fixup() if + there is no attempt to add a constant addend to the reloc; + otherwise, report error condition. + * pe-dll.c(pe_walk_relocs_of_symbol): change signature, + since final argument is a pointer to make_import_fixup(). + Change call to cb() to match make_import_fixup() signature. + (make_import_fixup_mark): make buffer_len unsigned. + * pe-dll.h: change signature of pe_walk_relocs_of_symbol. + +2001-09-12 Charles Wilson + + * ld.texinfo: add verbose documentation for auto-import + direct-addressing workaround, to compliment the terse + error message. + +2001-09-12 Andrew MacLeod + + * scripttempl/v850.sc: Add gcc_except_table sections. + +2001-09-11 Jeffrey A Law (law@cygnus.com) + + * emulparams/h8300helf.sh: Move stack to a much higher memory address. + * emulparams/h8300self.sh: Similarly. + +2001-09-05 Danny Smith + + * ld.texinfo (Options, --stack): Correct default value for stack + reserve. + +2001-09-05 Tom Rix + + * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. + +2001-09-03 Andreas Jaeger + + * emultempl/beos.em: Declare prototypes for comparions functions, + adjust definitions. + +2001-09-02 Andreas Jaeger + + * emultempl/aix.em: Add missing prototype. + * emultempl/lnk960.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/gld960.em: Likewise. + + * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter + for prototype declaration. + +2001-08-31 Eric Christopher + Jason Eckhardt + + * ldmain.c (get_emulation): Add support for -mips32 and -mips64. + +2001-08-31 Andreas Jaeger + + * emultempl/pe.em: Add missing prototypes. + (gld_${EMULATION_NAME}_after_open): Remove extra args to + pe_find_data_imports. + (pr_sym): Add unused attribute. + +2001-08-29 Joel Sherrill + + * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change + default from coff to elf. + +2001-08-29 Jeff Law + + * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update + ARCH specification. + * emulparams/h8300self.sh: Similarly. + +2001-08-28 J"orn Rennecke + + * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and + eh8300self.o . + (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. + * configure.tgt (h8300-*-elf*): New case. + * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. + * emulparams/h8300self.sh: New file. + * Makefile.in: Regenerated. + +2001-08-28 Nick Clifton + + * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision + with macro name. + +2001-08-27 Linus Nordberg + Alan Modra + + * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. + (eelf64ppc.c, eelf64lppc.c): Add make targets. + Run "make dep-am" + * Makefile.in: Regenerate. + * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj + entries to correct alphabetical position. + * emulparams/elf64ppc.sh: New. + * emulparams/elf64lppc.sh: New. + +2001-08-27 Nick Clifton + + * ldmain.c (main): Declare BSIZE as static. + +2001-08-23 Jakub Jelinek + + * emultempl/elf32.em (place_orphan): Place orphan .rel* sections + into .rel.dyn resp. .rela.dyn if combreloc. + (get_script): If .x linker script is equal to .xn, only put it + once into the binary. + Add .xc and .xsc scripts. + (parse_args): Handle -z combreloc and -z nocombreloc. + * scripttempl/elf.sc (.rela.sbss): Fix a typo. + For .xc and .xsc scripts put all .rel* or .rela* input sections + but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. + * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME + is elf. + Strip trailing whitespace from script. + Generate .xc and .xsc scripts if requested. + * ldmain.c (main): Initialize link_info.combreloc and + link_info.spare_dynamic_tags. + * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. + (ld_options): Add --spare-dynamic-tags option. + (parse_args): Likewise. + * ld.texinfo: Document -z combreloc and -z nocombreloc. + * ldint.texinfo: Document .xc and .xsc linker scripts. + * NEWS: Add notes about -z combreloc and SHF_MERGE. + +2001-08-22 H.J. Lu + + * emulparams/elf32fr30.sh: Add a newline. + +2001-08-21 Andreas Jaeger + + * deffilep.y: Add missing prototypes. + * pe-dll.c: Likewise. + +2001-08-20 Alan Modra + + * ldlang.c (insert_pad): Fix typos in last patch. + + * ldlang.c: When traversing lang_statement_union_type lists, + consistently use "header.next" rather than "next". + * mpw-eppcmac.c: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/pe.em: Likewise. + * ldlang.h (union lang_statement_union): Remove "next" field. + + * ldlang.c (insert_pad): Use offsetof macro. + (lang_size_sections): Always neuter padding statements. + * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. + + * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param + passed to lang_size_sections. + (pe_exe_fill_sections): Likewise. + * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. + (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. + +2001-08-18 Alan Modra + + * emultempl/aix.em: Formatting fixes. + +2001-08-18 Alan Modra + + * ldlang.c (insert_pad): Make use of an existing pad statement if + available. Move code calculating alignment, adjusting section + alignment power, and adjusting dot to .. + (size_input_section): .. here. Remove unused relax param. + (lang_size_sections): Change boolean `relax' param to boolean *. + Adjust call to size_input_section. Make use of insert_pad to + place pad after the assignment statement. If relaxing, zap + padding statements. + (reset_memory_regions): Reset output_bfd section sizes too. + (relax_again): Move to.. + (lang_process): ..here. Adjust call to lang_size_sections, and + remove duplicated code. + * ldlang.h (lang_size_sections): Change `relax' param to boolean *. + +2001-08-17 Alan Modra + + * ld.texinfo: Document that fill values now use the four least + significant bytes. + * emulparams/elf32fr30.sh (NOP): Update. + * emulparams/elf32mcore.sh: Likewise. + * emulparams/elf64_s390.sh: Likewise. + * emulparams/elf_i386.sh: Likewise. + * emulparams/elf_i386_be.sh: Likewise. + * emulparams/elf_i386_chaos.sh: Likewise. + * emulparams/elf_i386_ldso.sh: Likewise. + * emulparams/elf_s390.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + * emulparams/i386moss.sh: Likewise. + * emulparams/i386nw.sh: Likewise. + * emulparams/m68kelf.sh: Likewise. + * scripttempl/elf.sc: Update NOP comment. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/nw.sc: Likewise. + +2001-08-15 Tom Rix + + * ldgram.y (saved_script_handle): Initialize to NULL. + * ldmain.c (main): Change check on saved_script_handle. + +2001-08-14 Alan Modra + + * emultempl/elf32.em: Formatting fixes. + (output_prev_sec_find): Test for bfd_ind_section too; do so by + looking at sec->owner. + (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. + (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove + unused code, and reorganize orphan section placement code. + + * ldlang.c (wild_doit): Rename to lang_add_section. + * ldlang.h: Here too. + * mpw-elfmips.c: And here. + * emultempl/beos.em: And here. + * emultempl/elf32.em: And here. + * emultempl/hppaelf.em: And here. + * emultempl/pe.em: And here. + +2001-08-13 Richard Henderson + + * emultempl/needrelax.em: New file. + * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. + * Makefile.am (eelf64_ia64.c): Depend on it. + * Makefile.in: Rebuild. + +2001-08-13 Alan Modra + + * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that + output_section is set non-NULL. + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return + `true' for SEC_EXCLUDE sections so that the generic code doesn't + needlessly create an output_section_statement. Treat a correctly + named output_section_statement with NULL bfd_section as compatible. + +2001-08-13 Hans-Peter Nilsson + + * emultempl/generic.em: Support EXTRA_EM_FILE. + (ld_${EMULATION_NAME}_emulation): Support emulation parameters + LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, + LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, + LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, + LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, + LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, + LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, + LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, + LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, + LDEMUL_FIND_POTENTIAL_LIBRARIES. + +2001-08-12 Richard Henderson + + * scripttempl/elf.sc, scripttempl/elfd30v.sc, + scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, + scripttempl/v850.sc: Keep .jcr data. + +2001-08-12 H.J. Lu + Andrew Haley + Nick Clifton + + * ldgram.y (had_script): Change name to saved_script_handle. + Change type to file handle. + * ld.h (had_script): Rename and retype. + * ldfile.c (ldfile_open_command_file): Save the file handle + used in saved_script_handle. + * lexsup.c (parse_args): Do not allow -c option to alter + saved_script_handle. + * ldmain.c (main): Print out the linker script used if + --verbose is given. Check saved_script_handle to obtain the + external linker script used, or if NULL, dump the builtin + script. + * ld.texinfo: Document that --verbose now dumps the linker + script used, regardless of whether it was an internal or an + external script. + +2001-08-10 Andreas Jaeger + + * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes + to build warnings. + * configure: Regenerate. + +2001-08-09 Alan Modra + + * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. + + * scripttempl/elf.sc: Move non-text .dynamic section before + .plt/.got/.sdata* group. + (OTHER_GOT_SECTIONS): Move to immediately after .got. + (OTHER_SDATA_SECTIONS): Add. + * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than + OTHER_GOT_SECTIONS. + * emulparams/crislinux.sh: Likewise. + * emulparams/elf32b4300.sh: Likewise. + * emulparams/elf32bmip.sh: Likewise. + * emulparams/elf32bmipn32.sh: Likewise. + * emulparams/elf32bsmip.sh: Likewise. + * emulparams/elf32btsmip.sh: Likewise. + * emulparams/elf32ebmip.sh: Likewise. + * emulparams/elf32elmip.sh: Likewise. + * emulparams/elf32l4300.sh: Likewise. + * emulparams/elf32lmip.sh: Likewise. + * emulparams/elf32lsmip.sh: Likewise. + * emulparams/elf32ltsmip.sh: Likewise. + * emulparams/elf64bmip.sh: Likewise. + * emulparams/elf64btsmip.sh: Likewise. + * emulparams/elf64ltsmip.sh: Likewise. + +2001-08-08 Alan Modra + + * genscripts.sh: Source the emulparams script before each output + script is generated so that variables like `RELOCATING' may affect + variables defined in the emulparams script. + +2001-08-04 Alan Modra + + * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this + order. + + * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, + ie. iterate over wild_statement.section_list. + (gld${EMULATION_NAME}_place_orphan): Likewise. + +2001-08-03 Stephane Carrez + + * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle + .fini[0-4] sections used by _exit + (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. + (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. + * scripttempl/elfm68hc11.sc: Likewise. + +2001-08-03 H.J. Lu + + * emultempl/beos.em (init): Add the missing initialization. + +2001-08-03 Alan Modra + + * ld.texinfo (Input Section Basics): Clarify ordering of output + sections. + * ldlang.c (callback_t): Add wildcard_list param. + (walk_wild_section): Remove "section" param. Rewrite for + lang_wild_statement_type change. Remove unique_section_p test. + (walk_wild_file): Remove "section" param. + (walk_wild): Remove "section" and "file" params. + (lang_gc_wild): Likewise. + (wild): Likewise. Modify for lang_wild_statement_type change. + (wild_sort): Likewise. Add "sec" param. + (gc_section_callback): Likewise. + (output_section_callback): Likewise. Do unique_section_p test. + (map_input_to_output_sections): Modify call to wild. + (lang_gc_sections_1): Likewise. + (print_wild_statement): Modify for lang_wild_statement_type + change. + (lang_add_wild): Replace filename, filenames_sorted param with + filespec. Replace section_name, sections_sorted, + exclude_filename_list with section_list. + * ldlang.h (lang_add_wild): Here too. + (lang_wild_statement_type): Replace section_name, sections_sorted, + and exclude_filename_list with section_list. + * ldgram.y (current_file): Delete. + (%union): Add wildcard_list. + (file_NAME_list): Set type to wildcard_list. Build a linked list + rather than calling lang_add_wild for each entry. + (input_section_spec_no_keep): Call lang_add_wild here instead. + * ld.h (struct wildcard_list): Declare. + * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. + +2001-08-02 Charles Wilson + + * ldmain.c (main): initialize link_info.pei386_auto_import + * pe-dll.c: new tables for auto-export filtering + (auto_export): change API, pass abfd for contextual filtering. + Loop thru tables of excluded symbols instead of comparing + "by hand". + +2001-08-02 Paul Sokolovsky + + * pe-dll.c: new variable pe_dll_enable_extra_debug. New + static variable current_sec (static struct sec *). Add + forward declaration for add_bfd_to_link. + (process_def_file): Don't export undefined symbols. Do not + export symbols starting with "_imp__". Call auto_export() + with new API. + (pe_walk_relocs_of_symbol): New function. + (generate_reloc): add optional extra debugging + (pe_dll_generate_def_file): eliminate extraneous initial blank + line in output + (make_one): enlarge symtab to make room for __nm__ symbols + (DATA auto-import support). + (make_singleton_name_thunk): New function. + (make_import_fixup_mark): New function. + (make_import_fixup_entry): New function. + (pe_create_import_fixup): New function. + (add_bfd_to_link): Specify that 'name' argument is a CONST + char *. + * pe-dll.h: declare new variable pe_dll_extra_pe_debug; + declare new functions pe_walk_relocs_of_symbol and + pe_create_import_fixup. + * emultempl/pe.em: add new options --enable-auto-import, + --disable-auto-import, and --enable-extra-pe-debug. + (make_import_fixup): New function. + (pe_find_data_imports): New function. + (pr_sym): New function. + (gld_${EMULATION_NAME}_after_open): Add optional extra pe + debugging. Call pe_find_data_imports. Mark .idata as DATA, not + CODE. + +2001-08-02 Charles Wilson + + * ld.texinfo: add additional documentation for + --export-all-symbols. Document --out-implib, + --enable-auto-image-base, --disable-auto-image-base, + --dll-search-prefix, --enable-auto-import, and + --disable-auto-import. + * ldint.texinfo: Add detailed documentation on auto-import + implementation. + +2001-07-30 Nick Clifton + + * ld.texinfo (Simple Assignments): Fix computation in SECTIONS + example. + +2001-07-24 Alan Modra + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate + +2001-07-23 Alan Modra + + * ldcref.c (check_section_sym_xref): New function. + (check_nocrossrefs): Call it. + (check_nocrossref): Interate over h->refs here instead of.. + (check_refs): ..here. Pass in the symbol name, section, and bfd + rather than hash_entry pointers. + (struct check_refs_info): Keep symbol name rather than hash entry. + Remove "same". + (check_reloc_refs): Tweak for above changes in check_refs_info. + Only report references to section syms when symname is NULL to + prevent duplicate messages for the same reloc. + +2001-07-19 Nick Clifton + + * ldexp.c (exp_print_tree): Use stderr if config.map_file is not + available. Do not print NULL trees. + (exp_print_token): Print unknown tokens with values > 126 as + decimal values not ASCII characters. + + * ldlang.c (lang_leave_overlay): If a region is specified assign + it to all sections inside the overlay unless they have been + assigned to the own, non-default, memory region. + + * README: Add header for consistency with other README files. + +2001-07-14 H.J. Lu + + * emultempl/elf32.em (output_prev_sec_find): Never return + bfd_abs_section_ptr, bfd_com_section_ptr nor + bfd_und_section_ptr. + +2001-07-14 Nick Clifton + + * Makefile.am (em32relf.c): Change dependency from generic.em to + elf32.em. + * Makefile.in: Regenerate. + +2001-07-14 matthew green + + * configure.tgt (i386-*-netbsdelf*): New target. + (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' + +2001-07-13 Jakub Jelinek + + * emultempl/elf32.em (output_prev_sec_find): New. + (place_orphan): Use it. + +2001-07-11 H.J. Lu + + * ldmain.c (main): Fix typos in the last change. + +2001-07-11 Jakub Jelinek + + * ldmain.c (main): Disallow -F and -f without -shared. + +2001-07-11 Nick Clifton + + * emultempl/pe.em (after_open): Check for the output_bfd not + having any coff_data structure allocated to it. + +2001-07-09 David O'Brien + + * emultempl/elf32.em: Do not assuming that contents of the buffer + returned from basename function will remain unchanged accross other + function calls. + +2001-07-03 H.J. Lu + + * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on + 2001-07-03. It creates dynamic entries even for static binaries. + +2001-07-03 Jakub Jelinek + + * scripttempl/elf.sc (DYNAMIC_PAD): New variable. + (DYNAMIC): Use it to reserve few dynamic entries for + post-linking tools. + +2001-06-27 Alan Modra + + * emulparams/hppa64linux.sh: New file. + * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh + * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o + (ehppa64linux.c): Add rule to make it. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-06-21 Hans-Peter Nilsson + + * ld.texinfo (Options, -r): Mention restrictions when using + different object formats. + +2001-06-19 Hans-Peter Nilsson + + * ldlang.c (lang_check): Emit fatal error if relocatable link + between different object flavours with relocations in input. + +2001-06-19 H.J. Lu + + * ld.texinfo (-E, --export-dynamic): Mention --version-script. + (--version-script): Mention the language support. + +2001-06-19 H.J. Lu + + * ldlang.c (lang_check): Revert the change mode on 2001-06-15. + +2001-06-18 H.J. Lu + + * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. + (diststuff): Add $(MANS). + * Makefile.in: Regenerated. + + * ld.1: Removed. + +2001-06-18 Hans-Peter Nilsson + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. + * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. + * ld.h (args_type): Remove member export_dynamic. All users + changed to use struct bfd_link_info member. + + * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on + $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. + * Makefile.in: Regenerate. + +2001-06-18 H.J. Lu + + * ldlang.c (init_os): Add the newline to the einfo call. + (lang_check): Likewise. + (lang_do_version_exports_section): Likewise. + +2001-06-15 H.J. Lu + + * lexsup.c (parse_args); Save optind to report unrecognized + option. + +2001-06-15 Hans-Peter Nilsson + + * ldlang.c (lang_check): Emit fatal error if relocatable link + between different object flavours. + + * lexsup.c (parse_args) : + Set new link_info member export_dynamic. + * ldmain.c (main): Initialize new link_info member export_dynamic. + +2001-06-12 Nick Clifton + + * ldlang.c (walk_wild): Only call walk_wild_file if + lookup_name returns something. + (lookup_name): If load_symbols fails, return NULL. + (load_symbols): Change to a boolean function. + (open_input_bfds): If load_symbols fails then do not make the + executable. + +2001-06-08 Alan Modra + + * ldlang.c (record_bfd_errors): Remove. + + * emultempl/aix.em: Fix copyright dates. + +2001-06-07 Andreas Jaeger + + * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. + (TEXT_START_ADDR): Likewise. + +2001-06-06 Martin Schwidefsky + + * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. + +2001-06-05 Danny Smith + + * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. + +2001-05-31 H.J. Lu + + * ldlang.c (open_input_bfds): Don't change the bfd error + handler whilst loading symbols. + +2001-05-28 Nick Clifton + + * configure.tgt: Remove i370-mvs architecture, it is not currently + supported. + +2001-05-25 H.J. Lu + + * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + +2001-05-25 H.J. Lu + + * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move + setting of output_filename after bfd_scan_arch. + * emultempl/pe.em: Likewise. + +2001-05-25 H.J. Lu + + * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + + * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed + instead of ${srcdir}/emultempl/stringify.sed. + +2001-05-25 Timothy Wall + + * emulparams/elf64_aix.sh: Change settings to match IBM linker + output. + +2001-05-25 Alan Modra + + * configure.host: Replace linuxoldld with linux*oldld. + * configure.tgt: Likewise. + +2001-05-24 H.J. Lu + + * emultempl/stringify.sed: Removed again. + +2001-05-24 H.J. Lu + + * emultempl/aix.em (OUTPUT_ARCH): Defined. + (gld${EMULATION_NAME}_before_parse): Initialize + ldfile_output_architecture, ldfile_output_machine and + ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2001-05-24 Tom Rix + + * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) + udate import file format. + (change_symbol_mode) New, same + (is_syscall) New, same + * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK + * emulparams/aixppc64.sh : same + * emulparams/aixrs6.sh : same + * emulparams/ppcmacos.sh : same + * emultempl/aix.em : use strtoull to parse options + * Makefile.am : add eaixppc64 emulation for xcoff64 + * Makefile.in : same + * configure.tgt : same + + * scripttempl/aix.sc : default text section offset to 0x10000000 + default data section offset to 0x20000000 + add .sv3264 and .sv64 pseudo sections + loader and debug sections use the currect section offset. + + * emultempl/aix.em : Add xcoff64 support + Add -binitfini support + (gld${EMULATION_NAME}_before_parse) -binitfini + (gld${EMULATION_NAME}_parse_args) same + (gld${EMULATION_NAME}_before_allocation) format change for special + sections + + * emulparams/aixppc64.sh : New file for xcoff64 support + +2001-05-23 Alexandre Oliva + + * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new + variable to avoid non-portable shell construct. + +2001-05-23 Thiemo Seufer + + * ldmain.c (get_emulation): Add -mips5 command line argument. + +2001-05-22 Alexandre Oliva + + * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. + (ELF_INTERPRETER_NAME): Define it. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use + it. + * configure.tgt (targ_emul, targ_extra_emuls) + [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso + as primary, elf_i386 as extra. + * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. + (eelf_i386_ldso.c): New rule. + * Makefile.in: Rebuilt. + +2001-05-22 Nick Clifton + + * lexsup.c (ld_options): Allow -I to be an alias for + --dynamic-linker. This is for Solaris compatability. + * ld.texinfo: Document that -I can be used. + * ld.1: Regenerate. + +2001-05-16 Alan Modra + + * ldlang.c (wild_doit): Use linker_has_input to reliably determine + whether an input section is the first one assigned to an output + section. + Assorted formatting fixes. + +2001-05-14 DJ Delorie + + * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. + * Makefile.in: Ditto. + +2001-05-11 Jakub Jelinek + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put + .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* + output sections. + * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. + +2001-05-11 Jakub Jelinek + + * ldlang.c (lang_process): Call bfd_merge_sections. + +2001-05-07 Thiemo Seufer + + * ldgram.y: Fix typo. + +2001-05-03 H.J. Lu + + * emultempl/elf32.em: Include "libiberty.h". + (gld${EMULATION_NAME}_vercheck): Call basename () to get the + basename of the bfd filename. + (gld${EMULATION_NAME}_stat_needed): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. + (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. + +2001-05-02 H.J. Lu + + * emultempl/pe.em: Include . + +2001-05-02 Johan Rydberg + + * emulparams/elf32openrisc.sh: New file. + + * Makefile.am: Add OpenRISC target. + * Makefile.in: Regenerated. + + * configure.tgt: Add openrisc-*-* mapping. + +2001-05-02 Nick Clifton + + * emultempl/aix.em: Replace buystring with xstrdup. + * emultempl/beos.em: Replace buystring with xstrdup. + +2001-05-02 H.J. Lu + + * ldfile.c: Include "libiberty.h". + * ldlex.l: Likewise. + + * ldmisc.c (buystring): Removed. + * ldmisc.h: Likewise. + + * ldfile.c: Replace buystring with xstrdup. + * ldlang.c: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * lexsup.c: Likewise. + * mpw-eppcmac.c: Likewise. + +2001-04-30 Andreas Jaeger + + * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. + +2001-04-28 Paul Sokolovsky + + * ldlang.c (load_symbols): Give emulation a chance + to process unrecognized file before fatal error is + reported, not after. + +2001-04-27 Sean McNeil + + * configure.tgt: Add arm-vxworks target. + * scripttempl/armcoff.sc: Support .text or .data as a section name + prefix. + Define _etext. + +2001-04-13 J.T. Conklin + + * ld.texinfo: Document --fatal-warnings. + * ld.1: Regenerate. + + * ldmisc.c (vfinfo): Set flag to inhibit making executable if + warnings have been turned into errors. + * lexsup.c (OPTION_WARN_FATAL): Define. + (ld_options): Entry for --fatal-warnings. + (parse_args): Handle OPTION_WARN_FATAL. + * ld.h (ld_config_type): Add fatal_warnings field. + +2001-04-13 Jakub Jelinek + + * ldmain.c (main): Default to discard_sec_merge. + * lexsup.c (OPTION_DISCARD_NONE): Define. + (ld_options): Add --discard-none. + (parse_args): Handle OPTION_DISCARD_NONE. + * ldlang.c (wild_doit): SEC_MERGE should be set in the output + section only if SEC_MERGE and SEC_STRINGS flags and entsize of + all its input sections match. + +2001-04-05 Steven J. Hill + + * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. + (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. + (eelf32ltsmip.c): New target. + (eelf64btsmip.c): Likewise. + (eelf64ltsmip.c): Likewise. + * Makefile.in: Regenerated. + + * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS + target. + (mips*-*-linux-gnu*): Likewise. + + * emulparams/elf32ltsmip.sh: New. Traditional little endian + MIPS taget. + * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian + target. + * emulparams/elf64ltsmip.sh: New. Traditional 64bit little + endian target. + +2001-04-05 Hans-Peter Nilsson + + * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide + correct value of __Stext here. + (TEXT_START_SYMBOLS): Define; always define __Stext, to start of + .startup section. + + * emulparams/crislinux.sh: Remove FIXME. + +2001-04-02 Alan Modra + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. + +2001-03-27 Hans-Peter Nilsson + + * configure.tgt (cris-*-*): Change default emulation to criself. + (cris-*-*aout*): New rule. + +2001-03-27 Matthew Wilcox + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + +2001-03-26 Andreas Jaeger + + * ld.texinfo (Overview): Fix syntax in texi code. + +2001-03-25 Stephane Carrez + + * ld.texinfo: Put @c man indications to generate the ld man page. + When generating man, define all the variables. Define SEEALSO + and SYNOPSIS. Re-organize some lines to avoid the cross references. + * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. + (ld.1): Generate from ld.texinfo. + * Makefile.in: Regenerate. + +2001-03-23 Mark Elbrecht + + * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' + and '-fdata-sections'. Set the VMA of STABS sections to zero. + +2001-03-17 Ulrich Drepper + + * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME + is an absolute path look only for this file and not along the path. + +2001-03-17 Ulrich Drepper + + * emultempl/elf32.em (OPTION_GROUP): New macro. + Add new option Bgroup to longopts. + (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. + (gld*_list_options): Add -Bgroup and -z defs. + * ld.1: Document -Bgroup and -z defs. + * ld.texinfo: Likewise. + +2001-03-07 Michael Meissner + + * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal + with sections created by -fdata-sections. + (.dynbss,.bss): Ditto. + +2001-03-05 Alan Modra + + * emultempl/m68kelf.em (m68k_elf_after_allocation): Call + after_allocation_default, not gld..._before_allocation. + +2001-02-27 Alan Modra + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2001-02-26 Timothy Wall + + * emulparams/elf64_aix.sh: Add additional read-only sections; + uncomment lines which are now required. + +2001-02-26 H.J. Lu + + * ldlang.c (open_input_bfds): Set the bfd error handler so + that problems can be caught whilst loading symbols. + (record_bfd_errors): New function: Report BFD errors and mark + the executable output as being invalid. + +2001-02-22 Timothy Wall + + * configure.host: Add configuration for ia64-*-aix*. + * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. + Add dependencies for eelf64_aix.c. + * Makefile.in: Regenerate. + * configure.tgt: Add ia64-*-aix* mapping. + * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. + +2001-02-20 H.J. Lu + + * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to + false if we found the file. + +2001-02-18 David O'Brien + + * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, + FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. + +2001-02-18 lars brinkhoff + + * Makefile.am: Add PDP-11 target. + * configure.tgt: Likewise. + * emulparams/pdp11.sh: New file. + +2001-02-17 David O'Brien + + * configure.host: Add a generic FreeBSD configuration entry such that + all [modern] FreeBSD systems on all platforms will look the same. + +2001-02-14 H.J. Lu + + * configure.tgt: Remove mention of earmelf_linux26. + +2001-02-13 Richard Henderson + + * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. + +2001-02-13 H.J. Lu + + * ldexp.h (node_type): Add etree_provided. + * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node + type to etree_provided if defined by PROVIDE. Allow updating + for etree_provided. + (exp_print_tree): Handle etree_provided. + * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle + etree_provided. + +2001-02-09 David Mosberger + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add + .IA_64.unwind.* pattern to unwind table section and + .IA_64.unwind_info* pattern to unwind info section. + +2001-02-09 Martin Schwidefsky + + * Makefile.am: Add linux target for S/390. + * Makefile.in: Likewise. + * configure.host: Likewise. + * configure.tgt: Likewise. + * emulparams/elf64_s390.sh: New file. + * emulparams/elf_s390.sh: New file. + +2001-02-09 Jakub Jelinek + + * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into + targ_extra_libpath. + (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. + +2001-02-06 Philip Blundell + + * Makefile.am: Remove mention of earmelf_linux26. + * Makefile.in: Regenerate. + +2001-02-04 Philip Blundell + + * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. + * emulparams/armelf_linux26.sh: Delete. + * configure.tgt: Remove mention of armelf_linux26 emulation. + +2001-02-01 Nick Clifton + + * ld.1: Replace occurances of -oformat with --oformat. + +2001-01-25 Jim Driftmyer + + * ldlang.c (lang_leave_overlay): Don't set lma_region when + load_base is specified. + +2001-01-24 Hans-Peter Nilsson + + * emultempl/elf32.em: Correct spelling in comments and listed + options. + +2001-01-23 Alan Modra + + * ldlang.c (lang_leave_overlay): Only set lma_region from the + default for the first section of a group of overlay sections. + +2001-01-22 Alan Modra + + * Makefile.am (GENSCRIPTS): Pass exec_prefix. + * Makefile.in: Regenerate. + * genscripts.sh: Use exec_prefix parameter to specify tool lib. + Check for null tool_dir. + +2001-01-16 Jim Wilson + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind + and IA_64.unwind.info. + +2001-01-16 H.J. Lu + + * ldlang.c (lang_check): Merge the private data only if the + input file has contents. + +2001-01-14 Alan Modra + + * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. + + * emultempl/hppaelf.em (hppaelf_after_parse): New function, + enabling search for libmilli. On a relocatable link, make .text + sections unique. + (LDEMUL_AFTER_PARSE): Define. + (hppaelf_finish): Correct spelling of relocatable in comments. + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + rummage through the script for sections on the unique list. + Correct length of strncmp for ".note". + (gld${EMULATION_NAME}_check_needed): Rearrange function. + + * ldlang.c (unique_section_list): New var. + (unique_section_p): New function. + (walk_wild_section): Don't match sections on unique_section_list. + (lang_add_unique): New function. + Correct spelling of relocatable in comments. + + * ldlang.h (struct unique_sections): Declare. + (unique_section_list): Declare. + (unique_section_p): Declare. + (lang_add_unique): Declare. + + * lexsup.c (ld_options): Allow --unique to take an optional arg. + (parse_args [OPTION_UNIQUE]): Call lang_add_unique. + + * ld.texinfo (--unique): Update. + +2001-01-13 Nick Clifton + + * lexsup.c (parse_args): Remove spurious white space. + +2001-01-12 Nick Clifton + + * lexsup.c (parse_args): Update copyright date. + +2001-01-12 Philip Blundell + + * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. + +2001-01-10 Kazu Hirata + + * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. + * scripttempl/h8300h.sc: Fix formatting. + * scripttempl/h8300s.sc: Likewise. + * scripttempl/h8500.sc: Likewise. + * scripttempl/h8500b.sc: Likewise. + * scripttempl/h8500c.sc: Likewise. + * scripttempl/h8500m.sc: Likewise. + * scripttempl/h8500s.sc: Likewise. + +2000-01-07 David O'Brien + + * emultempl/elf32.em: Only perform Linux ld hints processing when + targeting Linux. + +2001-01-07 Philip Blundell + + * ld.texinfo (Bug Reporting): Update email address for reports. + +2000-12-31 Nick Clifton + + * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long + options by checking for a return value of '?' not -1. + +2000-12-28 Nick Clifton + + * lexsup.c (struct ld_option): Add new enum value: + EXACTLY_TWO_DASHES. + (ld_options[]): Change -omagic, -output and -oformat options + to be EXACTLY_TWO_DASHES. + (OUTPUT_COUNT): Use ARRAY_SIZE. + (parse_args): Change parameter 'argc' to unsigned. + Place EXACTLY_TWO_DASHES options into new really_longopts + array. + If getopt_long_only fails, try calling getopt_long using the + really_longopts array. + (help): Print a double dash for both EXACTLY_TWO_DASHES and + TWO_DASHES options. + + * ldlex.h: Fix prototype of parse_args. + + * ld.texinfo: Document that long options starting with 'o' + must be preceeded by two dashes. Change example of a single + dashed long option from -oformat to -trace-symbol. + +2000-12-26 Danny Smith + + * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. + (longopts[]): New --no-default-excludes option. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse_args): Handle. + +2000-12-13 Michael Sokolov + + * ldlang.c (new_stat): Revert the last beautification with "innocent" + whitespace, it breaks the K&R C preprocessor. + +2000-12-11 DJ Delorie + + * ld.texinfo: Add notes about --whole-archive and gcc. + +2000-11-18 Fred Fish + + * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. + (ld_options): Entry for --allow-shlib-undefined. + (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. + * ldmain.c (main): Initialize link_info.allow_shlib_undefined + to false. + * ld.texinfo: Document new command line switch. + +2000-12-12 Geoffrey Keating + + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): + .fixup is actually read/write. + * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. + +2000-12-11 Jan Hubicka + + * NEWS: Add note about x86_64 architecture. + +2000-12-06 Mark Elbrecht + + * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. + Set DWARF2 sections to a VMA of zero. + +2000-12-01 Joel Sherrill + + * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): + New targets. + (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. + (sparc*-*-rtems*): Switched from a.out to ELF. + +2000-11-30 Jan Hubicka + + * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o + (eelf_x86_64.c): New. + * Makefile.in: Regenerate. + * configure.tgt: Add support for x86_64-*-linux-gnu*. + * emulparams/elf_x86_64.sh: New. + +2000-11-30 Hans-Peter Nilsson + + * emulparams/crislinux.sh (ENTRY): Change back to _start. + (TEXT_START_SYMBOLS): Remove conditional setting of __start. + + * scripttempl/crisaout.sc: Change all RELOCATING not related to + merging non-a.out sections into CONSTRUCTING. + +2000-11-28 Nick Clifton + + * ld.1 (COPYING): Mention that the GNU Free Documentation + License is present in the sources, but not the output, and + also available from the GNU website. + (GNU Free Documentation License): Comment out this section. + +2000-11-28 David O'Brien + + * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF + does not use them. + +2000-11-25 David O'Brien + + * ld.1: Remove old date so it does not give the impression the manpage + is way out of date. + +2000-11-24 Nick Clifton + + * configure.tgt (xscale-coff): Add target. + (xscale-elf): Add target. + +2000-11-24 Fred Fish + + * ldmain.c (main): Remove redundant init of config.make_executable + to true. + +2000-11-15 Richard Henderson + + * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. + +2000-11-14 Kazu Hirata + + * scripttempl/h8300.sc: Fix formatting. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + +2000-11-14 Denis Chertykov + + * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. + +2000-11-09 Philip Blundell + + * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME + around orphan sections whose names can be represented in C. + +2000-11-07 Jim Wilson + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local + hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. + +2000-11-06 Nick Clifton + + * ld.texinfo: Add GNU Free Documentation License. + * ldint.texinfo: Add GNU Free Documentation License. + * ld.1: Add GNU Free Documentation License. + +2000-11-05 Alan Modra + + * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, + yy_is_interactive, yy_at_bol, and yy_fill_buffer. + + * Makefile.am (DISTCLEANFILES): Add stringify.sed. + Move 2000-11-02 Makefile.in changes to this file. + * Makefile.in: Regenerate. + +2000-11-03 Nick Clifton + + * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose + constructors and destructors. + * scripttempl/h8300h.sc: Ditto. + * scripttempl/h8300s.sc: Ditto. + * scripttempl/h8500.sc: Ditto. + * scripttempl/h8500b.sc: Ditto. + * scripttempl/h8500c.sc: Ditto. + * scripttempl/h8500m.sc: Ditto. + * scripttempl/h8500s.sc: Ditto. + * scripttempl/v850.sc: Ditto. + * scripttempl/w65.sc: Ditto. + * scripttempl/z8000.sc: Ditto. + +2000-11-02 Per Lundberg + + * Makefile.in (e_i386_chaos.c): New rule. + (ALL_EMULATIONS): Added e_i386_chaos.o. + * emulparams/elf_i386_chaos.sh: New file. + * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. + +2000-10-20 Jakub Jelinek + + * emulparams/elf64_sparc.sh (TEXT_START_ADDR, + NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. + Fix sed invocation, so that it coped with '/' in Solaris 64bit + library path suffix. + Based on patch by Andrew Macleod . + +2000-10-18 Hans-Peter Nilsson + + * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), + for consecutive sections. + +2000-10-17 Chandrakala Chavva + + * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific + options. + * ld.texinfo: Added notes about this new option. + +2000-10-16 Nick Clifton + + * emultempl/pe.em (_after_open): Add tests of return values from + bfd functions. Emit appropriate error messages if necessary. + +2000-10-13 Nick Clifton + + * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' + local variables - they are not used, but leave in the call to + bfd_canonicalize_symtab. + (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of + pe_dll_search_prefix. + +2000-10-12 Charles Wilson + + * emultempl/pe.em (pe_dll_search_prefix): New variable, + (longopts): New --dll-search-prefix option. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse_args): Handle. + (gld_${EMULATION_NAME}_open_dynamic_archive): When linking + dynamically, search for a dll named '.dll' + in preference to 'lib.dll' if --dll-search-prefix + is specified. + +2000-10-12 Alan Modra + + * ldlang.c (section_already_linked): Set kept_section instead of + sec->comdat->sec. + +2000-10-10 Kazu Hirata + + * deffile.h: Fix formatting. + * lexsup.c: Likewise. + * mri.c: Likewise. + +2000-10-09 Paul Sokolovsky + + * pe-dll.c (make_one): Do not generate code thunk for DATA + exports. + (process_def_file): deduce DATA flag for auto-export sumbols. + +2000-10-09 Kazu Hirata + + * ld.h: Fix formatting. + * ldcref.c: Likewise. + * ldctor.h: Likewise. + * ldemul.c: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldmain.c: Likewise. + * pe-dll.c: Likewise. + + * pe-dll.c: Revert some formatting fixes. + +2000-10-08 Kazu Hirata + + * pe-dll.c: Fix formatting. + +2000-10-05 Kazu Hirata + + * ldlang.c: Fix formatting. + +2000-10-03 DJ Delorie + + * pe-dll.c (fill_edata): initialize entire block + (make_one): fill in correct section. + +2000-10-03 Kazu Hirata + + * ldexp.c: Fix formatting. + +2000-10-02 DJ Delorie + + * emultempl/pe.em (gld_*_after_open): detect case where there two + import libraries for same dll; rename one to ensure proper link + order. + + * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix + typo + (generate_edata): fix typo + +2000-09-29 Hans-Peter Nilsson + + * scripttempl/crisaout.sc (ENTRY): Now __start. + (.text): Add default setting for __start. + Remove CONSTRUCTORS handling. + (/DISCARD/): Add .gnu.warning.*. + * emulparams/crislinux.sh (ENTRY): Now __start. + (TEXT_START_SYMBOLS): New; provide __Stext and __start default. + * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. + (ENTRY): Now __start. + (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. + (EXECUTABLE_SYMBOLS): Add default setting for __start. + +2000-09-29 Kazu Hirata + + * deffile.h: Fix formatting. + * ld.h: Likewise. + * ldcref.c: Likewise. + * ldctor.c: Likewise. + * ldctor.h: Likewise. + * ldemul.c: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * lexsup.c: Likewise. + * mri.c: Likewise. + * pe-dll.c: Likewise. + +2000-09-28 Paul Sokolovsky + + * pe-dll.c (process_def_file): Uninitialized data wasn't + exported with --export-all-symbols switch. + +2000-09-28 DJ Delorie + + * pe-dll.c (fill_edata): rearrange the data so that ordinals and + noname work properly. + +2000-09-28 Alan Modra + + * ld.texinfo (HPPA ELF32): New section. + + * emultempl/hppaelf.em (group_size): New. + (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. + (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate + options to prevent abbreviations matching. + (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + +2000-09-21 Michael Sokolov + + * emultempl/m68kelf.em: Conditionalise the embedded relocs feature + on the m68*-*-elf target. Make it support COFF input objects. + +2000-09-21 Kazu Hirata + + * ldmain.c: Fix formatting. + * ldmisc.c: Likewise. + * ldver.c: Likewise. + * ldwrite.c: Likewise. + +2000-09-21 Alan Modra + + * ldwrite.c (clone_section): Silence gcc warnings. + +2000-09-20 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle + out of memory failure. + + * ldwrite.c (ldwrite): Remove unnecessary einfo arg. + (clone_section): Handle out of memory failures. Rename var to + avoid c++ reserved word. + +2000-09-18 Alan Modra + + * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename + stub_name param to stub_sec_name. + (hppaelf_finish): Modify call to elf32_hppa_size_stubs. + +2000-09-10 Michael Sokolov + + * emultempl/m68kelf.em: New file. + * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. + * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. + * Makefile.in: Regenerate. + +2000-09-15 Alan Modra + + * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ + only as needed. + +2000-09-13 Nick Clifton + + * ldmain.c (multiple_definition): Disable relaxation if + multiple symbol definitions are encountered - otherwise the + linker could abort with an assertion failure. + +2000-09-10 Nick Clifton + + * mri.c: Fix formatting. + +2000-09-07 H.J. Lu + + * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. + * configure: Rebuild. + +2000-09-07 H.J. Lu + + * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. + * Makefile.in: Rebuild. + +2000-09-07 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix + broken list handling. Create __start_SECNAME and __stop_SECNAME + when no place-holder. Add some comments. Test both SEC_CODE and + SEC_READONLY for hold_text to prevent .rodata orphan poisoning. + Handle case where no output section statement created. + +2000-09-07 Niibe Yutaka , Kaz Kojima , Alexandre Oliva + + * configure.tgt (sh-*-linux*): Added. + * Makefile.am: Added eshelf_linux and eshlelf_linux. + * Makefile.in: Rebuilt. + * emulparams/shelf_linux.sh: New file. + * emulparams/shlelf_linux.sh: New file. + +2000-09-06 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + try shuffling sections when the orphan happens to be the place + holder. Keep count of unique section names generated so we speed + the search for a new name. + +2000-09-06 Alexandre Oliva + + * configure: Rebuilt with new libtool.m4. + +2000-09-05 Nick Clifton + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * config.in: Regenerate. + * po/ld.pot: Regenerate. + + * ldint.texinfo: Remove CVS revision marker - it foils local + comparisons. + + * emultempl/ticoff.em: Remove extraneous comma. + +2000-09-05 Alan Modra + + * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC + to stub section flags. + (hppa_for_each_input_file_wrapper): New. + (hppa_lang_for_each_input_file): New. + (lang_for_each_input_file): Define to call above. + (multi_subspace): New. + (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. + (PARSE_AND_LIST_PROLOGUE): Define. + (PARSE_AND_LIST_LONGOPTS): Define. + (PARSE_AND_LIST_OPTIONS): Define. + (PARSE_AND_LIST_ARGS_CASES): Define. + (hppaelf_finish): Call elf32_hppa_set_gp. + (hppaelf_set_output_arch): Remove. + (LDEMUL_SET_OUTPUT_ARCH): Remove. + + * emulparams/hppalinux.sh (ELFSIZE): Define. + (MACHINE): Define. + (OTHER_READONLY_SECTIONS): Define. + (DATA_PLT): Define. + (GENERATE_SHLIB_SCRIPT): Define. + + * ldlang.c: Add missing prototypes, and tidy others. Change CONST + to const throughout. Change `void *' to `PTR' throughout. + (lang_memory_default): Function is local to file, add `static'. + + * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. + (ehppalinux.c): Likewise. + (earmelf.c): Likewise. + (earmelf_linux.c): Likewise. + (earmelf_linux26.c): Likewise. + * Makefile.in: Regenerate. + + * ld.h (ld_config_type): Add unique_orphan_sections. + * lexsup.c (OPTION_UNIQUE): Define. + (ld_options): Add "--unique". + (parse_args): Handle it. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + search for an existing output section if unique_orphan_sections is + set. Make use of bfd_get_unique_section_name rather than + duplicating code here. + * ld.texinfo: Describe --unique. + + * lexsup.c (ld_options): Make split-by-reloc arg optional. Add + optional arg to split-by-file. + (parse_args): Handle them. + * ld.texinfo: Update description of these options. + * ldwrite.c (clone_section): Pass in the section name. Replace + local code with bfd_get_unique_section_name. + (split_sections): Tidy code and comments. Use a list traversal + more appropriate to the list construction. Handle cooked section + sizes. Split when split_by_reloc reached rather than exceeded. + Track section size and split when split_by_file reached. Fix + link_order_tail (even though it's not used). + (ldwrite): Modify condition for calling split_sections to suit + changed split_by_reloc and split_by_file. + * ldmain.c (main): Init config.split_by_reloc and + config.split_by_file to -1. + * ld.h (ld_config_type): Change split_by_reloc to unsigned. + Change split_by_file to bfd_size_type. + +2000-09-02 Nick Clifton + + * configure.in: Increase version number to 2.10.91. + * NEWS: Mention new ability to support removal of duplicate DWARF2 + debug information. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + +2000-09-02 Daniel Berlin + + * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info + sections. + * scripttempl/elf32avr.sc: Ditto. + * scripttempl/elfd10v.sc: Ditto. + * scripttempl/elfd30v.sc: Ditto. + * scripttempl/elfi370.sc: Ditto. + * scripttempl/elfm68hc11.sc: Ditto. + * scripttempl/elfm68hc12.sc: Ditto. + * scripttempl/elfi386beos.sc: Ditto. + * scripttempl/v850.sc: Ditto. + +2000-08-31 Alexandre Oliva + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-08-25 Nick Clifton + + * ldlang.c (open_output): When choosing the target for a + particular endianness, do nothing if the target is not + supported. + +2000-08-25 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't + check -rpath nor LD_RUN_PATH for cross link. + * ld.texinfo: Document the change. + +2000-08-24 Hans-Peter Nilsson + + * NEWS: Mention support for CRIS. + +2000-08-23 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get + the current runpath list from bfd_elf_get_runpath_list () + before search. + +2000-08-22 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search + the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after + LD_LIBRARY_PATH for native linker. Display the needed DSO if + trace_file_tries is non-zero. + (gld${EMULATION_NAME}_try_needed): Report the needed DSO found + if trace_file_tries is non-zero. + + * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. + * NEWS: Mention it. + +2000-08-14 Jason Eckhardt + + * NEWS: Mention i860 support. + +2000-08-14 Andreas Schwab + + * scripttempl/elf.sc: Fix last change to use correct comment + syntax. + +2000-08-10 Geoff Keating + + * scripttempl/elf.sc: Add a comment giving the correspondence + between sections, per-datum sections, and linkonce sections. Make + the comment true even for .bss, .sdata, .sdata2, .sbss, and + .sbss2. + +2000-08-10 Jason Eckhardt + + * emulparams/elf32_i860.sh: New file. + * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. + * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. + (eelf32_i860.c): New rule. + * Makefile.in: Regenerate. + +2000-08-10 Nick Clifton + + * emulparams/mipspe.sh (ENTRY): Add definition. + +2000-08-08 Peter Jeremy + + * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath + in error message. + +2000-08-08 Stephane Carrez + + * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate + the final size of .bss section. + * scripttempl/elfm68hc12.sc: Likewise. + +2000-08-04 Alan Modra + + * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to + gld${EMULATION_NAME}_parse_args for consistency. Combine + lastoptind and prevoptind vars, and keep track of last optind. + (gld_${EMULATION_NAME}_list_options): Rename to + gld${EMULATION_NAME}_list_options. + +2000-08-03 Rodney Brown + + * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 + (i586-sco-sysv5uw7.1.0). + +2000-07-27 H.J. Lu + + * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. + (PARSE_AND_LIST_PROLOGUE): New. + (PARSE_AND_LIST_LONGOPTS): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (PARSE_AND_LIST_EPILOGUE): Likewise. + +2000-07-28 Alan Modra + + * emultempl/armelf.em: Elide functions common to elf32.em, + ie. most of the file. + (arm_elf_after_open): New. Do arm specific things then call + gld${EMULATION_NAME}_after_open. + (arm_elf_before_allocation): New. Call + gld${EMULATION_NAME}_before_allocation then do arm specifics. + (PARSE_AND_LIST_PROLOGUE): Define. + (PARSE_AND_LIST_SHORTOPTS): Define. + (PARSE_AND_LIST_LONGOPTS): Define. + (PARSE_AND_LIST_OPTIONS): Define. + (PARSE_AND_LIST_ARGS_CASES): Define. + (LDEMUL_AFTER_OPEN): Define. + (LDEMUL_BEFORE_ALLOCATION): Define. + (LDEMUL_BEFORE_PARSE): Define. + (LDEMUL_FINISH): Define. + + * emultempl/hppaelf.em: Similarly zap most of this file. + (hppaelf_add_stub_section): Prototype. + (hppaelf_layaout_sections_again): Prototype. + (hook_in_stub): Prototype. + (LDEMUL_SET_OUTPUT_ARCH): Define. + (LDEMUL_FINISH): Define. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. + + * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. + (EXTRA_EM_FILE): New. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armelf_linux26.sh: Likewise. + * emulparams/hppalinux.sh: Likewise. + * emulparams/hppaelf.sh: Likewise. + (NOP): Define. + + * emultempl/elf32.em: Fix formatting. + (EXTRA_EM_FILE): Source it. + (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, + LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, + LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, + LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, + LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, + LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, + LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, + LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, + LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to + allow functions in this file to be overridden. + (PARSE_AND_LIST_SHORTOPTS): Handle it. + + * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. + + * emultempl/elf32.em: Reorganize file. + +2000-07-27 Ivan Kokshaysky + + * emulparams/elf64alpha.sh: Implement "-taso" emulation + specific option to fit 64-bit executable in the lower + 31-bit address range. This is done by changing start + address of .interp (the very first section of executable) + and then setting EF_ALPHA_32BIT elf header flag. + +2000-07-21 Michael Sokolov + + * emultempl/m68kcoff.em: New file. + * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. + * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than + generic.em. + * Makefile.in: Regenerate. + +2000-07-20 H.J. Lu + + * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" + and "disable-new-dtags" to stop getopt from treating -d/-e as + abbreviations for these options. + +2000-07-20 H.J. Lu + + * ld.texinfo: Add documentation for --disable-new-dtags and + --enable-new-dtags. + + * ldmain.c (main): Initialize link_info.new_dtags to false. + + * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add + --disable-new-dtags and --enable-new-dtags. + (gld_${EMULATION_NAME}_list_options): Likewise. + +2000-07-05 Kenneth Block + + * lexsup.c: Add optional style to demangle switch + * ld.texinfo: Document optional style to demangle switch. + +2000-07-20 Hans-Peter Nilsson + + * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, + ecrislinux.o. + (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. + Regenerate dependencies. + * Makefile.in: Rebuild. + * configure.tgt (cris-*-*): New target. + * emulparams/crisaout.sh, emulparams/criself.sh, + emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. + * po/POTFILES.in, po/ld.pot: Regenerate. + +2000-07-20 H.J. Lu + + * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): + Print out ignored -z options. + +2000-07-19 H.J. Lu + + * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. + (PARSE_AND_LIST_PROLOGUE): New. + (PARSE_AND_LIST_LONGOPTS): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + + * ldmain.c (main): Clear link_info.flags and link_info.flags_1. + + * lexsup.c (ld_options): Comment out 'z'. + (parse_args): Likewise. + + * emultempl/elf32.em: Include "elf/common.h". + (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z + options. + (gld_${EMULATION_NAME}_list_options): Likewise. + + * ld.texinfo: Add documentation for the recognized -z options. + +2000-07-19 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call + bfd_elf_set_dt_needed_soname (). + +2000-07-18 DJ Delorie + + * pe-dll.c (pe_dll_id_target): check object target name also + +2000-07-18 Hans-Peter Nilsson + + * scripttempl/elf.sc (.init): Only do ${INIT_START} and + ${INIT_END} if relocating. + (.fini): Likewise ${FINI_START} and ${FINI_END}. + +2000-07-16 Charles Wilson + + * emultempl/pe.em (gld_*_open_dynamic_archive): New search + order for dynamic library '-lfoo' on pei386: libfoo.dll.a, + foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility + errors introduced by the old dynamic lib search order. + +2000-07-17 DJ Delorie + + * pe-dll.c (process_def_file): auto-export data items also + (pe_process_import_defs): also see if _imp_ form needed + +2000-07-12 Charles Wilson + + * pe-dll.c (make_one): fix a typo in the __imp_ name decoration + for dll import libraries + +2000-07-12 Mark Elbrecht + + * scripttempl/i386go32.sc: Support the g++ attribute init_priority in + gcc 2.95.2 and later. + +2000-07-11 Kazu Hirata + + * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error + message. + +2000-07-10 Alan Modra + + * ldemul.h (struct lang_input_statement_struct): Remove forward + declaration. + (struct search_dirs): Likewise. + * ldfile.h (struct lang_input_statement_struct): Likewise. + Protect file from multiple inclusion. + * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain + declaration from macro to file scope. + + * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. + * ldgram.y: Likewise here. + * ldlang.c: And here. + * ldmain.c: And here. + * mpw-elfmips.c: And here. + * mpw-eppcmac.c: And here. + * emultempl/aix.em: And here. + * emultempl/armcoff.em: And here. + * emultempl/armelf.em: And here. + * emultempl/armelf_oabi.em: And here. + * emultempl/beos.em: And here. + * emultempl/elf32.em: And here. + * emultempl/hppaelf.em: And here. + * emultempl/linux.em: And here. + * emultempl/lnk960.em: And here. + * emultempl/pe.em: And here. + * emultempl/sunos.em: And here. + * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. + * mpw-idtmips.c: Ditto. + * emultempl/generic.em: Ditto. + * emultempl/gld960.em: Ditto. + * emultempl/gld960c.em: Ditto. + * emultempl/mipsecoff.em: Ditto. + * emultempl/ticoff.em: Ditto. + * emultempl/vanilla.em: Ditto. + + * pe-dll.c: Include ldfile.h + * ldver.c: Include ldexp.h, ldlang.h, ldfile.h + + * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing + arguments to bfd_elf32_size_dynamic_sections call. + (gldelf32ebmip_place_orphan): Add missing arguments to + lang_leave_output_section_statement call. + +2000-07-10 H.J. Lu + + * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with + DLL_SUPPORT. + (strhash): Likewise. + (compute_dll_image_base): Likewise. + (pe_undef_found_sym): Likewise. + (pe_undef_cdecl_match): Likewise. + (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the + argument "arch" with ATTRIBUTE_UNUSED. + +2000-07-10 Alan Modra + + * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. + + From Ryan Bradetich + * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. + +2000-07-09 Alan Modra + + Changes to create multiple linker stubs, positioned immediately + before the section where they are required. + * emultempl/hppaelf.em: Include elf32-hppa.h. + (stub_sec, file_chain): Delete. + (hppaelf_create_output_section_statements): Don't make a stub + section here. + (hook_stub_info): New struct. + (hook_in_stub): New function. + (hppaelf_add_stub_section): New function. + (hppaelf_finish): Do nothing for relocateable links. Modify the + call to elf32_hppa_size_stubs. Move code for updating section + layout from here... + (hppaelf_layaout_sections_again): ..to here, a new function. + + * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix + broken list handling. Pass in a pointer to the list. + (hppaelf_finish): Update call to hppaelf_delete_padding_statements + for above changes. + (hppaelf_before_parse): Prototype. + (hppaelf_set_output_arch): Prototype. + (hppaelf_create_output_section_statements): Prototype. + (hppaelf_delete_padding_statements): Prototype. + (hppaelf_finish): Prototype. + + Merge from elf32.em + * emultempl/hppaelf.em: Include ctype.h. + (struct orphan_save): New. + (gld${EMULATION_NAME}_place_orphan): New. + (output_rel_find): New. + (hppaelf_get_script): Update from elf32.em. + (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. + Change emulation_name field to "${EMULATION_NAME}". Add + gld${EMULATION_NAME}_place_orphan. + + * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add + ehppalinux.o, sort it. Regenerate dependencies. + (ehppalinux.c): Depend on hppaelf.em + * Makefile.in: Regenerate. + + * configure.tgt: targ_emul=hppalinux for hppa*linux + + * emulparams/hppalinux.sh: New. + * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. + +2000-07-08 Alan Modra + + * lexsup.c (parse_args): Copy section name. + +2000-07-07 Charles Wilson + + * emultempl/pe.em: institute the following search order for + dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import + libs), libfoo.dll, foo.dll (link direct to dll). Fall back to + static lib (libfoo.a) if none of the above are found. + +2000-07-07 Mumit Khan + + * emultempl/pe.em (pe_enable_auto_image_base): New variable. + (longopts): New --{enable,disable}-auto-image-base options. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse): Handle. + (strhash): New static function. + (compute_dll_image_base): New static function. + (gld_${EMULATION_NAME}_set_symbols): Use. + +2000-07-05 DJ Delorie + + * MAINTAINERS: new + +2000-07-01 Koundinya K + + * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. + * emulparams/elf32btsmip.sh: New file. + * Makefile.am: Add traditional mips target. + * Makefile.in: Rebuild. + +2000-07-01 H.J. Lu + + * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for + automake to use YLWRAP. + * Makefile.in: Rebuild. + +2000-07-01 Alan Modra + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-30 Timothy Wall + + * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode + the page in the upper octet of the address. + +2000-06-26 Marek Michalkiewicz + + * emulparams/avrmega161.sh (ARCH): Change to avr:5. + +2000-06-24 Alan Modra + + * NEWS: arm-elf does --gc-sections too. + +2000-06-22 Alan Modra + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-21 H.J. Lu + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 H.J. Lu + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 Timothy Wall + + * scripttempl/tic54xcoff.sc: New. + * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. + * gen-doc.texi: Add flag for TI COFF. + * ld.texinfo: Add documentation for TI COFF handling switches. + * emultempl/ticoff.em: New. TI COFF handling. + * configure.tgt: Add tic54x target. + * Makefile.am: Add tic54x target. + * Makefile.in: Ditto. + +2000-06-20 Alan Modra + + * ldmain.c (set_scripts_dir): Correct pointer comparison when + checking for backslashes. + +2000-06-19 Alan Modra + + * NEWS: Move entries not in 2.10 above "Changes in version 2.10". + +2000-06-18 Alan Modra + + * NEWS: Update list of targets supporting --gc-sections. + + * scripttempl/elf.sc: KEEP .eh_frame contents. + * scripttempl/elfd30v.sc: Same here. + +2000-06-18 Stephane Carrez + + * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 + and m68hc11 (elf). + * Makefile.in: Rebuild. + * configure.tgt: Recognize m68hc12 and m68hc11. + * scripttempl/elfm68hc12.sc: New file. + * emulparams/m68hc12elfb: New emulation. + * emulparams/m68hc12elf: New emulation. + * emulparams/m68hc11elfb.sh: New file. User configurable emulation + (includes a memory.x script to define the ROM and RAM banks). + * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: + New configuration files for support of Motorola 68hc11 + +2000-06-15 Alan Modra + + * ldmain.c (main): Only change SEC_READONLY for final link. + +2000-06-13 H.J. Lu + + * configure: Regenerate. + +2000-06-08 David O'Brien + + * configure.in (VERSION): Update to show this is the CVS mainline. + +2000-06-07 Michael Sokolov + + * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all + input objects to be ECOFF. + (check_sections): einfo takes %B, not %P, to print a BFD name. + +2000-06-05 Michael Matz + + * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in + version scripts. + + * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. + +2000-05-23 Marek Michalkiewicz + + * emulparams/avr1200.sh (STACK): Define as 0. + * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. + * emulparams/avr4433.sh (STACK): Likewise. + * emulparams/avr44x4.sh (STACK): Likewise. + * emulparams/avr85xx.sh (STACK): Likewise. + * emulparams/avrmega103.sh (STACK): Likewise. + * emulparams/avrmega161.sh (STACK): Likewise. + * emulparams/avrmega603.sh (STACK): Likewise. + * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. + (__stack): Define from ${STACK} for main(). + +2000-05-26 Alan Modra + + * Makefile.am: Update dependencies with "make dep-am" + * Makefile.in: Regenerate. + +2000-05-26 Eli Zaretskii + + * ldmain.c: Include filenames.h. + (set_scripts_dir): Support backslashes in program name. + +2000-05-22 Igor Shevlyakov + + * ldmain.c (main): When deciding if ".text" section should be + read-only, don't forget to reset SEC_READONLY because it + could be already set. + +2000-05-22 Thomas de Lellis + + * ld.1: Add documentation for new command line option: + --section-start = + This is a generic version of -Ttext etc. which accepts + any section name as a parameter instead of just text/data/ + bss. + * ld.texinfo: More docs. + * NEWS: More docs. + * lexsup.c: (parse_args): Recognize new command line option. + (ld_options): Add new option. + +2000-05-18 H.J. Lu + + * lexsup.c (parse_args): `i' == `r', not `q'. + +2000-05-18 Jeffrey A Law (law@cygnus.com) + + * configure.tgt (hppa*64*-*-*): Enable PA64 target. + +2000-05-17 S. Bharadwaj Yadavalli + Rick Gorton + + Add support for '-q' == '--emit-relocs' switch. + * ldmain.c (main): Default to false. + * lexsup.c (parse_args): Turn on emitrelocations flag if set. + * NEWS: Describe the emitrelocations switch. + * ld.texinfo: Describe the emitrelocations switch. + +2000-05-16 Charles Wilson + + * emultempl/pe.em (_open_dynamic_archive): New function: Search + the library path for "foo.dll" and "libfoo.dll" dynamic libraries + before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' + link options. + +2000-05-15 David O'Brien + + * lexsup.c (parse_args): Update the year in the copyright notice. + +2000-05-13 Alan Modra + + * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): + Replace defines with those from intl/libgettext.h to quieten gcc + warnings. + +2000-05-10 H.J. Lu + + * ldlang.c (open_input_bfds): Don't load the same file within + a group again if the whole archive has been loaded already. + +2000-05-03 Alan Modra + + From Ulf Carlsson and Andreas Jaeger + * lexsup.c (set_section_start): Use bfd_scan_vma rather than + strtoul. + +2000-05-01 Jim Wilson + + * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "ia64-*-linux-gnu*". + +2000-04-29 Andreas Jaeger + + * ld.h: Correctly check GCC version. + +2000-04-25 Jeffrey A Law (law@cygnus.com) + + * Makefile.am: Add PA64 support. Add missing dependencies for + PA32 elf support. + * Makefile.in: Rebuilt. + * configure.tgt: Add PA64 support (currently disabled). + +2000-04-25 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. + (output_rel_find): New function. + (hold_section, hold_use): Delete. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make local to place_orphan. + (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find + rather than place_section to find possible previous use of orphan. + Similarly find the place-holder output sections. Use returned + value from lang_enter_output_section_statement rather than calling + lang_output_section_statement_lookup. + * emultempl/armelf.em: Same here. + * emultempl/pe.em: Similar to above, but no need for output_rel_find. + + * ldlang.c (lang_enter_output_section_statement): Return output + section statement. + * ldlang.h (lang_enter_output_section_statement): Change + declaration too. + + * ldlang.h (lang_output_section_statement): Export it. + * ldlang.c (lang_output_section_statement): Ditto. + +2000-04-24 Nick Clifton + + * ld.texinfo (Output Section Data): Add note that section data + commands cannot appear outside of section directives. + +2000-04-2 Matthew Green + + * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. + +2000-04-21 Richard Henderson + David Mosberger + + * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. + (eelf64_ia64.c): New rule. + * Makefile.in: Rebuild. + * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. + * emulparams/elf64_ia64.sh: New file. + +2000-04-21 Richard Henderson + + * scripttempl/elfd30v.sc: Place .gcc_except_table. + +2000-04-19 Alan Modra + + * dep-in.sed: Match space at start of file name, not at end. + +2000-04-18 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call + lang_leave_output_section_statement () after calling + lang_enter_output_section_statement (). + * emultempl/armelf.em: Likewise. + +2000-04-18 Alan Modra + + * emultempl/elf32.em (struct orphan_save): Add section field. + (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in + better order, and place first orphan section as we did before the + 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. + Don't call make_bfd_section here, let wild_doit do the job for us. + Don't build a statement list when we'll only throw it away. + * emultempl/armelf.em: Ditto. + * emultempl/pe.em: Similarly. + +2000-04-14 Geoff Keating + + * scripttempl/elfppc.sc: Remove. + * emulparams/elf32ppc.sh: Use elf.sc. + * emulparams/elf32lppc.sh: Use elf.sc. + * emulparams/elf32ppclinux.sh: Use elf.sc. + * emulparams/elf32ppcsim.sh: New file. + * emulparams/elf32lppcsim.sh: New file. + * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. + (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. + * Makefile.in: Regenerate. + * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. + +2000-04-14 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process + ~SEC_ALLOC sections too. Init start address of debug sections. + * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. + * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. + Also set all relocateable section start addresses. + +2000-04-13 Geoff Keating + + * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. + Add new BSS_PLT variable for when .plt need not be contained in + the file. Move _etext so that it is also after .fini, and provide + both etext and _etext with a leading underscore. Mark the start + and end of .sbss. + +2000-04-12 Alan Modra + + * emultempl/elf32.em (struct orphan_save): New. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make them struct orphan_save. + (gld${EMULATION_NAME}_place_section): Modify for new hold_*. + (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to + the end of the relevant section list. Also add associated section + statements to the end of any previous orphan statements. + * emultempl/armelf.em: Similarly. + * emultempl/pe.em: Similarly. + +2000-04-11 Alan Modra + + * ld.texinfo (Simple Example): Remove extraneous paragraph. + +2000-04-07 Andrew Cagney + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure: Re-generate. + +2000-04-04 Alan Modra + + * po/ld.pot: Regenerate. + + * lexsup.c (help): Restore translated part of bug string. + + * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. + (DEP): Quote when passing vars to sub-make. Add warning message + to end. + (DEP1): Rewrite for "gcc -MM". + (CLEANFILES): Add DEP2. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-03 Alan Modra + + * ld.h: #include "bin-bugs.h" + * lexsup.c (help): Use REPORT_BUGS_TO. + +2000-03-27 Denis Chertykov + + * configure.tgt (avr-*-*): New target support. + * Makefile.am: Likewise. + * scripttempl/elf32avr.sc: New script file. + * emulparams/avr1200.sh: New file. + * emulparams/avr23xx.sh: New file. + * emulparams/avr4433.sh New file. + * emulparams/avr44x4.sh New file. + * emulparams/avr85xx.sh New file. + * emulparams/avrmega103.sh New file. + * emulparams/avrmega161.sh New file. + * emulparams/avrmega603.sh New file. + * Makefile.in: Regenerate. + +2000-03-09 Andreas Jaeger + + * Makefile.am (check-DEJAGNU): Also unset LANG. + * Makefile.in: Rebuild. + +2000-03-06 Ian Lance Taylor + + * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty + archive. + +2000-03-02 H.J. Lu + + * emulparams/elf32mcore.sh: Include "getopt.h". + +2000-03-01 Ian Lance Taylor + + * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. + +2000-03-01 H.J. Lu + + * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emulparams/shpe.sh: Likewise. + +2000-03-01 Nick Clifton + + * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED + to unused parameters. + + * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static + functions only used by DLL code. + (_place_orphan): Initialise 'dollar'. + +2000-03-01 H.J. Lu + + * ldmain.c (undefined_symbol): Take one more arg, fatal, to + indicate if the undefined symbol is a fatal error or not. + Don't delete the output file if "fatal" is false. + +2000-02-29 H.J. Lu + + * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". + Set LC_COLLATE and LC_ALL to null and export them. It is for + sort which expects the C locale. + Add $(LIBS) to all $(HOSTING_LIBS). + * Makefile.in: Rebuild. + +2000-02-29 Alan Modra + + * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, + beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, + linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} + (ld_emulation_xfer_struct): Add missing NULL initialiser for + find_potential_libraries. + +2000-02-28 Jim Blandy + + * ldgram.y (exclude_name_list): Don't require a comma to separate + list entries; the lexer considers commas to be valid part of a + filename, so in something like `foo, bar' the comma is considered + part of the first filename, `foo,'. + * ld.texinfo: Update section on EXCLUDE_FILE lists. + +2000-02-27 Loren J. Rittle + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "i[3456]86-*-freebsdelf*". + +2000-02-27 Mark Elbrecht + + * scripttempl/i386go32.sc: Move misplaced semicolons. + +2000-02-25 Ian Lance Taylor + + * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. + (ALL_64_EMULATIONS): Remove eelf64hppa.o. + (eelf64hppa.c, ehppaelf.c): Remove targets. + * Makefile.in: Rebuild. + +2000-02-25 Alexandre Oliva + + * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on + GNU/Linux/sparc, but keep the default as 32. + + * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make + it default if sparcv9 or sparc64. + +2000-02-24 Nick Clifton + + * Makefile.am: Add rules to build emipspe.o and earmpe.o. + * Makefile.in: Regenerate. + * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. + + * ldemul.h (ld_emulation_xfer_struct): Add new field: + find_potential_libraries. + * ldemul.c (ldemul_find_potential_libraries): New function. + + * ldfile.c (ldfile_open_file_search): Allow function to be + exported. + (ldfile_open_file): Call ldemul_find_potential_libraries. + * ldfile.h: Add prototype for ldfile_open_file_search. + + * pe-dll.c: Add support for ARM, MIPS and SH targets. + + * emulparams/mipspe.sh: New file. Parameters for mips-pe target. + * emulparams/shpe.sh: New file. Parameters for sh-pe target. + + * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. + (gld_X_find_potential_libraries): New function. Search for + libraries called "*.lib". + + * scripttempl/pe.sc: Add .pdata section. + +2000-02-23 Richard Henderson + + * scripttempl/elfd10v.sc: Remove dynamic linking hooks. + Add and use memory regions. + +2000-02-23 Linas Vepstas (linas@linas.org) + + * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. + + * Makefile.am: Add support for Linux/IBM 370. + * configure.tgt: Likewise. + + * Makefile.in: Regenerate. + +2000-02-21 Alan Modra + + * ldlang.c (print_input_section, print_data_statement, + print_reloc_statement, print_padding_statement, insert_pad, + size_input_section, lang_check_section_addresses, + lang_size_sections, lang_do_assignments, lang_set_startof, + lang_one_common): Change `opb' to unsigned. + (lang_do_assignments): Also change `size' to unsigned. + +2000-02-16 Richard Henderson + + * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. + +2000-02-16 Timothy Wall + + * mri.c (mri_draw_tree): Add default LMA region argument to call + to lang_leave_output_section_statement. + * ldlang.h: Update prototypes with LMA region arguments. + * ldlang.c (lang_size_sections): Encapsulate region bounds + checking in os_check_region call. + (os_check_region): New function. + (lang_output_section_statement_lookup): Initialize lma_region. + (lang_leave_output_section_statement): Add LMA region argument. + (lang_leave_overlay): Ditto. + * ldgram.y: Handle LMA region syntax. + * ld.texinfo (Output Section Description): Describe LMA region usage. + * emultempl/armelf.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/elf32.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/pe.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + + +2000-02-04 Timothy Wall + + * ldlang.c (lang_check_section_addresses): Use bytes instead of + octets when calculating section end addresses. + +2000-02-04 Timothy Wall + + * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. + +2000-02-03 Timothy Wall + + * ldexp.c (fold_name): Make SIZEOF operator return byte count, not + octet count. + * ldlang.c (print_input_section, print_data_statement, + print_reloc_statement, print_padding_statement): Print target + address values and section sizes as bytes, not octets. + (insert_pad) Calculate padding size in octets, and adjust "dot" + by bytes. + (size_input_section) Always adjust "dot" by bytes, not octets. + (lang_check_section_addresses, lang_do_assignments) Adjust + "dot" by bytes, not octets. Use the larger of the directive size + or octets_per_byte for the number of octets actually allocated in + the output section. + (lang_set_startof) Make sure STARTOF returns a target address. + (lang_one_common) Record size changes in octets. + (lang_abs_symbol_at_end_of) Section end symbol's value is + recorded in target bytes. + * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. + to be clear about behavior when an octet is smaller than one byte. + +2000-01-27 Alan Modra + + * ldcref.c (output_cref): Don't pass message strings to printf + as format arg. + Update copyright. + + * ldmisc.c (vfinfo): Same here. + Update copyright. + +2000-01-23 Alan Modra + + * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, + generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, + mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): + Add missing NULL initialisers, and comments. + +2000-01-21 Nick Clifton + + * ldlang.c (lang_size_sections): Fix typo in comment. + +2000-01-18 H.J. Lu + + * ldlang.c (lang_size_sections): Also update the current + address of a region if the SEC_NEVER_LOAD bit is not set. + +2000-01-10 Philip Blundell + + * configure.tgt (arm*-*-conix*): New target. + +2000-01-07 Nick Clifton + + * ld.texinfo (Options): Remind users to preceed linker command + line switches with -Wl, (or whatever is appropriate) if it is + being invoked by a comnpiler driver program. + Fix description of the behaviour of the -n command line switch. + +2000-01-05 Catherine Moore + + * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. + (name_list): New. + * ld.texinfo (EXCLUDE_FILE): Update documentation. + * ldgram.y (wildcard_spec): Support a list of excluded_files. + (exclude_name_list): New. + ldlang.c (walk_wild_section): Support list of excluded files. + (print_wild_statement): Likewise. + (lang_add_wild): Likewise. + * ldlang.h (lang_wild_statement_type): Likewise. + * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. + +2000-01-04 Mumit Khan + + * pe-dll.c (pe_dll_warn_dup_exports): New variable. + (process_def_file): Use. + (pe_dll_compat_implib): New variable. + (make_one): Use. + + * pe-dll.h: Add exports of pe_dll_warn_dup_exports and + pe_dll_compat_implib. + + * emultempl/pe.em (longopts): Add warn-duplicate-exports and + compat-implib options. + (gld_${EMULATION_NAME}_list_options): List new options. + (gld_${EMULATION_NAME}_parse_args): Handle. + + * pe-dll.c (pe_dll_generate_implib): Use the correct name for output + dll. + + * deffilep.y (opt_name): Allow "." in name. + +For older changes see ChangeLog-9899 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog-0203 b/ld/ChangeLog-0203 new file mode 100644 index 00000000000..af12db77e73 --- /dev/null +++ b/ld/ChangeLog-0203 @@ -0,0 +1,1645 @@ +2003-12-19 Kazuhiro Inaoka + + Add m32r-linux and PIC support. Add new ABI that uses RELA. + * Makefile.am: Added em32rlelf.c, em32relf_linux.c, + em32rlelf_linux.c. + * Makefile.in: Regenerate. + * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added. + * emulparams/m32relf_linux.sh: Added. + * emulparams/m32rlelf.sh: Ditto. + * emulparams/m32rlelf_linux.sh: Ditto. + * NEWS: Mention support m32r Linux. + +2003-12-18 Eric Youngdale + Nick Clifton + + * emultempl/pe.em (_after_open): When scanning MS import + libraries allow for the possible presence of static objects. + +2003-12-07 H.J. Lu + + * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to + cplus_demangle. + +2003-12-07 Kazu Hirata + + * ldemul.c: Convert to ISO-C. + * ldver.c: Likewise. + +2003-12-06 Kazu Hirata + + * lexsup.c (is_num): Remove. + +2003-12-05 Dmitry Semyonov + + * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to + 0. This fixes "bad fixup" error generated by MS linker. + +2003-12-04 H.J. Lu + + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set + link_info.need_relax_finalize to TRUE. + + * ldlang.c (lang_process): Use link_info.need_relax_finalize + instead of link_info.relax_finalizing. + * ldmain.c (main): Likewise. + +2003-12-04 Dmitry Semyonov + + * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. + +2003-12-04 Alan Modra + + * ldlang.c (lang_do_assignments): Function return is void. + * ldlang.h (lang_do_assignments): Ditto. + * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. + * Makefile.am (ens32knbsd.c): Depend on netbsd.em. + * Makefile.in: Regenerate. + +2003-12-03 Dave Airlie + + * configure.tgt: Add vax-linux-gnu target. + +2003-12-03 Dmitry Diky + + * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for + forthcoming devices. + (_etext): provide this defenition for all scripts. + +2003-12-02 Kazu Hirata + + * emultempl/beos.em: Remove ARGSUSED. + +2003-12-03 Alan Modra + + * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed + bfd_link_hash_entry field "next" -> "und_next". + (pe_find_data_imports): Likewise. + (gld_${EMULATION_NAME}_after_open): Likewise. + * emultempl/sunos.em (before_allocation): Likewise. + +2003-12-02 Nick Clifton + + * ld.texinfo (Options): --ignore-all is no longer the default + behaviour for shared libraries and dynamic executables. + +2003-12-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-12-02 Alan Modra + + * ldmain.c (main): Remove mpc860c0 code. + * lexsup.c (enum option_values): Delete OPTION_MPC860C0. + (ld_options): Delete mpc860c0 entry. + (parse_args): Likewise. + +2003-12-01 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test + hash table type rather than testing creator flavour. + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Only create stub_file bfd if hash table creator is as expected. + (gld${EMULATION_NAME}_finish): Test stub_file. + +2003-11-28 Marcel Moolenaar + + * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. + (DATA_ADDR): Unset. + +2003-11-18 James E Wilson + + * ldlang.c (lang_process): Move lang_reset_memory_regions call after + lang_do_assignments call. + + * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include + .rela.opd if -pie. + +2003-11-10 Jonathan Wilson + + * scripttempl/pe.sc: Add support for TLS sections. + +2003-11-09 Alan Modra + + * configure.host (HOSTING_LIBS): Group libgcc and libc with + --start-group, --end-group pair. + (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. + (am33_2.0-*-linux*): Edit default HOSTING_CRT0. + (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. + (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. + +2003-11-07 Jonathan R. Grant + + * ldfile.c (ldfile_open_file): Use "No such file" error message. + +2003-11-06 Bruno Rohee + + * ls.texinfo: Fix "the the" typo. + +2003-11-05 Alan Modra + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do + pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. + (pr_sym): Move inside #ifdef DLL_SUPPORT. + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap + unused variable. + + * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. + +2003-11-04 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call + _bfd_elf_tls_setup. + +2003-10-31 Nick Clifton + + * ldlang.c (lookup_name): When looking for a previously loaded + file compare the local_sym_name not the filename, as the + filename might have been transformed via the search directory + path lookup. + If the sought-for file has not been found in the input file + chain then create a new node with the search_dirs_flag set so + that the entire set of directory paths will be scanned for it. + +2003-10-30 Andrew Cagney + + * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" + with "struct bfd_symbol". + +2003-10-30 Phil Edwards + + * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o. + (eelf32mipswindiss.c): New target. + * Makefile.in: Regenerated. + * emulparams/elf32mipswindiss.sh: New file. + * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks, + mips*-*-vxworks*): Use ELF now. + (mips*-*-windiss): New stanza, use elf32mipswindiss. + +2003-10-27 Stephane Carrez + + * scripttempl/elfm68hc12.sc: Define eeprom memory region. + +2003-10-25 Kazu Hirata + + * ChangeLog-9197: Fix typos. + * NEWS: Likewise. + * ld.texinfo: Likewise. + * ldlang.c: Fix comment typos. + +2003-10-24 H.J. Lu + + * ldlang.c (lang_vers_match): Fix a typo. + +2003-10-24 H.J. Lu + + * ldlang.c (lang_vers_match): Check demangled symbols. + +2003-10-24 H.J. Lu + + * ldlang.c (lang_vers_match): Check "symbol" instead of + "wildcard" and "pattern". Fix a typo. + (lang_finalize_version_expr_head): Likewise. + (lang_register_vers_node): Likewise. + (realsymbol): New function. + (lang_new_vers_pattern): Set "symbol" and remove "wildcard". + + * ldlex.l (V_IDENTIFIER): Allow '\\'. + +2003-10-24 Nick Clifton + + * emultempl/m68hc1xelf.em (before_allocation): Add missing second + parameter to lang_memory_region_lookup. + +2003-10-22 Jakub Jelinek + + * ldlang.c: Include hashtab.h. + (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, + lang_vers_match_lang_java): Remove. + (lang_vers_match): New function. + (lang_new_vers_pattern): Initialize wildcard and mask + fields, don't initialize match. + (lang_new_vers_node): Use xcalloc. Adjust for globals and + locals field type changes. Set match field. + (version_expr_head_hash, version_expr_head_eq): New functions. + (lang_finalize_version_expr_head): New function. + (lang_register_vers_node): Call lang_finalize_version_expr_head. + Search in hash table if not wildcard when looking for duplicates. + * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with + duplicate checking. Initialize all fields of dot_entry from entry + with the exception of pattern and next. + +2003-10-21 Nick Clifton + + * ldlang.c (lang_memory_region_lookup): Add second parameter - + create - which is true if the region is being created. Issue + appropriate warning messages for finding and not finding + already created regions. + (lang_memory_default): Use DEFAULT_MEMORY_REGION. + (lang_leave_overlay_section): Likewise. + (lang_size_sections_1): Likewise. + Pass second parameter to lang_memory_region_lookup. + (lang_get_regions): Likewise. + * ldlang.h (DEFAULT_MEMORY_REGION): Define. + Update prototype for lang_memory_region_lookup. + * ldgram.y: Pass second parameter to lang_memory_region_lookup. + Use DEFAULT_MEMORY_REGION instead of "*default". + +2003-10-20 Andrew Cagney + + * pe-dll.c: Replace "struct sec" with "struct bfd_section". + +2003-10-19 Marek Michalkiewicz + + * Makefile.am: Remove old (before GCC 3.3) emulations for AVR + target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, + avrmega161, avrmega603. Default to avr2. + * Makefile.in: Regenerate. + * configure.tgt: Likewise. + * emulparams/avr1200.sh: Remove. + * emulparams/avr23xx.sh: Remove. + * emulparams/avr4433.sh: Remove. + * emulparams/avr44x4.sh: Remove. + * emulparams/avr85xx.sh: Remove. + * emulparams/avrmega103.sh: Remove. + * emulparams/avrmega161.sh: Remove. + * emulparams/avrmega603.sh: Remove. + * scripttempl/elf32avr.sc: Remove. + +2003-10-19 Andreas Schwab + + * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add + newline to message. + + * deffilep.y: Remove commas from %token lines. + +2003-10-18 Hans-Peter Nilsson + + * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker + relaxation always; don't exclude relocatable linking. Adjust for + _bfd_mmix_prepare_linker_allocated_gregs renamed to + _bfd_mmix_before_linker_allocation. + (mmix_after_allocation): Adjust for + _bfd_mmix_finalize_linker_allocated_gregs renamed to + _bfd_mmix_after_linker_allocation. + * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text). + + * ldlang.c (lang_size_sections): Last, set _cooked_size for output + sections. + +2003-10-16 Alan Modra + + * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use + GENSCRIPTS and GEN_DEPENDS in place of these. + * Makefile.in: Regenerate. + * genscripts_extra.sh: Delete. Merge extra functionality to.. + * genscripts.sh: ..here. + + * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define. + * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + +2003-10-16 Alan Modra + + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't + use $EMULATION_NAME to call bfd function. + +2003-10-14 Danny Smith + + * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections + to identify data symbols. + +2003-10-13 Richard Sandiford + + * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move + definition from elf64btsmip.sh. + (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh. + * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove. + * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove. + * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define. + (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects. + Define __program_header_table in terms of __elf_header. + +2003-10-10 H.J. Lu + + * Makefile.am (eelf64_ia64.c): Also depend on + $(srcdir)/emultempl/ia64elf.em. + * Makefile.in: Regenerated. + + * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. + + * emultempl/ia64elf.em: New. + +2003-10-12 Kaz Kojima + + * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. + +2003-10-11 Hans-Peter Nilsson + + * ld.texinfo (Builtin Functions) : Say that only symbols + defined before the statement using DEFINED yield 1. + * ldexp.c (fold_name) : In lang_first_phase_enum, + call lang_track_definedness on symbol. In subsequent phases, use + lang_symbol_definition_iteration and lang_statement_iteration to + check whether the symbol was defined before the current statement. + (exp_fold_tree) : Call + lang_update_definedness before updating symbol type when setting + symbol. + * ldlang.c (lang_definedness_table): New variable. + (lang_definedness_newfunc, lang_track_definedness) + (lang_symbol_definition_iteration, lang_update_definedness): New + functions. + (lang_init): Initialize lang_definedness_table and + lang_statement_iteration. + (lang_finish): Destroy bfd_hash_table_free. + (lang_size_sections): Increment lang_statement_iteration. + (lang_do_assignments_1): New function with former + lang_do_assignments contents. Change recursive calls to call this + function. + (lang_do_assignments): Evacuate contents. Increment + lang_statement_iteration, then just call lang_do_assignments_1. + * ldlang.h (struct lang_definedness_hash_entry) + (lang_statement_iteration, lang_track_definedness) + (lang_symbol_definition_iteration, lang_update_definedness): + Declare. + +2003-10-09 H.J. Lu + + * scripttempl/elf.sc (__executable_start): Provide. + +2003-10-09 Daniel Jacobowitz + + * emulparams/armelf.sh: Define NO_SMALL_DATA. + * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, + emulparams/armnto.sh: Likewise. + +2003-10-08 Alexandre Oliva + + * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell + whether to skip test for no memory region. + +2003-10-08 Nick Clifton + + * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment + describing defaults. Change default to report unresolved symbols + in object files as well. + +2003-10-08 Hans-Peter Nilsson + + * ldexp.c (fold_name) : Set section of result to + abs_output_section. + +2003-10-07 Bob Wilson + + * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, + OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to + zero for relocatable links. + +2003-10-07 John David Anglin + + * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. + +2003-10-07 Nathan Sidwell + + * ldwrite.c (unsplittable_name): New. + (clone_section): Strip existing numeric suffix. Only truncate names + for coff targets. + (split_sections): Use unsplittable_name. + +2003-10-06 Nick Clifton + + * lexsup.c (parse_args): Report unresolved symbols in shared + libraries when creating a dynamic executable. This is a + restoration of the default behaviour for previous versions of + the linker. + +2003-10-06 Matt Thomas + + * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. + * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". + +2003-10-06 Robert Millan + + * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. + +2003-10-02 Ivan Warren + + * pe-dll.c (make_one): Correct sym def order & pick right sym for + .idata$7 reloc. + +2003-09-30 Chris Demetriou + + * NEWS: Add an indication of the cutoff for 2.14. + +2003-09-30 Chris Demetriou + + * ldmain.c (get_emulation): Ignore "-mips64r2". + +2003-09-03 Robert Millan + + * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu + triplet. + * configure.tgt: Likewise. + +2003-08-29 Jafa + + * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. + +2003-08-21 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2003-08-20 Nick Clifton + + * ldmain.c: Initialise the new fields in bfd_link_info to + NOT_YET_SET. + * lexsup.c (enum option_values): New enum. Use this to + replace the hand coded values for the long switch options. + (ld_options): Add 'unresolved-symbols', + 'warn-unresolved-symbols' and 'error-unresolved-symbols'. + (parse_args): Handle the new switches. Set the values of + unresolved_symbols_in_objects and + unresolved_symbols_in_shared_libs appropriately. If they were + not initialised by the command line, install default values. + * emultempl/elf32.em (handle_option): Update OPTION_GROUP and + -z defs to use the new fields in bfd_link_info. + * ld.texinfo: Document the new switches. + * NEWS: Mention this feature. + +2003-08-15 Dmitry Diky + + * Makefile.am (GENSCRIPTS_EXTRA): New script definition which + calls genscripts_extra.sh. + Rearrange all msp430 depends using this script. + * Makefile.in: Regenerate. + * genscripts_extra.sh: New file: Similar to genscripts.sh, except + that the script to be run to generate the emulations can be passed + as an optional parameter instead of being computed from the + emulation name. + * emulparams/msp430all.sh: New file: Combine all msp430 subdevice + definitions into one file. + * emulparams/msp430x*.sh: Removed. + +2003-08-15 Nick Clifton + + * ld.texinfo (Options): Put keywords for the -z option into a + table. Add more text describing what the -z now option does. + +2003-08-14 Alan Modra + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + * Makefile.in: Regenerate. + +2003-08-13 Alan Modra + + * genscripts.sh (libpath.exp): Only generate for first emulation. + (LIB_PATH): Correct order of paths. Don't add $tool_lib when + already present or when LIB_PATH is set to ":". + +2003-08-12 Ian Lance Taylor + + * ldmain.c (undefined_symbol): Change parameter name from `fatal' + to `error'. If only a warning, put warning in the reported + string. Consistently set failure flag when not a warning. + +2003-08-08 Dmitry Diky + + * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to + gcc order. + * Makefile.in: Regenerate. + * configure.tgt: Add extra emulations. + * emulparams/msp430xE423.sh: New file. + * emulparams/msp430xE427.sh: New file. + * emulparams/msp430xW425.sh: New file. + * emulparams/msp430xE425.sh: New file. + * emulparams/msp430xW423.sh: New file. + * emulparams/msp430xW427.sh: New file. + +2003-08-07 Danny Smith + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): + Change second (cmdline) arg to lang_add_entry to FALSE. + (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. + +2003-08-05 Christian Groessler + Jason Eckhardt + + * configure.tgt: Recognize new target i860-*-coff. + * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. + (ecoff_i860.c): New rule. + * emulparams/coff_i860.sh: New file. + * scripttempl/i860coff.sc: New file. + * Makefile.in: Regenerate. + +2003-08-04 Nick Clifton + + * emultempl/elf32.em (before_allocation): Prepend "warning: " + to messages produced for .gnu.warning.SYMBOL sections. + +2003-08-04 Alan Modra + + * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put + .rel.dyn before other reloc sections. Don't stop looking for reloc + sections on finding one that isn't allocated. Match .rel even when + placing .rela and vice versa, when setting last_rel and + last_rel_alloc for the first time. If no reloc sections in script, + prefer allocated section over non-alloc. + (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. + +2003-07-29 Kaz Kojima + + * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack + section for shared library. + * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. + * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. + +2003-07-29 Stephane Carrez + + * scripttempl/elfm68hc12.sc: Add gcc_except_table. + * scripttempl/elfm68hc11.sc: Likewise. + +2003-07-28 Alan Modra + + * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. + + * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. + +2003-07-27 Alan Modra + + * ld.texinfo: Typo fixes. Document SUBALIGN. + * ldgram.y (opt_subalign): Add. + * ldlex.l (SUBALIGN): Recognize. + * ldlang.c (overlay_subalign): New var. + (lang_enter_overlay): Add subalign param. + (lang_enter_overlay_section): Pass overlay_subalign to + lang_enter_output_section_statement. + * ldlang.h (lang_enter_overlay): Update. + +2003-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-07-23 Stephane Carrez + + * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into + account .tramp sections; + * scripttempl/elfm68hc12.sc: Likewise. + +2003-07-17 Charles Wilson + + * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + +2003-07-11 Alan Modra + + * po/ld.pot: Regenerate. + +2003-07-10 Bob Wilson + + * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit + with new .got.loc section. + (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for + non-relocating links. + (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce + sections separate for non-relocating links; likewise for .xt.insn. + +2003-07-10 Alexandre Oliva + + 2001-08-22 Alexandre Oliva + * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. + 2001-05-09 Alexandre Oliva + * configure.host (am33_2.0-*-linux*): Added. + * configure.tgt (am33_2.0-*-linux*): Likewise. + * emulparams/elf32am33lin.sh: New. + * Makefile.am (eelf32am33lin.c): New rule. + * Makefile.in: Rebuilt. + +2003-07-09 Alexandre Oliva + + 2001-04-17 Alexandre Oliva + * emulparams/mn10300.sh (TEMPLATE_NAME): Define. + (GENERATE_SHLIB_SCRIPT): Likewise. + +2003-07-10 Alan Modra + + * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. + (GOT): Define. + * emultempl/ppc64elf.em (stub_added): New static var. + (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. + (ppc_add_stub_section): Set stub_added. + (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust + ppc64_elf_size_stubs call and test for stubs. + * scripttempl/elf.sc (GOT): Define and use. + +2003-07-08 J"orn Rennecke + + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): + Allow second call from ldemul_finish. + +2003-07-04 J"orn Rennecke + + * emulparams/shelf32.sh (STACK_ADDR): Don't define. + (OTHER_SECTIONS): Include .stack. + * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. + +2003-07-02 Jakub Jelinek + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include + .opd if -pie. + (OTHER_READWRITE_SECTIONS): Include .opd if -pie. + * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR + if -pie. + +2003-06-28 Alan Modra + + * ld.h: Convert to C90, remove unnecessary prototypes and casts. + Replace PTR with void *. Formatting. + * ldcref.c: Likewise. + * ldctor.c: Likewise. + * ldctor.h: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlex.h: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmain.h: Likewise. + * ldmisc.c: Likewise. + * ldmisc.h: Likewise. + * ldver.h: Likewise. + * ldwrite.c: Likewise. + * ldwrite.h: Likewise. + * lexsup.c: Likewise. + * mri.c: Likewise. + * mri.h: Likewise. + * pe-dll.c: Likewise. + * pe-dll.h: Likewise. + * deffilep.y: Likewise. + * deffile.h: Likewise. Don't include ansidecl.h. + * emulparams/elf32mcore.sh: Remove unnecessary cast. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/ticoff.em: Remove lang_add_output_format declaration. + * sysdep.h: Don't include ansidecl.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-06-27 Nick Clifton + + * deffilep.y (def_file_add_directive): Cope with NUL seperated + directives. Fix reporting of unparseable directives. + (def_error): Check for a NULL def_filename. + +2003-06-27 Alan Modra + + * emultempl/aix.em: Convert to C90, remove unnecessary prototypes + and casts. Replace PTR with void *. Formatting. + * emultempl/alphaelf.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/mmix-elfnmmo.em: Likewise. + * emultempl/mmixelf.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/needrelax.em: Likewise. + * emultempl/netbsd.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sh64elf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + * Makefile.am: Correct dependencies. + * Makefile.in: Regenerate. + +2003-06-25 Alan Modra + + * ld.texinfo: Correct spelling of "relocatable". + * ldctor.c: Likewise. + * ldexp.c: Likewise. + * ldfile.c: Likewise. + * ldint.texinfo: Likewise. + * ldlang.c: Likewise. + * ldmain.c: Likewise. + * ldwrite.c: Likewise. + * lexsup.c: Likewise. + * emultempl/aix.em: Likewise. + * emultempl/alphaelf.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/mmix-elfnmmo.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/needrelax.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/sh64elf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2003-06-24 Alan Modra + + * emultempl/ppc32elf.em: Convert to C90. + +2003-06-20 Alan Modra + + * emultempl/ppc64elf.em: Convert to C90 function definitions, remove + unnecessary prototypes and casts. + +2003-06-19 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out + statistics from ppc64_elf_build_stubs. + +2003-06-19 Alan Modra + + * emultempl/ppc64elf.em (build_section_lists): Check return status + from ppc64_elf_next_input_section. + +2003-06-17 H.J. Lu + + * ldlang.c (section_already_linked): Put back assignment of + kept_section. + +2003-06-17 Rainer Keuchel + + * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D + reloc. + +2003-06-17 Loren James Rittle + + * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 + if not produced by gcc. + +2003-06-16 Hans-Peter Nilsson + + * configure.tgt: Add specific case for cris-*-linux-gnu* + with crislinux emulation only. + +2003-06-13 Robert Millan + + * configure.tgt: Add i386-netbsd-gnu target. + +2003-06-12 Richard Sandiford + + * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations + to $targ_extra_libpath. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-10 Doug Evans + + * Makefile.am (ALL_EMULATIONS): Add em32relf.o. + * Makefile.in: Regenerate. + +2003-06-10 Richard Sandiford + + * configure.tgt (h8300*): Add h8300sxn emulations. + * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. + (eh8300sxn.c, eh8300sxnelf.c): New rules. + * Makefile.in: Regenerate. + * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. + * scripttempl/h8300sxn.sc: New file. + +2003-06-10 Alan Modra + + * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, + CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. + +2003-06-08 Alan Modra + + * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. + (build_toc_list): New function. + (gld${EMULATION_NAME}_finish): Call build_toc_list and + ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. + (OPTION_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. + (PARSE_AND_LIST_OPTIONS): Document. + (PARSE_AND_LIST_ARGS_CASES): Handle. + +2003-06-05 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove + extra \t in -z noexecstack line. + +2003-05-23 Jakub Jelinek + + * ldgram.y (phdr_type): Grok PT_GNU_STACK. + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add + -z execstack and -z noexecstack. + (gld${EMULATION_NAME}_list_options): Likewise. + * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. + +2003-06-03 Michael Snyder + and Bernd Schmidt + and Alexandre Oliva + + * Makefile.am: Add new emulations for h8300sx. + * Makefile.in: Regenerate. + * configure.tgt: Add new emulations. + * emulparams/h8300sx.sh: New emulation. + * emulparams/h8300sxelf.sh: Ditto. + * scripttempl/h8300sx.sc: Ditto. + +2003-06-03 H.J. Lu + + * ldmisc.c: Include "bfdlink.h". + (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION + and -LD_DEFINITION_IN_DISCARDED_SECTION. + + * Makefile.am: Rebuild dependency. + * Makefile.in: Regenerated. + +2003-06-03 Kaz Kojima + + * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. + +2003-06-02 Fabrizio Gennari + + * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is + sorted alphabetically, instead of exported_symbols, which is + sorted by ordinal. + +2003-05-30 Ulrich Drepper + Jakub Jelinek + + * lexsup.c (OPTION_PIE): Define. + (ld_options): Add -pie and --pic-executable options. + (parse_args): Handle OPTION_PIE. + * ldmain.c (main): Initialize link_info.pie and + link_info.executable. + * genscripts.sh: Generate PIE scripts. + * ld.texinfo: Document -pie and --pic-executable options. + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): + (gld${EMULATION_NAME}_place_orphan): Likewise. + (gld${EMULATION_NAME}_get_script): Include PIE scripts. + * scripttempl/elf.sc: In PIE scripts set . the same way as in + shared scripts. + * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. + +2003-05-30 H.J. Lu + + * genscripts.sh: Create tmpdir/libpath.exp. + +2003-05-30 Nick Clifton + + * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT + with a test for a NULL bfd_for_interworking. + +2003-05-29 Jason Thorpe + + * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS + correctly for more recent versions of NetBSD. + (alpha*-*-netbsd*): Remove. + (i[3-7]86-*-netbsd*): Remove. + +2003-05-29 Nick Clifton + + * emultempl/pe.em: Include "safe-ctype.h" instead of . + +2003-05-26 Maciej W. Rozycki + + * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to + trap on pointer crops. + +2003-05-21 Marcus Comstedt + + * configure.tgt: Check for a target triplet of shl-...-netbsdelf + as well as shle-...-netbsdelf. + +2003-05-16 Kelley Cook + + * configure.host: Accept i[3-7]86 variants. + * configure.tgt: Likewise. + +2003-05-15 H.J. Lu + + * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. + +2003-05-09 Daniel Jacobowitz + + * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. + (earmelfb.c, earmelfb_linux.c): New rules. + * Makefile.in: Regenerated. + * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. + * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. + +2003-05-09 Nick Clifton + + * ldlang.c (lang_size_sections_1): Default to generating a + fatal error message if a loadable section is not allocated + to a memory region when regions are defined. + +2003-05-09 Alan Modra + + * Makefile.am (em68hc11elf.c): Correct dependencies. + (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. + * Makefile.in: Regenerate. + * emultempl/elf32.em (find_exp_assignment): Adjust for changed + bfd_elf_record_link_assignment name. + +2003-05-07 Alexandre Oliva + + * ldmain.h (overflow_cutoff_limit): Declare. + * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. + (reloc_overflow): Limit error messages based on it. + * lexsup.c (parse_args) : Set cutoff to + unlimited. + +2003-05-05 Alan Modra + + * ldlex.l: Accept C style comments in version scripts. + +2003-04-28 H.J. Lu + + * ldlang.c (lang_process): Add the relax finalize pass. + + * ldmain.c (main): Initialize link_info.relax_finalizing to + FALSE. + +2003-04-24 Roland McGrath + + * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. + If a name string is unknown, give an error rather than crashing later. + +2003-04-23 Dhananjay Deshpande + + * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, + eh8300hnelf.o, eh8300snelf.o and respective rules. + * Makefile.in: Regenerate. + * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf + * emulparams/h8300hn.sh: New + * emulparams/h8300sn.sh: New + * emulparams/h8300hnelf.sh: New + * emulparams/h8300snelf.sh: New + * scripttempl/h8300hn.sc: new + * scripttempl/h8300sn.sc: new + +2003-04-23 H.J. Lu + + * ldmain.c (link_callbacks): Initialize error_handler. + + * ldmisc.c (error_handler): New function. + + * ldmisc.h (error_handler): New prototype. + +2003-04-21 Stephane Carrez + + * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. + * emulparams/m68hc11elfb.sh: Likewise. + * emulparams/m68hc12elf.sh: Likewise. + * emulparams/m68hc12elfb.sh: Likewise. + +2003-04-19 Stephane Carrez + + * emultempl/m68hc1xelf.em: New file to generate far trampolines on + 68HC11 and 68HC12. + (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to + generate. + (LDEMUL_FINISH): Override to generate the trampolines after gc and + linker relaxation. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the + stub file for trampolines. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options + --no-trampoline and --bank-window to control the memory bank window. + +2003-04-18 H.J. Lu + + * ldfile.c (ldfile_add_library_path): Remove the unused + variable. + +2003-04-18 Andrew Haley + + * scripttempl/xstormy16.sc (__data, __rdata): New. + +2003-04-16 Nick Clifton + + * scripttempl/xstormy16.sc: Add .jcr section mapping. + +2003-04-15 H.J. Lu + + From Debian by Jack Howarth : + + * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. + +2003-04-15 Rohit Kumar Srivastava + + * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. + * ld.texinfo: Likewise. + +2003-04-14 Alan Modra + + From Prashanth Tamraparni + * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and + other variants of crtbegin.o, crtend.o. + (DTOR): Likewise. + * scripttempl/crisaout.sc (ctors, dtors): Likewise. + * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. + * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. + * scripttempl/mmo.sc (ctors, dtors): Likewise. + * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. + +2003-04-09 Dmitry Diky + + * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors + sections to respect C++ constructor/destructor. Add ctors/dtors + start/stop definitions. + * scripttempl/elf32msp430_3.sc: Likewise. + +2003-04-06 Nick Clifton + + * ld.texinfo (Options): Add a reminder of the target specific + nature to the description of the i386 PE specific options, for + readers who have not read all the way through the manual. + +2003-04-04 Svein E. Seldal + + * configure.tgt: Fixed bug in list of targ_extra_emuls. + * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace + cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ + * emulparams/tic3xcoff_onchip.sh: Ditto + * emulparams/tic4xcoff.sh: Ditto + * scripttempl/tic4xcoff.sc: Ditto + +2003-04-03 Nick Clifton + + * NEWS: Mention support for Xtensa architecture. + +2003-04-02 Nick Clifton + + * pe-dll.c (pe_detail_list): arm-pe targets use underscores. + +2003-04-01 Danny Smith + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + Don't call pe_dll_build_section() if link_info.relocateable. + (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() + if link_info.relocateable. + +2003-04-01 Fabrizio Gennari + + * pe-dll.c (process_def_file): Don't create an export + section if there are no exports and we're building an exe + (pe_dll_build_sections): Ditto + (pe_dll_fill_sections): Conditionalize setting + abfd->dll true on info->shared + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + If i386pe or armpe, call pe_dll_build_section() + for both exe's and dll's, not just dll's. + (gld_${EMULATION_NAME}_finish): For all targets except + shpe and mipspe, call pe_dll_fill_sections() for both + exe's and dll's, not just dll's. + +2003-04-02 Bob Wilson + + * emulparams/xtensa-config.sh: Remove comment indicating that this is + a generated file. + +2003-04-01 Bob Wilson + + * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. + (eelf32xtensa.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle xtensa-*-*. + * gen-doc.texi: Set XTENSA variable. + * ld.texinfo: Set XTENSA variable. Add new Xtensa node. + * emulparams/elf32xtensa.sh: New file. + * emulparams/xtensa-config.sh: Likewise. + * emultempl/xtensaelf.em: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2003-04-01 Jakub Jelinek + + * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 + targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath + if --enable-64-bit-bfd. + +2003-04-01 Nick Clifton + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of + note section. + * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change + name of note section. + +2003-03-31 Alexandre Oliva + + * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of + --section-start. + +2003-03-31 David Heine + + * ldfile.c (ldfile_add_library_path): Always allocate space for + the filename. + * ldlang.c (lang_register_vers_node): Free the node if it cannot + be used. + * ldmain.c (set_scripts_dir): Always free the constructed + directory name. + (add_keepsyms_file): Fix memory leak. + * ldmisc.c (vfinfo): Likewise. + * lexsup.c (parse_args): Likewise. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. + * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. + * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. + (.bss): Likewise. + +2003-03-25 Alexandre Oliva + + * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. + * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. + (main): Initialize them. + * ldfile.c: Include pathnames.h. + (is_sysrooted_pathname): New. + (ldfile_add_library_path): Use it. + (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't + search_dirs if given an absolute pathname. + (ldfile_open_file): Issue error message for sysrooted + absolute pathnames. + * Makefile.am: Updated dependencies. + * Makefile.in: Rebuild. + +2003-03-24 Daniel NĂ©ri + + * ld.texinfo: Rename all occurances of C54X to TIC54X. + +2003-03-19 Andreas Schwab + + * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after + eof. + +2003-03-18 Danny Smith + + * deffilep.y (opt_base): If no number given, set to default + (-1), not 0. + +2003-03-13 Danny Smith + + * deffilep.y (def_import): Use default extension of "dll" + if no extension provided in parsed IMPORT definition. + + * deffilep.y (def_lex): Revert 2003-03-12 change. + (dot_name): New id type and rule. + (expline): Use instead of ID. + (opt_equal_name): Likewise. + +2003-03-12 Danny Smith + + * deffilep.y (def_lex): Accept '.' as valid non-lead char. + +2003-03-07 Christopher Faylor + + * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after + apparent accidental removal on 2003-01-06. + +2003-03-04 Dmitry Diky + + * Makefile.am: Add new devices x1122 x1132 emulation + * configure.tgt: Likewise. + * Makefile.in: Regenerate. + * emulparams/msp430x1122.sh: New file. + * emulparams/msp430x1132.sh: New file. + +2003-03-03 Alexandre Oliva + + * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as + well. + + * ldfile.h (struct search_dirs): Added sysrooted field. + * ldlang.h (struct lang_input_statement_struct): Likewise. + * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. + (ldfile_open_file_search): Look for sysrooted filename starting + with / in ld_sysroot instead of in the current directory. Clear + sysrooted flag if it's found in the current directory. Set it + from the search directory's sysrooted flag where it is found + otherwise. + * ldlang.c (ldlang_sysrooted_script): New static variable. + (new_afile): Mark search_file_enums as sysrooted if + ldlang_sysrooted_script. + (load_symbols): Set ldlang_sysrooted_script according to the + script's sysrooted field while processing it. + * ld.texinfo: Document INPUT behavior in sysroot. + +2003-03-02 Danny Smith + + * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, + +2003-03-03 Alan Modra + + * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, + PARSE_AND_LIST_EPILOGUE): Don't define. + * emultempl/alphaelf.em: New file. + +2003-03-01 Alan Modra + + * ldemul.c: Include getopt.h. + * emultempl/elf32.em: Include getopt.h earlier. + * emultempl/ticoff.em: Likewise. + +2003-02-28 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc + support when scripts read from files. + +2003-02-28 Alan Modra + + * ldemul.c (ldemul_parse_args): Return FALSE by default. + * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args + comment. + + * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. + (ldemul_parse_args): Return bfd_boolean. Formatting. + * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. + (ldemul_parse_args): Adjust. + (struct ld_emulation_xfer_struct): Add add_options and handle_option. + Return bfd_boolean from parse_args. + * lexsup.c (parse_args): Malloc shortopts, longopts and + really_longopts. Call ldemul_add_options and ldemul_handle_option. + * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from + gld${EMULATION_NAME}_parse_args. + (gld${EMULATION_NAME}_handle_option): Likewise. + (ld_${EMULATION_NAME}_emulation): Adjust initializer. + * emultempl/armcoff.em: As for aix.em, but remove parse_args. + * emultempl/beos.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/elf32.em: Likewise. Don't duplicate long options either. + (gld${EMULATION_NAME}_add_sysroot): Prototype. + * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate + options. + * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust + initializer. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. + +2003-02-25 Alexandre Oliva + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix + memory allocation error. + + * Makefile.am (ldmain.o): Define TOOLBINDIR. + * Makefile.in: Rebuilt. + * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. + +2003-02-21 Bob Wilson + + * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only + call os_region_check when it is set. + (lang_size_sections): Add CHECK_REGIONS argument and pass it through to + lang_size_sections_1. + (lang_process): Change lang_size_sections calls to set CHECK_REGIONS + only for the last call, not on every relaxation iteration. + * ldlang.h (lang_size_sections): Update prototype. + * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls + to lang_size_sections. + (pe_exe_fill_sections): Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. + * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. + * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. + (ppc_layout_sections_again): Likewise. + +2003-02-21 Bob Wilson + + * gen-doc.texi: Set ARM and HPPA variables. + * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section + title capitalization more consistent. Add missing menu entries for + machine-specific sections and conditionalize them consistently. + Conditionalize text that is irrelevant when SingleFormat is set. + Add @group divisions to improve page breaks in long examples. + Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output + is correct. Remove "FIXME" comment about not using + @raisesections/@lowersections. Use @raisesections/@lowersections + consistently for machine-specific sections. Change to be more polite + about poor bug reports. Replace FDL appendix with include of fdl.texi. + Move WIN32 node to match its order in the menus. + * fdl.texi: New file. + +2003-02-20 Alexandre Oliva + + * configure.in (TARGET_SYSTEM_ROOT): Set default to + ${exec_prefix}/${target_alias}/sys-root. Match explicit + '${exec_prefix}' (in addition to the expansion thereof) as + relocatable. + * configure: Rebuilt. + +2003-02-20 Phil Edwards + + * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. + +2003-02-20 Harri Porten + + * ldgram.y (vers_defns): Allow optional trailing semicolon in + EXTERN NAME block; + +2003-02-18 Alan Modra + + * emultempl/ppc32elf.em: New file. + * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. + * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. + (eelf32lppcnto.c): Likewise. + (eelf32lppcsim.c): Likewise. + (eelf32ppcnto.c): Likewise. + (eelf32ppc.c): Likewise. + (eelf32ppc_fbsd.c): Likewise. + (eelf32ppcsim.c): Likewise. + (eelf32ppclinux.c): Likewise. + * Makefile.in: Regenerate. + +2003-02-18 Alan Modra + + * ld.texinfo: Remove spaces between @samp and opening brace. + +2003-02-18 Alan Modra + + * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check + hash creator. + (ppc_before_allocation): Don't do optimizations if wrong hash table. + (gld${EMULATION_NAME}_finish): Ditto. + +2003-02-17 Nick Clifton + + * ldmain.c (main) Default allow_shlib_undefined to true. + * lexsup.c (ld_options): Add --no-allow-shlib-undefined. + (parse_args): Parse the new switch. + * ld.texinfo: Document new switch and default behaviour of + allowing undefined symbols in shared libraries. + +2003-02-11 Dmitry Diky + + * scripttempl/elf32msp430.sc: Add new data anchors definitions. + * scripttempl/elf32msp430_3.sc: Likewise. + +2003-02-11 Uwe Stieber + + * configure.tgt: Add support for kaOS as cross build target + system. + +2003-02-10 John Daivid Anglin + + * hppaelf.em (group_size): Change default back to 1. + +2003-02-09 Alan Modra + + * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. + +2003-02-07 John David Anglin + + * hppaelf.em (group_size): Change default to -1. + +2003-02-07 Nick Clifton + + * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short + opt. + (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for + no-pipeline-knowledge. This will prevent the getopt package from + thinking that there are any shorter abbreviations for + --no-pipeline-knowledge. + +2003-02-07 Jakub Jelinek + + * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths + which already have it. Avoid duplicates. + +2003-02-06 Jakub Jelinek + + * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. + * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. + * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. + +2003-02-05 Alan Modra + + * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then + call ppc64_elf_tls_optimize. + +2003-02-03 Daniel Jacobowitz + + * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot + outside of GNU/Linux conditional. + +2003-01-28 Ralf Habacker + + * deffilep.y (def_get_module): New function: locate an already + added module. + * deffile.h (def_get_module): New prototype. + * pe-dll.c (pe_implied_import_dll): Add code to prevent importing + a dll multiple times. + +2003-01-23 Alan Modra + + * emultempl/sh64elf.em: Include elf32-sh64.h. + (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed + sh64_elf_section_data. + (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. + +2003-01-23 Wu Yongwei + + * ld.texinfo: Remove an extra "i" in --dll-search-prefix. + * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a + cross-80th-column-margin "an" to the next line. + +2003-01-21 Nick Clifton + + * emulparams/tic3xcoff-onchip.sh: Rename to ...z + * emulparams/tic3xcoff_onchip.sh: ...this. + * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. + * Makefile.in: Regenerate. + +2003-01-21 Fabio Alemagna + + * configure.tgt: Handle i[3456]86-*-aros* + +2003-01-19 Svein E. Seldal + + * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o + * Makefile.in: Regenerate + * configure.tgt: Added extra target emulations + * emulparams/tic3xcoff.sh: Remove old settings + * emulparams/tic4xcoff.sh: Ditto + * emulparams/tic3xcoff-onchip.sh: Added new + * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x + * scripttempl/tic3xcoff.sc: Remove + +2003-01-17 Andreas Jaeger + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not + skip ':'. + +2003-01-16 Alan Modra + + * Makefile.in: Regenerate. + +2002-01-14 Charles Wilson + + * ld.texinfo (node WIN32): Some clarifications + and formatting fixups. + +2003-01-09 Chris Demetriou + + * ldmain.c (get_emulation): Sort -mipsNN checks in the usual + order, and handle (ignore) -mips32r2. + +2003-01-09 Daniel Jacobowitz + + * ldmain.c (main): Make sure ld_sysroot is initialized. + +2003-01-06 Daniel Jacobowitz + + * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. + + * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. + (GENSCRIPTS): Add @use_sysroot@. + * Makefile.in: Regenerated. + * configure.host: Move setting of NATIVE_LIB_DIRS to... + * configure.tgt: ... here. Use ${target} instead of ${host} + for NATIVE_LIB_DIRS. + * configure.in: Add --with-sysroot. + * configure: Regenerated. + * genscripts.sh: Accept use_sysroot option. Set new variables + NATIVE and USE_LIBPATH. Prepend "=" to directory names if + $use_sysroot. Don't search $tool_lib if $use_sysroot. + * ldfile.c (ldfile_add_library_path): Handle leading '='. + * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. + (ld_sysroot): New variable. + (main): Initialize ld_sysroot. + * ldmain.h (ld_sysroot): New extern. + * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of + searching $EMULATION_LIBPATH. + (gld${EMULATION_NAME}_add_sysroot): New function. + (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. + (gld${EMULATION_NAME}_after_open): Likewise. Only search + environment variables if $NATIVE. + * ld.texinfo (Options): Mention "=" prefix in the description of -L. + * NEWS: Mention --with-sysroot. + + * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX + instead of setting LIB_PATH. + * emulparams/elf32ppc.sh: Likewise. + * emulparams/elf64_s390.sh: Likewise. + * emulparams/elf64_sparc.sh: Likewise. + * emulparams/elf64ppc.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + + * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. + * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. + +2003-01-03 Charles Wilson + + * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. + +2003-01-04 Daniel Jacobowitz + + * Makefile.am (ldmain.o): Pass BINDIR. + * Makefile.in: Regenerated. + * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first + search path. + +2003-01-02 Ben Elliston + + * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. + (eelf32iq2000.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle iq2000-*-elf. + * emulparams/elf32iq10.sh: New file. + * emulparams/elf32iq2000.sh: New file. + * scripttempl/iq2000.sc: New file. + +2003-01-02 Charles Wilson + + * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc + and _pei386_runtime_relocator to the exclude list. + +2003-01-01 Kazu Hirata + + * ldfile.c: Fix comment typos. + * ldlang.c: Likewise. + * mri.c: Likewise. + * pe-dll.c: Likewise. + +2003-01-01 Daniel Jacobowitz + + Suggested by Manfred Hollstein : + * Makefile.am (ld.1): Depend on configdoc.texi + and ldver.texi. + * Makefile.in: Regenerated. + +For older changes see ChangeLog-0001 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index aad5a2f730a..19f3c33b192 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -3,3372 +3,11 @@ * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets. * ld-selective/selective.exp: Likewise. -2003-12-30 Mark Mitchell - - * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC - 3.4 does not support it. - -2003-12-18 Richard Sandiford - - * ld-mips-elf/reloc-1[ab].s: New source files. - * ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. - * ld-mips-elf/reloc-2[ab].s: New source files. - * ld-mips-elf/reloc-2.{d,ld}: New test. - * ld-mips-elf/reloc-3[ab].s: New source files. - * ld-mips-elf/reloc-3-{r,srec}.d: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2003-12-07 Richard Sandiford - - * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)". - * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. - -2003-12-01 Kaz Kojima - - * ld-sh/sh64/shmix-1.s: Add align to match data alignment. - * ld-sh/sh64/shmix-3.s: Likewise. - * ld-sh/sh64/mix1.sd: Update. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix1-noexp.sd: Likewise. - * ld-sh/sh64/mix2.sd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/mix2-noexp.sd: Likewise. - -2003-12-01 Alan Modra - - * ld-sh/tlsbin-2.d: Update section alignment. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/rel64.xd: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2003-11-19 Alan Modra - - * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump. - * ld-powerpc/tlsso32.d: Likewise. - -2003-10-27 Stephane Carrez - - * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812 - due to elf/Dwarf2 binutils limitation. - -2003-10-23 H.J. Lu - - * ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the - linker option from gcc. - -2003-10-23 Alan Modra - - * ld-powerpc/tlsexetoc.d: Correct. - * ld-powerpc/tlstoc.d: Correct. - -2003-10-18 Hans-Peter Nilsson - - * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, - ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass - --no-pushj-stubs to the assembler. - * ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d, - ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d, - ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d, - ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d, - ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d, - ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d, - ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d, - ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d, - ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests. - -2003-10-15 Kaz Kojima - - * ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy - the output of linker to the file tmpdir/*-dso.so. - * ld-sh/sh64/stobin-0-dso.d: New. - * ld-sh/sh64/stobin-1.d: New. - * ld-sh/sh64/stobin.s: New. - * ld-sh/sh64/stolib.s: New. - -2003-10-13 Richard Sandiford - - * ld-mips-elf/multi-got-1.d (RELSZ): Don't include the size of the - trailing null relocs. - -2003-10-12 Kaz Kojima - - * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each - sh64/sh5 targets. - * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and - sh5*-*-* targets. - * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. - * ld-sh/sh64/relfail.exp: Set parameters for netbsd. - * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section - numbers for crangerel1 and crengerel2 tests. - * ld-sh/sh64/abi32.sd: Update. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.sd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/abixx-noexp.sd: Likewise. - * ld-sh/sh64/cmpct1.sd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/dlsection.sd: Likewise. - * ld-sh/sh64/endian.sbd: Likewise. - * ld-sh/sh64/endian.sld: Likewise. - * ld-sh/sh64/gotplt.d: Likewise. - * ld-sh/sh64/init-cmpct.d: Likewise. - * ld-sh/sh64/init-media.d: Likewise. - * ld-sh/sh64/init.s: Align functions. - * ld-sh/sh64/init64.d: Update. - * ld-sh/sh64/mix1-noexp.sd: Likewise. - * ld-sh/sh64/mix1.sd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2-noexp.sd: Likewise. - * ld-sh/sh64/mix2.sd: Likewise. - * ld-sh/sh64/mix2.xd:Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/rel64.xd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - * ld-sh/sh64/shdl32.xd: Update. - * ld-sh/sh64/shdl64.sd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. - * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. - * ld-sh/weak1.d: Likewise. - -2003-10-11 Hans-Peter Nilsson - - * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. - * ld-scripts/defined.exp: Run defined3. - -2003-10-08 Hans-Peter Nilsson - - * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. - * ld-scripts/defined.exp: Run defined2. - -2003-10-07 John David Anglin - - * ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for - non 64-bit hppa*-*-linux* targets. - * ld-elfvsb/main.c (main_visibility_check): Cast value returned by - visibility_funptr () to a function pointer. - * ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load - offset), and shared (PIC main, non PIC so) tests for non 64-bit - hppa*-*-linux* targets. - -2003-09-30 H.J. Lu - - * ld-checks/checks.exp (section_check): Remove ia64-*-elf*. - -2003-09-30 H.J. Lu - - * ld-checks/checks.exp (section_check): Skip ia64-*-* instead - of ia64-*-linux*. - -2003-09-30 H.J. Lu - - * ld-ia64/ia64.exp: Remove -melf64_ia64. - - * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* - instead of elf64-ia64-little. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlsbin.td: Likewise. - * ld-ia64/tlsg.sd: Likewise. - * ld-ia64/tlspic.dd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-ia64/tlspic.td: Likewise. - -2003-09-30 Chris Demetriou - - * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations - with MIPS64r2. - -2003-09-29 H.J. Lu - - * lib/ld-lib.exp (proc is_elf64): New. - - * ld-scripts/phdrs.exp: Use is_elf_format and is_elf64. - -2003-09-23 Alan Modra - - * ld-discard/exit.s: Correct .text.exit attributes. - * ld-discard/extern.s: Likewise. - * ld-discard/static.s: Likewise. - -2003-09-21 Thiemo Seufer - - * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. - * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * ld-mips-elf/relax-jalr-n64.d: Likewise. - * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2003-09-14 Hans-Peter Nilsson - - * ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, - ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d, - ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d, - ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d, - ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d, - ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d, - ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for - objdump -d change. - -2003-09-11 Alan Modra - - * ld-elf/merge2.s: New. - * ld-elf/merge2.d: New. - -2003-08-16 Hans-Peter Nilsson - - * ld-mmix/bpo-9.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d: Adjust for - recent objdump "Contents of ..." change. - -2003-08-02 Kaz Kojima - - * ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test. - -2003-08-02 Alan Modra - - * ld-d10v/reloc-001.d: Adjust for objdump -d change. - * ld-d10v/reloc-002.d: Likewise. - * ld-d10v/reloc-005.d: Likewise. - * ld-d10v/reloc-006.d: Likewise. - * ld-d10v/reloc-009.d: Likewise. - * ld-d10v/reloc-010.d: Likewise. - * ld-d10v/reloc-013.d: Likewise. - * ld-d10v/reloc-014.d: Likewise. - * ld-xstormy16/pcrel.d: Likewise. - -2003-07-29 Jakub Jelinek - - * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc - sections. - -2003-07-29 Alan Modra - - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-07-29 Nick Clifton - - * ld-alpha/tlsbin.dd: Update to account for .eh_frame section. - * ld-alpha/tlsbin.rd: Likewise. - * ld-alpha/tlsbin.sd: Likewise. - * ld-alpha/tlsbinr.dd: Likewise. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlsbinr.sd: Likewise. - * ld-alpha/tlspic.dd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-alpha/tlspic.sd: Likewise. - -2003-07-26 Alan Modra - - * ld-powerpc/tlsexe32.d: Update. - * ld-powerpc/tlsso32.d: Update. - -2003-07-24 H.J. Lu - - * ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2003-07-23 Stephane Carrez - - * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft - register. - -2003-07-22 H.J. Lu - - * ld-selective/selective.exp: Skip "ia64-*-*". - - * ld-srec/srec.exp: Make xfail on "ia64-*-*". - -2003-07-11 Richard Sandiford - - * ld-h8300/relax-3{.s,.d,-coff.d}: New test. - * ld-h8300/h8300.exp: Run it. - -2003-07-10 Alan Modra - - * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc. - * ld-powerpc/tlsexetoc.g: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlstoc.g: Update. - * ld-powerpc/tlstocso.g: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-07-04 Richard Sandiford - - * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d - unconditionally. Run relax-2.d for *-elf targets. - * ld-h8300/relax.d: Fix typo. - * ld-h8300/relax.s: Add 0x prefixes. - * ld-h8300/relad-2.[sd]: New test. - -2003-06-29 Thiemo Seufer - - * ld-mips-elf/mips-elf.exp: Use is_elf_format. - -2003-06-29 Thiemo Seufer - - * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6. - -2003-06-25 Alan Modra - - * ld-powerpc/apuinfo.rd: Update. - -2003-06-21 Thiemo Seufer - - * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. - * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. - -2003-06-18 Hans-Peter Nilsson - - * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, - ld-cris/locref2.s: New tests. - - * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain - readelf as found using default path. - -2003-06-18 Alan Modra - - * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before - trying to trim ld path. - (default_ld_compile): Likewise for cc. - - * lib/ld-lib.exp (default_ld_simple_link): Trim ld path before - looking for gcc match. - (default_ld_compile): Likewise for cc. - -2003-06-17 Loren James Rittle - - * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail. - -2003-06-16 Alan Modra - - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlstoc.d: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-06-16 Hans-Peter Nilsson - - * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*. - * ld-cris/noglob1.d: Ditto. - * ld-cris/badgotr1.d: Pass --underscore to gas. - -2003-06-12 Thiemo Seufer - - * ld-mips-elf/elf-rel-got-n64-linux.d: New file. - * ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. - * ld-mips-elf/mips-elf.exp: Use the new files for Linux. - -2003-06-12 Thiemo Seufer - - * ld-mips-elf/relax-jalr.s: Fix testsuite breakage. - * ld-mips-elf/relax-jalr-n32.d: Likewise. - * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * ld-mips-elf/relax-jalr-n64.d: Likewise. - * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2003-06-11 Thiemo Seufer - - * ld-mips-elf/multi-got-1.d: Adjust addresses. - * ld-mips-elf/rel32-n32.d: Likewise. - -2003-06-11 Alan Modra - - * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and - xfail for hppa duplicated elsewhere. - -2003-06-10 Thiemo Seufer - - * ld-mips-elf/rel32-n32.d: Force big endian assembly. - * ld-mips-elf/rel32-o32.d: Likewise. - * ld-mips-elf/rel64.d: Likewise. - -2003-06-10 Alan Modra - - * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. - * ld-powerpc/tls.t: Update. - * ld-powerpc/tlsexe.d: Update. - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlsexetoc.t: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlsso.g: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlsso.t: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.g: Update. - * ld-powerpc/tlstocso.r: Update. - * ld-powerpc/tlstocso.t: Update. - -2003-06-03 H.J. Lu - - * ld-discard/extern.d: Updated. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - -2003-06-03 H.J. Lu - - * ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is - not available. - -2003-06-02 Fabrizio Gennari - - * ld-cygwin: New directory. - * ld-cygwin/exe-export.exp: New test script. Checks building - cygwin executables with an export table. - * ld-cygwin/testdll.def: New source file. - * ld-cygwin/testexe.def: New source file. - * ld-cygwin/testdll.c: New source file. - * ld-cygwin/testexe.c: New source file. - -2003-05-30 H.J. Lu - - * config/default.exp: Load tmpdir/libpath.exp. - (gcc_ld_flag): Set from $libpath. - -2003-05-27 Jason Thorpe - - * ld-elf/elf.exp: Use if_elf_format. - * ld-elf/sec64k.exp: Likewise. - * ld-elfcomm/elfcomm.exp: Likewise. - * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*. - -2003-05-25 Jason Thorpe - - * ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf. - -2003-05-20 Jakub Jelinek - - * ld-elfvsb/common.c: New file. - * ld-elfvsb/elfvsb.exp: Add common. - -2003-05-20 H.J. Lu - - * ld-elfvsb/sh3.c: New file. - * ld-elfvsb/test.c: Likewise. - - * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests. - -2003-05-15 H.J. Lu - - * config/default.exp (gcc_ld_flag): New. Make the newly built - linker available to gcc. - * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag - to gcc. - - * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared - libraries. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-shared/shared.exp: Likewise. - - * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared - libraries. - * ld-elfvsb/elfvsb.exp: Likewise. - - * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. - - * ld-elfweak/elfweak.exp: Use PIC for shared libraries. - -2003-05-13 Stephane Carrez - - * ld-m68hc11/link-hcs12.d: New test. - * ld-m68hc11/link-hcs12.s: New file. - * ld-m68hc11/link-hc12.s: New file. - -2003-05-13 H.J. Lu - - * ld-elfweak/elfweak.exp: Fix typo. - -2003-05-13 Kaz Kojima - - * ld-elfvers/vers.exp: Run on sh[34]*-*-linux*. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - -2003-05-12 Hans-Peter Nilsson - - * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, - ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d, - ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d, - ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d, - ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d, - ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d, - ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for - objdump no longer truncating dump addresses. - -2003-05-09 Martin Schwidefsky - - * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame - to linker script. - * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. - * ld-selective/selective.exp: Disable for s390 and s390x. - * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame - to linker script. - * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. - * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x. - -2003-05-08 H.J. Lu - - * ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test - versioned reference for hidden symbol. - - * ld-elfvers/vers27d4.dsym: New file. - * ld-elfvers/vers27d4.ver: Likewise. - -2003-05-07 H.J. Lu - - * ld-elfvers/vers27d3.c (__start): New. - (start): New. - -2003-05-07 H.J. Lu - - * ld-elfvers/vers.exp (build_binary): Support build exeutable. - (build_binary): Renamed from ... - (build_vers_lib): This. - (build_vers_lib_no_pic): Updated. - (build_vers_lib_pic): Likewise. - Add vers27d1, vers27d2 and vers27d3 to test versioned - definition for hidden symbol referenced by a DSO. - - * ld-elfvers/vers27d.dsym: New file. - * ld-elfvers/vers27d.sym: Likewise. - * ld-elfvers/vers27d.ver: Likewise. - * ld-elfvers/vers27d1.c: Likewise. - * ld-elfvers/vers27d2.c: Likewise. - * ld-elfvers/vers27d3.c: Likewise. - -2003-05-07 Andreas Schwab - - * ld-elfvsb/elfvsb.exp: Run dump tests even when cross - compiling. - -2003-05-06 Alexandre Oliva - - * config/default.exp (gcc_gas_flags): Force ABI to n32 on - mips64-linux. - * ld-elf/merge.d: Xfail on mips64*-linux-gnu*. - * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible - on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu. - (good_combination, bad_combination): Use it. - Add -32 or -mabi=o64 wherever the ABI was formerly implied. - -2003-05-06 H.J. Lu - - * ld-elfvers/vers.exp (objdump_versionstuff): Support comment - in expected version file. - - * ld-elfvers/vers25b.c: Add a line of comment. - * ld-elfvers/vers25b.dsym: Likwise. - * ld-elfvers/vers25b.ver: Likwise. - * ld-elfvers/vers26b.dsym: Likwise. - * ld-elfvers/vers26b.ver: Likwise. - * ld-elfvers/vers27b.dsym: Likwise. - * ld-elfvers/vers27b.ver: Likwise. - * ld-elfvers/vers27c.c: Likwise. - * ld-elfvers/vers27c.dsym: Likwise. - * ld-elfvers/vers27c.ver: Likwise. - -2003-05-04 H.J. Lu - - * ld-elfvsb/main.c: Updated. - * ld-elfvsb/sh1.c: Likewise. - -2003-05-04 H.J. Lu - - * ld-elfvers/vers18.dsym: Updated for weak definiton change. - * ld-elfvers/vers18.ver: Likewise. - * ld-elfvers/vers19.ver: Likewise. - * ld-elfweak/dsowdata.dsym: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-elfweak/weakdata.dsym: Likewise. - - * ld-elfweak/elfweak.exp: Remove xfail. - -2003-05-04 Alexandre Oliva - - * ld-mips-elf/multi-got-1.d: Force into big-endian mode. - Turn relocation offsets into regexps. - -2003-05-03 H.J. Lu - - * ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and - vers27c2 to test versioned definition vs. hidden definition in - different files. - - * ld-elfvers/vers27a.c: New file. - * ld-elfvers/vers27a.dsym: Likewise. - * ld-elfvers/vers27a.map: Likewise. - * ld-elfvers/vers27a.ver: Likewise. - * ld-elfvers/vers27b.c: Likewise. - - * ld-elfvers/vers27b.dsym: New empty file. - * ld-elfvers/vers27b.ver: Likwise. - * ld-elfvers/vers27c.c: Likwise. - * ld-elfvers/vers27c.dsym: Likwise. - * ld-elfvers/vers27c.ver: Likwise. - -2003-05-02 Nick Clifton - - * ld-xstormy16: New directory. - * ld-xstormy16/xstormy16.exp: New test script. - * ld-xstormy16/pcrel.s: Test assembler source file. - * ld-xstormy16/external.s: Test assembler source file. - * ld-xstormy16/pcrel.d: Test expected disassembly. - -2003-05-02 Andreas Jaeger - - * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. - -2003-04-29 H.J. Lu - - * ld-ia64/tlsbin.dd: Updated. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlsbin.td: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-ia64/tlspic.td: Likewise. - -2003-04-29 J"orn Rennecke - - * ld-selective/3.cc (start): New function. - * ld-selective/4.cc: Likewise. - * ld-selective/5.cc: Likewise. - -2003-04-28 H.J. Lu - - * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler. - (build_vers_lib): Support PIC. - (build_vers_lib_no_pic): New. Change all calls to build_vers_lib - to build_vers_lib_no_pic. - (build_vers_lib_pic): New. - Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned - definition vs. normal definition in different files. - - * ld-elfvers/vers26a.c: New file. - * ld-elfvers/vers26a.dsym: Likewise. - * ld-elfvers/vers26a.map: Likewise. - * ld-elfvers/vers26a.ver: Likewise. - * ld-elfvers/vers26b.c: Likewise. - - * ld-elfvers/vers26b.dsym: New empty file. - * ld-elfvers/vers26b.ver: Likewise. - -2003-04-27 H.J. Lu - - * ld-elfvsb/elfvsb.dat: Updated. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - -2003-04-26 Stephane Carrez - - * ld-m68hc11/bug-3331.d: New test. - * ld-m68hc11/bug-3331.s: New file. - -2003-04-25 Nick Clifton - J"orn Rennecke - - * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. - -2003-04-24 J"orn Rennecke - - * ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended. - -2003-04-23 Kaz Kojima - - * ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d, - ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing - unnecessary TLS relocs. - -2003-04-23 J"orn Rennecke - - * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH. - * ld-sh/sh64/crange3-media.rd (Machine): Likewise. - -2003-04-23 H.J. Lu - - * ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty - files. - (objdump_versionstuff): Likewise. - Add tests vers25a, vers25b1 and vers25b2 for versioned - definition vs. normal definition in different files. - - * ld-elfvers/vers25a.c: New file. - * ld-elfvers/vers25a.dsym: Likewise. - * ld-elfvers/vers25a.map: Likewise. - * ld-elfvers/vers25a.ver: Likewise. - - * ld-elfvers/vers25b.c: New empty file. - * ld-elfvers/vers25b.dsym: Likewise. - * ld-elfvers/vers25b.ver: Likewise. - -2003-04-22 H.J. Lu - - * ld-elfcomm/elfcomm.exp: Support 64bit targets. - -2003-04-21 Stephane Carrez - - * ld-m68hc11/far-hc11.s: New file. - * ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation. - * ld-m68hc11/far-hc12.s: New file. - * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation. - * ld-m68hc11/far-hc12.ld: New file. - -2003-04-15 H.J. Lu - - * ld-elfcom/elfcom.exp: Fix a typo. - -2003-04-14 H.J. Lu - - * ld-elfcom: New directory. - * ld-elfcom/elfcom.exp: New file: Test alignment of common symbols - under ELF. - * ld-elfcom/common1a.c: New file: Test source code. - * ld-elfcom/common1b.c: New file: Test source code. - -2003-04-15 Rohit Kumar Srivastava - - * ld-sh/sh64/crange3-cmpct.rd: Replace occurrances of 'Hitachi' - with 'Renesas'. - * ld-sh/sh64/crange3-media.rd: Likewise. - -2002-04-13 Daniel Jacobowitz - - * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s, - ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it - for error messages. - -2003-04-10 Alexandre Oliva - - * ld-mips-elf/elf-rel-got-n32.d, - ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, - ld-mips-elf/elf-rel-xgot-n64.d: New. - * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for - new tests to run. - -2003-04-04 Stephane Carrez - - * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax. - -2003-04-02 Bob Wilson - - * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*. - * ld-xtensa/lcall.exp: Likewise. - -2003-04-01 Bob Wilson - - * ld-elf/merge.d: xfail xtensa-*-*. - * ld-scripts/crossref.exp: Add -mtext-section-literals to CFLAGS - for Xtensa targets. - * ld-srec/srec.exp: Add -no-relax flag for Xtensa targets. - * ld-xtensa/coalesce1.s: New file. - * ld-xtensa/coalesce2.s: Likewise. - * ld-xtensa/coalesce.exp: Likewise. - * ld-xtensa/coalesce.t: Likewise. - * ld-xtensa/lcall1.s: Likewise. - * ld-xtensa/lcall2.s: Likewise. - * ld-xtensa/lcall.exp: Likewise. - * ld-xtensa/lcall.t: Likewise. - -2003-03-25 Alexandre Oliva - - * ld-mips-elf/mips-elf.exp: Added... - * ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, - ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, - ld-mips-elf/relax-jalr-n64-shared.d: New tests. - -2003-03-11 Alexandre Oliva - - * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: - * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, - ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New - tests. - -2003-03-11 Alan Modra - - * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. - * ld-powerpc/tlsso32.r: Likewise. - -2003-02-18 Alan Modra - - * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD - relocs. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe.t: Likewise. - - * ld-powerpc/tls32.s: New file. - * ld-powerpc/tlslib32.s: New file. - * ld-powerpc/tls32.d: New file. - * ld-powerpc/tls32.g: New file. - * ld-powerpc/tls32.t: New file. - * ld-powerpc/tlsexe32.d: New file. - * ld-powerpc/tlsexe32.g: New file. - * ld-powerpc/tlsexe32.r: New file. - * ld-powerpc/tlsexe32.t: New file. - * ld-powerpc/tlsso32.d: New file. - * ld-powerpc/tlsso32.g: New file. - * ld-powerpc/tlsso32.r: New file. - * ld-powerpc/tlsso32.t: New file. - * ld-powerpc/powerpc.exp: Run new tests. - -2003-02-18 Alan Modra - - * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change. - -2003-02-10 Jakub Jelinek - - * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. - xfail tests linking non-pic code into shared libs on x86_64-*-linux*. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c - tests. - * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* - version. - * ld-elfvers/vers19.ver: Likewise. - * ld-elfvers/vers24a.c: New test. - * ld-elfvers/vers24b.c: New test. - * ld-elfvers/vers24c.c: New test. - * ld-elfvers/vers24.map: New test. - * ld-elfvers/vers24.rd: New test. - * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument - cflags. If source files have .c extension, compile them first. - -2003-02-10 Kaz kojima - - * ld-sh/tlstpoff-1.d: New. - * ld-sh/tlstpoff-2.d: New. - * ld-sh/tlstpoff1.s: New. - * ld-sh/tlstpoff2.s: New. - -2003-02-09 Alan Modra - - * ld-powerpc/tlslib.s: Give .__tls_get_addr function type. - * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var - in dynamic lib. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe.t: Likewise. - * ld-powerpc/tlsexetoc.d: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsexetoc.t: Likewise. - -2003-02-05 Alan Modra - - * ld-powerpc/powerpc.exp (supports_ppc64): New. - (ppcelftests): Force 32 bit mode. - (ppc64elftests): New. - * ld-powerpc/tls.d: New. - * ld-powerpc/tls.g: New. - * ld-powerpc/tls.s: New. - * ld-powerpc/tls.t: New. - * ld-powerpc/tlsexe.d: New. - * ld-powerpc/tlsexe.g: New. - * ld-powerpc/tlsexe.r: New. - * ld-powerpc/tlsexe.t: New. - * ld-powerpc/tlsexetoc.d: New. - * ld-powerpc/tlsexetoc.g: New. - * ld-powerpc/tlsexetoc.r: New. - * ld-powerpc/tlsexetoc.t: New. - * ld-powerpc/tlslib.s: New. - * ld-powerpc/tlsso.d: New. - * ld-powerpc/tlsso.g: New. - * ld-powerpc/tlsso.r: New. - * ld-powerpc/tlsso.t: New. - * ld-powerpc/tlstoc.d: New. - * ld-powerpc/tlstoc.g: New. - * ld-powerpc/tlstoc.s: New. - * ld-powerpc/tlstoc.t: New. - * ld-powerpc/tlstocso.d: New. - * ld-powerpc/tlstocso.g: New. - * ld-powerpc/tlstocso.r: New. - * ld-powerpc/tlstocso.t: New. - -2003-01-27 Alexandre Oliva - - * ld-mips-elf/multi-got-1.d: New. - * ld-mips-elf/multi-got-1-1.s: New. - * ld-mips-elf/multi-got-1-2.s: New. - * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf. - Run multi-got-1. - -2003-01-25 Jakub Jelinek - - * ld-sparc/sparc.exp: New. - * ld-sparc/tlsg32.s: New test. - * ld-sparc/tlsg32.sd: Likewise. - * ld-sparc/tlsg64.s: Likewise. - * ld-sparc/tlsg64.sd: Likewise. - * ld-sparc/tlslib.s: Likewise. - * ld-sparc/tlsnopic.s: Likewise. - * ld-sparc/tlspic.s: Likewise. - * ld-sparc/tlssunbin32.dd: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin32.s: Likewise. - * ld-sparc/tlssunbin32.sd: Likewise. - * ld-sparc/tlssunbin32.td: Likewise. - * ld-sparc/tlssunbin64.dd: Likewise. - * ld-sparc/tlssunbin64.rd: Likewise. - * ld-sparc/tlssunbin64.s: Likewise. - * ld-sparc/tlssunbin64.sd: Likewise. - * ld-sparc/tlssunbin64.td: Likewise. - * ld-sparc/tlssunbinpic32.s: Likewise. - * ld-sparc/tlssunbinpic64.s: Likewise. - * ld-sparc/tlssunnopic32.dd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunnopic32.s: Likewise. - * ld-sparc/tlssunnopic32.sd: Likewise. - * ld-sparc/tlssunnopic64.dd: Likewise. - * ld-sparc/tlssunnopic64.rd: Likewise. - * ld-sparc/tlssunnopic64.s: Likewise. - * ld-sparc/tlssunnopic64.sd: Likewise. - * ld-sparc/tlssunpic32.dd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-sparc/tlssunpic32.s: Likewise. - * ld-sparc/tlssunpic32.sd: Likewise. - * ld-sparc/tlssunpic32.td: Likewise. - * ld-sparc/tlssunpic64.dd: Likewise. - * ld-sparc/tlssunpic64.rd: Likewise. - * ld-sparc/tlssunpic64.s: Likewise. - * ld-sparc/tlssunpic64.sd: Likewise. - * ld-sparc/tlssunpic64.td: Likewise. - -2003-01-24 Martin Schwidefsky - - * ld-s390/s390.exp: New file. - * ld-s390/tlsbin_64.dd: New file. - * ld-s390/tlsbin_64.rd: New file. - * ld-s390/tlsbin_64.s: New file. - * ld-s390/tlsbin_64.sd: New file. - * ld-s390/tlsbin_64.td: New file. - * ld-s390/tlsbin.dd: New file. - * ld-s390/tlsbinpic_64.s: New file. - * ld-s390/tlsbinpic.s: New file. - * ld-s390/tlsbin.rd: New file. - * ld-s390/tlsbin.s: New file. - * ld-s390/tlsbin.sd: New file. - * ld-s390/tlsbin.td: New file. - * ld-s390/tlslib_64.s: New file. - * ld-s390/tlslib.s: New file. - * ld-s390/tlspic1_64.s: New file. - * ld-s390/tlspic1.s: New file. - * ld-s390/tlspic2_64.s: New file. - * ld-s390/tlspic2.s: New file. - * ld-s390/tlspic_64.dd: New file. - * ld-s390/tlspic_64.rd: New file. - * ld-s390/tlspic_64.sd: New file. - * ld-s390/tlspic_64.td: New file. - * ld-s390/tlspic.dd: New file. - * ld-s390/tlspic.rd: New file. - * ld-s390/tlspic.sd: New file. - * ld-s390/tlspic.td: New file. - -2003-01-24 Alan Modra - - * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps. - * ld-alpha/tlsbin.td: Likewise. - * ld-alpha/tlsbinr.sd: Likewise. - -2003-01-21 Richard Henderson - - * ld-alpha/alpha.exp: New. - * ld-alpha/align.s: New. - * ld-alpha/tlsbin.dd: New. - * ld-alpha/tlsbin.rd: New. - * ld-alpha/tlsbin.s: New. - * ld-alpha/tlsbin.sd: New. - * ld-alpha/tlsbin.td: New. - * ld-alpha/tlsbinpic.s: New. - * ld-alpha/tlsbinr.dd: New. - * ld-alpha/tlsbinr.rd: New. - * ld-alpha/tlsbinr.sd: New. - * ld-alpha/tlsg.s: New. - * ld-alpha/tlsg.sd: New. - * ld-alpha/tlslib.s: New. - * ld-alpha/tlspic.dd: New. - * ld-alpha/tlspic.rd: New. - * ld-alpha/tlspic.sd: New. - * ld-alpha/tlspic.td: New. - * ld-alpha/tlspic1.s: New. - * ld-alpha/tlspic2.s: New. - -2003-01-20 Alan Modra - - * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. - -2003-01-18 Jakub Jelinek - - * ld-ia64/tlspic1.s: Add tests for IE in shared libraries. - * ld-ia64/tlspic.rd: Adjust. - * ld-ia64/tlspic.dd: Adjust. - * ld-ia64/tlspic.sd: Adjust. - -2003-01-16 Jakub Jelinek - - * ld-ia64/ia64.exp: New. - * ld-ia64/tlsbin.dd: New test. - * ld-ia64/tlsbinpic.s: New test. - * ld-ia64/tlsbin.rd: New test. - * ld-ia64/tlsbin.s: New test. - * ld-ia64/tlsbin.sd: New test. - * ld-ia64/tlsbin.td: New test. - * ld-ia64/tlsg.s: New test. - * ld-ia64/tlsg.sd: New test. - * ld-ia64/tlslib.s: New test. - * ld-ia64/tlspic1.s: New test. - * ld-ia64/tlspic2.s: New test. - * ld-ia64/tlspic.dd: New test. - * ld-ia64/tlspic.rd: New test. - * ld-ia64/tlspic.sd: New test. - * ld-ia64/tlspic.td: New test. - -2003-01-02 Richard Sandiford - - * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test. - -2003-01-02 Richard Sandiford - - * ld-mips-elf/jr.s: New file. - * ld-mips-elf/mips-elf-flags.exp: New test. - -2002-12-18 Ralf Habacker - - * ld-auto-import: New directory. - * ld-auto-import/auto-import.exp: Test the auto importing direct - from a dll functionality. - * ld-auto-import/client.c: Source code for test. - * ld-auto-import/dll.c: Likewise. - -2002-12-12 Alexandre Oliva - - * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test. - * ld-mips-elf/branch-misc-2.d: Removed. - -2002-12-10 Jason Thorpe - - * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. - -2002-12-03 Nick Clifton - - * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging - test. - * ld-powerpc/apuinfo1.s: New assembler source file. - * ld-powerpc/apuinfo2.s: New assembler source file. - * ld-powerpc/apuinfo.rd: New expected output file. - -2002-12-01 Stephane Carrez - - Fix PR savannah/1417: - * ld-m68hc11/bug-1417.s: New test. - * ld-m68hc11/bug-1417.d: Likewise. - -2002-11-28 Jakub Jelinek - - * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols. - -2002-11-28 Kaz Kojima - - * ld-sh/refdbg-0-dso.d: New test. - * ld-sh/refdbg-1.d: Likewise. - * ld-sh/refdbg.s: Likewise. - * ld-sh/refdbglib.s: Likewise. - -2002-11-22 Alan Modra - - * ld-elf/elf.exp: Remove sec64k test. - * ld-elf/sec64k.exp: Reinstate. - -2002-11-21 Alan Modra - - * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. - * ld-elf/merge.s: New file. - * ld-elf/merge.d: New file. - * ld-elf/merge.ld: New file. - -2002-11-18 Svein E. Seldal - - * ld-scripts/script.exp: Setup for tic4x testcase - -2002-11-15 Nick Clifton - - * ld-h8300: New directory. - * ld-h8300/h8300.exp: New expect script. Only run tests for h8300 - targets. - * ld-h8300/relax.s: New assembler source file. - * ld-h8300/relax.d: New expected output file. - -2002-11-11 Hans-Peter Nilsson - - * ld-elf/sec64k.exp: New test. - * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" - to a source file starting with "/". - -2002-11-10 Hans-Peter Nilsson - - * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d, - ld-mmix/local7.d: Tweak for change in readelf output. - -2002-11-09 Alan Modra - - * ld-elfvsb/define.s: Avoid use of @ in .type directive. - -2002-11-07 Hans-Peter Nilsson - - * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d, - ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests. - -2002-11-07 Nick Clifton - - * ld-fastcall/fastcall.exp: Only run tests for PE type x86 - targets. - -2002-11-07 Kaz Kojima - - * ld-sh/rd-sh.exp: Set asflags_save always. - -2002-11-07 Casper S. Hornstrup - - * ld-fastcall: New directory for testing fastcall support. - * ld-fastcall/export.s: New file for testing fastcall symbol - handling. - * ld-fastcall/import.s: Likewise. - * ld-fastcall/fastcall.exp: Likewise. - -2002-11-03 Kaz Kojima - - * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5. - * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5. - * ld-sh/tlspic-1.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols - defined by the linker scripts. - -2002-10-14 Stephane Carrez - - * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12. - * ld-m68hc11/adj-jump.d: New test for linker relaxation. - * ld-m68hc11/adj-jump.s: Likewise. - * ld-m68hc11/adj-brset.s: Likewise. - * ld-m68hc11/adj-brset.d: Likewise. - * ld-m68hc11/relax-direct.s: Likewise. - * ld-m68hc11/relax-direct.d: Likewise. - * ld-m68hc11/relax-group.s: Likewise. - * ld-m68hc11/relax-group.d: Likewise. - * ld-m68hc11/bug-1403.d: Likewise. - * ld-m68hc11/bug-1403.s: Likewise. - -2002-10-14 Stephen Clarke - * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*. - * ld-sh/sh64/sh64.exp: Likewise. - * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*. - * ld-sh/sh64/abi32.sd: Adjust expected output to include - sh64*-*-linux* formats too. - * ld-sh/sh64/relax.exp: Add emul32 variable to hold target - emulation, and set it appropriately for sh*-*-linux*. - * ld-sh/sh64/relfail.exp: Add variables to hold target - emulation, output format, start symbol, and whether target - supports 64-bit ABI. Set appropriately for sh*-*-linux*. - -2002-10-12 H.J. Lu (hjl@gnu.org) - - * ld-discard/extern.d: Remove $srcdir/$subdir/. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - * ld-linkonce/zeroehl32.d: Likewise. - * ld-selective/keepdot.d: Likewise. - * ld-selective/keepdot0.d: Likewise. - -2002-10-11 Kaz Kojima - - * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output - of linker to the file tmpdir/*-dso.so. - * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. - * ld-sh/tlsbin-0-dso.d: New. - * ld-sh/tlsbin-1.d: New. - * ld-sh/tlsbin-2.d: New. - * ld-sh/tlsbin-3.d: New. - * ld-sh/tlsbin-4.d: New. - * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. - * ld-sh/tlspic-1.d: New. - * ld-sh/tlspic-2.d: New. - * ld-sh/tlspic-3.d: New. - * ld-sh/tlspic-4.d: New. - -2002-10-10 Jakub Jelinek - - * ld-i386/combreloc.s: New test. - * ld-i386/combreloc.d: New test. - * ld-i386/i386.exp (i386tests): Add it. - -2002-10-10 Alan Modra - - * ld-i386/i386.exp (reloc): Turn off combreloc. - * ld-i386/reloc.d: Likewise. - * ld-powerpc/powerpc.exp: Likewise. - * ld-powerpc/reloc.d: Likewise. - -2002-10-03 H.J. Lu - - * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc - 3.x. - -2002-10-03 Chris Demetriou - - * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be - more compatible with non-embedded targets. - * ld-mips-elf/branch-misc-2.d: Likewise. - - * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded - PIC tests. - (elf): New variable, to control whether generic ELF tests are run. - (embedded_elf): New variable, to control whether ELF tests - requiring embedded PIC or embedded relocs are run. - -2002-10-02 Stephen Clarke - - * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map, - ld-sh/sh64/gotplt.s: New test. - -2002-10-02 Stephen Clarke - * ld-sh/sh64/cmpct1.sd : Fix linked file name. - * ld-sh/sh64/crange3.dd: Likewise. - -2002-10-01 Jakub Jelinek - - * ld-i386/i386.exp: Add tlsindntpoff test. - * ld-i386/tlsindntpoff.s: New test. - * ld-i386/tlsindntpoff.dd: New test. - -2002-10-01 Jakub Jelinek - - * ld-x86-64/tlspic1.s: Change TLSGD sequences. - * ld-x86-64/tlsbinpic.s: Likewise. - * ld-x86-64/tlspic.dd: Adjust. - -2002-10-01 Jakub Jelinek - - * ld-i386/i386.exp: Add tlsg test. - * ld-i386/tlsg.s: New test. - * ld-i386/tlsg.sd: New test. - * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments. - * ld-i386/tlsbinpic.s: Likewise. - * ld-x86-64/x86-64.exp: Add tlsg test. - * ld-x86-64/tlsg.s: New test. - * ld-x86-64/tlsg.sd: New test. - * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments. - * ld-x86-64/tlsbinpic.s: Likewise. - -2002-09-30 Alan Modra - - * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF. - -2002-09-30 Alan Modra - - * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New. - * ld-powerpc/powerpc.exp: New. - - * ld-i386/reloc.s, ld-i386/reloc.d: New. - * ld-i386/i386.exp: Run new test. - -2002-09-27 Jakub Jelinek - - * lib/ld-lib.exp (run_ld_link_tests): Add. - * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, - file_contents): Remove. - (sh64tests): Add 6th field to the tests array. - * ld-i386/i386.exp (run_ld_link_tests): Remove. - * ld-x86-64/x86-64.exp: New. - * ld-x86-64/tlsbin.dd: New test. - * ld-x86-64/tlsbinpic.s: New test. - * ld-x86-64/tlsbin.rd: New test. - * ld-x86-64/tlsbin.s: New test. - * ld-x86-64/tlsbin.sd: New test. - * ld-x86-64/tlsbin.td: New test. - * ld-x86-64/tlslib.s: New test. - * ld-x86-64/tlspic1.s: New test. - * ld-x86-64/tlspic2.s: New test. - * ld-x86-64/tlspic.dd: New test. - * ld-x86-64/tlspic.rd: New test. - * ld-x86-64/tlspic.sd: New test. - * ld-x86-64/tlspic.td: New test. - -2002-09-21 Alan Modra - - * ld-undefined/undefined.exp: Adjust function test. - -2002-09-20 Alan Modra - - * ld-i386/i386.exp: Only run tests on ELF targets. - -2002-09-19 Jakub Jelinek - - * ld-i386/i386.exp: New. - * ld-i386/tlsbin.dd: New test. - * ld-i386/tlsbinpic.s: New test. - * ld-i386/tlsbin.rd: New test. - * ld-i386/tlsbin.s: New test. - * ld-i386/tlsbin.sd: New test. - * ld-i386/tlsbin.td: New test. - * ld-i386/tlslib.s: New test. - * ld-i386/tlsnopic1.s: New test. - * ld-i386/tlsnopic2.s: New test. - * ld-i386/tlsnopic.dd: New test. - * ld-i386/tlsnopic.rd: New test. - * ld-i386/tlsnopic.sd: New test. - * ld-i386/tlspic1.s: New test. - * ld-i386/tlspic2.s: New test. - * ld-i386/tlspic.dd: New test. - * ld-i386/tlspic.rd: New test. - * ld-i386/tlspic.sd: New test. - * ld-i386/tlspic.td: New test. - -2002-09-18 Chris Demetriou - - * ld-mips-elf/branch-misc-1.d: New file. - * ld-mips-elf/branch-misc-2.d: New file. - * ld-mips-elf/mips-elf.exp: Run new tests. - -2002-09-05 Alan Modra - - * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - -2002-08-31 Hans-Peter Nilsson - - * ld-mmix/bpo-10.d: Tweak for change in symbols handling. - * ld-mmix/bpo-11.d: Ditto. - - * ld-mmix/b-nosym.d: Adjust for changed output for absence of - symbols. - - * ld-mmix/sec-7m.d: Rename tested section from .debug_info to - .di. - * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, - ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto. - -2002-08-28 Alan Modra - - * ld-discard/discard.exp: xfail m6812. - * ld-scripts/map-address.d: Adjust for extras emitted by pe targets. - -2002-08-27 Alan Modra - - * ld-mmix/b-nosym.d: Revert last change. - -2002-08-26 Alan Modra - - * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout. - -2002-08-23 Stephen Clarke - - * ld-sh/sh64/rd-sh64.exp: New framework file. - * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, - ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for - correct setting of ISA bit for init and fini entry-points. - -2002-08-16 Stephen Clarke - - * ld-sh/sh64/sh64.exp: Add dlsection. - * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New. - -2002-08-16 Alan Modra - - * ld-discard/discard.exp: xfail targets using generic linker. - * ld-discard/extern.d: Allow "data" to be reduced to a section sym. - -2002-08-15 Hans-Peter Nilsson - - * ld-cris/libdso-4.d, ld-cris/undef1.d: New test. - -2002-08-13 H.J. Lu - - * ld-elfvers/vers.exp: Add vers23c and vers23d. - - * ld-elfvers/vers23c.ver: New. - * ld-elfvers/vers23d.dsym: New. - -2002-08-12 H.J. Lu - - * ld-elfvers/vers.exp: Add vers23. - - * ld-elfvers/vers23.c: New. - * ld-elfvers/vers23.dsym: New. - * ld-elfvers/vers23.ver: New. - * ld-elfvers/vers23a.c: New. - * ld-elfvers/vers23a.dsym: New. - * ld-elfvers/vers23a.map: New. - * ld-elfvers/vers23a.sym: New. - * ld-elfvers/vers23a.ver: New. - * ld-elfvers/vers23b.c: New. - * ld-elfvers/vers23b.dsym: New. - * ld-elfvers/vers23b.map: New. - * ld-elfvers/vers23b.ver: New. - -2002-08-12 Stephen Clarke - - * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section - listing. - * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, - ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols - is no longer set to object. - * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd, - ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd, - ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd, - ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, - ld-sh/sh64/shdl64.xd: Likewise. - -2002-08-10 Alan Modra - - * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. - * ld-linkonce/linkonce.exp: Likewise. - * ld-selective/sel-dump.exp: Likewise. - * ld-selective/selective.exp: Don't run on aout or bout. - -2002-08-08 H.J. Lu - - * ld-elfvers/vers.exp: Add vers22. - - * ld-elfvers/vers22.c: New. - * ld-elfvers/vers22.dsym: New. - * ld-elfvers/vers22.map: New. - * ld-elfvers/vers22.ver: New. - * ld-elfvers/vers22a.c: New. - * ld-elfvers/vers22a.dsym: New. - * ld-elfvers/vers22a.sym: New. - * ld-elfvers/vers22a.ver: New. - * ld-elfvers/vers22b.c: New. - * ld-elfvers/vers22b.dsym: New. - * ld-elfvers/vers22b.ver: New. - -2002-08-07 H.J. Lu - - * ld-elfvers/vers.exp: Add --no-undefined-version. - - * ld-elfvers/vers1.map: Remove the unused foo1 and foo2. - * ld-elfvers/vers8.map: Likewise. - * ld-elfvers/vers18.map: Likewise. - -2002-07-30 John David Anglin - - * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, - ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. - * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, - ld-linkonce/linkonce.exp, ld-shared/shared.exp, - ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* - targets. - * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, - ld-discard/static.s: Add whitespace before assembler directives. - -2002-07-29 Chris Demetriou - - * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set. - -2002-07-26 Richard Sandiford - - * ld-mips-elf/mips16-1.d, - * ld-mips-elf/mips16-1[ab].s: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2002-07-19 Hans-Peter Nilsson - - * ld-mmix/sec-1.d: Adjust for changes in padding. - * ld-mmix/sec-3.d: Ditto. - -2002-07-15 H.J. Lu - - * ld-elfvers/vers.exp: Add vers21. - - * ld-elfvers/vers21.c: New. - * ld-elfvers/vers21.dsym: New. - * ld-elfvers/vers21.map: New. - * ld-elfvers/vers21.sym: New. - * ld-elfvers/vers21.ver: New. - -2002-07-12 Hans-Peter Nilsson - - * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, - ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, - ld-cris/expdref1.s: New tests. - -2002-07-09 Richard Sandiford - - * ld-scripts/dynamic-sections*: New test. - -2002-07-09 Hans-Peter Nilsson - - * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, - ld-cris/noglob1.d: New tests. - - * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections. - -2002-07-03 Alan Modra - - * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure - consistent sorting. - (run_dump_test): Likewise for objdump/nm/objcopy/readelf. - * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise. - -2002-06-29 Hans-Peter Nilsson - - * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, - ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test. - -2002-06-18 Chris Demetriou - - * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently - turned up by recent assembler changes. - -2002-06-17 Tom Rix - - * ld-d10v/d10v.exp: New driver for d10v. - * ld-d10v/default_layout.d : New test. - * ld-d10v/regression-001.lt: New test for a linker regression. - * ld-d10v/linktest-002.lt: New test for run_link_test. - * ld-d10v/reloc-001.d - reloc-016.d: New tests. - -2002-06-11 John David Anglin - - * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to - script. - -2002-06-11 Andreas Jaeger - - * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails. - -2002-06-10 Richard Sandiford - - * ld-mips-elf/region1a.s, - * ld-mips-elf/region1b.s, - * ld-mips-elf/region1.t, - * ld-mips-elf/region1.d: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2002-06-07 Nick Clifton - - * ld-scripts/phdrs2.s: Use .p2align instead of .align. - Use section names .foo and .bar instead of .text and .data. - * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text - and .data. - -2002-06-06 David Heine - - * ld-scripts/phdrs2.exp: New file: Run second phdrs test. - * ld-scripts/phdrs2.s: New file: Dummy assembler source. - * ld-scripts/phdrs2.t: New file: Linker script with an empty - section at the start of a loadable segment. - -2005-06-02 H.J. Lu - - * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with - -fuse-cxa-atexit. - (__cxa_atexit): Likewise. - -2002-05-30 Richard Henderson - - * ld-bootstrap/bootstrap.exp: Test --relax. - -2002-05-28 Hans-Peter Nilsson - - * ld-cris/libdso-2.d: Tweak for combreloc now default on. - -2002-05-07 Richard Sandiford - - * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. - (is_elf_format): New, extracted from... - * ld-scripts/weak.exp: ...here. - * ld-scripts/overlay-size.exp: New test. - * ld-scripts/overlay-size.[tsd], - * ld-scripts/overlay-size-map.d: New files for it. - -2002-05-02 Richard Sandiford - - * ld-scripts/map-address.exp: Quote conditions. - -2002-04-30 Richard Sandiford - - * ld-scripts/map-address.exp: New test. - * ld-scripts/map-address.[td]: New files for it. - -2002-04-19 Richard Henderson - - * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha. - * ld-shared/shared.exp: Likewise. - * ld-selective/selective.exp: Disable for alpha. - * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails. - -2002-04-05 Hans-Peter Nilsson - - * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. - -2002-03-19 Hans-Peter Nilsson - - * ld-cris/ldsym1.d: New test. - - * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no - longer set to object. - * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, - ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d, - ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d, - ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d, - ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d, - ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d, - ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d, - ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d, - ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d, - ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d, - ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto. - -2002-03-11 Andreas Jaeger - - * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that - places zero initialized data in the bss. - * ld-elfweak/lddsodata.dsym: Likewise. - -2002-03-07 Hans-Peter Nilsson - - * ld-cris/expdyn1.d: Tweak for change in elf.sc. - -2002-02-24 Hans-Peter Nilsson - - * ld-sh/ld-r-1.d: Adjust to changes in readelf output. - * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd, - ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto. - -2002-02-18 Daniel Jacobowitz - - * ld-elfvsb/sh1.c: Fix typo in last change. - -2002-02-17 Daniel Jacobowitz - - * ld-elfvsb/sh1.c: Use #pragma weak. - -2002-02-17 Daniel Jacobowitz - - * vers.exp: Do not call diff -q. - -2002-02-17 Hans-Peter Nilsson - - * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol - output. - * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, - ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test. - - * ld-mmix/bpo-22.d: New test. - - * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss, - and .bss. - -2002-02-12 John David Anglin - - * ld-selective/selective.exp: Link against libgcc on - hppa*-*-linux* targets. - -2002-02-11 Alexandre Oliva - - * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field. - * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s. - * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications - in section ordering. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crange3.dd: Likewise. - - * ld-sh/shared-1.d: Fix relocation addend. - -2002-02-09 Hans-Peter Nilsson - - * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New - tests. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2002-02-02 Alexandre Oliva - * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - 2002-01-28 Alexandre Oliva - * ld-sh/sh64/abi32.xd: Formatting changes to match the current - output of objdump. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack - sessions, to match changes in the linker script. - 2001-06-14 Alexandre Oliva - * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation - info to reflect renumbering of relocation types. - 2001-03-14 DJ Delorie - * ld-sh/sh64/endian.dbd: New file, endian tests. - * ld-sh/sh64/endian.dld: Ditto. - * ld-sh/sh64/endian.ld: Ditto. - * ld-sh/sh64/endian.s: Ditto. - * ld-sh/sh64/endian.sbd: Ditto. - * ld-sh/sh64/endian.sld: Ditto. - * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld. - 2001-03-12 DJ Delorie - * ld-sh/sh64/relax.exp: New file, test disabling relaxing. - * ld-sh/sh64/relax1.s: Ditto. - * ld-sh/sh64/relax2.s: Ditto. - * ld-sh/sh64/relax3.s: Ditto. - * ld-sh/sh64/relax4.s: Ditto. - * ld-sh/sh64/relfail.exp: New file, test for bogus relocs. - * ld-sh/sh64/relfail.s: Ditto. - 2001-03-12 DJ Delorie - * ld-sh/sh.exp: This test isn't appropriate for SH64 since it - uses SH32 assembler files. - 2001-03-07 DJ Delorie - * ld-selective/selective.exp: Pass "-e _start" for sh64 to - accomodate expected start symbol in test. - 2001-03-06 DJ Delorie - * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64, - to match what gcc passes to the linker by default. - * ld-selective/selective.exp: Ditto. - * ld-srec/srec.exp: Ditto, plus XFAIL for sh64. - * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2). - 2001-03-06 DJ Delorie - * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout. - * ld-sh/sh64/abi64.xd (stack): Ditto. - * ld-sh/sh64/cmpct1.xd (stack): Ditto. - * ld-sh/sh64/crange1.rd (stack): Ditto. - * ld-sh/sh64/crange2.rd (stack): Ditto. - * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto. - * ld-sh/sh64/crange3-media.rd (stack): Ditto. - * ld-sh/sh64/crange3.rd (stack): Ditto. - * ld-sh/sh64/mix1.xd (stack): Ditto. - * ld-sh/sh64/mix2.xd (stack): Ditto. - * ld-sh/sh64/shdl32.xd (stack): Ditto. - * ld-sh/sh64/shdl64.xd (stack): Ditto. - 2001-01-14 Hans-Peter Nilsson - * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section. - * ld-sh/sh64/mix2.xd: Ditto. - 2001-01-08 Hans-Peter Nilsson - * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address - being SHmedia. - * ld-sh/sh64/shdl64.xd: Ditto. - * ld-sh/sh64/shdl32.xd: Ditto. - * ld-sh/sh64/mix2.xd: Ditto. - * ld-sh/sh64/crange3-media.rd: Ditto. - * ld-sh/sh64/abi64.xd: Ditto. - 2001-01-06 Hans-Peter Nilsson - * ld-sh/sh64/crange-2a.s (diversion2): New global symbol. - * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol. - Adjust section type for .cranges; expect sorted contents. - * ld-sh/sh64/crange2.rd: Ditto. - * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto. - * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol. - * ld-sh/sh64/crangerel2.rd: Ditto. - * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges. - * ld-sh/sh64/mix2.xd: Ditto. - * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New - tests. - * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests. - 2001-01-05 Hans-Peter Nilsson - * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid - target for (unexpanded) PTB. Add an .align 2 to SHmedia code to - keep properly aligned. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly. - * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd, - ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and - R_SH_PT_16 relocation. - * ld-sh/sh64/sh64.exp: Run new tests. - 2000-12-30 Hans-Peter Nilsson - * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s, - ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s, - ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests. - * ld-sh/sh64/sh64.exp: Run new tests. - * ld-sh/sh64/crange1.rd: Correct section flags. - * ld-sh/sh64/crange2.rd: Ditto. - * ld-sh/sh64/crangerel1.rd: Ditto. - 2000-12-18 Hans-Peter Nilsson - * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s, - ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s, - ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s, - ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, - ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for - handling .cranges section. - * ld-sh/sh64/sh64.exp: Run new tests. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, - ld-sh/sh64/mix2.xd: Adjust for .cranges section. - 2000-12-15 Hans-Peter Nilsson - * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd, - ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd, - ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, - ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and - .data individually 8-byte aligned. - 2000-12-09 Hans-Peter Nilsson - * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd, - ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s, - ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests. - * ld-sh/sh64/sh64.exp: Make it possible to use readelf as - inspection tool. Run new tests. - 2000-12-07 Hans-Peter Nilsson - * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd, - ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions. - * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd, - ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests. - * ld-sh/sh64/sh64.exp: Run new tests. - 2000-12-01 Hans-Peter Nilsson - * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd, - ld-sh/sh64/shcmp-1.s: New test. - * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat. - 2000-11-30 Hans-Peter Nilsson - * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI - test. - * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF. - 2000-11-29 Hans-Peter Nilsson - * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for - tests. - 2000-11-27 Hans-Peter Nilsson - * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI - registers. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s: - New test. - * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s, - ld-sh/sh64/shmix-3.s: New test. - * ld-sh/sh64/sh64.exp: Add new tests to sh64tests. - 2000-11-26 Hans-Peter Nilsson - * ld-sh/sh64: New testsuite. - -2002-02-07 Hans-Peter Nilsson - - * ld-selective/keepdot.s: Remove section specifier. - -2002-02-05 Hans-Peter Nilsson - - * ld-selective/keepdot.d, ld-selective/keepdot.ld, - ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. - * ld-selective/sel-dump.exp: New, driver for run_dump_test:s. - -2002-02-04 Hans-Peter Nilsson - - * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d, - ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d, - ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests - for on-demand global register allocation. - -2002-02-02 Alexandre Oliva - - * ld-sh/shared-1.d: Fix incorrect offsets. - -2002-02-01 Hans-Peter Nilsson - - * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d, - ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, - ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, - ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, - ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, - ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, - ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, - ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, - ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, - ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, - ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, - ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, - ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests. - -2002-01-31 Hans-Peter Nilsson - - * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s, - ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. - * ld-cris/cris.exp: Split run_dump_tests in two parts, executing - tests named *dso-*.d first and copying their tmpdir/dump to files - named as the .d-file. - -2002-01-31 Alan Modra - - * ld-scripts/crossref.exp: Allow foo to have a leading dot. - * ld-scripts/cross1.t: Add .opd. - * ld-undefined/undefined.exp: Allow leading dot on sym names. - * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms. - -2002-01-29 Chris Demetriou - - * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs. - * ld-mips-elf/emrelocs-el.d: Likewise. - * ld-mips-elf/emrelocs1.s: Likewise. - * ld-mips-elf/emrelocs2.s: Likewise. - * ld-mips-elf/emrelocs.ld: Likewise. - * ld-mips-elf/mips-elf.exp: Add the above to the list of tests. - -2002-01-21 Hans-Peter Nilsson - - * ld-cris: New testsuite directory. - -2002-01-15 Nick Clifton - - * ld-sh/sh.exp: Copy start.s file into test directory. - -2002-01-14 Nick Clifton - - * ld-selective/selective.exp: For ARM targets, link with libgcc.a. - -2002-01-02 Chris Demetriou - - * ld-mips-elf/empic1-ln.d: New file to test basic linking of - R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. - * ld-mips-elf/empic1-lp.d: Likewise. - * ld-mips-elf/empic1-mn.d: Likewise. - * ld-mips-elf/empic1-mp.d: Likewise. - * ld-mips-elf/empic1-sn.d: Likewise. - * ld-mips-elf/empic1-sp.d: Likewise. - * ld-mips-elf/empic1-ref.s: Likewise. - * ld-mips-elf/empic1-space.s: Likewise. - * ld-mips-elf/empic1-tgt.s: Likewise. - * ld-mips-elf/empic2-fwd-0.d: New file to test - R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge - cases. - * ld-mips-elf/empic2-fwd-1.d: Likewise. - * ld-mips-elf/empic2-rev-0.d: Likewise. - * ld-mips-elf/empic2-rev-1.d: Likewise. - * ld-mips-elf/empic2-ref.s: Likewise. - * ld-mips-elf/empic2-space.s: Likewise. - * ld-mips-elf/empic2-fwd-tgt.s: Likewise. - * ld-mips-elf/empic2-rev-tgt.s: Likewise. - * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF - tests (including those above). - -2001-11-30 H.J. Lu - - * ld-elfvers/vers.exp (build_vers_lib): Preserve the library - order. - -2001-11-29 H.J. Lu - - * ld-elfvers/vers.exp (build_vers_lib): Support linking against - more than one libraries. - Add "vers20a" and "vers20" tests for common symbols. - - * ld-elfvers/vers20.c: New. - * ld-elfvers/vers20.dsym: New. - * ld-elfvers/vers20.map: New. - * ld-elfvers/vers20.ver: New. - * ld-elfvers/vers20a.ver: New. - -2001-11-19 H.J. Lu - - * ld-elfvsb/define.s: Mark all global lables as object. - - * ld-elfvsb/hidden0.d: Match large section number. - * ld-elfvsb/hidden1.d: Likewise. - * ld-elfvsb/internal0.d: Likewise. - * ld-elfvsb/internal1.d: Likewise. - * ld-elfvsb/protected0.d: Likewise. - * ld-elfvsb/protected1.d: Likewise. - - * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. - * ld-elfvsb/internal0.d: Likewise. - * ld-elfvsb/protected0.d: Likewise. - -2001-11-15 H.J. Lu - - * ld-sh/ld-r-1.d: Updated. - -2001-11-14 Nick Clifton - - * ld-bootstrap/bootstrap.exp: Only scan tail of executable for - PE targets. - -2001-11-12 Donn Terry - - * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two - binary files produced in order to avoid date stamp present in PE - binaries. - -2001-11-11 Hans-Peter Nilsson - - * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit. - -2001-11-09 H.J. Lu - - * ld-discard/discard.exp: New. Test ld discard. - * ld-discard/discard.ld: Likewise. - * ld-discard/exit.s: Likewise. - * ld-discard/extern.d: Likewise. - * ld-discard/extern.s: Likewise. - * ld-discard/start.d: Likewise. - * ld-discard/start.s: Likewise. - * ld-discard/static.d: Likewise. - * ld-discard/static.s: Likewise. - -2001-11-02 H.J. Lu - - * ld-elfvsb/elfvsb.exp: Add the "ld -r" test. - - * ld-elfvsb/hidden0.d: New. - * ld-elfvsb/hidden1.d: New. - * ld-elfvsb/internal0.d: New. - * ld-elfvsb/internal1.d: New. - * ld-elfvsb/protected0.d: New. - * ld-elfvsb/protected1.d: New. - * ld-elfvsb/undef.s: New. - * ld-elfvsb/undef.s: New. - -2001-11-02 NIIBE Yutaka - - * ld-sh/sh.exp: Have its own start.s for linux. - -2001-10-31 Hans-Peter Nilsson - - * ld-mmix/locdo-1.d: Prune character dump part. - * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d, - ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, - ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, - ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, - ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, - ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, - ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove - unnecessary empty lines. - -2001-10-30 Hans-Peter Nilsson - - * ld-mmix: New testsuite directory. - -2001-10-14 Hans-Peter Nilsson - - * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on - sh*-*-elf. - - * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}. - - * ld-sh/rd-sh.exp: New framework file. - * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, - ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New - test files. - -2001-09-29 Hans-Peter Nilsson - - * ld-linkonce/linkonce.exp: New file. - * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, - ld-linkonce/zeroehl32.d: New test. - -2001-09-25 H.J. Lu - - * ld-elfweak/dso.dsym: Updated for alpha. - * ld-elfweak/dsodata.dsym: Likewise. - * ld-elfweak/strong.sym: Likewise. - * ld-elfweak/strongcomm.sym: Likewise. - * ld-elfweak/strongdata.sym: Likewise. - -2001-09-15 Hans-Peter Nilsson - - * lib/ld-lib.exp (run_dump_test): Handle new option - "objcopy_linked_file". Return after failing, if errors were - expected but none were found. - (slurp_options): Support underscores in option names. - -2001-09-14 H.J. Lu - - * ld-elfweak/bar.c: Updated. - * ld-elfweak/bar1a.c: Likewise. - * ld-elfweak/main.c: Likewise. - * ld-elfweak/main1.c: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-elfweak/weakdata.dsym: Updated. - -2001-09-11 H.J. Lu - - * ld-elfweak/elfweak.exp (build_lib): Take a list of object - files. - (build_exec): Likewise. - Add more tests and make some xfail. - - * ld-elfweak/dso.dsym: Support symbol versioning. - * ld-elfweak/dsow.dsym: Likewise. - - * ld-elfweak/main1.c: New. - * ld-elfweak/bar1a.c: Likewise. - * ld-elfweak/bar1b.c: Likewise. - * ld-elfweak/bar1c.c: Likewise. - * ld-elfweak/foo1a.c: Likewise. - * ld-elfweak/foo1b.c: Likewise. - * ld-elfweak/dsodata.dsym: Likewise. - * ld-elfweak/dsowdata.dsym: Likewise. - * ld-elfweak/weakdata.dsym: Likewise. - * ld-elfweak/strongcomm.sym: Likewise. - * ld-elfweak/strongdata.sym: Likewise. - * ld-elfweak/weakdata.dat: Likewise. - * ld-elfweak/strongdata.dat: Likewise. - -2001-09-10 H.J. Lu - - * ld-elfweak/elfweak.exp: New. - * ld-elfweak/bar.c: Likewise. - * ld-elfweak/foo.c: Likewise. - * ld-elfweak/main.c: Likewise. - * ld-elfweak/dso.dsym: Likewise. - * ld-elfweak/dsow.dsym: Likewise. - * ld-elfweak/strong.sym: Likewise. - * ld-elfweak/strong.dat: Likewise. - * ld-elfweak/weak.dat: Likewise. - -2001-08-27 Alan Modra - Linus Nordberg - - * ld-checks/checks.exp: .lcomm is incompatible with ppc coff. - * ld-scripts/cross1.t: Add .toc section. - * ld-scripts/cross2.t: Likewise. - * ld-scripts/phdrs.exp: powerpc64 is 64 bit. - * ld-srec/srec.exp: xfail powerpc64 - -2001-08-21 John David Anglin - - * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'. - Continue with other tests when there is a compilation error. - -2001-08-01 Loren J. Rittle - - * ld-cdtest/cdtest-nrv.dat: New file. - * ld-cdtest/cdtest.exp: Do not require any exception support - library. Check results against NRV. - -2001-08-01 Loren J. Rittle - - * ld-srec/srec.exp: Do not require any exception support - library. - -2001-07-27 H.J. Lu - - * ld-selective/selective.exp: Fix the error in the last change. - -2001-07-24 Loren J. Rittle - - * ld-selective/selective.exp: Support g++ V3 ABI (along side - the old ABI). Make comparisons against normalized (to - V3-style) demangled nm output. - -2001-07-24 Alan Modra - - * config/default.exp (ld_nm): Add "nmflags" arg. - * lib/ld-lib.exp (default_ld_nm): Likewise. - * ld-empic/empic.exp: Adjust call to ld_nm. - * ld-scripts/defined.exp: Likewise. - * ld-scripts/script.exp: Likewise. - * ld-scripts/sizeof.exp: Likewise. - * ld-selective/selective.exp: Likewise. - * ld-sh/sh.exp: Likewise. - -2001-07-12 H.J. Lu - - * ld-selective/selective.exp: Mark selective1, selective2, - selective4 and selective5 xfail on alpha*-*. - -2001-06-13 Hans-Peter Nilsson - - * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY, - OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide - default. - - * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add - new options "ld", "source", "xfail", "target", "notarget" and - "error". Support the runtest_file_p "*.exp=testname" feature. - (slurp_options, regexp_diff, file_contents, verbose_eval): Import - from gas testsuite. - -2001-06-12 Martin Schwidefsky - - * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule. - -2001-06-06 H.J. Lu - - * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 - on Linux/mips. - - * ld-elfvers/vers.exp: Also run on Linux/mips. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-shared/shared.exp: Likewise. - - * ld-selective/selective.exp: Mark selective2, selective3, - selective4 and selective5 xfail on Linux/mips. - - * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. - - * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. - - * ld-srec/srec.exp: Add Linux/mips to xfail. - -2001-06-06 Martin Schwidefsky - - * ld-undefined/undefined.exp: Add a setup_xfail line for a test - that will always fail on s/390. - -2001-05-28 kaz Kojima - - * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for - the text section. - -2001-05-25 Alan Modra - - * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and - linuxaout with linux*aout. - -2001-05-24 H.J. Lu - - * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform. - -2001-05-18 H.J. Lu - - * ld-elfvers/vers.exp: Revert the last change. - - * ld-elfvers/vers2.ver: Put back "tmpdir/" the version - references. - * ld-elfvers/vers3.ver: Likewise. - * ld-elfvers/vers6.ver: Likewise. - * ld-elfvers/vers18.ver: Likewise. - -2001-05-17 H.J. Lu - - * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". - - * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version - definition. - * ld-elfvers/vers2.ver: Likewise. - * ld-elfvers/vers3.ver: Likewise. - * ld-elfvers/vers4a.ver: Likewise. - * ld-elfvers/vers6.ver: Likewise. - * ld-elfvers/vers7a.ver: Likewise. - * ld-elfvers/vers8.ver: Likewise. - * ld-elfvers/vers9.ver: Likewise. - * ld-elfvers/vers15.ver: Likewise. - * ld-elfvers/vers16a.ver: Likewise. - * ld-elfvers/vers17.ver: Likewise. - * ld-elfvers/vers18.ver: Likewise. - -2001-05-03 H.J. Lu - - * ld-elfvers/vers19.ver: Expect vers17.so instead of - *tmpdir/vers17.so. - -2001-05-01 Andreas Jaeger , Andreas Schwab - - * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform. - - * ld-scripts/phdrs.t: Use startaddress that's greater than any - MAXPAGESIZE used. - -2001-04-29 H.J. Lu - - * ld-shared/symbolic.dat: New. - - * ld-shared/shared.exp: Also check -Bsymbolic. - -2001-04-28 Andreas Jaeger - - * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it - special. - -2001-04-01 David O'Brien - * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even - though it doesn't use DWARF2 yet (but its output is identical). - -2001-04-01 David O'Brien - - * ld-selective/selective.exp: Use -O with gcc rather than -O2. - This optimization level is buggy on some platforms, and this test - is not intended to test compiler optimizations. - -2001-03-06 DJ Delorie - - * ld-scripts/cross2.t: Support any type of text/data sections, not - just the canonical ones. - -2001-02-28 Matt Hiller - - * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian]. - * ld-undefined/undefined.exp: Ditto, and include $flags in ld - invocations. - * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL - and -el. - (is_endian_output_format): New function. - (default_ld_link): Set flags to [big_or_little_endian] only if ld - is being invoked such that the output format being used is of - known endianness. - (default_ld_simple_link): Ditto. - -2001-02-22 Timothy Wall - - * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from - AIX-specific test. - -2001-02-14 H.J. Lu - - * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 - for -static on ia64. - - * ld-checks/checks.exp: Don't run on ia64-*-elf* nor - ia64-*-linux*. - - * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*. - - * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*. - Set up expected failures for ia64-*-linux*. - * ld-shared/shared.exp: Likewise. - -2001-02-08 Stephane Carrez - - * ld-srec/srec.exp (run_srec_test): m6811 code has references - to soft registers, define them with --defsym. - * ld-selective/selective.exp: Likewise. - -2000-01-23 Alan Modra - - * ld-srec/sr3.cc (__rethrow): New. - -2001-01-14 Hans-Peter Nilsson - - * ld-sh/sh.exp: Use --oformat srec, not -oformat srec. - -2001-01-03 Philip Blundell - - * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha. - * ld-shared/shared.exp: Likewise. - -2001-01-01 Philip Blundell - - * ld-undefined/weak-undef.exp: New test. - * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting - files for above. - - * ld-elfvers/vers.exp: Run test on Linux/ARM. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-shared/shared.exp: Likewise. - -2000-12-31 Nick Clifton - - * ld-srec/srec.exp: Use --oformat instead of -oformat. - -2000-12-09 Nick Clifton - - * ld-selective/selective.exp: Link in libgcc when target is v850. - - * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets - because the -oformat linker command switch cannot be used. - -2000-11-06 Alan Modra - - * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h. - (main): Prune unused args. - -2000-10-29 Hans-Peter Nilsson - - * ld-selective/selective.exp : Fix typo for argument to - "untested". - -2000-10-19 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures - for Linux/PPC. - * ld-shared/shared.exp: Likewise. - -2000-10-09 Hans-Peter Nilsson - - * ld-selective/selective.exp: Rearrange to be table-driven. - -2000-10-07 Alan Modra - - * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too. - -2000-10-02 Alan Modra - - * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more. - * ld-scripts/crossref.exp: Ditto. - -2000-09-29 Hans-Peter Nilsson - - * ld-selective/5.cc: New test. - * ld-selective/selective.exp: Run it as xfailed. - - * ld-selective/4.cc: Correct spelling of "lose". - -2000-09-05 Alan Modra - - * ld-selective/selective.exp: Remove the xfails for hppa. - -2000-08-30 Alexandre Oliva - - * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf, - sh-*-*): With dwarf-2, `undefined function' can't pass. - -2000-08-03 H.J. Lu (hjl@gnu.org) - - * ld-bootstrap/bootstrap.exp: Add strip. - -2000-07-24 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of - the undefined reference. - -2000-07-16 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check - and set to "yes" if the protected visibility is expected to - pass. - (visibility_run): Set expected to fail for the "protected" - and "protected_undef_def" tests only if $support_protected is - "no". - - * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected - visibility support if defined. - -2000-07-15 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure - for "protected_undef_def". - - * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when - PROTECTED_WEAK_TEST is defined. - Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is - defined. - Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined. - - * ld-elfvsb/sh1.c (visibility): Mark protected only if - PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST - is defined. - (visibility_var): Likewise. - -2000-07-10 Alan Modra - - * ld-srec/srec.exp: xfail hppa. - - * ld-scripts/weak.exp: Define $global$ for hppa. - - * ld-scripts/crossref.exp: Fix string quoting. - -2000-06-05 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Redirect the linker output - to link_output and make it global. - - * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef", - "hidden_undef_def", "hidden_weak", "protected_undef", - "protected_undef_def" and "protected_weak". - (visibility_run): Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - - * ld-elfvsb/elfvsb.dat: Updated. - -2000-05-21 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/main.c (main_visibility_check): Fix the protected - visibility test. - -2000-05-13 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Redirect the linker output - to link_output and make it global. - - * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture - tests. - * ld-elfvsb/elfvsb.dat: Likewise. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - -Fri Apr 21 15:16:07 2000 Richard Henderson - - * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too. - -2000-04-12 Alan Modra - - * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure. - - * ld-selective/selective.exp (test4): Test for presence of - foo__1B, not absence. Also check for foo__1A and _start. - White space changes throughout file. - -2000-03-13 Nick Clifton - - * ld-scripts/phdrs.t: Discard all unexpected sections. - -2000-02-27 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. - -1999-11-01 Nick Clifton - - * ld-selective/selective.exp: Fix test to disable these checks for - PE based targets. - -1999-10-29 Catherine Moore - - * ld-selective/selective.exp: Remove test6. - * ld-selective/5.cc: Delete. - -1999-10-28 Scott Bambrough - - * ld-srec/srec.exp: Setup expected failures for - srec tests on ARM Linux. - -1999-09-17 Alan Modra - - * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load - offset) test. - -1999-09-12 Ian Lance Taylor - - * ld-scripts/script.exp: Add --image-base 0 for PE targets. - -1999-08-17 H.J. Lu - - * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. - -1999-08-09 Jakub Jelinek - - * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*. - * ld-shared/shared.exp: Likewise. - -1999-07-28 Nick Clifton - - * lib/ld-lib.exp (proc big_or_little_endian): New proc. - Determine if a big endian or little endian output format hass - been selected by any of the multilib options, and if so return - a suitable command line option for the linker/assembler. - (proc default_ld_link): Include the result of proc - big_or_little_endian on the command line to the linker. - (proc ld_simple_link): Include the result of proc - big_or_little_endian on the command line to the linker. - (proc default_ld_compile): Append multilib flags to compiler - switches. - (proc default_ld_assemble): Include the result of proc - big_or_little_endian on the command line to the linker. - -1999-07-21 H.J. Lu - - * ld-elfvers/vers1.c: Add missing prototypes and include - if necessary. - * ld-elfvers/vers15.c: Likewise. - * ld-elfvers/vers19.c: Likewise. - * ld-elfvers/vers2.c: Likewise. - * ld-elfvers/vers3.c: Likewise. - * ld-elfvers/vers4.c: Likewise. - * ld-elfvers/vers6.c: Likewise. - * ld-elfvers/vers7.c: Likewise. - * ld-elfvers/vers9.c: Likewise. - * ld-shared/main.c: Likewise. - * ld-srec/sr3.cc (Foo::Foo): Remove arg name. - -Thu Jul 15 18:00:30 1999 Mark P. Mitchell - - * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as - with other DWARF2 targets. - -1999-07-13 Nick Clifton - - * ld-undefined/undefined.exp: Do not expect arm toolchains to fail - the undefined line test. - -1999-07-10 Ian Lance Taylor - - * ld-elfvers/vers.exp: Use -rpath in new vers19 test. - -1999-07-07 Ian Lance Taylor - - * ld-elfvers/vers.exp: Add new tests vers17 to vers19. - * ld-elfvers/{vers17.*, vers18.*, vers19.*}: New files. - -1999-06-13 Ian Lance Taylor - - * ld-checks/asm.s: Use a symbol name for .lcomm. - * ld-checks/checks.exp: Use different names for the two tests. - Don't add extra text when invoking fail. - -1999-06-12 Ian Lance Taylor - - * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*" - to "*-*-linux*aout*". - * ld-scripts/weak.exp: Likewise. - * ld-shared/shared.exp: Likewise. Simplify condition a bit. - -Wed Jun 9 12:02:33 1999 Andreas Schwab - - * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. - * ld-shared/sh1.c: Fix typo. - -1999-06-04 H.J. Lu - - * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if - necessary. - -1999-05-17 Nick Clifton - - * ld-undefined/undefined.exp: Add xfail for mcore-elf. - -1999-05-11 DJ Delorie - - * ld-srec/srec.exp: Do not run tests for PE based ports. - -1999-03-05 Nick Clifton - - * ld-selective/selective.exp: Do not run tests for COFF or PE - based ports. - -1999-02-17 Nick Clifton - - * ld-undefined/undefined.exp: Add expected failures for StrongARM - targets. - - * ld-srec/srec.exp: Add expected failures for StrongARM targets. - - * ld-selective/selective.exp: Add expected failure for ARM-COFF - targets. - -1999-02-16 Nick Clifton - - * ld-checks/asm.s: Use .long instead of .word. - Replace custom section names with .text, .data and .bss. - * ld-checks/script: Replace custom section names with .text, .data - and .bss. - * ld-checks/checks.exp: Replace custom section names with .text, - .data and .bss. - -1999-02-11 Nick Clifton - - * ld-checks: New directory: Tests for the linker's - --check-sections option. - * ld-checks/checks.exp: New file. - * ld-checks/script: Bogus linker script. - * ld-checks/asm.s: Simple test assembler file. - -Tue Feb 2 19:15:02 1999 Catherine Moore - - * ld-selective/selective.exp: Disable test for unsupported - targets. Change tests to check for absence of symbols instead - of address zero. - -Mon Jan 18 03:44:52 1999 Ian Lance Taylor - - * config/default.exp (get_link_files): Quote target_triplet and CC - when invoking shell. - (get_target_emul): Likewise. - -1999-01-03 Ken Raeburn - - * config/default.exp (get_link_files, get_target_emul): New procs; - run shell commands to extract information from configure.host and - configure.tgt in the source tree. - (top level): Use them to get information needed to run tests, if - not otherwise provided. - - * ld-shared/elf-offset.ld: New file. Builds a shared library, but - gives non-zero addresses for memory region. - * ld-shared/shared.exp: Run the non-PIC non-AIX test again using - the new linker script. - -Tue Dec 8 22:56:05 1998 Geoff Keating - - * ld-srec/srec.exp: Delete xfails for PPC Linux targets, - newer glibc lets link succeed. - -Sun Dec 6 12:59:37 1998 H.J. Lu - - * ld-elfvers/vers1.c: Add missing return types and values. - * ld-elfvers/vers2.c: Likewise. - * ld-elfvers/vers3.c: Likewise. - * ld-elfvers/vers4.c: Likewise. - * ld-elfvers/vers5.c: Likewise. - * ld-elfvers/vers6.c: Likewise. - * ld-elfvers/vers7.c: Likewise. - * ld-elfvers/vers9.c: Likewise. - * ld-elfvers/vers15.c: Likewise. - -Fri Oct 23 16:28:29 1998 Catherine Moore - - * ld-selective: New directory with new files to test - selective linking. - - * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name. - -Sun Oct 4 22:17:05 1998 Ian Lance Taylor - - * ld-elfvers/vers16.dsym: Work correctly on a system without - versioned system libraries. - -Mon Sep 28 21:31:12 1998 Richard Henderson - - * ld-elfvers/vers.exp: Run tests on alpha-linux. - * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match - Alpha's use of st_other. - -1998-09-27 Andreas Schwab - - * ld-elfvers/vers.exp (vers16, vers16a): New tests. - * ld-elfvers/{vers16.*, vers16a.*}: New files. - -Thu Sep 17 17:18:19 1998 Nick Clifton - - * ld-undefined/undefined.exp: Make undefined line test be an xfail - for arm/thunb elf toolchains. - -Wed Sep 9 14:10:15 1998 Nick Clifton - - * ld-undefined/undefined.exp: change test for elf/dwarf2 targets. - - * ld-srec/srec.exp: Arm-elf now passes this test. - -Wed Aug 19 11:59:19 1998 Nick Clifton - - * ld-srec/srec.exp: Add arm/thumb-elf expected failures. - -Thu Aug 13 12:41:58 1998 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap - test if we don't have a static libbfd.a. - -Wed Aug 12 15:19:35 1998 Ian Lance Taylor - - Based on patch from H.J. Lu : - * ld-srec/srec.exp: Add xfails for Alpha ELF targets. - -Mon Aug 10 15:42:20 1998 Richard Henderson - - * ld-scripts/weak.t (.text, .data): Focus data to be used. - (/DISCARD/): All the rest. - * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data. - -Fri Jul 24 18:37:17 1998 Ian Lance Taylor - - * config/default.exp: Create tmpdir/gas subdirectory, add a - symlink to as-new, and set gcc_gas_flag variable. - * lib/ld-lib.exp (default_ld_compile): If the compiler appears to - be gcc, use gcc_gas_flag when compiling. - -Thu Jul 23 12:23:29 1998 Ian Lance Taylor - - * ld-elfvers/vers.exp: Just check for i?86 rather than checking - for i386, i486, and i586. - (objdump_versionstuff): If we can't find the line, dump the file. - -Fri Jul 3 00:27:41 1998 Ian Lance Taylor - - * ld-scripts/phdrs.exp: Run test on *-*-eabi*. - * ld-scripts/weak.exp: Likewise. - -Wed Jul 1 10:51:46 1998 Nick Clifton - - * ld-srec/srec.exp: Add xfail for v850. - - * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass - these tests. - -Fri Jun 19 17:12:52 1998 Ian Lance Taylor - - * ld-scripts/weak.exp: New test. - * ld-scripts/weak.t: New file. - * ld-scripts/weak1.s: New file. - * ld-scripts/weak2.s: New file. - -Tue Jun 16 12:40:38 1998 Geoff Keating - - * ld-elfvers/vers.exp: Run tests on powerpc ELF targets. - * ld-shared/shared.exp: Likewise. - * ld-elfvers/vers1.dsym: Allow for .sdata. - * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux. - -Fri May 29 15:02:50 1998 Ian Lance Taylor - - * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi. - (run_srec_test): On mn10200, define __truncsipsi2_do_d2. - * ld-srec/sr1.c (__main): Change return type to void. - * ld-srec/sr3.cc (__main): Likewise. - (__builtin_delete, __builtin_new): Likewise. - (__get_dynamic_handler_chain): Return 0. - (__get_eh_context): Likewise. - -Thu May 21 15:21:33 1998 Nick Clifton - - * ld-undefined/undefined.exp: Add support for thumb-pe target. - * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets. - -Mon May 4 17:54:20 1998 Andreas Schwab - - * ld-shared/shared.exp: Remove setup_xfails for m68k-linux. - -Mon May 4 17:12:06 1998 Ian Lance Taylor - - * ld-shared/main.c (shlib_overriddencall2): New function. - (main): Call shlib_shlibcall2. - * ld-shared/sh1.c (shlib_shlibcall2): New function. - (shlib_overriddencall2): New function. - * ld-shared/shared.dat: Add output line for new test. - * ld-shared/sun4.dat: Likewise. - - * ld-srec/sr3.cc (__get_eh_context): New function. - -Tue Apr 7 12:50:17 1998 Manfred Hollstein - - * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to - avoid compiler warning. - * ld-srec/sr3.cc (class Foo): Likewise. - -Tue Feb 10 16:42:40 1998 Ian Lance Taylor - - * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function. - -Mon Feb 2 14:17:48 1998 Ian Lance Taylor - - * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. - -Thu Dec 18 11:13:28 1997 Nick Clifton - - * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets. - -Tue Dec 2 09:50:19 1997 Nick Clifton - - * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which - fixes ARM tests. - -Mon Dec 1 16:12:05 1997 Nick Clifton - - * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM - coff targets. - -Wed Nov 12 14:18:31 1997 Ian Lance Taylor - - * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to - avoid compiler warning. - * ld-srec/sr3.cc (class Foo): Likewise. - -Mon Nov 10 14:25:43 1997 Ian Lance Taylor - - * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to - have any name when looking for entry symbol warnings. - - * ld-srec/sr3.cc (__eh_pc): Define. - -Mon Oct 20 14:36:39 1997 Ian Lance Taylor - - * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and - __throw, since the current g++ expects them to be defined. - -Fri Oct 3 12:24:03 1997 Ian Lance Taylor - - * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output - file if the string libc appears in it. - (objdump_versionstuff): Accept unexpected lines in the output - file. Compare lines using string match. - * ld-elfvers/vers6.ver: Permit any value in the vna_other field. - -Tue Aug 12 16:01:22 1997 Ian Lance Taylor - - * ld-scripts/crossref.exp: Correct string quoting. - -Sat Aug 9 00:56:03 1997 Ian Lance Taylor - - * config/default.exp: Change ld, as, nm and strip from .new to - -new. Load ld-lib.exp rather than ld.exp. - * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new. - * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of - DejaGnu changes. - -Thu Jun 26 12:07:03 1997 Ian Lance Taylor - - * ld-elfvers/vers.exp: Use egrep rather than grep when looking for - an alternation. From Greg Margo . - -Wed Jun 25 12:47:22 1997 Andreas Schwab - - * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests - with non PIC shared libraries. - -Fri Jun 6 17:35:47 1997 Ian Lance Taylor - - * ld-elfvers/vers6.ver: Update for recent elflink.h patch to - version handling. - -Wed Jun 4 12:06:48 1997 Ian Lance Taylor - - * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well. - -Fri May 30 12:21:39 1997 Ian Lance Taylor - - * ld-srec/srec.exp: Define __get_dynamic_handler_chain when - linking. - -Mon May 12 11:17:55 1997 Ian Lance Taylor - - * config/default.exp: Use $base_dir rather than $objdir when - setting ld. From John David Anglin . - -Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com) - - * ld-srec/srec.exp: Define various out of line prologue/epilogue - functions for the mn10200 to avoid needing libgcc.a. - -Wed Mar 26 13:56:10 1997 Ian Lance Taylor - - * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*. - -Mon Mar 17 19:27:13 1997 Ian Lance Taylor - - * ld-elfvers/vers.exp: Don't run on SunOS or AIX. - -Wed Mar 12 21:44:19 1997 Eric Youngdale - - * ld-elfvers/vers.exp, *: New tests for symbol versioning. - * config/default.exp: Set ar and strip. - -Fri Feb 7 16:47:02 1997 Bob Manson - - * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of - prune_system_crud. - * ld-cdtest/cdtest.exp: Ditto. - * ld-scripts/crossref.exp: Ditto. - * ld-sh/sh.exp: Ditto. - * ld-shared/shared.exp: Ditto. - * ld-srec/srec.exp: Ditto. - * lib/ld.exp: Ditto. - -Wed Jan 29 00:47:29 1997 Bob Manson - - * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir. - * ld-scripts/script.exp: Ditto. - * ld-sh/sh.exp: Ditto. - * ld-undefined/undefined.exp: Ditto. - * ld-versados/versados.exp: Ditto. - * lib/ld.exp: Ditto. - -Mon Dec 30 17:08:04 1996 Ian Lance Taylor - - * ld-scripts/crossref.exp: Fix quoting for --defsym $global$. - -Tue Oct 1 15:52:31 1996 Ian Lance Taylor - - * lib/ld.exp (default_ld_version): Fix for current version - printing. - -Fri Sep 13 15:51:45 1996 Ian Lance Taylor - - * ld-scripts/crossref.exp: Define $global$ for hppa-elf. - -Thu Aug 8 14:29:32 1996 Ian Lance Taylor - - * ld-scripts/cross2.t: Map XCOFF sections to .text or .data. - - * lib/ld.exp: Use verbose -log instead of calling both verbose and - send_log. - -Wed Aug 7 18:00:58 1996 Ian Lance Taylor - - * ld-scripts/phdrs.exp: New test. - * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files. - -Sun Aug 4 21:58:12 1996 Ian Lance Taylor - - * ld-scripts/crossref.exp: On a29k targets, use --defsym to define - V_SPILL and V_FILL. - -Thu Aug 1 14:10:27 1996 Ian Lance Taylor - - * ld-scripts/crossref.exp: New test. - * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files. - * ld-scripts/{cross1.t, cross2.t}: New files. - -Sat Jun 29 13:40:11 1996 Ian Lance Taylor - - * ld-sh/sh.exp: Fix debugging messages. - * ld-sh/sh1.s: Use .align 4. - -Wed May 1 16:45:13 1996 Ian Lance Taylor - - * ld-sh/sh.exp: Use -O when compiling with -mrelax. - -Mon Apr 29 10:33:10 1996 Andreas Schwab - - * ld-shared/shared.exp: Run the shared library tests on - Linux/m68k. - -Fri Apr 5 16:20:55 1996 Ian Lance Taylor - - * ld-shared/shared.exp: Run the shared library tests on Linux. - -Mon Feb 26 12:45:26 1996 Ian Lance Taylor - - * ld-shared/shared.exp: Don't use -fpic on MIPS targets. - -Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com) - - * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*. - * ld-undefined/undefined.exp: Likewise. - -Fri Jan 26 18:43:03 1996 Ian Lance Taylor - - * ld-undefined/undefined.exp: ELF targets should now pass the - undefined line test. - -Thu Jan 25 15:36:13 1996 Ian Lance Taylor - - * ld-empic/empic.exp: Update for change to MIPS disassembler. - -Mon Jan 15 15:05:53 1996 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5* - when doing the --static test. - * ld-shared/shared.exp: Run tests on mips*-*-irix5*. - -Fri Dec 29 12:33:09 1995 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option - when creating ld-partial.o. - -Tue Dec 26 17:37:23 1995 Ian Lance Taylor - - * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define - __eabi. - -Tue Dec 19 18:01:01 1995 Ian Lance Taylor - - * ld-srec/srec.exp: Add setup_xfails for XCOFF targets. - -Fri Dec 15 16:36:17 1995 Ian Lance Taylor - - * ld-srec/srec.exp: On a29k targets, use --defsym to define - V_SPILL and V_FILL. - * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions. - * ld-srec/sr3.cc: Likewise. - - * ld-srec/srec.exp: Remove i960 COFF setup_xfail. - -Sat Dec 2 01:20:31 1995 Ian Lance Taylor - - * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. - -Fri Dec 1 13:18:18 1995 Ian Lance Taylor - - * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. - -Wed Nov 29 13:01:10 1995 Ian Lance Taylor - - * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets. - -Mon Nov 27 14:36:11 1995 Ian Lance Taylor - - * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*. - - * ld-srec/sr1.c (V_SPILL, V_FILL): Define. - * ld-srec/sr3.cc: Likewise. - -Tue Nov 21 16:05:53 1995 Ian Lance Taylor - - * ld-empic/empic.exp: Update for changes in objdump output. - -Wed Nov 15 17:42:48 1995 Ian Lance Taylor - - * ld-srec/srec.exp: New tests. - * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files. - * lib/ld.exp (ld_simple_link): Discard warnings about not being - able to find the entry symbol. - -Tue Nov 14 20:03:54 1995 Ian Lance Taylor - - * ld-sh/sh2.c (__main): Define. - -Mon Nov 6 14:39:18 1995 Ian Lance Taylor - - * ld-empic/empic.exp: Accept a . in the address symbol. - - * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and - powerpc*-*-aix*. Add code to create appropriate exports files, - and pass appropriate compilation flags, and test against - appropriate expected output. - * ld-shared/xcoff.dat: New file. - * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can - not be linked using XCOFF. Use shlib_shlibvar1 as a sample - function pointer, rather than shlib_mainvar. - * ld-shared/sh1.c: Likewise. - * ld-shared/shared.dat: Update for change from using shlib_mainvar - to using shlib_shlibvar1. - * ld-shared/sun4.dat: Likewise. - -Sat Oct 28 01:54:25 1995 Ian Lance Taylor - - * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for - convenience when testing XCOFF. - -Thu Oct 26 22:53:17 1995 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp - along with --static. - - * ld-scripts/script.s: Make symbols global. - -Fri Oct 20 12:22:16 1995 Ian Lance Taylor - - * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*. - -Fri Sep 29 11:06:10 1995 Ian Lance Taylor - - * ld-undefined/undefined.exp: Use -e when invoking the linker, to - prevent the SunOS linker from trying to create a shared library. - -Thu Sep 28 12:37:14 1995 Ian Lance Taylor - - * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add - appropriate modifications and setup_xfails. - * ld-shared/sun4.dat: New file. - -Mon Sep 18 14:12:56 1995 Ian Lance Taylor - - * lib/ld.exp (default_ld_version): Call prune_system_crud. - (default_ld_relocate, default_ld_link): Likewise. - (default_ld_simple_link, default_ld_compile): Likewise. - (default_ld_assemble, default_ld_nm): Likewise. - -Fri Sep 8 17:15:38 1995 Ian Lance Taylor - - * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the - tests as untested rather than unresolved. - -Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com) - - * ld-sh/sh.exp: Call prune_system_crud on the output of cmp. - -Tue Aug 15 17:35:35 1995 Ian Lance Taylor - - * ld-scripts/script.exp: Split script verification into a proc. - Add simple test of MRI script. - * ld-scripts/scriptm.t: New file. - -Wed Jul 26 11:38:58 1995 Ian Lance Taylor - - * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when - appropriate. - -Mon Jul 24 15:34:31 1995 Ian Lance Taylor - - * config/default.exp: Define objcopy if it is not defined. - * ld-sh/*: New tests for SH relaxing. - - * ld-empic/empic.exp: If $CC does not exist, call untested rather - than unresolved. - -Thu Jul 20 15:09:26 1995 Ian Lance Taylor - - * ld-undefined/undefined.exp: If $CC does not exist, mark the - tests as untested rather than unresolved. Clear ELF xfails for - mips*, not just mips. - -Tue Jul 18 12:00:41 1995 Ian Lance Taylor - - * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for - undefined line test. - -Fri Jul 14 13:07:48 1995 Ian Lance Taylor - - * ld-undefined/undefined.exp: New test, to check reporting of - undefined symbols. - * ld-undefined/undefined.c: New file. - -Mon Jul 10 11:13:39 1995 Ian Lance Taylor - - * ld-versados/versados.exp: If a test fails, report it correctly: - don't try to run the next test, and don't report a pass as well as - a fail. - -Mon Jul 3 14:26:37 1995 Steve Chamberlain - - * versados/(t1,t2).ld: End in newlines. - -Mon May 22 20:19:38 1995 Ken Raeburn - - * lib/ld.exp (default_ld_compile): If cc argument is multiple - words, use only the first when trying to verify the availability - of the compiler. - -Mon Feb 6 11:46:49 1995 Ian Lance Taylor - - * ld-scripts/defined.t: Mention .data and .bss explicitly. - -Tue Jan 24 14:51:48 1995 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: If not in the ld build directory, - call untested for each test, rather than ignoring it. If one test - fails, go on to the next one instead of returning. - * ld-cdtest/cdtest.exp: If compilations fail, mark tests as - unresolved. - * ld-empic/empic.exp: Likewise. Also, always pass the same test - name to pass or fail. - * ld-shared/shared.exp: Likewise. Also, always run all tests. - * ld-scripts/defined.exp: If as or nm fail, mark test as - unresolved. Always pass the same test name to pass or fail. - * ld-scripts/script.exp: Likewise. - * ld-scripts/sizeof.exp: Likewise. - -Wed Jan 11 11:48:31 1995 Ian Lance Taylor - - * ld-scripts/sizeof.exp: New test, based on bug report from - anders.blomdell@control.lth.se. - * ld-scripts/sizeof.s: New file. - * ld-scripts/sizeof.t: New file. - -Wed Jan 4 18:56:27 1995 Ian Lance Taylor - - * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see - if the linker exists. - -Wed Dec 14 16:39:03 1994 Ken Raeburn - - * lib/ld.exp (prune_system_crud): Define if not already defined, - in case the user isn't using the newest DejaGnu version that we - haven't released to the net yet. - -Fri Dec 2 14:17:02 1994 Ian Lance Taylor - - * config/default.exp: Define objdump if it is not defined. - * ld-empic/*: New tests to test -membedded-pic code. - -Mon Nov 28 11:24:36 1994 Ian Lance Taylor - - * ld-bootstrap/bootstrap.exp: Pass cmp output through - prune_system_crud. - * ld-cdtest/cdtest.exp: Pass diff output through - prune_system_crud. - * ld-shared/shared.exp: Likewise. - - * config/default.exp: Remove unused and useless proc ld_load. - -Sun Oct 30 13:02:34 1994 Ian Lance Taylor - - * lib/ld.exp (default_ld_compile): Remove the output file before - compiling. - - * ld-shared/shared.exp: Move common test code into a procedure. - Add tests for compiling the non shared code PIC. - * ld-shared/main.c (main): Call main_called, and print the result. - * ld-shared/shared.dat: Adjust accordingly. - -Thu Oct 27 17:30:12 1994 Ian Lance Taylor - - * ld-shared: New directory, with new files to test generating ELF - shared libraries. - - * lib/ld.exp (default_ld_compile): If the compilation worked, but - no object file was created, check to see if the compiler foolishly - ignored the -o switch when compiling, and move the resulting - object if it did. - -Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * VMS does not permits `.' in directory names. Renamed - ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and - ld.scripts to ld-scripts. - -Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/default.exp: Set variables as and nm. Create tmpdir if - it does not already exist. - * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. - * ld.cdtest/cdtest.exp: Likewise. - * ld.scripts/defined.exp: Likewise. Also, don't set as and nm - here. Change perror for no variables found to fail. - * ld.scripts/script.exp: New test. - * ld.scripts/script.t, ld.scripts/script.s: New files. - -Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ld.scripts: New directory. - * ld.scripts/defined.exp, ld.scripts/defined.s: New files. - * ld.scripts/defined.t: New file. - * lib/ld.exp (default_ld_simple_link): New function. - (default_ld_assemble, default_ld_nm): New functions. - * config/default.exp: Rename from unix-ld.exp. - (ld_simple_link, ld_assemble, ld_nm): New functions. - - * config/unix-ld.exp: Set ld using findfile. - * lib/ld.exp (default_ld_relocate): Return a value. Change format - of log messages. - (default_ld_compile): Likewise. - (default_ld_link): Likewise. Also, don't include $BFDLIB and - $LIBIBERTY in link. - * ld.bootstrap/bootstrap.exp: Rewrite. - * ld.cdtest/cdtest.exp: Rewrite. - * ld.cdtest/cdtest-foo.cc: Update from top level ld directory. - * ld.cdtest/cdtest-foo.h: Likewise. - * ld.cdtest/cdtest-main.cc: Likewise. - -Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com) - - * ld.cdtest/cdtest.exp: Don't look for $result before it's - defined. - -Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com) - - * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc - calls with perror calls. - -Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. - * ld.cdtest/cdtest.exp: Adjusted. - -Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * lib/ld.exp (simple_diff): Indicate failure if files have - different numbers of lines. Don't muck with $differences to avoid - indicating a pass, just return. - - * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}: - Fix test case to be valid ANSI C++. Don't require use of header - files, so "../gcc/xgcc -B../gcc/" can be used for CXX. - * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some - commentary on things that are still broken with this test case. - -Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage. - -Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * lib/ld.exp: add compiler and linker support - * config/unix-ld.exp: add compiler and linker support - * ld.bootstrap/bootstrap.exp: fixed to do partial links - * ld.cdtest/cdtest.exp: constructor/destructor testscase - -Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * lib/ld.exp: new file - * config/unix-ld.exp: new file - * ld.bootstrap/bootstrap.exp: new file +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog-9303 b/ld/testsuite/ChangeLog-9303 new file mode 100644 index 00000000000..895eb03f756 --- /dev/null +++ b/ld/testsuite/ChangeLog-9303 @@ -0,0 +1,3376 @@ +2003-12-30 Mark Mitchell + + * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC + 3.4 does not support it. + +2003-12-18 Richard Sandiford + + * ld-mips-elf/reloc-1[ab].s: New source files. + * ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. + * ld-mips-elf/reloc-2[ab].s: New source files. + * ld-mips-elf/reloc-2.{d,ld}: New test. + * ld-mips-elf/reloc-3[ab].s: New source files. + * ld-mips-elf/reloc-3-{r,srec}.d: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2003-12-07 Richard Sandiford + + * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)". + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + +2003-12-01 Kaz Kojima + + * ld-sh/sh64/shmix-1.s: Add align to match data alignment. + * ld-sh/sh64/shmix-3.s: Likewise. + * ld-sh/sh64/mix1.sd: Update. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix1-noexp.sd: Likewise. + * ld-sh/sh64/mix2.sd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/mix2-noexp.sd: Likewise. + +2003-12-01 Alan Modra + + * ld-sh/tlsbin-2.d: Update section alignment. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2003-11-19 Alan Modra + + * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump. + * ld-powerpc/tlsso32.d: Likewise. + +2003-10-27 Stephane Carrez + + * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812 + due to elf/Dwarf2 binutils limitation. + +2003-10-23 H.J. Lu + + * ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the + linker option from gcc. + +2003-10-23 Alan Modra + + * ld-powerpc/tlsexetoc.d: Correct. + * ld-powerpc/tlstoc.d: Correct. + +2003-10-18 Hans-Peter Nilsson + + * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, + ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass + --no-pushj-stubs to the assembler. + * ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d, + ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d, + ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d, + ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d, + ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d, + ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d, + ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d, + ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d, + ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests. + +2003-10-15 Kaz Kojima + + * ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy + the output of linker to the file tmpdir/*-dso.so. + * ld-sh/sh64/stobin-0-dso.d: New. + * ld-sh/sh64/stobin-1.d: New. + * ld-sh/sh64/stobin.s: New. + * ld-sh/sh64/stolib.s: New. + +2003-10-13 Richard Sandiford + + * ld-mips-elf/multi-got-1.d (RELSZ): Don't include the size of the + trailing null relocs. + +2003-10-12 Kaz Kojima + + * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each + sh64/sh5 targets. + * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and + sh5*-*-* targets. + * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. + * ld-sh/sh64/relfail.exp: Set parameters for netbsd. + * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section + numbers for crangerel1 and crengerel2 tests. + * ld-sh/sh64/abi32.sd: Update. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.sd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/abixx-noexp.sd: Likewise. + * ld-sh/sh64/cmpct1.sd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/dlsection.sd: Likewise. + * ld-sh/sh64/endian.sbd: Likewise. + * ld-sh/sh64/endian.sld: Likewise. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init.s: Align functions. + * ld-sh/sh64/init64.d: Update. + * ld-sh/sh64/mix1-noexp.sd: Likewise. + * ld-sh/sh64/mix1.sd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2-noexp.sd: Likewise. + * ld-sh/sh64/mix2.sd: Likewise. + * ld-sh/sh64/mix2.xd:Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sh/sh64/shdl32.xd: Update. + * ld-sh/sh64/shdl64.sd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. + * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. + * ld-sh/weak1.d: Likewise. + +2003-10-11 Hans-Peter Nilsson + + * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. + * ld-scripts/defined.exp: Run defined3. + +2003-10-08 Hans-Peter Nilsson + + * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. + * ld-scripts/defined.exp: Run defined2. + +2003-10-07 John David Anglin + + * ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for + non 64-bit hppa*-*-linux* targets. + * ld-elfvsb/main.c (main_visibility_check): Cast value returned by + visibility_funptr () to a function pointer. + * ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load + offset), and shared (PIC main, non PIC so) tests for non 64-bit + hppa*-*-linux* targets. + +2003-09-30 H.J. Lu + + * ld-checks/checks.exp (section_check): Remove ia64-*-elf*. + +2003-09-30 H.J. Lu + + * ld-checks/checks.exp (section_check): Skip ia64-*-* instead + of ia64-*-linux*. + +2003-09-30 H.J. Lu + + * ld-ia64/ia64.exp: Remove -melf64_ia64. + + * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* + instead of elf64-ia64-little. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-ia64/tlsg.sd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + +2003-09-30 Chris Demetriou + + * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations + with MIPS64r2. + +2003-09-29 H.J. Lu + + * lib/ld-lib.exp (proc is_elf64): New. + + * ld-scripts/phdrs.exp: Use is_elf_format and is_elf64. + +2003-09-23 Alan Modra + + * ld-discard/exit.s: Correct .text.exit attributes. + * ld-discard/extern.s: Likewise. + * ld-discard/static.s: Likewise. + +2003-09-21 Thiemo Seufer + + * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. + * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * ld-mips-elf/relax-jalr-n64.d: Likewise. + * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2003-09-14 Hans-Peter Nilsson + + * ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, + ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d, + ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d, + ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d, + ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d, + ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d, + ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for + objdump -d change. + +2003-09-11 Alan Modra + + * ld-elf/merge2.s: New. + * ld-elf/merge2.d: New. + +2003-08-16 Hans-Peter Nilsson + + * ld-mmix/bpo-9.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d: Adjust for + recent objdump "Contents of ..." change. + +2003-08-02 Kaz Kojima + + * ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test. + +2003-08-02 Alan Modra + + * ld-d10v/reloc-001.d: Adjust for objdump -d change. + * ld-d10v/reloc-002.d: Likewise. + * ld-d10v/reloc-005.d: Likewise. + * ld-d10v/reloc-006.d: Likewise. + * ld-d10v/reloc-009.d: Likewise. + * ld-d10v/reloc-010.d: Likewise. + * ld-d10v/reloc-013.d: Likewise. + * ld-d10v/reloc-014.d: Likewise. + * ld-xstormy16/pcrel.d: Likewise. + +2003-07-29 Jakub Jelinek + + * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc + sections. + +2003-07-29 Alan Modra + + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-07-29 Nick Clifton + + * ld-alpha/tlsbin.dd: Update to account for .eh_frame section. + * ld-alpha/tlsbin.rd: Likewise. + * ld-alpha/tlsbin.sd: Likewise. + * ld-alpha/tlsbinr.dd: Likewise. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlsbinr.sd: Likewise. + * ld-alpha/tlspic.dd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-alpha/tlspic.sd: Likewise. + +2003-07-26 Alan Modra + + * ld-powerpc/tlsexe32.d: Update. + * ld-powerpc/tlsso32.d: Update. + +2003-07-24 H.J. Lu + + * ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2003-07-23 Stephane Carrez + + * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft + register. + +2003-07-22 H.J. Lu + + * ld-selective/selective.exp: Skip "ia64-*-*". + + * ld-srec/srec.exp: Make xfail on "ia64-*-*". + +2003-07-11 Richard Sandiford + + * ld-h8300/relax-3{.s,.d,-coff.d}: New test. + * ld-h8300/h8300.exp: Run it. + +2003-07-10 Alan Modra + + * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc. + * ld-powerpc/tlsexetoc.g: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlstoc.g: Update. + * ld-powerpc/tlstocso.g: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-07-04 Richard Sandiford + + * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d + unconditionally. Run relax-2.d for *-elf targets. + * ld-h8300/relax.d: Fix typo. + * ld-h8300/relax.s: Add 0x prefixes. + * ld-h8300/relad-2.[sd]: New test. + +2003-06-29 Thiemo Seufer + + * ld-mips-elf/mips-elf.exp: Use is_elf_format. + +2003-06-29 Thiemo Seufer + + * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6. + +2003-06-25 Alan Modra + + * ld-powerpc/apuinfo.rd: Update. + +2003-06-21 Thiemo Seufer + + * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. + * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. + +2003-06-18 Hans-Peter Nilsson + + * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, + ld-cris/locref2.s: New tests. + + * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain + readelf as found using default path. + +2003-06-18 Alan Modra + + * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before + trying to trim ld path. + (default_ld_compile): Likewise for cc. + + * lib/ld-lib.exp (default_ld_simple_link): Trim ld path before + looking for gcc match. + (default_ld_compile): Likewise for cc. + +2003-06-17 Loren James Rittle + + * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail. + +2003-06-16 Alan Modra + + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlstoc.d: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-06-16 Hans-Peter Nilsson + + * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*. + * ld-cris/noglob1.d: Ditto. + * ld-cris/badgotr1.d: Pass --underscore to gas. + +2003-06-12 Thiemo Seufer + + * ld-mips-elf/elf-rel-got-n64-linux.d: New file. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. + * ld-mips-elf/mips-elf.exp: Use the new files for Linux. + +2003-06-12 Thiemo Seufer + + * ld-mips-elf/relax-jalr.s: Fix testsuite breakage. + * ld-mips-elf/relax-jalr-n32.d: Likewise. + * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * ld-mips-elf/relax-jalr-n64.d: Likewise. + * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2003-06-11 Thiemo Seufer + + * ld-mips-elf/multi-got-1.d: Adjust addresses. + * ld-mips-elf/rel32-n32.d: Likewise. + +2003-06-11 Alan Modra + + * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and + xfail for hppa duplicated elsewhere. + +2003-06-10 Thiemo Seufer + + * ld-mips-elf/rel32-n32.d: Force big endian assembly. + * ld-mips-elf/rel32-o32.d: Likewise. + * ld-mips-elf/rel64.d: Likewise. + +2003-06-10 Alan Modra + + * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. + * ld-powerpc/tls.t: Update. + * ld-powerpc/tlsexe.d: Update. + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlsexetoc.t: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlsso.g: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlsso.t: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.g: Update. + * ld-powerpc/tlstocso.r: Update. + * ld-powerpc/tlstocso.t: Update. + +2003-06-03 H.J. Lu + + * ld-discard/extern.d: Updated. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + +2003-06-03 H.J. Lu + + * ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is + not available. + +2003-06-02 Fabrizio Gennari + + * ld-cygwin: New directory. + * ld-cygwin/exe-export.exp: New test script. Checks building + cygwin executables with an export table. + * ld-cygwin/testdll.def: New source file. + * ld-cygwin/testexe.def: New source file. + * ld-cygwin/testdll.c: New source file. + * ld-cygwin/testexe.c: New source file. + +2003-05-30 H.J. Lu + + * config/default.exp: Load tmpdir/libpath.exp. + (gcc_ld_flag): Set from $libpath. + +2003-05-27 Jason Thorpe + + * ld-elf/elf.exp: Use if_elf_format. + * ld-elf/sec64k.exp: Likewise. + * ld-elfcomm/elfcomm.exp: Likewise. + * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*. + +2003-05-25 Jason Thorpe + + * ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf. + +2003-05-20 Jakub Jelinek + + * ld-elfvsb/common.c: New file. + * ld-elfvsb/elfvsb.exp: Add common. + +2003-05-20 H.J. Lu + + * ld-elfvsb/sh3.c: New file. + * ld-elfvsb/test.c: Likewise. + + * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests. + +2003-05-15 H.J. Lu + + * config/default.exp (gcc_ld_flag): New. Make the newly built + linker available to gcc. + * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag + to gcc. + + * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared + libraries. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-shared/shared.exp: Likewise. + + * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared + libraries. + * ld-elfvsb/elfvsb.exp: Likewise. + + * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. + + * ld-elfweak/elfweak.exp: Use PIC for shared libraries. + +2003-05-13 Stephane Carrez + + * ld-m68hc11/link-hcs12.d: New test. + * ld-m68hc11/link-hcs12.s: New file. + * ld-m68hc11/link-hc12.s: New file. + +2003-05-13 H.J. Lu + + * ld-elfweak/elfweak.exp: Fix typo. + +2003-05-13 Kaz Kojima + + * ld-elfvers/vers.exp: Run on sh[34]*-*-linux*. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + +2003-05-12 Hans-Peter Nilsson + + * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, + ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d, + ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d, + ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d, + ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d, + ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d, + ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for + objdump no longer truncating dump addresses. + +2003-05-09 Martin Schwidefsky + + * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame + to linker script. + * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. + * ld-selective/selective.exp: Disable for s390 and s390x. + * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame + to linker script. + * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. + * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x. + +2003-05-08 H.J. Lu + + * ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test + versioned reference for hidden symbol. + + * ld-elfvers/vers27d4.dsym: New file. + * ld-elfvers/vers27d4.ver: Likewise. + +2003-05-07 H.J. Lu + + * ld-elfvers/vers27d3.c (__start): New. + (start): New. + +2003-05-07 H.J. Lu + + * ld-elfvers/vers.exp (build_binary): Support build exeutable. + (build_binary): Renamed from ... + (build_vers_lib): This. + (build_vers_lib_no_pic): Updated. + (build_vers_lib_pic): Likewise. + Add vers27d1, vers27d2 and vers27d3 to test versioned + definition for hidden symbol referenced by a DSO. + + * ld-elfvers/vers27d.dsym: New file. + * ld-elfvers/vers27d.sym: Likewise. + * ld-elfvers/vers27d.ver: Likewise. + * ld-elfvers/vers27d1.c: Likewise. + * ld-elfvers/vers27d2.c: Likewise. + * ld-elfvers/vers27d3.c: Likewise. + +2003-05-07 Andreas Schwab + + * ld-elfvsb/elfvsb.exp: Run dump tests even when cross + compiling. + +2003-05-06 Alexandre Oliva + + * config/default.exp (gcc_gas_flags): Force ABI to n32 on + mips64-linux. + * ld-elf/merge.d: Xfail on mips64*-linux-gnu*. + * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible + on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu. + (good_combination, bad_combination): Use it. + Add -32 or -mabi=o64 wherever the ABI was formerly implied. + +2003-05-06 H.J. Lu + + * ld-elfvers/vers.exp (objdump_versionstuff): Support comment + in expected version file. + + * ld-elfvers/vers25b.c: Add a line of comment. + * ld-elfvers/vers25b.dsym: Likwise. + * ld-elfvers/vers25b.ver: Likwise. + * ld-elfvers/vers26b.dsym: Likwise. + * ld-elfvers/vers26b.ver: Likwise. + * ld-elfvers/vers27b.dsym: Likwise. + * ld-elfvers/vers27b.ver: Likwise. + * ld-elfvers/vers27c.c: Likwise. + * ld-elfvers/vers27c.dsym: Likwise. + * ld-elfvers/vers27c.ver: Likwise. + +2003-05-04 H.J. Lu + + * ld-elfvsb/main.c: Updated. + * ld-elfvsb/sh1.c: Likewise. + +2003-05-04 H.J. Lu + + * ld-elfvers/vers18.dsym: Updated for weak definiton change. + * ld-elfvers/vers18.ver: Likewise. + * ld-elfvers/vers19.ver: Likewise. + * ld-elfweak/dsowdata.dsym: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-elfweak/weakdata.dsym: Likewise. + + * ld-elfweak/elfweak.exp: Remove xfail. + +2003-05-04 Alexandre Oliva + + * ld-mips-elf/multi-got-1.d: Force into big-endian mode. + Turn relocation offsets into regexps. + +2003-05-03 H.J. Lu + + * ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and + vers27c2 to test versioned definition vs. hidden definition in + different files. + + * ld-elfvers/vers27a.c: New file. + * ld-elfvers/vers27a.dsym: Likewise. + * ld-elfvers/vers27a.map: Likewise. + * ld-elfvers/vers27a.ver: Likewise. + * ld-elfvers/vers27b.c: Likewise. + + * ld-elfvers/vers27b.dsym: New empty file. + * ld-elfvers/vers27b.ver: Likwise. + * ld-elfvers/vers27c.c: Likwise. + * ld-elfvers/vers27c.dsym: Likwise. + * ld-elfvers/vers27c.ver: Likwise. + +2003-05-02 Nick Clifton + + * ld-xstormy16: New directory. + * ld-xstormy16/xstormy16.exp: New test script. + * ld-xstormy16/pcrel.s: Test assembler source file. + * ld-xstormy16/external.s: Test assembler source file. + * ld-xstormy16/pcrel.d: Test expected disassembly. + +2003-05-02 Andreas Jaeger + + * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. + +2003-04-29 H.J. Lu + + * ld-ia64/tlsbin.dd: Updated. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + +2003-04-29 J"orn Rennecke + + * ld-selective/3.cc (start): New function. + * ld-selective/4.cc: Likewise. + * ld-selective/5.cc: Likewise. + +2003-04-28 H.J. Lu + + * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler. + (build_vers_lib): Support PIC. + (build_vers_lib_no_pic): New. Change all calls to build_vers_lib + to build_vers_lib_no_pic. + (build_vers_lib_pic): New. + Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned + definition vs. normal definition in different files. + + * ld-elfvers/vers26a.c: New file. + * ld-elfvers/vers26a.dsym: Likewise. + * ld-elfvers/vers26a.map: Likewise. + * ld-elfvers/vers26a.ver: Likewise. + * ld-elfvers/vers26b.c: Likewise. + + * ld-elfvers/vers26b.dsym: New empty file. + * ld-elfvers/vers26b.ver: Likewise. + +2003-04-27 H.J. Lu + + * ld-elfvsb/elfvsb.dat: Updated. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + +2003-04-26 Stephane Carrez + + * ld-m68hc11/bug-3331.d: New test. + * ld-m68hc11/bug-3331.s: New file. + +2003-04-25 Nick Clifton + J"orn Rennecke + + * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. + +2003-04-24 J"orn Rennecke + + * ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended. + +2003-04-23 Kaz Kojima + + * ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d, + ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing + unnecessary TLS relocs. + +2003-04-23 J"orn Rennecke + + * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH. + * ld-sh/sh64/crange3-media.rd (Machine): Likewise. + +2003-04-23 H.J. Lu + + * ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty + files. + (objdump_versionstuff): Likewise. + Add tests vers25a, vers25b1 and vers25b2 for versioned + definition vs. normal definition in different files. + + * ld-elfvers/vers25a.c: New file. + * ld-elfvers/vers25a.dsym: Likewise. + * ld-elfvers/vers25a.map: Likewise. + * ld-elfvers/vers25a.ver: Likewise. + + * ld-elfvers/vers25b.c: New empty file. + * ld-elfvers/vers25b.dsym: Likewise. + * ld-elfvers/vers25b.ver: Likewise. + +2003-04-22 H.J. Lu + + * ld-elfcomm/elfcomm.exp: Support 64bit targets. + +2003-04-21 Stephane Carrez + + * ld-m68hc11/far-hc11.s: New file. + * ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation. + * ld-m68hc11/far-hc12.s: New file. + * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation. + * ld-m68hc11/far-hc12.ld: New file. + +2003-04-15 H.J. Lu + + * ld-elfcom/elfcom.exp: Fix a typo. + +2003-04-14 H.J. Lu + + * ld-elfcom: New directory. + * ld-elfcom/elfcom.exp: New file: Test alignment of common symbols + under ELF. + * ld-elfcom/common1a.c: New file: Test source code. + * ld-elfcom/common1b.c: New file: Test source code. + +2003-04-15 Rohit Kumar Srivastava + + * ld-sh/sh64/crange3-cmpct.rd: Replace occurrances of 'Hitachi' + with 'Renesas'. + * ld-sh/sh64/crange3-media.rd: Likewise. + +2002-04-13 Daniel Jacobowitz + + * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s, + ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it + for error messages. + +2003-04-10 Alexandre Oliva + + * ld-mips-elf/elf-rel-got-n32.d, + ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, + ld-mips-elf/elf-rel-xgot-n64.d: New. + * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for + new tests to run. + +2003-04-04 Stephane Carrez + + * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax. + +2003-04-02 Bob Wilson + + * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*. + * ld-xtensa/lcall.exp: Likewise. + +2003-04-01 Bob Wilson + + * ld-elf/merge.d: xfail xtensa-*-*. + * ld-scripts/crossref.exp: Add -mtext-section-literals to CFLAGS + for Xtensa targets. + * ld-srec/srec.exp: Add -no-relax flag for Xtensa targets. + * ld-xtensa/coalesce1.s: New file. + * ld-xtensa/coalesce2.s: Likewise. + * ld-xtensa/coalesce.exp: Likewise. + * ld-xtensa/coalesce.t: Likewise. + * ld-xtensa/lcall1.s: Likewise. + * ld-xtensa/lcall2.s: Likewise. + * ld-xtensa/lcall.exp: Likewise. + * ld-xtensa/lcall.t: Likewise. + +2003-03-25 Alexandre Oliva + + * ld-mips-elf/mips-elf.exp: Added... + * ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, + ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, + ld-mips-elf/relax-jalr-n64-shared.d: New tests. + +2003-03-11 Alexandre Oliva + + * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: + * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, + ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New + tests. + +2003-03-11 Alan Modra + + * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. + * ld-powerpc/tlsso32.r: Likewise. + +2003-02-18 Alan Modra + + * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD + relocs. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe.t: Likewise. + + * ld-powerpc/tls32.s: New file. + * ld-powerpc/tlslib32.s: New file. + * ld-powerpc/tls32.d: New file. + * ld-powerpc/tls32.g: New file. + * ld-powerpc/tls32.t: New file. + * ld-powerpc/tlsexe32.d: New file. + * ld-powerpc/tlsexe32.g: New file. + * ld-powerpc/tlsexe32.r: New file. + * ld-powerpc/tlsexe32.t: New file. + * ld-powerpc/tlsso32.d: New file. + * ld-powerpc/tlsso32.g: New file. + * ld-powerpc/tlsso32.r: New file. + * ld-powerpc/tlsso32.t: New file. + * ld-powerpc/powerpc.exp: Run new tests. + +2003-02-18 Alan Modra + + * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change. + +2003-02-10 Jakub Jelinek + + * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. + xfail tests linking non-pic code into shared libs on x86_64-*-linux*. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c + tests. + * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* + version. + * ld-elfvers/vers19.ver: Likewise. + * ld-elfvers/vers24a.c: New test. + * ld-elfvers/vers24b.c: New test. + * ld-elfvers/vers24c.c: New test. + * ld-elfvers/vers24.map: New test. + * ld-elfvers/vers24.rd: New test. + * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument + cflags. If source files have .c extension, compile them first. + +2003-02-10 Kaz kojima + + * ld-sh/tlstpoff-1.d: New. + * ld-sh/tlstpoff-2.d: New. + * ld-sh/tlstpoff1.s: New. + * ld-sh/tlstpoff2.s: New. + +2003-02-09 Alan Modra + + * ld-powerpc/tlslib.s: Give .__tls_get_addr function type. + * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var + in dynamic lib. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe.t: Likewise. + * ld-powerpc/tlsexetoc.d: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsexetoc.t: Likewise. + +2003-02-05 Alan Modra + + * ld-powerpc/powerpc.exp (supports_ppc64): New. + (ppcelftests): Force 32 bit mode. + (ppc64elftests): New. + * ld-powerpc/tls.d: New. + * ld-powerpc/tls.g: New. + * ld-powerpc/tls.s: New. + * ld-powerpc/tls.t: New. + * ld-powerpc/tlsexe.d: New. + * ld-powerpc/tlsexe.g: New. + * ld-powerpc/tlsexe.r: New. + * ld-powerpc/tlsexe.t: New. + * ld-powerpc/tlsexetoc.d: New. + * ld-powerpc/tlsexetoc.g: New. + * ld-powerpc/tlsexetoc.r: New. + * ld-powerpc/tlsexetoc.t: New. + * ld-powerpc/tlslib.s: New. + * ld-powerpc/tlsso.d: New. + * ld-powerpc/tlsso.g: New. + * ld-powerpc/tlsso.r: New. + * ld-powerpc/tlsso.t: New. + * ld-powerpc/tlstoc.d: New. + * ld-powerpc/tlstoc.g: New. + * ld-powerpc/tlstoc.s: New. + * ld-powerpc/tlstoc.t: New. + * ld-powerpc/tlstocso.d: New. + * ld-powerpc/tlstocso.g: New. + * ld-powerpc/tlstocso.r: New. + * ld-powerpc/tlstocso.t: New. + +2003-01-27 Alexandre Oliva + + * ld-mips-elf/multi-got-1.d: New. + * ld-mips-elf/multi-got-1-1.s: New. + * ld-mips-elf/multi-got-1-2.s: New. + * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf. + Run multi-got-1. + +2003-01-25 Jakub Jelinek + + * ld-sparc/sparc.exp: New. + * ld-sparc/tlsg32.s: New test. + * ld-sparc/tlsg32.sd: Likewise. + * ld-sparc/tlsg64.s: Likewise. + * ld-sparc/tlsg64.sd: Likewise. + * ld-sparc/tlslib.s: Likewise. + * ld-sparc/tlsnopic.s: Likewise. + * ld-sparc/tlspic.s: Likewise. + * ld-sparc/tlssunbin32.dd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin32.s: Likewise. + * ld-sparc/tlssunbin32.sd: Likewise. + * ld-sparc/tlssunbin32.td: Likewise. + * ld-sparc/tlssunbin64.dd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunbin64.s: Likewise. + * ld-sparc/tlssunbin64.sd: Likewise. + * ld-sparc/tlssunbin64.td: Likewise. + * ld-sparc/tlssunbinpic32.s: Likewise. + * ld-sparc/tlssunbinpic64.s: Likewise. + * ld-sparc/tlssunnopic32.dd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic32.s: Likewise. + * ld-sparc/tlssunnopic32.sd: Likewise. + * ld-sparc/tlssunnopic64.dd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunnopic64.s: Likewise. + * ld-sparc/tlssunnopic64.sd: Likewise. + * ld-sparc/tlssunpic32.dd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic32.s: Likewise. + * ld-sparc/tlssunpic32.sd: Likewise. + * ld-sparc/tlssunpic32.td: Likewise. + * ld-sparc/tlssunpic64.dd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-sparc/tlssunpic64.s: Likewise. + * ld-sparc/tlssunpic64.sd: Likewise. + * ld-sparc/tlssunpic64.td: Likewise. + +2003-01-24 Martin Schwidefsky + + * ld-s390/s390.exp: New file. + * ld-s390/tlsbin_64.dd: New file. + * ld-s390/tlsbin_64.rd: New file. + * ld-s390/tlsbin_64.s: New file. + * ld-s390/tlsbin_64.sd: New file. + * ld-s390/tlsbin_64.td: New file. + * ld-s390/tlsbin.dd: New file. + * ld-s390/tlsbinpic_64.s: New file. + * ld-s390/tlsbinpic.s: New file. + * ld-s390/tlsbin.rd: New file. + * ld-s390/tlsbin.s: New file. + * ld-s390/tlsbin.sd: New file. + * ld-s390/tlsbin.td: New file. + * ld-s390/tlslib_64.s: New file. + * ld-s390/tlslib.s: New file. + * ld-s390/tlspic1_64.s: New file. + * ld-s390/tlspic1.s: New file. + * ld-s390/tlspic2_64.s: New file. + * ld-s390/tlspic2.s: New file. + * ld-s390/tlspic_64.dd: New file. + * ld-s390/tlspic_64.rd: New file. + * ld-s390/tlspic_64.sd: New file. + * ld-s390/tlspic_64.td: New file. + * ld-s390/tlspic.dd: New file. + * ld-s390/tlspic.rd: New file. + * ld-s390/tlspic.sd: New file. + * ld-s390/tlspic.td: New file. + +2003-01-24 Alan Modra + + * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps. + * ld-alpha/tlsbin.td: Likewise. + * ld-alpha/tlsbinr.sd: Likewise. + +2003-01-21 Richard Henderson + + * ld-alpha/alpha.exp: New. + * ld-alpha/align.s: New. + * ld-alpha/tlsbin.dd: New. + * ld-alpha/tlsbin.rd: New. + * ld-alpha/tlsbin.s: New. + * ld-alpha/tlsbin.sd: New. + * ld-alpha/tlsbin.td: New. + * ld-alpha/tlsbinpic.s: New. + * ld-alpha/tlsbinr.dd: New. + * ld-alpha/tlsbinr.rd: New. + * ld-alpha/tlsbinr.sd: New. + * ld-alpha/tlsg.s: New. + * ld-alpha/tlsg.sd: New. + * ld-alpha/tlslib.s: New. + * ld-alpha/tlspic.dd: New. + * ld-alpha/tlspic.rd: New. + * ld-alpha/tlspic.sd: New. + * ld-alpha/tlspic.td: New. + * ld-alpha/tlspic1.s: New. + * ld-alpha/tlspic2.s: New. + +2003-01-20 Alan Modra + + * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. + +2003-01-18 Jakub Jelinek + + * ld-ia64/tlspic1.s: Add tests for IE in shared libraries. + * ld-ia64/tlspic.rd: Adjust. + * ld-ia64/tlspic.dd: Adjust. + * ld-ia64/tlspic.sd: Adjust. + +2003-01-16 Jakub Jelinek + + * ld-ia64/ia64.exp: New. + * ld-ia64/tlsbin.dd: New test. + * ld-ia64/tlsbinpic.s: New test. + * ld-ia64/tlsbin.rd: New test. + * ld-ia64/tlsbin.s: New test. + * ld-ia64/tlsbin.sd: New test. + * ld-ia64/tlsbin.td: New test. + * ld-ia64/tlsg.s: New test. + * ld-ia64/tlsg.sd: New test. + * ld-ia64/tlslib.s: New test. + * ld-ia64/tlspic1.s: New test. + * ld-ia64/tlspic2.s: New test. + * ld-ia64/tlspic.dd: New test. + * ld-ia64/tlspic.rd: New test. + * ld-ia64/tlspic.sd: New test. + * ld-ia64/tlspic.td: New test. + +2003-01-02 Richard Sandiford + + * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test. + +2003-01-02 Richard Sandiford + + * ld-mips-elf/jr.s: New file. + * ld-mips-elf/mips-elf-flags.exp: New test. + +2002-12-18 Ralf Habacker + + * ld-auto-import: New directory. + * ld-auto-import/auto-import.exp: Test the auto importing direct + from a dll functionality. + * ld-auto-import/client.c: Source code for test. + * ld-auto-import/dll.c: Likewise. + +2002-12-12 Alexandre Oliva + + * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test. + * ld-mips-elf/branch-misc-2.d: Removed. + +2002-12-10 Jason Thorpe + + * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. + +2002-12-03 Nick Clifton + + * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging + test. + * ld-powerpc/apuinfo1.s: New assembler source file. + * ld-powerpc/apuinfo2.s: New assembler source file. + * ld-powerpc/apuinfo.rd: New expected output file. + +2002-12-01 Stephane Carrez + + Fix PR savannah/1417: + * ld-m68hc11/bug-1417.s: New test. + * ld-m68hc11/bug-1417.d: Likewise. + +2002-11-28 Jakub Jelinek + + * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols. + +2002-11-28 Kaz Kojima + + * ld-sh/refdbg-0-dso.d: New test. + * ld-sh/refdbg-1.d: Likewise. + * ld-sh/refdbg.s: Likewise. + * ld-sh/refdbglib.s: Likewise. + +2002-11-22 Alan Modra + + * ld-elf/elf.exp: Remove sec64k test. + * ld-elf/sec64k.exp: Reinstate. + +2002-11-21 Alan Modra + + * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. + * ld-elf/merge.s: New file. + * ld-elf/merge.d: New file. + * ld-elf/merge.ld: New file. + +2002-11-18 Svein E. Seldal + + * ld-scripts/script.exp: Setup for tic4x testcase + +2002-11-15 Nick Clifton + + * ld-h8300: New directory. + * ld-h8300/h8300.exp: New expect script. Only run tests for h8300 + targets. + * ld-h8300/relax.s: New assembler source file. + * ld-h8300/relax.d: New expected output file. + +2002-11-11 Hans-Peter Nilsson + + * ld-elf/sec64k.exp: New test. + * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" + to a source file starting with "/". + +2002-11-10 Hans-Peter Nilsson + + * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d, + ld-mmix/local7.d: Tweak for change in readelf output. + +2002-11-09 Alan Modra + + * ld-elfvsb/define.s: Avoid use of @ in .type directive. + +2002-11-07 Hans-Peter Nilsson + + * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d, + ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests. + +2002-11-07 Nick Clifton + + * ld-fastcall/fastcall.exp: Only run tests for PE type x86 + targets. + +2002-11-07 Kaz Kojima + + * ld-sh/rd-sh.exp: Set asflags_save always. + +2002-11-07 Casper S. Hornstrup + + * ld-fastcall: New directory for testing fastcall support. + * ld-fastcall/export.s: New file for testing fastcall symbol + handling. + * ld-fastcall/import.s: Likewise. + * ld-fastcall/fastcall.exp: Likewise. + +2002-11-03 Kaz Kojima + + * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5. + * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5. + * ld-sh/tlspic-1.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols + defined by the linker scripts. + +2002-10-14 Stephane Carrez + + * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12. + * ld-m68hc11/adj-jump.d: New test for linker relaxation. + * ld-m68hc11/adj-jump.s: Likewise. + * ld-m68hc11/adj-brset.s: Likewise. + * ld-m68hc11/adj-brset.d: Likewise. + * ld-m68hc11/relax-direct.s: Likewise. + * ld-m68hc11/relax-direct.d: Likewise. + * ld-m68hc11/relax-group.s: Likewise. + * ld-m68hc11/relax-group.d: Likewise. + * ld-m68hc11/bug-1403.d: Likewise. + * ld-m68hc11/bug-1403.s: Likewise. + +2002-10-14 Stephen Clarke + * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*. + * ld-sh/sh64/sh64.exp: Likewise. + * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*. + * ld-sh/sh64/abi32.sd: Adjust expected output to include + sh64*-*-linux* formats too. + * ld-sh/sh64/relax.exp: Add emul32 variable to hold target + emulation, and set it appropriately for sh*-*-linux*. + * ld-sh/sh64/relfail.exp: Add variables to hold target + emulation, output format, start symbol, and whether target + supports 64-bit ABI. Set appropriately for sh*-*-linux*. + +2002-10-12 H.J. Lu (hjl@gnu.org) + + * ld-discard/extern.d: Remove $srcdir/$subdir/. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + * ld-linkonce/zeroehl32.d: Likewise. + * ld-selective/keepdot.d: Likewise. + * ld-selective/keepdot0.d: Likewise. + +2002-10-11 Kaz Kojima + + * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output + of linker to the file tmpdir/*-dso.so. + * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. + * ld-sh/tlsbin-0-dso.d: New. + * ld-sh/tlsbin-1.d: New. + * ld-sh/tlsbin-2.d: New. + * ld-sh/tlsbin-3.d: New. + * ld-sh/tlsbin-4.d: New. + * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. + * ld-sh/tlspic-1.d: New. + * ld-sh/tlspic-2.d: New. + * ld-sh/tlspic-3.d: New. + * ld-sh/tlspic-4.d: New. + +2002-10-10 Jakub Jelinek + + * ld-i386/combreloc.s: New test. + * ld-i386/combreloc.d: New test. + * ld-i386/i386.exp (i386tests): Add it. + +2002-10-10 Alan Modra + + * ld-i386/i386.exp (reloc): Turn off combreloc. + * ld-i386/reloc.d: Likewise. + * ld-powerpc/powerpc.exp: Likewise. + * ld-powerpc/reloc.d: Likewise. + +2002-10-03 H.J. Lu + + * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc + 3.x. + +2002-10-03 Chris Demetriou + + * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be + more compatible with non-embedded targets. + * ld-mips-elf/branch-misc-2.d: Likewise. + + * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded + PIC tests. + (elf): New variable, to control whether generic ELF tests are run. + (embedded_elf): New variable, to control whether ELF tests + requiring embedded PIC or embedded relocs are run. + +2002-10-02 Stephen Clarke + + * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map, + ld-sh/sh64/gotplt.s: New test. + +2002-10-02 Stephen Clarke + * ld-sh/sh64/cmpct1.sd : Fix linked file name. + * ld-sh/sh64/crange3.dd: Likewise. + +2002-10-01 Jakub Jelinek + + * ld-i386/i386.exp: Add tlsindntpoff test. + * ld-i386/tlsindntpoff.s: New test. + * ld-i386/tlsindntpoff.dd: New test. + +2002-10-01 Jakub Jelinek + + * ld-x86-64/tlspic1.s: Change TLSGD sequences. + * ld-x86-64/tlsbinpic.s: Likewise. + * ld-x86-64/tlspic.dd: Adjust. + +2002-10-01 Jakub Jelinek + + * ld-i386/i386.exp: Add tlsg test. + * ld-i386/tlsg.s: New test. + * ld-i386/tlsg.sd: New test. + * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments. + * ld-i386/tlsbinpic.s: Likewise. + * ld-x86-64/x86-64.exp: Add tlsg test. + * ld-x86-64/tlsg.s: New test. + * ld-x86-64/tlsg.sd: New test. + * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments. + * ld-x86-64/tlsbinpic.s: Likewise. + +2002-09-30 Alan Modra + + * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF. + +2002-09-30 Alan Modra + + * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New. + * ld-powerpc/powerpc.exp: New. + + * ld-i386/reloc.s, ld-i386/reloc.d: New. + * ld-i386/i386.exp: Run new test. + +2002-09-27 Jakub Jelinek + + * lib/ld-lib.exp (run_ld_link_tests): Add. + * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, + file_contents): Remove. + (sh64tests): Add 6th field to the tests array. + * ld-i386/i386.exp (run_ld_link_tests): Remove. + * ld-x86-64/x86-64.exp: New. + * ld-x86-64/tlsbin.dd: New test. + * ld-x86-64/tlsbinpic.s: New test. + * ld-x86-64/tlsbin.rd: New test. + * ld-x86-64/tlsbin.s: New test. + * ld-x86-64/tlsbin.sd: New test. + * ld-x86-64/tlsbin.td: New test. + * ld-x86-64/tlslib.s: New test. + * ld-x86-64/tlspic1.s: New test. + * ld-x86-64/tlspic2.s: New test. + * ld-x86-64/tlspic.dd: New test. + * ld-x86-64/tlspic.rd: New test. + * ld-x86-64/tlspic.sd: New test. + * ld-x86-64/tlspic.td: New test. + +2002-09-21 Alan Modra + + * ld-undefined/undefined.exp: Adjust function test. + +2002-09-20 Alan Modra + + * ld-i386/i386.exp: Only run tests on ELF targets. + +2002-09-19 Jakub Jelinek + + * ld-i386/i386.exp: New. + * ld-i386/tlsbin.dd: New test. + * ld-i386/tlsbinpic.s: New test. + * ld-i386/tlsbin.rd: New test. + * ld-i386/tlsbin.s: New test. + * ld-i386/tlsbin.sd: New test. + * ld-i386/tlsbin.td: New test. + * ld-i386/tlslib.s: New test. + * ld-i386/tlsnopic1.s: New test. + * ld-i386/tlsnopic2.s: New test. + * ld-i386/tlsnopic.dd: New test. + * ld-i386/tlsnopic.rd: New test. + * ld-i386/tlsnopic.sd: New test. + * ld-i386/tlspic1.s: New test. + * ld-i386/tlspic2.s: New test. + * ld-i386/tlspic.dd: New test. + * ld-i386/tlspic.rd: New test. + * ld-i386/tlspic.sd: New test. + * ld-i386/tlspic.td: New test. + +2002-09-18 Chris Demetriou + + * ld-mips-elf/branch-misc-1.d: New file. + * ld-mips-elf/branch-misc-2.d: New file. + * ld-mips-elf/mips-elf.exp: Run new tests. + +2002-09-05 Alan Modra + + * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + +2002-08-31 Hans-Peter Nilsson + + * ld-mmix/bpo-10.d: Tweak for change in symbols handling. + * ld-mmix/bpo-11.d: Ditto. + + * ld-mmix/b-nosym.d: Adjust for changed output for absence of + symbols. + + * ld-mmix/sec-7m.d: Rename tested section from .debug_info to + .di. + * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, + ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto. + +2002-08-28 Alan Modra + + * ld-discard/discard.exp: xfail m6812. + * ld-scripts/map-address.d: Adjust for extras emitted by pe targets. + +2002-08-27 Alan Modra + + * ld-mmix/b-nosym.d: Revert last change. + +2002-08-26 Alan Modra + + * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout. + +2002-08-23 Stephen Clarke + + * ld-sh/sh64/rd-sh64.exp: New framework file. + * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, + ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for + correct setting of ISA bit for init and fini entry-points. + +2002-08-16 Stephen Clarke + + * ld-sh/sh64/sh64.exp: Add dlsection. + * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New. + +2002-08-16 Alan Modra + + * ld-discard/discard.exp: xfail targets using generic linker. + * ld-discard/extern.d: Allow "data" to be reduced to a section sym. + +2002-08-15 Hans-Peter Nilsson + + * ld-cris/libdso-4.d, ld-cris/undef1.d: New test. + +2002-08-13 H.J. Lu + + * ld-elfvers/vers.exp: Add vers23c and vers23d. + + * ld-elfvers/vers23c.ver: New. + * ld-elfvers/vers23d.dsym: New. + +2002-08-12 H.J. Lu + + * ld-elfvers/vers.exp: Add vers23. + + * ld-elfvers/vers23.c: New. + * ld-elfvers/vers23.dsym: New. + * ld-elfvers/vers23.ver: New. + * ld-elfvers/vers23a.c: New. + * ld-elfvers/vers23a.dsym: New. + * ld-elfvers/vers23a.map: New. + * ld-elfvers/vers23a.sym: New. + * ld-elfvers/vers23a.ver: New. + * ld-elfvers/vers23b.c: New. + * ld-elfvers/vers23b.dsym: New. + * ld-elfvers/vers23b.map: New. + * ld-elfvers/vers23b.ver: New. + +2002-08-12 Stephen Clarke + + * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section + listing. + * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, + ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols + is no longer set to object. + * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd, + ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd, + ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd, + ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, + ld-sh/sh64/shdl64.xd: Likewise. + +2002-08-10 Alan Modra + + * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. + * ld-linkonce/linkonce.exp: Likewise. + * ld-selective/sel-dump.exp: Likewise. + * ld-selective/selective.exp: Don't run on aout or bout. + +2002-08-08 H.J. Lu + + * ld-elfvers/vers.exp: Add vers22. + + * ld-elfvers/vers22.c: New. + * ld-elfvers/vers22.dsym: New. + * ld-elfvers/vers22.map: New. + * ld-elfvers/vers22.ver: New. + * ld-elfvers/vers22a.c: New. + * ld-elfvers/vers22a.dsym: New. + * ld-elfvers/vers22a.sym: New. + * ld-elfvers/vers22a.ver: New. + * ld-elfvers/vers22b.c: New. + * ld-elfvers/vers22b.dsym: New. + * ld-elfvers/vers22b.ver: New. + +2002-08-07 H.J. Lu + + * ld-elfvers/vers.exp: Add --no-undefined-version. + + * ld-elfvers/vers1.map: Remove the unused foo1 and foo2. + * ld-elfvers/vers8.map: Likewise. + * ld-elfvers/vers18.map: Likewise. + +2002-07-30 John David Anglin + + * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, + ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. + * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, + ld-linkonce/linkonce.exp, ld-shared/shared.exp, + ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* + targets. + * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, + ld-discard/static.s: Add whitespace before assembler directives. + +2002-07-29 Chris Demetriou + + * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set. + +2002-07-26 Richard Sandiford + + * ld-mips-elf/mips16-1.d, + * ld-mips-elf/mips16-1[ab].s: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2002-07-19 Hans-Peter Nilsson + + * ld-mmix/sec-1.d: Adjust for changes in padding. + * ld-mmix/sec-3.d: Ditto. + +2002-07-15 H.J. Lu + + * ld-elfvers/vers.exp: Add vers21. + + * ld-elfvers/vers21.c: New. + * ld-elfvers/vers21.dsym: New. + * ld-elfvers/vers21.map: New. + * ld-elfvers/vers21.sym: New. + * ld-elfvers/vers21.ver: New. + +2002-07-12 Hans-Peter Nilsson + + * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, + ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, + ld-cris/expdref1.s: New tests. + +2002-07-09 Richard Sandiford + + * ld-scripts/dynamic-sections*: New test. + +2002-07-09 Hans-Peter Nilsson + + * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, + ld-cris/noglob1.d: New tests. + + * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections. + +2002-07-03 Alan Modra + + * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure + consistent sorting. + (run_dump_test): Likewise for objdump/nm/objcopy/readelf. + * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise. + +2002-06-29 Hans-Peter Nilsson + + * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, + ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test. + +2002-06-18 Chris Demetriou + + * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently + turned up by recent assembler changes. + +2002-06-17 Tom Rix + + * ld-d10v/d10v.exp: New driver for d10v. + * ld-d10v/default_layout.d : New test. + * ld-d10v/regression-001.lt: New test for a linker regression. + * ld-d10v/linktest-002.lt: New test for run_link_test. + * ld-d10v/reloc-001.d - reloc-016.d: New tests. + +2002-06-11 John David Anglin + + * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to + script. + +2002-06-11 Andreas Jaeger + + * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails. + +2002-06-10 Richard Sandiford + + * ld-mips-elf/region1a.s, + * ld-mips-elf/region1b.s, + * ld-mips-elf/region1.t, + * ld-mips-elf/region1.d: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2002-06-07 Nick Clifton + + * ld-scripts/phdrs2.s: Use .p2align instead of .align. + Use section names .foo and .bar instead of .text and .data. + * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text + and .data. + +2002-06-06 David Heine + + * ld-scripts/phdrs2.exp: New file: Run second phdrs test. + * ld-scripts/phdrs2.s: New file: Dummy assembler source. + * ld-scripts/phdrs2.t: New file: Linker script with an empty + section at the start of a loadable segment. + +2005-06-02 H.J. Lu + + * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with + -fuse-cxa-atexit. + (__cxa_atexit): Likewise. + +2002-05-30 Richard Henderson + + * ld-bootstrap/bootstrap.exp: Test --relax. + +2002-05-28 Hans-Peter Nilsson + + * ld-cris/libdso-2.d: Tweak for combreloc now default on. + +2002-05-07 Richard Sandiford + + * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. + (is_elf_format): New, extracted from... + * ld-scripts/weak.exp: ...here. + * ld-scripts/overlay-size.exp: New test. + * ld-scripts/overlay-size.[tsd], + * ld-scripts/overlay-size-map.d: New files for it. + +2002-05-02 Richard Sandiford + + * ld-scripts/map-address.exp: Quote conditions. + +2002-04-30 Richard Sandiford + + * ld-scripts/map-address.exp: New test. + * ld-scripts/map-address.[td]: New files for it. + +2002-04-19 Richard Henderson + + * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha. + * ld-shared/shared.exp: Likewise. + * ld-selective/selective.exp: Disable for alpha. + * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails. + +2002-04-05 Hans-Peter Nilsson + + * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. + +2002-03-19 Hans-Peter Nilsson + + * ld-cris/ldsym1.d: New test. + + * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no + longer set to object. + * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, + ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d, + ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d, + ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d, + ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d, + ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d, + ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d, + ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d, + ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d, + ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d, + ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto. + +2002-03-11 Andreas Jaeger + + * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that + places zero initialized data in the bss. + * ld-elfweak/lddsodata.dsym: Likewise. + +2002-03-07 Hans-Peter Nilsson + + * ld-cris/expdyn1.d: Tweak for change in elf.sc. + +2002-02-24 Hans-Peter Nilsson + + * ld-sh/ld-r-1.d: Adjust to changes in readelf output. + * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd, + ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto. + +2002-02-18 Daniel Jacobowitz + + * ld-elfvsb/sh1.c: Fix typo in last change. + +2002-02-17 Daniel Jacobowitz + + * ld-elfvsb/sh1.c: Use #pragma weak. + +2002-02-17 Daniel Jacobowitz + + * vers.exp: Do not call diff -q. + +2002-02-17 Hans-Peter Nilsson + + * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol + output. + * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, + ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test. + + * ld-mmix/bpo-22.d: New test. + + * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss, + and .bss. + +2002-02-12 John David Anglin + + * ld-selective/selective.exp: Link against libgcc on + hppa*-*-linux* targets. + +2002-02-11 Alexandre Oliva + + * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field. + * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s. + * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications + in section ordering. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crange3.dd: Likewise. + + * ld-sh/shared-1.d: Fix relocation addend. + +2002-02-09 Hans-Peter Nilsson + + * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New + tests. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2002-02-02 Alexandre Oliva + * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + 2002-01-28 Alexandre Oliva + * ld-sh/sh64/abi32.xd: Formatting changes to match the current + output of objdump. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack + sessions, to match changes in the linker script. + 2001-06-14 Alexandre Oliva + * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation + info to reflect renumbering of relocation types. + 2001-03-14 DJ Delorie + * ld-sh/sh64/endian.dbd: New file, endian tests. + * ld-sh/sh64/endian.dld: Ditto. + * ld-sh/sh64/endian.ld: Ditto. + * ld-sh/sh64/endian.s: Ditto. + * ld-sh/sh64/endian.sbd: Ditto. + * ld-sh/sh64/endian.sld: Ditto. + * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld. + 2001-03-12 DJ Delorie + * ld-sh/sh64/relax.exp: New file, test disabling relaxing. + * ld-sh/sh64/relax1.s: Ditto. + * ld-sh/sh64/relax2.s: Ditto. + * ld-sh/sh64/relax3.s: Ditto. + * ld-sh/sh64/relax4.s: Ditto. + * ld-sh/sh64/relfail.exp: New file, test for bogus relocs. + * ld-sh/sh64/relfail.s: Ditto. + 2001-03-12 DJ Delorie + * ld-sh/sh.exp: This test isn't appropriate for SH64 since it + uses SH32 assembler files. + 2001-03-07 DJ Delorie + * ld-selective/selective.exp: Pass "-e _start" for sh64 to + accomodate expected start symbol in test. + 2001-03-06 DJ Delorie + * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64, + to match what gcc passes to the linker by default. + * ld-selective/selective.exp: Ditto. + * ld-srec/srec.exp: Ditto, plus XFAIL for sh64. + * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2). + 2001-03-06 DJ Delorie + * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout. + * ld-sh/sh64/abi64.xd (stack): Ditto. + * ld-sh/sh64/cmpct1.xd (stack): Ditto. + * ld-sh/sh64/crange1.rd (stack): Ditto. + * ld-sh/sh64/crange2.rd (stack): Ditto. + * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto. + * ld-sh/sh64/crange3-media.rd (stack): Ditto. + * ld-sh/sh64/crange3.rd (stack): Ditto. + * ld-sh/sh64/mix1.xd (stack): Ditto. + * ld-sh/sh64/mix2.xd (stack): Ditto. + * ld-sh/sh64/shdl32.xd (stack): Ditto. + * ld-sh/sh64/shdl64.xd (stack): Ditto. + 2001-01-14 Hans-Peter Nilsson + * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section. + * ld-sh/sh64/mix2.xd: Ditto. + 2001-01-08 Hans-Peter Nilsson + * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address + being SHmedia. + * ld-sh/sh64/shdl64.xd: Ditto. + * ld-sh/sh64/shdl32.xd: Ditto. + * ld-sh/sh64/mix2.xd: Ditto. + * ld-sh/sh64/crange3-media.rd: Ditto. + * ld-sh/sh64/abi64.xd: Ditto. + 2001-01-06 Hans-Peter Nilsson + * ld-sh/sh64/crange-2a.s (diversion2): New global symbol. + * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol. + Adjust section type for .cranges; expect sorted contents. + * ld-sh/sh64/crange2.rd: Ditto. + * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto. + * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol. + * ld-sh/sh64/crangerel2.rd: Ditto. + * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges. + * ld-sh/sh64/mix2.xd: Ditto. + * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New + tests. + * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests. + 2001-01-05 Hans-Peter Nilsson + * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid + target for (unexpanded) PTB. Add an .align 2 to SHmedia code to + keep properly aligned. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly. + * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd, + ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and + R_SH_PT_16 relocation. + * ld-sh/sh64/sh64.exp: Run new tests. + 2000-12-30 Hans-Peter Nilsson + * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s, + ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s, + ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests. + * ld-sh/sh64/sh64.exp: Run new tests. + * ld-sh/sh64/crange1.rd: Correct section flags. + * ld-sh/sh64/crange2.rd: Ditto. + * ld-sh/sh64/crangerel1.rd: Ditto. + 2000-12-18 Hans-Peter Nilsson + * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s, + ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s, + ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s, + ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, + ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for + handling .cranges section. + * ld-sh/sh64/sh64.exp: Run new tests. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, + ld-sh/sh64/mix2.xd: Adjust for .cranges section. + 2000-12-15 Hans-Peter Nilsson + * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd, + ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd, + ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, + ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and + .data individually 8-byte aligned. + 2000-12-09 Hans-Peter Nilsson + * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd, + ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s, + ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests. + * ld-sh/sh64/sh64.exp: Make it possible to use readelf as + inspection tool. Run new tests. + 2000-12-07 Hans-Peter Nilsson + * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd, + ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions. + * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd, + ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests. + * ld-sh/sh64/sh64.exp: Run new tests. + 2000-12-01 Hans-Peter Nilsson + * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd, + ld-sh/sh64/shcmp-1.s: New test. + * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat. + 2000-11-30 Hans-Peter Nilsson + * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI + test. + * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF. + 2000-11-29 Hans-Peter Nilsson + * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for + tests. + 2000-11-27 Hans-Peter Nilsson + * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI + registers. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s: + New test. + * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s, + ld-sh/sh64/shmix-3.s: New test. + * ld-sh/sh64/sh64.exp: Add new tests to sh64tests. + 2000-11-26 Hans-Peter Nilsson + * ld-sh/sh64: New testsuite. + +2002-02-07 Hans-Peter Nilsson + + * ld-selective/keepdot.s: Remove section specifier. + +2002-02-05 Hans-Peter Nilsson + + * ld-selective/keepdot.d, ld-selective/keepdot.ld, + ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. + * ld-selective/sel-dump.exp: New, driver for run_dump_test:s. + +2002-02-04 Hans-Peter Nilsson + + * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d, + ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d, + ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests + for on-demand global register allocation. + +2002-02-02 Alexandre Oliva + + * ld-sh/shared-1.d: Fix incorrect offsets. + +2002-02-01 Hans-Peter Nilsson + + * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d, + ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, + ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, + ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, + ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, + ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, + ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, + ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, + ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, + ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, + ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, + ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, + ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests. + +2002-01-31 Hans-Peter Nilsson + + * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s, + ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. + * ld-cris/cris.exp: Split run_dump_tests in two parts, executing + tests named *dso-*.d first and copying their tmpdir/dump to files + named as the .d-file. + +2002-01-31 Alan Modra + + * ld-scripts/crossref.exp: Allow foo to have a leading dot. + * ld-scripts/cross1.t: Add .opd. + * ld-undefined/undefined.exp: Allow leading dot on sym names. + * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms. + +2002-01-29 Chris Demetriou + + * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs. + * ld-mips-elf/emrelocs-el.d: Likewise. + * ld-mips-elf/emrelocs1.s: Likewise. + * ld-mips-elf/emrelocs2.s: Likewise. + * ld-mips-elf/emrelocs.ld: Likewise. + * ld-mips-elf/mips-elf.exp: Add the above to the list of tests. + +2002-01-21 Hans-Peter Nilsson + + * ld-cris: New testsuite directory. + +2002-01-15 Nick Clifton + + * ld-sh/sh.exp: Copy start.s file into test directory. + +2002-01-14 Nick Clifton + + * ld-selective/selective.exp: For ARM targets, link with libgcc.a. + +2002-01-02 Chris Demetriou + + * ld-mips-elf/empic1-ln.d: New file to test basic linking of + R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. + * ld-mips-elf/empic1-lp.d: Likewise. + * ld-mips-elf/empic1-mn.d: Likewise. + * ld-mips-elf/empic1-mp.d: Likewise. + * ld-mips-elf/empic1-sn.d: Likewise. + * ld-mips-elf/empic1-sp.d: Likewise. + * ld-mips-elf/empic1-ref.s: Likewise. + * ld-mips-elf/empic1-space.s: Likewise. + * ld-mips-elf/empic1-tgt.s: Likewise. + * ld-mips-elf/empic2-fwd-0.d: New file to test + R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge + cases. + * ld-mips-elf/empic2-fwd-1.d: Likewise. + * ld-mips-elf/empic2-rev-0.d: Likewise. + * ld-mips-elf/empic2-rev-1.d: Likewise. + * ld-mips-elf/empic2-ref.s: Likewise. + * ld-mips-elf/empic2-space.s: Likewise. + * ld-mips-elf/empic2-fwd-tgt.s: Likewise. + * ld-mips-elf/empic2-rev-tgt.s: Likewise. + * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF + tests (including those above). + +2001-11-30 H.J. Lu + + * ld-elfvers/vers.exp (build_vers_lib): Preserve the library + order. + +2001-11-29 H.J. Lu + + * ld-elfvers/vers.exp (build_vers_lib): Support linking against + more than one libraries. + Add "vers20a" and "vers20" tests for common symbols. + + * ld-elfvers/vers20.c: New. + * ld-elfvers/vers20.dsym: New. + * ld-elfvers/vers20.map: New. + * ld-elfvers/vers20.ver: New. + * ld-elfvers/vers20a.ver: New. + +2001-11-19 H.J. Lu + + * ld-elfvsb/define.s: Mark all global lables as object. + + * ld-elfvsb/hidden0.d: Match large section number. + * ld-elfvsb/hidden1.d: Likewise. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/internal1.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + * ld-elfvsb/protected1.d: Likewise. + + * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + +2001-11-15 H.J. Lu + + * ld-sh/ld-r-1.d: Updated. + +2001-11-14 Nick Clifton + + * ld-bootstrap/bootstrap.exp: Only scan tail of executable for + PE targets. + +2001-11-12 Donn Terry + + * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two + binary files produced in order to avoid date stamp present in PE + binaries. + +2001-11-11 Hans-Peter Nilsson + + * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit. + +2001-11-09 H.J. Lu + + * ld-discard/discard.exp: New. Test ld discard. + * ld-discard/discard.ld: Likewise. + * ld-discard/exit.s: Likewise. + * ld-discard/extern.d: Likewise. + * ld-discard/extern.s: Likewise. + * ld-discard/start.d: Likewise. + * ld-discard/start.s: Likewise. + * ld-discard/static.d: Likewise. + * ld-discard/static.s: Likewise. + +2001-11-02 H.J. Lu + + * ld-elfvsb/elfvsb.exp: Add the "ld -r" test. + + * ld-elfvsb/hidden0.d: New. + * ld-elfvsb/hidden1.d: New. + * ld-elfvsb/internal0.d: New. + * ld-elfvsb/internal1.d: New. + * ld-elfvsb/protected0.d: New. + * ld-elfvsb/protected1.d: New. + * ld-elfvsb/undef.s: New. + * ld-elfvsb/undef.s: New. + +2001-11-02 NIIBE Yutaka + + * ld-sh/sh.exp: Have its own start.s for linux. + +2001-10-31 Hans-Peter Nilsson + + * ld-mmix/locdo-1.d: Prune character dump part. + * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d, + ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, + ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, + ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, + ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, + ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, + ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove + unnecessary empty lines. + +2001-10-30 Hans-Peter Nilsson + + * ld-mmix: New testsuite directory. + +2001-10-14 Hans-Peter Nilsson + + * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on + sh*-*-elf. + + * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}. + + * ld-sh/rd-sh.exp: New framework file. + * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, + ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New + test files. + +2001-09-29 Hans-Peter Nilsson + + * ld-linkonce/linkonce.exp: New file. + * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, + ld-linkonce/zeroehl32.d: New test. + +2001-09-25 H.J. Lu + + * ld-elfweak/dso.dsym: Updated for alpha. + * ld-elfweak/dsodata.dsym: Likewise. + * ld-elfweak/strong.sym: Likewise. + * ld-elfweak/strongcomm.sym: Likewise. + * ld-elfweak/strongdata.sym: Likewise. + +2001-09-15 Hans-Peter Nilsson + + * lib/ld-lib.exp (run_dump_test): Handle new option + "objcopy_linked_file". Return after failing, if errors were + expected but none were found. + (slurp_options): Support underscores in option names. + +2001-09-14 H.J. Lu + + * ld-elfweak/bar.c: Updated. + * ld-elfweak/bar1a.c: Likewise. + * ld-elfweak/main.c: Likewise. + * ld-elfweak/main1.c: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-elfweak/weakdata.dsym: Updated. + +2001-09-11 H.J. Lu + + * ld-elfweak/elfweak.exp (build_lib): Take a list of object + files. + (build_exec): Likewise. + Add more tests and make some xfail. + + * ld-elfweak/dso.dsym: Support symbol versioning. + * ld-elfweak/dsow.dsym: Likewise. + + * ld-elfweak/main1.c: New. + * ld-elfweak/bar1a.c: Likewise. + * ld-elfweak/bar1b.c: Likewise. + * ld-elfweak/bar1c.c: Likewise. + * ld-elfweak/foo1a.c: Likewise. + * ld-elfweak/foo1b.c: Likewise. + * ld-elfweak/dsodata.dsym: Likewise. + * ld-elfweak/dsowdata.dsym: Likewise. + * ld-elfweak/weakdata.dsym: Likewise. + * ld-elfweak/strongcomm.sym: Likewise. + * ld-elfweak/strongdata.sym: Likewise. + * ld-elfweak/weakdata.dat: Likewise. + * ld-elfweak/strongdata.dat: Likewise. + +2001-09-10 H.J. Lu + + * ld-elfweak/elfweak.exp: New. + * ld-elfweak/bar.c: Likewise. + * ld-elfweak/foo.c: Likewise. + * ld-elfweak/main.c: Likewise. + * ld-elfweak/dso.dsym: Likewise. + * ld-elfweak/dsow.dsym: Likewise. + * ld-elfweak/strong.sym: Likewise. + * ld-elfweak/strong.dat: Likewise. + * ld-elfweak/weak.dat: Likewise. + +2001-08-27 Alan Modra + Linus Nordberg + + * ld-checks/checks.exp: .lcomm is incompatible with ppc coff. + * ld-scripts/cross1.t: Add .toc section. + * ld-scripts/cross2.t: Likewise. + * ld-scripts/phdrs.exp: powerpc64 is 64 bit. + * ld-srec/srec.exp: xfail powerpc64 + +2001-08-21 John David Anglin + + * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'. + Continue with other tests when there is a compilation error. + +2001-08-01 Loren J. Rittle + + * ld-cdtest/cdtest-nrv.dat: New file. + * ld-cdtest/cdtest.exp: Do not require any exception support + library. Check results against NRV. + +2001-08-01 Loren J. Rittle + + * ld-srec/srec.exp: Do not require any exception support + library. + +2001-07-27 H.J. Lu + + * ld-selective/selective.exp: Fix the error in the last change. + +2001-07-24 Loren J. Rittle + + * ld-selective/selective.exp: Support g++ V3 ABI (along side + the old ABI). Make comparisons against normalized (to + V3-style) demangled nm output. + +2001-07-24 Alan Modra + + * config/default.exp (ld_nm): Add "nmflags" arg. + * lib/ld-lib.exp (default_ld_nm): Likewise. + * ld-empic/empic.exp: Adjust call to ld_nm. + * ld-scripts/defined.exp: Likewise. + * ld-scripts/script.exp: Likewise. + * ld-scripts/sizeof.exp: Likewise. + * ld-selective/selective.exp: Likewise. + * ld-sh/sh.exp: Likewise. + +2001-07-12 H.J. Lu + + * ld-selective/selective.exp: Mark selective1, selective2, + selective4 and selective5 xfail on alpha*-*. + +2001-06-13 Hans-Peter Nilsson + + * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY, + OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide + default. + + * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add + new options "ld", "source", "xfail", "target", "notarget" and + "error". Support the runtest_file_p "*.exp=testname" feature. + (slurp_options, regexp_diff, file_contents, verbose_eval): Import + from gas testsuite. + +2001-06-12 Martin Schwidefsky + + * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule. + +2001-06-06 H.J. Lu + + * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 + on Linux/mips. + + * ld-elfvers/vers.exp: Also run on Linux/mips. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-shared/shared.exp: Likewise. + + * ld-selective/selective.exp: Mark selective2, selective3, + selective4 and selective5 xfail on Linux/mips. + + * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. + + * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. + + * ld-srec/srec.exp: Add Linux/mips to xfail. + +2001-06-06 Martin Schwidefsky + + * ld-undefined/undefined.exp: Add a setup_xfail line for a test + that will always fail on s/390. + +2001-05-28 kaz Kojima + + * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for + the text section. + +2001-05-25 Alan Modra + + * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and + linuxaout with linux*aout. + +2001-05-24 H.J. Lu + + * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform. + +2001-05-18 H.J. Lu + + * ld-elfvers/vers.exp: Revert the last change. + + * ld-elfvers/vers2.ver: Put back "tmpdir/" the version + references. + * ld-elfvers/vers3.ver: Likewise. + * ld-elfvers/vers6.ver: Likewise. + * ld-elfvers/vers18.ver: Likewise. + +2001-05-17 H.J. Lu + + * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". + + * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version + definition. + * ld-elfvers/vers2.ver: Likewise. + * ld-elfvers/vers3.ver: Likewise. + * ld-elfvers/vers4a.ver: Likewise. + * ld-elfvers/vers6.ver: Likewise. + * ld-elfvers/vers7a.ver: Likewise. + * ld-elfvers/vers8.ver: Likewise. + * ld-elfvers/vers9.ver: Likewise. + * ld-elfvers/vers15.ver: Likewise. + * ld-elfvers/vers16a.ver: Likewise. + * ld-elfvers/vers17.ver: Likewise. + * ld-elfvers/vers18.ver: Likewise. + +2001-05-03 H.J. Lu + + * ld-elfvers/vers19.ver: Expect vers17.so instead of + *tmpdir/vers17.so. + +2001-05-01 Andreas Jaeger , Andreas Schwab + + * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform. + + * ld-scripts/phdrs.t: Use startaddress that's greater than any + MAXPAGESIZE used. + +2001-04-29 H.J. Lu + + * ld-shared/symbolic.dat: New. + + * ld-shared/shared.exp: Also check -Bsymbolic. + +2001-04-28 Andreas Jaeger + + * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it + special. + +2001-04-01 David O'Brien + * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even + though it doesn't use DWARF2 yet (but its output is identical). + +2001-04-01 David O'Brien + + * ld-selective/selective.exp: Use -O with gcc rather than -O2. + This optimization level is buggy on some platforms, and this test + is not intended to test compiler optimizations. + +2001-03-06 DJ Delorie + + * ld-scripts/cross2.t: Support any type of text/data sections, not + just the canonical ones. + +2001-02-28 Matt Hiller + + * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian]. + * ld-undefined/undefined.exp: Ditto, and include $flags in ld + invocations. + * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL + and -el. + (is_endian_output_format): New function. + (default_ld_link): Set flags to [big_or_little_endian] only if ld + is being invoked such that the output format being used is of + known endianness. + (default_ld_simple_link): Ditto. + +2001-02-22 Timothy Wall + + * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from + AIX-specific test. + +2001-02-14 H.J. Lu + + * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 + for -static on ia64. + + * ld-checks/checks.exp: Don't run on ia64-*-elf* nor + ia64-*-linux*. + + * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*. + + * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*. + Set up expected failures for ia64-*-linux*. + * ld-shared/shared.exp: Likewise. + +2001-02-08 Stephane Carrez + + * ld-srec/srec.exp (run_srec_test): m6811 code has references + to soft registers, define them with --defsym. + * ld-selective/selective.exp: Likewise. + +2000-01-23 Alan Modra + + * ld-srec/sr3.cc (__rethrow): New. + +2001-01-14 Hans-Peter Nilsson + + * ld-sh/sh.exp: Use --oformat srec, not -oformat srec. + +2001-01-03 Philip Blundell + + * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha. + * ld-shared/shared.exp: Likewise. + +2001-01-01 Philip Blundell + + * ld-undefined/weak-undef.exp: New test. + * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting + files for above. + + * ld-elfvers/vers.exp: Run test on Linux/ARM. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-shared/shared.exp: Likewise. + +2000-12-31 Nick Clifton + + * ld-srec/srec.exp: Use --oformat instead of -oformat. + +2000-12-09 Nick Clifton + + * ld-selective/selective.exp: Link in libgcc when target is v850. + + * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets + because the -oformat linker command switch cannot be used. + +2000-11-06 Alan Modra + + * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h. + (main): Prune unused args. + +2000-10-29 Hans-Peter Nilsson + + * ld-selective/selective.exp : Fix typo for argument to + "untested". + +2000-10-19 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures + for Linux/PPC. + * ld-shared/shared.exp: Likewise. + +2000-10-09 Hans-Peter Nilsson + + * ld-selective/selective.exp: Rearrange to be table-driven. + +2000-10-07 Alan Modra + + * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too. + +2000-10-02 Alan Modra + + * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more. + * ld-scripts/crossref.exp: Ditto. + +2000-09-29 Hans-Peter Nilsson + + * ld-selective/5.cc: New test. + * ld-selective/selective.exp: Run it as xfailed. + + * ld-selective/4.cc: Correct spelling of "lose". + +2000-09-05 Alan Modra + + * ld-selective/selective.exp: Remove the xfails for hppa. + +2000-08-30 Alexandre Oliva + + * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf, + sh-*-*): With dwarf-2, `undefined function' can't pass. + +2000-08-03 H.J. Lu (hjl@gnu.org) + + * ld-bootstrap/bootstrap.exp: Add strip. + +2000-07-24 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of + the undefined reference. + +2000-07-16 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check + and set to "yes" if the protected visibility is expected to + pass. + (visibility_run): Set expected to fail for the "protected" + and "protected_undef_def" tests only if $support_protected is + "no". + + * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected + visibility support if defined. + +2000-07-15 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure + for "protected_undef_def". + + * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when + PROTECTED_WEAK_TEST is defined. + Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is + defined. + Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined. + + * ld-elfvsb/sh1.c (visibility): Mark protected only if + PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST + is defined. + (visibility_var): Likewise. + +2000-07-10 Alan Modra + + * ld-srec/srec.exp: xfail hppa. + + * ld-scripts/weak.exp: Define $global$ for hppa. + + * ld-scripts/crossref.exp: Fix string quoting. + +2000-06-05 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Redirect the linker output + to link_output and make it global. + + * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef", + "hidden_undef_def", "hidden_weak", "protected_undef", + "protected_undef_def" and "protected_weak". + (visibility_run): Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + + * ld-elfvsb/elfvsb.dat: Updated. + +2000-05-21 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/main.c (main_visibility_check): Fix the protected + visibility test. + +2000-05-13 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Redirect the linker output + to link_output and make it global. + + * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture + tests. + * ld-elfvsb/elfvsb.dat: Likewise. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + +Fri Apr 21 15:16:07 2000 Richard Henderson + + * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too. + +2000-04-12 Alan Modra + + * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure. + + * ld-selective/selective.exp (test4): Test for presence of + foo__1B, not absence. Also check for foo__1A and _start. + White space changes throughout file. + +2000-03-13 Nick Clifton + + * ld-scripts/phdrs.t: Discard all unexpected sections. + +2000-02-27 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. + +1999-11-01 Nick Clifton + + * ld-selective/selective.exp: Fix test to disable these checks for + PE based targets. + +1999-10-29 Catherine Moore + + * ld-selective/selective.exp: Remove test6. + * ld-selective/5.cc: Delete. + +1999-10-28 Scott Bambrough + + * ld-srec/srec.exp: Setup expected failures for + srec tests on ARM Linux. + +1999-09-17 Alan Modra + + * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load + offset) test. + +1999-09-12 Ian Lance Taylor + + * ld-scripts/script.exp: Add --image-base 0 for PE targets. + +1999-08-17 H.J. Lu + + * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. + +1999-08-09 Jakub Jelinek + + * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*. + * ld-shared/shared.exp: Likewise. + +1999-07-28 Nick Clifton + + * lib/ld-lib.exp (proc big_or_little_endian): New proc. + Determine if a big endian or little endian output format hass + been selected by any of the multilib options, and if so return + a suitable command line option for the linker/assembler. + (proc default_ld_link): Include the result of proc + big_or_little_endian on the command line to the linker. + (proc ld_simple_link): Include the result of proc + big_or_little_endian on the command line to the linker. + (proc default_ld_compile): Append multilib flags to compiler + switches. + (proc default_ld_assemble): Include the result of proc + big_or_little_endian on the command line to the linker. + +1999-07-21 H.J. Lu + + * ld-elfvers/vers1.c: Add missing prototypes and include + if necessary. + * ld-elfvers/vers15.c: Likewise. + * ld-elfvers/vers19.c: Likewise. + * ld-elfvers/vers2.c: Likewise. + * ld-elfvers/vers3.c: Likewise. + * ld-elfvers/vers4.c: Likewise. + * ld-elfvers/vers6.c: Likewise. + * ld-elfvers/vers7.c: Likewise. + * ld-elfvers/vers9.c: Likewise. + * ld-shared/main.c: Likewise. + * ld-srec/sr3.cc (Foo::Foo): Remove arg name. + +Thu Jul 15 18:00:30 1999 Mark P. Mitchell + + * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as + with other DWARF2 targets. + +1999-07-13 Nick Clifton + + * ld-undefined/undefined.exp: Do not expect arm toolchains to fail + the undefined line test. + +1999-07-10 Ian Lance Taylor + + * ld-elfvers/vers.exp: Use -rpath in new vers19 test. + +1999-07-07 Ian Lance Taylor + + * ld-elfvers/vers.exp: Add new tests vers17 to vers19. + * ld-elfvers/{vers17.*, vers18.*, vers19.*}: New files. + +1999-06-13 Ian Lance Taylor + + * ld-checks/asm.s: Use a symbol name for .lcomm. + * ld-checks/checks.exp: Use different names for the two tests. + Don't add extra text when invoking fail. + +1999-06-12 Ian Lance Taylor + + * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*" + to "*-*-linux*aout*". + * ld-scripts/weak.exp: Likewise. + * ld-shared/shared.exp: Likewise. Simplify condition a bit. + +Wed Jun 9 12:02:33 1999 Andreas Schwab + + * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. + * ld-shared/sh1.c: Fix typo. + +1999-06-04 H.J. Lu + + * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if + necessary. + +1999-05-17 Nick Clifton + + * ld-undefined/undefined.exp: Add xfail for mcore-elf. + +1999-05-11 DJ Delorie + + * ld-srec/srec.exp: Do not run tests for PE based ports. + +1999-03-05 Nick Clifton + + * ld-selective/selective.exp: Do not run tests for COFF or PE + based ports. + +1999-02-17 Nick Clifton + + * ld-undefined/undefined.exp: Add expected failures for StrongARM + targets. + + * ld-srec/srec.exp: Add expected failures for StrongARM targets. + + * ld-selective/selective.exp: Add expected failure for ARM-COFF + targets. + +1999-02-16 Nick Clifton + + * ld-checks/asm.s: Use .long instead of .word. + Replace custom section names with .text, .data and .bss. + * ld-checks/script: Replace custom section names with .text, .data + and .bss. + * ld-checks/checks.exp: Replace custom section names with .text, + .data and .bss. + +1999-02-11 Nick Clifton + + * ld-checks: New directory: Tests for the linker's + --check-sections option. + * ld-checks/checks.exp: New file. + * ld-checks/script: Bogus linker script. + * ld-checks/asm.s: Simple test assembler file. + +Tue Feb 2 19:15:02 1999 Catherine Moore + + * ld-selective/selective.exp: Disable test for unsupported + targets. Change tests to check for absence of symbols instead + of address zero. + +Mon Jan 18 03:44:52 1999 Ian Lance Taylor + + * config/default.exp (get_link_files): Quote target_triplet and CC + when invoking shell. + (get_target_emul): Likewise. + +1999-01-03 Ken Raeburn + + * config/default.exp (get_link_files, get_target_emul): New procs; + run shell commands to extract information from configure.host and + configure.tgt in the source tree. + (top level): Use them to get information needed to run tests, if + not otherwise provided. + + * ld-shared/elf-offset.ld: New file. Builds a shared library, but + gives non-zero addresses for memory region. + * ld-shared/shared.exp: Run the non-PIC non-AIX test again using + the new linker script. + +Tue Dec 8 22:56:05 1998 Geoff Keating + + * ld-srec/srec.exp: Delete xfails for PPC Linux targets, + newer glibc lets link succeed. + +Sun Dec 6 12:59:37 1998 H.J. Lu + + * ld-elfvers/vers1.c: Add missing return types and values. + * ld-elfvers/vers2.c: Likewise. + * ld-elfvers/vers3.c: Likewise. + * ld-elfvers/vers4.c: Likewise. + * ld-elfvers/vers5.c: Likewise. + * ld-elfvers/vers6.c: Likewise. + * ld-elfvers/vers7.c: Likewise. + * ld-elfvers/vers9.c: Likewise. + * ld-elfvers/vers15.c: Likewise. + +Fri Oct 23 16:28:29 1998 Catherine Moore + + * ld-selective: New directory with new files to test + selective linking. + + * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name. + +Sun Oct 4 22:17:05 1998 Ian Lance Taylor + + * ld-elfvers/vers16.dsym: Work correctly on a system without + versioned system libraries. + +Mon Sep 28 21:31:12 1998 Richard Henderson + + * ld-elfvers/vers.exp: Run tests on alpha-linux. + * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match + Alpha's use of st_other. + +1998-09-27 Andreas Schwab + + * ld-elfvers/vers.exp (vers16, vers16a): New tests. + * ld-elfvers/{vers16.*, vers16a.*}: New files. + +Thu Sep 17 17:18:19 1998 Nick Clifton + + * ld-undefined/undefined.exp: Make undefined line test be an xfail + for arm/thunb elf toolchains. + +Wed Sep 9 14:10:15 1998 Nick Clifton + + * ld-undefined/undefined.exp: change test for elf/dwarf2 targets. + + * ld-srec/srec.exp: Arm-elf now passes this test. + +Wed Aug 19 11:59:19 1998 Nick Clifton + + * ld-srec/srec.exp: Add arm/thumb-elf expected failures. + +Thu Aug 13 12:41:58 1998 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap + test if we don't have a static libbfd.a. + +Wed Aug 12 15:19:35 1998 Ian Lance Taylor + + Based on patch from H.J. Lu : + * ld-srec/srec.exp: Add xfails for Alpha ELF targets. + +Mon Aug 10 15:42:20 1998 Richard Henderson + + * ld-scripts/weak.t (.text, .data): Focus data to be used. + (/DISCARD/): All the rest. + * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data. + +Fri Jul 24 18:37:17 1998 Ian Lance Taylor + + * config/default.exp: Create tmpdir/gas subdirectory, add a + symlink to as-new, and set gcc_gas_flag variable. + * lib/ld-lib.exp (default_ld_compile): If the compiler appears to + be gcc, use gcc_gas_flag when compiling. + +Thu Jul 23 12:23:29 1998 Ian Lance Taylor + + * ld-elfvers/vers.exp: Just check for i?86 rather than checking + for i386, i486, and i586. + (objdump_versionstuff): If we can't find the line, dump the file. + +Fri Jul 3 00:27:41 1998 Ian Lance Taylor + + * ld-scripts/phdrs.exp: Run test on *-*-eabi*. + * ld-scripts/weak.exp: Likewise. + +Wed Jul 1 10:51:46 1998 Nick Clifton + + * ld-srec/srec.exp: Add xfail for v850. + + * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass + these tests. + +Fri Jun 19 17:12:52 1998 Ian Lance Taylor + + * ld-scripts/weak.exp: New test. + * ld-scripts/weak.t: New file. + * ld-scripts/weak1.s: New file. + * ld-scripts/weak2.s: New file. + +Tue Jun 16 12:40:38 1998 Geoff Keating + + * ld-elfvers/vers.exp: Run tests on powerpc ELF targets. + * ld-shared/shared.exp: Likewise. + * ld-elfvers/vers1.dsym: Allow for .sdata. + * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux. + +Fri May 29 15:02:50 1998 Ian Lance Taylor + + * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi. + (run_srec_test): On mn10200, define __truncsipsi2_do_d2. + * ld-srec/sr1.c (__main): Change return type to void. + * ld-srec/sr3.cc (__main): Likewise. + (__builtin_delete, __builtin_new): Likewise. + (__get_dynamic_handler_chain): Return 0. + (__get_eh_context): Likewise. + +Thu May 21 15:21:33 1998 Nick Clifton + + * ld-undefined/undefined.exp: Add support for thumb-pe target. + * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets. + +Mon May 4 17:54:20 1998 Andreas Schwab + + * ld-shared/shared.exp: Remove setup_xfails for m68k-linux. + +Mon May 4 17:12:06 1998 Ian Lance Taylor + + * ld-shared/main.c (shlib_overriddencall2): New function. + (main): Call shlib_shlibcall2. + * ld-shared/sh1.c (shlib_shlibcall2): New function. + (shlib_overriddencall2): New function. + * ld-shared/shared.dat: Add output line for new test. + * ld-shared/sun4.dat: Likewise. + + * ld-srec/sr3.cc (__get_eh_context): New function. + +Tue Apr 7 12:50:17 1998 Manfred Hollstein + + * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to + avoid compiler warning. + * ld-srec/sr3.cc (class Foo): Likewise. + +Tue Feb 10 16:42:40 1998 Ian Lance Taylor + + * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function. + +Mon Feb 2 14:17:48 1998 Ian Lance Taylor + + * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. + +Thu Dec 18 11:13:28 1997 Nick Clifton + + * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets. + +Tue Dec 2 09:50:19 1997 Nick Clifton + + * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which + fixes ARM tests. + +Mon Dec 1 16:12:05 1997 Nick Clifton + + * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM + coff targets. + +Wed Nov 12 14:18:31 1997 Ian Lance Taylor + + * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to + avoid compiler warning. + * ld-srec/sr3.cc (class Foo): Likewise. + +Mon Nov 10 14:25:43 1997 Ian Lance Taylor + + * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to + have any name when looking for entry symbol warnings. + + * ld-srec/sr3.cc (__eh_pc): Define. + +Mon Oct 20 14:36:39 1997 Ian Lance Taylor + + * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and + __throw, since the current g++ expects them to be defined. + +Fri Oct 3 12:24:03 1997 Ian Lance Taylor + + * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output + file if the string libc appears in it. + (objdump_versionstuff): Accept unexpected lines in the output + file. Compare lines using string match. + * ld-elfvers/vers6.ver: Permit any value in the vna_other field. + +Tue Aug 12 16:01:22 1997 Ian Lance Taylor + + * ld-scripts/crossref.exp: Correct string quoting. + +Sat Aug 9 00:56:03 1997 Ian Lance Taylor + + * config/default.exp: Change ld, as, nm and strip from .new to + -new. Load ld-lib.exp rather than ld.exp. + * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new. + * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of + DejaGnu changes. + +Thu Jun 26 12:07:03 1997 Ian Lance Taylor + + * ld-elfvers/vers.exp: Use egrep rather than grep when looking for + an alternation. From Greg Margo . + +Wed Jun 25 12:47:22 1997 Andreas Schwab + + * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests + with non PIC shared libraries. + +Fri Jun 6 17:35:47 1997 Ian Lance Taylor + + * ld-elfvers/vers6.ver: Update for recent elflink.h patch to + version handling. + +Wed Jun 4 12:06:48 1997 Ian Lance Taylor + + * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well. + +Fri May 30 12:21:39 1997 Ian Lance Taylor + + * ld-srec/srec.exp: Define __get_dynamic_handler_chain when + linking. + +Mon May 12 11:17:55 1997 Ian Lance Taylor + + * config/default.exp: Use $base_dir rather than $objdir when + setting ld. From John David Anglin . + +Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com) + + * ld-srec/srec.exp: Define various out of line prologue/epilogue + functions for the mn10200 to avoid needing libgcc.a. + +Wed Mar 26 13:56:10 1997 Ian Lance Taylor + + * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*. + +Mon Mar 17 19:27:13 1997 Ian Lance Taylor + + * ld-elfvers/vers.exp: Don't run on SunOS or AIX. + +Wed Mar 12 21:44:19 1997 Eric Youngdale + + * ld-elfvers/vers.exp, *: New tests for symbol versioning. + * config/default.exp: Set ar and strip. + +Fri Feb 7 16:47:02 1997 Bob Manson + + * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of + prune_system_crud. + * ld-cdtest/cdtest.exp: Ditto. + * ld-scripts/crossref.exp: Ditto. + * ld-sh/sh.exp: Ditto. + * ld-shared/shared.exp: Ditto. + * ld-srec/srec.exp: Ditto. + * lib/ld.exp: Ditto. + +Wed Jan 29 00:47:29 1997 Bob Manson + + * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir. + * ld-scripts/script.exp: Ditto. + * ld-sh/sh.exp: Ditto. + * ld-undefined/undefined.exp: Ditto. + * ld-versados/versados.exp: Ditto. + * lib/ld.exp: Ditto. + +Mon Dec 30 17:08:04 1996 Ian Lance Taylor + + * ld-scripts/crossref.exp: Fix quoting for --defsym $global$. + +Tue Oct 1 15:52:31 1996 Ian Lance Taylor + + * lib/ld.exp (default_ld_version): Fix for current version + printing. + +Fri Sep 13 15:51:45 1996 Ian Lance Taylor + + * ld-scripts/crossref.exp: Define $global$ for hppa-elf. + +Thu Aug 8 14:29:32 1996 Ian Lance Taylor + + * ld-scripts/cross2.t: Map XCOFF sections to .text or .data. + + * lib/ld.exp: Use verbose -log instead of calling both verbose and + send_log. + +Wed Aug 7 18:00:58 1996 Ian Lance Taylor + + * ld-scripts/phdrs.exp: New test. + * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files. + +Sun Aug 4 21:58:12 1996 Ian Lance Taylor + + * ld-scripts/crossref.exp: On a29k targets, use --defsym to define + V_SPILL and V_FILL. + +Thu Aug 1 14:10:27 1996 Ian Lance Taylor + + * ld-scripts/crossref.exp: New test. + * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files. + * ld-scripts/{cross1.t, cross2.t}: New files. + +Sat Jun 29 13:40:11 1996 Ian Lance Taylor + + * ld-sh/sh.exp: Fix debugging messages. + * ld-sh/sh1.s: Use .align 4. + +Wed May 1 16:45:13 1996 Ian Lance Taylor + + * ld-sh/sh.exp: Use -O when compiling with -mrelax. + +Mon Apr 29 10:33:10 1996 Andreas Schwab + + * ld-shared/shared.exp: Run the shared library tests on + Linux/m68k. + +Fri Apr 5 16:20:55 1996 Ian Lance Taylor + + * ld-shared/shared.exp: Run the shared library tests on Linux. + +Mon Feb 26 12:45:26 1996 Ian Lance Taylor + + * ld-shared/shared.exp: Don't use -fpic on MIPS targets. + +Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com) + + * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*. + * ld-undefined/undefined.exp: Likewise. + +Fri Jan 26 18:43:03 1996 Ian Lance Taylor + + * ld-undefined/undefined.exp: ELF targets should now pass the + undefined line test. + +Thu Jan 25 15:36:13 1996 Ian Lance Taylor + + * ld-empic/empic.exp: Update for change to MIPS disassembler. + +Mon Jan 15 15:05:53 1996 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5* + when doing the --static test. + * ld-shared/shared.exp: Run tests on mips*-*-irix5*. + +Fri Dec 29 12:33:09 1995 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option + when creating ld-partial.o. + +Tue Dec 26 17:37:23 1995 Ian Lance Taylor + + * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define + __eabi. + +Tue Dec 19 18:01:01 1995 Ian Lance Taylor + + * ld-srec/srec.exp: Add setup_xfails for XCOFF targets. + +Fri Dec 15 16:36:17 1995 Ian Lance Taylor + + * ld-srec/srec.exp: On a29k targets, use --defsym to define + V_SPILL and V_FILL. + * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions. + * ld-srec/sr3.cc: Likewise. + + * ld-srec/srec.exp: Remove i960 COFF setup_xfail. + +Sat Dec 2 01:20:31 1995 Ian Lance Taylor + + * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. + +Fri Dec 1 13:18:18 1995 Ian Lance Taylor + + * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. + +Wed Nov 29 13:01:10 1995 Ian Lance Taylor + + * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets. + +Mon Nov 27 14:36:11 1995 Ian Lance Taylor + + * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*. + + * ld-srec/sr1.c (V_SPILL, V_FILL): Define. + * ld-srec/sr3.cc: Likewise. + +Tue Nov 21 16:05:53 1995 Ian Lance Taylor + + * ld-empic/empic.exp: Update for changes in objdump output. + +Wed Nov 15 17:42:48 1995 Ian Lance Taylor + + * ld-srec/srec.exp: New tests. + * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files. + * lib/ld.exp (ld_simple_link): Discard warnings about not being + able to find the entry symbol. + +Tue Nov 14 20:03:54 1995 Ian Lance Taylor + + * ld-sh/sh2.c (__main): Define. + +Mon Nov 6 14:39:18 1995 Ian Lance Taylor + + * ld-empic/empic.exp: Accept a . in the address symbol. + + * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and + powerpc*-*-aix*. Add code to create appropriate exports files, + and pass appropriate compilation flags, and test against + appropriate expected output. + * ld-shared/xcoff.dat: New file. + * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can + not be linked using XCOFF. Use shlib_shlibvar1 as a sample + function pointer, rather than shlib_mainvar. + * ld-shared/sh1.c: Likewise. + * ld-shared/shared.dat: Update for change from using shlib_mainvar + to using shlib_shlibvar1. + * ld-shared/sun4.dat: Likewise. + +Sat Oct 28 01:54:25 1995 Ian Lance Taylor + + * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for + convenience when testing XCOFF. + +Thu Oct 26 22:53:17 1995 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp + along with --static. + + * ld-scripts/script.s: Make symbols global. + +Fri Oct 20 12:22:16 1995 Ian Lance Taylor + + * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*. + +Fri Sep 29 11:06:10 1995 Ian Lance Taylor + + * ld-undefined/undefined.exp: Use -e when invoking the linker, to + prevent the SunOS linker from trying to create a shared library. + +Thu Sep 28 12:37:14 1995 Ian Lance Taylor + + * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add + appropriate modifications and setup_xfails. + * ld-shared/sun4.dat: New file. + +Mon Sep 18 14:12:56 1995 Ian Lance Taylor + + * lib/ld.exp (default_ld_version): Call prune_system_crud. + (default_ld_relocate, default_ld_link): Likewise. + (default_ld_simple_link, default_ld_compile): Likewise. + (default_ld_assemble, default_ld_nm): Likewise. + +Fri Sep 8 17:15:38 1995 Ian Lance Taylor + + * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the + tests as untested rather than unresolved. + +Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com) + + * ld-sh/sh.exp: Call prune_system_crud on the output of cmp. + +Tue Aug 15 17:35:35 1995 Ian Lance Taylor + + * ld-scripts/script.exp: Split script verification into a proc. + Add simple test of MRI script. + * ld-scripts/scriptm.t: New file. + +Wed Jul 26 11:38:58 1995 Ian Lance Taylor + + * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when + appropriate. + +Mon Jul 24 15:34:31 1995 Ian Lance Taylor + + * config/default.exp: Define objcopy if it is not defined. + * ld-sh/*: New tests for SH relaxing. + + * ld-empic/empic.exp: If $CC does not exist, call untested rather + than unresolved. + +Thu Jul 20 15:09:26 1995 Ian Lance Taylor + + * ld-undefined/undefined.exp: If $CC does not exist, mark the + tests as untested rather than unresolved. Clear ELF xfails for + mips*, not just mips. + +Tue Jul 18 12:00:41 1995 Ian Lance Taylor + + * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for + undefined line test. + +Fri Jul 14 13:07:48 1995 Ian Lance Taylor + + * ld-undefined/undefined.exp: New test, to check reporting of + undefined symbols. + * ld-undefined/undefined.c: New file. + +Mon Jul 10 11:13:39 1995 Ian Lance Taylor + + * ld-versados/versados.exp: If a test fails, report it correctly: + don't try to run the next test, and don't report a pass as well as + a fail. + +Mon Jul 3 14:26:37 1995 Steve Chamberlain + + * versados/(t1,t2).ld: End in newlines. + +Mon May 22 20:19:38 1995 Ken Raeburn + + * lib/ld.exp (default_ld_compile): If cc argument is multiple + words, use only the first when trying to verify the availability + of the compiler. + +Mon Feb 6 11:46:49 1995 Ian Lance Taylor + + * ld-scripts/defined.t: Mention .data and .bss explicitly. + +Tue Jan 24 14:51:48 1995 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: If not in the ld build directory, + call untested for each test, rather than ignoring it. If one test + fails, go on to the next one instead of returning. + * ld-cdtest/cdtest.exp: If compilations fail, mark tests as + unresolved. + * ld-empic/empic.exp: Likewise. Also, always pass the same test + name to pass or fail. + * ld-shared/shared.exp: Likewise. Also, always run all tests. + * ld-scripts/defined.exp: If as or nm fail, mark test as + unresolved. Always pass the same test name to pass or fail. + * ld-scripts/script.exp: Likewise. + * ld-scripts/sizeof.exp: Likewise. + +Wed Jan 11 11:48:31 1995 Ian Lance Taylor + + * ld-scripts/sizeof.exp: New test, based on bug report from + anders.blomdell@control.lth.se. + * ld-scripts/sizeof.s: New file. + * ld-scripts/sizeof.t: New file. + +Wed Jan 4 18:56:27 1995 Ian Lance Taylor + + * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see + if the linker exists. + +Wed Dec 14 16:39:03 1994 Ken Raeburn + + * lib/ld.exp (prune_system_crud): Define if not already defined, + in case the user isn't using the newest DejaGnu version that we + haven't released to the net yet. + +Fri Dec 2 14:17:02 1994 Ian Lance Taylor + + * config/default.exp: Define objdump if it is not defined. + * ld-empic/*: New tests to test -membedded-pic code. + +Mon Nov 28 11:24:36 1994 Ian Lance Taylor + + * ld-bootstrap/bootstrap.exp: Pass cmp output through + prune_system_crud. + * ld-cdtest/cdtest.exp: Pass diff output through + prune_system_crud. + * ld-shared/shared.exp: Likewise. + + * config/default.exp: Remove unused and useless proc ld_load. + +Sun Oct 30 13:02:34 1994 Ian Lance Taylor + + * lib/ld.exp (default_ld_compile): Remove the output file before + compiling. + + * ld-shared/shared.exp: Move common test code into a procedure. + Add tests for compiling the non shared code PIC. + * ld-shared/main.c (main): Call main_called, and print the result. + * ld-shared/shared.dat: Adjust accordingly. + +Thu Oct 27 17:30:12 1994 Ian Lance Taylor + + * ld-shared: New directory, with new files to test generating ELF + shared libraries. + + * lib/ld.exp (default_ld_compile): If the compilation worked, but + no object file was created, check to see if the compiler foolishly + ignored the -o switch when compiling, and move the resulting + object if it did. + +Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * VMS does not permits `.' in directory names. Renamed + ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and + ld.scripts to ld-scripts. + +Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/default.exp: Set variables as and nm. Create tmpdir if + it does not already exist. + * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. + * ld.cdtest/cdtest.exp: Likewise. + * ld.scripts/defined.exp: Likewise. Also, don't set as and nm + here. Change perror for no variables found to fail. + * ld.scripts/script.exp: New test. + * ld.scripts/script.t, ld.scripts/script.s: New files. + +Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ld.scripts: New directory. + * ld.scripts/defined.exp, ld.scripts/defined.s: New files. + * ld.scripts/defined.t: New file. + * lib/ld.exp (default_ld_simple_link): New function. + (default_ld_assemble, default_ld_nm): New functions. + * config/default.exp: Rename from unix-ld.exp. + (ld_simple_link, ld_assemble, ld_nm): New functions. + + * config/unix-ld.exp: Set ld using findfile. + * lib/ld.exp (default_ld_relocate): Return a value. Change format + of log messages. + (default_ld_compile): Likewise. + (default_ld_link): Likewise. Also, don't include $BFDLIB and + $LIBIBERTY in link. + * ld.bootstrap/bootstrap.exp: Rewrite. + * ld.cdtest/cdtest.exp: Rewrite. + * ld.cdtest/cdtest-foo.cc: Update from top level ld directory. + * ld.cdtest/cdtest-foo.h: Likewise. + * ld.cdtest/cdtest-main.cc: Likewise. + +Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com) + + * ld.cdtest/cdtest.exp: Don't look for $result before it's + defined. + +Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com) + + * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc + calls with perror calls. + +Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com) + + * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. + * ld.cdtest/cdtest.exp: Adjusted. + +Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/ld.exp (simple_diff): Indicate failure if files have + different numbers of lines. Don't muck with $differences to avoid + indicating a pass, just return. + + * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}: + Fix test case to be valid ANSI C++. Don't require use of header + files, so "../gcc/xgcc -B../gcc/" can be used for CXX. + * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some + commentary on things that are still broken with this test case. + +Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage. + +Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * lib/ld.exp: add compiler and linker support + * config/unix-ld.exp: add compiler and linker support + * ld.bootstrap/bootstrap.exp: fixed to do partial links + * ld.cdtest/cdtest.exp: constructor/destructor testscase + +Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * lib/ld.exp: new file + * config/unix-ld.exp: new file + * ld.bootstrap/bootstrap.exp: new file + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 40eed6e100b..eacd2653890 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4322 +1,5 @@ -2003-12-15 Christian Groessler - * z8k-dis.c (intr_names): Removed. - (print_intr, print_flags): New functions. - (unparse_instr): Use new functions. - -2003-12-15 Kazuhiro Inaoka - - * m32r-opc.c: Regenerate. - -2003-12-14 Mark Mitchell - - * arm-opc.h (arm_opcodes): Put V6 instructions before XScale - instructions. - -2003-12-13 Hans-Peter Nilsson - - * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE, - SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE - and SWYM_INSN_BYTE instead of raw numbers. - -2003-12-10 Zack Weinberg - - * ppc-opc.c (MO): Make optional. - (RAO, RSO, SHO): New optional forms of RA, RS, SH operands. - (tlbwe): Accept for both PPC403 and BOOKE. Make all operands optional. - -2003-12-05 Ricardo Anguiano - Mark Mitchell - Richard Earnshaw - - * arm-dis.c (print_arm_insn): Add 'W' macro. - * arm-opc.h (arm_opcodes): Add V6 instructions. - (thumb_opcodes): Likewise. - -2003-12-04 Alan Modra - - * openrisc-asm.c: Regenerate. - * pj-opc.c: Update copyright date. - -2003-12-03 Kazuhiro Inaoka - - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-dis.c: Regenerate. - * m32r-ibld.c: Regenerate. - * m32r-opc.c: Regenerate. - * m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - -2003-12-02 Alexandre Oliva - - * sh-opc.h: Add support for sh4a and no-fpu variants. - * sh-dis.c: Ditto. - -2003-12-02 Kazu Hirata - - * alpha-opc.c: Remove ARGSUSED. - * i370-opc.c: Likewise. - * ppc-opc.c: Likewise. - -2003-12-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-11-28 Christian Groessler - - * z8k-dis.c: Convert to ISO C90. - * z8kgen.c: Convert to ISO C90. - (opt): Move long opcode for "ldb rdb,imm8" after short one, now - the short one is created when assembling. - * z8k-opc.h: Regenerate with new z8kgen.c. - -2003-11-19 Kazu Hirata - - * h8300-dis.c (print_colon_thingie): Remove. - -2003-11-18 Maciej W. Rozycki - - * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and - "dlca". - -2003-11-14 Nick Clifton - - * dis-init.c (init_disassemble_info): Initialise - symbol_is_valid field. - * dis-buf.c (generic_symbol_is_valid): New function. Always - returns TRUE. - * arm-dis.c (arm_symbol_is_valid): New function. Return FALSE - for ARM ELF mapping symbols. - * disassemble.c (disassemble_init_for_target): Set - symbol_is_valid field to arm_symbol_is_valid of the target is - an ARM. - -2003-11-05 H.J. Lu - - * m68k-opc.c (m68k_opcodes): Reorder "fmovel". - -2003-11-03 Daniel Jacobowitz - - * arm-dis.c (print_arm_insn): Print "-" after "#". - -2003-10-30 Falk Hueffner - - * alpha-opc.c: Add support for a second argument to RPCC. - -2003-10-27 Stephane Carrez - - * m68hc11-dis.c: Convert to ISO C90 prototypes. - -2003-10-21 Peter Barada - Bernardo Innocenti - - * m68k-dis.c: Add MCFv4/MCF5528x support. - * m68k-opc.c: Likewise. - -2003-10-10 Dave Brolley - - * frv-asm.c,frv-desc.c,frv-opc.c: Regenerated. - -2003-10-08 Dave Brolley - - * frv-desc.[ch], frv-opc.[ch]: Regenerated. - -2003-09-30 Bob Wilson - - * xtensa-dis.c (fetch_data): Remove numBytes parameter. - (print_insn_xtensa): Fix call to fetch_data. - -2003-09-30 Chris Demetriou - - * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" - (print_insn_args): Add handing for +E, +F, +G, and +H. - * mips-opc.c (I65): New define for MIPS64r2. - (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", - "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", - and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to - be supported on MIPS64r2. - -2003-09-24 Dave Brolley - - * frv-desc.c, frv-opc.c, frv-opc.h: Regenerated. - -2003-09-14 Andreas Jaeger - - * i386-dis.c: Convert to ISO C90 prototypes. - * i370-dis.c: Likewise. - * i370-opc.c: Likewiwse. - * i960-dis.c: Likewise. - * ia64-opc.c: Likewise. - -2003-09-09 Dave Brolley - - * frv-desc.c: Regenerated. - -2003-09-08 Dave Brolley - - On behalf of Doug Evans - * Makefile.am (run-cgen): Pass new args archfile and opcfile - to cgen.sh. - (stamp-ip2k,stamp-m32r,stamp-fr30,stamp-frv,stamp-openrisc, - stamp-iq2000,stamp-xstormy16): Pass paths of .cpu and .opc files - to cgen.sh. - (stamp-frv): Delete hardcoded path spec workaround. - * Makefile.in: Regenerate. - * cgen.sh: New args archfile and opcfile. Pass on to cgen. - -2003-09-04 Nick Clifton - - * v850-dis.c (disassemble): Accept bfd_mach_v850e1. - * v850-opc.c (v850_opcodes): Add DBTRAP and DBRET instructions. - -2003-09-04 Alan Modra - - * ppc-dis.c (struct dis_private): New. - (powerpc_dialect): Make static. Accept -Many in addition to existing - options. Save dialect in dis_private. - (print_insn_big_powerpc): Retrieve dialect from dis_private. - (print_insn_little_powerpc): Likewise. - (print_insn_powerpc): Call powpc_dialect here. Remove unnecessary - efs/altivec check. Try harder to disassemble if given -Many. - * ppc-opc.c (insert_fxm): Expand comment. - (PPC, PPCCOM, PPC32, PPC64, PPCVEC): Remove PPC_OPCODE_ANY. - (POWER, POWER2, PPCPWR2, POWER32, COM, COM32, M601, PWRCOM): Likewise. - (POWER4): Remove PPCCOM. - (PPCONLY): Don't define. Update all occurrences to PPC. - -2003-09-03 Andrew Cagney - - * dis-init.c (init_disassemble_info): New file and function. - * Makefile.am (CFILES): Add "dis-init.c". - (libopcodes_la_SOURCES): Add "dis-init.c". - (dis-init.lo): Specify dependencies. - * Makefile.in: Regenerate. - -2003-09-03 Dave Brolley - - * frv-*: Regenerated. - -2003-09-02 Alan Modra - - * ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries. - Move duplicate mnemonic entries together. Use RS instead of RT on - all mt*. - * ppc-dis.c: Convert to ISO C. - -2003-08-29 Dave Brolley - - * Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from - $(srcdir)/../cpu temporarily when regenerating source files. - * Makefile.in: Regenerated. - -2003-08-19 Nick Clifton - - * arm-dis.c (print_insn_arm: case 'A'): Add code to - disassemble unindexed form of Addressing Mode 5. - -2003-08-19 Alan Modra - - * ppc-opc.c (PPC440): Define. - (powerpc_opcodes): Allow mac*, mul*, nmac*, dccci, dcread, iccci, - icread instructions when PPC440. Add dlmzb instruction. - -2003-08-14 Alan Modra - - * dep-in.sed: Remove libintl.h. - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - Run "make dep-am". - * Makefile.in: Regenerate. - -2003-08-07 Michael Meissner - - * cgen-asm.c (hash_insn_array): Remove PARAMS macro. - (hash_insn_list): Ditto. - (build_asm_hash_table): Ditto. - (cgen_set_parse_operand_fn): Prototype definition. - (cgen_init_parse_operand): Ditto. - (hash_insn_array): Ditto. - (hash_insn_list): Ditto. - (build_asm_hash_table): Ditto. - (cgen_asm_lookup_insn): Ditto. - (cgen_parse_keyword): Ditto. - (cgen_parse_signed_integer): Ditto. - (cgen_parse_unsigned_integer): Ditto. - (cgen_parse_address): Ditto. - (cgen_validate_signed_integer): Ditto. - (cgen_validate_unsigned_integer): Ditto. - - * cgen-opc.c (hash_keyword_name): Remove PARAMS macro. - (hash_keyword_value): Ditto. - (build_keyword_hash_tables): Ditto. - (cgen_keyword_lookup_name): Prototype definition. - (cgen_keyword_lookup_value): Ditto. - (cgen_keyword_add): Ditto. - (cgen_keyword_search_init): Ditto. - (cgen_keyword_search_next): Ditto. - (hash_keyword_name): Ditto. - (hash_keyword_value): Ditto. - (build_keyword_hash_tables): Ditto. - (cgen_hw_lookup_by_name): Ditto. - (cgen_hw_lookup_by_num): Ditto. - (cgen_operand_lookup_by_name): Ditto. - (cgen_operand_lookup_by_num): Ditto. - (cgen_insn_count): Ditto. - (cgen_macro_insn_count): Ditto. - (cgen_get_insn_value): Ditto. - (cgen_put_insn_value): Ditto. - (cgen_lookup_insn): Ditto. - (cgen_get_insn_operands): Ditto. - (cgen_lookup_get_insn_operands): Ditto. - (cgen_set_signed_overflow_ok): Ditto. - (cgen_clear_signed_overflow_ok): Ditto. - (cgen_signed_overflow_ok_p): Ditto. - - * cgen-dis.c (hash_insn_array): Remove PARAMS macro. - (hash_insn_list): Ditto. - (build_dis_hash_table): Ditto. - (count_decodable_bits): Ditto. - (add_insn_to_hash_chain): Ditto. - (count_decodable_bits): Prototype definition. - (add_insn_to_hash_chain): Ditto. - (hash_insn_array): Ditto. - (hash_insn_list): Ditto. - (build_dis_hash_table): Ditto. - (cgen_dis_lookup_insn): Ditto. - - * cgen-asm.in (parse_insn_normal): Remove PARAMS macro. - (@arch@_cgen_build_insn_regex): Prototype definition. - (parse_insn_normal): Ditto. - (@arch@_cgen_assemble_insn): Ditto. - (@arch@_cgen_asm_hash_keywords): Ditto. - - * cgen-dis.in (print_normal): Remove PARAMS macro. Use void * - instead of PTR. - (print_address): Ditto. - (print_keyword): Ditto. - (print_insn_normal): Ditto. - (print_insn): Ditto. - (default_print_insn): Ditto. - (read_insn): Ditto. - (print_normal): Prototype definition. Use void * instead of PTR. - (print_address): Ditto. - (print_keyword): Ditto. - (print_insn_normal): Ditto. - (read_insn): Ditto. - (print_insn): Ditto. - (default_print_insn): Ditto. - (print_insn_@arch@): Ditto. - - * cgen-ibld.in (insert_normal): Remove PARAMS macro. - (insn_insn_normal): Ditto. - (extract_normal): Ditto. - (extract_insn_normal): Ditto. - (put_insn_int_value): Ditto. - (insert_1): Ditto. - (fill_cache): Ditto. - (extract_1): Ditto. - (insert_1): Prototype definition. - (insert_normal): Ditto. - (insert_insn_normal): Ditto. - (put_insn_int_value): Ditto. - (fill_cache): Ditto. - (extract_1): Ditto. - (extract_normal): Ditto. - (extract_insn_normal): Ditto. - - * fr30-asm.c: Regenerate. - * fr30-dis.c: Ditto. - * fr30-ibld.c: Ditto. - * frv-asm.c: Ditto. - * frv-dis.c: Ditto. - * frv-ibld.c: Ditto. - * ip2k-asm.c: Ditto. - * ip2k-dis.c: Ditto. - * ip2k-ibld.c: Ditto. - * iq2000-asm.c: Ditto. - * iq2000-dis.c: Ditto. - * iq2000-ibld.c: Ditto. - * m32r-asm.c: Ditto. - * m32r-dis.c: Ditto. - * m32r-ibld.c: Ditto. - * openrisc-asm.c: Ditto. - * openrisc-dis.c: Ditto. - * openrisc-ibld.c: Ditto. - * xstormy16-asm.c: Ditto. - * xstormy16-dis.c: Ditto. - * xstormy16-ibld.c: Ditto. - -2003-08-06 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-08-05 Nick Clifton - - * configure.in (ALL_LINGUAS): Add nl. - * configure: Regenerate. - * po/nl.po: New Dutch translation. - -2003-07-30 Jason Eckhardt - - * i860-dis.c: Convert to ISO C90. Remove superflous prototypes. - -2003-07-30 Nick Clifton - - * po/ro.po: Updated Romanian translation. - -2003-07-29 Jakub Jelinek - - * ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up. - -2003-07-24 Nick Clifton - - * po/fr.po: Updated French translation. - -2003-07-18 Nick Clifton - - * arm-dis.c (parse_arm_disassembler_option): Do not expect - option string to be NUL terminated. - (parse_disassembler_options): Allow options to be space or - comma separated. - -2003-07-17 Nick Clifton - - * po/es.po: New Spanish translation. - * po/sv.po: New Swedish translation. - * po/opcodes.pot: Regenerate. - -2003-07-15 Richard Sandiford - - * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. - -2003-07-14 Nick Clifton - - * po/tr.po: Update with latest version. - * po/POTFILES.in: Regenerate. - * Makefile.in: Regenerate. - -2003-07-11 Alan Modra - - * po/opcodes.pot: Regenerate. - -2003-07-09 Alexandre Oliva - - 2000-05-25 Alexandre Oliva - * m10300-dis.c (disassemble): Negate negative accumulator's shift. - 2000-05-24 Alexandre Oliva - * m10300-dis.c (disassemble, case FSREG, FDREG): Don't assume - 32-bit longs when sign-extending operands. - 2000-04-20 Alexandre Oliva - * m10300-opc.c: Remove MN10300_OPERAND_RELAX from all FSREGs. - * m10300-dis.c (HAVE_AM33_2): Define. - (disassemble): Use it. - (HAVE_AM33): Redefine. - (print_insn_mn10300): Fix mask for 5-byte extended insns. - 2000-04-01 Alexandre Oliva - * m10300-opc.c: Renamed AM332 to AM33_2. - 2000-03-31 Alexandre Oliva - * m10300-opc.c: Defined AM33 2.0 register operands. Added support - for AM33 2.0 `imm8,(abs16)' addressing mode for btst, bset and - bclr. Implemented `fbCC', `flCC', `dcpf' and all FP insns. - * m10300-dis.c (print_insn_mn10300): Recognize 5byte extended - insn code of AM33 2.0. - (disassemble): Recognize FMT_D3. Print out FP register names. - -2003-07-09 Chris Demetriou - - * mips-dis.c (set_default_mips_dis_options): Get BFD from - the disassembler_info's section, rather than from the - disassembler_info's symbols pointer. - -2003-07-07 Alan Modra - - * ppc-opc.c: Remove NULL pointer checks. Formatting. Remove - extraneous ATTRIBUTE_UNUSED. - * ppc-dis.c (print_insn_powerpc): Always pass a valid address to - operand->extract. - -2003-07-04 Alan Modra - - * ppc-opc.c: Convert to C90, removing unnecessary prototypes and - casts. Formatting. - - * ppc-opc.c: Remove PARAMS from prototypes. - (FXM4): Define. - (insert_fxm): New function, used by both FXM and FXM4. - (extract_fxm): Likewise. - (XFXFXM_MASK): Remove 1 << 20 term. - (powerpc_opcodes): Add Power4 version of "mfcr". Simplify "mtcr" mask. - -2003-07-01 Martin Schwidefsky - - * s390-dis.c (s390_extract_operand): Add support for long displacements. - * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990. - * s390-opc.c (D20_20): Add define for 20 bit displacements. - (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD, - INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add - new instruction formats. - (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD, - MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise. - (s390_opformats): Likewise. - * s390-opc.txt: Add new instructions for cpu type z990. Add missing - hfp instructions. Add missing instructions pgin, pgout and xsch. - -2003-06-23 H.J. Lu - - * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in - Intel Precott New Instructions. - (PREGRP27): New. Added for "addsubpd" and "addsubps". - (PREGRP28): New. Added for "haddpd" and "haddps". - (PREGRP29): New. Added for "hsubpd" and "hsubps". - (PREGRP30): New. Added for "movsldup" and "movddup". - (PREGRP31): New. Added for "movshdup" and "movhpd". - (PREGRP32): New. Added for "lddqu". - (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry. - Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for - entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for - entry 0xd0. Use PREGRP32 for entry 0xf0. - (twobyte_has_modrm): Updated. - (twobyte_uses_SSE_prefix): Likewise. - (grps): Use PNI_Fixup in the "sidtQ" entry. - (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30, - PREGRP31 and PREGRP32. - (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb. - Use "fisttpll" in entry 1 in opcode 0xdd. - Use "fisttp" in entry 1 in opcode 0xdf. - -2003-06-19 Christian Groessler - - * z8k-dis.c (instr_data_s): Change tabl_index from long to int. - (print_insn_z8k): Correctly check return value from - z8k_lookup_instr call. - (unparse_instr): Handle CLASS_IRO case. - * z8kgen.c: Fix function definitions. Fix formatting. - (opt): Add brk opcode alias for non-simulator breakpoint. Add - missing and fix existing in/out and sin/sout opcode definitions. - (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out - opcodes. - (internal): Check p->flags for non-zero before dereferencing it. - (gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added - opcodes and renumber the remaining lines repectively. - (main): Remove "-d" command line switch. - * z8k-opc.h: Regenerate with new z8kgen.c. - -2003-06-11 H.J. Lu - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-11 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2003-06-10 Doug Evans - - * cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to - CGEN_INSN_RELAXED. - * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate. - * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate. - * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate. - * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate. - * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate. - * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate. - * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate. - -2003-06-10 Gary Hade - Alan Modra - - * ppc-opc.c (DQ, RAQ, RSQ, RTQ): Define. - (insert_dq, extract_dq, insert_raq, insert_rtq, insert_rsq): New. - (powerpc_opcodes): Add "attn", "lq" and "stq". - -2003-06-10 Richard Sandiford - - * h8300-dis.c (bfd_h8_disassemble): Don't print brackets round - rts/l and rte/l register lists. - -2003-06-03 Nick Clifton - - * frv-desc.c: Regenerate. - * frv-opc.c: Regenerate. - * frv-asm.c: Regenerate. - * frv-desc.h: Regenerate. - * frv-dis.c: Regenerate. - * frv-ibld.c: Regenerate. - * frv-opc.h: Regenerate. - * po/opcodes.pot: Regenerate. - -2003-06-03 Michael Snyder - and Bernd Schmidt - and Alexandre Oliva - - * disassemble.c (disassembler): Add support for h8300sx. - * h8300-dis.c: Ditto. - -2003-06-03 Nick Clifton - - * frv-desc.c: Regenerate. - * frv-opc.c: Regenerate. - - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * iq2000-asm.c: Regenerate. - * iq2000-desc.c: Regenerate. - * iq2000-desc.h: Regenerate. - * iq2000-dis.c: Regenerate. - * iq2000-ibld.c: Regenerate. - * iq2000-opc.c: Regenerate. - * iq2000-opc.h: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2003-05-23 Jason Eckhardt - - * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3. - (print_insn_i860): Grab 4 bits of the control register field - instead of 3. - -2003-05-18 Jason Eckhardt - - * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit, - print it. - -2003-05-17 Andreas Jaeger - - * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la. - (libopcodes_la_DEPENDENCIES): Add libbfd.la. - * Makefile.in: Regenerated. - -2003-05-16 Nick Clifton - - * configure.in (ALL_LINGUAS): Add Romanian translation. - * configure: Regenerate. - * po/ro.po: New file: Romanian translation. - -2003-05-12 Dhananjay Deshpande - - * disassemble.c (disassembler): Add support for h8300hn and h8300sn. - -2003-05-09 Alan Modra - - * i386-dis.c (print_insn): Test intel_syntax against (char) -1 in - case char is unsigned. - -2003-05-01 Christian Groessler - - * z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls. - (unpack_instr): Fix representation of segmented addresses. - (intr_name): Added, contains names of the parameters to the EI/DI - instructions. - (unparse_instr): Fix display of EI/DI parameters. - -2003-04-22 Doug Evans - - * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate. - * frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate. - * ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate. - * m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - * openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate. - * xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate. - -2003-04-15 Rohit Kumar Srivastava - - * h8500-opc.c: Replace occurrances of 'Hitachi' with 'Renesas'. - -2003-04-07 James E Wilson - - * ia64-ic.tbl (fr-readers): Add mem-writers-fp. - * ia64-asmtab.c: Regenerate. - -2003-04-08 Alexandre Oliva - - * mips-dis.c (mips_gpr_names_newabi): Reverted previous patch. - -2003-04-07 Alexandre Oliva - - * mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7. - -2003-04-04 Svein E. Seldal - - * tic4x-dis.c: Namespace cleanup. Replace s/c4x/tic4x and - s/c3x/tic3x/ - -2003-04-01 Nick Clifton - - * arm-dis.c: Remove presence of (r) and (tm) symbols. - * arm-opc.h: Remove presence of (r) and (tm) symbols. - -2003-03-25 Stan Cox - Nick Clifton - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * arm-dis.c (regnames): Add iWMMXt register names. - (set_iwmmxt_regnames): New function. - (print_insn_arm): Handle iWMMXt formatters. - * arm-opc.h: Document iWMMXt formatters. - (arm_opcod): Add iWMMXt instructions. - -2003-03-22 Doug Evans - - * i386-dis.c (dis386): Recognize icebp (0xf1). - -2003-03-21 Martin Schwidefsky - - * s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to - S390_OPCODE_ZARCH. - (print_insn_s390): Use new modes field of s390_opcodes. - * s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove. - (s390_opcode_mode_val, s390_opcode_cpu_val): New enums. - (struct op_struct): Remove archbits. Add mode_bits and min_cpu. - (insertOpcode): Replace archbits by min_cpu and mode_bits. - (dumpTable): Write mode_bits and min_cpu instead of archbits. - (main): Adapt to new format in s390-opcode.txt. - * s390-opc.c (s390_opformats): Replace archbits by min_cpu and - mode_bits. - * s390-opc.txt: Replace archbits by min_cpu and mode_bits. - -2003-03-17 Nick Clifton - - * ppc-opc.c: Fix formatting. Update copyright date. - -2003-03-14 Daniel Jacobowitz - - * ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403. - -2003-02-25 Alan Modra - - * hppa-dis.c: Formatting. - -2003-02-25 Matthew Wilcox - - * hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers. - - * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print - the space register when the value is zero. - -2003-02-23 Elias Athanasopoulos - - * mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned, - use ARRAY_SIZE in loops. - -2003-02-12 Dave Brolley - - * fr30-desc.c: Regenerate. - -2003-02-06 Gwenole Beauchesne - - * i386-dis.c (dq_mode, Edq): Define. - (dis386_twobyte): Correct movd operands. - (OP_E): Handle dq_mode case. - -2003-01-29 Henric Jungheim - - * sparc-dis.c (print_insn_sparc): When examining values added in - to rs1, make sure that there are previous instructions. - -2003-01-23 Nick Clifton - - * Add sh2e support: - - 2002-04-02 Alexandre Oliva - - * sh-dis.c (print_insn_shx): Handle bfd_mach_sh2e. - * sh-opc.h (arch_sh2e, arch_sh2e_up): New. - (arch_sh2_up): Added sh2e. - (sh_table): Replaced all occurrences of arch_sh3e_up with - arch_sh2e_up, except in fsqrt. - -2003-01-23 Alan Modra - - * sh64-dis.c: Include elf32-sh64.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-01-17 Richard Henderson - - * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap - PAL entry points. - -2003-01-16 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2003-01-08 Klee Dienes - - * Makefile.am (ALL_MACHINES): Add msp430-dis.lo. - * Makefile.in: Regenerate. - -2003-01-08 Alan Modra - - * ppc-opc.c (powerpc_macros ): Accept a shift of 32. - -2002-01-02 Ben Elliston - Jeff Johnston - - * iq2000-asm.c: New file. - * iq2000-desc.c: Likewise. - * iq2000-desc.h: Likewise. - * iq2000-dis.c: Likewise. - * iq2000-ibld.c: Likewise. - * iq2000-opc.c: Likewise. - * iq2000-opc.h: Likewise. - * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h. - (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c, - iq2000-ibld.c, iq2000-opc.c. - (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo, - iq2000-ibld.lo, iq2000-opc.lo. - (CLEANFILES): Add stamp-iq2000. - (IQ2000_DEPS): New macro. - (stamp-iq2000): New target. - * Makefile.in: Regenerate. - * configure.in: Handle bfd_iq2000_arch. - * configure: Regenerate. - -2003-01-02 Chris Demetriou - - * mips-dis.c (print_insn_args): Use position extracted by "+A" - to calculate size for "+B". Redo code for "+C" so it shares - the same style as "+A" and "+B" now do. - -2003-01-02 Chris Demetriou - - * mips-dis.c: Update copyright years. - (print_insn_arg): Rename to... - (print_insn_args): This, returning void. Process the whole - string of args rather than a single one. Reindent. - (print_insn_mips): Update to match the above. - -2002-12-31 Chris Demetriou - - * mips-opc.c (mips_builtin_opcodes): Move "di" into the - right order alphabetically, and make all hex constants use - lower-case letters. - -2002-12-31 Chris Demetriou - - * mips-dis.c (mips_cp0sel_name): New structure. - (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2) - (mips_cp0sel_names_sb1): New arrays. - (mips_arch_choice): New structure members "cp0sel_names" and - "cp0sel_names_len". - (mips_arch_choices): Add references to new cp0sel_names arrays - as appropriate, and make all existing entries reference - appropriate mips_XXX_names_numeric arrays rather than simply - using NULL. - (mips_cp0sel_names, mips_cp0sel_names_len): New variables. - (lookup_mips_cp0sel_name): New function. - (set_default_mips_dis_options): Set mips_cp0sel_names and - mips_cp0sel_names_len as appropriate. Remove now-unnecessary - checks for NULL register name arrays. - (parse_mips_dis_option): Likewise. - (print_insn_arg): Handle "+D" operand type. - * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants - of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register - names symbolically. - -2002-12-30 Chris Demetriou - - * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) - (mips_hwr_names_mips3264r2): New arrays. - (mips_arch_choice): New "hwr_names" member. - (mips_arch_choices): Adjust for structure change, and add a new - entry for "mips32r2" ISA. - (mips_hwr_names): New variable. - (set_default_mips_dis_options): Set mips_hwr_names. - (parse_mips_dis_option): New "hwr-names" option which sets - mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. - (print_insn_arg): Change return type to "int" - and use that to indicate number of characters consumed. - Add support for "+" operand extension character, "+A", "+B", - "+C", and "K" operands. - (print_insn_mips): Adjust for changes to print_insn_arg. - (print_mips_disassembler_options): Adjust for "hwr-names" - addition and "reg-names" change. - * mips-opc (I33): New define (shorthand for INSN_ISA32R2). - (mips_builtin_opcodes): Note that "nop" and "ssnop" are special - forms of "sll". Add new MIPS32 Release 2 instructions: ehb, - di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, - rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. - Note that hardware rotate instructions (ror, rorv) can be - used on MIPS32 Release 2, and add the official mnemonics - for them (rotr, rotrv) and the similar "rotl" mnemonic for - left-rotate. - -2002-12-30 Dmitry Diky - - * configure.in: Add msp430 target. - * configure: Regenerate. - * disassemble.c: Add entry for msp430 disassembly. - * msp430-dis.c: New file: msp430 disassembler. - -2002-12-27 Chris Demetriou - - * disassemble.c (disassembler_usage): Add invocation of - print_mips_disassembler_options. - * mips-dis.c: Include libiberty.h. - (print_mips_disassembler_options, set_default_mips_dis_options) - (parse_mips_dis_option, parse_mips_dis_options, choose_abi_by_name) - (choose_arch_by_name, choose_arch_by_number): New functions. - (mips_abi_choice, mips_arch_choice): New structures. - (mips32_reg_names, mips64_reg_names, reg_names): Remove. - (mips_gpr_names_numeric, mips_gpr_names_oldabi) - (mips_gpr_names_newabi, mips_fpr_names_numeric) - (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64) - (mips_cp0_names_numeric, mips_cp0_names_mips3264) - (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices) - (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names) - (mips_cp0_names): New variables. - (print_insn_args): Use new variables to print GPR, FPR, and CP0 - register names. - (mips_isa_type): Remove. - (print_insn_mips): Remove ISA and CPU setup since it is now done... - (_print_insn_mips): Here. Remove register setup code, and - call set_default_mips_dis_options and parse_mips_dis_options - instead. - (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names. - -2002-12-23 Alan Modra - - * Makefile.in: Regenerate. - -2002-12-19 Nick Kelsey - - * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character - check to fix false keyword trigger with names such as _foo. - -2002-12-19 Doug Evans - - * Makefile.am (CGEN_CPUS): New variable. - (run-cgen-all): New rule. - * Makefile.in: Regenerate. - -2002-12-18 Chris Demetriou - - * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two - "dror" entries, and reorder the remaining "dror" and "ror" entries. - -2002-12-16 DJ Delorie - - * xstormy16-asm.c (parse_immediate16): Add prototype. - -2002-12-16 Andrew MacLeod - - * xstormy16-asm.c: Regenerate. - -2002-12-16 Alan Modra - - * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register - keyword. - -2002-12-13 Alan Modra - - * h8500-opc.h (h8500_table): Add missing initializers to quiet - warnings. - * pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change. - * pj-opc.c (pj_opc_info): Add braces around union initializer. - * z8kgen.c: Include "libiberty.h". - (opt, args, toks): Fix initializer warnings. - (chewname): Make "name" a char **. Return mnemonic trimmed of - operands. - (gas): Improve emitted "DO NOT EDIT" warning. Format emitted - opcode_entry_type, and make "nicename" and "name" const. Make - z8k_table const too. Formatting. Generate idx as gas needs it. - * z8k-opc.h: Regenerate. - -2002-12-08 Stephane Carrez - - * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address - for 9 and 16-bit PC-relative addressing mode. - -2002-12-05 Aldy Hernandez - - * ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub, - evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq, - evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi, - evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa, - evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, - evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, - evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, - evmwhgsmian, evmwhgumian. - (mftb): Add to opcode table. - (mtspefscr): Change RT to RS in opcode table. - -2002-12-05 Aldy Hernandez - - * ppc-opc.c: Move mbar and msync up. Change mask for mbar and - msync. - -2002-12-04 David Mosberger - - * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction. - * ia64-opc-b.c: Add "hint.b" instruction. - * ia64-opc-f.c: Add "hint.f" instruction. - * ia64-opc-i.c: Add "hint.i" instruction. - * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and - "cmp8xchg16" instructions. - * ia64-opc-x.c: Add "hint.x" instruction. - - * ia64-opc.h (AR_CSD): New macro. - - * ia64-ic.tbl: Update according to SDM2.1. - * ia64-raw.tbl: Ditto. - * ia64-waw.tbl: Ditto. - - * ia64-gen.c (in_iclass): Handle "hint" like "nop". - (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD], - AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR]. - * ia64-asmtab.c: Regenerate. - -2002-11-25 Aldy Hernandez - - * ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa, - evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw. - -2002-12-04 Aldy Hernandez - - * ppc-opc.c (PMRN): Remove. - (RA): Set to NB + 1. - (powerpc_opcodes): Change PMRN to SPR. - Change all RD to RS. - Change mftb to look like mftbl. - Move mftb before mftbl. - Add mfbbtar. - Add mtbbtar. - Change mfpmr to use PMR. - Change mtpmr to use PMR. - (RD): Remove. - (insert_ev2): Fix mask and shift. - (extract_ev2): Same. - (insert_ev4): Same. - (extract_ev4): Same. - (PMR): Define. - (extract_pmrn): Remove. - (insert_pmrn): Remove. - -2002-12-03 Richard Henderson - - * ia64-opc-m.c: Add ld8.mov. - * ia64-asmtab.c: Regenerate. - -2002-12-02 Alan Modra - - * arm-dis.c (print_insn_arm): Constify "insn". Formatting. - (print_insn_thumb): Likewise. - * h8500-dis.c (print_insn_h8500): Constify "opcode". - * mcore-dis.c (print_insn_mcore): Constify "op". Formatting. - * ns32k-dis.c (print_insn_arg ): Use a union to avoid - type-punned pointer warnings. - : Likewise. Fix error message too. - * pdp11-dis.c (print_reg): Warning fix. - * sh-dis.c (print_movxy): Constify "op" param. - (print_insn_ddt): Constify sh_opcode_info vars. - (print_insn_ppi): Likewise. - (print_insn_sh): Likewise. - * tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid - type-punned pointer warnings. - * w65-dis.c (print_insn_w65): Constify "op". - -2002-12-01 Stephane Carrez - - * m68hc11-dis.c (PC_REGNUM): Define. - (print_indexed_operand): Need an adjustment for some PC-relative - operand modes; print the final address of PC-relative modes. - (print_insn): Take into account movw/movb to adjust the PC-relative - operand addresses. - -2002-11-30 Alan Modra - - *arm-dis.c, cris-dis.c, h8300-dis.c, mips-dis.c, mmix-dis.c, sh-dis.c, - sh64-dis.c, v850-dis.c: Replace boolean with bfd_boolean, true with - TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars - with TRUE/FALSE. Formatting. - -2002-11-25 DJ Delorie - - * xstormy16-opc.c: Regenerate. - -2002-11-25 Jim Wilson - - * ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64. - -2002-11-15 DJ Delorie - - * xstormy16-desc.c: Regenerate. - * xstormy16-opc.c: Regenerate. - * xstormy16-opc.h: Regenerate. - -2002-11-18 Klee Dienes - - * avr-dis.c: Include libiberty.h (for xmalloc). - (struct avr_opcodes_s): Remove 'bin_mask' field (it's - automatically computed in the init routine). - (AVR_INSN): No longer provide bin_mask field in initializer. - (avr_opcodes_s): Declare as const. - (print_insn_avr): Store the bin_mask field in a separate table - (allocated with xmalloc); iterate through it at the same time as - we iterate through the opcodes. - -2002-11-18 Klee Dienes - - * h8300-dis.c: Include libiberty.h (for xmalloc). - (struct h8_instruction): New type, used to wrap h8_opcodes with a - length field (computed at run-time). - (h8_instructions): New variable. - (bfd_h8_disassemble_init): Allocate the storage for - h8_instructions. Fill h8_instructions with pointers to the - appropriate opcode and the correct value for the length field. - (bfd_h8_disassemble): Iterate through h8_instructions instead of - h8_opcodes. - -2002-11-18 Klee Dienes - - * arc-opc.c (arc_ext_opcodes): Define. - (arc_ext_operands): Define. - * i386-dis.c (Suffix3DNow): Declare as const. - * arm-opc.h (arm_opcodes): Declare as const. - (thumb_opcodes): Declare as const. - * h8500-opc.h (h8500_table): Declare as const. - (h8500_table): Use a NULL for the opcode in the terminator, so - that code testing (opcode->name) behaves correctly. - * mcore-opc.h (mcore_table): Declare as const. - * sh-opc.h (sh_table): Declare as const. - * w65-opc.h (optable): Declare as const. - * z8k-opc.h (z8k_table): Declare as const. - -2002-11-18 Svein E. Seldal - - * tic4x-dis.c: Added support for enhanced and special insn. - (c4x_print_op): Added insn class 'i' and 'j' - (c4x_hash_opcode_special): Add to support special insn - (c4x_hash_opcode): Update to support the new opcode-list - format. Add support for the new special insns. - (c4x_disassemble): New opcode-list support. - -2002-11-16 Klee Dienes - - * m88k-dis.c: Include libiberty.h (for xmalloc). - (HASHTAB): New type, used to build instruction hash tables. - Contains a pointer to an INSTAB and a pointer to the next hash - chain entry. - (instructions): Move definition from m88k.h; remove initialization - of 'next' field. - (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB. - (printop): Mark pointer to OPSPEC as const. - (install): Remove; fold into init_disasm. - (m88kdis): Update to ihashtab_initialized to 1 after calling - init_disasm. entry_ptr now iterates through HASHTABs, not - INSTABs. - (init_disasm): Iterate through the instructions and add to - hashtable[]. - -2002-11-16 Svein E. Seldal - - * tic4x-dis.c: (c4x_print_op): Add support for the new argument - format. Fix bug in 'N' register printer. - -2002-11-12 Segher Boessenkool - - * ppc-dis.c (print_insn_powerpc): Correct condition register display. - -2002-11-07 Aldy Hernandez - - * ppc-opc.c (EVUIMM_4): Change bit size to 32. - (EVUIMM_2): Same. - (EVUIMM_8): Same. - -2002-11-07 Klee Dienes - - * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir' - argument to ia64-gen. - Regenerate dependencies for ia64-len.lo. - * Makefile.in: Regenerate. - * ia64-gen.c: Convert to use getopt(). Add the standard GNU - options, as well as '--srcdir', which controls the directory in - which ia64-gen looks for the sources it uses to generate the - output table. Add a 'const' to the declaration of the final - output table. Call xmalloc_set_program_name to set the program - name. - * ia64-asmtab.c: Regenerate. - -2002-11-07 Nick Clifton - - * ia64-gen.c: Fix comment formatting and compile time warnings. - * ia64-opc-a.c: Fix compile time warnings. - * ia64-opc-b.c: Likewise. - * ia64-opc-d.c: Likewise. - * ia64-opc-f.c: Likewise. - * ia64-opc-i.c: Likewise. - * ia64-opc-m.c: Likewise. - * ia64-opc-x.c: Likewise. - -2002-11-06 Aldy Hernandez - - * ppc-opc.c: Change RD to RS for evmerge*. - -2002-10-07 Nathan Tallent - - * sparc-opc.c (sparc_opcodes) : Add conditional/unconditional branch - classification. - -2002-10-13 Stephane Carrez - - * m68hc11-dis.c (print_insn): Treat bitmask and branch operands - at the end. - -2002-09-30 Gavin Romig-Koch - Ken Raeburn - Aldy Hernandez - Eric Christopher - Richard Sandiford - - * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'. - (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400 - and bfd_mach_mips5500. - * mips-opc.c (V1): Include INSN_4111 and INSN_4120. - (N411, N412, N5, N54, N55): New convenience defines. - (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes. - Change dmadd16 and madd16 from V1 to N411. - -2002-09-26 Thiemo Seufer - - * mips-dis.c (print_insn_mips): Always allow disassembly of - 32-bit jalx opcode. - -2002-09-24 Nick Clifton - - * po/de.po: Updated German translation. - -2002-09-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-09-20 Nick Clifton - - * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr - register names are accepted. - -2002-09-17 Svein E. Seldal - - * tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED. - Convert functions to K&R format. - -2002-09-13 Nick Clifton - - * ppc-opc.c (MFDEC2): Include Book-E. - (PPCCHLK64): New opcode mask. - (evsubw, evsubiw, evmr, evnot, isellt, iselgt, iseleq, mfpid, - mfcsrr0, mfcsrr1, mfdear, mfesr, mfivpr, mfusprg0, mftbl, - mftbu, mfpir, mfdbsr, mfdbcr0, mfdbcr1, mfdbcr2, mfiac1, - mfiac2, mfiac3, mfiac4, mfdac1, mfdac2, mfdvc1, mfdvc2, mftsr, - mftcr, mfivor0, mfivor1, mfivor2, mfivor3, mfivor4, mfivor5, - mfivor6, mfivor7, mfivor8, mfivor9, mfivor10, mfivor11, - mfivor12, mfivor13, mfivor14, mfivor15, mfbbear, mfmcsrr0, - mfmcsrr1, mfmcsr, mtpid, mtdecar, mtcsrr0, mtcsrr1, mtdear, - mtesr, mtivpr, mtusprg0, mtsprg4, mtsprg5, mtsprg6, mtsprg7, - mtdbsr, mtdbcr0, mtdbcr1, mtdbcr2, mtiac1, mtiac2, mtiac3, - mtiac4, mtdac1, mtdac2, mtdvc1, mtdvc2, mttsr, mttcr, mtivor0, - mtivor1, mtivor2, mtivor3, mtivor4, mtivor5, mtivor6, mtivor7, - mtivor8, mtivor9, mtivor10, mtivor11, mtivor12, mtivor13, - mtivor14, mtivor15, mtbbear, mtmcsrr0, mtmcsrr1, mtmcsr): New - Book-E instructions. - (evfsneg): Fix opcode value. - (dcbtstlse, dcbtlse, icblce, dcblce, icbtsle): Use PPCCHLK64 - mask. - (mcrxr64, tlbivaxe, tlbsxe, tlbsxe.): Restrict to 64-bit - Book-E. - (extsw): Restrict to 64-bit PPC instruction sets. - (extsw.): Does not exist in 64-bit Book-E. - (powerpc_macro): Remove mftbl, mftbu and mftb Book-E macros as - they are no longer needed. - -2002-09-12 Gary Hade - - * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC. - -2002-09-11 Nick Clifton - - * po/da.po: Updated Danish translation file. - -2002-09-04 Nick Clifton - - * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32. - -2002-09-04 Nick Clifton - - * disassemble.c (disassembler_usage): Add invocation of - print_ppc_disassembler_options. - * ppc-dis.c (print_ppc_disassembler_options): New function. - -2002-09-04 Nick Clifton - - * ppc-opc.c: The BookE implementations of the TLBWE and TLBRE - instructions do not take any arguments. - -2002-09-02 Nick Clifton - - * v850-opc.c: Remove redundant references to V850EA architecture. - -2002-09-02 Alan Modra - - * arc-opc.c: Include bfd.h. - (arc_get_opcode_mach): Subtract off base bfd_mach value. - -2002-08-30 Alan Modra - - * v850-dis.c (disassemble): Remove bfd_mach_v850ea case. - - * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants. - -2002-08-28 Svein E. Seldal - - * configure.in: Added bfd_tic4x_arch. - * configure: Regenerate. - * Makefile.am: Added tic4x-dis.o target. - * Makefile.in: Regenerate. - -2002-08-28 Michael Hayes - - * disassemble.c: Added tic4x target and c4x - disassembler routine. - * tic4x-dis.c: New file. - -2002-08-16 Christian Groessler - - * z8k-dis.c (unparse_instr): case CLASS_BA: Designate hex - values as those. - * z8kgen.c (opt): Fix definition of "in rd,imm16" opcode. - * z8k-opc.h: Regenerated with new z8kgen.c. - -2002-08-19 Elena Zannoni - - From matthew green - - * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and - `-mefs'. Turn off AltiVec for E500 and efs. - (print_insn_powerpc): Don't print an AltiVec instruction if the - dialect is not efs. - - * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2, - insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions - for extracting pmrn/evld/evstd/etc operands. - (CRB, CRFD, CRFS, DC, RD): New instruction fields. - (CT): Make this equal to RD + 1. - (PMRN): New operand. - (RA): Update. - (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands. - (WS): Update. - (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL. - (ISEL, ISEL_MASK): New instruction form and mask for ISEL. - (XISEL, XISEL_MASK): New instruction form and mask for ISEL. - (CTX, CTX_MASK): New instruction form and mask for context cache - instructions. - (UCTX, UCTX_MASK): New instruction form and mask for user context - cache instructions. - (XC, XC_MASK, XUC, XUC_MASK): New instruction forms. - (CLASSIC): New define. - (PPCESPE): New define. - (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New - defines for integer select, cache control, branch - locking, power management, cache locking and machine check - APU instructions, respectively. - (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul, - efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt, - efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf, - efsctui, efsctsi, efsctsiz, efsctuf, efsctsf, - evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb, - evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor, - evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi, - evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi, - evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts, - evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh, - evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx, - evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat, - evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx, - evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe, - evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox, - evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv, - evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq, - evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui, - evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg, - evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq, - evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf, - evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf, - evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi, - evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi, - evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw, - evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw, - evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw, - evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw, - evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw, - evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa, - evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian, - evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf, - evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa, - evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan, - evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa, - evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian, - evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi, - evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi, - evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw, - evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw, - evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa, - evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia, - evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan, - evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw, - evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw, - evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex - instructions. - (rfmci): New machine check APU instruction. - (isel): New integer select APU instructino. - (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls, - dcbtstlse, dcblc, dcblce): New cache control APU instructions. - (mtspefscr, mfspefscr): New instructions. - (mfpmr, mtpmr): New performance monitor APU instructions. - (savecontext): New context cache APU instructions. - (bblels, bbelr): New branch locking APU instructions. - (bblels, bbelr): New instructions. - (mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias. - -2002-08-13 Stephane Carrez - - * m68hc11-opc.c: Update call operand to accept the page definition. - Identify instructions that are branches and calls to generate a - RL_JUMP relocation. - -2002-08-13 Stephane Carrez - - * m68hc11-dis.c (print_insn): Take into account 68HC12 memory - banks and fix disassembling of call instruction. - (print_indexed_operand): New param to tell whether - it was an indirect addressing operand (for disassembling call). - -2002-08-09 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2002-08-08 Maciej W. Rozycki - - * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as - aliases to "daddiu" and "addiu". - -2002-07-30 Nick Clifton - - * po/sv.po: Updated Swedish translation. - -2002-07-25 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - * po/pr_BR.po: Updated Brazilian Portuguese translation. - * po/tr.po: Updated Turkish translation. - * po/fr.po: Updated French translation. - -2002-07-24 Nick Clifton - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - * po/pr_BR.po: Updated Brazilian Portuguese translation. - -2002-07-23 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-07-23 Nick Clifton - - * po/fr.po: Updated French translation. - * po/pr_BR.po: New Brazilian Portuguese translation. - * po/id.po: Updated Indonesian translation. - * configure.in (LINGUAS): Add pr_BR. - * configure: Regenerate. - -2002-07-18 Denis Chertykov - Frank Ch. Eigler - Alan Lehotsky - matthew green - - * configure.in: Add support for ip2k. - * configure: Regenerate. - * Makefile.am: Add support for ip2k. - * Makefile.in: Regenerate. - * disassemble.c: Add support for ip2k. - * ip2k-asm.c: New generated file. - * ip2k-desc.c: New generated file. - * ip2k-desc.h: New generated file. - * ip2k-dis.c: New generated file. - * ip2k-ibld.c: New generated file. - * ip2k-opc.c: New generated file. - * ip2k-opc.h: New generated file. - -2002-07-17 David Mosberger - - * ia64-opc-b.c (bWhc): New macro. - (mWhc): Ditto. - (OpPaWhcD): Ditto. - (ia64_opcodes_b): Correct patterns for indirect call - instructions to use 3-bit "wh" field. - * ia64-asmtab.c: Regnerate. - -2002-07-09 Thiemo Seufer - - * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. - * mips-opc.c (I16): New define. - (mips_builtin_opcodes): Make jalx an I16 insn. - -2002-06-18 Dave Brolley - - * po/POTFILES.in: Add frv-*.[ch]. - * disassemble.c (ARCH_frv): New macro. - (disassembler): Handle bfd_arch_frv. - * configure.in: Support frv_bfd_arch. - * Makefile.am (HFILES): Add frv-*.h. - (CFILES): Add frv-*.c - (ALL_MACHINES): Add frv-*.lo. - (CLEANFILES): Add stamp-frv. - (FRV_DEPS): New variable. - (stamp-frv): New target. - (frv-asm.lo): New target. - (frv-desc.lo): New target. - (frv-dis.lo): New target. - (frv-ibld.lo): New target. - (frv-opc.lo): New target. - (frv-*.[ch]): New files. - -2002-06-18 Ben Elliston - - * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen. - * Makefile.in: Regenerate. - -2002-06-08 Alan Modra - - * a29k-dis.c: Replace CONST with const. - * h8300-dis.c: Likewise. - * m68k-dis.c: Likewise. - * or32-dis.c: Likewise. - * sparc-dis.c: Likewise. - -2002-06-04 Jason Thorpe - - * configure.in: Add "sh5*-*" to list of targets which include - sh64 support. - * configure: Regenerate. - -2002-05-31 Chris G. Demetriou - - * mips-opc.c: Clean up a few whitespace issues, and sort a - few entries understanding that 'x' follows 'w' in the alphabet. - -2002-05-31 Chris G. Demetriou - Ed Satterthwaite - - * mips-opc.c: Add support for SB-1 MDMX subset and extensions. - -2002-05-31 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-05-30 Chris G. Demetriou - Ed Satterthwaite - - * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y', - and 'Z' formats, for MDMX. - (mips_isa_type): Add MDMX instructions to the ISA - bit mask for bfd_mach_mipsisa64. - * mips-opc.c: Add support for MDMX instructions. - (MX): New definition. - - * mips-dis.c: Update copyright years to include 2002. - -2002-05-30 Diego Novillo - - * d10v-opc.c (d10v_opcodes): `btsti' does not modify its - arguments. - -2002-05-28 Kuang Hwa Lin - - * configure.in: Add DLX configuraton support. - * configure: Regenerate. - * Makefile.am: Add DLX configuraton support. - * Makefile.in: Regenerate. - * disassemble.c: Add DLX support. - * dlx-dis.c: New file. - -2002-05-25 Alan Modra - - * Makefile.am (sh-dis.lo): Don't put make commands in deps. - * Makefile.in: Regenerate. - * arc-dis.c: Use #include "" instead of <> for local header files. - * m68k-dis.c: Likewise. - -2002-05-22 J"orn Rennecke - - * Makefile.am (sh-dis.lo): Compile with @archdefs@. - * Makefile.in: regenerate. - - * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4 - for disassembly. - -2002-05-22 Thiemo Seufer - - * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros. - -2002-05-17 J"orn Rennecke - - * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh. - * sh-dis.c (LITTLE_BIT): Delete. - (print_insn_sh, print_insn_shl): Deleted. - (print_insn_shx): Renamed to - (print_insn_sh). No longer static. Handle SHmedia instructions. - Use info->endian to determine endianness. - * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete. - (print_insn_sh64x): No longer static. Renamed to - (print_insn_sh64). Removed pfun_compact and endian arguments. - If we got an uneven address to indicate SHmedia, adjust it. - Return -2 for SHcompact instructions. - -2002-05-17 Alan Modra - - * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools. - * configure.in: Invoke AM_INSTALL_LIBBFD. - * Makefile.am (install-data-local): Move to.. - (install_libopcodes): .. New target. - (uninstall_libopcodes): Likewise. - (install-bfdlibLTLIBRARIES): Likewise. - (uninstall-bfdlibLTLIBRARIES): Likewise. - (bfdlibdir): New. - (bfdincludedir): New. - (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2002-05-15 Nick Clifton - - * fr30-asm.c: Regenerate. - * fr30-desc.c: Regenerate. - * fr30-dis.c: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-dis.c: Regenerate. - * openrisc-asm.c: Regenerate. - * openrisc-desc.c: Regenerate. - * openrisc-dis.c: Regenerate. - * xstormy16-asm.c: Regenerate. - * xstormy16-desc.c: Regenerate. - * xstormy16-dis.c: Regenerate. - -2002-05-15 Thiemo Seufer - - * mips-dis.c (is_newabi): EABI is not a NewABI. - -2002-05-13 Jason Thorpe - - * configure.in (shle-*-*elf*): Include sh64 support. - * configure: Regenerate. - -2002-04-28 Jason Thorpe - - * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode. - (print_insn_mode): Print some basic info about floating point values. - -2002-05-09 Anton Blanchard - - * ppc-opc.c: Add "tlbiel" for POWER4. - -2002-05-07 Graydon Hoare - - * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather - than just most-recently-opened. - -2002-05-01 Alan Modra - - * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke. - -2002-04-24 Christian Groessler - - * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2 - bytes_per_chunk, 6 bytes_per_line for nicer display of the hex - codes. - (z8k_lookup_instr): CLASS_IGNORE case added. - (output_instr): Don't print hex codes, they are already - printed. - (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case - fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases. - (unparse_instr): Fix base and indexed addressing disassembly: - The index is inside the brackets. - * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines. - (opt): Fix shift left/right arithmetic/logical byte defines: - The high byte of the immediate word is ignored by the - processor. - Fix n parameter of ldm opcodes: The opcode contains (n-1). - (args): Fix "n" entry. - (toks): Add "nim4" and "iiii" entries. - * z8k-opc.h: Regenerated with new z8kgen.c. - -2002-04-24 Nick Clifton - - * po/id.po: New Indonesian translation. - * configure.in (ALL_LIGUAS): Add id.po - * configure: Regenerate. - -2002-04-17 matthew green - - * ppc-opc.c (powerpc_opcode): Fix dssall operand list. - -2002-04-04 Alan Modra - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - * ppc-opc.c: Whitespace. - * s390-dis.c: Fix copyright date. - -2002-03-23 matthew green - - * ppc-opc.c (vmaddfp): Fix operand order. - -2002-03-21 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-21 Anton Blanchard - - * ppc-opc.c: Add optional field to mtmsrd. - (MTMSRD_L, XRLARB_MASK): Define. - -2002-03-18 Jan Hubicka - - * i386-dis.c (prefix_name): Fix handling of 32bit address prefix - in 64bit mode. - (print_insn) Likewise. - (putop): Fix handling of 'E' - (OP_E, OP_OFF): handle 32bit addressing mode in 64bit. - (ptr_reg): Likewise. - -2002-03-18 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-16 Chris Demetriou - - * mips-opc.c (M3D): Tweak comment. - (mips_builtin_op): Add comment indicating that opcodes of the - same name must be placed together in the table, and sort - the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt", - "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name. - -2002-03-16 Nick Clifton - - * Makefile.am: Tidy up sh64 rules. - * Makefile.in: Regenerate. - -2002-03-15 Chris G. Demetriou - - * mips-dis.c: Update copyright years. - -2002-03-15 Chris G. Demetriou - - * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA - bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add - comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that - indicate that they should dissassemble all applicable - MIPS-specified ASEs. - * mips-opc.c: Add support for MIPS-3D instructions. - (M3D): New definition. - - * mips-opc.c: Update copyright years. - -2002-03-15 Chris G. Demetriou - - * mips-opc.c (mips_builtin_opcodes): Sort bc opcodes by name. - -2002-03-15 Chris Demetriou - - * mips-dis.c (is_newabi): Fix ABI decoding. - -2002-03-14 Chris G. Demetriou - - * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32 - and bfd_mach_mipsisa64 cases to match the rest. - -2002-03-13 Nick Clifton - - * po/fr.po: Updated version. - -2002-03-13 Alan Modra - - * ppc-opc.c: Add optional `L' field to tlbie. - (XRTLRA_MASK): Define. - -2002-03-06 Chris Demetriou - - * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being - present on I4. - - * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps". - -2002-03-05 Paul Koning - - * pdp11-opc.c: Fix "mark" operand type. Fix operand types - for float opcodes that take float operands. Add alternate - names (xxxD vs. xxxF) for float opcodes. - * pdp11-dis.c (print_operand): Clean up formatting for mode 67. - (print_foperand): New function to handle float opcode operands. - (print_insn_pdp11): Use print_foperand to disassemble float ops. - -2002-02-27 Nick Clifton - - * po/de.po: Updated. - -2002-02-26 Brian Gaeke - - * Makefile.am (install-data-local): Install dis-asm.h. - -2002-02-26 Nick Clifton - - * configure.in (LINGUAS): Add de.po. - * configure: Regenerate. - * po/de.po: New file. - -2002-02-25 Alan Modra - - * ppc-dis.c (powerpc_dialect): Handle power4 option. - * ppc-opc.c (insert_bdm): Correct description of "at" branch - hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour. - (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise. - (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc. - (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise. - (PPCCOM32, PPCCOM64): Delete. - (NOPOWER4, POWER4): Define. - (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4, - and PPCCOM4 with POWER4 so that "at" style branch hint opcodes - are enabled for power4 rather than ppc64. - -2002-02-20 Tom Rix - - * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe. - -2002-02-19 Martin Schwidefsky - - * s390-dis.c (init_disasm): Use renamed architecture defines. - -2002-02-19 matthew green - - * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola - specific. - -2002-02-18 Nick Clifton - - * po/tr.po: Updated translation. - -2002-02-15 Richard Henderson - - * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo - disassembly mask. - -2002-02-15 Richard Henderson - - * alpha-opc.c (alpha_opcodes): Add simple pseudos for - lda, ldah, jmp, ret. - -2002-02-14 Nick Clifton - - * po/da.po: Updated translation. - -2002-02-12 Graydon Hoare - - * cgen-asm.in (parse_insn_normal): Change call from - @arch@_cgen_parse_operand to cd->parse_operand, to - facilitate CGEN_ASM_INIT_HOOK doing useful work. - -2002-02-11 Alexandre Oliva - - * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not - sign-extended. - -2002-02-11 Alan Modra - - * Makefile.am: "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-02-10 Hans-Peter Nilsson - - * configure.in : For sh-* and shl-*, enable sh64 - support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and - shl-*-linux*. - * configure: Regenerate. - -2002-02-10 Daniel Jacobowitz - - * cgen-dis.c: Add prototypes for count_decodable_bits - and add_insn_to_hash_chain. - -2002-02-08 Alexandre Oliva - - * configure.in : Enable sh64 support on sh-*. - * configure: Rebuilt. - -2002-02-08 Ivan Guzvinec - - * or32-opc.c: Fix compile time warning messages. - * or32-dis.c: Fix compile time warning messages. - -2002-02-08 Alexandre Oliva - - Contribute sh64-elf. - 2001-10-08 Nick Clifton - * sh64-opc.c: Regenerate. - 2001-03-13 DJ Delorie - * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its - purpose is more obvious. - * sh64-opc.c (shmedia_table): Ditto. - * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto. - (print_insn_shmedia): Ditto. - 2001-03-12 DJ Delorie - * sh64-opc.c: Adjust comments to reflect reality: replace bits - 3:0 with zeros (not "reserved"), replace "rrrrrr" with - "gggggg" for two-operand floating point opcodes. Remove - "fsina". - 2001-01-08 Hans-Peter Nilsson - * sh64-dis.c (print_insn_shmedia) : - Correct printing of .byte:s. Return number of printed bytes or - -1; never 0. - (print_insn_sh64x) : Ditto. Print as .byte:s - to next four-byte-alignment if insn or data is not aligned. - 2001-01-06 Hans-Peter Nilsson - * sh64-dis.c: Update comments and fix comment formatting. - (initialize_shmedia_opcode_mask_table) : - Abort instead of setting length to 0. - (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, - crange_bsearch_cmpl, sh64_get_contents_type, - sh64_address_in_cranges): Move to bfd/elf32-sh64.c. - 2001-01-05 Hans-Peter Nilsson - * sh64-opc.c: Remove #if 0:d entries for instructions not found in - SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo. - 2000-12-30 Hans-Peter Nilsson - * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed - address with same prefix as SHcompact. - In the disassembler, use a .cranges section for linked executables. - * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file - and update for using structure in info->private_data. - (struct sh64_disassemble_info): New. - (is_shmedia_p): Delete. - (crange_qsort_cmpb): New function. - (crange_qsort_cmpl, crange_bsearch_cmpb): New functions. - (crange_bsearch_cmpl, sh64_address_in_cranges): New functions. - (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions. - (sh64_get_contents_type, sh64_address_is_shmedia): New functions. - (print_insn_shmedia): Correct displaying of address after MOVI/SHORI - pair. Display addresses for linked executables only. - (print_insn_sh64x_media): Initialize info->private_data by calling - init_sh64_disasm_info. - (print_insn_sh64x): Ditto. Find out type of contents by calling - sh64_contents_type_disasm. Display data regions using ".long" and - ".byte" similar to unrecognized opcodes. - 2000-12-19 Hans-Peter Nilsson - * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA - information in section flags before considering symbols. Don't - assume an info->mach setting of bfd_mach_sh5 means SHmedia code. - * configure.in (bfd_sh_arch): Check presence of sh64 insns by - matching $target $canon_targets instead of looking at the - now-removed -DINCLUDE_SHMEDIA in $targ_cflags. - * configure: Regenerate. - 2000-11-25 Hans-Peter Nilsson - * sh64-opc.c (shmedia_creg_table): New. - * sh64-opc.h (shmedia_creg_info): New type. - (shmedia_creg_table): Declare. - * sh64-dis.c (creg_name): New function. - (print_insn_shmedia): Use it. - * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map - bfd_mach_sh5 to print_insn_sh64 if big-endian and to - print_insn_sh64l if little-endian. - * sh64-dis.c (print_insn_shmedia): Make r unsigned. - (print_insn_sh64l): New. - (print_insn_sh64x): New. - (print_insn_sh64x_media): New. - (print_insn_sh64): Break out code to print_insn_sh64x and - print_insn_sh64x_media. - 2000-11-24 Hans-Peter Nilsson - * sh64-opc.h: New file - * sh64-opc.c: New file - * sh64-dis.c: New file - * Makefile.am: Add sh64 targets. - (HFILES): Add sh64-opc.h. - (CFILES): Add sh64-opc.c and sh64-dis.c. - (ALL_MACHINES): Add sh64 files. - * Makefile.in: Regenerate. - * configure.in: Add support for sh64 to bfd_sh_arch. - * configure: Regenerate. - * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define. - (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to - print_insn_sh64. - * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2002-02-04 Frank Ch. Eigler - - * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets. - -2002-02-04 Alexandre Oliva - - * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS. - -2002-02-01 Alan Modra - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2002-01-31 Ivan Guzvinec - - * or32-dis.c: New file. - * or32-opc.c: New file. - * configure.in: Add support for or32. - * configure: Regenerate. - * Makefile.am: Add support for or32. - * Makefile.in: Regenerate. - * disassemble.c: Add support for or32. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2002-01-27 Daniel Jacobowitz - - * configure: Regenerated. - -2002-01-26 Nick Clifton - - * po/fr.po: Updated version. - -2002-01-25 Nick Clifton - - * po/es.po: Updated version. - -2002-01-24 Nick Clifton - - * po/da.po: New version. - -2002-01-23 Nick Clifton - - * po/da.po: New file: Spanish translation. - * configure.in (ALL_LINGUAS): Add da. - * configure: Regenerate. - -2002-01-22 Graydon Hoare - - * fr30-asm.c: Regenerate. - * fr30-desc.c: Likewise. - * fr30-desc.h: Likewise. - * fr30-dis.c: Likewise. - * fr30-ibld.c: Likewise. - * fr30-opc.c: Likewise. - * fr30-opc.h: Likewise. - * m32r-asm.c: Likewise. - * m32r-desc.c: Likewise. - * m32r-desc.h: Likewise. - * m32r-dis.c: Likewise. - * m32r-ibld.c: Likewise. - * m32r-opc.c: Likewise. - * m32r-opc.h: Likewise. - * m32r-opinst.c: Likewise. - * openrisc-asm.c: Likewise. - * openrisc-desc.c: Likewise. - * openrisc-desc.h: Likewise. - * openrisc-dis.c: Likewise. - * openrisc-ibld.c: Likewise. - * openrisc-opc.c: Likewise. - * openrisc-opc.h: Likewise. - * xstormy16-desc.c: Likewise. - -2002-01-22 Richard Henderson - - * alpha-dis.c (print_insn_alpha): Also mask the base opcode for - comparison. - -2002-01-22 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2002-01-19 Richard Earnshaw - - * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h. - * arm-dis.c (print_insn_arm): Don't handle 'h' case. - -2002-01-18 Keith Walker - - * arm-opc.h (arm_opcodes): Add bxj instruction. - -2002-01-17 Nick Clifton - - * po/opcodes.pot: Regenerate. - * po/fr.po: Regenerate. - * po/sv.po: Regenerate. - * po/tr.po: Regenerate. - -2002-01-16 Nick Clifton - - * po/tr.po: Import new version. - -2002-01-15 Richard Earnshaw - - * arm-opc.h (arm_opcodes): Add patterns for VFP instructions. - * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for - VFP bitfields. - -2002-01-10 matthew green - - * xstormy16-asm.c: Regenerate. - * xstormy16-desc.c: Likewise. - * xstormy16-desc.h: Likewise. - * xstormy16-dis.c: Likewise. - * xstormy16-opc.c: Likewise. - * xstormy16-opc.h: Likewise. - -2002-01-07 Nick Clifton - - * po/es.po: New file: Spanish translation. - * configure.in (ALL_LINGUAS): Add es. - * configure: Regenerate. - -2001-12-31 Jeffrey A Law (law@redhat.com) - - * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers, - 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. - Always emit a space after 'H'. - -2001-12-18 matthew green - - * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY. - -2001-12-17 Richard Henderson - - * alpha-opc.c (unop): Encode with RB as $sp. - -2001-12-07 Geoffrey Keating - - * Makefile.am: Add support for xstormy16. - * Makefile.in: Regenerate. - * configure.in: Add support for xstormy16. - * configure: Regenerate. - * disassemble.c: Add support for xstormy16. - * xstormy16-asm.c: New generated file. - * xstormy16-desc.c: New generated file. - * xstormy16-desc.h: New generated file. - * xstormy16-dis.c: New generated file. - * xstormy16-ibld.c: New generated file. - * xstormy16-opc.c: New generated file. - * xstormy16-opc.h: New generated file. - -2001-12-06 Richard Henderson - - * alpha-opc.c (alpha_opcodes): Add wh64en. - -2001-12-04 Alexandre Oliva - - * d10v-opc.c (d10v_predefined_registers): Remove warnings - introduced in Nov 29's patch. - - * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of - unmatched register. - - * d10v-dis.c (print_operand): Disregard OPERAND_SP in register - predefined value. - - * d10v-opc.c (RSRC_NOSP): New macro. - (d10v_operands): Add it. - (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w". - -2001-11-29 Alexandre Oliva - - * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP. - (RSRC_SP): New macro. - (d10v_operands): Add it. - (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP. - -2001-11-23 Lars Brinkhoff - - * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions. - Also, break out of the loop as soon as an instruction has been - printed. - -2001-11-17 matthew green - - * ppc-opc.c (mfvrsave, mtvrsave): New instructions. - -2001-11-15 Alan Modra - - * po/POTFILES.in: Regenerate. - - * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. - (insert_bat, extract_bat, insert_bba, extract_bba, - insert_bd, extract_bd, insert_bdm, extract_bdm, - insert_bdp, extract_bdp, valid_bo, - insert_bo, extract_bo, insert_boe, extract_boe, - insert_ds, extract_ds, insert_de, extract_de, - insert_des, extract_des, insert_li, extract_li, - insert_mbe, extract_mbe, insert_mb6, extract_mb6, - insert_nb, extract_nb, insert_nsi, extract_nsi, - insert_ral, insert_ram, insert_ras, - insert_rbs, extract_rbs, insert_sh6, extract_sh6, - insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. - (extract_bd, extract_bdm, extract_bdp, - extract_ds, extract_des, - extract_li, extract_nsi): Implement sign extension without conditional. - (insert_bdm, extract_bdm, - insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. - (extract_bdm, extract_bdp): Correct 32 bit validation. - (AT1_MASK, AT2_MASK): Define. - (BBOAT_MASK): Define. - (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. - (BOFM64, BOFP64, BOTM64, BOTP64): Define. - (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. - (PPCCOM32, PPCCOM64): Define. - (powerpc_opcodes): Modify existing 32 bit insns with branch hints - and add new patterns to implement 64 bit branches with hints. Move - booke instructions so they match before ppc64. - - * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for - 64 bit default targets, and parse "32" and "64" in options. - Formatting fixes. - (print_insn_powerpc): Pass dialect to operand->extract. - -2001-11-14 Dave Brolley - - * cgen-dis.c (count_decodable_bits): New function. - (add_insn_to_hash_chain): New function. - (hash_insn_array): Call add_insn_to_hash_chain. - (hash_insn_list): Call add_insn_to_hash_chain. - * m32r-dis.c: Regenerated. - * fr30-dis.c: Regenerated. - -2001-11-14 Andreas Jaeger - - * i386-dis.c (print_insn): Use x86-64 as option. - -2001-11-14 Alan Modra - - * disassemble.c (disassembler): Call print_insn_i386. - * i386-dis.c (SUFFIX_ALWAYS): Define. - (struct dis_private): Add orig_sizeflag. - (print_insn_i386): Make it a wrapper, calling.. - (print_insn): ..The old body of print_insn_i386. Avoid longjmp - warning without using volatile by moving orig_sizeflag to priv, - and removing inbuf. Parse disassembler_options. - (print_insn_i386_att, print_insn_i386_intel): Move initialisation - code to print_insn. - (putop): Remove #ifdef SUFFIX_ALWAYS. - -2001-11-11 Timothy Wall - - * tic54x-dis.c: Use revised opcode structure. Export opcode - template lookup. - (has_lkaddr): Don't forget about Lmem insns. - * tic54x-opc.c: Add emulation trap. Parallel table now uses - standard opcode templates. - -2001-11-13 Zack Weinberg - - * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries - to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand - category instead of Ew. - -2001-11-12 Niraj Gupta - - * m68k-opc.c: Fix definitions of wddata[bwl]. - -2001-11-09 Richard Sandiford - - * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to - fit in the buffer, try to match the empty keyword. - -2001-11-09 Nick Clifton - - * cgen-ibld.in (extract_1): Fix badly placed #if 0. - * fr30-ibld.c: Regenerate. - * m32r-ibld.c: Regenerate. - * openrisc-ibld.c: Regenerate. - -2001-11-04 Chris Demetriou - - * mips-dis.c (print_insn_mips): Remove spaces at end of line. - -2001-11-02 Nick Clifton - - * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr". - * configure: Regernate. - * po/fr.po: New file. - * po/sv.po: New file. - * po/tr.po: New file. - -2001-11-01 Stephane Carrez - - * m68hc11-dis.c (print_insn): Fix disassembly of movb with a - constant as source. - -2001-10-30 Hans-Peter Nilsson - - * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate - dependencies. - * Makefile.in: Regenerate. - * mmix-dis.c, mmix-opc.c: New files. - -2001-10-29 Kazu Hirata - - * d30v-dis.c: Fix a comment typo. - -2001-10-23 Chris Demetriou - - * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and - "bltzall" as writing GPR 31 (since they do). - - * mips-dis.c (print_insn_arg): Calculate info->target - where appropriate. - (print_insn_mips): Fill in instruction info. - (print_mips16_insn_arg): Remove unneded variable 'val'. - Removed duplicated instruction target calculations, - calculate once and print that result. Use same idiom for - masking the jump segment bits as is used in print_insn_arg. - -2001-10-20 Alan Modra - - * ppc-opc.c (CT): Make it an optional operand. - -2001-10-17 Chris Demetriou - - * mips-dis.c (mips_isa_type): Make the ISA used to disassemble - SB-1 binaries include instructions specific to the SB-1. - * mips-opc.c (SB1): New definition. - (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", - "recip.ps", "rsqrt.ps", and "sqrt.ps". - -2001-10-17 matthew green - - * ppc-opc.c (STRM): New AltiVec operand. - (XDSS): New AltiVec instruction form. - (mtvscr): Correct operand list. - (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions. - -2001-10-17 Alan Modra - - * po/POTFILES.in: Regenerate. - -2001-10-13 matthew green - - * ppc-opc.c (MO): New macro for MO field of mbar instruction. - (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, - mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions. - -2001-10-13 Nick Clifton - - * cgen-ibld.in: Include safe-ctype.h in preference to - ctype.h. - * cgen-asm.in: Include safe-ctype.h in preference to - ctype.h. Fix formatting. Use ISSPACE instead of isspace and - TOLOWER instead of tolower. - (@arch@_cgen_build_insn_regex): Remove duplication of syntax - string elements in constructed regular expression. - * fr30-asm.c: Regenerate. - * fr30-desc.c: Regenerate. - * fr30-ibld.c: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-ibld.c: Regenerate. - * openrisc-asm.c: Regenerate. - * openrisc-desc.c: Regenerate. - * openrisc-ibld.c: Regenerate. - * po/opcodes.pot: Regenerate. - -2001-10-12 matthew green - - * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New - instruction field instruction/extraction functions for new BookE - DE form instructions. - (CT): New macro for CT field in an X form instruction. - (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form - instructions. - (PPC64): Don't include PPC_OPCODE_PPC. - (403): New opcode macro for PPC403 processors. - (BOOKE): New opcode macro for BookE processors. - (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. - (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. - (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. - (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. - (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. - (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. - (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. - (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. - (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. - (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. - (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. - (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. - (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. - (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. - - * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look - for a disassembler option of `booke', `booke32' or `booke64' to enable - BookE support in the disassembler. - -2001-10-12 John Healy - - * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8) - for the length when extracting the base part of the insn. - -2001-10-09 Bruno Haible - - * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive - regular expression. Fix some formatting problems. - * fr30-asm.c: Regenerate. - * openrisc-asm.c: Regenerate. - * m32r-asm.c: Regenerate. - -2001-10-09 Christian Groessler - - * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly - of indirect register memory accesses to be same format the - assembler accepts. - -2001-10-09 Nick Clifton - - * sh-opc.h: Fix encoding of least significant nibble of the - DSP single data transfer instructions. - - * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP - instructions. - -2001-10-08 Nick Clifton - - * cgen-asm.in: Fix compile time warning messages in generated - C files. - * cgen-dis.in: The same. - * cgen-ibld.in: The same. - * fr30-asm.c: Regenerate. - * fr30-desc.c: Regenerate. - * fr30-dis.c: Regenerate. - * fr30-ibld.c: Regenerate. - * fr30-opc.c: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-dis.c: Regenerate. - * m32r-ibld.c: Regenerate. - * m32r-opc.c: Regenerate. - * m32r-opinst.c Regenerate. - * openrisc-asm.c: Regenerate. - * openrisc-desc.c: Regenerate. - * openrisc-dis.c: Regenerate. - * openrisc-ibld.c: Regenerate. - * openrisc-opc.c: Regenerate. - * openrisc-opc.h: Regenerate. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2001-10-08 Aldy Hernandez - - * arm-opc.h (arm_opcodes): Add cirrus insns. - - * arm-dis.c (print_insn_arm): Add 'I' case. - -2001-10-03 Alan Modra - - * po/POTFILES.in: Regenerate. - * configure: Regenerate. - -2001-10-02 Alan Modra - - * Makefile.am (Makefile): Depend on bfd/configure.in. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-09-30 John Healy - - * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits - calls to cgen_get_insn_value and cgen_put_insn_value calls. - (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call. - -2001-09-30 Hans-Peter Nilsson - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate. - -2001-09-26 Alan Modra - - * arc-dis.c: Formatting fixes. - (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. - -2001-09-21 Bruno Haible - - * arc-dis.c: Don't include . - * openrisc-desc.c: Likewise. - * openrisc-ibld.c: Likewise. - -2001-09-20 Nick Clifton - - * fr30-opc.c: Fix compile time warning messages. - * i370-opc.c: Fix compile time warning messages. - * i960-dis.c: Fix compile time warning messages. - * m32r-asm.c: Fix compile time warning messages. - * m32r-desc.c: Fix compile time warning messages. - * m32r-dis.c: Fix compile time warning messages. - * m32r-ibld.c: Fix compile time warning messages. - * m32r-opc.c: Fix compile time warning messages. - * m32r-opinst.c: Fix compile time warning messages. - * ns32k-dis.c: Fix compile time warning messages. - * openrisc-asm.c: Fix compile time warning messages. - * openrisc-desc.c: Fix compile time warning messages. - * openrisc-dis.c: Fix compile time warning messages. - * openrisc-ibld.c: Fix compile time warning messages. - * openrisc-opc.c: Fix compile time warning messages. - * pdp11-dis.c: Fix compile time warning messages. - * tic54x-dis.c: Fix compile time warning messages. - * v850-opc.c: Fix compile time warning messages. - * vax-dis.c: Fix compile time warning messages. - * w65-opc.h: Fix compile time warning messages. - * z8k-opc.h: Fix compile time warning messages. - * z8kgen.c: Fix compile time warning messages. - -2001-09-19 Nick Clifton - - * arm-dis.c: Fix compile time warning messages. - * cgen-asm.c: Fix compile time warning messages. - * cgen-dis.c: Fix compile time warning messages. - * cris-dis.c: Fix compile time warning messages. - * d10v-dis.c: Fix compile time warning messages. - * fr30-asm.c: Fix compile time warning messages. - * fr30-desc.c: Fix compile time warning messages. - * fr30-dis.c: Fix compile time warning messages. - * fr30-ibld.c: Fix compile time warning messages. - -2001-09-18 Bruno Haible - - * cgen-asm.c: Include "safe-ctype.h" instead of . - (cgen_parse_keyword): Use ISALNUM instead of isalnum. - * cgen-opc.c: Include "safe-ctype.h" instead of . - (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of - isalpha/tolower. - (cgen_keyword_add): Use ISALNUM instead of isalnum. - (hash_keyword_name): Use TOLOWER instead of tolower. - * fr30-asm.c: Include "safe-ctype.h" instead of . - (parse_insn_normal): Use TOLOWER/ISSPACE instead of - tolower/isspace. - (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace. - * fr30-desc.c: Don't include . - * fr30-ibld.c: Likewise. - * ia64-gen.c: Include "safe-ctype.h" instead of . - (load_insn_classes, parse_resource_users, load_depfile): Use - ISSPACE instead of isspace. - * m32r-asm.c: Include "safe-ctype.h" instead of . - (parse_insn_normal): Use TOLOWER/ISSPACE instead of - tolower/isspace. - (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace. - * m32r-desc.c: Don't include . - * m32r-ibld.c: Likewise. - * openrisc-asm.c: Include "safe-ctype.h" instead of . - (parse_insn_normal): Use TOLOWER/ISSPACE instead of - tolower/isspace. - (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace. - -2001-09-18 Martin Schwidefsky - - * Makefile.am: Add rules and dependencies to create the s/390 opcode - table out of s390-opc.txt automatically. - * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used. - * s390-mkopc.c (dumpTable): Change output to create a complete file. - * s390-opc.c: New improved opcode format macros and remove the - pregenerated opcode table. - * s390-opc.txt: Adapt to new improved opcode format macros. - -2001-09-14 David Schleef - - * ppc-opc.c (VXA, VXA_MASK): Fix mask bits. - -2001-09-04 Alan Modra - - * i386-dis.c (grps): Don't print the implicit al/ax/eax register - for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns. - -2001-08-31 Eric Christopher - Jason Eckhardt - - * mips-dis.c: Add support for bfd_mach_mipsisa32 and - bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, - bfd_mach_mips64. - -2001-08-31 Andreas Jaeger - - * tic54x-opc.c: Add default initializers to avoid warnings. - - * arc-opc.c: Include "sysdep.h" to get stdio.h as include file. - * arc-ext.c: Likewise. - -2001-08-28 matthew green - - * ppc-opc.c (icbt): Order correctly. - -2001-08-27 David Edelsohn - Torbjorn Granlund - - * ppc-opc.c (DS): Add PPC_OPERAND_DS flag. - (LS): Define. - (insert_ds): Complain if not a multiple of 4. - (XSYNC): Define. - (XSYNC_MASK): Define. - (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev", - "slbmfee". Modify "sync" to use XSYNC_MASK and LS. - -2001-08-26 Andreas Jaeger - - * h8500-opc.h: Add default initializers to h8500_table to shut up - GCC warnings. - -2001-08-25 Andreas Jaeger - - * tic54x-dis.c: Add unused attributes where needed. - - * z8k-dis.c (output_instr): Add unused attribute. - - * h8300-dis.c: Add missing prototypes. - (bfd_h8_disassemble): Make static. - - * cris-dis.c: Add missing prototype. - * h8500-dis.c: Likewise. - * m68hc11-dis.c: Likewise. - * pj-dis.c: Likewise. - * tic54x-dis.c: Likewise. - * v850-dis.c: Likewise. - * vax-dis.c: Likewise. - * w65-dis.c: Likewise. - * z8k-dis.c: Likewise. - - * d10v-dis.c: Add missing prototype. - (dis_long): Remove unused variable. - (dis_2_short): Likewise. - - * sh-dis.c: Add missing prototypes. - * v850-opc.c: Likewise. - Add unused attributes where needed. - - * ns32k-dis.c: Add missing prototypes. - (bit_extract_simple): Remove unused variable. - -2001-08-23 Martin Schwidefsky - - * s390-opc.c: Add "low or high" and "not low or high" - branch instructions for gcc 3.0. - * s390-opc.txt: Likewise. - -2001-08-21 Andreas Jaeger - - * i960-dis.c: Add parameters for prototypes - (ctrl): Add unused attributes. - (cobr): Likewise. - (put_abs): Likewise. - - * mips-dis.c: Add missing prototypes. - * a29k-dis.c: Likewise. - * arc-dis.c: Likewise. - * ia64-opc.c: Likewise. - - * s390-dis.c: Add missing prototypes. - (init_disasm): Remove unused attribute since the parameter is - used. - -2001-08-16 Thiemo Seufer - - * mips-opc.c (M1): Define. Reformatted Code. - (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps, - mtps, mtps. Typo. - -2001-08-16 Jonathan Larmour - - * mips-opc.c: R3900s can support all branch likely INSN_MACROs where - the corresponding non-likely insn is in MIPS I. - -2001-08-13 Kazu Hirata - - * mcore-dis.c: Fix formatting. - * mips-dis.c: Likewise. - * pj-dis.c: Likewise. - * z8k-dis.c: Likewise. - -2001-08-12 Richard Henderson - - * cgen-ibld.in (extract_normal): Match type of VALUE and MASK - to *VALUEP. Regenerate all cgen files. - -2001-08-10 Richard Sandiford - - * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32 - argument. - * mips-opc.c (G6): Undefine. - (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro - as the first "move" alternative. - -2001-08-10 Andreas Jaeger - - * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes - to build warnings. - * configure: Regenerate. - -2001-08-10 Alan Modra - - * ppc-opc.c: Revert 2001-08-08. - -2001-08-09 Alan Modra - - * dis-buf.c (generic_strcat_address): Add missing prototype. - #if 0 the functions as it is unused. - -2001-08-08 Alan Modra - - 1999-10-25 Torbjorn Granlund - * ppc-opc.c: Include "bfd.h". - (powerpc_operands): Add new field for reloc type. - -2001-07-21 Thiemo Seufer - - * mips-dis.c (print_insn_arg): Don't use software integer registers - for coprocessor registers. - (get_mips_isa): Removed. - (is_newabi): New function, checks if NewABI is used. - (_print_insn_mips): Get distinction between old ABI and new ABI right. - -2001-08-01 Christian Groessler - - * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to - get stderr definition. - (internal, gas): Removed warnings. - (gas): Create a correct final entry for created array. - * z8k-opc.h: Recreated with new z8kgen. - -2001-07-28 Kazu Hirata - - * i386-dis.c: Fix formatting. - -2001-07-28 Matthias Kramm - - * i386-dis.c: Change formatting conventions for architecture - i386:intel to better match the format of various intel i386 - assemblers, like nasm, tasm or masm. - -2001-07-24 Alan Modra - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate - -2001-07-24 Kazu Hirata - - * alpha-dis.c: Fix formatting. - * cris-dis.c: Likewise. - * d10v-dis.c: Likewise. - * d30v-dis.c: Likewise. - * m10300-dis.c: Likewise. - * tic54x-dis.c: Likewise. - -2001-07-23 Kazu Hirata - - * m68k-dis.c: Fix formatting. - * pj-dis.c: Likewise. - * s390-dis.c: Likewise. - * z8k-dis.c: Likewise. - -2001-07-21 Chris Demetriou - - * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s - into the rest of the surrounding definitions. - -2001-07-18 Alan Modra - - * i386-dis.c (grps): Print l or w suffix, and require mem modrm - for lgdt, lidt, sgdt, sidt. - -2001-07-13 Philip Blundell - - * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. - -2001-07-12 Jeff Johnston - - * cgen-asm.in: Include "xregex.h" always to enable the libiberty - regex support. - (@arch@_cgen_build_insn_regex): New routine from Graydon. - (@arch@_cgen_assemble_insn): Add Graydon's code to use regex - to verify if it is worth parsing the insn as insn "x". Also update - error message when insn is not a recognized format of the insn vs - when the insn is completely unrecognized. - -2001-07-11 Frank Ch. Eigler - - * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of - bfd_get_bits. - * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect - non-zero CGEN_CPU_DESC->insn_chunk_bitsize. - -2001-07-09 Andreas Jaeger , Karsten Keil - - * i386-dis.c (set_op): Handle 64 bit and 32 bit mode. - (OP_J): Use bfd_vma for mask to work properly with 64 bits. - (op_address,op_riprel): Use bfd_vma to handle 64 bits. - -2001-07-05 Ben Elliston - - * Makefile.am (CPUDIR): Define. - (stamp-m32r): Update dependencies. - (stamp-fr30): Ditto. - (stamp-openrisc): Ditto. - * Makefile.in: Regenerate. - -2001-07-03 Zoltan Hidvegi - - * ppc-opc.c: Fix encoding of 'clf' instruction. - -2001-06-30 Geoffrey Keating - - * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT. - -2001-06-28 Geoffrey Keating - - * cgen-asm.c (cgen_parse_keyword): Allow any first character. - * cgen-opc.c (cgen_keyword_add): Ignore special first - character when building nonalpha_chars field. - -2001-06-24 Ben Elliston - - * m88k-dis.c: Format to conform to GNU coding standards. - -2001-06-23 Andreas Jaeger - - * disassemble.c (disassembler_usage): Add unused attribute. - -2001-06-22 Eric Christopher - - * mips-opc.c: Move prefx to start of the table. - -2001-06-22 Stacey Sheldon - - * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST - instruction. - -2001-06-22 Pauli - - * m68k-opc.c: Add wdebug instruction. - -2001-06-15 Aldy Hernandez - - * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc. - -2001-06-14 Geoffrey Keating - - * cgen-asm.c (cgen_parse_keyword): When looking for the - boundaries of a keyword, allow any special characters - that are actually in one of the allowed keyword. - * cgen-opc.c (cgen_keyword_add): Add any special characters - to the nonalpha_chars field. - -2001-06-12 Martin Schwidefsky - - * s390-opc.c: Add lgh instruction. - * s390-opc.txt: Likewise. - -2001-06-11 Alan Modra - - * i386-dis.c: Group function prototypes in one place. - (FLOATCODE): Redefine as 1. - (USE_GROUPS): Redefine as 2. - (USE_PREFIX_USER_TABLE): Redefine as 3. - (X86_64_SPECIAL): Define as 4. - (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2. - (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE. - (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete. - (dis386): New table combining above four tables. - (dis386_twobyte_att, dis386_twobyte_intel): Delete. - (dis386_twobyte): New table combining above two tables. - (x86_64_table): New table to handle x86_64. - (X86_64_0): Define. - (float_mem_att, float_mem_intel): Delet. - (float_mem): New table combining above two tables. - (print_insn_i386): Modify for above. - (dofloat): Likewise. - (putop): Handle '{', '|' and '}' to select alternative mnemonics. - Return 0 on success, 1 if no valid alternative. - (putop , ): Print nothing for intel_syntax. - (putop ): Move to case 'U', and share case 'Q' code. - (putop ): Move to case 'T', and share case 'P' code. - (OP_REG ): Handle as for eAX_reg .. eDI_reg - if not 64-bit mode. - (OP_I ): Handle as for v_mode if not 64-bit mode. - (OP_I64): If not 64-bit mode, call OP_I. - OP_OFF64): If not 64-bit mode, call OP_OFF. - (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename - 'ignore'/'ignored' to 'bytemode'. - -2001-06-10 Alan Modra - - * configure.in: Sort 'ta' case statement. - * configure: Regenerate. - - * i386-dis.c (dis386_att): Add 'H' to conditional branch and - loop,jcxz insns. - (disx86_64_att): Likewise. - (dis386_twobyte_att): Likewise. - (print_insn_i386): Don't print branch hints as a prefix. - (putop): 'H' macro prints branch hints. - (get64): Kill compile warnings. - -2001-06-09 Alexandre Oliva - - * sh-opc.h (sh_table): Don't use empty initializers. - -2001-06-06 Christian Groessler - - * z8k-dis.c: Fix formatting. - (unpack_instr): Remove unused cases in switch statement. Add - safety abort() in default case. - (unparse_instr): Add safety abort() in default case. - -2001-06-06 Peter Jakubek - - * m68k-dis.c (print_insn_m68k): Fix typo. - * m68k-opc.c (m68k_opcodes): Correct allowed operands for - mcf (ColdFire) div, rem and moveb instructions. - -2001-06-06 Alan Modra - - * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define. - (cond_jump_mode, loop_jcxz_mode): Define. - (dis386_att): Add cond_jump_flag and loop_jcxz_flag as - appropriate, and 'F' suffix to loop insns. - (disx86_64_att): Likewise. - (dis386_twobyte_att): Likewise. - (print_insn_i386): Don't output addr prefix for loop, jcxz insns. - Output data size prefix for long conditional jumps. Output cs and - ds branch hints. - (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'. - (OP_J): Don't make PREFIX_DATA used. - -2001-06-04 Alexandre Oliva - - * sh-opc.h (sh_table): Complete last element entry to avoid - compiler warning. - -2001-05-16 Thiemo Seufer - - * mips-dis.c (mips_isa_type): Add MIPS r12k support. - -2001-05-23 Alan Modra - - * arc-opc.c: Whitespace changes. - -2001-05-18 Hans-Peter Nilsson - - * cris-opc.c (cris_spec_regs): Add missing initializer field for - last element. - -2001-05-15 Frank Ch. Eigler - - * cgen-dis.in (extract_normal): Complete support for min - - * mips-dis.c (INSNLEN): Rename MAXLEN. - (std_reg_names): Replace by mips32_reg_names and mips64_reg_names. - (print_insn_arg): Remove $ prefix of register names. - (set_mips_isa_type): Remove. - (mips_isa_type): New function. - (get_mips_isa): New Function. - (print_insn_mips): Rename _print_insn_mips. - (_print_insn_mips): New function, contains code which was - duplicated in print_insn_big_mips and print_insn_little_mips. - (print_insn_big_mips): Moved code to _print_insn_mips. - (print_insn_little_mips): Likewise. - (print_mips16_insn_arg): Remove $ prefix of register names. - Print error message before abort. - -2001-05-14 J.T. Conklin - - * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of - simplified mnemonics used for setting PPC750-specific special - purpose registers. - -2001-05-12 H.J. Lu - - * i386-dis.c (print_insn_i386): Always set `mod', `reg' and - `rm'. - -2001-05-12 Peter Targett - - * arc-opc.c (arc_reg_names): Correct attribute for lp_count - register to r/w. Formatting fixes throughout file. - -2001-05-12 Alan Modra - - * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and - movq operands. - (twobyte_has_modrm): Update table. - (need_modrm): Give it file scope. - (MODRM_CHECK): Define. - (dofloat): Use MODRM_CHECK. - (OP_E): Likewise. - (OP_EM): Likewise. - (OP_EX): Likewise. - -2001-05-07 Frank Ch. Eigler - - * cgen-dis.in (default_print_insn): Tolerate min - - * disassemble.c (disassembler_usage): Remove unused attribute. - -2001-05-04 Frank Ch. Eigler - - * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes. - -2001-05-04 Frank Ch. Eigler - - * cgen-dis.in (print_insn): Remove call to read_insn. Instead, - assume incoming buffer already has the base insn loaded. Handle - smaller-than-base instructions for variable-length case. - -2001-05-04 Alan Modra - - * i386-dis.c (Ev, Ed): Remove duplicate define. - (Gd): Define. - (XS): Define. - (OP_XS): New function. - (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and - movmskp operands. - (dis386_twobyte_intel): Likewise. - (prefix_user_table): Use MS for maskmovq operand. - -2001-04-27 Johan Rydberg - - * Makefile.am: Add OpenRISC target. - * Makefile.in: Regenerated. - - * disassemble.c (disassembler): Recognize the OpenRISC disassembly. - - * configure.in (bfd_openrisc_arch): Add target. - * configure: Regenerated. - - * openrisc-asm.c: New file. - * openrisc-desc.c: Likewise. - * openrisc-desc.h: Likewise. - * openrisc-dis.c: Likewise. - * openrisc-ibld.c: Likewise. - * openrisc-opc.c: Likewise. - * openrisc-opc.h: Likewise. - -2001-04-24 Christian Groessler - - * z8k-dis.c: add names of control registers (ctrl_names); - (seg_length): provides instruction length fixup for segmented - mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12, - CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases; - (unparse_intr): handle CLASS_PR, print addresses without '#' - * z8k-opc.h: re-created with new z8kgen - * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new - entries for ldctl/ldctlb instruction - -2001-04-06 Andreas Jaeger - - * i386-dis.c: Add ffreep instruction. - -2001-03-30 Alexandre Oliva - - * ppc-opc.c (insert_mbe): Shift mask initializer as long. - -2001-03-24 Alan Modra - - * i386-dis.c (PREGRP25): Define. - (dis386_twobyte_att): Use here in place of "movntq" entry. - (dis386_twobyte_intel): Likewise. - (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq". - (PREGRP26): Define. - (dis386_twobyte_att): Use here. - (dis386_twobyte_intel): Likewise. - (prefix_user_table): Add PREGRP26 entry for "punpcklqdq". - (prefix_user_table ): XM operand, not MX. - (prefix_user_table): Cosmetic changes to "bad" entries. - -2001-03-23 Nick Clifton - - * mips-opc.c: Remove extraneous whitespace. - * mips-dis.c: Remove extraneous whitespace. - -2001-03-22 Ben Elliston - - * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg - declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional. - * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused - to allay a compiler warning. - -2001-03-22 Alan Modra - - * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq. - (dis386_twobyte_intel): Likewise. - (twobyte_has_modrm): Set entry for paddq, psubq. - -2001-03-20 Patrick Macdonald - - * cgen-dis.in (print_insn_@arch@): Add support for target machine - determination via CGEN_COMPUTE_MACH. - * fr30-desc.c: Regenerate. - * fr30-dis.c: Regenerate. - * fr30-opc.h: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-dis.c: Regenerate. - * m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - -2001-03-20 H.J. Lu - - * configure.in: Remove the redundent AC_ARG_PROGRAM. - * configure: Rebuild. - -2001-03-19 Jim Wilson - - * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and - notestr if larger than xsect. - (in_class): Handle format M5. - * ia64-asmtab.c: Regnerate. - -2001-03-19 John David Anglin - - * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer - has more than one byte left to read. - -2001-03-16 Martin Schwidefsky - - * s390-opc.c: Add new opcodes. Smooth out formatting. - * s390-opc.txt: Add new opcodes. - -2001-03-06 Nick Clifton - - * arm-dis.c (print_insn_thumb): Compute destination address - of BLX(1) instruction by taking bit 1 from PC and not from bit - 0 of the offset. - -2001-03-06 Igor Shevlyakov - - * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs - so command line switches will work. - -2001-03-05 Dave Brolley - - * fr30-asm.c: Regenerate. - * fr30-desc.c: Regenerate. - * fr30-desc.h: Regenerate. - * fr30-dis.c: Regenerate. - * fr30-ibld.c: Regenerate. - * fr30-opc.c: Regenerate. - * fr30-opc.h: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-dis.c: Regenerate. - * m32r-ibld.c: Regenerate. - * m32r-opc.c: Regenerate. - * m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - -2001-02-28 Igor Shevlyakov - - * m68k-opc.c: fix cpushl according to Motorola. Enable - bunch of instructions for Coldfire 5407 and add all new. - -2001-02-27 Alan Modra - - * configure.in (BFD_VERSION): Do without grep. - * configure: Regenerate. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2001-02-23 David Mosberger - - * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4". - * ia64-asmtab.c: Regenerate. - -2001-02-21 David Mosberger - - * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two - separate variants: one for IMM22 and the other for IMM14. - * ia64-asmtab.c: Regenerate. - -2001-02-21 Greg McGary - - * cgen-opc.c (cgen_get_insn_value): Add missing `return'. - -2001-02-20 H.J. Lu - - * Makefile.am (ia64-ic.tbl): Remove the target. - (ia64-raw.tbl): Likewise. - (ia64-waw.tbl): Likewise. - (ia64-war.tbl): Likewise. - (ia64-asmtab.c): Generate it in the source directory. - * Makefile.in: Regenerated. - -2001-02-18 lars brinkhoff - - * Makefile.am: Add PDP-11 target. - * configure.in: Likewise. - * disassemble.c: Likewise. - * pdp11-dis.c: New file. - * pdp11-opc.c: New file. - -2001-02-14 Jim Wilson - - * ia64-ic.tbl: Update from Intel. Add setf to fr-writers. - * ia64-asmtab.c: Regenerate. - -2001-02-12 Jan Hubicka - - * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison - instructions. - (putop): Handle 'Y' - -2001-02-11 Maciej W. Rozycki - - * mips-dis.c (print_insn_arg): Use top four bits of the address of - the following instruction not of the jump itself for the jump - target. - (print_mips16_insn_arg): Likewise. - -2001-02-11 Michael Sokolov - - * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build - directory. - * Makefile.in: Regenerate. - -2001-02-09 Schwidefsky - - * Makefile.am: Add linux target for S/390. - * Makefile.in: Likewise. - * configure.in: Likewise. - * disassemble.c: Likewise. - * s390-dis.c: New file. - * s390-mkopc.c: New file. - * s390-opc.c: New file. - * s390-opc.txt: New file. - -2001-02-05 Jim Wilson - - * ia64-asmtab.c: Revert 2000-12-16 change. - -2001-02-02 Patrick Macdonald - - * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS. - * m32r-desc.h: Regenerate. - -2001-02-01 Jan Hubicka - - * i386-dis.c (dis386_att, grps): Use 'T' for push/pop - (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax - -2001-01-14 Alan Modra - - * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types. - -2001-01-13 Nick Clifton - - * disassemble.c: Remove spurious white space. - -2001-01-13 Jan Hubicka - - * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret - templates. - -2001-01-11 Peter Targett - - * configure.in: Add arc-ext.lo for bfd_arc_arch selection. - * Makefile.am (C_FILES): Add arc-ext.c. - (ALL_MACHINES) Add arc-ext.lo. - (INCLUDES) Add opcode directory to list. - New dependency entry for arc-ext.lo. - * disassemble.c (disassembler): Correct call to - arc_get_disassembler. - * arc-opc.c: New update for ARC, including full base - instructions for ARC variants. - * arc-dis.h, arc-dis.c: New update for ARC, including - extensibility functionality. - * arc-ext.h, arc-ext.c: New files for handling extensibility. - -2001-01-10 Jan Hubicka - - * i386-dis.c (PREGRP15 - PREGRP24): New. - (dis386_twobyt): Add SSE2 instructions. - (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions. - (twobyte_uses_f3_prefix): ... this one. - (grps): Add SSE instructions. - (prefix_user_table): Add two new slots; add SSE2 instructions. - (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix; - Handle the REPNZ and Data16 prefixes as well; do proper lookup - to prefix_user_table. - (OP_E): Accept mfence and lfence as well. - (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions. - (OP_XMM): Support REX extensions. - (OP_EM): Likewise. - (OP_EX): Likewise. - -2001-01-09 Nick Clifton - - * arm-dis.c (print_insn): Set pc to zero for instructions with - a reloc associated with them. - -2001-01-09 Jeff Johnston - - * cgen-asm.in (parse_insn_normal): Changed syn to be - CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn - as character to use CGEN_SYNTAX_CHAR macro and all comparisons - to '\0' to use 0 instead. - * cgen-dis.in (print_insn_normal): Ditto. - * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto. - -2001-01-05 Jan Hubicka - - * i386-dis.c: Add x86_64 support. - (rex): New static variable. - (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants. - (USED_REX): New macro. - (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros. - (OP_I64, OP_OFF64, OP_IMREG): New functions. - (OP_REG, OP_OFF): Declare. - (get64, get32, get32s): New functions. - (r??_reg): New constants. - (dis386_att): Change templates of instruction implicitly promoted - to 64bit; change e?? to RMe?? for unwind RM byte instructions. - (grps): Likewise. - (dis386_intel): Likewise. - (dixx86_64_att): New table based on dis386_att. - (dixx86_64_intel): New table based on dis386_intel. - (names64, names8rex): New global variable. - (names32, names16): Add extended registers. - (prefix_user_t): Recognize rex prefixes. - (prefix_name): Print REX prefixes nicely. - (op_riprel): New global variable. - (start_pc): Set type to bfd_vma. - (print_insn_i386): Detect the 64bit mode and use proper table; - move ckprefix after initializing the buffer; output unused rex prefixes; - output information about target of RIP relative addresses. - (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S'; - (print_operand_value): New function. - (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for - REX prefix and new modes. - (get64, get32s): New. - (get32): Return bfd_signed_vma type. - (set_op): Initialize the op_riprel. - * disassemble.c (disassembler): Recognize the x86-64 disassembly. - -2001-01-03 Richard Sandiford - - cgen-dis.in (read_insn): Use bfd_get_bits() - -2001-01-02 Richard Sandiford - - * cgen-dis.c (hash_insn_array): Use bfd_put_bits(). - (hash_insn_list): Likewise - * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits(). - (extract_1): Use bfd_get_bits(). - (extract_normal): Apply sign extension to both extraction - methods. - * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits() - (cgen_put_insn_value): Use bfd_put_bits() - -2000-12-28 Frank Ch. Eigler - - * cgen-asm.in (parse_insn_normal): Print better error message for - instructions with missing operands. - -2000-12-21 Santeri Paavolainen - - * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined. - -2000-12-16 Nick Clifton - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure.in: Add spacing. - * configure: Regenerate. - * ia64-asmtab.c: Regenerate. - * po/opcodes.pot: Regenerate. - -2000-12-12 Frank Ch. Eigler - - * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time - error messages over later parse-time ones. - -2000-12-12 Jim Wilson - - * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode - argument. - * ia64-gen.c (insert_deplist): Cast sizeof result to int. - (print_dependency_table): Print NULL if semantics field not set. - (insert_opcode_dependencies): Mark cmp parameter as unused. - (print_main_table): Use fprintf_vma to print long long fields. - (main): Mark argv paramter as unused. Convert to old style definition. - * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. - * ia64-asmtab.c: Regnerate. - -2000-12-09 Nick Clifton - - * m32r-dis.c (print_insn): Prevent re-read of instruction from - wrong address. - - * fr30-dis.c: Regenerate. - -2000-12-08 Peter Targett - - * configure.in: Add arc-ext.lo for bfd_arc_arch selection. - * Makefile.am (C_FILES): Add arc-ext.c. - (ALL_MACHINES) Add arc-ext.lo. - (INCLUDES) Add opcode directory to list. - New dependency entry for arc-ext.lo. - * disassemble.c (disassembler): Correct call to - arc_get_disassembler. - * arc-opc.c: New update for ARC, including full base - instructions for ARC variants. - * arc-dis.h, arc-dis.c: New update for ARC, including - extensibility functionality. - * arc-ext.h, arc-ext.c: New files for handling extensibility. - -2000-12-03 Chris Demetriou cgd@sibyte.com - - * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO, - MOD_HILO, and MOD_LO macros. - - * mips-opc.c (M1, M2): Delete. - (mips_builtin_opcodes): Remove all uses of M1. - - * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2 - instructions take "G" format second operands and use the - correct flags. - There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to - match. - Delete "sel" code operands from mfc1 and mtc1. - Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants - for dm[ft]c[023]. - -2000-12-03 Ed Satterthwaite ehs@sibyte.com and - Chris Demetriou cgd@sibyte.com - - * mips-opc.c (mips_builtin_opcodes): Finish additions - for MIPS32 support, and clean up existing entries for - aesthetics, consistency with the MIPS32 ISA, and - with consistency the rest of the table. - -2000-12-01 Nick Clifton - - * mips16-opc.c (mips16_opcodes): Add initialiser for membership - field. - -2000-12-01 Chris Demetriou - - mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument - specifiers. Update 'B' for new constant names, and remove - 'm'. - mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop" - near the top of the array, so they are disassembled properly. - Enable "ssnop" for MIPS32. Add "break" variant with 20 bit - code for MIPS32. Update "clo" and "clz" to use 'U' operand - specifier. Add 'H' format specifier variants for "mfc1," - "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update - MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32 - "wait" variant which uses 'J' operand specifier. - - * mips-dis.c (set_mips_isa_type): Update to use - CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case. - Replace bfd_mach_mips4K with bfd_mach_mips32_4k case. - * mips-opc.c (I32): New constant for instructions added in - MIPS32. - (P4): Delete. - (mips_builtin_opcodes) Replace all uses of P4 with I32. - - * mips-dis.c (set_mips_isa_type): Add cases for - bfd_mach_mips5 and bfd_mach_mips64. - * mips-opc.c (I64): New definitions. - - * mips-dis.c (set_mips_isa_type): Add case for - bfd_mach_mips_sb1. - -2000-11-28 Hans-Peter Nilsson - - * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned. - (print_insn_ppi): Make nib1, nib2, nib3 unsigned. - Initialize variable dc to NULL. - (print_insn_shx): Remove unused label d_reg_n. - -2000-11-24 Nick Clifton - - * arm-opc.h: Add new opcode formatting parameter 'B'. - (arm_opcodes): Add XScale, v5, and v5te instructions. - (thumb_opcodes): Add v5t instructions. - - * arm-dis.c (print_insn_arm): Handle new 'B' format - parameter. - (print_insn_thumb): Decode BLX(1) instruction. - -2000-11-21 Chris Demetriou - - * mips-opc.c: Fix file header comment. - -2000-11-14 Hans-Peter Nilsson - - * cris-dis.c (cris_get_disassembler): If abfd is NULL, return - print_insn_cris_with_register_prefix. - -2000-11-11 Alexandre Oliva - - * sh-opc.h: The operand of `mov.w r0, (,GBR)' is IMM1, not 0. - -2000-11-07 Matthew Green - - * cgen-dis.in (print_insn): All insns which can fit into insn_value - must be loaded there in their entirety. - -2000-10-20 Jakub Jelinek - - * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs. - (compute_arch_mask): Add v8plusb and v9b machines. - (print_insn_sparc): siam mode decoding, accept ASRs up to 25. - * sparc-opc.c: Support for Cheetah instruction set. - (prefetch_table): Add #invalidate. - -2000-10-16 Nick Clifton - - * mcore-dis.c (imsk): Change mask for OC to 0xFE00. - -2000-10-06 Dave Brolley - - * fr30-desc.h: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-ibld.c: Regenerate. - -2000-10-05 Jim Wilson - - * ia64-ic.tbl: Update from Intel. - * ia64-asmtab.c: Regenerate. - -2000-10-04 Kazu Hirata - - * ia64-gen.c: Convert C++-style comments to C-style comments. - * tic54x-dis.c: Likewise. - -2000-09-29 Hans-Peter Nilsson - - Changes to add dollar prefix to registers for files where user symbols - don't have a leading underscore. Fix formatting. - * cris-dis.c (REGISTER_PREFIX_CHAR): New. - (format_reg): Add parameter with_reg_prefix. All callers changed. - (print_with_operands): Ditto. - (print_insn_cris_generic): Renamed from print_insn_cris, add - parameter with_reg_prefix. - (print_insn_cris_with_register_prefix, - print_insn_cris_without_register_prefix, cris_get_disassembler): - New. - * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler. - -2000-09-22 Jim Wilson - - * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for - gt, ge, ngt, and nge. - * ia64-asmtab.c: Regenerate. - - * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change. - * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP. - (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62". - * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update. - * ia64-asmtab.c: Regnerate. - -2000-09-13 Anders Norlander - - * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores. - Add mfc0 and mtc0 with sub-selection values. - Add clo and clz opcodes. - Add msub and msubu instructions for MIPS32. - Add madd/maddu aliases for mad/madu for MIPS32. - Support wait, deret, eret, movn, pref for MIPS32. - Support tlbp, tlbr, tlbwi, tlbwr. - (P4): New define. - - * mips-dis.c (print_insn_arg): Print sdbbp 'm' args. - (print_insn_arg): Handle 'H' args. - (set_mips_isa_type): Recognize 4K. - Use CPU_* defines instead of hardcoded numbers. - -2000-09-11 Catherine Moore - - * d30v-opc.c (d30v_operand_t): New operand type Rb2. - (d30v_format_tab): Use Rb2 for modinc and moddec. - -2000-09-07 Catherine Moore - - * d30v-opc.c (d30v_format_tab): Use format Ra for - modinc and moddec. - -2000-09-06 Alexandre Oliva - - * configure: Rebuilt with new libtool.m4. - -2000-09-05 Nick Clifton - - * configure: Regenerate. - * po/opcodes.pot: Regenerate. - -2000-08-31 Alexandre Oliva - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-08-30 Kazu Hirata - - * tic80-dis.c: Fix formatting. - -2000-08-29 Kazu Hirata - - * w65-dis.c: Fix formatting. - -2000-08-28 Mark Hatle - - * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics. - (powerpc_opcodes): Add table entries for PPC 405 instructions. - Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403 - instructions. Added extended mnemonic mftbl as defined in the - 405GP manual for all PPCs. - -2000-08-28 Jim Wilson - - * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode - call. Change last goto to use failed instead of done. - -2000-08-28 Dave Brolley - - * cgen-ibld.in (cgen_put_insn_int_value): New function. - (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. - (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P. - (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. - * cgen-dis.in (read_insn): New static function. - (print_insn): Use read_insn to read the insn into the buffer and set - up for disassembly. - (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is - in the buffer. - * fr30-asm.c: Regenerated. - * fr30-desc.c: Regenerated. - * fr30-desc.h: Regenerated. - * fr30-dis.c: Regenerated. - * fr30-ibld.c: Regenerated. - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - * m32r-asm.c: Regenerated. - * m32r-desc.c: Regenerated. - * m32r-desc.h: Regenerated. - * m32r-dis.c: Regenerated. - * m32r-ibld.c: Regenerated. - * m32r-opc.c: Regenerated. - -2000-08-28 Kazu Hirata - - * tic30-dis.c: Fix formatting. - -2000-08-27 Kazu Hirata - - * sh-dis.c: Fix formatting. - -2000-08-24 David Edelsohn - - * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd. - -2000-08-24 Kazu Hirata - - * z8k-dis.c: Fix formatting. - -2000-08-16 Jim Wilson - - * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete - break, mov-immediate, nop. - * ia64-opc-f.c: Delete fpsub instructions. - * ia64-opc-m.c: Add POSTINC to all instructions with postincrement - address operand. Rewrite using macros to avoid long lines. - * ia64-opc.h (POSTINC): Define. - * ia64-asmtab.c: Regenerate. - -2000-08-15 Jim Wilson - - * ia64-ic.tbl: Add missing entries. - -2000-08-08 Jason Eckhardt - - * i860-dis.c (print_br_address): Change third argument from int - to long. - -2000-08-07 Richard Henderson - - * ia64-dis.c (print_insn_ia64): Get byte skip count correct - for MLI templates. Handle IA64_OPND_TGT64. - -2000-08-04 Ben Elliston - - * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files. - * cgen.sh: Likewise. - -2000-08-02 Jim Wilson - - * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end. - -2000-07-29 Marek Michalkiewicz - - * avr-dis.c (avr_operand): Use PARAMS macro in declaration. - Change return type from void to int. Check the combination - of operands, return 1 if valid. Fix to avoid BUF overflow. - Report undefined combinations of operands in COMMENT. - Report internal errors to stderr. Output the adiw/sbiw - constant operand in both decimal and hex. - (print_insn_avr): Disassemble ldd/std with displacement of 0 - as ld/st. Check avr_operand () return value, handle invalid - combinations of operands like unknown opcodes. - -2000-07-28 Ben Elliston - - * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New. - (run-cgen, stamp-m32r, stamp-fr30): New targets. - * Makefile.in: Regenerate. - * configure.in: Add --enable-cgen-maint option. - * configure: Regenerate. - -2000-07-26 Dave Brolley - - * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. - (cgen_hw_lookup_by_num): Ditto. - (cgen_operand_lookup_by_name): Ditto. - (print_address): Ditto. - (print_keyword): Ditto. - * cgen-dis.c (hash_insn_array): Mark unused parameters with - ATTRIBUTE_UNUSED. - * cgen-asm.c (hash_insn_array): Mark unused parameters with - ATTRIBUTE_UNUSED. - (cgen_parse_keyword): Ditto. - -2000-07-22 Jason Eckhardt - - * i860-dis.c: New file. - (print_insn_i860): New function. - (print_br_address): New function. - (sign_extend): New function. - (BITWISE_OP): New macro. - (I860_REG_PREFIX): New macro. - (grnames, frnames, crnames): New structures. - - * disassemble.c (ARCH_i860): Define. - (disassembler): Add check for bfd_arch_i860 to set disassemble - function to print_insn_i860. - - * Makefile.in (CFILES): Added i860-dis.c. - (ALL_MACHINES): Added i860-dis.lo. - (i860-dis.lo): New dependences. - - * configure.in: New bits for bfd_i860_arch. - - * configure: Regenerated. - -2000-07-20 Hans-Peter Nilsson - - * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c. - (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo. - (cris-dis.lo, cris-opc.lo): New rules. - * Makefile.in: Rebuild. - * configure.in (bfd_cris_arch): New target. - * configure: Rebuild. - * disassemble.c (ARCH_cris): Define. - (disassembler): Support ARCH_cris. - * cris-dis.c, cris-opc.c: New files. - * po/POTFILES.in, po/opcodes.pot: Regenerate. - -2000-07-11 Jakub Jelinek - - * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2. - Reported by Bill Clarke . - -2000-07-09 Geoffrey Keating - - * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw. - Patch by Randall J Fisher . - -2000-07-09 Alan Modra - - * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg, - fput_const, extract_3, extract_5_load, extract_5_store, - extract_5r_store, extract_5R_store, extract_10U_store, - extract_5Q_store, extract_11, extract_14, extract_16, extract_21, - extract_12, extract_17, extract_22): Prototype. - (print_insn_hppa): Rename inner block opcode -> opc to avoid - shadowing outer block. - (GET_BIT): Define. - -2000-07-05 DJ Delorie - - * MAINTAINERS: new - -2000-07-04 Alexandre Oliva - - * arm-dis.c (print_insn_arm): Output combinations of PSR flags. - -2000-07-03 Marek Michalkiewicz - - * avr-dis.c (avr_operand): Change _ () to _() around all strings - marked for translation (exception from the usual coding style). - (print_insn_avr): Initialize insn2 to avoid warnings. - -2000-07-03 Kazu Hirata - - * h8300-dis.c (bfd_h8_disassemble): Improve readability. - * h8500-dis.c: Fix formatting. - -2000-07-01 Alan Modra - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-26 Scott Bambrough - - * arm-dis.c (regnames): Add an additional register set to match - the set used by GCC. Make it the default. - -2000-06-22 Alan Modra - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - -2000-06-20 H.J. Lu - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-18 Stephane Carrez - - * Makefile.in, configure: regenerate - * disassemble.c (disassembler): Recognize ARCH_m68hc12, - ARCH_m68hc11. - * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12): - New functions. - * configure.in: Recognize m68hc12 and m68hc11. - * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x - * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly - and opcode generation for m68hc11 and m68hc12. - -2000-06-16 Nick Duffek - - * disassemble.c (disassembler): Refer to the PowerPC 620 using - bfd_mach_ppc_620 instead of 620. - -2000-06-12 Kazu Hirata - - * h8300-dis.c: Fix formatting. - (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl] - correctly. - -2000-06-09 Denis Chertykov - - * avr-dis.c (avr_operand): Bugfix for jmp/call address. - -2000-06-07 Denis Chertykov - - * avr-dis.c: completely rewritten. - -2000-06-02 Kazu Hirata - - * h8300-dis.c: Follow the GNU coding style. - (bfd_h8_disassemble) Fix a typo. - -2000-06-01 Kazu Hirata - - * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo. - (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl] - correctly. Fix a typo. - -2000-05-31 Nick Clifton - - * opintl.h (_(String)): Explain why dgettext is used instead of - gettext. - -2000-05-30 Nick Clifton - - * opintl.h (gettext, dgettext, dcgettext, textdomain, - bindtextdomain): Replace defines with those from intl/libgettext.h - to quieten gcc warnings. - -2000-05-26 Alan Modra - - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - -2000-05-25 Alexandre Oliva - - * m10300-dis.c (disassemble): Don't assume 32-bit longs when - sign-extending operands. - -2000-05-15 Donald Lindsay - - * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches - except brf's. - -2000-05-21 Nick Clifton - - * Makefile.am (LIBIBERTY): Define. - -2000-05-19 Diego Novillo - - * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES. - (STD_REGISTER_NAMES): New name for REGISTER_NAMES. - (reg_names): Rename to std_reg_names. Change it to a char ** - static variable. - (std_reg_names): New name for reg_names. - (set_mips_isa_type): Set reg_names to point to std_reg_names by - default. - -2000-05-16 Frank Ch. Eigler - - * fr30-desc.h: Partially regenerated to account for changed - CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. - * m32r-desc.h: Ditto. - -2000-05-15 Nick Clifton - - * arm-opc.h: Use upper case for flasg in MSR and MRS - instructions. Allow any bit to be set in the field_mask of - the MSR instruction. - - * arm-dis.c (print_insn_arm): Decode _x and _s bits of the - field_mask of an MSR instruction. - -2000-05-11 Thomas de Lellis - - * arm-opc.h: Disassembly of thumb ldsb/ldsh - instructions changed to ldrsb/ldrsh. - -2000-05-11 Ulf Carlsson - - * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit - target addresses for 'jal' and 'j'. - -2000-05-10 Geoff Keating - - * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes - also available in common mode when powerpc syntax is being used. - -2000-05-08 Alan Modra - - * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args. - (dummy_print_address): Ditto. - -2000-05-04 Timothy Wall - - * tic54x-opc.c: New. - * tic54x-dis.c: New. - * disassemble.c (disassembler): Add ARCH_tic54x. - * configure.in: Added tic54x target. - * configure: Ditto. - * Makefile.am: Add tic54x dependencies. - * Makefile.in: Ditto. - -2000-05-03 J.T. Conklin - - * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for - vector unit operands. - (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector - unit instruction formats. - (PPCVEC): New macro, mask for vector instructions. - (powerpc_operands): Add table entries for above operand types. - (powerpc_opcodes): Add table entries for vector instructions. - - * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask. - (print_insn_little_powerpc): Likewise. - (print_insn_powerpc): Prepend 'v' when printing vector registers. - -2000-04-24 Clinton Popetz - - * configure.in: Add bfd_powerpc_64_arch. - * disassemble.c (disassembler): Use print_insn_big_powerpc for - 64 bit code. - -2000-04-24 Nick Clifton - - * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow - field. - -2000-04-23 Denis Chertykov - - * avr-dis.c (reg_fmul_d): New. Extract destination register from - FMUL instruction. - (reg_fmul_r): New. Extract source register from FMUL instruction. - (reg_muls_d): New. Extract destination register from MULS instruction. - (reg_muls_r): New. Extract source register from MULS instruction. - (reg_movw_d): New. Extract destination register from MOVW instruction. - (reg_movw_r): New. Extract source register from MOVW instruction. - (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU, - EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions. - -2000-04-22 Timothy Wall - - * ia64-gen.c (general): Add an ordered table of primary - opcode names, as well as priority fields to disassembly data - structures to enforce a preferred disassembly format based on the - ordering of the opcode tables. - (load_insn_classes): Show a useful message if IC tables are missing. - (load_depfile): Ditto. - * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to - distinguish preferred disassembly. - * ia64-opc-f.c: Reorder some insn for preferred disassembly - format. Fix incorrect flag on fma.s/fma.s.s0. - * ia64-opc.c: Scan *all* disassembly matches and use the one with - the highest priority. - * ia64-opc-b.c: Use more abbreviations. - * ia64-asmtab.c: Regenerate. - -2000-04-21 Jason Eckhardt - - * hppa-dis.c (extract_16): New function. - (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of - new operand types l,y,&,fe,fE,fx. - -2000-04-21 Richard Henderson - David Mosberger - Timothy Wall - Bob Manson - Jim Wilson - - * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h. - (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, - ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c, - ia64-asmtab.c. - (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo. - (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen, - ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules. - * Makefile.in: Rebuild. - * configure Rebuild. - * configure.in (bfd_ia64_arch): New target. - * disassemble.c (ARCH_ia64): Define. - (disassembler): Support ARCH_ia64. - * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl, - ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c, - ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl, - ia64-war.tbl, ia64-waw.tbl: New files. - -2000-04-20 Alexandre Oliva - - * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define. - (disassemble): Use them. - -2000-04-14 Alan Modra - - * sysdep.h: Include "ansidecl.h" not - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - -2000-04-14 Michael Sokolov - - * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c, - avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, - disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c, - i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c, - m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c, - mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c, - ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c, - tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c, - w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove - ansidecl.h as sysdep.h includes it. - -2000-04-7 Andrew Cagney - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure: Re-generate. - -2000-04-05 J"orn Rennecke - - * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs. - stc GBR,@- is available for arch_sh1_up. - Group parallel processing insn with identical mnemonics together. - Make three-operand psha / pshl come first. - -2000-04-05 J"orn Rennecke - - * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. - Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. - (sh_arg_type): Add A_PC. - (sh_table): Update entries using immediates. Add repeat. - * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. - Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. - -2000-04-04 Alan Modra - - * po/opcodes.pot: Regenerate. - - * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. - (DEP): Quote when passing vars to sub-make. Add warning message - to end. - (DEP1): Rewrite for "gcc -MM". - (CLEANFILES): Add DEP2. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-03 Denis Chertykov - - * avr-dis.c: Syntax cleanup. - (add0fff): Print the pc relative address as a signed number. - (add03f8): Likewise. - -2000-04-01 Ian Lance Taylor - - * disassemble.c (disassembler_usage): Don't use a prototype. Mark - the parameter ATTRIBUTE_UNUSED. - * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed. - -2000-04-01 Alexandre Oliva - - * m10300-opc.c: SP-based offsets are always unsigned. - -2000-03-29 Thomas de Lellis - - * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal" - [branch always] instead of "undefined". - -2000-03-27 Nick Clifton - - * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of - short instructions, from end of list of long instructions. - -2000-03-27 Ian Lance Taylor - - * Makefile.am (CFILES): Add avr-dis.c. - (ALL_MACHINES): Add avr-dis.lo. - -2000-03-27 Alan Modra - - * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to - truncate integers. - (print_insn_avr): Call function via pointer in K&R compatible way. - (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204, - add0fff, add03f8): Convert to old style function declaration and - add prototype. - (avrdis_opcode): Add prototype. - -2000-03-27 Denis Chertykov - - * avr-dis.c: New file. AVR disassembler. - * configure.in (bfd_avr_arch): New architecture support. - * disassemble.c: Likewise. - * configure: Regenerate. - -2000-03-06 J"oern Rennecke - - * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement. - -2000-03-02 J"orn Rennecke - - * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand - flag to determine if operand is pc-relative. - * d30v-opc.c: - (d30v_format_table): - (REL6S3): Renamed from IMM6S3. - Added flag OPERAND_PCREL. - (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with - added flag OPERAND_PCREL. - (IMM12S3U): Replaced with REL12S3. - (SHORT_D2, LONG_D): Delay target is pc-relative. - (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r): - Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r, - using the REL* operands. - (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D. - (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B, - LONG_Db, using REL* operands. - (SHORT_U, SHORT_A5S): Removed stray alternatives. - (d30v_opcode_table): Use new *r formats. - -2000-02-28 Nick Clifton - - * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with - 'signed_overflow_ok_p'. - -2000-02-27 Eli Zaretskii - - * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the - name of the libtool directory. - * Makefile.in: Rebuild. - -2000-02-24 Nick Clifton - - * cgen-opc.c (cgen_set_signed_overflow_ok): New function. - (cgen_clear_signed_overflow_ok): New function. - (cgen_signed_overflow_ok_p): New function. - -2000-02-23 Andrew Haley - - * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, - m32r-ibld.c, m32r-opc.h: Rebuild. - -2000-02-23 Linas Vepstas - - * i370-dis.c, i370-opc.c: New. - - * disassemble.c (ARCH_i370): Define. - (disassembler): Handle it. - - * Makefile.am: Add support for Linux/IBM 370. - * configure.in: Likewise. - - * Makefile.in: Regenerate. - * configure: Likewise. - -2000-02-22 Chandra Chavva - - * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to - ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel - procedure. - -2000-02-22 Andrew Haley - - * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER: - force gp32 to zero. - * mips-opc.c (G6): New define. - (mips_builtin_op): Add "move" definition for -gp32. - -2000-02-22 Ian Lance Taylor - - From Grant Erickson : - * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2. - -2000-02-21 Alan Modra - - * dis-buf.c (buffer_read_memory): Change `length' param and all int - vars to unsigned. - -2000-02-17 J"orn Rennecke - - * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. - (print_insn_ppi): Likewise. - (print_insn_shx): Use info->mach to select appropriate insn set. - Add support for sh-dsp. Remove FD_REG_N support. - * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. - (sh_arg_type): Likewise. Remove FD_REG_N. - (sh_dsp_reg_nums): New enum. - (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. - (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. - (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. - (arch_sh3_dsp_up): Likewise. - (sh_opcode_info): New field: arch. - (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and - D_REG_N. Fill in arch field. Add sh-dsp insns. - -2000-02-14 Fernando Nasser - - * arm-dis.c: Change flavor name from atpcs-special to - special-atpcs to prevent name conflict in gdb. - (get_arm_regname_num_options, set_arm_regname_option, - get_arm_regnames): New functions. API to access the several - flavor of register names. Note: Used by gdb. - (print_insn_thumb): Use the register name entry from the currently - selected flavor for LR and PC. - -2000-02-10 Nick Clifton - - * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR - classes. - (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and - "mulsh.h" instructions. - * mcore-dis.c (imsk array): Add masks for MULSH and OPSR - classes. - (print_insn_mcore): Add support for little endian targets. - Add support for MULSH and OPSR classes. - -2000-02-07 Nick Clifton - - * arm-dis.c (parse_arm_diassembler_option): Rename again. - Previous delat did not take. - -2000-02-03 Timothy Wall - - * dis-buf.c (buffer_read_memory): Use octets_per_byte field - to adjust target address bounds checking and calculate the - appropriate octet offset into data. - -2000-01-27 Nick Clifton - - * arm-dis.c: (parse_disassembler_option): Rename to - parse_arm_disassembler_option and allow to be exported. - - * disassemble.c (disassembler_usage): New function: Print out any - target specific disassembler options. - Call arm_disassembler_options() if the ARM architecture is being - supported. - - * arm-dis.c (NUM_ELEM): Define this macro if not already - defined. - (arm_regname): New struct type for ARM register names. - (arm_toggle_regnames): Delete. - (parse_disassembler_option): Use register name structure. - (print_insn): New function: Combines duplicate code found in - print_insn_big_arm and print_insn_little_arm. - (print_insn_big_arm): Call print_insn. - (print_insn_little_arm): Call print_insn. - (print_arm_disassembler_options): Display list of supported, - ARM specific disassembler options. - -2000-01-27 Thomas de Lellis - - * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the - ARM_STT_16BIT flag as Thumb code symbols. - - * arm-dis.c (printf_insn_little_arm): Ditto. - -2000-01-25 Thomas de Lellis - - * arm-dis.c (printf_insn_thumb): Prevent double dumping - of raw thumb instructions. - -2000-01-20 Nick Clifton - - * mcore-opc.h (mcore_table): Add "add" as an alias for "addu". - -2000-01-03 Nick Clifton - - * arm-dis.c (streq): New macro. - (strneq): New macro. - (force_thumb): ew local variable. - (parse_disassembler_option): New function: Parse a single, ARM - specific disassembler command line switch. - (parse_disassembler_option): Call parse_disassembler_option to - parse individual command line switches. - (print_insn_big_arm): Check force_thumb. - (print_insn_little_arm): Check force_thumb. - -For older changes see ChangeLog-9899 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-0001 b/opcodes/ChangeLog-0001 new file mode 100644 index 00000000000..085453a34e9 --- /dev/null +++ b/opcodes/ChangeLog-0001 @@ -0,0 +1,2224 @@ +2001-12-31 Jeffrey A Law (law@redhat.com) + + * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers, + 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. + Always emit a space after 'H'. + +2001-12-18 matthew green + + * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY. + +2001-12-17 Richard Henderson + + * alpha-opc.c (unop): Encode with RB as $sp. + +2001-12-07 Geoffrey Keating + + * Makefile.am: Add support for xstormy16. + * Makefile.in: Regenerate. + * configure.in: Add support for xstormy16. + * configure: Regenerate. + * disassemble.c: Add support for xstormy16. + * xstormy16-asm.c: New generated file. + * xstormy16-desc.c: New generated file. + * xstormy16-desc.h: New generated file. + * xstormy16-dis.c: New generated file. + * xstormy16-ibld.c: New generated file. + * xstormy16-opc.c: New generated file. + * xstormy16-opc.h: New generated file. + +2001-12-06 Richard Henderson + + * alpha-opc.c (alpha_opcodes): Add wh64en. + +2001-12-04 Alexandre Oliva + + * d10v-opc.c (d10v_predefined_registers): Remove warnings + introduced in Nov 29's patch. + + * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of + unmatched register. + + * d10v-dis.c (print_operand): Disregard OPERAND_SP in register + predefined value. + + * d10v-opc.c (RSRC_NOSP): New macro. + (d10v_operands): Add it. + (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w". + +2001-11-29 Alexandre Oliva + + * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP. + (RSRC_SP): New macro. + (d10v_operands): Add it. + (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP. + +2001-11-23 Lars Brinkhoff + + * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions. + Also, break out of the loop as soon as an instruction has been + printed. + +2001-11-17 matthew green + + * ppc-opc.c (mfvrsave, mtvrsave): New instructions. + +2001-11-15 Alan Modra + + * po/POTFILES.in: Regenerate. + + * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. + (insert_bat, extract_bat, insert_bba, extract_bba, + insert_bd, extract_bd, insert_bdm, extract_bdm, + insert_bdp, extract_bdp, valid_bo, + insert_bo, extract_bo, insert_boe, extract_boe, + insert_ds, extract_ds, insert_de, extract_de, + insert_des, extract_des, insert_li, extract_li, + insert_mbe, extract_mbe, insert_mb6, extract_mb6, + insert_nb, extract_nb, insert_nsi, extract_nsi, + insert_ral, insert_ram, insert_ras, + insert_rbs, extract_rbs, insert_sh6, extract_sh6, + insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. + (extract_bd, extract_bdm, extract_bdp, + extract_ds, extract_des, + extract_li, extract_nsi): Implement sign extension without conditional. + (insert_bdm, extract_bdm, + insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. + (extract_bdm, extract_bdp): Correct 32 bit validation. + (AT1_MASK, AT2_MASK): Define. + (BBOAT_MASK): Define. + (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. + (BOFM64, BOFP64, BOTM64, BOTP64): Define. + (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. + (PPCCOM32, PPCCOM64): Define. + (powerpc_opcodes): Modify existing 32 bit insns with branch hints + and add new patterns to implement 64 bit branches with hints. Move + booke instructions so they match before ppc64. + + * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for + 64 bit default targets, and parse "32" and "64" in options. + Formatting fixes. + (print_insn_powerpc): Pass dialect to operand->extract. + +2001-11-14 Dave Brolley + + * cgen-dis.c (count_decodable_bits): New function. + (add_insn_to_hash_chain): New function. + (hash_insn_array): Call add_insn_to_hash_chain. + (hash_insn_list): Call add_insn_to_hash_chain. + * m32r-dis.c: Regenerated. + * fr30-dis.c: Regenerated. + +2001-11-14 Andreas Jaeger + + * i386-dis.c (print_insn): Use x86-64 as option. + +2001-11-14 Alan Modra + + * disassemble.c (disassembler): Call print_insn_i386. + * i386-dis.c (SUFFIX_ALWAYS): Define. + (struct dis_private): Add orig_sizeflag. + (print_insn_i386): Make it a wrapper, calling.. + (print_insn): ..The old body of print_insn_i386. Avoid longjmp + warning without using volatile by moving orig_sizeflag to priv, + and removing inbuf. Parse disassembler_options. + (print_insn_i386_att, print_insn_i386_intel): Move initialisation + code to print_insn. + (putop): Remove #ifdef SUFFIX_ALWAYS. + +2001-11-11 Timothy Wall + + * tic54x-dis.c: Use revised opcode structure. Export opcode + template lookup. + (has_lkaddr): Don't forget about Lmem insns. + * tic54x-opc.c: Add emulation trap. Parallel table now uses + standard opcode templates. + +2001-11-13 Zack Weinberg + + * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries + to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand + category instead of Ew. + +2001-11-12 Niraj Gupta + + * m68k-opc.c: Fix definitions of wddata[bwl]. + +2001-11-09 Richard Sandiford + + * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to + fit in the buffer, try to match the empty keyword. + +2001-11-09 Nick Clifton + + * cgen-ibld.in (extract_1): Fix badly placed #if 0. + * fr30-ibld.c: Regenerate. + * m32r-ibld.c: Regenerate. + * openrisc-ibld.c: Regenerate. + +2001-11-04 Chris Demetriou + + * mips-dis.c (print_insn_mips): Remove spaces at end of line. + +2001-11-02 Nick Clifton + + * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr". + * configure: Regernate. + * po/fr.po: New file. + * po/sv.po: New file. + * po/tr.po: New file. + +2001-11-01 Stephane Carrez + + * m68hc11-dis.c (print_insn): Fix disassembly of movb with a + constant as source. + +2001-10-30 Hans-Peter Nilsson + + * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate + dependencies. + * Makefile.in: Regenerate. + * mmix-dis.c, mmix-opc.c: New files. + +2001-10-29 Kazu Hirata + + * d30v-dis.c: Fix a comment typo. + +2001-10-23 Chris Demetriou + + * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and + "bltzall" as writing GPR 31 (since they do). + + * mips-dis.c (print_insn_arg): Calculate info->target + where appropriate. + (print_insn_mips): Fill in instruction info. + (print_mips16_insn_arg): Remove unneded variable 'val'. + Removed duplicated instruction target calculations, + calculate once and print that result. Use same idiom for + masking the jump segment bits as is used in print_insn_arg. + +2001-10-20 Alan Modra + + * ppc-opc.c (CT): Make it an optional operand. + +2001-10-17 Chris Demetriou + + * mips-dis.c (mips_isa_type): Make the ISA used to disassemble + SB-1 binaries include instructions specific to the SB-1. + * mips-opc.c (SB1): New definition. + (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", + "recip.ps", "rsqrt.ps", and "sqrt.ps". + +2001-10-17 matthew green + + * ppc-opc.c (STRM): New AltiVec operand. + (XDSS): New AltiVec instruction form. + (mtvscr): Correct operand list. + (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions. + +2001-10-17 Alan Modra + + * po/POTFILES.in: Regenerate. + +2001-10-13 matthew green + + * ppc-opc.c (MO): New macro for MO field of mbar instruction. + (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, + mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions. + +2001-10-13 Nick Clifton + + * cgen-ibld.in: Include safe-ctype.h in preference to + ctype.h. + * cgen-asm.in: Include safe-ctype.h in preference to + ctype.h. Fix formatting. Use ISSPACE instead of isspace and + TOLOWER instead of tolower. + (@arch@_cgen_build_insn_regex): Remove duplication of syntax + string elements in constructed regular expression. + * fr30-asm.c: Regenerate. + * fr30-desc.c: Regenerate. + * fr30-ibld.c: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-ibld.c: Regenerate. + * openrisc-asm.c: Regenerate. + * openrisc-desc.c: Regenerate. + * openrisc-ibld.c: Regenerate. + * po/opcodes.pot: Regenerate. + +2001-10-12 matthew green + + * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New + instruction field instruction/extraction functions for new BookE + DE form instructions. + (CT): New macro for CT field in an X form instruction. + (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form + instructions. + (PPC64): Don't include PPC_OPCODE_PPC. + (403): New opcode macro for PPC403 processors. + (BOOKE): New opcode macro for BookE processors. + (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. + (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. + (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. + (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. + (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. + (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. + (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. + (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. + (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. + (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. + (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. + (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. + (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. + (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. + + * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look + for a disassembler option of `booke', `booke32' or `booke64' to enable + BookE support in the disassembler. + +2001-10-12 John Healy + + * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8) + for the length when extracting the base part of the insn. + +2001-10-09 Bruno Haible + + * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive + regular expression. Fix some formatting problems. + * fr30-asm.c: Regenerate. + * openrisc-asm.c: Regenerate. + * m32r-asm.c: Regenerate. + +2001-10-09 Christian Groessler + + * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly + of indirect register memory accesses to be same format the + assembler accepts. + +2001-10-09 Nick Clifton + + * sh-opc.h: Fix encoding of least significant nibble of the + DSP single data transfer instructions. + + * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP + instructions. + +2001-10-08 Nick Clifton + + * cgen-asm.in: Fix compile time warning messages in generated + C files. + * cgen-dis.in: The same. + * cgen-ibld.in: The same. + * fr30-asm.c: Regenerate. + * fr30-desc.c: Regenerate. + * fr30-dis.c: Regenerate. + * fr30-ibld.c: Regenerate. + * fr30-opc.c: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-dis.c: Regenerate. + * m32r-ibld.c: Regenerate. + * m32r-opc.c: Regenerate. + * m32r-opinst.c Regenerate. + * openrisc-asm.c: Regenerate. + * openrisc-desc.c: Regenerate. + * openrisc-dis.c: Regenerate. + * openrisc-ibld.c: Regenerate. + * openrisc-opc.c: Regenerate. + * openrisc-opc.h: Regenerate. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2001-10-08 Aldy Hernandez + + * arm-opc.h (arm_opcodes): Add cirrus insns. + + * arm-dis.c (print_insn_arm): Add 'I' case. + +2001-10-03 Alan Modra + + * po/POTFILES.in: Regenerate. + * configure: Regenerate. + +2001-10-02 Alan Modra + + * Makefile.am (Makefile): Depend on bfd/configure.in. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-09-30 John Healy + + * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits + calls to cgen_get_insn_value and cgen_put_insn_value calls. + (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call. + +2001-09-30 Hans-Peter Nilsson + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate. + +2001-09-26 Alan Modra + + * arc-dis.c: Formatting fixes. + (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. + +2001-09-21 Bruno Haible + + * arc-dis.c: Don't include . + * openrisc-desc.c: Likewise. + * openrisc-ibld.c: Likewise. + +2001-09-20 Nick Clifton + + * fr30-opc.c: Fix compile time warning messages. + * i370-opc.c: Fix compile time warning messages. + * i960-dis.c: Fix compile time warning messages. + * m32r-asm.c: Fix compile time warning messages. + * m32r-desc.c: Fix compile time warning messages. + * m32r-dis.c: Fix compile time warning messages. + * m32r-ibld.c: Fix compile time warning messages. + * m32r-opc.c: Fix compile time warning messages. + * m32r-opinst.c: Fix compile time warning messages. + * ns32k-dis.c: Fix compile time warning messages. + * openrisc-asm.c: Fix compile time warning messages. + * openrisc-desc.c: Fix compile time warning messages. + * openrisc-dis.c: Fix compile time warning messages. + * openrisc-ibld.c: Fix compile time warning messages. + * openrisc-opc.c: Fix compile time warning messages. + * pdp11-dis.c: Fix compile time warning messages. + * tic54x-dis.c: Fix compile time warning messages. + * v850-opc.c: Fix compile time warning messages. + * vax-dis.c: Fix compile time warning messages. + * w65-opc.h: Fix compile time warning messages. + * z8k-opc.h: Fix compile time warning messages. + * z8kgen.c: Fix compile time warning messages. + +2001-09-19 Nick Clifton + + * arm-dis.c: Fix compile time warning messages. + * cgen-asm.c: Fix compile time warning messages. + * cgen-dis.c: Fix compile time warning messages. + * cris-dis.c: Fix compile time warning messages. + * d10v-dis.c: Fix compile time warning messages. + * fr30-asm.c: Fix compile time warning messages. + * fr30-desc.c: Fix compile time warning messages. + * fr30-dis.c: Fix compile time warning messages. + * fr30-ibld.c: Fix compile time warning messages. + +2001-09-18 Bruno Haible + + * cgen-asm.c: Include "safe-ctype.h" instead of . + (cgen_parse_keyword): Use ISALNUM instead of isalnum. + * cgen-opc.c: Include "safe-ctype.h" instead of . + (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of + isalpha/tolower. + (cgen_keyword_add): Use ISALNUM instead of isalnum. + (hash_keyword_name): Use TOLOWER instead of tolower. + * fr30-asm.c: Include "safe-ctype.h" instead of . + (parse_insn_normal): Use TOLOWER/ISSPACE instead of + tolower/isspace. + (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace. + * fr30-desc.c: Don't include . + * fr30-ibld.c: Likewise. + * ia64-gen.c: Include "safe-ctype.h" instead of . + (load_insn_classes, parse_resource_users, load_depfile): Use + ISSPACE instead of isspace. + * m32r-asm.c: Include "safe-ctype.h" instead of . + (parse_insn_normal): Use TOLOWER/ISSPACE instead of + tolower/isspace. + (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace. + * m32r-desc.c: Don't include . + * m32r-ibld.c: Likewise. + * openrisc-asm.c: Include "safe-ctype.h" instead of . + (parse_insn_normal): Use TOLOWER/ISSPACE instead of + tolower/isspace. + (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace. + +2001-09-18 Martin Schwidefsky + + * Makefile.am: Add rules and dependencies to create the s/390 opcode + table out of s390-opc.txt automatically. + * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used. + * s390-mkopc.c (dumpTable): Change output to create a complete file. + * s390-opc.c: New improved opcode format macros and remove the + pregenerated opcode table. + * s390-opc.txt: Adapt to new improved opcode format macros. + +2001-09-14 David Schleef + + * ppc-opc.c (VXA, VXA_MASK): Fix mask bits. + +2001-09-04 Alan Modra + + * i386-dis.c (grps): Don't print the implicit al/ax/eax register + for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns. + +2001-08-31 Eric Christopher + Jason Eckhardt + + * mips-dis.c: Add support for bfd_mach_mipsisa32 and + bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, + bfd_mach_mips64. + +2001-08-31 Andreas Jaeger + + * tic54x-opc.c: Add default initializers to avoid warnings. + + * arc-opc.c: Include "sysdep.h" to get stdio.h as include file. + * arc-ext.c: Likewise. + +2001-08-28 matthew green + + * ppc-opc.c (icbt): Order correctly. + +2001-08-27 David Edelsohn + Torbjorn Granlund + + * ppc-opc.c (DS): Add PPC_OPERAND_DS flag. + (LS): Define. + (insert_ds): Complain if not a multiple of 4. + (XSYNC): Define. + (XSYNC_MASK): Define. + (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev", + "slbmfee". Modify "sync" to use XSYNC_MASK and LS. + +2001-08-26 Andreas Jaeger + + * h8500-opc.h: Add default initializers to h8500_table to shut up + GCC warnings. + +2001-08-25 Andreas Jaeger + + * tic54x-dis.c: Add unused attributes where needed. + + * z8k-dis.c (output_instr): Add unused attribute. + + * h8300-dis.c: Add missing prototypes. + (bfd_h8_disassemble): Make static. + + * cris-dis.c: Add missing prototype. + * h8500-dis.c: Likewise. + * m68hc11-dis.c: Likewise. + * pj-dis.c: Likewise. + * tic54x-dis.c: Likewise. + * v850-dis.c: Likewise. + * vax-dis.c: Likewise. + * w65-dis.c: Likewise. + * z8k-dis.c: Likewise. + + * d10v-dis.c: Add missing prototype. + (dis_long): Remove unused variable. + (dis_2_short): Likewise. + + * sh-dis.c: Add missing prototypes. + * v850-opc.c: Likewise. + Add unused attributes where needed. + + * ns32k-dis.c: Add missing prototypes. + (bit_extract_simple): Remove unused variable. + +2001-08-23 Martin Schwidefsky + + * s390-opc.c: Add "low or high" and "not low or high" + branch instructions for gcc 3.0. + * s390-opc.txt: Likewise. + +2001-08-21 Andreas Jaeger + + * i960-dis.c: Add parameters for prototypes + (ctrl): Add unused attributes. + (cobr): Likewise. + (put_abs): Likewise. + + * mips-dis.c: Add missing prototypes. + * a29k-dis.c: Likewise. + * arc-dis.c: Likewise. + * ia64-opc.c: Likewise. + + * s390-dis.c: Add missing prototypes. + (init_disasm): Remove unused attribute since the parameter is + used. + +2001-08-16 Thiemo Seufer + + * mips-opc.c (M1): Define. Reformatted Code. + (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps, + mtps, mtps. Typo. + +2001-08-16 Jonathan Larmour + + * mips-opc.c: R3900s can support all branch likely INSN_MACROs where + the corresponding non-likely insn is in MIPS I. + +2001-08-13 Kazu Hirata + + * mcore-dis.c: Fix formatting. + * mips-dis.c: Likewise. + * pj-dis.c: Likewise. + * z8k-dis.c: Likewise. + +2001-08-12 Richard Henderson + + * cgen-ibld.in (extract_normal): Match type of VALUE and MASK + to *VALUEP. Regenerate all cgen files. + +2001-08-10 Richard Sandiford + + * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32 + argument. + * mips-opc.c (G6): Undefine. + (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro + as the first "move" alternative. + +2001-08-10 Andreas Jaeger + + * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes + to build warnings. + * configure: Regenerate. + +2001-08-10 Alan Modra + + * ppc-opc.c: Revert 2001-08-08. + +2001-08-09 Alan Modra + + * dis-buf.c (generic_strcat_address): Add missing prototype. + #if 0 the functions as it is unused. + +2001-08-08 Alan Modra + + 1999-10-25 Torbjorn Granlund + * ppc-opc.c: Include "bfd.h". + (powerpc_operands): Add new field for reloc type. + +2001-07-21 Thiemo Seufer + + * mips-dis.c (print_insn_arg): Don't use software integer registers + for coprocessor registers. + (get_mips_isa): Removed. + (is_newabi): New function, checks if NewABI is used. + (_print_insn_mips): Get distinction between old ABI and new ABI right. + +2001-08-01 Christian Groessler + + * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to + get stderr definition. + (internal, gas): Removed warnings. + (gas): Create a correct final entry for created array. + * z8k-opc.h: Recreated with new z8kgen. + +2001-07-28 Kazu Hirata + + * i386-dis.c: Fix formatting. + +2001-07-28 Matthias Kramm + + * i386-dis.c: Change formatting conventions for architecture + i386:intel to better match the format of various intel i386 + assemblers, like nasm, tasm or masm. + +2001-07-24 Alan Modra + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate + +2001-07-24 Kazu Hirata + + * alpha-dis.c: Fix formatting. + * cris-dis.c: Likewise. + * d10v-dis.c: Likewise. + * d30v-dis.c: Likewise. + * m10300-dis.c: Likewise. + * tic54x-dis.c: Likewise. + +2001-07-23 Kazu Hirata + + * m68k-dis.c: Fix formatting. + * pj-dis.c: Likewise. + * s390-dis.c: Likewise. + * z8k-dis.c: Likewise. + +2001-07-21 Chris Demetriou + + * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s + into the rest of the surrounding definitions. + +2001-07-18 Alan Modra + + * i386-dis.c (grps): Print l or w suffix, and require mem modrm + for lgdt, lidt, sgdt, sidt. + +2001-07-13 Philip Blundell + + * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. + +2001-07-12 Jeff Johnston + + * cgen-asm.in: Include "xregex.h" always to enable the libiberty + regex support. + (@arch@_cgen_build_insn_regex): New routine from Graydon. + (@arch@_cgen_assemble_insn): Add Graydon's code to use regex + to verify if it is worth parsing the insn as insn "x". Also update + error message when insn is not a recognized format of the insn vs + when the insn is completely unrecognized. + +2001-07-11 Frank Ch. Eigler + + * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of + bfd_get_bits. + * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect + non-zero CGEN_CPU_DESC->insn_chunk_bitsize. + +2001-07-09 Andreas Jaeger , Karsten Keil + + * i386-dis.c (set_op): Handle 64 bit and 32 bit mode. + (OP_J): Use bfd_vma for mask to work properly with 64 bits. + (op_address,op_riprel): Use bfd_vma to handle 64 bits. + +2001-07-05 Ben Elliston + + * Makefile.am (CPUDIR): Define. + (stamp-m32r): Update dependencies. + (stamp-fr30): Ditto. + (stamp-openrisc): Ditto. + * Makefile.in: Regenerate. + +2001-07-03 Zoltan Hidvegi + + * ppc-opc.c: Fix encoding of 'clf' instruction. + +2001-06-30 Geoffrey Keating + + * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT. + +2001-06-28 Geoffrey Keating + + * cgen-asm.c (cgen_parse_keyword): Allow any first character. + * cgen-opc.c (cgen_keyword_add): Ignore special first + character when building nonalpha_chars field. + +2001-06-24 Ben Elliston + + * m88k-dis.c: Format to conform to GNU coding standards. + +2001-06-23 Andreas Jaeger + + * disassemble.c (disassembler_usage): Add unused attribute. + +2001-06-22 Eric Christopher + + * mips-opc.c: Move prefx to start of the table. + +2001-06-22 Stacey Sheldon + + * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST + instruction. + +2001-06-22 Pauli + + * m68k-opc.c: Add wdebug instruction. + +2001-06-15 Aldy Hernandez + + * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc. + +2001-06-14 Geoffrey Keating + + * cgen-asm.c (cgen_parse_keyword): When looking for the + boundaries of a keyword, allow any special characters + that are actually in one of the allowed keyword. + * cgen-opc.c (cgen_keyword_add): Add any special characters + to the nonalpha_chars field. + +2001-06-12 Martin Schwidefsky + + * s390-opc.c: Add lgh instruction. + * s390-opc.txt: Likewise. + +2001-06-11 Alan Modra + + * i386-dis.c: Group function prototypes in one place. + (FLOATCODE): Redefine as 1. + (USE_GROUPS): Redefine as 2. + (USE_PREFIX_USER_TABLE): Redefine as 3. + (X86_64_SPECIAL): Define as 4. + (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2. + (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE. + (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete. + (dis386): New table combining above four tables. + (dis386_twobyte_att, dis386_twobyte_intel): Delete. + (dis386_twobyte): New table combining above two tables. + (x86_64_table): New table to handle x86_64. + (X86_64_0): Define. + (float_mem_att, float_mem_intel): Delet. + (float_mem): New table combining above two tables. + (print_insn_i386): Modify for above. + (dofloat): Likewise. + (putop): Handle '{', '|' and '}' to select alternative mnemonics. + Return 0 on success, 1 if no valid alternative. + (putop , ): Print nothing for intel_syntax. + (putop ): Move to case 'U', and share case 'Q' code. + (putop ): Move to case 'T', and share case 'P' code. + (OP_REG ): Handle as for eAX_reg .. eDI_reg + if not 64-bit mode. + (OP_I ): Handle as for v_mode if not 64-bit mode. + (OP_I64): If not 64-bit mode, call OP_I. + OP_OFF64): If not 64-bit mode, call OP_OFF. + (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename + 'ignore'/'ignored' to 'bytemode'. + +2001-06-10 Alan Modra + + * configure.in: Sort 'ta' case statement. + * configure: Regenerate. + + * i386-dis.c (dis386_att): Add 'H' to conditional branch and + loop,jcxz insns. + (disx86_64_att): Likewise. + (dis386_twobyte_att): Likewise. + (print_insn_i386): Don't print branch hints as a prefix. + (putop): 'H' macro prints branch hints. + (get64): Kill compile warnings. + +2001-06-09 Alexandre Oliva + + * sh-opc.h (sh_table): Don't use empty initializers. + +2001-06-06 Christian Groessler + + * z8k-dis.c: Fix formatting. + (unpack_instr): Remove unused cases in switch statement. Add + safety abort() in default case. + (unparse_instr): Add safety abort() in default case. + +2001-06-06 Peter Jakubek + + * m68k-dis.c (print_insn_m68k): Fix typo. + * m68k-opc.c (m68k_opcodes): Correct allowed operands for + mcf (ColdFire) div, rem and moveb instructions. + +2001-06-06 Alan Modra + + * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define. + (cond_jump_mode, loop_jcxz_mode): Define. + (dis386_att): Add cond_jump_flag and loop_jcxz_flag as + appropriate, and 'F' suffix to loop insns. + (disx86_64_att): Likewise. + (dis386_twobyte_att): Likewise. + (print_insn_i386): Don't output addr prefix for loop, jcxz insns. + Output data size prefix for long conditional jumps. Output cs and + ds branch hints. + (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'. + (OP_J): Don't make PREFIX_DATA used. + +2001-06-04 Alexandre Oliva + + * sh-opc.h (sh_table): Complete last element entry to avoid + compiler warning. + +2001-05-16 Thiemo Seufer + + * mips-dis.c (mips_isa_type): Add MIPS r12k support. + +2001-05-23 Alan Modra + + * arc-opc.c: Whitespace changes. + +2001-05-18 Hans-Peter Nilsson + + * cris-opc.c (cris_spec_regs): Add missing initializer field for + last element. + +2001-05-15 Frank Ch. Eigler + + * cgen-dis.in (extract_normal): Complete support for min + + * mips-dis.c (INSNLEN): Rename MAXLEN. + (std_reg_names): Replace by mips32_reg_names and mips64_reg_names. + (print_insn_arg): Remove $ prefix of register names. + (set_mips_isa_type): Remove. + (mips_isa_type): New function. + (get_mips_isa): New Function. + (print_insn_mips): Rename _print_insn_mips. + (_print_insn_mips): New function, contains code which was + duplicated in print_insn_big_mips and print_insn_little_mips. + (print_insn_big_mips): Moved code to _print_insn_mips. + (print_insn_little_mips): Likewise. + (print_mips16_insn_arg): Remove $ prefix of register names. + Print error message before abort. + +2001-05-14 J.T. Conklin + + * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of + simplified mnemonics used for setting PPC750-specific special + purpose registers. + +2001-05-12 H.J. Lu + + * i386-dis.c (print_insn_i386): Always set `mod', `reg' and + `rm'. + +2001-05-12 Peter Targett + + * arc-opc.c (arc_reg_names): Correct attribute for lp_count + register to r/w. Formatting fixes throughout file. + +2001-05-12 Alan Modra + + * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and + movq operands. + (twobyte_has_modrm): Update table. + (need_modrm): Give it file scope. + (MODRM_CHECK): Define. + (dofloat): Use MODRM_CHECK. + (OP_E): Likewise. + (OP_EM): Likewise. + (OP_EX): Likewise. + +2001-05-07 Frank Ch. Eigler + + * cgen-dis.in (default_print_insn): Tolerate min + + * disassemble.c (disassembler_usage): Remove unused attribute. + +2001-05-04 Frank Ch. Eigler + + * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes. + +2001-05-04 Frank Ch. Eigler + + * cgen-dis.in (print_insn): Remove call to read_insn. Instead, + assume incoming buffer already has the base insn loaded. Handle + smaller-than-base instructions for variable-length case. + +2001-05-04 Alan Modra + + * i386-dis.c (Ev, Ed): Remove duplicate define. + (Gd): Define. + (XS): Define. + (OP_XS): New function. + (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and + movmskp operands. + (dis386_twobyte_intel): Likewise. + (prefix_user_table): Use MS for maskmovq operand. + +2001-04-27 Johan Rydberg + + * Makefile.am: Add OpenRISC target. + * Makefile.in: Regenerated. + + * disassemble.c (disassembler): Recognize the OpenRISC disassembly. + + * configure.in (bfd_openrisc_arch): Add target. + * configure: Regenerated. + + * openrisc-asm.c: New file. + * openrisc-desc.c: Likewise. + * openrisc-desc.h: Likewise. + * openrisc-dis.c: Likewise. + * openrisc-ibld.c: Likewise. + * openrisc-opc.c: Likewise. + * openrisc-opc.h: Likewise. + +2001-04-24 Christian Groessler + + * z8k-dis.c: add names of control registers (ctrl_names); + (seg_length): provides instruction length fixup for segmented + mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12, + CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases; + (unparse_intr): handle CLASS_PR, print addresses without '#' + * z8k-opc.h: re-created with new z8kgen + * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new + entries for ldctl/ldctlb instruction + +2001-04-06 Andreas Jaeger + + * i386-dis.c: Add ffreep instruction. + +2001-03-30 Alexandre Oliva + + * ppc-opc.c (insert_mbe): Shift mask initializer as long. + +2001-03-24 Alan Modra + + * i386-dis.c (PREGRP25): Define. + (dis386_twobyte_att): Use here in place of "movntq" entry. + (dis386_twobyte_intel): Likewise. + (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq". + (PREGRP26): Define. + (dis386_twobyte_att): Use here. + (dis386_twobyte_intel): Likewise. + (prefix_user_table): Add PREGRP26 entry for "punpcklqdq". + (prefix_user_table ): XM operand, not MX. + (prefix_user_table): Cosmetic changes to "bad" entries. + +2001-03-23 Nick Clifton + + * mips-opc.c: Remove extraneous whitespace. + * mips-dis.c: Remove extraneous whitespace. + +2001-03-22 Ben Elliston + + * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg + declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional. + * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused + to allay a compiler warning. + +2001-03-22 Alan Modra + + * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq. + (dis386_twobyte_intel): Likewise. + (twobyte_has_modrm): Set entry for paddq, psubq. + +2001-03-20 Patrick Macdonald + + * cgen-dis.in (print_insn_@arch@): Add support for target machine + determination via CGEN_COMPUTE_MACH. + * fr30-desc.c: Regenerate. + * fr30-dis.c: Regenerate. + * fr30-opc.h: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-dis.c: Regenerate. + * m32r-opc.h: Regenerate. + * m32r-opinst.c: Regenerate. + +2001-03-20 H.J. Lu + + * configure.in: Remove the redundent AC_ARG_PROGRAM. + * configure: Rebuild. + +2001-03-19 Jim Wilson + + * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and + notestr if larger than xsect. + (in_class): Handle format M5. + * ia64-asmtab.c: Regnerate. + +2001-03-19 John David Anglin + + * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer + has more than one byte left to read. + +2001-03-16 Martin Schwidefsky + + * s390-opc.c: Add new opcodes. Smooth out formatting. + * s390-opc.txt: Add new opcodes. + +2001-03-06 Nick Clifton + + * arm-dis.c (print_insn_thumb): Compute destination address + of BLX(1) instruction by taking bit 1 from PC and not from bit + 0 of the offset. + +2001-03-06 Igor Shevlyakov + + * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs + so command line switches will work. + +2001-03-05 Dave Brolley + + * fr30-asm.c: Regenerate. + * fr30-desc.c: Regenerate. + * fr30-desc.h: Regenerate. + * fr30-dis.c: Regenerate. + * fr30-ibld.c: Regenerate. + * fr30-opc.c: Regenerate. + * fr30-opc.h: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-desc.h: Regenerate. + * m32r-dis.c: Regenerate. + * m32r-ibld.c: Regenerate. + * m32r-opc.c: Regenerate. + * m32r-opc.h: Regenerate. + * m32r-opinst.c: Regenerate. + +2001-02-28 Igor Shevlyakov + + * m68k-opc.c: fix cpushl according to Motorola. Enable + bunch of instructions for Coldfire 5407 and add all new. + +2001-02-27 Alan Modra + + * configure.in (BFD_VERSION): Do without grep. + * configure: Regenerate. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2001-02-23 David Mosberger + + * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4". + * ia64-asmtab.c: Regenerate. + +2001-02-21 David Mosberger + + * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two + separate variants: one for IMM22 and the other for IMM14. + * ia64-asmtab.c: Regenerate. + +2001-02-21 Greg McGary + + * cgen-opc.c (cgen_get_insn_value): Add missing `return'. + +2001-02-20 H.J. Lu + + * Makefile.am (ia64-ic.tbl): Remove the target. + (ia64-raw.tbl): Likewise. + (ia64-waw.tbl): Likewise. + (ia64-war.tbl): Likewise. + (ia64-asmtab.c): Generate it in the source directory. + * Makefile.in: Regenerated. + +2001-02-18 lars brinkhoff + + * Makefile.am: Add PDP-11 target. + * configure.in: Likewise. + * disassemble.c: Likewise. + * pdp11-dis.c: New file. + * pdp11-opc.c: New file. + +2001-02-14 Jim Wilson + + * ia64-ic.tbl: Update from Intel. Add setf to fr-writers. + * ia64-asmtab.c: Regenerate. + +2001-02-12 Jan Hubicka + + * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison + instructions. + (putop): Handle 'Y' + +2001-02-11 Maciej W. Rozycki + + * mips-dis.c (print_insn_arg): Use top four bits of the address of + the following instruction not of the jump itself for the jump + target. + (print_mips16_insn_arg): Likewise. + +2001-02-11 Michael Sokolov + + * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build + directory. + * Makefile.in: Regenerate. + +2001-02-09 Schwidefsky + + * Makefile.am: Add linux target for S/390. + * Makefile.in: Likewise. + * configure.in: Likewise. + * disassemble.c: Likewise. + * s390-dis.c: New file. + * s390-mkopc.c: New file. + * s390-opc.c: New file. + * s390-opc.txt: New file. + +2001-02-05 Jim Wilson + + * ia64-asmtab.c: Revert 2000-12-16 change. + +2001-02-02 Patrick Macdonald + + * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS. + * m32r-desc.h: Regenerate. + +2001-02-01 Jan Hubicka + + * i386-dis.c (dis386_att, grps): Use 'T' for push/pop + (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax + +2001-01-14 Alan Modra + + * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types. + +2001-01-13 Nick Clifton + + * disassemble.c: Remove spurious white space. + +2001-01-13 Jan Hubicka + + * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret + templates. + +2001-01-11 Peter Targett + + * configure.in: Add arc-ext.lo for bfd_arc_arch selection. + * Makefile.am (C_FILES): Add arc-ext.c. + (ALL_MACHINES) Add arc-ext.lo. + (INCLUDES) Add opcode directory to list. + New dependency entry for arc-ext.lo. + * disassemble.c (disassembler): Correct call to + arc_get_disassembler. + * arc-opc.c: New update for ARC, including full base + instructions for ARC variants. + * arc-dis.h, arc-dis.c: New update for ARC, including + extensibility functionality. + * arc-ext.h, arc-ext.c: New files for handling extensibility. + +2001-01-10 Jan Hubicka + + * i386-dis.c (PREGRP15 - PREGRP24): New. + (dis386_twobyt): Add SSE2 instructions. + (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions. + (twobyte_uses_f3_prefix): ... this one. + (grps): Add SSE instructions. + (prefix_user_table): Add two new slots; add SSE2 instructions. + (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix; + Handle the REPNZ and Data16 prefixes as well; do proper lookup + to prefix_user_table. + (OP_E): Accept mfence and lfence as well. + (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions. + (OP_XMM): Support REX extensions. + (OP_EM): Likewise. + (OP_EX): Likewise. + +2001-01-09 Nick Clifton + + * arm-dis.c (print_insn): Set pc to zero for instructions with + a reloc associated with them. + +2001-01-09 Jeff Johnston + + * cgen-asm.in (parse_insn_normal): Changed syn to be + CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn + as character to use CGEN_SYNTAX_CHAR macro and all comparisons + to '\0' to use 0 instead. + * cgen-dis.in (print_insn_normal): Ditto. + * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto. + +2001-01-05 Jan Hubicka + + * i386-dis.c: Add x86_64 support. + (rex): New static variable. + (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants. + (USED_REX): New macro. + (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros. + (OP_I64, OP_OFF64, OP_IMREG): New functions. + (OP_REG, OP_OFF): Declare. + (get64, get32, get32s): New functions. + (r??_reg): New constants. + (dis386_att): Change templates of instruction implicitly promoted + to 64bit; change e?? to RMe?? for unwind RM byte instructions. + (grps): Likewise. + (dis386_intel): Likewise. + (dixx86_64_att): New table based on dis386_att. + (dixx86_64_intel): New table based on dis386_intel. + (names64, names8rex): New global variable. + (names32, names16): Add extended registers. + (prefix_user_t): Recognize rex prefixes. + (prefix_name): Print REX prefixes nicely. + (op_riprel): New global variable. + (start_pc): Set type to bfd_vma. + (print_insn_i386): Detect the 64bit mode and use proper table; + move ckprefix after initializing the buffer; output unused rex prefixes; + output information about target of RIP relative addresses. + (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S'; + (print_operand_value): New function. + (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for + REX prefix and new modes. + (get64, get32s): New. + (get32): Return bfd_signed_vma type. + (set_op): Initialize the op_riprel. + * disassemble.c (disassembler): Recognize the x86-64 disassembly. + +2001-01-03 Richard Sandiford + + cgen-dis.in (read_insn): Use bfd_get_bits() + +2001-01-02 Richard Sandiford + + * cgen-dis.c (hash_insn_array): Use bfd_put_bits(). + (hash_insn_list): Likewise + * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits(). + (extract_1): Use bfd_get_bits(). + (extract_normal): Apply sign extension to both extraction + methods. + * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits() + (cgen_put_insn_value): Use bfd_put_bits() + +2000-12-28 Frank Ch. Eigler + + * cgen-asm.in (parse_insn_normal): Print better error message for + instructions with missing operands. + +2000-12-21 Santeri Paavolainen + + * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined. + +2000-12-16 Nick Clifton + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure.in: Add spacing. + * configure: Regenerate. + * ia64-asmtab.c: Regenerate. + * po/opcodes.pot: Regenerate. + +2000-12-12 Frank Ch. Eigler + + * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time + error messages over later parse-time ones. + +2000-12-12 Jim Wilson + + * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode + argument. + * ia64-gen.c (insert_deplist): Cast sizeof result to int. + (print_dependency_table): Print NULL if semantics field not set. + (insert_opcode_dependencies): Mark cmp parameter as unused. + (print_main_table): Use fprintf_vma to print long long fields. + (main): Mark argv paramter as unused. Convert to old style definition. + * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. + * ia64-asmtab.c: Regnerate. + +2000-12-09 Nick Clifton + + * m32r-dis.c (print_insn): Prevent re-read of instruction from + wrong address. + + * fr30-dis.c: Regenerate. + +2000-12-08 Peter Targett + + * configure.in: Add arc-ext.lo for bfd_arc_arch selection. + * Makefile.am (C_FILES): Add arc-ext.c. + (ALL_MACHINES) Add arc-ext.lo. + (INCLUDES) Add opcode directory to list. + New dependency entry for arc-ext.lo. + * disassemble.c (disassembler): Correct call to + arc_get_disassembler. + * arc-opc.c: New update for ARC, including full base + instructions for ARC variants. + * arc-dis.h, arc-dis.c: New update for ARC, including + extensibility functionality. + * arc-ext.h, arc-ext.c: New files for handling extensibility. + +2000-12-03 Chris Demetriou cgd@sibyte.com + + * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO, + MOD_HILO, and MOD_LO macros. + + * mips-opc.c (M1, M2): Delete. + (mips_builtin_opcodes): Remove all uses of M1. + + * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2 + instructions take "G" format second operands and use the + correct flags. + There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to + match. + Delete "sel" code operands from mfc1 and mtc1. + Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants + for dm[ft]c[023]. + +2000-12-03 Ed Satterthwaite ehs@sibyte.com and + Chris Demetriou cgd@sibyte.com + + * mips-opc.c (mips_builtin_opcodes): Finish additions + for MIPS32 support, and clean up existing entries for + aesthetics, consistency with the MIPS32 ISA, and + with consistency the rest of the table. + +2000-12-01 Nick Clifton + + * mips16-opc.c (mips16_opcodes): Add initialiser for membership + field. + +2000-12-01 Chris Demetriou + + mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument + specifiers. Update 'B' for new constant names, and remove + 'm'. + mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop" + near the top of the array, so they are disassembled properly. + Enable "ssnop" for MIPS32. Add "break" variant with 20 bit + code for MIPS32. Update "clo" and "clz" to use 'U' operand + specifier. Add 'H' format specifier variants for "mfc1," + "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update + MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32 + "wait" variant which uses 'J' operand specifier. + + * mips-dis.c (set_mips_isa_type): Update to use + CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case. + Replace bfd_mach_mips4K with bfd_mach_mips32_4k case. + * mips-opc.c (I32): New constant for instructions added in + MIPS32. + (P4): Delete. + (mips_builtin_opcodes) Replace all uses of P4 with I32. + + * mips-dis.c (set_mips_isa_type): Add cases for + bfd_mach_mips5 and bfd_mach_mips64. + * mips-opc.c (I64): New definitions. + + * mips-dis.c (set_mips_isa_type): Add case for + bfd_mach_mips_sb1. + +2000-11-28 Hans-Peter Nilsson + + * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned. + (print_insn_ppi): Make nib1, nib2, nib3 unsigned. + Initialize variable dc to NULL. + (print_insn_shx): Remove unused label d_reg_n. + +2000-11-24 Nick Clifton + + * arm-opc.h: Add new opcode formatting parameter 'B'. + (arm_opcodes): Add XScale, v5, and v5te instructions. + (thumb_opcodes): Add v5t instructions. + + * arm-dis.c (print_insn_arm): Handle new 'B' format + parameter. + (print_insn_thumb): Decode BLX(1) instruction. + +2000-11-21 Chris Demetriou + + * mips-opc.c: Fix file header comment. + +2000-11-14 Hans-Peter Nilsson + + * cris-dis.c (cris_get_disassembler): If abfd is NULL, return + print_insn_cris_with_register_prefix. + +2000-11-11 Alexandre Oliva + + * sh-opc.h: The operand of `mov.w r0, (,GBR)' is IMM1, not 0. + +2000-11-07 Matthew Green + + * cgen-dis.in (print_insn): All insns which can fit into insn_value + must be loaded there in their entirety. + +2000-10-20 Jakub Jelinek + + * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs. + (compute_arch_mask): Add v8plusb and v9b machines. + (print_insn_sparc): siam mode decoding, accept ASRs up to 25. + * sparc-opc.c: Support for Cheetah instruction set. + (prefetch_table): Add #invalidate. + +2000-10-16 Nick Clifton + + * mcore-dis.c (imsk): Change mask for OC to 0xFE00. + +2000-10-06 Dave Brolley + + * fr30-desc.h: Regenerate. + * m32r-desc.h: Regenerate. + * m32r-ibld.c: Regenerate. + +2000-10-05 Jim Wilson + + * ia64-ic.tbl: Update from Intel. + * ia64-asmtab.c: Regenerate. + +2000-10-04 Kazu Hirata + + * ia64-gen.c: Convert C++-style comments to C-style comments. + * tic54x-dis.c: Likewise. + +2000-09-29 Hans-Peter Nilsson + + Changes to add dollar prefix to registers for files where user symbols + don't have a leading underscore. Fix formatting. + * cris-dis.c (REGISTER_PREFIX_CHAR): New. + (format_reg): Add parameter with_reg_prefix. All callers changed. + (print_with_operands): Ditto. + (print_insn_cris_generic): Renamed from print_insn_cris, add + parameter with_reg_prefix. + (print_insn_cris_with_register_prefix, + print_insn_cris_without_register_prefix, cris_get_disassembler): + New. + * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler. + +2000-09-22 Jim Wilson + + * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for + gt, ge, ngt, and nge. + * ia64-asmtab.c: Regenerate. + + * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change. + * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP. + (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62". + * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update. + * ia64-asmtab.c: Regnerate. + +2000-09-13 Anders Norlander + + * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores. + Add mfc0 and mtc0 with sub-selection values. + Add clo and clz opcodes. + Add msub and msubu instructions for MIPS32. + Add madd/maddu aliases for mad/madu for MIPS32. + Support wait, deret, eret, movn, pref for MIPS32. + Support tlbp, tlbr, tlbwi, tlbwr. + (P4): New define. + + * mips-dis.c (print_insn_arg): Print sdbbp 'm' args. + (print_insn_arg): Handle 'H' args. + (set_mips_isa_type): Recognize 4K. + Use CPU_* defines instead of hardcoded numbers. + +2000-09-11 Catherine Moore + + * d30v-opc.c (d30v_operand_t): New operand type Rb2. + (d30v_format_tab): Use Rb2 for modinc and moddec. + +2000-09-07 Catherine Moore + + * d30v-opc.c (d30v_format_tab): Use format Ra for + modinc and moddec. + +2000-09-06 Alexandre Oliva + + * configure: Rebuilt with new libtool.m4. + +2000-09-05 Nick Clifton + + * configure: Regenerate. + * po/opcodes.pot: Regenerate. + +2000-08-31 Alexandre Oliva + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-08-30 Kazu Hirata + + * tic80-dis.c: Fix formatting. + +2000-08-29 Kazu Hirata + + * w65-dis.c: Fix formatting. + +2000-08-28 Mark Hatle + + * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics. + (powerpc_opcodes): Add table entries for PPC 405 instructions. + Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403 + instructions. Added extended mnemonic mftbl as defined in the + 405GP manual for all PPCs. + +2000-08-28 Jim Wilson + + * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode + call. Change last goto to use failed instead of done. + +2000-08-28 Dave Brolley + + * cgen-ibld.in (cgen_put_insn_int_value): New function. + (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. + (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P. + (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. + * cgen-dis.in (read_insn): New static function. + (print_insn): Use read_insn to read the insn into the buffer and set + up for disassembly. + (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is + in the buffer. + * fr30-asm.c: Regenerated. + * fr30-desc.c: Regenerated. + * fr30-desc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-ibld.c: Regenerated. + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * m32r-asm.c: Regenerated. + * m32r-desc.c: Regenerated. + * m32r-desc.h: Regenerated. + * m32r-dis.c: Regenerated. + * m32r-ibld.c: Regenerated. + * m32r-opc.c: Regenerated. + +2000-08-28 Kazu Hirata + + * tic30-dis.c: Fix formatting. + +2000-08-27 Kazu Hirata + + * sh-dis.c: Fix formatting. + +2000-08-24 David Edelsohn + + * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd. + +2000-08-24 Kazu Hirata + + * z8k-dis.c: Fix formatting. + +2000-08-16 Jim Wilson + + * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete + break, mov-immediate, nop. + * ia64-opc-f.c: Delete fpsub instructions. + * ia64-opc-m.c: Add POSTINC to all instructions with postincrement + address operand. Rewrite using macros to avoid long lines. + * ia64-opc.h (POSTINC): Define. + * ia64-asmtab.c: Regenerate. + +2000-08-15 Jim Wilson + + * ia64-ic.tbl: Add missing entries. + +2000-08-08 Jason Eckhardt + + * i860-dis.c (print_br_address): Change third argument from int + to long. + +2000-08-07 Richard Henderson + + * ia64-dis.c (print_insn_ia64): Get byte skip count correct + for MLI templates. Handle IA64_OPND_TGT64. + +2000-08-04 Ben Elliston + + * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files. + * cgen.sh: Likewise. + +2000-08-02 Jim Wilson + + * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end. + +2000-07-29 Marek Michalkiewicz + + * avr-dis.c (avr_operand): Use PARAMS macro in declaration. + Change return type from void to int. Check the combination + of operands, return 1 if valid. Fix to avoid BUF overflow. + Report undefined combinations of operands in COMMENT. + Report internal errors to stderr. Output the adiw/sbiw + constant operand in both decimal and hex. + (print_insn_avr): Disassemble ldd/std with displacement of 0 + as ld/st. Check avr_operand () return value, handle invalid + combinations of operands like unknown opcodes. + +2000-07-28 Ben Elliston + + * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New. + (run-cgen, stamp-m32r, stamp-fr30): New targets. + * Makefile.in: Regenerate. + * configure.in: Add --enable-cgen-maint option. + * configure: Regenerate. + +2000-07-26 Dave Brolley + + * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. + (cgen_hw_lookup_by_num): Ditto. + (cgen_operand_lookup_by_name): Ditto. + (print_address): Ditto. + (print_keyword): Ditto. + * cgen-dis.c (hash_insn_array): Mark unused parameters with + ATTRIBUTE_UNUSED. + * cgen-asm.c (hash_insn_array): Mark unused parameters with + ATTRIBUTE_UNUSED. + (cgen_parse_keyword): Ditto. + +2000-07-22 Jason Eckhardt + + * i860-dis.c: New file. + (print_insn_i860): New function. + (print_br_address): New function. + (sign_extend): New function. + (BITWISE_OP): New macro. + (I860_REG_PREFIX): New macro. + (grnames, frnames, crnames): New structures. + + * disassemble.c (ARCH_i860): Define. + (disassembler): Add check for bfd_arch_i860 to set disassemble + function to print_insn_i860. + + * Makefile.in (CFILES): Added i860-dis.c. + (ALL_MACHINES): Added i860-dis.lo. + (i860-dis.lo): New dependences. + + * configure.in: New bits for bfd_i860_arch. + + * configure: Regenerated. + +2000-07-20 Hans-Peter Nilsson + + * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c. + (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo. + (cris-dis.lo, cris-opc.lo): New rules. + * Makefile.in: Rebuild. + * configure.in (bfd_cris_arch): New target. + * configure: Rebuild. + * disassemble.c (ARCH_cris): Define. + (disassembler): Support ARCH_cris. + * cris-dis.c, cris-opc.c: New files. + * po/POTFILES.in, po/opcodes.pot: Regenerate. + +2000-07-11 Jakub Jelinek + + * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2. + Reported by Bill Clarke . + +2000-07-09 Geoffrey Keating + + * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw. + Patch by Randall J Fisher . + +2000-07-09 Alan Modra + + * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg, + fput_const, extract_3, extract_5_load, extract_5_store, + extract_5r_store, extract_5R_store, extract_10U_store, + extract_5Q_store, extract_11, extract_14, extract_16, extract_21, + extract_12, extract_17, extract_22): Prototype. + (print_insn_hppa): Rename inner block opcode -> opc to avoid + shadowing outer block. + (GET_BIT): Define. + +2000-07-05 DJ Delorie + + * MAINTAINERS: new + +2000-07-04 Alexandre Oliva + + * arm-dis.c (print_insn_arm): Output combinations of PSR flags. + +2000-07-03 Marek Michalkiewicz + + * avr-dis.c (avr_operand): Change _ () to _() around all strings + marked for translation (exception from the usual coding style). + (print_insn_avr): Initialize insn2 to avoid warnings. + +2000-07-03 Kazu Hirata + + * h8300-dis.c (bfd_h8_disassemble): Improve readability. + * h8500-dis.c: Fix formatting. + +2000-07-01 Alan Modra + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-26 Scott Bambrough + + * arm-dis.c (regnames): Add an additional register set to match + the set used by GCC. Make it the default. + +2000-06-22 Alan Modra + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-20 H.J. Lu + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-18 Stephane Carrez + + * Makefile.in, configure: regenerate + * disassemble.c (disassembler): Recognize ARCH_m68hc12, + ARCH_m68hc11. + * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12): + New functions. + * configure.in: Recognize m68hc12 and m68hc11. + * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x + * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly + and opcode generation for m68hc11 and m68hc12. + +2000-06-16 Nick Duffek + + * disassemble.c (disassembler): Refer to the PowerPC 620 using + bfd_mach_ppc_620 instead of 620. + +2000-06-12 Kazu Hirata + + * h8300-dis.c: Fix formatting. + (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl] + correctly. + +2000-06-09 Denis Chertykov + + * avr-dis.c (avr_operand): Bugfix for jmp/call address. + +2000-06-07 Denis Chertykov + + * avr-dis.c: completely rewritten. + +2000-06-02 Kazu Hirata + + * h8300-dis.c: Follow the GNU coding style. + (bfd_h8_disassemble) Fix a typo. + +2000-06-01 Kazu Hirata + + * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo. + (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl] + correctly. Fix a typo. + +2000-05-31 Nick Clifton + + * opintl.h (_(String)): Explain why dgettext is used instead of + gettext. + +2000-05-30 Nick Clifton + + * opintl.h (gettext, dgettext, dcgettext, textdomain, + bindtextdomain): Replace defines with those from intl/libgettext.h + to quieten gcc warnings. + +2000-05-26 Alan Modra + + * Makefile.am: Update dependencies with "make dep-am" + * Makefile.in: Regenerate. + +2000-05-25 Alexandre Oliva + + * m10300-dis.c (disassemble): Don't assume 32-bit longs when + sign-extending operands. + +2000-05-15 Donald Lindsay + + * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches + except brf's. + +2000-05-21 Nick Clifton + + * Makefile.am (LIBIBERTY): Define. + +2000-05-19 Diego Novillo + + * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES. + (STD_REGISTER_NAMES): New name for REGISTER_NAMES. + (reg_names): Rename to std_reg_names. Change it to a char ** + static variable. + (std_reg_names): New name for reg_names. + (set_mips_isa_type): Set reg_names to point to std_reg_names by + default. + +2000-05-16 Frank Ch. Eigler + + * fr30-desc.h: Partially regenerated to account for changed + CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. + * m32r-desc.h: Ditto. + +2000-05-15 Nick Clifton + + * arm-opc.h: Use upper case for flasg in MSR and MRS + instructions. Allow any bit to be set in the field_mask of + the MSR instruction. + + * arm-dis.c (print_insn_arm): Decode _x and _s bits of the + field_mask of an MSR instruction. + +2000-05-11 Thomas de Lellis + + * arm-opc.h: Disassembly of thumb ldsb/ldsh + instructions changed to ldrsb/ldrsh. + +2000-05-11 Ulf Carlsson + + * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit + target addresses for 'jal' and 'j'. + +2000-05-10 Geoff Keating + + * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes + also available in common mode when powerpc syntax is being used. + +2000-05-08 Alan Modra + + * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args. + (dummy_print_address): Ditto. + +2000-05-04 Timothy Wall + + * tic54x-opc.c: New. + * tic54x-dis.c: New. + * disassemble.c (disassembler): Add ARCH_tic54x. + * configure.in: Added tic54x target. + * configure: Ditto. + * Makefile.am: Add tic54x dependencies. + * Makefile.in: Ditto. + +2000-05-03 J.T. Conklin + + * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for + vector unit operands. + (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector + unit instruction formats. + (PPCVEC): New macro, mask for vector instructions. + (powerpc_operands): Add table entries for above operand types. + (powerpc_opcodes): Add table entries for vector instructions. + + * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask. + (print_insn_little_powerpc): Likewise. + (print_insn_powerpc): Prepend 'v' when printing vector registers. + +2000-04-24 Clinton Popetz + + * configure.in: Add bfd_powerpc_64_arch. + * disassemble.c (disassembler): Use print_insn_big_powerpc for + 64 bit code. + +2000-04-24 Nick Clifton + + * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow + field. + +2000-04-23 Denis Chertykov + + * avr-dis.c (reg_fmul_d): New. Extract destination register from + FMUL instruction. + (reg_fmul_r): New. Extract source register from FMUL instruction. + (reg_muls_d): New. Extract destination register from MULS instruction. + (reg_muls_r): New. Extract source register from MULS instruction. + (reg_movw_d): New. Extract destination register from MOVW instruction. + (reg_movw_r): New. Extract source register from MOVW instruction. + (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU, + EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions. + +2000-04-22 Timothy Wall + + * ia64-gen.c (general): Add an ordered table of primary + opcode names, as well as priority fields to disassembly data + structures to enforce a preferred disassembly format based on the + ordering of the opcode tables. + (load_insn_classes): Show a useful message if IC tables are missing. + (load_depfile): Ditto. + * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to + distinguish preferred disassembly. + * ia64-opc-f.c: Reorder some insn for preferred disassembly + format. Fix incorrect flag on fma.s/fma.s.s0. + * ia64-opc.c: Scan *all* disassembly matches and use the one with + the highest priority. + * ia64-opc-b.c: Use more abbreviations. + * ia64-asmtab.c: Regenerate. + +2000-04-21 Jason Eckhardt + + * hppa-dis.c (extract_16): New function. + (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of + new operand types l,y,&,fe,fE,fx. + +2000-04-21 Richard Henderson + David Mosberger + Timothy Wall + Bob Manson + Jim Wilson + + * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h. + (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, + ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c, + ia64-asmtab.c. + (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo. + (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen, + ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules. + * Makefile.in: Rebuild. + * configure Rebuild. + * configure.in (bfd_ia64_arch): New target. + * disassemble.c (ARCH_ia64): Define. + (disassembler): Support ARCH_ia64. + * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl, + ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c, + ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl, + ia64-war.tbl, ia64-waw.tbl: New files. + +2000-04-20 Alexandre Oliva + + * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define. + (disassemble): Use them. + +2000-04-14 Alan Modra + + * sysdep.h: Include "ansidecl.h" not + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2000-04-14 Michael Sokolov + + * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c, + avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, + disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c, + i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c, + m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c, + mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c, + ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c, + tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c, + w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove + ansidecl.h as sysdep.h includes it. + +2000-04-7 Andrew Cagney + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure: Re-generate. + +2000-04-05 J"orn Rennecke + + * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs. + stc GBR,@- is available for arch_sh1_up. + Group parallel processing insn with identical mnemonics together. + Make three-operand psha / pshl come first. + +2000-04-05 J"orn Rennecke + + * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. + Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. + (sh_arg_type): Add A_PC. + (sh_table): Update entries using immediates. Add repeat. + * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. + Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. + +2000-04-04 Alan Modra + + * po/opcodes.pot: Regenerate. + + * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. + (DEP): Quote when passing vars to sub-make. Add warning message + to end. + (DEP1): Rewrite for "gcc -MM". + (CLEANFILES): Add DEP2. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-03 Denis Chertykov + + * avr-dis.c: Syntax cleanup. + (add0fff): Print the pc relative address as a signed number. + (add03f8): Likewise. + +2000-04-01 Ian Lance Taylor + + * disassemble.c (disassembler_usage): Don't use a prototype. Mark + the parameter ATTRIBUTE_UNUSED. + * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed. + +2000-04-01 Alexandre Oliva + + * m10300-opc.c: SP-based offsets are always unsigned. + +2000-03-29 Thomas de Lellis + + * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal" + [branch always] instead of "undefined". + +2000-03-27 Nick Clifton + + * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of + short instructions, from end of list of long instructions. + +2000-03-27 Ian Lance Taylor + + * Makefile.am (CFILES): Add avr-dis.c. + (ALL_MACHINES): Add avr-dis.lo. + +2000-03-27 Alan Modra + + * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to + truncate integers. + (print_insn_avr): Call function via pointer in K&R compatible way. + (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204, + add0fff, add03f8): Convert to old style function declaration and + add prototype. + (avrdis_opcode): Add prototype. + +2000-03-27 Denis Chertykov + + * avr-dis.c: New file. AVR disassembler. + * configure.in (bfd_avr_arch): New architecture support. + * disassemble.c: Likewise. + * configure: Regenerate. + +2000-03-06 J"oern Rennecke + + * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement. + +2000-03-02 J"orn Rennecke + + * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand + flag to determine if operand is pc-relative. + * d30v-opc.c: + (d30v_format_table): + (REL6S3): Renamed from IMM6S3. + Added flag OPERAND_PCREL. + (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with + added flag OPERAND_PCREL. + (IMM12S3U): Replaced with REL12S3. + (SHORT_D2, LONG_D): Delay target is pc-relative. + (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r): + Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r, + using the REL* operands. + (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D. + (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B, + LONG_Db, using REL* operands. + (SHORT_U, SHORT_A5S): Removed stray alternatives. + (d30v_opcode_table): Use new *r formats. + +2000-02-28 Nick Clifton + + * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with + 'signed_overflow_ok_p'. + +2000-02-27 Eli Zaretskii + + * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the + name of the libtool directory. + * Makefile.in: Rebuild. + +2000-02-24 Nick Clifton + + * cgen-opc.c (cgen_set_signed_overflow_ok): New function. + (cgen_clear_signed_overflow_ok): New function. + (cgen_signed_overflow_ok_p): New function. + +2000-02-23 Andrew Haley + + * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, + m32r-ibld.c, m32r-opc.h: Rebuild. + +2000-02-23 Linas Vepstas + + * i370-dis.c, i370-opc.c: New. + + * disassemble.c (ARCH_i370): Define. + (disassembler): Handle it. + + * Makefile.am: Add support for Linux/IBM 370. + * configure.in: Likewise. + + * Makefile.in: Regenerate. + * configure: Likewise. + +2000-02-22 Chandra Chavva + + * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to + ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel + procedure. + +2000-02-22 Andrew Haley + + * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER: + force gp32 to zero. + * mips-opc.c (G6): New define. + (mips_builtin_op): Add "move" definition for -gp32. + +2000-02-22 Ian Lance Taylor + + From Grant Erickson : + * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2. + +2000-02-21 Alan Modra + + * dis-buf.c (buffer_read_memory): Change `length' param and all int + vars to unsigned. + +2000-02-17 J"orn Rennecke + + * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. + (print_insn_ppi): Likewise. + (print_insn_shx): Use info->mach to select appropriate insn set. + Add support for sh-dsp. Remove FD_REG_N support. + * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. + (sh_arg_type): Likewise. Remove FD_REG_N. + (sh_dsp_reg_nums): New enum. + (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. + (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. + (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. + (arch_sh3_dsp_up): Likewise. + (sh_opcode_info): New field: arch. + (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and + D_REG_N. Fill in arch field. Add sh-dsp insns. + +2000-02-14 Fernando Nasser + + * arm-dis.c: Change flavor name from atpcs-special to + special-atpcs to prevent name conflict in gdb. + (get_arm_regname_num_options, set_arm_regname_option, + get_arm_regnames): New functions. API to access the several + flavor of register names. Note: Used by gdb. + (print_insn_thumb): Use the register name entry from the currently + selected flavor for LR and PC. + +2000-02-10 Nick Clifton + + * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR + classes. + (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and + "mulsh.h" instructions. + * mcore-dis.c (imsk array): Add masks for MULSH and OPSR + classes. + (print_insn_mcore): Add support for little endian targets. + Add support for MULSH and OPSR classes. + +2000-02-07 Nick Clifton + + * arm-dis.c (parse_arm_diassembler_option): Rename again. + Previous delat did not take. + +2000-02-03 Timothy Wall + + * dis-buf.c (buffer_read_memory): Use octets_per_byte field + to adjust target address bounds checking and calculate the + appropriate octet offset into data. + +2000-01-27 Nick Clifton + + * arm-dis.c: (parse_disassembler_option): Rename to + parse_arm_disassembler_option and allow to be exported. + + * disassemble.c (disassembler_usage): New function: Print out any + target specific disassembler options. + Call arm_disassembler_options() if the ARM architecture is being + supported. + + * arm-dis.c (NUM_ELEM): Define this macro if not already + defined. + (arm_regname): New struct type for ARM register names. + (arm_toggle_regnames): Delete. + (parse_disassembler_option): Use register name structure. + (print_insn): New function: Combines duplicate code found in + print_insn_big_arm and print_insn_little_arm. + (print_insn_big_arm): Call print_insn. + (print_insn_little_arm): Call print_insn. + (print_arm_disassembler_options): Display list of supported, + ARM specific disassembler options. + +2000-01-27 Thomas de Lellis + + * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the + ARM_STT_16BIT flag as Thumb code symbols. + + * arm-dis.c (printf_insn_little_arm): Ditto. + +2000-01-25 Thomas de Lellis + + * arm-dis.c (printf_insn_thumb): Prevent double dumping + of raw thumb instructions. + +2000-01-20 Nick Clifton + + * mcore-opc.h (mcore_table): Add "add" as an alias for "addu". + +2000-01-03 Nick Clifton + + * arm-dis.c (streq): New macro. + (strneq): New macro. + (force_thumb): ew local variable. + (parse_disassembler_option): New function: Parse a single, ARM + specific disassembler command line switch. + (parse_disassembler_option): Call parse_disassembler_option to + parse individual command line switches. + (print_insn_big_arm): Check force_thumb. + (print_insn_little_arm): Check force_thumb. + +For older changes see ChangeLog-9899 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog-0203 b/opcodes/ChangeLog-0203 new file mode 100644 index 00000000000..25ed8b55868 --- /dev/null +++ b/opcodes/ChangeLog-0203 @@ -0,0 +1,2110 @@ +2003-12-15 Christian Groessler + + * z8k-dis.c (intr_names): Removed. + (print_intr, print_flags): New functions. + (unparse_instr): Use new functions. + +2003-12-15 Kazuhiro Inaoka + + * m32r-opc.c: Regenerate. + +2003-12-14 Mark Mitchell + + * arm-opc.h (arm_opcodes): Put V6 instructions before XScale + instructions. + +2003-12-13 Hans-Peter Nilsson + + * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE, + SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE + and SWYM_INSN_BYTE instead of raw numbers. + +2003-12-10 Zack Weinberg + + * ppc-opc.c (MO): Make optional. + (RAO, RSO, SHO): New optional forms of RA, RS, SH operands. + (tlbwe): Accept for both PPC403 and BOOKE. Make all operands optional. + +2003-12-05 Ricardo Anguiano + Mark Mitchell + Richard Earnshaw + + * arm-dis.c (print_arm_insn): Add 'W' macro. + * arm-opc.h (arm_opcodes): Add V6 instructions. + (thumb_opcodes): Likewise. + +2003-12-04 Alan Modra + + * openrisc-asm.c: Regenerate. + * pj-opc.c: Update copyright date. + +2003-12-03 Kazuhiro Inaoka + + * m32r-asm.c: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-desc.h: Regenerate. + * m32r-dis.c: Regenerate. + * m32r-ibld.c: Regenerate. + * m32r-opc.c: Regenerate. + * m32r-opc.h: Regenerate. + * m32r-opinst.c: Regenerate. + +2003-12-02 Alexandre Oliva + + * sh-opc.h: Add support for sh4a and no-fpu variants. + * sh-dis.c: Ditto. + +2003-12-02 Kazu Hirata + + * alpha-opc.c: Remove ARGSUSED. + * i370-opc.c: Likewise. + * ppc-opc.c: Likewise. + +2003-12-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-11-28 Christian Groessler + + * z8k-dis.c: Convert to ISO C90. + * z8kgen.c: Convert to ISO C90. + (opt): Move long opcode for "ldb rdb,imm8" after short one, now + the short one is created when assembling. + * z8k-opc.h: Regenerate with new z8kgen.c. + +2003-11-19 Kazu Hirata + + * h8300-dis.c (print_colon_thingie): Remove. + +2003-11-18 Maciej W. Rozycki + + * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and + "dlca". + +2003-11-14 Nick Clifton + + * dis-init.c (init_disassemble_info): Initialise + symbol_is_valid field. + * dis-buf.c (generic_symbol_is_valid): New function. Always + returns TRUE. + * arm-dis.c (arm_symbol_is_valid): New function. Return FALSE + for ARM ELF mapping symbols. + * disassemble.c (disassemble_init_for_target): Set + symbol_is_valid field to arm_symbol_is_valid of the target is + an ARM. + +2003-11-05 H.J. Lu + + * m68k-opc.c (m68k_opcodes): Reorder "fmovel". + +2003-11-03 Daniel Jacobowitz + + * arm-dis.c (print_arm_insn): Print "-" after "#". + +2003-10-30 Falk Hueffner + + * alpha-opc.c: Add support for a second argument to RPCC. + +2003-10-27 Stephane Carrez + + * m68hc11-dis.c: Convert to ISO C90 prototypes. + +2003-10-21 Peter Barada + Bernardo Innocenti + + * m68k-dis.c: Add MCFv4/MCF5528x support. + * m68k-opc.c: Likewise. + +2003-10-10 Dave Brolley + + * frv-asm.c,frv-desc.c,frv-opc.c: Regenerated. + +2003-10-08 Dave Brolley + + * frv-desc.[ch], frv-opc.[ch]: Regenerated. + +2003-09-30 Bob Wilson + + * xtensa-dis.c (fetch_data): Remove numBytes parameter. + (print_insn_xtensa): Fix call to fetch_data. + +2003-09-30 Chris Demetriou + + * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" + (print_insn_args): Add handing for +E, +F, +G, and +H. + * mips-opc.c (I65): New define for MIPS64r2. + (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", + "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", + and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to + be supported on MIPS64r2. + +2003-09-24 Dave Brolley + + * frv-desc.c, frv-opc.c, frv-opc.h: Regenerated. + +2003-09-14 Andreas Jaeger + + * i386-dis.c: Convert to ISO C90 prototypes. + * i370-dis.c: Likewise. + * i370-opc.c: Likewiwse. + * i960-dis.c: Likewise. + * ia64-opc.c: Likewise. + +2003-09-09 Dave Brolley + + * frv-desc.c: Regenerated. + +2003-09-08 Dave Brolley + + On behalf of Doug Evans + * Makefile.am (run-cgen): Pass new args archfile and opcfile + to cgen.sh. + (stamp-ip2k,stamp-m32r,stamp-fr30,stamp-frv,stamp-openrisc, + stamp-iq2000,stamp-xstormy16): Pass paths of .cpu and .opc files + to cgen.sh. + (stamp-frv): Delete hardcoded path spec workaround. + * Makefile.in: Regenerate. + * cgen.sh: New args archfile and opcfile. Pass on to cgen. + +2003-09-04 Nick Clifton + + * v850-dis.c (disassemble): Accept bfd_mach_v850e1. + * v850-opc.c (v850_opcodes): Add DBTRAP and DBRET instructions. + +2003-09-04 Alan Modra + + * ppc-dis.c (struct dis_private): New. + (powerpc_dialect): Make static. Accept -Many in addition to existing + options. Save dialect in dis_private. + (print_insn_big_powerpc): Retrieve dialect from dis_private. + (print_insn_little_powerpc): Likewise. + (print_insn_powerpc): Call powpc_dialect here. Remove unnecessary + efs/altivec check. Try harder to disassemble if given -Many. + * ppc-opc.c (insert_fxm): Expand comment. + (PPC, PPCCOM, PPC32, PPC64, PPCVEC): Remove PPC_OPCODE_ANY. + (POWER, POWER2, PPCPWR2, POWER32, COM, COM32, M601, PWRCOM): Likewise. + (POWER4): Remove PPCCOM. + (PPCONLY): Don't define. Update all occurrences to PPC. + +2003-09-03 Andrew Cagney + + * dis-init.c (init_disassemble_info): New file and function. + * Makefile.am (CFILES): Add "dis-init.c". + (libopcodes_la_SOURCES): Add "dis-init.c". + (dis-init.lo): Specify dependencies. + * Makefile.in: Regenerate. + +2003-09-03 Dave Brolley + + * frv-*: Regenerated. + +2003-09-02 Alan Modra + + * ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries. + Move duplicate mnemonic entries together. Use RS instead of RT on + all mt*. + * ppc-dis.c: Convert to ISO C. + +2003-08-29 Dave Brolley + + * Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from + $(srcdir)/../cpu temporarily when regenerating source files. + * Makefile.in: Regenerated. + +2003-08-19 Nick Clifton + + * arm-dis.c (print_insn_arm: case 'A'): Add code to + disassemble unindexed form of Addressing Mode 5. + +2003-08-19 Alan Modra + + * ppc-opc.c (PPC440): Define. + (powerpc_opcodes): Allow mac*, mul*, nmac*, dccci, dcread, iccci, + icread instructions when PPC440. Add dlmzb instruction. + +2003-08-14 Alan Modra + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + Run "make dep-am". + * Makefile.in: Regenerate. + +2003-08-07 Michael Meissner + + * cgen-asm.c (hash_insn_array): Remove PARAMS macro. + (hash_insn_list): Ditto. + (build_asm_hash_table): Ditto. + (cgen_set_parse_operand_fn): Prototype definition. + (cgen_init_parse_operand): Ditto. + (hash_insn_array): Ditto. + (hash_insn_list): Ditto. + (build_asm_hash_table): Ditto. + (cgen_asm_lookup_insn): Ditto. + (cgen_parse_keyword): Ditto. + (cgen_parse_signed_integer): Ditto. + (cgen_parse_unsigned_integer): Ditto. + (cgen_parse_address): Ditto. + (cgen_validate_signed_integer): Ditto. + (cgen_validate_unsigned_integer): Ditto. + + * cgen-opc.c (hash_keyword_name): Remove PARAMS macro. + (hash_keyword_value): Ditto. + (build_keyword_hash_tables): Ditto. + (cgen_keyword_lookup_name): Prototype definition. + (cgen_keyword_lookup_value): Ditto. + (cgen_keyword_add): Ditto. + (cgen_keyword_search_init): Ditto. + (cgen_keyword_search_next): Ditto. + (hash_keyword_name): Ditto. + (hash_keyword_value): Ditto. + (build_keyword_hash_tables): Ditto. + (cgen_hw_lookup_by_name): Ditto. + (cgen_hw_lookup_by_num): Ditto. + (cgen_operand_lookup_by_name): Ditto. + (cgen_operand_lookup_by_num): Ditto. + (cgen_insn_count): Ditto. + (cgen_macro_insn_count): Ditto. + (cgen_get_insn_value): Ditto. + (cgen_put_insn_value): Ditto. + (cgen_lookup_insn): Ditto. + (cgen_get_insn_operands): Ditto. + (cgen_lookup_get_insn_operands): Ditto. + (cgen_set_signed_overflow_ok): Ditto. + (cgen_clear_signed_overflow_ok): Ditto. + (cgen_signed_overflow_ok_p): Ditto. + + * cgen-dis.c (hash_insn_array): Remove PARAMS macro. + (hash_insn_list): Ditto. + (build_dis_hash_table): Ditto. + (count_decodable_bits): Ditto. + (add_insn_to_hash_chain): Ditto. + (count_decodable_bits): Prototype definition. + (add_insn_to_hash_chain): Ditto. + (hash_insn_array): Ditto. + (hash_insn_list): Ditto. + (build_dis_hash_table): Ditto. + (cgen_dis_lookup_insn): Ditto. + + * cgen-asm.in (parse_insn_normal): Remove PARAMS macro. + (@arch@_cgen_build_insn_regex): Prototype definition. + (parse_insn_normal): Ditto. + (@arch@_cgen_assemble_insn): Ditto. + (@arch@_cgen_asm_hash_keywords): Ditto. + + * cgen-dis.in (print_normal): Remove PARAMS macro. Use void * + instead of PTR. + (print_address): Ditto. + (print_keyword): Ditto. + (print_insn_normal): Ditto. + (print_insn): Ditto. + (default_print_insn): Ditto. + (read_insn): Ditto. + (print_normal): Prototype definition. Use void * instead of PTR. + (print_address): Ditto. + (print_keyword): Ditto. + (print_insn_normal): Ditto. + (read_insn): Ditto. + (print_insn): Ditto. + (default_print_insn): Ditto. + (print_insn_@arch@): Ditto. + + * cgen-ibld.in (insert_normal): Remove PARAMS macro. + (insn_insn_normal): Ditto. + (extract_normal): Ditto. + (extract_insn_normal): Ditto. + (put_insn_int_value): Ditto. + (insert_1): Ditto. + (fill_cache): Ditto. + (extract_1): Ditto. + (insert_1): Prototype definition. + (insert_normal): Ditto. + (insert_insn_normal): Ditto. + (put_insn_int_value): Ditto. + (fill_cache): Ditto. + (extract_1): Ditto. + (extract_normal): Ditto. + (extract_insn_normal): Ditto. + + * fr30-asm.c: Regenerate. + * fr30-dis.c: Ditto. + * fr30-ibld.c: Ditto. + * frv-asm.c: Ditto. + * frv-dis.c: Ditto. + * frv-ibld.c: Ditto. + * ip2k-asm.c: Ditto. + * ip2k-dis.c: Ditto. + * ip2k-ibld.c: Ditto. + * iq2000-asm.c: Ditto. + * iq2000-dis.c: Ditto. + * iq2000-ibld.c: Ditto. + * m32r-asm.c: Ditto. + * m32r-dis.c: Ditto. + * m32r-ibld.c: Ditto. + * openrisc-asm.c: Ditto. + * openrisc-dis.c: Ditto. + * openrisc-ibld.c: Ditto. + * xstormy16-asm.c: Ditto. + * xstormy16-dis.c: Ditto. + * xstormy16-ibld.c: Ditto. + +2003-08-06 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-08-05 Nick Clifton + + * configure.in (ALL_LINGUAS): Add nl. + * configure: Regenerate. + * po/nl.po: New Dutch translation. + +2003-07-30 Jason Eckhardt + + * i860-dis.c: Convert to ISO C90. Remove superflous prototypes. + +2003-07-30 Nick Clifton + + * po/ro.po: Updated Romanian translation. + +2003-07-29 Jakub Jelinek + + * ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up. + +2003-07-24 Nick Clifton + + * po/fr.po: Updated French translation. + +2003-07-18 Nick Clifton + + * arm-dis.c (parse_arm_disassembler_option): Do not expect + option string to be NUL terminated. + (parse_disassembler_options): Allow options to be space or + comma separated. + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + * po/sv.po: New Swedish translation. + * po/opcodes.pot: Regenerate. + +2003-07-15 Richard Sandiford + + * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. + +2003-07-14 Nick Clifton + + * po/tr.po: Update with latest version. + * po/POTFILES.in: Regenerate. + * Makefile.in: Regenerate. + +2003-07-11 Alan Modra + + * po/opcodes.pot: Regenerate. + +2003-07-09 Alexandre Oliva + + 2000-05-25 Alexandre Oliva + * m10300-dis.c (disassemble): Negate negative accumulator's shift. + 2000-05-24 Alexandre Oliva + * m10300-dis.c (disassemble, case FSREG, FDREG): Don't assume + 32-bit longs when sign-extending operands. + 2000-04-20 Alexandre Oliva + * m10300-opc.c: Remove MN10300_OPERAND_RELAX from all FSREGs. + * m10300-dis.c (HAVE_AM33_2): Define. + (disassemble): Use it. + (HAVE_AM33): Redefine. + (print_insn_mn10300): Fix mask for 5-byte extended insns. + 2000-04-01 Alexandre Oliva + * m10300-opc.c: Renamed AM332 to AM33_2. + 2000-03-31 Alexandre Oliva + * m10300-opc.c: Defined AM33 2.0 register operands. Added support + for AM33 2.0 `imm8,(abs16)' addressing mode for btst, bset and + bclr. Implemented `fbCC', `flCC', `dcpf' and all FP insns. + * m10300-dis.c (print_insn_mn10300): Recognize 5byte extended + insn code of AM33 2.0. + (disassemble): Recognize FMT_D3. Print out FP register names. + +2003-07-09 Chris Demetriou + + * mips-dis.c (set_default_mips_dis_options): Get BFD from + the disassembler_info's section, rather than from the + disassembler_info's symbols pointer. + +2003-07-07 Alan Modra + + * ppc-opc.c: Remove NULL pointer checks. Formatting. Remove + extraneous ATTRIBUTE_UNUSED. + * ppc-dis.c (print_insn_powerpc): Always pass a valid address to + operand->extract. + +2003-07-04 Alan Modra + + * ppc-opc.c: Convert to C90, removing unnecessary prototypes and + casts. Formatting. + + * ppc-opc.c: Remove PARAMS from prototypes. + (FXM4): Define. + (insert_fxm): New function, used by both FXM and FXM4. + (extract_fxm): Likewise. + (XFXFXM_MASK): Remove 1 << 20 term. + (powerpc_opcodes): Add Power4 version of "mfcr". Simplify "mtcr" mask. + +2003-07-01 Martin Schwidefsky + + * s390-dis.c (s390_extract_operand): Add support for long displacements. + * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990. + * s390-opc.c (D20_20): Add define for 20 bit displacements. + (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD, + INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add + new instruction formats. + (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD, + MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise. + (s390_opformats): Likewise. + * s390-opc.txt: Add new instructions for cpu type z990. Add missing + hfp instructions. Add missing instructions pgin, pgout and xsch. + +2003-06-23 H.J. Lu + + * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in + Intel Precott New Instructions. + (PREGRP27): New. Added for "addsubpd" and "addsubps". + (PREGRP28): New. Added for "haddpd" and "haddps". + (PREGRP29): New. Added for "hsubpd" and "hsubps". + (PREGRP30): New. Added for "movsldup" and "movddup". + (PREGRP31): New. Added for "movshdup" and "movhpd". + (PREGRP32): New. Added for "lddqu". + (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry. + Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for + entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for + entry 0xd0. Use PREGRP32 for entry 0xf0. + (twobyte_has_modrm): Updated. + (twobyte_uses_SSE_prefix): Likewise. + (grps): Use PNI_Fixup in the "sidtQ" entry. + (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30, + PREGRP31 and PREGRP32. + (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb. + Use "fisttpll" in entry 1 in opcode 0xdd. + Use "fisttp" in entry 1 in opcode 0xdf. + +2003-06-19 Christian Groessler + + * z8k-dis.c (instr_data_s): Change tabl_index from long to int. + (print_insn_z8k): Correctly check return value from + z8k_lookup_instr call. + (unparse_instr): Handle CLASS_IRO case. + * z8kgen.c: Fix function definitions. Fix formatting. + (opt): Add brk opcode alias for non-simulator breakpoint. Add + missing and fix existing in/out and sin/sout opcode definitions. + (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out + opcodes. + (internal): Check p->flags for non-zero before dereferencing it. + (gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added + opcodes and renumber the remaining lines repectively. + (main): Remove "-d" command line switch. + * z8k-opc.h: Regenerate with new z8kgen.c. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-11 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-06-10 Doug Evans + + * cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to + CGEN_INSN_RELAXED. + * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate. + * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate. + * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate. + * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate. + * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate. + * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate. + * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate. + +2003-06-10 Gary Hade + Alan Modra + + * ppc-opc.c (DQ, RAQ, RSQ, RTQ): Define. + (insert_dq, extract_dq, insert_raq, insert_rtq, insert_rsq): New. + (powerpc_opcodes): Add "attn", "lq" and "stq". + +2003-06-10 Richard Sandiford + + * h8300-dis.c (bfd_h8_disassemble): Don't print brackets round + rts/l and rte/l register lists. + +2003-06-03 Nick Clifton + + * frv-desc.c: Regenerate. + * frv-opc.c: Regenerate. + * frv-asm.c: Regenerate. + * frv-desc.h: Regenerate. + * frv-dis.c: Regenerate. + * frv-ibld.c: Regenerate. + * frv-opc.h: Regenerate. + * po/opcodes.pot: Regenerate. + +2003-06-03 Michael Snyder + and Bernd Schmidt + and Alexandre Oliva + + * disassemble.c (disassembler): Add support for h8300sx. + * h8300-dis.c: Ditto. + +2003-06-03 Nick Clifton + + * frv-desc.c: Regenerate. + * frv-opc.c: Regenerate. + + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * iq2000-asm.c: Regenerate. + * iq2000-desc.c: Regenerate. + * iq2000-desc.h: Regenerate. + * iq2000-dis.c: Regenerate. + * iq2000-ibld.c: Regenerate. + * iq2000-opc.c: Regenerate. + * iq2000-opc.h: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2003-05-23 Jason Eckhardt + + * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3. + (print_insn_i860): Grab 4 bits of the control register field + instead of 3. + +2003-05-18 Jason Eckhardt + + * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit, + print it. + +2003-05-17 Andreas Jaeger + + * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la. + (libopcodes_la_DEPENDENCIES): Add libbfd.la. + * Makefile.in: Regenerated. + +2003-05-16 Nick Clifton + + * configure.in (ALL_LINGUAS): Add Romanian translation. + * configure: Regenerate. + * po/ro.po: New file: Romanian translation. + +2003-05-12 Dhananjay Deshpande + + * disassemble.c (disassembler): Add support for h8300hn and h8300sn. + +2003-05-09 Alan Modra + + * i386-dis.c (print_insn): Test intel_syntax against (char) -1 in + case char is unsigned. + +2003-05-01 Christian Groessler + + * z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls. + (unpack_instr): Fix representation of segmented addresses. + (intr_name): Added, contains names of the parameters to the EI/DI + instructions. + (unparse_instr): Fix display of EI/DI parameters. + +2003-04-22 Doug Evans + + * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate. + * frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate. + * ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate. + * m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate. + * m32r-opinst.c: Regenerate. + * openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate. + * xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate. + +2003-04-15 Rohit Kumar Srivastava + + * h8500-opc.c: Replace occurrances of 'Hitachi' with 'Renesas'. + +2003-04-07 James E Wilson + + * ia64-ic.tbl (fr-readers): Add mem-writers-fp. + * ia64-asmtab.c: Regenerate. + +2003-04-08 Alexandre Oliva + + * mips-dis.c (mips_gpr_names_newabi): Reverted previous patch. + +2003-04-07 Alexandre Oliva + + * mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7. + +2003-04-04 Svein E. Seldal + + * tic4x-dis.c: Namespace cleanup. Replace s/c4x/tic4x and + s/c3x/tic3x/ + +2003-04-01 Nick Clifton + + * arm-dis.c: Remove presence of (r) and (tm) symbols. + * arm-opc.h: Remove presence of (r) and (tm) symbols. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * arm-dis.c (regnames): Add iWMMXt register names. + (set_iwmmxt_regnames): New function. + (print_insn_arm): Handle iWMMXt formatters. + * arm-opc.h: Document iWMMXt formatters. + (arm_opcod): Add iWMMXt instructions. + +2003-03-22 Doug Evans + + * i386-dis.c (dis386): Recognize icebp (0xf1). + +2003-03-21 Martin Schwidefsky + + * s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to + S390_OPCODE_ZARCH. + (print_insn_s390): Use new modes field of s390_opcodes. + * s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove. + (s390_opcode_mode_val, s390_opcode_cpu_val): New enums. + (struct op_struct): Remove archbits. Add mode_bits and min_cpu. + (insertOpcode): Replace archbits by min_cpu and mode_bits. + (dumpTable): Write mode_bits and min_cpu instead of archbits. + (main): Adapt to new format in s390-opcode.txt. + * s390-opc.c (s390_opformats): Replace archbits by min_cpu and + mode_bits. + * s390-opc.txt: Replace archbits by min_cpu and mode_bits. + +2003-03-17 Nick Clifton + + * ppc-opc.c: Fix formatting. Update copyright date. + +2003-03-14 Daniel Jacobowitz + + * ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403. + +2003-02-25 Alan Modra + + * hppa-dis.c: Formatting. + +2003-02-25 Matthew Wilcox + + * hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers. + + * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print + the space register when the value is zero. + +2003-02-23 Elias Athanasopoulos + + * mips-dis.c (print_mips_disassembler_options): Make 'i' unsigned, + use ARRAY_SIZE in loops. + +2003-02-12 Dave Brolley + + * fr30-desc.c: Regenerate. + +2003-02-06 Gwenole Beauchesne + + * i386-dis.c (dq_mode, Edq): Define. + (dis386_twobyte): Correct movd operands. + (OP_E): Handle dq_mode case. + +2003-01-29 Henric Jungheim + + * sparc-dis.c (print_insn_sparc): When examining values added in + to rs1, make sure that there are previous instructions. + +2003-01-23 Nick Clifton + + * Add sh2e support: + + 2002-04-02 Alexandre Oliva + + * sh-dis.c (print_insn_shx): Handle bfd_mach_sh2e. + * sh-opc.h (arch_sh2e, arch_sh2e_up): New. + (arch_sh2_up): Added sh2e. + (sh_table): Replaced all occurrences of arch_sh3e_up with + arch_sh2e_up, except in fsqrt. + +2003-01-23 Alan Modra + + * sh64-dis.c: Include elf32-sh64.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-01-17 Richard Henderson + + * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap + PAL entry points. + +2003-01-16 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-01-08 Klee Dienes + + * Makefile.am (ALL_MACHINES): Add msp430-dis.lo. + * Makefile.in: Regenerate. + +2003-01-08 Alan Modra + + * ppc-opc.c (powerpc_macros ): Accept a shift of 32. + +2002-01-02 Ben Elliston + Jeff Johnston + + * iq2000-asm.c: New file. + * iq2000-desc.c: Likewise. + * iq2000-desc.h: Likewise. + * iq2000-dis.c: Likewise. + * iq2000-ibld.c: Likewise. + * iq2000-opc.c: Likewise. + * iq2000-opc.h: Likewise. + * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h. + (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c, + iq2000-ibld.c, iq2000-opc.c. + (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo, + iq2000-ibld.lo, iq2000-opc.lo. + (CLEANFILES): Add stamp-iq2000. + (IQ2000_DEPS): New macro. + (stamp-iq2000): New target. + * Makefile.in: Regenerate. + * configure.in: Handle bfd_iq2000_arch. + * configure: Regenerate. + +2003-01-02 Chris Demetriou + + * mips-dis.c (print_insn_args): Use position extracted by "+A" + to calculate size for "+B". Redo code for "+C" so it shares + the same style as "+A" and "+B" now do. + +2003-01-02 Chris Demetriou + + * mips-dis.c: Update copyright years. + (print_insn_arg): Rename to... + (print_insn_args): This, returning void. Process the whole + string of args rather than a single one. Reindent. + (print_insn_mips): Update to match the above. + +2002-12-31 Chris Demetriou + + * mips-opc.c (mips_builtin_opcodes): Move "di" into the + right order alphabetically, and make all hex constants use + lower-case letters. + +2002-12-31 Chris Demetriou + + * mips-dis.c (mips_cp0sel_name): New structure. + (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2) + (mips_cp0sel_names_sb1): New arrays. + (mips_arch_choice): New structure members "cp0sel_names" and + "cp0sel_names_len". + (mips_arch_choices): Add references to new cp0sel_names arrays + as appropriate, and make all existing entries reference + appropriate mips_XXX_names_numeric arrays rather than simply + using NULL. + (mips_cp0sel_names, mips_cp0sel_names_len): New variables. + (lookup_mips_cp0sel_name): New function. + (set_default_mips_dis_options): Set mips_cp0sel_names and + mips_cp0sel_names_len as appropriate. Remove now-unnecessary + checks for NULL register name arrays. + (parse_mips_dis_option): Likewise. + (print_insn_arg): Handle "+D" operand type. + * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants + of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register + names symbolically. + +2002-12-30 Chris Demetriou + + * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) + (mips_hwr_names_mips3264r2): New arrays. + (mips_arch_choice): New "hwr_names" member. + (mips_arch_choices): Adjust for structure change, and add a new + entry for "mips32r2" ISA. + (mips_hwr_names): New variable. + (set_default_mips_dis_options): Set mips_hwr_names. + (parse_mips_dis_option): New "hwr-names" option which sets + mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. + (print_insn_arg): Change return type to "int" + and use that to indicate number of characters consumed. + Add support for "+" operand extension character, "+A", "+B", + "+C", and "K" operands. + (print_insn_mips): Adjust for changes to print_insn_arg. + (print_mips_disassembler_options): Adjust for "hwr-names" + addition and "reg-names" change. + * mips-opc (I33): New define (shorthand for INSN_ISA32R2). + (mips_builtin_opcodes): Note that "nop" and "ssnop" are special + forms of "sll". Add new MIPS32 Release 2 instructions: ehb, + di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, + rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. + Note that hardware rotate instructions (ror, rorv) can be + used on MIPS32 Release 2, and add the official mnemonics + for them (rotr, rotrv) and the similar "rotl" mnemonic for + left-rotate. + +2002-12-30 Dmitry Diky + + * configure.in: Add msp430 target. + * configure: Regenerate. + * disassemble.c: Add entry for msp430 disassembly. + * msp430-dis.c: New file: msp430 disassembler. + +2002-12-27 Chris Demetriou + + * disassemble.c (disassembler_usage): Add invocation of + print_mips_disassembler_options. + * mips-dis.c: Include libiberty.h. + (print_mips_disassembler_options, set_default_mips_dis_options) + (parse_mips_dis_option, parse_mips_dis_options, choose_abi_by_name) + (choose_arch_by_name, choose_arch_by_number): New functions. + (mips_abi_choice, mips_arch_choice): New structures. + (mips32_reg_names, mips64_reg_names, reg_names): Remove. + (mips_gpr_names_numeric, mips_gpr_names_oldabi) + (mips_gpr_names_newabi, mips_fpr_names_numeric) + (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64) + (mips_cp0_names_numeric, mips_cp0_names_mips3264) + (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices) + (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names) + (mips_cp0_names): New variables. + (print_insn_args): Use new variables to print GPR, FPR, and CP0 + register names. + (mips_isa_type): Remove. + (print_insn_mips): Remove ISA and CPU setup since it is now done... + (_print_insn_mips): Here. Remove register setup code, and + call set_default_mips_dis_options and parse_mips_dis_options + instead. + (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names. + +2002-12-23 Alan Modra + + * Makefile.in: Regenerate. + +2002-12-19 Nick Kelsey + + * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character + check to fix false keyword trigger with names such as _foo. + +2002-12-19 Doug Evans + + * Makefile.am (CGEN_CPUS): New variable. + (run-cgen-all): New rule. + * Makefile.in: Regenerate. + +2002-12-18 Chris Demetriou + + * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two + "dror" entries, and reorder the remaining "dror" and "ror" entries. + +2002-12-16 DJ Delorie + + * xstormy16-asm.c (parse_immediate16): Add prototype. + +2002-12-16 Andrew MacLeod + + * xstormy16-asm.c: Regenerate. + +2002-12-16 Alan Modra + + * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register + keyword. + +2002-12-13 Alan Modra + + * h8500-opc.h (h8500_table): Add missing initializers to quiet + warnings. + * pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change. + * pj-opc.c (pj_opc_info): Add braces around union initializer. + * z8kgen.c: Include "libiberty.h". + (opt, args, toks): Fix initializer warnings. + (chewname): Make "name" a char **. Return mnemonic trimmed of + operands. + (gas): Improve emitted "DO NOT EDIT" warning. Format emitted + opcode_entry_type, and make "nicename" and "name" const. Make + z8k_table const too. Formatting. Generate idx as gas needs it. + * z8k-opc.h: Regenerate. + +2002-12-08 Stephane Carrez + + * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address + for 9 and 16-bit PC-relative addressing mode. + +2002-12-05 Aldy Hernandez + + * ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub, + evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq, + evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi, + evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa, + evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, + evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, + evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, + evmwhgsmian, evmwhgumian. + (mftb): Add to opcode table. + (mtspefscr): Change RT to RS in opcode table. + +2002-12-05 Aldy Hernandez + + * ppc-opc.c: Move mbar and msync up. Change mask for mbar and + msync. + +2002-12-04 David Mosberger + + * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction. + * ia64-opc-b.c: Add "hint.b" instruction. + * ia64-opc-f.c: Add "hint.f" instruction. + * ia64-opc-i.c: Add "hint.i" instruction. + * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and + "cmp8xchg16" instructions. + * ia64-opc-x.c: Add "hint.x" instruction. + + * ia64-opc.h (AR_CSD): New macro. + + * ia64-ic.tbl: Update according to SDM2.1. + * ia64-raw.tbl: Ditto. + * ia64-waw.tbl: Ditto. + + * ia64-gen.c (in_iclass): Handle "hint" like "nop". + (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD], + AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR]. + * ia64-asmtab.c: Regenerate. + +2002-11-25 Aldy Hernandez + + * ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa, + evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw. + +2002-12-04 Aldy Hernandez + + * ppc-opc.c (PMRN): Remove. + (RA): Set to NB + 1. + (powerpc_opcodes): Change PMRN to SPR. + Change all RD to RS. + Change mftb to look like mftbl. + Move mftb before mftbl. + Add mfbbtar. + Add mtbbtar. + Change mfpmr to use PMR. + Change mtpmr to use PMR. + (RD): Remove. + (insert_ev2): Fix mask and shift. + (extract_ev2): Same. + (insert_ev4): Same. + (extract_ev4): Same. + (PMR): Define. + (extract_pmrn): Remove. + (insert_pmrn): Remove. + +2002-12-03 Richard Henderson + + * ia64-opc-m.c: Add ld8.mov. + * ia64-asmtab.c: Regenerate. + +2002-12-02 Alan Modra + + * arm-dis.c (print_insn_arm): Constify "insn". Formatting. + (print_insn_thumb): Likewise. + * h8500-dis.c (print_insn_h8500): Constify "opcode". + * mcore-dis.c (print_insn_mcore): Constify "op". Formatting. + * ns32k-dis.c (print_insn_arg ): Use a union to avoid + type-punned pointer warnings. + : Likewise. Fix error message too. + * pdp11-dis.c (print_reg): Warning fix. + * sh-dis.c (print_movxy): Constify "op" param. + (print_insn_ddt): Constify sh_opcode_info vars. + (print_insn_ppi): Likewise. + (print_insn_sh): Likewise. + * tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid + type-punned pointer warnings. + * w65-dis.c (print_insn_w65): Constify "op". + +2002-12-01 Stephane Carrez + + * m68hc11-dis.c (PC_REGNUM): Define. + (print_indexed_operand): Need an adjustment for some PC-relative + operand modes; print the final address of PC-relative modes. + (print_insn): Take into account movw/movb to adjust the PC-relative + operand addresses. + +2002-11-30 Alan Modra + + *arm-dis.c, cris-dis.c, h8300-dis.c, mips-dis.c, mmix-dis.c, sh-dis.c, + sh64-dis.c, v850-dis.c: Replace boolean with bfd_boolean, true with + TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars + with TRUE/FALSE. Formatting. + +2002-11-25 DJ Delorie + + * xstormy16-opc.c: Regenerate. + +2002-11-25 Jim Wilson + + * ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64. + +2002-11-15 DJ Delorie + + * xstormy16-desc.c: Regenerate. + * xstormy16-opc.c: Regenerate. + * xstormy16-opc.h: Regenerate. + +2002-11-18 Klee Dienes + + * avr-dis.c: Include libiberty.h (for xmalloc). + (struct avr_opcodes_s): Remove 'bin_mask' field (it's + automatically computed in the init routine). + (AVR_INSN): No longer provide bin_mask field in initializer. + (avr_opcodes_s): Declare as const. + (print_insn_avr): Store the bin_mask field in a separate table + (allocated with xmalloc); iterate through it at the same time as + we iterate through the opcodes. + +2002-11-18 Klee Dienes + + * h8300-dis.c: Include libiberty.h (for xmalloc). + (struct h8_instruction): New type, used to wrap h8_opcodes with a + length field (computed at run-time). + (h8_instructions): New variable. + (bfd_h8_disassemble_init): Allocate the storage for + h8_instructions. Fill h8_instructions with pointers to the + appropriate opcode and the correct value for the length field. + (bfd_h8_disassemble): Iterate through h8_instructions instead of + h8_opcodes. + +2002-11-18 Klee Dienes + + * arc-opc.c (arc_ext_opcodes): Define. + (arc_ext_operands): Define. + * i386-dis.c (Suffix3DNow): Declare as const. + * arm-opc.h (arm_opcodes): Declare as const. + (thumb_opcodes): Declare as const. + * h8500-opc.h (h8500_table): Declare as const. + (h8500_table): Use a NULL for the opcode in the terminator, so + that code testing (opcode->name) behaves correctly. + * mcore-opc.h (mcore_table): Declare as const. + * sh-opc.h (sh_table): Declare as const. + * w65-opc.h (optable): Declare as const. + * z8k-opc.h (z8k_table): Declare as const. + +2002-11-18 Svein E. Seldal + + * tic4x-dis.c: Added support for enhanced and special insn. + (c4x_print_op): Added insn class 'i' and 'j' + (c4x_hash_opcode_special): Add to support special insn + (c4x_hash_opcode): Update to support the new opcode-list + format. Add support for the new special insns. + (c4x_disassemble): New opcode-list support. + +2002-11-16 Klee Dienes + + * m88k-dis.c: Include libiberty.h (for xmalloc). + (HASHTAB): New type, used to build instruction hash tables. + Contains a pointer to an INSTAB and a pointer to the next hash + chain entry. + (instructions): Move definition from m88k.h; remove initialization + of 'next' field. + (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB. + (printop): Mark pointer to OPSPEC as const. + (install): Remove; fold into init_disasm. + (m88kdis): Update to ihashtab_initialized to 1 after calling + init_disasm. entry_ptr now iterates through HASHTABs, not + INSTABs. + (init_disasm): Iterate through the instructions and add to + hashtable[]. + +2002-11-16 Svein E. Seldal + + * tic4x-dis.c: (c4x_print_op): Add support for the new argument + format. Fix bug in 'N' register printer. + +2002-11-12 Segher Boessenkool + + * ppc-dis.c (print_insn_powerpc): Correct condition register display. + +2002-11-07 Aldy Hernandez + + * ppc-opc.c (EVUIMM_4): Change bit size to 32. + (EVUIMM_2): Same. + (EVUIMM_8): Same. + +2002-11-07 Klee Dienes + + * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir' + argument to ia64-gen. + Regenerate dependencies for ia64-len.lo. + * Makefile.in: Regenerate. + * ia64-gen.c: Convert to use getopt(). Add the standard GNU + options, as well as '--srcdir', which controls the directory in + which ia64-gen looks for the sources it uses to generate the + output table. Add a 'const' to the declaration of the final + output table. Call xmalloc_set_program_name to set the program + name. + * ia64-asmtab.c: Regenerate. + +2002-11-07 Nick Clifton + + * ia64-gen.c: Fix comment formatting and compile time warnings. + * ia64-opc-a.c: Fix compile time warnings. + * ia64-opc-b.c: Likewise. + * ia64-opc-d.c: Likewise. + * ia64-opc-f.c: Likewise. + * ia64-opc-i.c: Likewise. + * ia64-opc-m.c: Likewise. + * ia64-opc-x.c: Likewise. + +2002-11-06 Aldy Hernandez + + * ppc-opc.c: Change RD to RS for evmerge*. + +2002-10-07 Nathan Tallent + + * sparc-opc.c (sparc_opcodes) : Add conditional/unconditional branch + classification. + +2002-10-13 Stephane Carrez + + * m68hc11-dis.c (print_insn): Treat bitmask and branch operands + at the end. + +2002-09-30 Gavin Romig-Koch + Ken Raeburn + Aldy Hernandez + Eric Christopher + Richard Sandiford + + * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'. + (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400 + and bfd_mach_mips5500. + * mips-opc.c (V1): Include INSN_4111 and INSN_4120. + (N411, N412, N5, N54, N55): New convenience defines. + (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes. + Change dmadd16 and madd16 from V1 to N411. + +2002-09-26 Thiemo Seufer + + * mips-dis.c (print_insn_mips): Always allow disassembly of + 32-bit jalx opcode. + +2002-09-24 Nick Clifton + + * po/de.po: Updated German translation. + +2002-09-21 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-09-20 Nick Clifton + + * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr + register names are accepted. + +2002-09-17 Svein E. Seldal + + * tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED. + Convert functions to K&R format. + +2002-09-13 Nick Clifton + + * ppc-opc.c (MFDEC2): Include Book-E. + (PPCCHLK64): New opcode mask. + (evsubw, evsubiw, evmr, evnot, isellt, iselgt, iseleq, mfpid, + mfcsrr0, mfcsrr1, mfdear, mfesr, mfivpr, mfusprg0, mftbl, + mftbu, mfpir, mfdbsr, mfdbcr0, mfdbcr1, mfdbcr2, mfiac1, + mfiac2, mfiac3, mfiac4, mfdac1, mfdac2, mfdvc1, mfdvc2, mftsr, + mftcr, mfivor0, mfivor1, mfivor2, mfivor3, mfivor4, mfivor5, + mfivor6, mfivor7, mfivor8, mfivor9, mfivor10, mfivor11, + mfivor12, mfivor13, mfivor14, mfivor15, mfbbear, mfmcsrr0, + mfmcsrr1, mfmcsr, mtpid, mtdecar, mtcsrr0, mtcsrr1, mtdear, + mtesr, mtivpr, mtusprg0, mtsprg4, mtsprg5, mtsprg6, mtsprg7, + mtdbsr, mtdbcr0, mtdbcr1, mtdbcr2, mtiac1, mtiac2, mtiac3, + mtiac4, mtdac1, mtdac2, mtdvc1, mtdvc2, mttsr, mttcr, mtivor0, + mtivor1, mtivor2, mtivor3, mtivor4, mtivor5, mtivor6, mtivor7, + mtivor8, mtivor9, mtivor10, mtivor11, mtivor12, mtivor13, + mtivor14, mtivor15, mtbbear, mtmcsrr0, mtmcsrr1, mtmcsr): New + Book-E instructions. + (evfsneg): Fix opcode value. + (dcbtstlse, dcbtlse, icblce, dcblce, icbtsle): Use PPCCHLK64 + mask. + (mcrxr64, tlbivaxe, tlbsxe, tlbsxe.): Restrict to 64-bit + Book-E. + (extsw): Restrict to 64-bit PPC instruction sets. + (extsw.): Does not exist in 64-bit Book-E. + (powerpc_macro): Remove mftbl, mftbu and mftb Book-E macros as + they are no longer needed. + +2002-09-12 Gary Hade + + * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC. + +2002-09-11 Nick Clifton + + * po/da.po: Updated Danish translation file. + +2002-09-04 Nick Clifton + + * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32. + +2002-09-04 Nick Clifton + + * disassemble.c (disassembler_usage): Add invocation of + print_ppc_disassembler_options. + * ppc-dis.c (print_ppc_disassembler_options): New function. + +2002-09-04 Nick Clifton + + * ppc-opc.c: The BookE implementations of the TLBWE and TLBRE + instructions do not take any arguments. + +2002-09-02 Nick Clifton + + * v850-opc.c: Remove redundant references to V850EA architecture. + +2002-09-02 Alan Modra + + * arc-opc.c: Include bfd.h. + (arc_get_opcode_mach): Subtract off base bfd_mach value. + +2002-08-30 Alan Modra + + * v850-dis.c (disassemble): Remove bfd_mach_v850ea case. + + * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants. + +2002-08-28 Svein E. Seldal + + * configure.in: Added bfd_tic4x_arch. + * configure: Regenerate. + * Makefile.am: Added tic4x-dis.o target. + * Makefile.in: Regenerate. + +2002-08-28 Michael Hayes + + * disassemble.c: Added tic4x target and c4x + disassembler routine. + * tic4x-dis.c: New file. + +2002-08-16 Christian Groessler + + * z8k-dis.c (unparse_instr): case CLASS_BA: Designate hex + values as those. + * z8kgen.c (opt): Fix definition of "in rd,imm16" opcode. + * z8k-opc.h: Regenerated with new z8kgen.c. + +2002-08-19 Elena Zannoni + + From matthew green + + * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and + `-mefs'. Turn off AltiVec for E500 and efs. + (print_insn_powerpc): Don't print an AltiVec instruction if the + dialect is not efs. + + * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2, + insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions + for extracting pmrn/evld/evstd/etc operands. + (CRB, CRFD, CRFS, DC, RD): New instruction fields. + (CT): Make this equal to RD + 1. + (PMRN): New operand. + (RA): Update. + (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands. + (WS): Update. + (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL. + (ISEL, ISEL_MASK): New instruction form and mask for ISEL. + (XISEL, XISEL_MASK): New instruction form and mask for ISEL. + (CTX, CTX_MASK): New instruction form and mask for context cache + instructions. + (UCTX, UCTX_MASK): New instruction form and mask for user context + cache instructions. + (XC, XC_MASK, XUC, XUC_MASK): New instruction forms. + (CLASSIC): New define. + (PPCESPE): New define. + (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New + defines for integer select, cache control, branch + locking, power management, cache locking and machine check + APU instructions, respectively. + (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul, + efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt, + efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf, + efsctui, efsctsi, efsctsiz, efsctuf, efsctsf, + evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb, + evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor, + evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi, + evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi, + evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts, + evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh, + evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx, + evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat, + evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx, + evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe, + evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox, + evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv, + evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq, + evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui, + evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg, + evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq, + evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf, + evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf, + evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi, + evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi, + evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw, + evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw, + evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw, + evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw, + evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw, + evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa, + evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian, + evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf, + evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa, + evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan, + evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa, + evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian, + evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi, + evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi, + evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw, + evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw, + evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa, + evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia, + evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan, + evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw, + evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw, + evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex + instructions. + (rfmci): New machine check APU instruction. + (isel): New integer select APU instructino. + (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls, + dcbtstlse, dcblc, dcblce): New cache control APU instructions. + (mtspefscr, mfspefscr): New instructions. + (mfpmr, mtpmr): New performance monitor APU instructions. + (savecontext): New context cache APU instructions. + (bblels, bbelr): New branch locking APU instructions. + (bblels, bbelr): New instructions. + (mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias. + +2002-08-13 Stephane Carrez + + * m68hc11-opc.c: Update call operand to accept the page definition. + Identify instructions that are branches and calls to generate a + RL_JUMP relocation. + +2002-08-13 Stephane Carrez + + * m68hc11-dis.c (print_insn): Take into account 68HC12 memory + banks and fix disassembling of call instruction. + (print_indexed_operand): New param to tell whether + it was an indirect addressing operand (for disassembling call). + +2002-08-09 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2002-08-08 Maciej W. Rozycki + + * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as + aliases to "daddiu" and "addiu". + +2002-07-30 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2002-07-25 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + * po/pr_BR.po: Updated Brazilian Portuguese translation. + * po/tr.po: Updated Turkish translation. + * po/fr.po: Updated French translation. + +2002-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + * po/es.po: Updated Spanish translation. + * po/pr_BR.po: Updated Brazilian Portuguese translation. + +2002-07-23 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-07-23 Nick Clifton + + * po/fr.po: Updated French translation. + * po/pr_BR.po: New Brazilian Portuguese translation. + * po/id.po: Updated Indonesian translation. + * configure.in (LINGUAS): Add pr_BR. + * configure: Regenerate. + +2002-07-18 Denis Chertykov + Frank Ch. Eigler + Alan Lehotsky + matthew green + + * configure.in: Add support for ip2k. + * configure: Regenerate. + * Makefile.am: Add support for ip2k. + * Makefile.in: Regenerate. + * disassemble.c: Add support for ip2k. + * ip2k-asm.c: New generated file. + * ip2k-desc.c: New generated file. + * ip2k-desc.h: New generated file. + * ip2k-dis.c: New generated file. + * ip2k-ibld.c: New generated file. + * ip2k-opc.c: New generated file. + * ip2k-opc.h: New generated file. + +2002-07-17 David Mosberger + + * ia64-opc-b.c (bWhc): New macro. + (mWhc): Ditto. + (OpPaWhcD): Ditto. + (ia64_opcodes_b): Correct patterns for indirect call + instructions to use 3-bit "wh" field. + * ia64-asmtab.c: Regnerate. + +2002-07-09 Thiemo Seufer + + * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. + * mips-opc.c (I16): New define. + (mips_builtin_opcodes): Make jalx an I16 insn. + +2002-06-18 Dave Brolley + + * po/POTFILES.in: Add frv-*.[ch]. + * disassemble.c (ARCH_frv): New macro. + (disassembler): Handle bfd_arch_frv. + * configure.in: Support frv_bfd_arch. + * Makefile.am (HFILES): Add frv-*.h. + (CFILES): Add frv-*.c + (ALL_MACHINES): Add frv-*.lo. + (CLEANFILES): Add stamp-frv. + (FRV_DEPS): New variable. + (stamp-frv): New target. + (frv-asm.lo): New target. + (frv-desc.lo): New target. + (frv-dis.lo): New target. + (frv-ibld.lo): New target. + (frv-opc.lo): New target. + (frv-*.[ch]): New files. + +2002-06-18 Ben Elliston + + * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen. + * Makefile.in: Regenerate. + +2002-06-08 Alan Modra + + * a29k-dis.c: Replace CONST with const. + * h8300-dis.c: Likewise. + * m68k-dis.c: Likewise. + * or32-dis.c: Likewise. + * sparc-dis.c: Likewise. + +2002-06-04 Jason Thorpe + + * configure.in: Add "sh5*-*" to list of targets which include + sh64 support. + * configure: Regenerate. + +2002-05-31 Chris G. Demetriou + + * mips-opc.c: Clean up a few whitespace issues, and sort a + few entries understanding that 'x' follows 'w' in the alphabet. + +2002-05-31 Chris G. Demetriou + Ed Satterthwaite + + * mips-opc.c: Add support for SB-1 MDMX subset and extensions. + +2002-05-31 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-05-30 Chris G. Demetriou + Ed Satterthwaite + + * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y', + and 'Z' formats, for MDMX. + (mips_isa_type): Add MDMX instructions to the ISA + bit mask for bfd_mach_mipsisa64. + * mips-opc.c: Add support for MDMX instructions. + (MX): New definition. + + * mips-dis.c: Update copyright years to include 2002. + +2002-05-30 Diego Novillo + + * d10v-opc.c (d10v_opcodes): `btsti' does not modify its + arguments. + +2002-05-28 Kuang Hwa Lin + + * configure.in: Add DLX configuraton support. + * configure: Regenerate. + * Makefile.am: Add DLX configuraton support. + * Makefile.in: Regenerate. + * disassemble.c: Add DLX support. + * dlx-dis.c: New file. + +2002-05-25 Alan Modra + + * Makefile.am (sh-dis.lo): Don't put make commands in deps. + * Makefile.in: Regenerate. + * arc-dis.c: Use #include "" instead of <> for local header files. + * m68k-dis.c: Likewise. + +2002-05-22 J"orn Rennecke + + * Makefile.am (sh-dis.lo): Compile with @archdefs@. + * Makefile.in: regenerate. + + * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4 + for disassembly. + +2002-05-22 Thiemo Seufer + + * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros. + +2002-05-17 J"orn Rennecke + + * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh. + * sh-dis.c (LITTLE_BIT): Delete. + (print_insn_sh, print_insn_shl): Deleted. + (print_insn_shx): Renamed to + (print_insn_sh). No longer static. Handle SHmedia instructions. + Use info->endian to determine endianness. + * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete. + (print_insn_sh64x): No longer static. Renamed to + (print_insn_sh64). Removed pfun_compact and endian arguments. + If we got an uneven address to indicate SHmedia, adjust it. + Return -2 for SHcompact instructions. + +2002-05-17 Alan Modra + + * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools. + * configure.in: Invoke AM_INSTALL_LIBBFD. + * Makefile.am (install-data-local): Move to.. + (install_libopcodes): .. New target. + (uninstall_libopcodes): Likewise. + (install-bfdlibLTLIBRARIES): Likewise. + (uninstall-bfdlibLTLIBRARIES): Likewise. + (bfdlibdir): New. + (bfdincludedir): New. + (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2002-05-15 Nick Clifton + + * fr30-asm.c: Regenerate. + * fr30-desc.c: Regenerate. + * fr30-dis.c: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-dis.c: Regenerate. + * openrisc-asm.c: Regenerate. + * openrisc-desc.c: Regenerate. + * openrisc-dis.c: Regenerate. + * xstormy16-asm.c: Regenerate. + * xstormy16-desc.c: Regenerate. + * xstormy16-dis.c: Regenerate. + +2002-05-15 Thiemo Seufer + + * mips-dis.c (is_newabi): EABI is not a NewABI. + +2002-05-13 Jason Thorpe + + * configure.in (shle-*-*elf*): Include sh64 support. + * configure: Regenerate. + +2002-04-28 Jason Thorpe + + * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode. + (print_insn_mode): Print some basic info about floating point values. + +2002-05-09 Anton Blanchard + + * ppc-opc.c: Add "tlbiel" for POWER4. + +2002-05-07 Graydon Hoare + + * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather + than just most-recently-opened. + +2002-05-01 Alan Modra + + * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke. + +2002-04-24 Christian Groessler + + * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2 + bytes_per_chunk, 6 bytes_per_line for nicer display of the hex + codes. + (z8k_lookup_instr): CLASS_IGNORE case added. + (output_instr): Don't print hex codes, they are already + printed. + (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case + fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases. + (unparse_instr): Fix base and indexed addressing disassembly: + The index is inside the brackets. + * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines. + (opt): Fix shift left/right arithmetic/logical byte defines: + The high byte of the immediate word is ignored by the + processor. + Fix n parameter of ldm opcodes: The opcode contains (n-1). + (args): Fix "n" entry. + (toks): Add "nim4" and "iiii" entries. + * z8k-opc.h: Regenerated with new z8kgen.c. + +2002-04-24 Nick Clifton + + * po/id.po: New Indonesian translation. + * configure.in (ALL_LIGUAS): Add id.po + * configure: Regenerate. + +2002-04-17 matthew green + + * ppc-opc.c (powerpc_opcode): Fix dssall operand list. + +2002-04-04 Alan Modra + + * dep-in.sed: Cope with absolute paths. + * Makefile.am (dep.sed): Subst TOPDIR. + Run "make dep-am". + * Makefile.in: Regenerate. + * ppc-opc.c: Whitespace. + * s390-dis.c: Fix copyright date. + +2002-03-23 matthew green + + * ppc-opc.c (vmaddfp): Fix operand order. + +2002-03-21 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2002-03-21 Anton Blanchard + + * ppc-opc.c: Add optional field to mtmsrd. + (MTMSRD_L, XRLARB_MASK): Define. + +2002-03-18 Jan Hubicka + + * i386-dis.c (prefix_name): Fix handling of 32bit address prefix + in 64bit mode. + (print_insn) Likewise. + (putop): Fix handling of 'E' + (OP_E, OP_OFF): handle 32bit addressing mode in 64bit. + (ptr_reg): Likewise. + +2002-03-18 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-16 Chris Demetriou + + * mips-opc.c (M3D): Tweak comment. + (mips_builtin_op): Add comment indicating that opcodes of the + same name must be placed together in the table, and sort + the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt", + "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name. + +2002-03-16 Nick Clifton + + * Makefile.am: Tidy up sh64 rules. + * Makefile.in: Regenerate. + +2002-03-15 Chris G. Demetriou + + * mips-dis.c: Update copyright years. + +2002-03-15 Chris G. Demetriou + + * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA + bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add + comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that + indicate that they should dissassemble all applicable + MIPS-specified ASEs. + * mips-opc.c: Add support for MIPS-3D instructions. + (M3D): New definition. + + * mips-opc.c: Update copyright years. + +2002-03-15 Chris G. Demetriou + + * mips-opc.c (mips_builtin_opcodes): Sort bc opcodes by name. + +2002-03-15 Chris Demetriou + + * mips-dis.c (is_newabi): Fix ABI decoding. + +2002-03-14 Chris G. Demetriou + + * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32 + and bfd_mach_mipsisa64 cases to match the rest. + +2002-03-13 Nick Clifton + + * po/fr.po: Updated version. + +2002-03-13 Alan Modra + + * ppc-opc.c: Add optional `L' field to tlbie. + (XRTLRA_MASK): Define. + +2002-03-06 Chris Demetriou + + * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being + present on I4. + + * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps". + +2002-03-05 Paul Koning + + * pdp11-opc.c: Fix "mark" operand type. Fix operand types + for float opcodes that take float operands. Add alternate + names (xxxD vs. xxxF) for float opcodes. + * pdp11-dis.c (print_operand): Clean up formatting for mode 67. + (print_foperand): New function to handle float opcode operands. + (print_insn_pdp11): Use print_foperand to disassemble float ops. + +2002-02-27 Nick Clifton + + * po/de.po: Updated. + +2002-02-26 Brian Gaeke + + * Makefile.am (install-data-local): Install dis-asm.h. + +2002-02-26 Nick Clifton + + * configure.in (LINGUAS): Add de.po. + * configure: Regenerate. + * po/de.po: New file. + +2002-02-25 Alan Modra + + * ppc-dis.c (powerpc_dialect): Handle power4 option. + * ppc-opc.c (insert_bdm): Correct description of "at" branch + hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour. + (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise. + (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc. + (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise. + (PPCCOM32, PPCCOM64): Delete. + (NOPOWER4, POWER4): Define. + (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4, + and PPCCOM4 with POWER4 so that "at" style branch hint opcodes + are enabled for power4 rather than ppc64. + +2002-02-20 Tom Rix + + * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe. + +2002-02-19 Martin Schwidefsky + + * s390-dis.c (init_disasm): Use renamed architecture defines. + +2002-02-19 matthew green + + * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola + specific. + +2002-02-18 Nick Clifton + + * po/tr.po: Updated translation. + +2002-02-15 Richard Henderson + + * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo + disassembly mask. + +2002-02-15 Richard Henderson + + * alpha-opc.c (alpha_opcodes): Add simple pseudos for + lda, ldah, jmp, ret. + +2002-02-14 Nick Clifton + + * po/da.po: Updated translation. + +2002-02-12 Graydon Hoare + + * cgen-asm.in (parse_insn_normal): Change call from + @arch@_cgen_parse_operand to cd->parse_operand, to + facilitate CGEN_ASM_INIT_HOOK doing useful work. + +2002-02-11 Alexandre Oliva + + * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not + sign-extended. + +2002-02-11 Alan Modra + + * Makefile.am: "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2002-02-10 Hans-Peter Nilsson + + * configure.in : For sh-* and shl-*, enable sh64 + support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and + shl-*-linux*. + * configure: Regenerate. + +2002-02-10 Daniel Jacobowitz + + * cgen-dis.c: Add prototypes for count_decodable_bits + and add_insn_to_hash_chain. + +2002-02-08 Alexandre Oliva + + * configure.in : Enable sh64 support on sh-*. + * configure: Rebuilt. + +2002-02-08 Ivan Guzvinec + + * or32-opc.c: Fix compile time warning messages. + * or32-dis.c: Fix compile time warning messages. + +2002-02-08 Alexandre Oliva + + Contribute sh64-elf. + 2001-10-08 Nick Clifton + * sh64-opc.c: Regenerate. + 2001-03-13 DJ Delorie + * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its + purpose is more obvious. + * sh64-opc.c (shmedia_table): Ditto. + * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto. + (print_insn_shmedia): Ditto. + 2001-03-12 DJ Delorie + * sh64-opc.c: Adjust comments to reflect reality: replace bits + 3:0 with zeros (not "reserved"), replace "rrrrrr" with + "gggggg" for two-operand floating point opcodes. Remove + "fsina". + 2001-01-08 Hans-Peter Nilsson + * sh64-dis.c (print_insn_shmedia) : + Correct printing of .byte:s. Return number of printed bytes or + -1; never 0. + (print_insn_sh64x) : Ditto. Print as .byte:s + to next four-byte-alignment if insn or data is not aligned. + 2001-01-06 Hans-Peter Nilsson + * sh64-dis.c: Update comments and fix comment formatting. + (initialize_shmedia_opcode_mask_table) : + Abort instead of setting length to 0. + (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, + crange_bsearch_cmpl, sh64_get_contents_type, + sh64_address_in_cranges): Move to bfd/elf32-sh64.c. + 2001-01-05 Hans-Peter Nilsson + * sh64-opc.c: Remove #if 0:d entries for instructions not found in + SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo. + 2000-12-30 Hans-Peter Nilsson + * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed + address with same prefix as SHcompact. + In the disassembler, use a .cranges section for linked executables. + * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file + and update for using structure in info->private_data. + (struct sh64_disassemble_info): New. + (is_shmedia_p): Delete. + (crange_qsort_cmpb): New function. + (crange_qsort_cmpl, crange_bsearch_cmpb): New functions. + (crange_bsearch_cmpl, sh64_address_in_cranges): New functions. + (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions. + (sh64_get_contents_type, sh64_address_is_shmedia): New functions. + (print_insn_shmedia): Correct displaying of address after MOVI/SHORI + pair. Display addresses for linked executables only. + (print_insn_sh64x_media): Initialize info->private_data by calling + init_sh64_disasm_info. + (print_insn_sh64x): Ditto. Find out type of contents by calling + sh64_contents_type_disasm. Display data regions using ".long" and + ".byte" similar to unrecognized opcodes. + 2000-12-19 Hans-Peter Nilsson + * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA + information in section flags before considering symbols. Don't + assume an info->mach setting of bfd_mach_sh5 means SHmedia code. + * configure.in (bfd_sh_arch): Check presence of sh64 insns by + matching $target $canon_targets instead of looking at the + now-removed -DINCLUDE_SHMEDIA in $targ_cflags. + * configure: Regenerate. + 2000-11-25 Hans-Peter Nilsson + * sh64-opc.c (shmedia_creg_table): New. + * sh64-opc.h (shmedia_creg_info): New type. + (shmedia_creg_table): Declare. + * sh64-dis.c (creg_name): New function. + (print_insn_shmedia): Use it. + * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map + bfd_mach_sh5 to print_insn_sh64 if big-endian and to + print_insn_sh64l if little-endian. + * sh64-dis.c (print_insn_shmedia): Make r unsigned. + (print_insn_sh64l): New. + (print_insn_sh64x): New. + (print_insn_sh64x_media): New. + (print_insn_sh64): Break out code to print_insn_sh64x and + print_insn_sh64x_media. + 2000-11-24 Hans-Peter Nilsson + * sh64-opc.h: New file + * sh64-opc.c: New file + * sh64-dis.c: New file + * Makefile.am: Add sh64 targets. + (HFILES): Add sh64-opc.h. + (CFILES): Add sh64-opc.c and sh64-dis.c. + (ALL_MACHINES): Add sh64 files. + * Makefile.in: Regenerate. + * configure.in: Add support for sh64 to bfd_sh_arch. + * configure: Regenerate. + * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define. + (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to + print_insn_sh64. + * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2002-02-04 Frank Ch. Eigler + + * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets. + +2002-02-04 Alexandre Oliva + + * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS. + +2002-02-01 Alan Modra + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2002-01-31 Ivan Guzvinec + + * or32-dis.c: New file. + * or32-opc.c: New file. + * configure.in: Add support for or32. + * configure: Regenerate. + * Makefile.am: Add support for or32. + * Makefile.in: Regenerate. + * disassemble.c: Add support for or32. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2002-01-27 Daniel Jacobowitz + + * configure: Regenerated. + +2002-01-26 Nick Clifton + + * po/fr.po: Updated version. + +2002-01-25 Nick Clifton + + * po/es.po: Updated version. + +2002-01-24 Nick Clifton + + * po/da.po: New version. + +2002-01-23 Nick Clifton + + * po/da.po: New file: Spanish translation. + * configure.in (ALL_LINGUAS): Add da. + * configure: Regenerate. + +2002-01-22 Graydon Hoare + + * fr30-asm.c: Regenerate. + * fr30-desc.c: Likewise. + * fr30-desc.h: Likewise. + * fr30-dis.c: Likewise. + * fr30-ibld.c: Likewise. + * fr30-opc.c: Likewise. + * fr30-opc.h: Likewise. + * m32r-asm.c: Likewise. + * m32r-desc.c: Likewise. + * m32r-desc.h: Likewise. + * m32r-dis.c: Likewise. + * m32r-ibld.c: Likewise. + * m32r-opc.c: Likewise. + * m32r-opc.h: Likewise. + * m32r-opinst.c: Likewise. + * openrisc-asm.c: Likewise. + * openrisc-desc.c: Likewise. + * openrisc-desc.h: Likewise. + * openrisc-dis.c: Likewise. + * openrisc-ibld.c: Likewise. + * openrisc-opc.c: Likewise. + * openrisc-opc.h: Likewise. + * xstormy16-desc.c: Likewise. + +2002-01-22 Richard Henderson + + * alpha-dis.c (print_insn_alpha): Also mask the base opcode for + comparison. + +2002-01-22 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2002-01-19 Richard Earnshaw + + * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h. + * arm-dis.c (print_insn_arm): Don't handle 'h' case. + +2002-01-18 Keith Walker + + * arm-opc.h (arm_opcodes): Add bxj instruction. + +2002-01-17 Nick Clifton + + * po/opcodes.pot: Regenerate. + * po/fr.po: Regenerate. + * po/sv.po: Regenerate. + * po/tr.po: Regenerate. + +2002-01-16 Nick Clifton + + * po/tr.po: Import new version. + +2002-01-15 Richard Earnshaw + + * arm-opc.h (arm_opcodes): Add patterns for VFP instructions. + * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for + VFP bitfields. + +2002-01-10 matthew green + + * xstormy16-asm.c: Regenerate. + * xstormy16-desc.c: Likewise. + * xstormy16-desc.h: Likewise. + * xstormy16-dis.c: Likewise. + * xstormy16-opc.c: Likewise. + * xstormy16-opc.h: Likewise. + +2002-01-07 Nick Clifton + + * po/es.po: New file: Spanish translation. + * configure.in (ALL_LINGUAS): Add es. + * configure: Regenerate. + +For older changes see ChangeLog-0001 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: