diff --git a/bfd/ChangeLog b/bfd/ChangeLog index be9425922c..ccb34b71ef 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3557 +1,4 @@ -2007-12-31 H.J. Lu - - PR ld/5530 - * elfxx-ia64.c (elfNN_ia64_relocate_section): Call - _bfd_elf_find_segment_containing_section with output_bfd, - instead of input_bfd. - -2007-12-31 Nick Clifton - - * elf-m10300.c (mn10300_elf_relax_section): Use - _bfd_merged_section_offset to compute the offset of a symbol in a - merged section. - -2007-12-31 Nick Clifton - - * elf.c (_bfd_elf_find_segment_containing_section): New function: - Scan the segment map looking for the segment containing a - specified function. - * elf-bfd.h: Prototype the new function. - * elf-hppa.h (elf_hppa_osec_to_segment): Delete. - (elf_hppa_record_segment_addrs): Use new function. - * elf32-bfin.c (_bfdfdpic_osec_to_segment): Use new function. - * elf32-frv.c (_frvfdpic_osec_to_segment): Use new function. - * elf32-hppa.c (hppa_record_segment_addr): Use new function. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Use new function. - -2007-12-28 John David Anglin - - PR binutils/5146 - * elf64-hppa.c: Declare alloca when __GNUC__ is defined. - * som.c: Likewise. - - * elf-hppa.h (elf_hppa_osec_to_segment): New function. - (elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment. - Remove ATTRIBUTE_UNUSED from abfd argument. - * elf32-hppa.c (hppa_record_segment_addr): Likewise. - -2007-12-28 Nick Hudson - - * elf32-hppa.c (hppa_record_segment_addr): Locate the segment - containing the section using the segment map, rather than guessing - based upon the section's vma and file position. - -2007-12-24 H.J. Lu - - PR binutils/5488 - * elf.c (IS_NOTE): New. - (IS_COREFILE_NOTE): Use IS_NOTE. - (IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of - IS_COREFILE_NOTE. - -2007-12-24 H.J. Lu - - PR binutils/5449 - * elf.c (rewrite_elf_program_header): Don't adjust p_paddr if - p_paddr is set to 0. - (copy_private_bfd_data): Call rewrite_elf_program_header if - p_paddr is set to 0. - - * elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed. - - * elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX. - -2007-12-21 Bob Wilson - - * elf32-xtensa.c (relax_section): Update DIFF relocations in the - same way as other relocations. - -2007-12-18 Daniel Jacobowitz - - * section.c (BFD_FAKE_SECTION): Update. - * bfd-in2.h: Regenerate. - -2007-12-18 Daniel Jacobowitz - - * bfd-in2.h: Regenerate. - -2007-12-17 Pedro Alves - - * config.bfd: Add arm-*-mingw32ce* target. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of - a merged field and a sec field. - (eh_frame_hdr_info): Remove offsets_adjusted. - * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to - the CIE merged field. - (_bfd_elf_gc_mark_fdes): Likewise. - (_bfd_elf_discard_section_eh_frame): Likewise. Set u.cie.u.sec - when clearing the removed flag. - (_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling. - (_bfd_elf_write_section_eh_frame): Likewise. Apply output_offsets - where appropriate. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Move add_fde_encoding and - per_encoding_relative to u.cie. Add commentary. - * elf-eh-frame.c (cie): Remove make_relative. - (extra_augmentation_string_bytes): Update use of add_fde_encoding. - (extra_augmentation_data_bytes): Likewise. Use an FDE's own - add_augmentation_size field, rather than referring to the CIE. - (_bfd_elf_parse_eh_frame): Don't set the struct cie - make_relative field; set the eh_cie_fde field directly. - Update setting of add_fde_encoding and per_encoding_relative. - Copy make_relative and add_augmentation_size from the CIE - to the FDE. - (_bfd_elf_discard_section_eh_frame): Use the FDE's own - make_relative field. - (_bfd_elf_eh_frame_section_offset): Likewise. - (_bfd_elf_write_section_eh_frame): Update accesses to - add_fde_encoding and per_encoding_relative. Use the FDE's - own make_relative and add_augmentation_size fields. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Remove need_lsda_relative. - Move make_lsda_relative to u.cie. - * elf-eh-frame.c (cie): Rename make_lsda_relative to - can_make_lsda_relative. - (_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde - make_lsda_relative field. Update after cie renaming. - Set u.cie.make_lsda_relative if can_make_lsda_relative - and if we find a relocation against the LSDA. - (_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when - changing a CIE's group representative. - (_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here. - (_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative - rather than need_lsda_relative. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and - u.cie.gc_mark. - (bfd_elf_section_data): Add fde_list. - (elf_fde_list): New macro. - (elf_obj_tdata): Add eh_frame_section. - (elf_eh_frame_section): New macro. - (_bfd_elf_gc_mark_reloc): Remove last parameter. - (_bfd_elf_gc_mark_fdes): Declare. - * elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs - for each input section. - (mark_entry, _bfd_elf_gc_mark_fdes): New functions. - * elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter. - (_bfd_elf_gc_mark): Update call accordingly. Mark the relocations - againts the section's FDEs. Don't mark the bfd's elf_eh_frame_section. - (bfd_elf_gc_sections): Parse each input bfd's .eh_frame before - marking any input sections. Remove the current EH handling. - * section.c (bfd_section): Remove gc_mark_from_eh. - * ecoff.c (bfd_debug_section): Update initializer accordingly. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Add u.cie. Document how u.fde.cie_inf - changes when removed == 0. - (eh_frame_hdr_info): Add parsed_eh_frames. - (_bfd_elf_begin_eh_frame_parsing): Declare. - (_bfd_elf_parse_eh_frame): Declare. - (_bfd_elf_end_eh_frame_parsing): Declare. - * elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function. - (_bfd_elf_parse_eh_frame): New function, split out from - _bfd_elf_discard_section_eh_frame. Make a first pass through the - buffer to calculate the number of entries and CIEs. Allocate memory - for them before the main loop. Replace current extended cie - representation with a pair of pointers, one to the local eh_cie_fde - and one to the full struct cie. Allocate a separate array of struct - cies if not merging. Merge CIEs during the main loop and set up each - u.cie.merged field. Point an FDE's cie_inf field directly at the - local CIE. Initially assume that all entries should be removed. - (_bfd_elf_end_eh_frame_parsing): New function. - (_bfd_elf_discard_section_eh_frame): Assume that the section has - already been parsed. Use a separate pass to mark entries that - need to be kept. Use the u.cie.merged field to track a CIE's - group representative. - * elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame - before _bfd_elf_discard_section_eh_frame. Wrap loop with calls to - _bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (eh_cie_fde): Put cie_inf in a union. Add a reloc_index - field. Use bitfields for fde_encoding, lsda_encoding and lsda_offset. - * elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf - accesses after the above change. - (_bfd_elf_eh_frame_section_offset): Likewise. - (_bfd_elf_write_section_eh_frame): Likewise. - (_bfd_elf_discard_section_eh_frame): Likewise. Set up reloc_index. - -2007-12-15 Richard Sandiford - - * elf-bfd.h (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): Declare. - (_bfd_elf_gc_mark): Use elf_gc_mark_hook_fn. - * elflink.c (init_reloc_cookie, fini_reloc_cookie) - (init_reloc_cookie_rels, fini_reloc_cookie_rels): New functions, - split out from... - (bfd_elf_discard_info): ...here. - (init_reloc_cookie_for_section): New function. - (fini_reloc_cookie_for_section): Likewise. - (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): New functions, - split out from... - (_bfd_elf_gc_mark): ...here. Use init_reloc_cookie_for_section - and fini_reloc_cookie_for_section. - -2007-12-12 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with - address. - (print_action_list): Fix name for ta_convert_longcall. - -2007-12-11 Catherine Moore - - * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if - the symbol's section is the undefined section. - -2007-12-11 Alan Modra - - * elf.c (elf_fake_sections): Add "warning:" to "..changed to PROGBITS" - message. - -2007-12-07 Bob Wilson - - * elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL. - (elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL. - (elf_xtensa_check_relocs): Use default case for all relocations that - need nothing done here. - (elf_xtensa_do_reloc): Compute self_address for all relocation types. - Handle R_XTENSA_32_PCREL. - (elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic - symbols. - (check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations. - -2007-12-05 Alan Modra - - * elf32-spu.c (spu_elf_size_stubs): Do consider branches to - non-function symbols for overlay stubs. - -2007-12-04 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT - entry for all dynamic objects. - -2007-12-04 Alan Modra - - * elf32-spu.c (spu_elf_size_stubs): Correct section alignment. - -2007-11-30 Richard Sandiford - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the - ELF header to choose between 32-bit and 64-bit relocation structures. - -2007-11-29 Mark Shinwell - - * archures.c (bfd_mach_mips_loongson_2e): New. - (bfd_mach_mips_loongson_2f): New. - * bfd-in2.h (bfd_mach_mips_loongson_2e): New. - (bfd_mach_mips_loongson_2f): New. - * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to - anonymous enum. - (arch_info_struct): Add Loongson-2E and Loongson-2F entries. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E - and Loongson-2F flags. - (mips_set_isa_flags): Likewise. - (mips_mach_extensions): Add Loongson-2E and Loongson-2F - entries. - -2007-11-29 Nick Clifton - - PR ld/5398 - * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not - complain if there is no glue bfd, just return. - -2007-11-28 Nick Clifton - - * elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to - cover forward jumps. - -2007-11-21 Nick Clifton - - * elf-m10300.c (mn10300_elf_relax_section): Allow for alignment - relocs when computing whether instructions can be relaxed. - -2007-11-16 Tristan Gingold - - * elflink.c (elf_link_output_extsym): Weaken assertion: if - --gc-section is set, there may be no TLS segment. - -2007-11-19 Alan Modra - - * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. - * elflink.c (bfd_elf_perform_complex_relocation): Return status. - Don't print reloc overflow message. - * elf32-mep.c (mep_elf_relocate_section): Handle status from - bfd_elf_perform_complex_relocation. - -2007-11-17 Thiemo Seufer - - * elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2 - -mfp64 attribute. - -2007-11-16 Nick Clifton - - * elf-m10300.c (mn10300_elf_check_relocs): Fix memory leak and - check that bfd_elf_get_elf_syms is only called once. - -2007-11-16 Ulrich Weigand - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of - synthetic symbol to point to the ELF symbol it was derived from. - -2007-11-15 Alan Modra - - PR 5328 - * opncls.c (separate_debug_file_exists): Use fopen/fread - rather than open/read and open in binary mode. - -2007-11-14 Richard Sandiford - - * elfxx-mips.c (mips_got_page_range): New structure. - (mips_got_page_entry): Likewise. - (mips_got_info): Add page_gotno and got_page_entries fields. - (mips_elf_got_per_bfd_arg): Add max_pages field. Delete - primary_count and current_count fields. - (mips_got_page_entry_hash, mips_got_page_entry_eq): New functions. - (mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise. - (mips_elf_get_got_for_bfd): New function, split out from - mips_elf_make_got_per_bfd. Initialize the page_gotno and - got_page_entries fields when creating a new GOT structure. - (mips_elf_make_got_pages_per_bfd): New function. - (mips_elf_merge_got_with): New function, split out from - mips_elf_make_got_per_bfd. Merge page entries as well as - non-page entries. Use the minimum of max_pages and the sum - of the page_gotnos to estimate the number of page entries. - (mips_elf_merge_gots): Use the minimum of max_pages and the - bfd's page_gotno to estimate the number of page entries. - Use the above functions. - (mips_elf_multi_got): Add page entries as well as non-page entries - to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages. - Initialize the page_gotno and got_page_entries fields when creating - a new primary GOT. Use the minimum of pages and page_gotno when - adding the number of pages entries to local_gotno. - (mips_elf_create_got_section): Initialize the page_gotno and - got_page_entries fields of the GOT structure. - (mips_elf_rel_relocation_p, mips_elf_read_rel_addend) - (mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New - functions, split out from... - (_bfd_mips_elf_relocate_section): ...here. - (_bfd_mips_elf_check_relocs): Record GOT page entries too. - (_bfd_mips_relax_section): Use mips_elf_get_section_contents. - (_bfd_mips_elf_always_size_sections): Use the smaller of the - loadable_size- and page_gotno-derived estimates. - -2007-11-14 Thiemo Seufer - - * elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent - unwanted fallthroughs in case statement. - -2007-11-13 H.J. Lu - - PR binutils/5307 - * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't - copy input subsystem if output is different from input. - -2007-11-13 Nick Clifton - - * elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the - accidental termination of DWARF location list entries. - (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc - is encountered that is larger than or not a mutliple of the number - of bytes being deleted. - When adjusting symbols, any symbols inside the region being - deleted must be moved to the end of the region. - Move align relocs forward if there is room for them after the - deletion of the region. - -2007-11-13 Alan Modra - - PR 5233 - * elf.c (rewrite_elf_program_header): Formatting. Add - first_matching_lma and first_suggested_lma booleans and use - instead of testing matching_lma and suggested_lma for zero. - -2007-11-12 H.J. Lu - - PR binutils/5299 - * peicode.h (pe_bfd_object_p): Save and restore previous bfd - state when calling coff_object_p. - -2007-11-12 Alan Modra - - * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol - pointer when we have a valid symbol. Init udata.p to NULL. - -2007-11-09 Nathan Sidwell - - * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber - rel_hash. Move loop inside if test. - -2007-11-08 Nathan Sidwell - - * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. - (elf_vxworks_finish_dynamic_entry): Declare. - * elf-vxworks.c: Include elf/vxworks.h. - (elf_vxworks_add_dynamic_entries): New. - (elf_vxworks_finish_dynamic_entry): New. - * Makefile.am (elf-vxworks.lo): Add dependency. - * Makefile.in (elf-vxworks.lo): Add dependency. - * elf32-i386.c (elf_i386_size_dynamic_sections, - elf_i386_finish_dynamic_sections): Call - elf_vxworks_add_dynamic_entries and - elf_vxworks_finish_dynamic_entry. - * elf32-ppc.c (ppc_elf_size_dynamic_sections, - ppc_elf_finish_dynamic_sections): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, - sparc_finish_dyn): Likewise. - * elf32-sh.c (sh_elf_size_dynamic_sections, - sh_elf_finish_dynamic_sections): Likewise. - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, - _bfd_mips_elf_finish_dynamic_sections): Likewise. - * elf32-arm.c (elf32_arm_size_dynamic_sections, - elf32_arm_finish_dynamic_sections): Likewise. - -2007-11-07 Olivier Hainque - - * bfd/elfxx-mips.c (_bfd_mips_elf_fake_sections): Force - SHF_MIPS_NOSTRIP on .debug_frame for Irix. - -2007-11-06 Alan Modra - - * elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here.. - (ppc64_elf_gc_sweep_hook): ..or here.. - (ppc64_elf_tls_optimize): ..or here. Make two passes through the - relocs, ensuring that tls_get_addr calls follow gd and ld relocs. - (allocate_dynrelocs): Refcount tlsld_got here. - (ppc64_elf_size_dynamic_sections): Allocate local got and call - allocate_dynrelocs before allocating tlsld_got. - (ppc64_elf_relocate_section): Remove check that a tls_get_addr - call follows gd and ld relocs. - - * elf32-ppc.c (ppc_elf_check_relocs): Don't refcount tlsld_got here.. - (ppc_elf_gc_sweep_hook): ..or here.. - (ppc_elf_tls_optimize): ..or here. Make two passes through the - relocs, ensuring that tls_get_addr calls follow gd and ld relocs. - (allocate_dynrelocs): Refcount tlsld_got here. - (ppc_elf_size_dynamic_sections): Call allocate_dynrelocs before - allocating tlsld_got. - (ppc_elf_relocate_section): Remove check that a tls_get_addr - call follows gd and ld relocs. - -2007-11-05 Alan Modra - - * merge.c (sec_merge_hash_lookup): Revert last change. - (record_section): Likewise. - (_bfd_merge_sections): Likewise. - (_bfd_merged_section_offset): Properly handle NULL secinfo. - (_bfd_add_merge_section): Allocate extra space for a zero - terminator on SEC_STRINGS sections. - -2007-11-05 Danny Smith - - * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text - and .bss section use the default. - * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2007-11-01 Joseph Myers - - * merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check - for unterminated strings. All callers changed. - (record_section): Add parameter abfd. Give error message for - unterminated strings. - (_bfd_merge_sections): Update call to record_section. - (_bfd_write_merged_section, _bfd_merged_section_offset): Handle - NULL secinfo from merge failures. - -2007-10-31 Nick Clifton - - * elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for - align relocs when there are no relocs attached to the section. - -2007-10-31 Alan Modra - - * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare. - * elflink.c (bfd_elf_match_symbols_in_sections): Make static. - Remove section name comparisons. - -2007-10-30 Nick Clifton - - * reloc.c (BFD_RELOC_MN10300_ALIGN): Add. - * bfd-in2.h: Regenerate. - * libbfd.h: Regnerate. - * elf-m10300.h: Handle R_MN10300_ALIGN relocs. - (mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. - Re-fix off by one error in comparisons. - -2007-10-25 Pedro Alves - - * bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case. - * bfd-in2.h: Regenerate. - -2007-10-25 Daniel Jacobowitz - - * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for - Tag_GNU_Power_ABI_Vector. - -2007-10-25 Joseph Myers - - * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add - PT_NULL header when not linking. - -2007-10-25 Carlos Eduardo Seo - - * elf.c (elfcore_grok_ppc_vmx): New function. - (elfcore_grok_note): Handle NT_PPC_VMX. - (elfcore_write_ppc_vmx): New function. - * elf-bfd.h (elfcore_write_ppc_vmx): Declare. - -2007-10-24 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2007-10-23 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs - emitted for ".brlt" entries. - (toc_adjusting_stub_needed): Don't treat ".fixup" specially here.. - (ppc64_elf_next_input_section): ..instead do so here. - -2007-10-19 Nick Clifton - - * config.bfd: Recognise am34-linux-gnu target. - * reloc.c: Add BFD_RELOC_MN10300_SYM_DIFF relocation. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf-m10300.c (elf_mn10300_howto): Add R_MN10300_SYM_DIFF. - (mn10300_reloc_map): Likewise. - (mn10300_elf_check_relocs): Do not create dynamic relocs for - symbol differences or relocations against absolute symbols. - (mn10300_elf_final_link_relocate): Likewise. - Handle R_MN10300_SYM_DIFF relocs. - (mn10300_elf_relocate_section): Fix for creating local copys of - dynamic relocs. - (mn10300_elf_relax_delete_bytes): Adjust symbols at the end of the - region. Adjust the size of function symbols. - (mn10300_elf_relax_section): Ignore symbols that are in discarded - sections. - -2007-10-19 Nick Clifton - - * elf-m10300.c: Convert to ISO C. - -2007-10-18 H.J. Lu - Alan Modra - - PR ld/4424 - * config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for - alpha/FreeBSD. Add bfd_elf64_sparc_vec for sparc64/FreeBSD. - Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD. - (targ64_selvecs): Set for i386/FreeBSD. - * elf-bfd.h (elf_backend_data): Add relocs_compatible. - (_bfd_elf_default_relocs_compatible): Declare. - (_bfd_elf_relocs_compatible): Declare. - * elfxx-target.h (elf_backend_relocs_compatible): Define. - (elfNN_bed): Init new relocs_compatible field. - * elflink.c (_bfd_elf_default_relocs_compatible): New function. - (_bfd_elf_relocs_compatible): New function. - (elf_link_add_object_symbols): Call bed->relocs_compatible. - * elf32-i386.c (elf_backend_relocs_compatible): Define. - * elf64-alpha.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - -2007-10-16 Bob Wilson - - * elf32-xtensa.c (relax_section): Check for a reference to a discarded - DWARF section and anticipate its replacement with the kept section. - -2007-10-16 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove - unnecessary size variables. Set sec->rawsize. - (relax_section, relax_property_section): Likewise. - -2007-10-16 Bob Wilson - - * section.c (struct bfd_section): Clarify comment for rawsize field. - * bfd-in2.h: Regenerate. - -2007-10-16 Bob Wilson - - * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize - values if they are set. - -2007-10-16 Nick Clifton - - PR 5146 - * configure.in (AC_CHECK_HEADERS): Add alloca.h - * configure: Regenerate. - * config.in: Regenerate. - * som.c: Replace alloca-conf.h inclusion with code recommended in - autoconf documentation. - * elf64-hppa.c: Likewise. - -2007-10-16 Nick Clifton - - * configure.in (--enable-elf-stt-common): New configure - option. If enabled then the tools can generate symbols with - the ELF STT_COMMON type. - * config.in: Regenerate. - * configure: Regenerate. - * elf.c (swap_out_syms): If USE_STT_COMMON is defined then set - the type of emitted common symbols to STT_COMMON. - * elfcode.h (elf_slurp_symbol_table): Accept STT_COMMON symbol - types. - -2007-10-15 Alan Modra - - * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value. - Return status. Adjust callers. - * coff-mcore.c (mcore_emit_base_file_entry): Likewise. - * coff-ppc.c (write_base_file_entry): New function. - (coff_ppc_relocate_section): Use it. - * elf32-arm.c (find_thumb_glue): Check asprintf return status. - (find_arm_glue): Likewise. - * vms-misc.c (_bfd_vms_output_flush): Check fwrite return value. - -2007-10-12 Nick Clifton - - PR 5160 - * elflink.c (eval_symbol): Remove bufsz variable and use - sizeof(symbuf) where necessary. - -2007-10-12 M R Swami Reddy - - * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo. - -2007-10-12 Daniel Jacobowitz - - * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced - local symbols specially. - (mips_elf_set_global_got_offset): Skip forced local symbols. - -2007-10-12 Alan Modra - - * elf.c (elfcore_grok_prxfpreg): Fix comment typo. - -2007-10-10 H.J. Lu - - * elf.c (get_program_header_size): Always add a PT_GNU_RELRO - segment for -z relro. - (_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO - segment only when needed. - -2007-10-05 Bob Wilson - - * elf32-xtensa.c (relax_section): Call pin_internal_relocs when - changing a relocation's offset. Adjust call to translate_reloc. Do - not add a fix record for a DIFF reloc. For other relocs, only add a - fix record if the translated target is in a different object file; - otherwise, just update the relocation. Call pin_internal_relocs when - updating a reloc but not when adding a fix record. - (translate_reloc): Get the target section from a new argument, not - from the relocation. Change check for relaxable sections to an - assertion. Compute separate offset adjustments for the base symbol - and the addend, and set the new relocation's addend correctly. Return - the new target section. - -2007-10-05 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_relocate_section): Remove updates of - r_type and howto after calling do_fix_for_relocateable_link and - do_fix_for_final_link. - -2007-10-05 Bob Wilson - - * elf32-xtensa.c (removed_by_actions): New. - (offset_with_removed_text): Reimplement using removed_by_actions. - (offset_with_removed_text_before_fill): Delete. - (relax_property_section): Use removed_by_actions. Rearrange logic. - (relax_section_symbols): Likewise. - -2007-10-04 Bob Wilson - - * elf32-xtensa.c (reloc_bfd_fix_struct): Delete target_abfd field. - (reloc_bfd_fix_init): Remove target_abfd argument. - (relax_section, move_literal): Adjust calls to reloc_bfd_fix_init. - -2007-10-04 Nick Clifton - - PR linker/5099 - * elf64-x86-64.c (elf64_x86_64_check_relocs): Add missing - apostrophe to error message. - -2007-10-01 M R Swami Reddy - - * elf32-cr16.c: Fixed DISP8, DISP20 and IMM20 relocations at - final relocation phase. - Added the below relaxations: IMM32 -> IMM20/IM16 -> IMM4. - * reloc.c: Added 3 new relocations: R_CR16_SWITCH8, - R_CR16_SWITCH16, R_CR16_SWITCH32. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2007-09-30 Alan Modra - - * elflink.c: Formatting. - -2007-09-29 Alan Modra - - * elflink.c (resolve_symbol): Handle symbols in SEC_MERGE - sections. Don't test symbol st_shndx. Don't bother with - bfd_link_hash_common symbols. Print longs rather than ints - in debug messages. - (eval_symbol): Replace "sym" and "advanced" params with "symp". - Replace "addr" and "section_offset" params with "dot". Don't - cast bfd_vma values to signed, cast them to bfd_signed_vma. - (bfd_elf_perform_complex_relocation): Delete "output_bfd", "info", - "local_syms" and "local_sections" params. Add "relocation". - Delete code calculating relocation value. - (evaluate_complex_relocation_symbols): Delete function. Fold into.. - (elf_link_input_bfd): ..existing code examining relocs. - * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. - * elf32-mep.c (mep_elf_check_relocs): Delete function. - (mep_elf_gc_sweep_hook, mep_elf_gc_mark_hook): Likewise. - (mep_elf_object_p): Don't set elf_bad_symtab. - (elf_backend_check_relocs): Don't define. - (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): Likewise. - (elf_backend_can_gc_sections, USE_RELA): Likwise. - (mep_elf_relocate_section): Move bfd_elf_perform_complex_relocation - call after we have calculated reloc value. Delete local sym - debug code. Use RELOC_FOR_GLOBAL_SYMBOL. Delete addend - adjusting code.. - (elf_backend_rela_normal): ..instead define this. - -2007-09-28 Alan Modra - - * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. - * elf32-arm.c (elf32_arm_check_relocs): Likewise. - * elf32-avr.c (elf32_avr_check_relocs): Likewise. - * elf32-bfin.c (bfinfdpic_check_relocs): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Likewise. - * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. - * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. - * elf32-fr30.c (fr30_elf_check_relocs): Likewise. - * elf32-frv.c (_frvfdpic_check_discarded_relocs): Likewise. - (elf32_frv_check_relocs): Likewise. - * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. - * elf32-m32c.c (m32c_elf_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_check_relocs): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. - * elf32-mcore.c (mcore_elf_check_relocs): Likewise. - * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. - * elf32-mt.c (mt_elf_check_relocs): Likewise. - * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_check_relocs): Likewise. - * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. - (score_elf_local_relocation_p): Likewise. - (_bfd_score_elf_relocate_section): Likewise. - (score_elf_final_link_relocate): Likewise. - -2007-09-26 Jan Beulich - - * elf32-i386.c (elf_i386_check_relocs): Revert NULL pointer - check for R_386_GNU_VTINHERIT. - * elf-m10300.c (mn10300_elf_check_relocs): Check for NULL - pointer for R_xxx_GNU_VTENTRY. - * elf32-arm.c (elf32_arm_check_relocs): Likewise. - * elf32-bfin.c (bfin_check_relocs): Likewise. - (bfinfdpic_check_relocs): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Likewise. - * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. - * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. - * elf32-fr30.c (fr30_elf_check_relocs): Likewise. - * elf32-frv.c (elf32_frv_check_relocs): Likewise. - * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. - * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_check_relocs): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_check_relocs): Likewise. - * elf32-mcore.c (mcore_elf_check_relocs): Likewise. - * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. - * elf32-ppc.c (ppc_elf_check_relocs): Likewise. - * elf32-s390.c (elf_s390_check_relocs): Likewise. - * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf32-v850.c (v850_elf_check_relocs): Likewise. - * elf32-vax.c (elf_vax_check_relocs): Likewise. - * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. - * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_check_relocs): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. - * elf64-s390.c (elf_s390_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_check_relocs): Likewise. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. - -2007-09-26 Alan Modra - - * elflink.c (set_symbol_value): Add isymbuf and locsymcount - params. Change symidx to a size_t. Don't access past end - of symbol buffer. - (resolve_symbol): Add isymbuf param and use instead of - finfo->internal_syms. - (eval_symbol, evaluate_complex_relocation_symbols): Likewise. - (elf_link_input_bfd): Don't read symbols specially for - evaluate_complex_relocation_symbols. - -2007-09-26 Tristan Gingold - - * som.c (som_get_reloc_upper_bound): If there are no relocs return - enough space to hold a NULL pointer. - -2007-09-26 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub): Correct rel_hdr.sh_size. - -2007-09-25 Alan Modra - - * elf32-spu.c (struct spu_link_hash_table): Add ovly_load_r_symndx. - (spu_elf_size_stubs): Count stub relocs. - (write_one_stub): Emit relocs on overlay call stubs. - - * elf32-spu.c (struct spu_link_hash_table): Add "stubs". - (spu_elf_link_hash_table_create): Init new field. - (spu_elf_size_stubs): Store sorted stub syms in new htab field - rather than local var. - (spu_elf_build_stubs): Iterate over htab stubs rather than - hash traversal. - (struct stubarr): Delete. - (allocate_spuear_stubs, populate_stubs, write_one_stub): Adjust. - -2007-09-24 Daniel Jacobowitz - - * elf.c (assign_file_positions_for_load_sections): Trust - p_align_valid. - (copy_elf_program_header): Copy PT_NULL segments. - -2007-09-24 Trevor Smigiel - - * elf32-spu.c (is_indirect_branch): New function. - (find_function_stack_adjust): End scan on hitting indirect branch. - (sum_stack): Cast %v arg to correct type. - -2007-09-21 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2007-09-21 Doug Kwan - - * Makefile.am (BFD32_LIBS): Add arange-set.lo. - (BFD32_LIBS_CFILES): Add arange-set.c. - (SOURCE_HFILES): Add arange-set.h - (dwarf2.lo): Add dependency upon arange-set.h. - (arange-set.lo): New target. - * Makefile.in: Regenerate. - * arange-set.c: New file. - * arange-set.h: New file. - * dwarf2.c: Include arange-set.h. - (struct dwarf2_debug) Add new fields comp_unit_count and - comp_unit_arange_set. - (struct comp_unit) Replace field arange with a new field arange_set. - (dwarf2_arange_set_allocate, dwarf2_arange_set_deallocate, - dwarf2_combine_arange_value, dwarf2_arange_set_new, - dwarf2_arange_set_with_value_new, dwarf2_comp_unit_arange_add): New - functions to utilize arange set in dwarf2.c. - (arange_add): Formatting change for a line longer than 80 characters. - (decode_line_info): Replace call target arange_add with - dwarf2_comp_unit_arange_add. - (read_rangelist_insert_arange_list, - read_rangelist_comp_unit_arange_add): New functions used as callbacks - for read_rangelist. - (read_rangelist): Change interface to accept a callback and data to - allow caller to select the action peformed on a new range list read. - (scan_unit_for_symbols): Use new interface of read_rangelist. - (parse_comp_unit): Create an arange set for each new comp unit. - Use new interface of read_rangelist. Replace call to arange_add - with that to dwarf2_comp_unit_arange_add. - (comp_unit_contains_address): Replace sequential search with a call to - arange_set_lookup_address, which can handles large set efficiently. - (stash_copy_local_aranges, stash_maybe_enable_arange_set, - stash_find_nearest_line_fast): New functions maintaining and using a - valued global arange set for all compilation units to speed up - bfd_dwarf2_find_nearest_line. - (find_line): Use global arange set. Replace sequential search over all - compilation units with a call to stash_find_nearest_line_fast. Add - book keeping to count number of compilation units. Replace empty - arange list test with a call to arange_set_empty_p. - -2007-09-21 Olivier Hainque - Tristan Gingold - - * syms.c (_bfd_stab_section_find_nearest_line): Look at the - specific SOM sections for stabs if the regular ones are not found. - * som.h (struct somdata): Add a line_info field, to be used by - som_find_nearest_line. - * som.c (som_find_nearest_line): Implement using the bfd stabs - function above. - -2007-09-19 Daniel Jacobowitz - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got - will be output. - -2007-09-19 Alan Modra - Doug Kwan - - * bfd-in.h (bfd_hash_insert): Declare. - * bfd-in2.h: Regenerate. - * hash.c (bfd_hash_insert): New function. Split out from.. - (bfd_hash_lookup): ..here. - * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert. - -2007-09-18 Alan Modra - - * elf.c (bfd_section_from_shdr): Check bfd_alloc return. - (elfcore_write_note): Check realloc return. - * elflink.c (_bfd_elf_link_find_version_dependencies): Check - bfd_zalloc return. - (_bfd_elf_link_assign_sym_version): Check bfd_malloc return. - (elf_link_add_object_symbols): Likewise. - (struct hash_codes_info): New. - (elf_collect_hash_codes): Return bfd_malloc error. - (struct collect_gnu_hash_codes): Add "error". - (elf_collect_gnu_hash_codes): Return bfd_malloc error. - (bfd_elf_size_dynamic_sections): Check return status of - _bfd_elf_link_find_version_dependencies. - (bfd_elf_size_dynsym_hash_dynstr): Adjust for elf_collect_hash_codes - and elf_collect_gnu_hash_codes changes. - (elf_sym_name_compare): Formatting. - (elf_fixup_link_order): Use bfd_malloc, not xmalloc. - -2007-09-17 H.J. Lu - - PR binutils/3281 - PR binutils/5037 - * elf-bfd.h (elf_obj_tdata): Remove relro. - - * elf.c (get_program_header_size): Check info->relro instead - of elf_tdata (abfd)->relro. - (_bfd_elf_map_sections_to_segments): Likewise. - (assign_file_positions_for_load_sections): Don't set - PT_GNU_RELRO segment alignment here. - (assign_file_positions_for_non_load_sections): Properly set up - PT_GNU_RELRO segment for copying executable/shared library. - (rewrite_elf_program_header): Remove PT_GNU_RELRO segment. - (copy_elf_program_header): Set p_size and p_size_valid fields for - PT_GNU_RELRO segment. - -2007-09-17 Nick Clifton - - * po/fi.po: New Finnish translation. - * po/es.po: Updated Spanish translation. - * configure.in (ALL_LINGUAS): Add fi. - * configure: Regenerate. - * po/bfd.pot: Regenerate. - -2007-09-15 Nick Clifton - - * bfd.c (_bfd_default_error_handler): fflush stdout. - -2007-09-14 Alan Modra - - * opncls.c (find_separate_debug_file): Ensure bfd_set_error has - been called on all error return paths. - (bfd_fill_in_gnu_debuglink_section): Use bfd_malloc, not malloc. - Clear padding after filename - -2007-09-14 Alan Modra - - * format.c (bfd_check_format_matches): Record matching targets even - when "matching" is NULL to allow bfd_associated_vector matches. - Consolidate error return code. Consolidate ok return code. Always - restore original target and format on error. - -2007-09-14 Alan Modra - - * configure.in: Delete BFD_HOST_LONG_LONG and bfd checks for - long long. Partly revert 2007-07-12 change, so that - BFD_HOST_64BIT_LONG and BFD_HOST_64BIT_LONG_LONG are set - independent of "void *" size. - * configure: Regenerate. - * config.in: Regenerate. - * Makefile.in: Regenerate. - -2007-09-12 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Delete elf_backend_sprintf_vma - and elf_backend_fprintf_vma. - (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. - * elf.c (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. - * elfxx-target.h (elf_backend_sprintf_vma): Don't define. - (elf_backend_fprintf_vma): Likewise. - (elfNN_bed): Don't init removed fields. - * bfd.c (is32bit): New function. - (bfd_sprintf_vma, bfd_fprintf_vma): Use the above. - -2007-09-11 Nathan Sidwell - - * archures.c: Add bfd_mach_mcf_isa_c_nodiv, - bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac. - * ieee.c (ieee_write_processor): Update coldfire architecture - list. - * bfd-in2.h: Rebuilt. - * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures. - (m68k_arch_features): Likewise. - * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV. - (elf32_m68k_print_private_bfd_data): Likewise. - -2007-09-11 Jan Beulich - - * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. - * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise. - -2007-09-08 Alan Modra - - * elf64-ppc.c (func_desc_adjust): When resolving undefined - references to dot-symbols, transfer def_regular and - def_dynamic from the descriptor symbol. - -2007-09-08 Alan Modra - - * config.bfd: Set want64 for spu-*-elf. - -2007-09-08 Alan Modra - - PR ld/2864, ld/5006 - * elf.c (special_sections): Comment typo. - (elf_fake_sections): Force SHT_PROGBITS for sections that are - SHT_NOBITS if BFD section flags say they have contents. - -2007-09-04 Michael Snyder - - * elf32-bfin.c (howto_table): Cut and paste error? - Name field of reloc is wrong. - -2007-09-04 Alan Modra - - * elf32-spu.c (elf_howto_table): Formatting. - -2007-09-02 H.J. Lu - - PR ld/4986 - * dwarf2.c (new_line_sorts_after): Undo the last change. - (add_line_info): Only keep the last entry with the same address - and end sequence. - -2007-08-31 H.J. Lu - - PR ld/4986 - * dwarf2.c (new_line_sorts_after): Also compare line number. - -2007-08-31 Jesse Michael - - * mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non - zerofill sections. - -2007-08-28 David Heine - - * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when - narrowing instructions. - -2007-08-28 Mark Shinwell - Joseph Myers - - * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, - then on type. - -2007-08-28 Robert Sebastian Gerus - - * config.bfd: Add support for i[3-7]86-*-dragonfly*. - * configure.in: Likewise. - * configure: Regenerate. - -2007-08-25 Ulrich Weigand - Alan Modra - - * elf.c (elfcore_grok_spu_note): New function. - (elf_parse_notes): Call it. - -2007-08-24 H.J. Lu - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust - indentation. - -2007-08-24 Pedro Alves - - * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T - guard. Make it host independent. - (elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around - NT_WIN32PSTATUS. - -2007-08-24 Jan Kratochvil - - * elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID. - * elf.c (elfcore_read_notes): Split to ... - (elf_read_notes) ... here ... - (elf_parse_notes): ... and here. Check `bfd_get_format (abfd)' with - the former subfunctions called only for BFD_CORE. - Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU". - (_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs. - (bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES. - (elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions. - Code advisory: Roland McGrath - -2007-08-24 Daniel Jacobowitz - - * elf64-mips.c (elf_backend_sign_extend_vma): Define. - -2007-08-24 Alan Modra - - * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. - -2007-08-23 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2007-08-23 H.J. Lu - - * elf32-i386.c: Include "bfd_stdint.h". - (elf_i386_rtype_to_howto): New function. - (elf_i386_info_to_howto_rel): Use it. - (x86_64_opcode16): New union type. - (elf_i386_check_tls_transition): New function. - (elf_i386_tls_transition): Updated to check transition and - issue an error if a transition isn't supported. - (elf_i386_check_relocs): Return FALSE if - elf_i386_tls_transition returns FALSE. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_relocate_section): Likewise. Remove BFD_ASSERT - on TLS transitions. - - * elf64-x86-64.c: Include "bfd_stdint.h". - (x86_64_opcode16): New union type. - (x86_64_opcode32): Likewise. - (elf64_x86_64_check_tls_transition): New function. - (elf64_x86_64_tls_transition): Updated to check transition and - issue an error if a transition isn't supported. - (elf64_x86_64_check_relocs): Return FALSE if - elf64_x86_64_tls_transition returns FALSE. - (elf64_x86_64_gc_sweep_hook): Likewise. - (elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT - on TLS transitions. - -2007-08-22 H.J. Lu - - * elfxx-ia64.c: Convert to ISO C90 prototypes. - (elfNN_hpux_backend_section_from_bfd_section): Make it static. - -2007-08-22 H.J. Lu - - * elf64-x86-64.c: Remove trailing whitespace. - * elfxx-ia64.c: Likewise. - -2007-08-21 H.J. Lu - - * elf32-i386.c (elf_i386_tls_transition): Accept a pointer - to ELF hash entry instead of an integer for local test. - (elf_i386_check_relocs): Updated. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a - pointer to ELF hash entry instead of an integer for local - test. - (elf64_x86_64_check_relocs): Updated. - (elf64_x86_64_gc_sweep_hook): Likewise. - (elf64_x86_64_relocate_section): Likewise. - -2007-08-20 H.J. Lu - - * elf32-i386.c (elf_i386_tls_transition): Break long line. - * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise. - -2007-08-20 Jan Kratochvil - - * elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE] - (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size. - (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size. - -2007-08-20 Nick Clifton - - * elflink.c (elf_fixup_link_order): Rewrite conversion of - s->alignment_power into an offset mask in order to avoid a gcc - error message. - -2007-08-17 Jakub Jelinek - - * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. - Change sparc64-*-linux-* to sparc64*-*-linux-*. - -2007-08-17 Alan Modra - - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. - -2007-08-16 H.J. Lu - - * elf.c: Revert last change. - -2007-08-16 H.J. Lu - - * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. - (bfd_section_from_phdr): Likewise. - (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment - if there is an attribute section. - (_bfd_elf_map_sections_to_segments): Likewise. - (IS_SECTION_IN_INPUT_SEGMENT): Likewise. - -2007-08-14 H.J. Lu - - PR ld/4918 - * elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32 - on ___tls_get_addr for GD->LE/LD->LE transitions when not - building shared library. - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Allow - R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions - when not building shared library. - -2007-08-14 Jan Kratochvil - - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now - initialized only on the first PT_LOAD. New variable LOADBASE_SET. - Removed PF_R checking for IA-64 vDSOs as redundant now. - Code advisory: Roland McGrath - -2007-08-13 Richard Sandiford - - * elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes. - (mips_elf_record_global_got_symbol): Increment local_gotno for - each forced-local symbol. - (_bfd_mips_elf_check_relocs): Pass forced-local call symbols to - mips_elf_record_global_got_symbol for VxWorks too. - (_bfd_mips_elf_always_size_sections): Set computed_got_sizes - to true after computing the GOT size. - (_bfd_mips_elf_hide_symbol): Increase local_gotno whenever - got.offset == 1. Only adjust global_gotno if computed_got_sizes. - For VxWorks, add a local entry when hiding a symbol that needs a - plt but has not been marked as needing a global got entry. - (_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to - false. - -2007-08-12 Daniel Jacobowitz - - * coffgen.c (coff_get_normalized_symtab): Correct cast. - -2007-08-13 Alan Modra - - * elf.c (elf_modify_segment_map): Add remove_empty_load param. - Don't remove empty PT_LOAD header if false. - (_bfd_elf_map_sections_to_segments): If user phdrs, pass false - to elf_modify_segment_map. - (assign_file_positions_for_load_sections): Pass false to - elf_modify_segment_map. - -2007-08-13 Alan Modra - - * elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define. - Update stub comments. - (build_plt_stub): Build two variants, one without "addis". - (ppc_build_one_stub): Build stubs without "addis" if possible. - (ppc_size_one_stub): Size new stubs. - -2007-08-11 Richard Sandiford - - * config.bfd (sh-*-vxworks): Define targ_underscore to "yes". - -2007-08-09 Michael Snyder - - * aoutx.h (aout_get_external_symbols): Return if count is zero. - -2007-08-09 H.J. Lu - - PR ld/4909 - * elf.c (print_segment_map): New function. - (assign_file_positions_for_load_sections): Call print_segment_map - when a section can't be allocated in segment. - -2007-08-09 Jan Kratochvil - - * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion. - -2007-08-07 Nick Clifton - - * po/bfd.pot: Updated template. - * po/BLD-POTFILES.in: Regenerate. - -2007-08-07 Alan Modra - - * elf.c: (_bfd_elf_make_section_from_phdr): Properly handle - bss segments. - -2007-08-06 Daniel Jacobowitz - - * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h. - * Makefile.in: Regenerated. - -2007-08-06 Daniel Jacobowitz - - * configure.in: Update version to 2.18.50. - * configure: Regenerated. - -2007-08-06 Paul Brook - - * elf32-arm.c (elf32_arm_link_hash_entry): Add - plt_maybe_thumb_refcount. - (elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount. - (elf32_arm_copy_indirect_symbol): Ditto. - (elf32_arm_adjust_dynamic_symbol): Ditto. - (bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24. - (arm_add_to_rel): Ditto. - (elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with - R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub. - (elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts - for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. - (elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24 - and R_ARM_THM_JUMP19. - (allocate_dynrelocs): Use plt_maybe_thumb_refcount. - (elf32_arm_finish_dynamic_symbol): Ditto. - (elf32_arm_output_plt_map): Ditto. - -2007-08-06 Daniel Jacobowitz - - * elf.c (rewrite_elf_program_header): Handle sections not sorted - by address. - (copy_elf_program_header): Likewise. - -2007-08-04 H.J. Lu - - * elf-bfd.h (xvec_get_elf_backend_data): Add const. - - * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. - * elfcore.h (elf_core_file_p): Likewise. - -2007-08-02 H.J. Lu - - * coffcode.h (ALIGN_SET): Removed. - (ELIFALIGN_SET): Likewise. - (coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES, - IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, - IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, - IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES. - -2007-08-01 Michael Snyder - - * vms-tir.c (new_section): Fix cut and paste error. - - * aoutx.h (aout_link_add_symbols): Return if count is zero. - - * elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so - pointer must be non-null. - -2007-08-01 Tristan Gingold - - * coffcode.h (coff_sort_func_alent): New function. - (coff_slurp_line_table): Sort line table if not already sorted. - -2007-08-01 Jakub Jelinek - - * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy - GCC 3.4.x warning. - -2007-08-01 Alan Modra - - * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown - r_type. - (swap_std_reloc_in): Likewise. - (aout_link_input_section_std): Likewise. Return with an error - on unexpected relocation type. - (aout_link_input_section_ext): Likewise. - -2007-08-01 Alan Modra - - PR4694 - * aoutx.h (final_link): Write a zero in first word of - stringtab if no symbols rather than corrupting last byte - of text/data. - -2007-07-31 Jakub Jelinek - - * elf.c (get_program_header_size): Adjacent loadable .note* - sections need just one PT_NOTE segment. - (_bfd_elf_map_sections_to_segments): Likewise. - -2007-07-30 Michael Snyder - - * coffgen.c (_bfd_coff_read_internal_relocs): Revert change of - 2007-07-26. Buffer still in use, can't be freed. - -2007-07-27 Michael Snyder - - * cofflink.c (coff_link_add_symbols): Return if count is zero. - - * coff-i386.c (coff_i386_rtype_to_howto): Off by one error. - - * aoutx.h (slurp_symbol_table): Return if count == 0. - - * coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero. - - * elf32-i386.c (elf_i386_check_relocs): Check for null pointer. - -2007-07-27 H.J. Lu - - * config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec. - -2007-07-26 Michael Snyder - - * coff-i386.c (coff_i386_rtype_to_howto): Guard against null. - - * linker.c (bfd_section_already_linked_table_insert): Change - return type from void to boolean. Return FALSE on failure. - (_bfd_generic_section_already_linked): Test return value of - bfd_section_already_linked_table_insert, call fatal on error. - - * elflink.c (_bfd_elf_section_already_linked): Test return value - of bfd_section_already_linked_table_insert, call fatal on error. - - * libbfd-in.h (bfd_section_already_linked_table_insert): Update - return type to bfd_boolean. - - * libbfd.h: Regenerate. - -2007-07-26 Adam Nemet - - * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap, - bfd_slurp_armap): Improve function comment. - -2007-07-26 Michael Snyder - - * linker.c (already_linked_newfunc): Check for NULL return from - bfd_hash_allocate. - - * coffgen.c (fixup_symbol_value): Guard against null; - bfd_is_com_section will dereference the section pointer. - - * syms.c (bfd_decode_symclass): Guard against NULL, since - bfd_is_com_section dereferences the pointer. - - * srec.c (srec_scan): Check for EOF (critical because return value - will be used as array index). - - * coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs - are not to be cached, free the temporary buffer. - - * aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero - or count == zero. - - * tekhex.c (first_phase): Check return value for null. - - * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless - pointer increment. - -2007-07-26 Alan Modra - - * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary - check on dynobj. Remove bed shadow. - - * srec.c (srec_get_section_contents): Return immediately on - count zero. Check that offset and count are within section. - * libbfd.c (_bfd_generic_get_section_contents): Check that - offset + count does not overflow. - - * srec.c (srec_canonicalize_symtab): Don't alloc when symcount - is zero. Correct return value on error. - * mmo.c (mmo_canonicalize_symtab): Likewise. - * binary.c (binary_canonicalize_symtab) Correct return on error. - -2007-07-26 Thiemo Seufer - - * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL. - -2007-07-26 Alan Modra - - * reloc.c (bfd_generic_get_relocated_section_contents): Avoid - bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound - says there are no relocs. - -2007-07-26 Doug Kwan - - Speed up bfd_dwarf2_find_line. - * dwarf2.c (struct dwarf2_debug): Add new fields to support function - and variable info hash tables. Add last_comp_unit, info_hash_count, - funcinfo_hash_table, varinfo_hash_table, hash_units_head. - (struct comp_unit): Add prev_unit, cached. - (struct info_list_node, struct info_hash_entry, - struct info_hash_table): New. - (info_hash_table_newfunc, create_info_hash_table, - insert_info_hash_table, lookup_info_hash_table): New functions - implementing function and variable info hash tables. - (scan_unit_for_symbols): Add checks to make sure hash tables are - consistent with compilation units. - (comp_unit_maybe_decode_line_info): New function. - (comp_unit_find_line): Use comp_unit_maybe_decode_line_info. - (reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info, - info_hash_lookup_funcinfo, info_hash_lookup_varinfo, - stash_maybe_update_info_hash_table, stash_verify_info_hash_table, - stash_maybe_enable_info_hash_tables, stash_find_line_fast): New - functions. Make use of info hash tables to speed up - bfd_dwarf2_find_line. - (find_line): Use hash table for faster lookup if it is turned on. - Also add code to maintain bi-directional link in comp units. - -2007-07-25 Michael Snyder - - * coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done - if size == 0; return and avoid possible null pointer issues. - -2007-07-25 Alan Modra - - * linker.c (generic_link_add_symbol_list): Warning fix. - -2007-07-24 Michael Snyder - - * opncls.c (bfd_make_writable): Check return from bfd_malloc. - - * elflink.c (bfd_elf_final_link): Avoid redundant frees -- return - on bfd_malloc error rather than goto error_return. - -2007-07-24 Alan Modra - - * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook, - _bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc, - _bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol, - _bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create, - bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class, - bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list, - bfd_elf_get_runpath_list, bfd_elf_get_dt_soname, - bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol, - struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol, - elf_sym_name_compare, elf_create_symbuf, - bfd_elf_match_symbols_in_sections, - _bfd_elf_match_sections_by_type): Move to here.. - * elf.c: ..from here. - -2007-07-23 Richard Sandiford - - * elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type - of weakdef->root.type if weakdef has no regular definition. - -2007-07-22 Adam Nemet - - * elfxx-mips.c (struct mips_elf_link_hash_table): Add new field - small_data_overflow_reported. - (_bfd_mips_elf_link_hash_table_create): Initialize it. - (_bfd_mips_elf_relocate_section) : Report - small-data section overflow. - -2007-07-19 Doug Kwan - - PR binutils/4797 - * dwarf2.c: (find_line) Do not dereference functionname_ptr if - do_line is true. - -2007-07-18 Bob Wilson - - * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore - non-ELF sections. - -2007-07-18 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section - vma and size for dynamic tags from the output sections. - -2007-07-18 Alan Modra - - * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx". - * elf.c (bfd_section_from_r_symndx): Don't cache bfd section of - symbol. Instead cache ELF section index. Remove redundant - checks of st_shndx. - -2007-07-15 Mike Frysinger - - * trad-core.c (NBPG): If not defined, set to getpagesize(). - -2007-07-13 Roland McGrath - - * elf-bfd.h (struct elf_obj_tdata): Revert last change. - Add after_write_object_contents, after_write_object_contents_info. - * elf.c (_bfd_elf_write_object_contents): Revert last change. - Instead, call after_write_object_contents if set. - -2007-07-12 Kai Tietz - - * bfd-in.h: (BFD_HOST_64BIT_LONG_LONG): New. - (BFD_HOSTPTR_T): Host pointer type for casting a - pointer to an integer type. - (bfd_hostptr_t): The typedef of BFD_HOSTPTR_T. - (sprintf_vma, fprintf_vma): Add support for long long prints. - * bfd-in2.h: Regenerate. - * configure.in: (BFD_HOST_64BIT_LONG_LONG): New. - (BFD_HOSTPTR_T): Host pointer type for casting a - pointer to an integer type. Default is "unsigned long". - (AC_CHECK_SIZEOF(void *)): New. - (host64): Set it if the pointer size is 8. - * configure: Regenerate. - * config.in: Add macro SIZEOF_VOID_P. - * coffcode.h: Replace host ptr type assuming "long" with - bfd_hostptr_t type. - * coffgen.c: Likewise. - * elf-eh-frame.c: Likewise. - * peicode.h: Likewise. - -2007-07-10 H.J. Lu - - * Makefile.in: Regenerated. - -2007-07-10 H.J. Lu - - PR binutils/4756 - * simple.c (bfd_simple_get_relocated_section_content): Don't - apply relocation on executable and shared library. - -2007-07-10 Nathan Sidwell - - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate - copy relocs on vxworks. - -2007-07-10 Alan Modra - - * elf32-arm.c (elf32_arm_size_info): Init checksum_contents field. - * 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 (elf64_sparc_size_info): Likewise. - -2007-07-09 H.J. Lu - - * elflink.c (bfd_elf_record_link_assignment): Handle indirect - symbol. - (_bfd_elf_merge_symbol): Properly update normal symbol when - overriding the versioned symbol from a dynamic library. - -2007-07-09 Roland McGrath - - * elf-bfd.h (struct elf_obj_tdata): Add members - emit_note_gnu_build_id and note_gnu_build_id_sec. - * elf.c (_bfd_id_note_section_size): New global function. - (read_hex, _bfd_elf_write_build_id_section): New static functions. - (_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section - if emit_note_gnu_build_id is set. - * Makefile.am (elf.lo): Update dependencies. - - * elf-bfd.h (struct elf_size_info): Add checksum_contents hook. - (bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare. - * elfcode.h (elf_checksum_contents): New macro and function. - (NAME(_bfd_elf,size_info)): Initialize checksum_contents hook. - -2007-07-06 Michael Snyder - - * elflink.c (elf_link_add_object_symbols): Return via - error_free_vers on "notice" failure. - -2007-07-04 H.J. Lu - - * peicode.h (pe_bfd_object_p): Don't check PE vs. EFI target - if arch is unknown. - -2007-07-04 Nick Clifton - - Import this patch from an internal tree: - - 2001-07-17 Richard Henderson - - * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly - compensate for high bit set in R_MEP_LOW16. - -2007-07-03 Joseph Myers - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Copy type from - input attributes if value has been copied. - -2007-07-03 Nick Clifton - - * COPYING: Replace with GPLv3 text. - * aix386-core.c: Update copyright notice to refer to GPLv3. - * aix5ppc-core.c, aout0.c, aout32.c, aout64.c, aout-adobe.c, - aout-arm.c, aout-cris.c, aoutf1.h, aout-ns32k.c, aout-sparcle.c, - aout-target.h, aout-tic30.c, aoutx.h, archive64.c, archive.c, - archures.c, armnetbsd.c, bfd.c, bfd-in.h, bfdio.c, bfdwin.c, - binary.c, bout.c, cache.c, cf-i386lynx.c, cf-sparclynx.c, - cisco-core.c, coff64-rs6000.c, coff-alpha.c, coff-apollo.c, - coff-arm.c, coff-aux.c, coffcode.h, coffgen.c, coff-go32.c, - coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, coff-i960.c, - coff-ia64.c, cofflink.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, - coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, - coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, - coff-svm68k.c, coffswap.h, coff-tic30.c, coff-tic4x.c, - coff-tic54x.c, coff-tic80.c, coff-u68k.c, coff-w65.c, - coff-we32k.c, coff-x86_64.c, coff-z80.c, coff-z8k.c, corefile.c, - cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, cpu-bfin.c, - cpu-cr16.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.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-ia64-opc.c, cpu-ip2k.c, cpu-iq2000.c, - cpu-m10200.c, cpu-m10300.c, cpu-m32c.c, cpu-m32r.c, cpu-m68hc11.c, - cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, - cpu-mep.c, cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-mt.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-score.c, cpu-sh.c, - cpu-sparc.c, cpu-spu.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-xc16x.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z80.c, cpu-z8k.c, - demo64.c, doc/chew.c, dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, - ecoffswap.h, efi-app-ia32.c, efi-app-ia64.c, efi-app-x86_64.c, - elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, - elf32-avr.h, elf32-bfin.c, elf32.c, elf32-cr16.c, elf32-cr16c.c, - elf32-cris.c, elf32-crx.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-iq2000.c, elf32-m32c.c, elf32-m32r.c, elf32-m68hc11.c, - elf32-m68hc12.c, elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, - elf32-m88k.c, elf32-mcore.c, elf32-mep.c, elf32-mips.c, - elf32-msp430.c, elf32-mt.c, elf32-openrisc.c, elf32-or32.c, - elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, elf32-score.c, - elf32-sh64.c, elf32-sh64-com.c, elf32-sh64.h, elf32-sh.c, - elf32-sh-symbian.c, elf32-sparc.c, elf32-spu.c, elf32-spu.h, - elf32-v850.c, elf32-vax.c, elf32-xc16x.c, elf32-xstormy16.c, - elf32-xtensa.c, elf64-alpha.c, elf64.c, elf64-gen.c, elf64-hppa.c, - elf64-hppa.h, 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, elf-attrs.c, elf-bfd.h, elf.c, elfcode.h, - elfcore.h, elf-eh-frame.c, elf-hppa.h, elflink.c, elf-m10200.c, - elf-m10300.c, elfn32-mips.c, elf-strtab.c, elf-vxworks.c, - elf-vxworks.h, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, - elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, epoc-pe-arm.c, - epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, genlink.h, - hash.c, host-aout.c, hosts/alphavms.h, hp300bsd.c, hp300hpux.c, - hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, - i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, - i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, - libaout.h, libbfd.c, libbfd-in.h, libcoff-in.h, libecoff.h, - libhppa.h, libieee.h, libnlm.h, liboasys.h, libpei.h, libxcoff.h, - linker.c, lynx-core.c, m68k4knetbsd.c, m68klinux.c, m68knetbsd.c, - m88kmach3.c, m88kopenbsd.c, mach-o.c, mach-o.h, mach-o-target.c, - mep-relocs.pl, merge.c, mipsbsd.c, mmo.c, netbsd-core.c, netbsd.h, - newsos3.c, nlm32-alpha.c, nlm32.c, nlm32-i386.c, nlm32-ppc.c, - nlm32-sparc.c, nlm64.c, nlm.c, nlmcode.h, nlmswap.h, nlm-target.h, - ns32k.h, ns32knetbsd.c, oasys.c, opncls.c, osf-core.c, - pc532-mach.c, pdp11.c, pe-arm.c, pe-arm-wince.c, pef.c, pef.h, - pef-traceback.h, pe-i386.c, pei-arm.c, pei-arm-wince.c, peicode.h, - pei-i386.c, pei-mcore.c, pei-mips.c, pei-ppc.c, pei-sh.c, - pei-x86_64.c, pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, - pe-x86_64.c, peXXigen.c, ppcboot.c, ptrace-core.c, reloc16.c, - reloc.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, - simple.c, som.c, som.h, sparclinux.c, sparclynx.c, sparcnetbsd.c, - srec.c, stabs.c, stab-syms.c, stamp-h.in, sunos.c, syms.c, - sysdep.h, targets.c, targmatch.sed, tekhex.c, ticoff.h, - trad-core.c, vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, - vms.c, vms-gsd.c, vms.h, vms-hdr.c, vms-misc.c, vms-tir.c, - xcofflink.c, xcoff-target.h, xsym.c, xsym.h, xtensa-isa.c, - xtensa-modules.c: Likewise. - * elf32-sh-relocs.h: Add copyright notice. - * hosts/alphalinux.h, hosts/decstation.h, hosts/delta68.h, - hosts/dpx2.h, hosts/hp300bsd.h, hosts/i386bsd.h, - hosts/i386linux.h, hosts/i386mach3.h, hosts/i386sco.h, - hosts/i860mach3.h, hosts/m68kaux.h, hosts/m68klinux.h, - hosts/m88kmach3.h, hosts/mipsbsd.h, hosts/mipsmach3.h, - hosts/news.h, hosts/news-mips.h, hosts/pc532mach.h, - hosts/riscos.h, hosts/symmetry.h, hosts/tahoe.h, hosts/vaxbsd.h, - hosts/vaxlinux.h, hosts/vaxult2.h, hosts/vaxult.h: Likewise. - * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. - -2007-07-02 Joseph Myers - - * elfxx-mips.c (mips_elf_calculate_relocation): Handle - R_MIPS_TLS_DTPREL32 and R_MIPS_TLS_DTPREL64. - * elf64-mips.c (mips_elf64_howto_table_rela): Support - R_MIPS_TLS_DTPREL64. - -2007-07-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - -2007-07-02 Alan Modra - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Tidy - symsec != NULL tests. - -2007-07-02 Alan Modra - - PR 4712 - * elf.c (assign_file_positions_for_load_sections): Adjust lma - by p_vaddr_offset. - -2007-06-30 H.J. Lu - - * aclocal.m4: Regenerated. - * Makefile.in: Likewise. - -2007-06-29 Joseph Myers - - * elf32-ppc.c (ppc_elf_merge_obj_attributes): New. - (ppc_elf_merge_private_bfd_data): Call it. - -2007-06-29 Joseph Myers - - * elfxx-mips.c (mips_elf_merge_obj_attributes): New. - (_bfd_mips_elf_merge_private_bfd_data): Call it. - -2007-06-29 Joseph Myers - - * elf-attrs.c: New. - * Makefile.am (BFD32_BACKENDS): Add elf-attrs.lo. - (BFD32_BACKENDS_CFILES): Add elf-attrs.c. - (elf-attrs.lo): Generate dependencies. - * Makefile.in: Regenerate. - * configure.in (elf): Add elf-attrs.lo. - * configure: Regenerate. - * elf-bfd.h (struct elf_backend_data): Add entries for object - attributes. - (NUM_KNOWN_OBJ_ATTRIBUTES, obj_attribute, obj_attribute_list, - OBJ_ATTR_PROC, OBJ_ATTR_GNU, OBJ_ATTR_FIRST, OBJ_ATTR_LAST, - Tag_NULL, Tag_File, Tag_Section, Tag_Symbol, Tag_compatibility): - New. - (struct elf_obj_tdata): Add entries for object attributes. - (elf_known_obj_attributes, elf_other_obj_attributes, - elf_known_obj_attributes_proc, elf_other_obj_attributes_proc): - New. - (bfd_elf_obj_attr_size, bfd_elf_set_obj_attr_contents, - bfd_elf_get_obj_attr_int, bfd_elf_add_obj_attr_int, - bfd_elf_add_proc_attr_int, bfd_elf_add_obj_attr_string, - bfd_elf_add_proc_attr_string, bfd_elf_add_obj_attr_compat, - bfd_elf_add_proc_attr_compat, _bfd_elf_attr_strdup, - _bfd_elf_copy_obj_attributes, _bfd_elf_obj_attrs_arg_type, - _bfd_elf_parse_attributes, _bfd_elf_merge_object_attributes): New. - * elf.c (_bfd_elf_copy_private_bfd_data): Copy object attributes. - (bfd_section_from_shdr): Handle attributes sections. - * elflink.c (bfd_elf_final_link): Handle attributes sections. - * elfxx-target.h (elf_backend_obj_attrs_vendor, - elf_backend_obj_attrs_section, elf_backend_obj_attrs_arg_type, - elf_backend_obj_attrs_section_type): New. - (elfNN_bed): Update. - * elf32-arm.c (NUM_KNOWN_ATTRIBUTES, aeabi_attribute, - aeabi_attribute_list): Remove. - (struct elf32_arm_obj_tdata): Remove object attributes fields. - (check_use_blx, bfd_elf32_arm_set_vfp11_fix, using_thumb2, - elf32_arm_copy_private_bfd_data, elf32_arm_merge_eabi_attributes): - Update for new object attributes interfaces. - (uleb128_size, is_default_attr, eabi_attr_size, - elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, - elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, - elf32_arm_new_eabi_attr, elf32_arm_get_eabi_attr_int, - elf32_arm_add_eabi_attr_int, attr_strdup, - elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat, - copy_eabi_attributes, elf32_arm_parse_attributes): Remove. Moved - to generic code in elf-attrs.c. - (elf32_arm_obj_attrs_arg_type): New. - (elf32_arm_fake_sections): Do not handle .ARM.attributes. - (elf32_arm_section_from_shdr): Do not handle SHT_ARM_ATTRIBUTES. - (bfd_elf32_bfd_final_link): Remove. - (elf_backend_obj_attrs_vendor, elf_backend_obj_attrs_section, - elf_backend_obj_attrs_arg_type, - elf_backend_obj_attrs_section_type): New. - * elf32-bfin.c (bfin_elf_copy_private_bfd_data): Copy object - attributes. - * elf32-frv.c (frv_elf_copy_private_bfd_data): Likewise. - * elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Likewise. - * elf32-mep.c (mep_elf_copy_private_bfd_data): Likewise. - * elf32-mt.c (mt_elf_copy_private_bfd_data): Likewise. - * elf32-sh.c (sh_elf_copy_private_data): Likewise. - * elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise. - -2007-06-29 Paul Brook - - * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Suppress - call veneers for call relocations against undefined symbols. - (elf32_arm_final_link_relocate): Turn call to undefined symbol - into a jump to the next instruction. - -2007-06-29 Michael Snyder - - * bfd.c (bfd_demangle): Plug memory leak (Coverity). - -2007-06-29 M R Swami Reddy - - * Makefile.am: Add cr16 related entry - * Makefile.in: Regenerate - * archures.c: Add bfd_cr16_arch - * bfd-in2.h: Regenerate - * config.bfd: Add cr16-elf - * configure.in: Add bfd_elf32_cr16_vec - * configure: Regenerate. - * targets.c: Added cr16 related information - * cpu-cr16.c: New file. - * elf32-cr16.c: New file. - * reloc.c: Added cr16 relocs. - -2007-06-29 Alan Modra - - * elflink.c (_bfd_elf_link_assign_sym_version): Improve error - message for undefined version nodes. - (elf_gc_sweep): Don't warn when zero size sections are - removed. - -2007-06-29 Nathan Froyd - - * elf32-ppc.c (ppc_elf_info_to_howto): Check for invalid relocation - types. - -2007-06-29 Alan Modra - - * elf32-spu.c (spu_elf_fake_sections): New function. - (elf_backend_fake_sections): Define. - -2007-06-29 Alan Modra - - * elf.c (assign_file_positions_for_load_sections): Use elf - section header sh_size rather than bfd section size, simplifying - .tbss handling. - -2007-06-29 Alan Modra - - PR ld/4701 - * elf.c (assign_file_positions_for_load_sections): Ensure bss - segments meet gABI alignment requirements. Don't allocate - file space for bss sections in a segment also containing file - or program headers. - -2007-06-27 Alan Modra - - * bfd.c (struct bfd): Rename "next" to "archive_next". - * archive.c: Rename uses throughout file. - * archive64.c: Likewise. - * coff-rs6000.c: Likewise. - * ecoff.c: Likewise. - * som.c: Likewise. - * bfd-in2.h: Regenerate. - - * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over - input bfds. - * elf32-spu.c (spu_elf_create_sections): Likewise. - -2007-06-26 H.J. Lu - - * dwarf2.c (find_line): New. Contains the duplicated code from: - (_bfd_dwarf2_find_nearest_line): Use it. - (_bfd_dwarf2_find_line): Use it. - -2007-06-26 Joseph Myers - - * elf32-arm.c (copy_eabi_attributes): Copy type of attributes. - -2007-06-25 Richard Sandiford - - * elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs - to be used for calls from MIPS16 code. - -2007-06-23 Andreas Schwab - - * configure.in (--with-separate-debug-dir): New option. - * configure: Regenerate. - * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. - * Makefile.in: Regenerate. - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to - bfd_follow_gnu_debuglink. - (_bfd_dwarf2_find_line): Likewise. - -2007-06-22 Nick Clifton - - * dwarf2.c: Add support for reading in debug information via a - .gnu_debuglink section: - (struct dwarf2_debug): Add bfd field to record the bfd containing - the debug info. - (parse_comp_unit): Remove ABFD parameter. Instead use the bfd - field in the dwarf2_debug structure. - (_bfd_dwarf2_find_nearest_line): If a debug info section could not - be found in the current bfd call bfd_follow_gnu_debuglink to see - if another file contains the debug information. If it does, open - it and continue. - (_bfd_dwarf2_find_line): Likewise. - -2007-06-19 H.J. Lu - - PR ld/4590 - * elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset - when removing duplicated entries. - (get_dyn_sym_info): Initialize the got_offset field to -1. - Update call to sort_dyn_sym_info. - (elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort - array of addend and remove duplicates. - -2007-06-18 H.J. Lu - - * libpei.h (_bfd_XXi_final_link_postscript): Remove - duplication. - (bfd_target_pei_p): New. - (bfd_target_pei_arch): New - (bfd_target_efi_p): Likewise. - (bfd_target_efi_arch): New - (bfd_pe_executable_p): Use bfd_target_pei_p and - bfd_target_efi_p. - - * peicode.h (arch_type): New enum. - (pe_arch): New function. - (pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file - if there is an EFI/PE target. - -2007-06-14 H.J. Lu - - * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config. - - * acinclude.m4: Don't include m4 files. Remove libtool - kludge. - - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - -2007-06-11 Sterling Augustine - Bob Wilson - - * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed - XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. - (extend_ebb_bounds_backward, compute_text_actions): Likewise. - (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise. - (xtensa_get_property_predef_flags): Likewise. - (compute_removed_literals): Pass new arguments to is_removable_literal. - (is_removable_literal): Add sec, prop_table and ptblsize arguments. - Do not remove literal if the NO_TRANSFORM property flag is set. - -2007-05-31 Richard Sandiford - - * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a - type (3) single-GOT entry, read tls_type from the hash table entry - rather than the GOT entry. - -2007-06-01 Alan Modra - - * simple.c (bfd_simple_get_relocated_section_contents): Init - input_bfds_tail. - -2007-05-30 Alan Modra - - * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections - created by objcopy --only-keep-debug. - (_bfd_elf_init_private_section_data): Only change elf_section_type - if it is SHT_NULL. - - * elf.c (assign_file_positions_for_load_sections): Correct sh_type - to SHT_NOBITS earlier. Base actions in rest of function on sh_type - and sh_flags instead of bfd section flags. Delete voff and code - keeping nobits segments aligned. - -2007-05-25 Eric Christopher - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): - Check that sym_sec isn't NULL before accessing. - -2007-05-24 Steve Ellcey - - * Makefile.in: Regnerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.in: Regenerate. - -2007-05-22 Paul Brook - - * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset - with sec and sec_shndx. - (elf32_arm_ouput_plt_map_sym): Use them. - (elf32_arm_output_arch_local_syms): Output mapping symbols for - interworking glue. - -2007-05-18 Paul Brook - - * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define. - (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New. - (record_arm_to_thumb_glue): Add v5t non-pic glue. - (elf32_arm_create_thumb_stub): Ditto. - -2007-05-16 H.J. Lu - Alan Modra - - * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss - section to the minimum alignment. - -2007-05-15 H.J. Lu - Alan Modra - - PR ld/4504 - * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. - * elflink.c (_bfd_elf_adjust_dynamic_copy): New. - - * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call - _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic - bss section. - * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. - * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. - * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. - * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. - * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. - * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. - * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. - -2007-05-15 Richard Sandiford - - * elfxx-mips.c (mips_elf_create_local_got_entry): Remove - input_section argument. Create .rela.dyn relocations against - symbol 0 rather than the section symbol. - (mips_elf_local_got_index): Remove input_section argument. - Update call to mips_elf_create_local_got_entry. - (mips_elf_got_page, mips_elf_got16_entry): Likewise. - (mips_elf_calculate_relocation): Update calls to - mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. - -2007-05-15 Mark Shinwell - - * elf32-arm.c (elf32_arm_final_link_relocate): Correctly - handle the Thumb-2 JUMP19 relocation. - -2007-05-15 Alan Modra - - PR 4479 - * elf.c (elf_fake_sections): Don't allow backend to change - SHT_NOBITS if called for strip/objcopy --only-keep-debug. - * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar - fix from here. - -2007-05-14 Alan Modra - - * elf.c (bfd_elf_string_from_elf_section): Return NULL on - invalid shstrndx. - (bfd_elf_get_str_section): Likewise. - -2007-05-12 Alan Modra - - PR 4497 - * elf-eh-frame.c (struct cie): Add "local_personality". Make - "personality" a union. - (cie_eq): Compare local_personality too. Adjust personality - comparison. - (_bfd_elf_discard_section_eh_frame): Check binding on personality - reloc sym to allow for bad symtab. Use stashed local syms rather - than reading personality local sym. Handle discarded sections. - -2007-05-12 Alan Modra - - * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X. - -2007-05-11 Alan Modra - - * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. - (enum ppc_elf_plt_type): Move from.. - * elf32-ppc.c: ..here. - (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16. - (struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete - can_use_new_plt. Make is_vxworks a bitfield. - (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again). - (ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd. - (ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc - flags to better detect object files needing old bss-style plt. - Allow secure plt to be used without rel16 relocs being detected. - Warn if secure plt request cannot be allowed. - -2007-05-11 Alan Modra - - * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. - * elf-bfd.h (struct elf_backend_data): Change return type of - elf_backend_relocate_section to int. - * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and - R_SPU_PPU64. - (spu_elf_bfd_to_reloc_type): Convert new relocs. - (spu_elf_count_relocs): New function. - (elf_backend_count_relocs): Define. - (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and - R_SPU_PPU64 relocs. - * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section - returns 2. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2007-05-10 Richard Sandiford - - * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries - for R_ARM_ABS12 relocs. - (elf32_arm_finish_dynamic_symbol): Fix the loop that creates - non-shared VxWorks PLT entries. - -2007-05-11 Alan Modra - - PR 4454 - * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma. - (_bfd_elf_discard_section_eh_frame): Handle local syms on - personality relocation. - -2007-05-10 Richard Sandiford - - * elf.c (assign_file_positions_for_load_sections): Use p_memsz - rather than p_filesz to calculate the LMA of the end of a segment. - -2007-05-10 Jakub Jelinek - - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc - processing if symbol is defined in the executable. - -2007-05-10 Alexandre Oliva - - * elf32-frv.c (_frvfdpic_check_discarded_relocs): New. - (frvfdpic_elf_discard_info): New. - (elf_backend_discard_info): Define for FDPIC. - -2007-05-09 Mark Shinwell - - * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't - attempt to scan if the bfd doesn't correspond to an ELF image. - (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. - -2007-05-08 Alexandre Oliva - - * elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs - for which _bfd_elf_section_offset returns -1. - -2007-05-08 Alan Modra - - * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms. - (mark_functions_via_relocs): Likewise. - -2007-05-07 Alan Modra - - * elflink.c (bfd_elf_final_link): Correct reloc handling for - elf_backend_count_relocs. - (bfd_elf_discard_info): Print an error if we can't read syms. - -2007-05-07 Alan Modra - - * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on - invalid reloc code. - (spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions. - (elf_backend_gc_mark_hook, elf_backend_section_processing): Don't - define. - -2007-05-07 Alan Modra - - * elf.c (assign_file_positions_for_load_sections): Don't check - core segment. - -2007-05-04 H.J. Lu - - * elflink.c (elf_link_sort_relocs): Return if both .rela.dyn - and .rel.dyn aren't present. - -2007-05-04 Nick Clifton - - * elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn - sections are present examine the indirect sections in an attempt - to compute the correct relocation size. If there is any - ambiguity, produce an error and refuse to sort. - -2007-05-03 Sandra Loosemore - - * elf32-arm.c (allocate_dynrelocs): Fix typo in comment. - -2007-05-03 Vincent Riviere - Nick Clifton - - PR gas/3041 - * aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols - in the same way as relocs against external symbols. - -2007-05-02 Alan Modra - - * elf.c (assign_file_positions_for_load_sections): Set sh_offset - here. Set sh_type to SHT_NOBITS if we won't be allocating - file space. Don't bump p_memsz for non-alloc sections. Adjust - section-in-segment check. - (assign_file_positions_for_non_load_sections): Don't set sh_offset - here for sections that have already been handled above. - -2007-04-30 Alan Modra - - * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis - and emit_stack_syms bitfields. - (get_sym_h): Read all symbols if stack analysis will be done. - (spu_elf_create_sections): Add stack_analysis and emit_stack_syms - params, and stash in hash table. - (is_hint): Split off from.. - (is_branch): ..here. Adjust callers. - (spu_elf_size_stubs): Add stack_analysis param. Arrange to read - and keep all syms. - (write_one_stub): Fix mem leak. - (find_function_stack_adjust): New function. - (sort_syms_syms, sort_syms_psecs): New vars. - (sort_syms): New function. - (struct call_info, struct function_info): New. - (struct spu_elf_stack_info): New. - (alloc_stack_info, maybe_insert_function, func_name): New functions. - (is_nop, insns_at_end, check_function_ranges): Likewise. - (find_function, insert_callee, mark_functions_via_relocs): Likewise. - (pasted_function, interesting_section, discover_functions): Likewise. - (mark_non_root, call_graph_traverse, build_call_tree): Likewise. - (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. - (bfd_elf32_bfd_final_link): Define. - * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. - (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. - -2007-04-28 Sergey Rogozhkin - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access - memory which we might not own. - -2007-04-27 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function. - (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. - (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local. - -2007-04-27 Bob Wilson - - * elf32-xtensa.c (xtensa_read_table_entries): Step through table - contents and relocs in parallel. - -2007-04-27 Bob Wilson - - * elf32-xtensa.c (relax_property_section): Remove extra irel increment. - -2007-04-27 Alan Modra - - * cpu-rs6000.c: Write Mimi's name in ASCII. - * coff-rs6000.c: Likewise. - * rs6000-core.c: Likewise. - -2007-04-27 Alan Modra - - * sysdep.h: Include config.h first. - Many files: Include sysdep.h before bfd.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-25 Alan Modra - - * sysdep.h: Revert last change. - -2007-04-24 Nick Clifton - - * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset. - * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto. - -2007-04-24 Alan Modra - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if - eh_frame_hdr table won't be created. - -2007-04-24 Alan Modra - - * acinclude.m4: Include config/stdint.m4. - * configure.in: Invoke GCC_HEADER_STDINT. - * sysdep.h: Don't include ansidecl.h here. - * configure: Regenerate. - * config.in: Regenerate. - * Makefile.in: Regenerate. - -2007-04-23 Nathan Sidwell - - * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, - bfd_mach_mcf_isa_c_emac): New. - * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, - elf_isac_plt_entry, elf_isac_plt_info): New. - (elf32_m68k_object_p): Add ISA_C. - (elf32_m68k_print_private_bfd_data): Print ISA_C. - (elf32_m68k_get_plt_info): Detect ISA_C. - * cpu-m68k.c (arch_info): Add ISAC. - (m68k_arch_features): Likewise, - (bfd_m68k_compatible): ISAs B & C are not compatible. - -2007-04-21 Nick Clifton - - * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash. - (ecoff_link_add_archive_symbols): Likewise. - * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise - relent.howto. - * ieee.c (parse_int): Initialise x. - (must_parse_int): Initialise result. - (ieee_slurp_external_symbols): Initialise value. - -2007-04-21 Alan Modra - - * config.bfd (spu-*-elf): Delete targ_selvecs. - -2007-04-19 Nick Clifton - - * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. - -2007-04-19 Alan Modra - - * bfd.c (bfd_demangle): New function. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - -2007-04-18 Matthias Klose - - * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. - (bfdver.h): Use the date in non-release builds for the soversion. - * Makefile.in: Regenerate. - -2007-04-17 Paul Brook - - * elf.c (_bfd_elf_is_function_type): New function. - * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. - (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, - is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. - * elf-bfd.h (elf_backend_data): Add is_function_type. - (_bfd_elf_is_function_type): Add prototype. - * elfxx-target.h (elf_backend_is_function_type): Add default - definition. - (elfNN_bed): Add elf_backend_is_function_type. - * elf32-arm.c (elf32_arm_is_function_type): New function. - (elf_backend_is_function_type): Define. - -2007-04-17 Daniel Jacobowitz - - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put - DT_MIPS_RLD_MAP before DT_DEBUG again. - -2007-04-14 Steve Ellcey - - * Makefile.am: Add ACLOCAL_AMFLAGS. - * configure.in: Change macro call order. - * Makefile.in: Regnerate. - * doc/Makefile.in: Regenerate. - * configure: Regenerate. - -2007-04-14 Jakub Jelinek - - * elflink.c (bfd_elf_final_link): Don't free symbuf for - non-elf input bfds. - (bfd_elf_size_dynamic_sections): Don't access elf_section_data - for non-elf input bfds. - -2007-04-12 Richard Sandiford - - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add - DT_MIPS_RTLD_MAP for PIEs. - -2007-04-12 Richard Sandiford - - * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL - when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation - in a read-only section. - (_bfd_mips_elf_check_relocs): Likewise. - -2007-04-12 Bob Wilson - - * elf32-xtensa.c (xtensa_is_insntable_section): New. - (xtensa_is_proptable_section): New. - (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property - tables with 12-byte entries, as well as tables with 8-byte entries. - Sort the relocations before examining them. - (relax_property_section): Use xtensa_is_proptable_section and - xtensa_is_littable_section. Rewrite code for combining table entries - to be more robust in case of unexpected relocations. Do not set offset - of unused relocations to less than zero. - (xtensa_is_property_section): Use other functions instead of - duplicating section name comparisons. - (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". - (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section. - -2007-04-12 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references - from Xtensa property sections. - -2007-04-12 Alan Modra - - * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data - is non-NULL before dereferencing. - -2007-04-11 Nathan Sidwell - - * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot - relocs too. - -2007-04-10 Richard Henderson - - * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. - (elf64_alpha_size_got_sections): Remove unused something_changed local. - (elf64_alpha_size_plt_section): Return void. - (elf64_alpha_size_rela_got_section): Likewise. - (elf64_alpha_relax_section): Only regenerate got+plt if the - relax_trip counter has changed. - -2007-04-09 Daniel Jacobowitz - - * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. - * doc/Makefile.am (DOCFILES): Add bfdver.texi. - (bfdver.texi): New rule. - * Makefile.in, doc/Makefile.in: Regenerated. - -2007-04-03 Matt Thomas - - * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc - in a shared object if it is not in a CODE section or if it is against - a section symbol. This allows DWARF2 to use pcrel format. - -2007-04-05 H.J. Lu - - PR ld/4304 - * elflink.c (bfd_elf_final_link): Call einfo callback in - bfd_link_info instead of _bfd_error_handler for DT_TEXTREL - warning. - -2007-04-05 Alan Modra - - * elf32-spu.c (spu_elf_output_symbol_hook): New function. - (elf_backend_link_output_symbol_hook): Define. - -2007-04-02 Nick Clifton - - PR binutils/4292 - * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit - targets as 64-bit values, even if running on a 64-bit host. - * coffgen.c (coff_print_symbol): Likewise. - -2007-03-29 Nick Clifton - - PR binutils/4110 - * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro. - (setup_group): Use it. Report corrupt group section headers. - (bfd_section_from_shdr): Use new macro. Replace constant 4 with - GRP_ENTRY_SIZE. Cope with NULLs in the group section table. - (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE. - -2007-03-29 Alan Modra - - PR ld/4267 - * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma - for rel->r_info values. - (bfd_elf_perform_complex_relocation): Likewise. - * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for - unused entries. Don't clear plt.plist in loop. - -2007-03-28 Richard Sandiford - - * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela. - * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32): - Merge into... - (sparc_elf_append_rela): ...this new function. - (SPARC_ELF_APPEND_RELA): Delete. - (_bfd_sparc_elf_link_hash_table_create): Don't initialize - the deleted append_rela field. - (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela - instead of SPARC_ELF_APPEND_RELA. - (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. Use the - elf_size_info structure to find the size of a RELA entry and - the associated swap-out function. - (sparc64_finish_dyn, sparc64_finish_dyn): Merge into... - (sparc_finish_dyn): ...this new function. - (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly. - -2007-03-28 Richard Sandiford - Phil Edwards - - * doc/bfd.texinfo: Put the contents after the title page rather - than at the end of the document. - -2007-03-27 Andreas Schwab - - * elfxx-ia64.c (elf_backend_default_execstack): Define to 0. - -2007-03-26 H.J. Lu - - * configure: Regenerated. - -2007-03-26 Alan Modra - - * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. - (allocate_spuear_stubs): New function. - (spu_elf_size_stubs): Call allocate_spuear_stubs. - -2007-03-26 Alan Modra - - * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. - * aout-arm.c (MY_bfd_reloc_name_lookup): Define. - (MY (bfd_reloc_name_lookup)): New function. - * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. - * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. - (MY_bfd_reloc_name_lookup): Define. - * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. - (MY_bfd_reloc_name_lookup): Define. - * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. - (NAME (aout, reloc_name_lookup)): New function. - * bout.c (b_out_bfd_reloc_name_lookup): New function. - * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. - (_bfd_ecoff_bfd_reloc_name_lookup): Define. - * coff-arm.c (coff_arm_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-i386.c (coff_bfd_reloc_name_lookup): Define. - (coff_i386_reloc_name_lookup): New function. - * coff-i860.c (coff_i860_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-i960.c (coff_i960_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-m68k.c (m68k_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-maxq.c (maxq_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-mips.c (mips_bfd_reloc_name_lookup): New function. - (_bfd_ecoff_bfd_reloc_name_lookup): Define. - * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. - (_bfd_xcoff_reloc_name_lookup): New function. - (rs6000coff_vec, pmac_xcoff_vec): Init new field. - * coff-sh.c (coff_bfd_reloc_name_lookup): Define. - (sh_coff_reloc_name_lookup): New function. - * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. - (tic30_coff_reloc_name_lookup): New function. - * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. - (tic4x_coff_reloc_name_lookup): New function. - * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. - (tic54x_coff_reloc_name_lookup): New function. - * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. - (coff_amd64_reloc_name_lookup): New function. - * coff-z80.c (coff_z80_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. - (xcoff64_reloc_name_lookup): New function. - (rs6000coff64_vec, aix5coff64_vec): Init new field. - * coffcode.h (coff_bfd_reloc_name_lookup): Define. - * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. - * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-cris.c (cris_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-crx.c (elf_crx_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-fr30.c (fr30_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-frv.c (frv_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-i370.c (i370_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-i386.c (elf_i386_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-m32c.c (m32c_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-m68k.c (reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-mep.c (mep_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. - (mips_vxworks_bfd_reloc_name_lookup): Likewise. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-mt.c (mt_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elf32-pj.c (pj_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-s390.c (elf_s390_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-score.c (elf32_score_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-sh.c (sh_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-spu.c (spu_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-v850.c (v850_elf_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-vax.c (reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. - (bfd_elf32_bfd_reloc_name_lookup): Define. - * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. - (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. - * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. - * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. - (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-s390.c (elf_s390_reloc_name_lookup): New function. - (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. - (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. - * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. - (bfd_elf64_bfd_reloc_name_lookup): Define. - * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. - * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. - (bfd_elfNN_bfd_reloc_name_lookup): Define. - * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. - * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. - * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. - * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. - * ieee.c (ieee_bfd_reloc_name_lookup): Define. - * libaout.h (NAME (aout, reloc_name_lookup)): Declare. - * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. - * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. - (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). - (MY(reloc_name_lookup)): New function. - * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. - * oasys.c (oasys_bfd_reloc_name_lookup): Define. - * pdp11.c (NAME (aout, reloc_name_lookup)): New function. - * pe-mips.c (coff_mips_reloc_name_lookup): New function. - (coff_bfd_reloc_name_lookup): Define. - * reloc.c (bfd_reloc_name_lookup): New function. - * riscix.c (riscix_reloc_name_lookup): New function. - (MY_bfd_reloc_name_lookup): Define. - * som.c (som_bfd_reloc_name_lookup): New function. - * targets.c (struct bfd_target): Add reloc_name_lookup. - (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. - * versados.c (versados_bfd_reloc_name_lookup): Define. - * vms.c (vms_bfd_reloc_name_lookup): New function. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2007-03-26 Thiemo Seufer - - PR ld/4208 - * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no - matching relocation is found. - (_bfd_mips_elf_relocate_section): Only warn about missing relocations. - -2007-03-23 H.J. Lu - - * configure: Regenerated. - -2007-03-23 Joseph Myers - - * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. - * configure: Regenerate. - -2007-03-23 Alan Modra - - * elf32-spu.c (spu_stub_name): Don't put input section in stub name. - Remove input_sec param. Adjust all calls. - (write_one_stub): Adjust stub symbol. - (needs_ovl_stub): New function, extracted from.. - (spu_elf_size_stubs): ..here. - (spu_elf_relocate_section): Use needs_ovl_stub. - -2007-03-22 Joseph Myers - - * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi - if nonempty. - * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. - * Makefile.in, configure, doc/Makefile.in: Regenerate. - -2007-03-22 H.J. Lu - - PR ld/4210 - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual - address and virtual size of the last section for the image - size. - -2007-03-22 H.J. Lu - - PR ld/4007 - * elf.c (assign_file_positions_for_load_sections): Check if - all sections are in the segment. - -2007-03-20 H.J. Lu - - PR ld/4208 - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing - matching LO16 relocation for HI16 relocation. - -2007-03-20 Paul Brook - - * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. - (record_arm_to_thumb_glue): Use globals->pic_veneer. - (elf32_arm_create_thumb_stub): Ditto. - (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. - -2007-03-18 Mark Shinwell - - * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" - argument and extra last argument. - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning - member. - (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and - extra last argument. Set no_enum_size_warning appropriately. - (elf32_arm_merge_eabi_attributes): Improve enum sizes - diagnostic, suppressing it when no_enum_size_warning dictates. - -2007-03-20 Nick Clifton - - PR binutils/3535 - * elf.c (copy_private_bfd_data): Widen the scope of Solaris - specific conditions that need the program headers to be - rewritten. - -2007-03-19 H.J. Lu - - * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, - MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, - SizeOfInitializedData, SizeOfUninitializedData, - AddressOfEntryPoint, BaseOfCode and BaseOfData in internal - extra PE a.out header. - (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. - (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not - defined. - (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not - defined. - (_bfd_XX_print_private_bfd_data_common): Also print Magic, - MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, - SizeOfInitializedData, SizeOfUninitializedData, - AddressOfEntryPoint, BaseOfCode and BaseOfData from internal - extra PE a.out header. - -2007-03-18 H.J. Lu - - * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec - only if BFD64 is defined. - -2007-03-17 Alan Modra - - * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub - on setjmp calls. - -2007-03-15 H.J. Lu - - * doc/Makefile.in: Regenerated. - -2007-03-15 H.J. Lu - - * Makefile.am (bfdver.h): Substitute report_bugs_to. Also - create doc/bfdver.texi. - * Makefile.in: Regenerated. - - * configure.in (--with-bugurl): New option. - * configure: Regenerated. - - * version.h (REPORT_BUGS_TO): New. - -2007-03-13 H.J. Lu - - PR binutils/3826 - * elf-bfd.h (elf_backend_data): Add elf_osabi. - (_bfd_elf_set_osabi): New. - - * elf.c (_bfd_elf_set_osabi): New. - - * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi. - (ELF_OSABI): Properly defined for each target. - - * elf32-i370.c (i370_elf_post_process_headers): Removed. - (ELF_OSABI): Defined. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi. - - * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for - freebsd. - (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. - - * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. - (ELF_OSABI): Defined. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi. - - * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for - freebsd. - (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with - elf_osabi. - - * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI - with elf_osabi. - (ELF_OSABI): Properly defined for each target. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi for Linux. - - * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. - (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi. - - * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. - (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. - (elf_backend_post_process_headers): Defined with - _bfd_elf_set_osabi. - - * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target - with any ELF target of the compatible machine for which we do not - have a specific backend. - - * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI - with elf_osabi. - - * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. - (elfNN_bed): Initialize elf_osabi with ELF_OSABI. - -2007-03-08 Alan Modra - - * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out - V850_OTHER_* bits. - -2007-03-08 Alan Modra - - * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. - (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. - Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2007-03-07 H.J. Lu - - * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. - (x86_64-*-kfreebsd*-gnu): Likewise. - (x86_64-*-netbsd*): Likewise. - (x86_64-*-openbsd*): Likewise. - (x86_64-*-linux-*): Likewise. - - * configure.in: Support bfd_efi_app_x86_64_vec. - * configure: Regenerated. - - * efi-app-x86_64.c: New file. - - * targets.c (bfd_efi_app_x86_64_vec): New. - (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. - -2007-03-07 Kai Tietz - - * reloc.c (bfd_generic_get_relocated_section_contents): Remove - const for type reloc_howto_type. - -2007-03-07 Alan Modra - - PR 3958 - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. - (elf_discarded_section): Move.. - * bfd-in.h: ..to here. - * bfd-in2.h: Regenerate. - * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols - from discarded sections before relocate_section has done its job. - * reloc.c (bfd_generic_get_relocated_section_contents): Handle - relocs against symbols from discarded sections. - * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on - SECREL32. - (elf_hppa_relocate_section): Handle relocatable link after setting - sec, sym, h etc. for final link. Squash error messages for - relocatable link. Clear section contents for relocs against - symbols in discarded sections, and zero reloc. Remove existing - zero r_symndx code. - * elf-m10200.c (mn10200_elf_relocate_section): Likewise. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.c (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. - (bfin_relocate_section): Likewise. - * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-crx.c (elf32_crx_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_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-i386.c (elf_i386_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-m32c.c (m32c_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-mep.c (mep_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-mt.c (mt_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-score.c (_bfd_score_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xc16x.c (elf32_xc16x_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_r): Likewise. - (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-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. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - - * elf32-arm.c (elf32_arm_relocate_section): Always adjust section - symbols for relocatable link. Don't use always-zero st_value. - (elf_backend_rela_normal): Don't define. - * elf32-bfin.c (bfinfdpic_relocate_section): Use - RELOC_FOR_GLOBAL_SYMBOL. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE - section symbol adjustments with same for relocatable link. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. - (elf32_m68hc11_check_relocs): ..to here. - * elf32-score.c (score_elf_final_link_relocate): Remove zero - r_symndx code. - * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. - -2007-03-07 Alan Modra - - PR 4144 - * elf.c (assign_file_positions_for_load_sections): Don't - adjust p_memsz for !SEC_LOAD section vma modulo page size. - Instead, use the same lma based adjustment for SEC_LOAD - sections. - -2007-03-01 Bob Wilson - - * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. - (find_relaxable_sections): Do not increment src_count for unknown - opcodes. Decode only once instead of calling is_l32r_relocation. - (compute_text_actions): Remove unused no_insn_move flag. Assert that - src_next matches src_count in relax_info. - -2007-03-01 Joseph Myers - - * Makefile.am (bfdver.h): Use "." not " " between version number - and date. - * Makefile.in: Regenerate. - * configure.in (PKGVERSION): Default to "(GNU Binutils) ". - * configure: Regenerate. - -2007-02-28 Nathan Sidwell - - * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. - -2007-02-27 Alan Modra - - * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. - * elf32-spu.c (ovl_mgr_pread): Add const to casts. - -2007-02-23 Carlos O'Donell - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit - DWARF even with 64-bit addresses. - (_bfd_dwarf2_find_nearest_line): Likewise. - -2007-02-23 Nick Clifton - - PR binutils/3535 - * elf.c (copy_private_bfd_data): Always rewrite the program - headers when a Solaris interpreter segment is involved. - -2007-02-22 Paul Brook - - * elflink.c (gc_mark_hook_fn): Remove. - (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. - (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. - * elf-bfd.h (elf_gc_mark_hook_fn): Define. - (elf_backend_data): Add gc_mark_extra_sections. - * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default - definition. - (elfNN_bed): Add elf_backend_gc_mark_extra_sections. - * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. - (elf_backend_gc_mark_extra_sections): Define. - -2007-02-21 Nick Clifton - - * elf.c (_bfd_elf_map_sections_to_segments): If the - override_segment_assignment callback is defined then call it. - -2007-02-21 Alan Modra - - * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. - -2007-02-19 Thiemo Seufer - - * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove - translation marker from untranslatable strings. - -2007-02-19 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Add default_execstack. - * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. - * elfxx-target.h (elf_backend_default_execstack): Define to 1. - (elfNN_bed): Init new field. - * elf64-ppc.c (elf_backend_default_execstack): Define to 0. - -2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus - - * configure.in (--with-pkgversion): New option. - * configure: Regenerate. - * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. - * Makefile.in: Regenerate. - * version.h (BFD_VERSION_STRING): Define using - @bfd_version_package@. - -2007-02-16 Carlos O'Donell - - * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): - Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT - and EF_MIPS_UCODE. - -2007-02-15 Alan Modra - - * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, - declare. - (_bfd_norelocs_canonicalize_reloc): Likewise. - * libbfd.h: Regenerate. - * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. - (_bfd_norelocs_canonicalize_reloc): Likewise. - * binary.c (binary_bfd_reloc_type_lookup): Don't define. - (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. - (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. - * ihex.c: Similarly. - * mach-o-target.c: Similarly. - * mach-o.c: Similarly. - * mmo.c: Similarly. - * pef.c: Similarly. - * ppcboot.c: Similarly. - * srec.c: Similarly. - * xsym.c: Similarly. - -2007-02-14 H.J. Lu - - PR ld/3953 - * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol - when adding default symbol. - -2007-02-13 Alan Modra - - * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" - for branch lookup table. - -2007-02-12 Alan Modra - - * elf64-ppc.c (create_linkage_sections): Don't create - .rela.rodata.brlt for --emit-relocs. - (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. - (ppc_size_one_stub): Count them. Simplify test of stub type - when counting stub relocs. Set SEC_RELOC too. - (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. - (ppc64_elf_finish_dynamic_sections): Output brlt relocs. - -2007-02-12 Alan Modra - - * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs - with a zero symbol index. - -2007-02-12 Alan Modra - - * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". - -2007-02-05 Dave Brolley - Stan Cox - - PR ld/3972 - * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. - -2007-02-05 Dave Brolley - Richard Sandiford - Stan Cox - Nick Clifton - DJ Delorie - Frank Ch. Eigler - Ben Elliston - Richard Henderson - - * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. - (ALL_MACHINES_CFILES): Add CPU_MEP.c. - (BFD32_BACKENDS): Add elf32-mep.lo. - (BFD32_BACKENDS_CFILES): Add elf32-mep.c. - (cpu-mep.lo,elf32-mep.lo): New targets. - * archures.c (bfd_arch_mep): New enumerator. - (bfd_mach_mep, bfd_mach_mep_h1): New macros. - (bfd_mep_arch): New external variable. - (bfd_archures_list): Add bfd_mep_arch. - * config.bfd: Support mep-*-elf. - * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. - * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. - * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern - declarations. - (_bfd_target_vector): Add bfd_elf32_mep_vec and - bfd_elf32_mep_little_vec. - * mep-relocs.pl: New file. - * cpu-mep.c: New file. - * elf32-mep.c: New file. - * bfd-in2.h: Regenerate. - * po/POTFILES.in: Regenerate. - * libbfd.h: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-02-05 Dave Brolley - - * elflink.c (evaluate_complex_relocation_symbols): Check for - STT_SRELC for global symbols. - (perform_complex_relocations): Renamed to - perform_complex_relocation and now examines only one relocation. - (elf_link_input_bfd): Don't call perform_complex_relocations. - * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. - * elf32-mep.c (mep_elf_howto_table): Add R_RELC. - (OD,OS,OU): #undefs corrected to N, S and U repectively. - (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. - (complex_reloc_installation_howto): Removed. - (mep_info_to_howto_rela): Remove special case for r_type==0xff. - (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. - -2007-02-05 Dave Brolley - Richard Sandiford - DJ Delorie - Graydon Hoare - Nick Clifton - Jeff Holcomb - Frank Ch. Eigler - - * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. - * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. - * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. - * elflink.c (set_symbolValue): New static function. - (resolve_symbol): Likewise. - (resolve_section): Likewise. - (undefined_reference): Likewise. - (eval_symbol): Likewise. - (evaluate_complex_relocation_symbols): Likewise. - (put_value): Likewise. - (get_value): Likewise. - (decode_complex_addend): - (bfd_elf_perform_complex_relocation): New function. - (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. - * reloc.c (BFD_RELOC_RELC): New relocation number. - * syms.c (BSF_RELC,BSF_SRELC): New macros. - -2007-02-05 Bob Wilson - - * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. - (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. - (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) - (elf_xtensa_allocate_got_size): Replace these with... - (elf_xtensa_allocate_dynrelocs): ...this new function. - (elf_xtensa_size_dynamic_sections): Use it. - -2007-02-05 Bob Wilson - - * elf32-xtensa.c (elf_howto_table) - : - Set src_mask to zero. - : Likewise. Also fix dst_mask. - : Set pcrel_offset to TRUE. - -2007-02-02 Bob Wilson - - * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... - (elf_xtensa_dynamic_symbol_p): ...this. - -2007-02-02 Bob Wilson - - * elf32-xtensa.c (plt_reloc_count): Move into link hash table. - (struct elf_xtensa_link_hash_table): New. - (elf_xtensa_hash_table): New. - (elf_xtensa_link_hash_table_create): New. - (elf_xtensa_check_relocs): Update plt_reloc_count references. - Update arguments to add_extra_plt_sections. - (elf_xtensa_create_dynamic_sections): Record new sections in the hash - table. Update for plt_reloc_count and add_extra_plt_sections. - (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj - argument with link info. Update calls to elf_xtensa_get_plt_section - and elf_xtensa_get_gotplt_section. - (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) - (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) - (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) - (relax_property_section): Get sections from the hash table and update - function calls. - (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace - dynobj argument with link info. Get sections for first plt chunk from - the hash table. - (bfd_elf32_bfd_link_hash_table_create): Define. - -2007-02-02 Jakub Jelinek - - * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. - * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. - (struct elf_symbol): Change first member into union. - (elf_sort_elf_symbol): Compare pointers to internal syms rather than - internal syms. Only compare st_shndx fields. - (elf_create_symbuf): New function. - (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available - for bfds, use a binary search, otherwise don't qsort symbols - unnecessarily only to select which symbols are for the particular - shndx. - -2007-02-01 Nick Clifton - - PR ld/3852 - * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields - in the elf_link_hash_table structure. - -2007-02-01 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. - * elfxx-target.h (elf_backend_write_core_note): Define and use. - * elf.c (elfcore_write_prpsinfo): Call the above. Add support for - 32-bit core note on 64-bit target. - (elfcore_write_prstatus): Likewise. - (elfcore_write_lwpstatus): Make note_name const. - (elfcore_write_prfpreg): Likewise. - (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit - target. - * elf32-ppc.c (ppc_elf_write_core_note): New function. - (elf_backend_write_core_note): Define. - * elf64-ppc.c (ppc64_elf_write_core_note): New function. - (elf_backend_write_core_note): Define. - -2007-01-31 H.J. Lu - - * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. - (elf32_bed): Defined for elf32-us-cris. - - * elf64-sh64.c (elf64_bed): Defined for Linux. - (INCLUDED_TARGET_FILE): Removed. - - * elfxx-target.h (elfNN_bed): Always define. Don't check - INCLUDED_TARGET_FILE. - -2007-01-31 DJ Delorie - - * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning - message for dangerous relocs, special case the common user error. - -2007-01-30 H.J. Lu - - * elf.c (copy_elf_program_header): Start from the first section - in a segment and stop when all sections in a segment are - accounted for. - -2007-01-29 Julian Brown - - * bfd-in2.h: Regenerate. - * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 - instruction scanning should be done. - (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) - (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. - (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to - prototype. - * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info - argument. - * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) - (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. - (elf32_vfp11_erratum_type): New enum. - (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to - veneers. - (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. - (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, - vfp11_fix and num_vfp11_fixes fields. - (elf32_arm_link_hash_table_create): Initialise vfp11_fix, - vfp11_erratum_glue_size, num_vfp11_fixes fields. - (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. - (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum - glue section. - (elf32_arm_section_map_add): Add an code/data mapping symbol entry - to a section's map. - (record_vfp11_erratum_veneer): Create a single veneer, and its - associated symbols. - (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. - (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input - BFDs. - (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround - required. - (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. - (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. - (bfd_arm_vfp11_write_mask): Update write mask according to coded - register number. - (bfd_arm_vfp11_antidependency): New function. - (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. - (elf32_arm_compare_mapping): Declare. - (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input - BFD for potential erratum-triggering insns. Record results. - (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers - and branches to veneers have been placed in virtual memory after - layout. - (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global - hash table. - (elf32_arm_output_symbol_hook): Remove. - (elf32_arm_write_section): Output veneers, and branches to veneers. - Use maps from input sections, not output sections, for code - byte-swapping. - * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. - * elf32-score.c (_bfd_score_elf_write_section): Likewise. - * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. - * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. - -2007-01-27 H.J. Lu - - * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. - (INCLUDED_TARGET_FILE): Removed. - -2007-01-27 Mike Frysinger - - * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. - (INCLUDED_TARGET_FILE): Remove. - -2007-01-25 DJ Delorie - - * elf32-m32c.c (m32c_elf_howto_table): Don't complain about - R_M32C_16 or R_M32C_24 relocs. - -2007-01-25 Nick Clifton - - PR binutils/3874 - * elf32-avr.c (avr_link_hash_table): Check to make sure that the - hash table was created by elf32_avr_link_hash_table_create before - using it. - (elf32_avr_link_hash_newfunc): New function. Just pass the call - through to _bfd_elf_link_hash_newfunc. - (elf32_avr_link_hash_table_create): Use - elf32_avr_link_hash_newfunc instead of - _bfd_elf_link_hash_newfunc. - (elf32_avr_relocate_section): Check for the hash table pointer - being NULL. - (elf32_avr_relax_section, avr_build_one_stub, - elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, - elf32_avr_build_stubs): Likewise. - -2007-01-16 H.J. Lu - - PR ld/3831 - * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an - argument, Elf_Internal_Sym *. - - * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data - symbol dynamic if info->dynamic_data is TRUE. - (bfd_elf_record_link_assignment): Updated call to - bfd_elf_record_link_assignment. - (_bfd_elf_merge_symbol): Likewise. Always call - bfd_elf_link_mark_dynamic_symbol. - -2007-01-12 H.J. Lu - - * Makefile.am (BFD_LIBS): Removed. - * Makefile.in: Regenerated. - -2007-01-11 H.J. Lu - - PR binutils/3631 - * Makefile.am (OFILES): Add @bfd64_libs@. - (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). - * Makefile.in: Regenerated. - - * configure.in (bfd_libs): Replaced by ... - (bfd64_libs): This. - * configure: Regenerated. - -2007-01-11 Nathan Sidwell - - * elf.c (assign_file_positions_for_load_sections): We can - require fewer phdrs than expected. - -2007-01-08 Kazu Hirata - - * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. - * bfd-in2.h: Regenerate. - * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of - bfd_mach_cpu32_fido. - (m68k_arch_features): Use fido_a instead of cpu32. - (bfd_m68k_compatible): Reject the combination of Fido and - ColdFire. Accept the combination of CPU32 and Fido with a - warning. - * elf32-m68k.c (elf32_m68k_object_p, - elf32_m68k_merge_private_bfd_data, - elf32_m68k_print_private_bfd_data): Treat Fido as an - architecture by itself. - -2007-01-08 Kai Tietz - - * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. - -2007-01-05 Jakub Jelinek - - * texhex.c (first_phase): Don't fall through into the default - case. - (pass_over): Replace abort () calls with return FALSE. Fix - buffer overflow. - -2007-01-04 Jie Zhang - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set - SEC_EXCLUDE on zero size .eh_frame. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-2007 b/bfd/ChangeLog-2007 new file mode 100644 index 0000000000..be9425922c --- /dev/null +++ b/bfd/ChangeLog-2007 @@ -0,0 +1,3561 @@ +2007-12-31 H.J. Lu + + PR ld/5530 + * elfxx-ia64.c (elfNN_ia64_relocate_section): Call + _bfd_elf_find_segment_containing_section with output_bfd, + instead of input_bfd. + +2007-12-31 Nick Clifton + + * elf-m10300.c (mn10300_elf_relax_section): Use + _bfd_merged_section_offset to compute the offset of a symbol in a + merged section. + +2007-12-31 Nick Clifton + + * elf.c (_bfd_elf_find_segment_containing_section): New function: + Scan the segment map looking for the segment containing a + specified function. + * elf-bfd.h: Prototype the new function. + * elf-hppa.h (elf_hppa_osec_to_segment): Delete. + (elf_hppa_record_segment_addrs): Use new function. + * elf32-bfin.c (_bfdfdpic_osec_to_segment): Use new function. + * elf32-frv.c (_frvfdpic_osec_to_segment): Use new function. + * elf32-hppa.c (hppa_record_segment_addr): Use new function. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Use new function. + +2007-12-28 John David Anglin + + PR binutils/5146 + * elf64-hppa.c: Declare alloca when __GNUC__ is defined. + * som.c: Likewise. + + * elf-hppa.h (elf_hppa_osec_to_segment): New function. + (elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment. + Remove ATTRIBUTE_UNUSED from abfd argument. + * elf32-hppa.c (hppa_record_segment_addr): Likewise. + +2007-12-28 Nick Hudson + + * elf32-hppa.c (hppa_record_segment_addr): Locate the segment + containing the section using the segment map, rather than guessing + based upon the section's vma and file position. + +2007-12-24 H.J. Lu + + PR binutils/5488 + * elf.c (IS_NOTE): New. + (IS_COREFILE_NOTE): Use IS_NOTE. + (IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of + IS_COREFILE_NOTE. + +2007-12-24 H.J. Lu + + PR binutils/5449 + * elf.c (rewrite_elf_program_header): Don't adjust p_paddr if + p_paddr is set to 0. + (copy_private_bfd_data): Call rewrite_elf_program_header if + p_paddr is set to 0. + + * elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed. + + * elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX. + +2007-12-21 Bob Wilson + + * elf32-xtensa.c (relax_section): Update DIFF relocations in the + same way as other relocations. + +2007-12-18 Daniel Jacobowitz + + * section.c (BFD_FAKE_SECTION): Update. + * bfd-in2.h: Regenerate. + +2007-12-18 Daniel Jacobowitz + + * bfd-in2.h: Regenerate. + +2007-12-17 Pedro Alves + + * config.bfd: Add arm-*-mingw32ce* target. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of + a merged field and a sec field. + (eh_frame_hdr_info): Remove offsets_adjusted. + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to + the CIE merged field. + (_bfd_elf_gc_mark_fdes): Likewise. + (_bfd_elf_discard_section_eh_frame): Likewise. Set u.cie.u.sec + when clearing the removed flag. + (_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling. + (_bfd_elf_write_section_eh_frame): Likewise. Apply output_offsets + where appropriate. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Move add_fde_encoding and + per_encoding_relative to u.cie. Add commentary. + * elf-eh-frame.c (cie): Remove make_relative. + (extra_augmentation_string_bytes): Update use of add_fde_encoding. + (extra_augmentation_data_bytes): Likewise. Use an FDE's own + add_augmentation_size field, rather than referring to the CIE. + (_bfd_elf_parse_eh_frame): Don't set the struct cie + make_relative field; set the eh_cie_fde field directly. + Update setting of add_fde_encoding and per_encoding_relative. + Copy make_relative and add_augmentation_size from the CIE + to the FDE. + (_bfd_elf_discard_section_eh_frame): Use the FDE's own + make_relative field. + (_bfd_elf_eh_frame_section_offset): Likewise. + (_bfd_elf_write_section_eh_frame): Update accesses to + add_fde_encoding and per_encoding_relative. Use the FDE's + own make_relative and add_augmentation_size fields. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Remove need_lsda_relative. + Move make_lsda_relative to u.cie. + * elf-eh-frame.c (cie): Rename make_lsda_relative to + can_make_lsda_relative. + (_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde + make_lsda_relative field. Update after cie renaming. + Set u.cie.make_lsda_relative if can_make_lsda_relative + and if we find a relocation against the LSDA. + (_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when + changing a CIE's group representative. + (_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here. + (_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative + rather than need_lsda_relative. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and + u.cie.gc_mark. + (bfd_elf_section_data): Add fde_list. + (elf_fde_list): New macro. + (elf_obj_tdata): Add eh_frame_section. + (elf_eh_frame_section): New macro. + (_bfd_elf_gc_mark_reloc): Remove last parameter. + (_bfd_elf_gc_mark_fdes): Declare. + * elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs + for each input section. + (mark_entry, _bfd_elf_gc_mark_fdes): New functions. + * elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter. + (_bfd_elf_gc_mark): Update call accordingly. Mark the relocations + againts the section's FDEs. Don't mark the bfd's elf_eh_frame_section. + (bfd_elf_gc_sections): Parse each input bfd's .eh_frame before + marking any input sections. Remove the current EH handling. + * section.c (bfd_section): Remove gc_mark_from_eh. + * ecoff.c (bfd_debug_section): Update initializer accordingly. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Add u.cie. Document how u.fde.cie_inf + changes when removed == 0. + (eh_frame_hdr_info): Add parsed_eh_frames. + (_bfd_elf_begin_eh_frame_parsing): Declare. + (_bfd_elf_parse_eh_frame): Declare. + (_bfd_elf_end_eh_frame_parsing): Declare. + * elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function. + (_bfd_elf_parse_eh_frame): New function, split out from + _bfd_elf_discard_section_eh_frame. Make a first pass through the + buffer to calculate the number of entries and CIEs. Allocate memory + for them before the main loop. Replace current extended cie + representation with a pair of pointers, one to the local eh_cie_fde + and one to the full struct cie. Allocate a separate array of struct + cies if not merging. Merge CIEs during the main loop and set up each + u.cie.merged field. Point an FDE's cie_inf field directly at the + local CIE. Initially assume that all entries should be removed. + (_bfd_elf_end_eh_frame_parsing): New function. + (_bfd_elf_discard_section_eh_frame): Assume that the section has + already been parsed. Use a separate pass to mark entries that + need to be kept. Use the u.cie.merged field to track a CIE's + group representative. + * elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame + before _bfd_elf_discard_section_eh_frame. Wrap loop with calls to + _bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Put cie_inf in a union. Add a reloc_index + field. Use bitfields for fde_encoding, lsda_encoding and lsda_offset. + * elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf + accesses after the above change. + (_bfd_elf_eh_frame_section_offset): Likewise. + (_bfd_elf_write_section_eh_frame): Likewise. + (_bfd_elf_discard_section_eh_frame): Likewise. Set up reloc_index. + +2007-12-15 Richard Sandiford + + * elf-bfd.h (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): Declare. + (_bfd_elf_gc_mark): Use elf_gc_mark_hook_fn. + * elflink.c (init_reloc_cookie, fini_reloc_cookie) + (init_reloc_cookie_rels, fini_reloc_cookie_rels): New functions, + split out from... + (bfd_elf_discard_info): ...here. + (init_reloc_cookie_for_section): New function. + (fini_reloc_cookie_for_section): Likewise. + (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): New functions, + split out from... + (_bfd_elf_gc_mark): ...here. Use init_reloc_cookie_for_section + and fini_reloc_cookie_for_section. + +2007-12-12 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with + address. + (print_action_list): Fix name for ta_convert_longcall. + +2007-12-11 Catherine Moore + + * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if + the symbol's section is the undefined section. + +2007-12-11 Alan Modra + + * elf.c (elf_fake_sections): Add "warning:" to "..changed to PROGBITS" + message. + +2007-12-07 Bob Wilson + + * elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL. + (elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL. + (elf_xtensa_check_relocs): Use default case for all relocations that + need nothing done here. + (elf_xtensa_do_reloc): Compute self_address for all relocation types. + Handle R_XTENSA_32_PCREL. + (elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic + symbols. + (check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations. + +2007-12-05 Alan Modra + + * elf32-spu.c (spu_elf_size_stubs): Do consider branches to + non-function symbols for overlay stubs. + +2007-12-04 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT + entry for all dynamic objects. + +2007-12-04 Alan Modra + + * elf32-spu.c (spu_elf_size_stubs): Correct section alignment. + +2007-11-30 Richard Sandiford + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the + ELF header to choose between 32-bit and 64-bit relocation structures. + +2007-11-29 Mark Shinwell + + * archures.c (bfd_mach_mips_loongson_2e): New. + (bfd_mach_mips_loongson_2f): New. + * bfd-in2.h (bfd_mach_mips_loongson_2e): New. + (bfd_mach_mips_loongson_2f): New. + * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to + anonymous enum. + (arch_info_struct): Add Loongson-2E and Loongson-2F entries. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E + and Loongson-2F flags. + (mips_set_isa_flags): Likewise. + (mips_mach_extensions): Add Loongson-2E and Loongson-2F + entries. + +2007-11-29 Nick Clifton + + PR ld/5398 + * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not + complain if there is no glue bfd, just return. + +2007-11-28 Nick Clifton + + * elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to + cover forward jumps. + +2007-11-21 Nick Clifton + + * elf-m10300.c (mn10300_elf_relax_section): Allow for alignment + relocs when computing whether instructions can be relaxed. + +2007-11-16 Tristan Gingold + + * elflink.c (elf_link_output_extsym): Weaken assertion: if + --gc-section is set, there may be no TLS segment. + +2007-11-19 Alan Modra + + * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. + * elflink.c (bfd_elf_perform_complex_relocation): Return status. + Don't print reloc overflow message. + * elf32-mep.c (mep_elf_relocate_section): Handle status from + bfd_elf_perform_complex_relocation. + +2007-11-17 Thiemo Seufer + + * elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2 + -mfp64 attribute. + +2007-11-16 Nick Clifton + + * elf-m10300.c (mn10300_elf_check_relocs): Fix memory leak and + check that bfd_elf_get_elf_syms is only called once. + +2007-11-16 Ulrich Weigand + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of + synthetic symbol to point to the ELF symbol it was derived from. + +2007-11-15 Alan Modra + + PR 5328 + * opncls.c (separate_debug_file_exists): Use fopen/fread + rather than open/read and open in binary mode. + +2007-11-14 Richard Sandiford + + * elfxx-mips.c (mips_got_page_range): New structure. + (mips_got_page_entry): Likewise. + (mips_got_info): Add page_gotno and got_page_entries fields. + (mips_elf_got_per_bfd_arg): Add max_pages field. Delete + primary_count and current_count fields. + (mips_got_page_entry_hash, mips_got_page_entry_eq): New functions. + (mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise. + (mips_elf_get_got_for_bfd): New function, split out from + mips_elf_make_got_per_bfd. Initialize the page_gotno and + got_page_entries fields when creating a new GOT structure. + (mips_elf_make_got_pages_per_bfd): New function. + (mips_elf_merge_got_with): New function, split out from + mips_elf_make_got_per_bfd. Merge page entries as well as + non-page entries. Use the minimum of max_pages and the sum + of the page_gotnos to estimate the number of page entries. + (mips_elf_merge_gots): Use the minimum of max_pages and the + bfd's page_gotno to estimate the number of page entries. + Use the above functions. + (mips_elf_multi_got): Add page entries as well as non-page entries + to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages. + Initialize the page_gotno and got_page_entries fields when creating + a new primary GOT. Use the minimum of pages and page_gotno when + adding the number of pages entries to local_gotno. + (mips_elf_create_got_section): Initialize the page_gotno and + got_page_entries fields of the GOT structure. + (mips_elf_rel_relocation_p, mips_elf_read_rel_addend) + (mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New + functions, split out from... + (_bfd_mips_elf_relocate_section): ...here. + (_bfd_mips_elf_check_relocs): Record GOT page entries too. + (_bfd_mips_relax_section): Use mips_elf_get_section_contents. + (_bfd_mips_elf_always_size_sections): Use the smaller of the + loadable_size- and page_gotno-derived estimates. + +2007-11-14 Thiemo Seufer + + * elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent + unwanted fallthroughs in case statement. + +2007-11-13 H.J. Lu + + PR binutils/5307 + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't + copy input subsystem if output is different from input. + +2007-11-13 Nick Clifton + + * elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the + accidental termination of DWARF location list entries. + (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc + is encountered that is larger than or not a mutliple of the number + of bytes being deleted. + When adjusting symbols, any symbols inside the region being + deleted must be moved to the end of the region. + Move align relocs forward if there is room for them after the + deletion of the region. + +2007-11-13 Alan Modra + + PR 5233 + * elf.c (rewrite_elf_program_header): Formatting. Add + first_matching_lma and first_suggested_lma booleans and use + instead of testing matching_lma and suggested_lma for zero. + +2007-11-12 H.J. Lu + + PR binutils/5299 + * peicode.h (pe_bfd_object_p): Save and restore previous bfd + state when calling coff_object_p. + +2007-11-12 Alan Modra + + * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol + pointer when we have a valid symbol. Init udata.p to NULL. + +2007-11-09 Nathan Sidwell + + * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber + rel_hash. Move loop inside if test. + +2007-11-08 Nathan Sidwell + + * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. + (elf_vxworks_finish_dynamic_entry): Declare. + * elf-vxworks.c: Include elf/vxworks.h. + (elf_vxworks_add_dynamic_entries): New. + (elf_vxworks_finish_dynamic_entry): New. + * Makefile.am (elf-vxworks.lo): Add dependency. + * Makefile.in (elf-vxworks.lo): Add dependency. + * elf32-i386.c (elf_i386_size_dynamic_sections, + elf_i386_finish_dynamic_sections): Call + elf_vxworks_add_dynamic_entries and + elf_vxworks_finish_dynamic_entry. + * elf32-ppc.c (ppc_elf_size_dynamic_sections, + ppc_elf_finish_dynamic_sections): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, + sparc_finish_dyn): Likewise. + * elf32-sh.c (sh_elf_size_dynamic_sections, + sh_elf_finish_dynamic_sections): Likewise. + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, + _bfd_mips_elf_finish_dynamic_sections): Likewise. + * elf32-arm.c (elf32_arm_size_dynamic_sections, + elf32_arm_finish_dynamic_sections): Likewise. + +2007-11-07 Olivier Hainque + + * bfd/elfxx-mips.c (_bfd_mips_elf_fake_sections): Force + SHF_MIPS_NOSTRIP on .debug_frame for Irix. + +2007-11-06 Alan Modra + + * elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here.. + (ppc64_elf_gc_sweep_hook): ..or here.. + (ppc64_elf_tls_optimize): ..or here. Make two passes through the + relocs, ensuring that tls_get_addr calls follow gd and ld relocs. + (allocate_dynrelocs): Refcount tlsld_got here. + (ppc64_elf_size_dynamic_sections): Allocate local got and call + allocate_dynrelocs before allocating tlsld_got. + (ppc64_elf_relocate_section): Remove check that a tls_get_addr + call follows gd and ld relocs. + + * elf32-ppc.c (ppc_elf_check_relocs): Don't refcount tlsld_got here.. + (ppc_elf_gc_sweep_hook): ..or here.. + (ppc_elf_tls_optimize): ..or here. Make two passes through the + relocs, ensuring that tls_get_addr calls follow gd and ld relocs. + (allocate_dynrelocs): Refcount tlsld_got here. + (ppc_elf_size_dynamic_sections): Call allocate_dynrelocs before + allocating tlsld_got. + (ppc_elf_relocate_section): Remove check that a tls_get_addr + call follows gd and ld relocs. + +2007-11-05 Alan Modra + + * merge.c (sec_merge_hash_lookup): Revert last change. + (record_section): Likewise. + (_bfd_merge_sections): Likewise. + (_bfd_merged_section_offset): Properly handle NULL secinfo. + (_bfd_add_merge_section): Allocate extra space for a zero + terminator on SEC_STRINGS sections. + +2007-11-05 Danny Smith + + * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text + and .bss section use the default. + * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. + +2007-11-01 Joseph Myers + + * merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check + for unterminated strings. All callers changed. + (record_section): Add parameter abfd. Give error message for + unterminated strings. + (_bfd_merge_sections): Update call to record_section. + (_bfd_write_merged_section, _bfd_merged_section_offset): Handle + NULL secinfo from merge failures. + +2007-10-31 Nick Clifton + + * elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for + align relocs when there are no relocs attached to the section. + +2007-10-31 Alan Modra + + * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare. + * elflink.c (bfd_elf_match_symbols_in_sections): Make static. + Remove section name comparisons. + +2007-10-30 Nick Clifton + + * reloc.c (BFD_RELOC_MN10300_ALIGN): Add. + * bfd-in2.h: Regenerate. + * libbfd.h: Regnerate. + * elf-m10300.h: Handle R_MN10300_ALIGN relocs. + (mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. + Re-fix off by one error in comparisons. + +2007-10-25 Pedro Alves + + * bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case. + * bfd-in2.h: Regenerate. + +2007-10-25 Daniel Jacobowitz + + * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for + Tag_GNU_Power_ABI_Vector. + +2007-10-25 Joseph Myers + + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add + PT_NULL header when not linking. + +2007-10-25 Carlos Eduardo Seo + + * elf.c (elfcore_grok_ppc_vmx): New function. + (elfcore_grok_note): Handle NT_PPC_VMX. + (elfcore_write_ppc_vmx): New function. + * elf-bfd.h (elfcore_write_ppc_vmx): Declare. + +2007-10-24 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2007-10-23 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs + emitted for ".brlt" entries. + (toc_adjusting_stub_needed): Don't treat ".fixup" specially here.. + (ppc64_elf_next_input_section): ..instead do so here. + +2007-10-19 Nick Clifton + + * config.bfd: Recognise am34-linux-gnu target. + * reloc.c: Add BFD_RELOC_MN10300_SYM_DIFF relocation. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf-m10300.c (elf_mn10300_howto): Add R_MN10300_SYM_DIFF. + (mn10300_reloc_map): Likewise. + (mn10300_elf_check_relocs): Do not create dynamic relocs for + symbol differences or relocations against absolute symbols. + (mn10300_elf_final_link_relocate): Likewise. + Handle R_MN10300_SYM_DIFF relocs. + (mn10300_elf_relocate_section): Fix for creating local copys of + dynamic relocs. + (mn10300_elf_relax_delete_bytes): Adjust symbols at the end of the + region. Adjust the size of function symbols. + (mn10300_elf_relax_section): Ignore symbols that are in discarded + sections. + +2007-10-19 Nick Clifton + + * elf-m10300.c: Convert to ISO C. + +2007-10-18 H.J. Lu + Alan Modra + + PR ld/4424 + * config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for + alpha/FreeBSD. Add bfd_elf64_sparc_vec for sparc64/FreeBSD. + Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD. + (targ64_selvecs): Set for i386/FreeBSD. + * elf-bfd.h (elf_backend_data): Add relocs_compatible. + (_bfd_elf_default_relocs_compatible): Declare. + (_bfd_elf_relocs_compatible): Declare. + * elfxx-target.h (elf_backend_relocs_compatible): Define. + (elfNN_bed): Init new relocs_compatible field. + * elflink.c (_bfd_elf_default_relocs_compatible): New function. + (_bfd_elf_relocs_compatible): New function. + (elf_link_add_object_symbols): Call bed->relocs_compatible. + * elf32-i386.c (elf_backend_relocs_compatible): Define. + * elf64-alpha.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + +2007-10-16 Bob Wilson + + * elf32-xtensa.c (relax_section): Check for a reference to a discarded + DWARF section and anticipate its replacement with the kept section. + +2007-10-16 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove + unnecessary size variables. Set sec->rawsize. + (relax_section, relax_property_section): Likewise. + +2007-10-16 Bob Wilson + + * section.c (struct bfd_section): Clarify comment for rawsize field. + * bfd-in2.h: Regenerate. + +2007-10-16 Bob Wilson + + * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize + values if they are set. + +2007-10-16 Nick Clifton + + PR 5146 + * configure.in (AC_CHECK_HEADERS): Add alloca.h + * configure: Regenerate. + * config.in: Regenerate. + * som.c: Replace alloca-conf.h inclusion with code recommended in + autoconf documentation. + * elf64-hppa.c: Likewise. + +2007-10-16 Nick Clifton + + * configure.in (--enable-elf-stt-common): New configure + option. If enabled then the tools can generate symbols with + the ELF STT_COMMON type. + * config.in: Regenerate. + * configure: Regenerate. + * elf.c (swap_out_syms): If USE_STT_COMMON is defined then set + the type of emitted common symbols to STT_COMMON. + * elfcode.h (elf_slurp_symbol_table): Accept STT_COMMON symbol + types. + +2007-10-15 Alan Modra + + * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value. + Return status. Adjust callers. + * coff-mcore.c (mcore_emit_base_file_entry): Likewise. + * coff-ppc.c (write_base_file_entry): New function. + (coff_ppc_relocate_section): Use it. + * elf32-arm.c (find_thumb_glue): Check asprintf return status. + (find_arm_glue): Likewise. + * vms-misc.c (_bfd_vms_output_flush): Check fwrite return value. + +2007-10-12 Nick Clifton + + PR 5160 + * elflink.c (eval_symbol): Remove bufsz variable and use + sizeof(symbuf) where necessary. + +2007-10-12 M R Swami Reddy + + * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo. + +2007-10-12 Daniel Jacobowitz + + * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced + local symbols specially. + (mips_elf_set_global_got_offset): Skip forced local symbols. + +2007-10-12 Alan Modra + + * elf.c (elfcore_grok_prxfpreg): Fix comment typo. + +2007-10-10 H.J. Lu + + * elf.c (get_program_header_size): Always add a PT_GNU_RELRO + segment for -z relro. + (_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO + segment only when needed. + +2007-10-05 Bob Wilson + + * elf32-xtensa.c (relax_section): Call pin_internal_relocs when + changing a relocation's offset. Adjust call to translate_reloc. Do + not add a fix record for a DIFF reloc. For other relocs, only add a + fix record if the translated target is in a different object file; + otherwise, just update the relocation. Call pin_internal_relocs when + updating a reloc but not when adding a fix record. + (translate_reloc): Get the target section from a new argument, not + from the relocation. Change check for relaxable sections to an + assertion. Compute separate offset adjustments for the base symbol + and the addend, and set the new relocation's addend correctly. Return + the new target section. + +2007-10-05 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_relocate_section): Remove updates of + r_type and howto after calling do_fix_for_relocateable_link and + do_fix_for_final_link. + +2007-10-05 Bob Wilson + + * elf32-xtensa.c (removed_by_actions): New. + (offset_with_removed_text): Reimplement using removed_by_actions. + (offset_with_removed_text_before_fill): Delete. + (relax_property_section): Use removed_by_actions. Rearrange logic. + (relax_section_symbols): Likewise. + +2007-10-04 Bob Wilson + + * elf32-xtensa.c (reloc_bfd_fix_struct): Delete target_abfd field. + (reloc_bfd_fix_init): Remove target_abfd argument. + (relax_section, move_literal): Adjust calls to reloc_bfd_fix_init. + +2007-10-04 Nick Clifton + + PR linker/5099 + * elf64-x86-64.c (elf64_x86_64_check_relocs): Add missing + apostrophe to error message. + +2007-10-01 M R Swami Reddy + + * elf32-cr16.c: Fixed DISP8, DISP20 and IMM20 relocations at + final relocation phase. + Added the below relaxations: IMM32 -> IMM20/IM16 -> IMM4. + * reloc.c: Added 3 new relocations: R_CR16_SWITCH8, + R_CR16_SWITCH16, R_CR16_SWITCH32. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2007-09-30 Alan Modra + + * elflink.c: Formatting. + +2007-09-29 Alan Modra + + * elflink.c (resolve_symbol): Handle symbols in SEC_MERGE + sections. Don't test symbol st_shndx. Don't bother with + bfd_link_hash_common symbols. Print longs rather than ints + in debug messages. + (eval_symbol): Replace "sym" and "advanced" params with "symp". + Replace "addr" and "section_offset" params with "dot". Don't + cast bfd_vma values to signed, cast them to bfd_signed_vma. + (bfd_elf_perform_complex_relocation): Delete "output_bfd", "info", + "local_syms" and "local_sections" params. Add "relocation". + Delete code calculating relocation value. + (evaluate_complex_relocation_symbols): Delete function. Fold into.. + (elf_link_input_bfd): ..existing code examining relocs. + * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. + * elf32-mep.c (mep_elf_check_relocs): Delete function. + (mep_elf_gc_sweep_hook, mep_elf_gc_mark_hook): Likewise. + (mep_elf_object_p): Don't set elf_bad_symtab. + (elf_backend_check_relocs): Don't define. + (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): Likewise. + (elf_backend_can_gc_sections, USE_RELA): Likwise. + (mep_elf_relocate_section): Move bfd_elf_perform_complex_relocation + call after we have calculated reloc value. Delete local sym + debug code. Use RELOC_FOR_GLOBAL_SYMBOL. Delete addend + adjusting code.. + (elf_backend_rela_normal): ..instead define this. + +2007-09-28 Alan Modra + + * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + * elf32-avr.c (elf32_avr_check_relocs): Likewise. + * elf32-bfin.c (bfinfdpic_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. + * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. + * elf32-fr30.c (fr30_elf_check_relocs): Likewise. + * elf32-frv.c (_frvfdpic_check_discarded_relocs): Likewise. + (elf32_frv_check_relocs): Likewise. + * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. + * elf32-m32c.c (m32c_elf_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-mcore.c (mcore_elf_check_relocs): Likewise. + * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. + * elf32-mt.c (mt_elf_check_relocs): Likewise. + * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. + (score_elf_local_relocation_p): Likewise. + (_bfd_score_elf_relocate_section): Likewise. + (score_elf_final_link_relocate): Likewise. + +2007-09-26 Jan Beulich + + * elf32-i386.c (elf_i386_check_relocs): Revert NULL pointer + check for R_386_GNU_VTINHERIT. + * elf-m10300.c (mn10300_elf_check_relocs): Check for NULL + pointer for R_xxx_GNU_VTENTRY. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + * elf32-bfin.c (bfin_check_relocs): Likewise. + (bfinfdpic_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. + * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. + * elf32-fr30.c (fr30_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_check_relocs): Likewise. + * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. + * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-mcore.c (mcore_elf_check_relocs): Likewise. + * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_check_relocs): Likewise. + * elf32-s390.c (elf_s390_check_relocs): Likewise. + * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf32-v850.c (v850_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. + * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_check_relocs): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + +2007-09-26 Alan Modra + + * elflink.c (set_symbol_value): Add isymbuf and locsymcount + params. Change symidx to a size_t. Don't access past end + of symbol buffer. + (resolve_symbol): Add isymbuf param and use instead of + finfo->internal_syms. + (eval_symbol, evaluate_complex_relocation_symbols): Likewise. + (elf_link_input_bfd): Don't read symbols specially for + evaluate_complex_relocation_symbols. + +2007-09-26 Tristan Gingold + + * som.c (som_get_reloc_upper_bound): If there are no relocs return + enough space to hold a NULL pointer. + +2007-09-26 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Correct rel_hdr.sh_size. + +2007-09-25 Alan Modra + + * elf32-spu.c (struct spu_link_hash_table): Add ovly_load_r_symndx. + (spu_elf_size_stubs): Count stub relocs. + (write_one_stub): Emit relocs on overlay call stubs. + + * elf32-spu.c (struct spu_link_hash_table): Add "stubs". + (spu_elf_link_hash_table_create): Init new field. + (spu_elf_size_stubs): Store sorted stub syms in new htab field + rather than local var. + (spu_elf_build_stubs): Iterate over htab stubs rather than + hash traversal. + (struct stubarr): Delete. + (allocate_spuear_stubs, populate_stubs, write_one_stub): Adjust. + +2007-09-24 Daniel Jacobowitz + + * elf.c (assign_file_positions_for_load_sections): Trust + p_align_valid. + (copy_elf_program_header): Copy PT_NULL segments. + +2007-09-24 Trevor Smigiel + + * elf32-spu.c (is_indirect_branch): New function. + (find_function_stack_adjust): End scan on hitting indirect branch. + (sum_stack): Cast %v arg to correct type. + +2007-09-21 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2007-09-21 Doug Kwan + + * Makefile.am (BFD32_LIBS): Add arange-set.lo. + (BFD32_LIBS_CFILES): Add arange-set.c. + (SOURCE_HFILES): Add arange-set.h + (dwarf2.lo): Add dependency upon arange-set.h. + (arange-set.lo): New target. + * Makefile.in: Regenerate. + * arange-set.c: New file. + * arange-set.h: New file. + * dwarf2.c: Include arange-set.h. + (struct dwarf2_debug) Add new fields comp_unit_count and + comp_unit_arange_set. + (struct comp_unit) Replace field arange with a new field arange_set. + (dwarf2_arange_set_allocate, dwarf2_arange_set_deallocate, + dwarf2_combine_arange_value, dwarf2_arange_set_new, + dwarf2_arange_set_with_value_new, dwarf2_comp_unit_arange_add): New + functions to utilize arange set in dwarf2.c. + (arange_add): Formatting change for a line longer than 80 characters. + (decode_line_info): Replace call target arange_add with + dwarf2_comp_unit_arange_add. + (read_rangelist_insert_arange_list, + read_rangelist_comp_unit_arange_add): New functions used as callbacks + for read_rangelist. + (read_rangelist): Change interface to accept a callback and data to + allow caller to select the action peformed on a new range list read. + (scan_unit_for_symbols): Use new interface of read_rangelist. + (parse_comp_unit): Create an arange set for each new comp unit. + Use new interface of read_rangelist. Replace call to arange_add + with that to dwarf2_comp_unit_arange_add. + (comp_unit_contains_address): Replace sequential search with a call to + arange_set_lookup_address, which can handles large set efficiently. + (stash_copy_local_aranges, stash_maybe_enable_arange_set, + stash_find_nearest_line_fast): New functions maintaining and using a + valued global arange set for all compilation units to speed up + bfd_dwarf2_find_nearest_line. + (find_line): Use global arange set. Replace sequential search over all + compilation units with a call to stash_find_nearest_line_fast. Add + book keeping to count number of compilation units. Replace empty + arange list test with a call to arange_set_empty_p. + +2007-09-21 Olivier Hainque + Tristan Gingold + + * syms.c (_bfd_stab_section_find_nearest_line): Look at the + specific SOM sections for stabs if the regular ones are not found. + * som.h (struct somdata): Add a line_info field, to be used by + som_find_nearest_line. + * som.c (som_find_nearest_line): Implement using the bfd stabs + function above. + +2007-09-19 Daniel Jacobowitz + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got + will be output. + +2007-09-19 Alan Modra + Doug Kwan + + * bfd-in.h (bfd_hash_insert): Declare. + * bfd-in2.h: Regenerate. + * hash.c (bfd_hash_insert): New function. Split out from.. + (bfd_hash_lookup): ..here. + * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert. + +2007-09-18 Alan Modra + + * elf.c (bfd_section_from_shdr): Check bfd_alloc return. + (elfcore_write_note): Check realloc return. + * elflink.c (_bfd_elf_link_find_version_dependencies): Check + bfd_zalloc return. + (_bfd_elf_link_assign_sym_version): Check bfd_malloc return. + (elf_link_add_object_symbols): Likewise. + (struct hash_codes_info): New. + (elf_collect_hash_codes): Return bfd_malloc error. + (struct collect_gnu_hash_codes): Add "error". + (elf_collect_gnu_hash_codes): Return bfd_malloc error. + (bfd_elf_size_dynamic_sections): Check return status of + _bfd_elf_link_find_version_dependencies. + (bfd_elf_size_dynsym_hash_dynstr): Adjust for elf_collect_hash_codes + and elf_collect_gnu_hash_codes changes. + (elf_sym_name_compare): Formatting. + (elf_fixup_link_order): Use bfd_malloc, not xmalloc. + +2007-09-17 H.J. Lu + + PR binutils/3281 + PR binutils/5037 + * elf-bfd.h (elf_obj_tdata): Remove relro. + + * elf.c (get_program_header_size): Check info->relro instead + of elf_tdata (abfd)->relro. + (_bfd_elf_map_sections_to_segments): Likewise. + (assign_file_positions_for_load_sections): Don't set + PT_GNU_RELRO segment alignment here. + (assign_file_positions_for_non_load_sections): Properly set up + PT_GNU_RELRO segment for copying executable/shared library. + (rewrite_elf_program_header): Remove PT_GNU_RELRO segment. + (copy_elf_program_header): Set p_size and p_size_valid fields for + PT_GNU_RELRO segment. + +2007-09-17 Nick Clifton + + * po/fi.po: New Finnish translation. + * po/es.po: Updated Spanish translation. + * configure.in (ALL_LINGUAS): Add fi. + * configure: Regenerate. + * po/bfd.pot: Regenerate. + +2007-09-15 Nick Clifton + + * bfd.c (_bfd_default_error_handler): fflush stdout. + +2007-09-14 Alan Modra + + * opncls.c (find_separate_debug_file): Ensure bfd_set_error has + been called on all error return paths. + (bfd_fill_in_gnu_debuglink_section): Use bfd_malloc, not malloc. + Clear padding after filename + +2007-09-14 Alan Modra + + * format.c (bfd_check_format_matches): Record matching targets even + when "matching" is NULL to allow bfd_associated_vector matches. + Consolidate error return code. Consolidate ok return code. Always + restore original target and format on error. + +2007-09-14 Alan Modra + + * configure.in: Delete BFD_HOST_LONG_LONG and bfd checks for + long long. Partly revert 2007-07-12 change, so that + BFD_HOST_64BIT_LONG and BFD_HOST_64BIT_LONG_LONG are set + independent of "void *" size. + * configure: Regenerate. + * config.in: Regenerate. + * Makefile.in: Regenerate. + +2007-09-12 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Delete elf_backend_sprintf_vma + and elf_backend_fprintf_vma. + (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. + * elf.c (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. + * elfxx-target.h (elf_backend_sprintf_vma): Don't define. + (elf_backend_fprintf_vma): Likewise. + (elfNN_bed): Don't init removed fields. + * bfd.c (is32bit): New function. + (bfd_sprintf_vma, bfd_fprintf_vma): Use the above. + +2007-09-11 Nathan Sidwell + + * archures.c: Add bfd_mach_mcf_isa_c_nodiv, + bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac. + * ieee.c (ieee_write_processor): Update coldfire architecture + list. + * bfd-in2.h: Rebuilt. + * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures. + (m68k_arch_features): Likewise. + * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV. + (elf32_m68k_print_private_bfd_data): Likewise. + +2007-09-11 Jan Beulich + + * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. + * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise. + +2007-09-08 Alan Modra + + * elf64-ppc.c (func_desc_adjust): When resolving undefined + references to dot-symbols, transfer def_regular and + def_dynamic from the descriptor symbol. + +2007-09-08 Alan Modra + + * config.bfd: Set want64 for spu-*-elf. + +2007-09-08 Alan Modra + + PR ld/2864, ld/5006 + * elf.c (special_sections): Comment typo. + (elf_fake_sections): Force SHT_PROGBITS for sections that are + SHT_NOBITS if BFD section flags say they have contents. + +2007-09-04 Michael Snyder + + * elf32-bfin.c (howto_table): Cut and paste error? + Name field of reloc is wrong. + +2007-09-04 Alan Modra + + * elf32-spu.c (elf_howto_table): Formatting. + +2007-09-02 H.J. Lu + + PR ld/4986 + * dwarf2.c (new_line_sorts_after): Undo the last change. + (add_line_info): Only keep the last entry with the same address + and end sequence. + +2007-08-31 H.J. Lu + + PR ld/4986 + * dwarf2.c (new_line_sorts_after): Also compare line number. + +2007-08-31 Jesse Michael + + * mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non + zerofill sections. + +2007-08-28 David Heine + + * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when + narrowing instructions. + +2007-08-28 Mark Shinwell + Joseph Myers + + * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, + then on type. + +2007-08-28 Robert Sebastian Gerus + + * config.bfd: Add support for i[3-7]86-*-dragonfly*. + * configure.in: Likewise. + * configure: Regenerate. + +2007-08-25 Ulrich Weigand + Alan Modra + + * elf.c (elfcore_grok_spu_note): New function. + (elf_parse_notes): Call it. + +2007-08-24 H.J. Lu + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust + indentation. + +2007-08-24 Pedro Alves + + * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T + guard. Make it host independent. + (elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around + NT_WIN32PSTATUS. + +2007-08-24 Jan Kratochvil + + * elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID. + * elf.c (elfcore_read_notes): Split to ... + (elf_read_notes) ... here ... + (elf_parse_notes): ... and here. Check `bfd_get_format (abfd)' with + the former subfunctions called only for BFD_CORE. + Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU". + (_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs. + (bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES. + (elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions. + Code advisory: Roland McGrath + +2007-08-24 Daniel Jacobowitz + + * elf64-mips.c (elf_backend_sign_extend_vma): Define. + +2007-08-24 Alan Modra + + * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. + +2007-08-23 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2007-08-23 H.J. Lu + + * elf32-i386.c: Include "bfd_stdint.h". + (elf_i386_rtype_to_howto): New function. + (elf_i386_info_to_howto_rel): Use it. + (x86_64_opcode16): New union type. + (elf_i386_check_tls_transition): New function. + (elf_i386_tls_transition): Updated to check transition and + issue an error if a transition isn't supported. + (elf_i386_check_relocs): Return FALSE if + elf_i386_tls_transition returns FALSE. + (elf_i386_gc_sweep_hook): Likewise. + (elf_i386_relocate_section): Likewise. Remove BFD_ASSERT + on TLS transitions. + + * elf64-x86-64.c: Include "bfd_stdint.h". + (x86_64_opcode16): New union type. + (x86_64_opcode32): Likewise. + (elf64_x86_64_check_tls_transition): New function. + (elf64_x86_64_tls_transition): Updated to check transition and + issue an error if a transition isn't supported. + (elf64_x86_64_check_relocs): Return FALSE if + elf64_x86_64_tls_transition returns FALSE. + (elf64_x86_64_gc_sweep_hook): Likewise. + (elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT + on TLS transitions. + +2007-08-22 H.J. Lu + + * elfxx-ia64.c: Convert to ISO C90 prototypes. + (elfNN_hpux_backend_section_from_bfd_section): Make it static. + +2007-08-22 H.J. Lu + + * elf64-x86-64.c: Remove trailing whitespace. + * elfxx-ia64.c: Likewise. + +2007-08-21 H.J. Lu + + * elf32-i386.c (elf_i386_tls_transition): Accept a pointer + to ELF hash entry instead of an integer for local test. + (elf_i386_check_relocs): Updated. + (elf_i386_gc_sweep_hook): Likewise. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a + pointer to ELF hash entry instead of an integer for local + test. + (elf64_x86_64_check_relocs): Updated. + (elf64_x86_64_gc_sweep_hook): Likewise. + (elf64_x86_64_relocate_section): Likewise. + +2007-08-20 H.J. Lu + + * elf32-i386.c (elf_i386_tls_transition): Break long line. + * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise. + +2007-08-20 Jan Kratochvil + + * elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE] + (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size. + (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size. + +2007-08-20 Nick Clifton + + * elflink.c (elf_fixup_link_order): Rewrite conversion of + s->alignment_power into an offset mask in order to avoid a gcc + error message. + +2007-08-17 Jakub Jelinek + + * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. + Change sparc64-*-linux-* to sparc64*-*-linux-*. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-16 H.J. Lu + + * elf.c: Revert last change. + +2007-08-16 H.J. Lu + + * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. + (bfd_section_from_phdr): Likewise. + (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment + if there is an attribute section. + (_bfd_elf_map_sections_to_segments): Likewise. + (IS_SECTION_IN_INPUT_SEGMENT): Likewise. + +2007-08-14 H.J. Lu + + PR ld/4918 + * elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32 + on ___tls_get_addr for GD->LE/LD->LE transitions when not + building shared library. + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Allow + R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions + when not building shared library. + +2007-08-14 Jan Kratochvil + + * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now + initialized only on the first PT_LOAD. New variable LOADBASE_SET. + Removed PF_R checking for IA-64 vDSOs as redundant now. + Code advisory: Roland McGrath + +2007-08-13 Richard Sandiford + + * elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes. + (mips_elf_record_global_got_symbol): Increment local_gotno for + each forced-local symbol. + (_bfd_mips_elf_check_relocs): Pass forced-local call symbols to + mips_elf_record_global_got_symbol for VxWorks too. + (_bfd_mips_elf_always_size_sections): Set computed_got_sizes + to true after computing the GOT size. + (_bfd_mips_elf_hide_symbol): Increase local_gotno whenever + got.offset == 1. Only adjust global_gotno if computed_got_sizes. + For VxWorks, add a local entry when hiding a symbol that needs a + plt but has not been marked as needing a global got entry. + (_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to + false. + +2007-08-12 Daniel Jacobowitz + + * coffgen.c (coff_get_normalized_symtab): Correct cast. + +2007-08-13 Alan Modra + + * elf.c (elf_modify_segment_map): Add remove_empty_load param. + Don't remove empty PT_LOAD header if false. + (_bfd_elf_map_sections_to_segments): If user phdrs, pass false + to elf_modify_segment_map. + (assign_file_positions_for_load_sections): Pass false to + elf_modify_segment_map. + +2007-08-13 Alan Modra + + * elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define. + Update stub comments. + (build_plt_stub): Build two variants, one without "addis". + (ppc_build_one_stub): Build stubs without "addis" if possible. + (ppc_size_one_stub): Size new stubs. + +2007-08-11 Richard Sandiford + + * config.bfd (sh-*-vxworks): Define targ_underscore to "yes". + +2007-08-09 Michael Snyder + + * aoutx.h (aout_get_external_symbols): Return if count is zero. + +2007-08-09 H.J. Lu + + PR ld/4909 + * elf.c (print_segment_map): New function. + (assign_file_positions_for_load_sections): Call print_segment_map + when a section can't be allocated in segment. + +2007-08-09 Jan Kratochvil + + * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion. + +2007-08-07 Nick Clifton + + * po/bfd.pot: Updated template. + * po/BLD-POTFILES.in: Regenerate. + +2007-08-07 Alan Modra + + * elf.c: (_bfd_elf_make_section_from_phdr): Properly handle + bss segments. + +2007-08-06 Daniel Jacobowitz + + * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h. + * Makefile.in: Regenerated. + +2007-08-06 Daniel Jacobowitz + + * configure.in: Update version to 2.18.50. + * configure: Regenerated. + +2007-08-06 Paul Brook + + * elf32-arm.c (elf32_arm_link_hash_entry): Add + plt_maybe_thumb_refcount. + (elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount. + (elf32_arm_copy_indirect_symbol): Ditto. + (elf32_arm_adjust_dynamic_symbol): Ditto. + (bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24. + (arm_add_to_rel): Ditto. + (elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with + R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub. + (elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts + for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. + (elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24 + and R_ARM_THM_JUMP19. + (allocate_dynrelocs): Use plt_maybe_thumb_refcount. + (elf32_arm_finish_dynamic_symbol): Ditto. + (elf32_arm_output_plt_map): Ditto. + +2007-08-06 Daniel Jacobowitz + + * elf.c (rewrite_elf_program_header): Handle sections not sorted + by address. + (copy_elf_program_header): Likewise. + +2007-08-04 H.J. Lu + + * elf-bfd.h (xvec_get_elf_backend_data): Add const. + + * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. + * elfcore.h (elf_core_file_p): Likewise. + +2007-08-02 H.J. Lu + + * coffcode.h (ALIGN_SET): Removed. + (ELIFALIGN_SET): Likewise. + (coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES, + IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, + IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, + IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES. + +2007-08-01 Michael Snyder + + * vms-tir.c (new_section): Fix cut and paste error. + + * aoutx.h (aout_link_add_symbols): Return if count is zero. + + * elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so + pointer must be non-null. + +2007-08-01 Tristan Gingold + + * coffcode.h (coff_sort_func_alent): New function. + (coff_slurp_line_table): Sort line table if not already sorted. + +2007-08-01 Jakub Jelinek + + * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy + GCC 3.4.x warning. + +2007-08-01 Alan Modra + + * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown + r_type. + (swap_std_reloc_in): Likewise. + (aout_link_input_section_std): Likewise. Return with an error + on unexpected relocation type. + (aout_link_input_section_ext): Likewise. + +2007-08-01 Alan Modra + + PR4694 + * aoutx.h (final_link): Write a zero in first word of + stringtab if no symbols rather than corrupting last byte + of text/data. + +2007-07-31 Jakub Jelinek + + * elf.c (get_program_header_size): Adjacent loadable .note* + sections need just one PT_NOTE segment. + (_bfd_elf_map_sections_to_segments): Likewise. + +2007-07-30 Michael Snyder + + * coffgen.c (_bfd_coff_read_internal_relocs): Revert change of + 2007-07-26. Buffer still in use, can't be freed. + +2007-07-27 Michael Snyder + + * cofflink.c (coff_link_add_symbols): Return if count is zero. + + * coff-i386.c (coff_i386_rtype_to_howto): Off by one error. + + * aoutx.h (slurp_symbol_table): Return if count == 0. + + * coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero. + + * elf32-i386.c (elf_i386_check_relocs): Check for null pointer. + +2007-07-27 H.J. Lu + + * config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec. + +2007-07-26 Michael Snyder + + * coff-i386.c (coff_i386_rtype_to_howto): Guard against null. + + * linker.c (bfd_section_already_linked_table_insert): Change + return type from void to boolean. Return FALSE on failure. + (_bfd_generic_section_already_linked): Test return value of + bfd_section_already_linked_table_insert, call fatal on error. + + * elflink.c (_bfd_elf_section_already_linked): Test return value + of bfd_section_already_linked_table_insert, call fatal on error. + + * libbfd-in.h (bfd_section_already_linked_table_insert): Update + return type to bfd_boolean. + + * libbfd.h: Regenerate. + +2007-07-26 Adam Nemet + + * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap, + bfd_slurp_armap): Improve function comment. + +2007-07-26 Michael Snyder + + * linker.c (already_linked_newfunc): Check for NULL return from + bfd_hash_allocate. + + * coffgen.c (fixup_symbol_value): Guard against null; + bfd_is_com_section will dereference the section pointer. + + * syms.c (bfd_decode_symclass): Guard against NULL, since + bfd_is_com_section dereferences the pointer. + + * srec.c (srec_scan): Check for EOF (critical because return value + will be used as array index). + + * coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs + are not to be cached, free the temporary buffer. + + * aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero + or count == zero. + + * tekhex.c (first_phase): Check return value for null. + + * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless + pointer increment. + +2007-07-26 Alan Modra + + * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary + check on dynobj. Remove bed shadow. + + * srec.c (srec_get_section_contents): Return immediately on + count zero. Check that offset and count are within section. + * libbfd.c (_bfd_generic_get_section_contents): Check that + offset + count does not overflow. + + * srec.c (srec_canonicalize_symtab): Don't alloc when symcount + is zero. Correct return value on error. + * mmo.c (mmo_canonicalize_symtab): Likewise. + * binary.c (binary_canonicalize_symtab) Correct return on error. + +2007-07-26 Thiemo Seufer + + * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL. + +2007-07-26 Alan Modra + + * reloc.c (bfd_generic_get_relocated_section_contents): Avoid + bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound + says there are no relocs. + +2007-07-26 Doug Kwan + + Speed up bfd_dwarf2_find_line. + * dwarf2.c (struct dwarf2_debug): Add new fields to support function + and variable info hash tables. Add last_comp_unit, info_hash_count, + funcinfo_hash_table, varinfo_hash_table, hash_units_head. + (struct comp_unit): Add prev_unit, cached. + (struct info_list_node, struct info_hash_entry, + struct info_hash_table): New. + (info_hash_table_newfunc, create_info_hash_table, + insert_info_hash_table, lookup_info_hash_table): New functions + implementing function and variable info hash tables. + (scan_unit_for_symbols): Add checks to make sure hash tables are + consistent with compilation units. + (comp_unit_maybe_decode_line_info): New function. + (comp_unit_find_line): Use comp_unit_maybe_decode_line_info. + (reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info, + info_hash_lookup_funcinfo, info_hash_lookup_varinfo, + stash_maybe_update_info_hash_table, stash_verify_info_hash_table, + stash_maybe_enable_info_hash_tables, stash_find_line_fast): New + functions. Make use of info hash tables to speed up + bfd_dwarf2_find_line. + (find_line): Use hash table for faster lookup if it is turned on. + Also add code to maintain bi-directional link in comp units. + +2007-07-25 Michael Snyder + + * coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done + if size == 0; return and avoid possible null pointer issues. + +2007-07-25 Alan Modra + + * linker.c (generic_link_add_symbol_list): Warning fix. + +2007-07-24 Michael Snyder + + * opncls.c (bfd_make_writable): Check return from bfd_malloc. + + * elflink.c (bfd_elf_final_link): Avoid redundant frees -- return + on bfd_malloc error rather than goto error_return. + +2007-07-24 Alan Modra + + * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook, + _bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc, + _bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol, + _bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create, + bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class, + bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list, + bfd_elf_get_runpath_list, bfd_elf_get_dt_soname, + bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol, + struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol, + elf_sym_name_compare, elf_create_symbuf, + bfd_elf_match_symbols_in_sections, + _bfd_elf_match_sections_by_type): Move to here.. + * elf.c: ..from here. + +2007-07-23 Richard Sandiford + + * elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type + of weakdef->root.type if weakdef has no regular definition. + +2007-07-22 Adam Nemet + + * elfxx-mips.c (struct mips_elf_link_hash_table): Add new field + small_data_overflow_reported. + (_bfd_mips_elf_link_hash_table_create): Initialize it. + (_bfd_mips_elf_relocate_section) : Report + small-data section overflow. + +2007-07-19 Doug Kwan + + PR binutils/4797 + * dwarf2.c: (find_line) Do not dereference functionname_ptr if + do_line is true. + +2007-07-18 Bob Wilson + + * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore + non-ELF sections. + +2007-07-18 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section + vma and size for dynamic tags from the output sections. + +2007-07-18 Alan Modra + + * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx". + * elf.c (bfd_section_from_r_symndx): Don't cache bfd section of + symbol. Instead cache ELF section index. Remove redundant + checks of st_shndx. + +2007-07-15 Mike Frysinger + + * trad-core.c (NBPG): If not defined, set to getpagesize(). + +2007-07-13 Roland McGrath + + * elf-bfd.h (struct elf_obj_tdata): Revert last change. + Add after_write_object_contents, after_write_object_contents_info. + * elf.c (_bfd_elf_write_object_contents): Revert last change. + Instead, call after_write_object_contents if set. + +2007-07-12 Kai Tietz + + * bfd-in.h: (BFD_HOST_64BIT_LONG_LONG): New. + (BFD_HOSTPTR_T): Host pointer type for casting a + pointer to an integer type. + (bfd_hostptr_t): The typedef of BFD_HOSTPTR_T. + (sprintf_vma, fprintf_vma): Add support for long long prints. + * bfd-in2.h: Regenerate. + * configure.in: (BFD_HOST_64BIT_LONG_LONG): New. + (BFD_HOSTPTR_T): Host pointer type for casting a + pointer to an integer type. Default is "unsigned long". + (AC_CHECK_SIZEOF(void *)): New. + (host64): Set it if the pointer size is 8. + * configure: Regenerate. + * config.in: Add macro SIZEOF_VOID_P. + * coffcode.h: Replace host ptr type assuming "long" with + bfd_hostptr_t type. + * coffgen.c: Likewise. + * elf-eh-frame.c: Likewise. + * peicode.h: Likewise. + +2007-07-10 H.J. Lu + + * Makefile.in: Regenerated. + +2007-07-10 H.J. Lu + + PR binutils/4756 + * simple.c (bfd_simple_get_relocated_section_content): Don't + apply relocation on executable and shared library. + +2007-07-10 Nathan Sidwell + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate + copy relocs on vxworks. + +2007-07-10 Alan Modra + + * elf32-arm.c (elf32_arm_size_info): Init checksum_contents field. + * 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 (elf64_sparc_size_info): Likewise. + +2007-07-09 H.J. Lu + + * elflink.c (bfd_elf_record_link_assignment): Handle indirect + symbol. + (_bfd_elf_merge_symbol): Properly update normal symbol when + overriding the versioned symbol from a dynamic library. + +2007-07-09 Roland McGrath + + * elf-bfd.h (struct elf_obj_tdata): Add members + emit_note_gnu_build_id and note_gnu_build_id_sec. + * elf.c (_bfd_id_note_section_size): New global function. + (read_hex, _bfd_elf_write_build_id_section): New static functions. + (_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section + if emit_note_gnu_build_id is set. + * Makefile.am (elf.lo): Update dependencies. + + * elf-bfd.h (struct elf_size_info): Add checksum_contents hook. + (bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare. + * elfcode.h (elf_checksum_contents): New macro and function. + (NAME(_bfd_elf,size_info)): Initialize checksum_contents hook. + +2007-07-06 Michael Snyder + + * elflink.c (elf_link_add_object_symbols): Return via + error_free_vers on "notice" failure. + +2007-07-04 H.J. Lu + + * peicode.h (pe_bfd_object_p): Don't check PE vs. EFI target + if arch is unknown. + +2007-07-04 Nick Clifton + + Import this patch from an internal tree: + + 2001-07-17 Richard Henderson + + * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly + compensate for high bit set in R_MEP_LOW16. + +2007-07-03 Joseph Myers + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Copy type from + input attributes if value has been copied. + +2007-07-03 Nick Clifton + + * COPYING: Replace with GPLv3 text. + * aix386-core.c: Update copyright notice to refer to GPLv3. + * aix5ppc-core.c, aout0.c, aout32.c, aout64.c, aout-adobe.c, + aout-arm.c, aout-cris.c, aoutf1.h, aout-ns32k.c, aout-sparcle.c, + aout-target.h, aout-tic30.c, aoutx.h, archive64.c, archive.c, + archures.c, armnetbsd.c, bfd.c, bfd-in.h, bfdio.c, bfdwin.c, + binary.c, bout.c, cache.c, cf-i386lynx.c, cf-sparclynx.c, + cisco-core.c, coff64-rs6000.c, coff-alpha.c, coff-apollo.c, + coff-arm.c, coff-aux.c, coffcode.h, coffgen.c, coff-go32.c, + coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, coff-i960.c, + coff-ia64.c, cofflink.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, + coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, + coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, + coff-svm68k.c, coffswap.h, coff-tic30.c, coff-tic4x.c, + coff-tic54x.c, coff-tic80.c, coff-u68k.c, coff-w65.c, + coff-we32k.c, coff-x86_64.c, coff-z80.c, coff-z8k.c, corefile.c, + cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, cpu-bfin.c, + cpu-cr16.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.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-ia64-opc.c, cpu-ip2k.c, cpu-iq2000.c, + cpu-m10200.c, cpu-m10300.c, cpu-m32c.c, cpu-m32r.c, cpu-m68hc11.c, + cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, + cpu-mep.c, cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-mt.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-score.c, cpu-sh.c, + cpu-sparc.c, cpu-spu.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-xc16x.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z80.c, cpu-z8k.c, + demo64.c, doc/chew.c, dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, + ecoffswap.h, efi-app-ia32.c, efi-app-ia64.c, efi-app-x86_64.c, + elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, + elf32-avr.h, elf32-bfin.c, elf32.c, elf32-cr16.c, elf32-cr16c.c, + elf32-cris.c, elf32-crx.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-iq2000.c, elf32-m32c.c, elf32-m32r.c, elf32-m68hc11.c, + elf32-m68hc12.c, elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, + elf32-m88k.c, elf32-mcore.c, elf32-mep.c, elf32-mips.c, + elf32-msp430.c, elf32-mt.c, elf32-openrisc.c, elf32-or32.c, + elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, elf32-score.c, + elf32-sh64.c, elf32-sh64-com.c, elf32-sh64.h, elf32-sh.c, + elf32-sh-symbian.c, elf32-sparc.c, elf32-spu.c, elf32-spu.h, + elf32-v850.c, elf32-vax.c, elf32-xc16x.c, elf32-xstormy16.c, + elf32-xtensa.c, elf64-alpha.c, elf64.c, elf64-gen.c, elf64-hppa.c, + elf64-hppa.h, 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, elf-attrs.c, elf-bfd.h, elf.c, elfcode.h, + elfcore.h, elf-eh-frame.c, elf-hppa.h, elflink.c, elf-m10200.c, + elf-m10300.c, elfn32-mips.c, elf-strtab.c, elf-vxworks.c, + elf-vxworks.h, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, + elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, epoc-pe-arm.c, + epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, genlink.h, + hash.c, host-aout.c, hosts/alphavms.h, hp300bsd.c, hp300hpux.c, + hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, + i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, + i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, + libaout.h, libbfd.c, libbfd-in.h, libcoff-in.h, libecoff.h, + libhppa.h, libieee.h, libnlm.h, liboasys.h, libpei.h, libxcoff.h, + linker.c, lynx-core.c, m68k4knetbsd.c, m68klinux.c, m68knetbsd.c, + m88kmach3.c, m88kopenbsd.c, mach-o.c, mach-o.h, mach-o-target.c, + mep-relocs.pl, merge.c, mipsbsd.c, mmo.c, netbsd-core.c, netbsd.h, + newsos3.c, nlm32-alpha.c, nlm32.c, nlm32-i386.c, nlm32-ppc.c, + nlm32-sparc.c, nlm64.c, nlm.c, nlmcode.h, nlmswap.h, nlm-target.h, + ns32k.h, ns32knetbsd.c, oasys.c, opncls.c, osf-core.c, + pc532-mach.c, pdp11.c, pe-arm.c, pe-arm-wince.c, pef.c, pef.h, + pef-traceback.h, pe-i386.c, pei-arm.c, pei-arm-wince.c, peicode.h, + pei-i386.c, pei-mcore.c, pei-mips.c, pei-ppc.c, pei-sh.c, + pei-x86_64.c, pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, + pe-x86_64.c, peXXigen.c, ppcboot.c, ptrace-core.c, reloc16.c, + reloc.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, + simple.c, som.c, som.h, sparclinux.c, sparclynx.c, sparcnetbsd.c, + srec.c, stabs.c, stab-syms.c, stamp-h.in, sunos.c, syms.c, + sysdep.h, targets.c, targmatch.sed, tekhex.c, ticoff.h, + trad-core.c, vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, + vms.c, vms-gsd.c, vms.h, vms-hdr.c, vms-misc.c, vms-tir.c, + xcofflink.c, xcoff-target.h, xsym.c, xsym.h, xtensa-isa.c, + xtensa-modules.c: Likewise. + * elf32-sh-relocs.h: Add copyright notice. + * hosts/alphalinux.h, hosts/decstation.h, hosts/delta68.h, + hosts/dpx2.h, hosts/hp300bsd.h, hosts/i386bsd.h, + hosts/i386linux.h, hosts/i386mach3.h, hosts/i386sco.h, + hosts/i860mach3.h, hosts/m68kaux.h, hosts/m68klinux.h, + hosts/m88kmach3.h, hosts/mipsbsd.h, hosts/mipsmach3.h, + hosts/news.h, hosts/news-mips.h, hosts/pc532mach.h, + hosts/riscos.h, hosts/symmetry.h, hosts/tahoe.h, hosts/vaxbsd.h, + hosts/vaxlinux.h, hosts/vaxult2.h, hosts/vaxult.h: Likewise. + * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. + +2007-07-02 Joseph Myers + + * elfxx-mips.c (mips_elf_calculate_relocation): Handle + R_MIPS_TLS_DTPREL32 and R_MIPS_TLS_DTPREL64. + * elf64-mips.c (mips_elf64_howto_table_rela): Support + R_MIPS_TLS_DTPREL64. + +2007-07-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + +2007-07-02 Alan Modra + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Tidy + symsec != NULL tests. + +2007-07-02 Alan Modra + + PR 4712 + * elf.c (assign_file_positions_for_load_sections): Adjust lma + by p_vaddr_offset. + +2007-06-30 H.J. Lu + + * aclocal.m4: Regenerated. + * Makefile.in: Likewise. + +2007-06-29 Joseph Myers + + * elf32-ppc.c (ppc_elf_merge_obj_attributes): New. + (ppc_elf_merge_private_bfd_data): Call it. + +2007-06-29 Joseph Myers + + * elfxx-mips.c (mips_elf_merge_obj_attributes): New. + (_bfd_mips_elf_merge_private_bfd_data): Call it. + +2007-06-29 Joseph Myers + + * elf-attrs.c: New. + * Makefile.am (BFD32_BACKENDS): Add elf-attrs.lo. + (BFD32_BACKENDS_CFILES): Add elf-attrs.c. + (elf-attrs.lo): Generate dependencies. + * Makefile.in: Regenerate. + * configure.in (elf): Add elf-attrs.lo. + * configure: Regenerate. + * elf-bfd.h (struct elf_backend_data): Add entries for object + attributes. + (NUM_KNOWN_OBJ_ATTRIBUTES, obj_attribute, obj_attribute_list, + OBJ_ATTR_PROC, OBJ_ATTR_GNU, OBJ_ATTR_FIRST, OBJ_ATTR_LAST, + Tag_NULL, Tag_File, Tag_Section, Tag_Symbol, Tag_compatibility): + New. + (struct elf_obj_tdata): Add entries for object attributes. + (elf_known_obj_attributes, elf_other_obj_attributes, + elf_known_obj_attributes_proc, elf_other_obj_attributes_proc): + New. + (bfd_elf_obj_attr_size, bfd_elf_set_obj_attr_contents, + bfd_elf_get_obj_attr_int, bfd_elf_add_obj_attr_int, + bfd_elf_add_proc_attr_int, bfd_elf_add_obj_attr_string, + bfd_elf_add_proc_attr_string, bfd_elf_add_obj_attr_compat, + bfd_elf_add_proc_attr_compat, _bfd_elf_attr_strdup, + _bfd_elf_copy_obj_attributes, _bfd_elf_obj_attrs_arg_type, + _bfd_elf_parse_attributes, _bfd_elf_merge_object_attributes): New. + * elf.c (_bfd_elf_copy_private_bfd_data): Copy object attributes. + (bfd_section_from_shdr): Handle attributes sections. + * elflink.c (bfd_elf_final_link): Handle attributes sections. + * elfxx-target.h (elf_backend_obj_attrs_vendor, + elf_backend_obj_attrs_section, elf_backend_obj_attrs_arg_type, + elf_backend_obj_attrs_section_type): New. + (elfNN_bed): Update. + * elf32-arm.c (NUM_KNOWN_ATTRIBUTES, aeabi_attribute, + aeabi_attribute_list): Remove. + (struct elf32_arm_obj_tdata): Remove object attributes fields. + (check_use_blx, bfd_elf32_arm_set_vfp11_fix, using_thumb2, + elf32_arm_copy_private_bfd_data, elf32_arm_merge_eabi_attributes): + Update for new object attributes interfaces. + (uleb128_size, is_default_attr, eabi_attr_size, + elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, + elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, + elf32_arm_new_eabi_attr, elf32_arm_get_eabi_attr_int, + elf32_arm_add_eabi_attr_int, attr_strdup, + elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat, + copy_eabi_attributes, elf32_arm_parse_attributes): Remove. Moved + to generic code in elf-attrs.c. + (elf32_arm_obj_attrs_arg_type): New. + (elf32_arm_fake_sections): Do not handle .ARM.attributes. + (elf32_arm_section_from_shdr): Do not handle SHT_ARM_ATTRIBUTES. + (bfd_elf32_bfd_final_link): Remove. + (elf_backend_obj_attrs_vendor, elf_backend_obj_attrs_section, + elf_backend_obj_attrs_arg_type, + elf_backend_obj_attrs_section_type): New. + * elf32-bfin.c (bfin_elf_copy_private_bfd_data): Copy object + attributes. + * elf32-frv.c (frv_elf_copy_private_bfd_data): Likewise. + * elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Likewise. + * elf32-mep.c (mep_elf_copy_private_bfd_data): Likewise. + * elf32-mt.c (mt_elf_copy_private_bfd_data): Likewise. + * elf32-sh.c (sh_elf_copy_private_data): Likewise. + * elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise. + +2007-06-29 Paul Brook + + * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Suppress + call veneers for call relocations against undefined symbols. + (elf32_arm_final_link_relocate): Turn call to undefined symbol + into a jump to the next instruction. + +2007-06-29 Michael Snyder + + * bfd.c (bfd_demangle): Plug memory leak (Coverity). + +2007-06-29 M R Swami Reddy + + * Makefile.am: Add cr16 related entry + * Makefile.in: Regenerate + * archures.c: Add bfd_cr16_arch + * bfd-in2.h: Regenerate + * config.bfd: Add cr16-elf + * configure.in: Add bfd_elf32_cr16_vec + * configure: Regenerate. + * targets.c: Added cr16 related information + * cpu-cr16.c: New file. + * elf32-cr16.c: New file. + * reloc.c: Added cr16 relocs. + +2007-06-29 Alan Modra + + * elflink.c (_bfd_elf_link_assign_sym_version): Improve error + message for undefined version nodes. + (elf_gc_sweep): Don't warn when zero size sections are + removed. + +2007-06-29 Nathan Froyd + + * elf32-ppc.c (ppc_elf_info_to_howto): Check for invalid relocation + types. + +2007-06-29 Alan Modra + + * elf32-spu.c (spu_elf_fake_sections): New function. + (elf_backend_fake_sections): Define. + +2007-06-29 Alan Modra + + * elf.c (assign_file_positions_for_load_sections): Use elf + section header sh_size rather than bfd section size, simplifying + .tbss handling. + +2007-06-29 Alan Modra + + PR ld/4701 + * elf.c (assign_file_positions_for_load_sections): Ensure bss + segments meet gABI alignment requirements. Don't allocate + file space for bss sections in a segment also containing file + or program headers. + +2007-06-27 Alan Modra + + * bfd.c (struct bfd): Rename "next" to "archive_next". + * archive.c: Rename uses throughout file. + * archive64.c: Likewise. + * coff-rs6000.c: Likewise. + * ecoff.c: Likewise. + * som.c: Likewise. + * bfd-in2.h: Regenerate. + + * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over + input bfds. + * elf32-spu.c (spu_elf_create_sections): Likewise. + +2007-06-26 H.J. Lu + + * dwarf2.c (find_line): New. Contains the duplicated code from: + (_bfd_dwarf2_find_nearest_line): Use it. + (_bfd_dwarf2_find_line): Use it. + +2007-06-26 Joseph Myers + + * elf32-arm.c (copy_eabi_attributes): Copy type of attributes. + +2007-06-25 Richard Sandiford + + * elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs + to be used for calls from MIPS16 code. + +2007-06-23 Andreas Schwab + + * configure.in (--with-separate-debug-dir): New option. + * configure: Regenerate. + * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. + * Makefile.in: Regenerate. + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to + bfd_follow_gnu_debuglink. + (_bfd_dwarf2_find_line): Likewise. + +2007-06-22 Nick Clifton + + * dwarf2.c: Add support for reading in debug information via a + .gnu_debuglink section: + (struct dwarf2_debug): Add bfd field to record the bfd containing + the debug info. + (parse_comp_unit): Remove ABFD parameter. Instead use the bfd + field in the dwarf2_debug structure. + (_bfd_dwarf2_find_nearest_line): If a debug info section could not + be found in the current bfd call bfd_follow_gnu_debuglink to see + if another file contains the debug information. If it does, open + it and continue. + (_bfd_dwarf2_find_line): Likewise. + +2007-06-19 H.J. Lu + + PR ld/4590 + * elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset + when removing duplicated entries. + (get_dyn_sym_info): Initialize the got_offset field to -1. + Update call to sort_dyn_sym_info. + (elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort + array of addend and remove duplicates. + +2007-06-18 H.J. Lu + + * libpei.h (_bfd_XXi_final_link_postscript): Remove + duplication. + (bfd_target_pei_p): New. + (bfd_target_pei_arch): New + (bfd_target_efi_p): Likewise. + (bfd_target_efi_arch): New + (bfd_pe_executable_p): Use bfd_target_pei_p and + bfd_target_efi_p. + + * peicode.h (arch_type): New enum. + (pe_arch): New function. + (pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file + if there is an EFI/PE target. + +2007-06-14 H.J. Lu + + * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config. + + * acinclude.m4: Don't include m4 files. Remove libtool + kludge. + + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + +2007-06-11 Sterling Augustine + Bob Wilson + + * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed + XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. + (extend_ebb_bounds_backward, compute_text_actions): Likewise. + (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise. + (xtensa_get_property_predef_flags): Likewise. + (compute_removed_literals): Pass new arguments to is_removable_literal. + (is_removable_literal): Add sec, prop_table and ptblsize arguments. + Do not remove literal if the NO_TRANSFORM property flag is set. + +2007-05-31 Richard Sandiford + + * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a + type (3) single-GOT entry, read tls_type from the hash table entry + rather than the GOT entry. + +2007-06-01 Alan Modra + + * simple.c (bfd_simple_get_relocated_section_contents): Init + input_bfds_tail. + +2007-05-30 Alan Modra + + * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections + created by objcopy --only-keep-debug. + (_bfd_elf_init_private_section_data): Only change elf_section_type + if it is SHT_NULL. + + * elf.c (assign_file_positions_for_load_sections): Correct sh_type + to SHT_NOBITS earlier. Base actions in rest of function on sh_type + and sh_flags instead of bfd section flags. Delete voff and code + keeping nobits segments aligned. + +2007-05-25 Eric Christopher + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): + Check that sym_sec isn't NULL before accessing. + +2007-05-24 Steve Ellcey + + * Makefile.in: Regnerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * doc/Makefile.in: Regenerate. + +2007-05-22 Paul Brook + + * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset + with sec and sec_shndx. + (elf32_arm_ouput_plt_map_sym): Use them. + (elf32_arm_output_arch_local_syms): Output mapping symbols for + interworking glue. + +2007-05-18 Paul Brook + + * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define. + (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New. + (record_arm_to_thumb_glue): Add v5t non-pic glue. + (elf32_arm_create_thumb_stub): Ditto. + +2007-05-16 H.J. Lu + Alan Modra + + * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss + section to the minimum alignment. + +2007-05-15 H.J. Lu + Alan Modra + + PR ld/4504 + * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. + * elflink.c (_bfd_elf_adjust_dynamic_copy): New. + + * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call + _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic + bss section. + * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. + * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. + * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. + * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. + * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. + * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. + * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. + +2007-05-15 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_local_got_entry): Remove + input_section argument. Create .rela.dyn relocations against + symbol 0 rather than the section symbol. + (mips_elf_local_got_index): Remove input_section argument. + Update call to mips_elf_create_local_got_entry. + (mips_elf_got_page, mips_elf_got16_entry): Likewise. + (mips_elf_calculate_relocation): Update calls to + mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. + +2007-05-15 Mark Shinwell + + * elf32-arm.c (elf32_arm_final_link_relocate): Correctly + handle the Thumb-2 JUMP19 relocation. + +2007-05-15 Alan Modra + + PR 4479 + * elf.c (elf_fake_sections): Don't allow backend to change + SHT_NOBITS if called for strip/objcopy --only-keep-debug. + * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar + fix from here. + +2007-05-14 Alan Modra + + * elf.c (bfd_elf_string_from_elf_section): Return NULL on + invalid shstrndx. + (bfd_elf_get_str_section): Likewise. + +2007-05-12 Alan Modra + + PR 4497 + * elf-eh-frame.c (struct cie): Add "local_personality". Make + "personality" a union. + (cie_eq): Compare local_personality too. Adjust personality + comparison. + (_bfd_elf_discard_section_eh_frame): Check binding on personality + reloc sym to allow for bad symtab. Use stashed local syms rather + than reading personality local sym. Handle discarded sections. + +2007-05-12 Alan Modra + + * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X. + +2007-05-11 Alan Modra + + * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. + (enum ppc_elf_plt_type): Move from.. + * elf32-ppc.c: ..here. + (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16. + (struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete + can_use_new_plt. Make is_vxworks a bitfield. + (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again). + (ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd. + (ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc + flags to better detect object files needing old bss-style plt. + Allow secure plt to be used without rel16 relocs being detected. + Warn if secure plt request cannot be allowed. + +2007-05-11 Alan Modra + + * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. + * elf-bfd.h (struct elf_backend_data): Change return type of + elf_backend_relocate_section to int. + * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and + R_SPU_PPU64. + (spu_elf_bfd_to_reloc_type): Convert new relocs. + (spu_elf_count_relocs): New function. + (elf_backend_count_relocs): Define. + (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and + R_SPU_PPU64 relocs. + * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section + returns 2. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2007-05-10 Richard Sandiford + + * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries + for R_ARM_ABS12 relocs. + (elf32_arm_finish_dynamic_symbol): Fix the loop that creates + non-shared VxWorks PLT entries. + +2007-05-11 Alan Modra + + PR 4454 + * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma. + (_bfd_elf_discard_section_eh_frame): Handle local syms on + personality relocation. + +2007-05-10 Richard Sandiford + + * elf.c (assign_file_positions_for_load_sections): Use p_memsz + rather than p_filesz to calculate the LMA of the end of a segment. + +2007-05-10 Jakub Jelinek + + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc + processing if symbol is defined in the executable. + +2007-05-10 Alexandre Oliva + + * elf32-frv.c (_frvfdpic_check_discarded_relocs): New. + (frvfdpic_elf_discard_info): New. + (elf_backend_discard_info): Define for FDPIC. + +2007-05-09 Mark Shinwell + + * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't + attempt to scan if the bfd doesn't correspond to an ELF image. + (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. + +2007-05-08 Alexandre Oliva + + * elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs + for which _bfd_elf_section_offset returns -1. + +2007-05-08 Alan Modra + + * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms. + (mark_functions_via_relocs): Likewise. + +2007-05-07 Alan Modra + + * elflink.c (bfd_elf_final_link): Correct reloc handling for + elf_backend_count_relocs. + (bfd_elf_discard_info): Print an error if we can't read syms. + +2007-05-07 Alan Modra + + * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on + invalid reloc code. + (spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions. + (elf_backend_gc_mark_hook, elf_backend_section_processing): Don't + define. + +2007-05-07 Alan Modra + + * elf.c (assign_file_positions_for_load_sections): Don't check + core segment. + +2007-05-04 H.J. Lu + + * elflink.c (elf_link_sort_relocs): Return if both .rela.dyn + and .rel.dyn aren't present. + +2007-05-04 Nick Clifton + + * elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn + sections are present examine the indirect sections in an attempt + to compute the correct relocation size. If there is any + ambiguity, produce an error and refuse to sort. + +2007-05-03 Sandra Loosemore + + * elf32-arm.c (allocate_dynrelocs): Fix typo in comment. + +2007-05-03 Vincent Riviere + Nick Clifton + + PR gas/3041 + * aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols + in the same way as relocs against external symbols. + +2007-05-02 Alan Modra + + * elf.c (assign_file_positions_for_load_sections): Set sh_offset + here. Set sh_type to SHT_NOBITS if we won't be allocating + file space. Don't bump p_memsz for non-alloc sections. Adjust + section-in-segment check. + (assign_file_positions_for_non_load_sections): Don't set sh_offset + here for sections that have already been handled above. + +2007-04-30 Alan Modra + + * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis + and emit_stack_syms bitfields. + (get_sym_h): Read all symbols if stack analysis will be done. + (spu_elf_create_sections): Add stack_analysis and emit_stack_syms + params, and stash in hash table. + (is_hint): Split off from.. + (is_branch): ..here. Adjust callers. + (spu_elf_size_stubs): Add stack_analysis param. Arrange to read + and keep all syms. + (write_one_stub): Fix mem leak. + (find_function_stack_adjust): New function. + (sort_syms_syms, sort_syms_psecs): New vars. + (sort_syms): New function. + (struct call_info, struct function_info): New. + (struct spu_elf_stack_info): New. + (alloc_stack_info, maybe_insert_function, func_name): New functions. + (is_nop, insns_at_end, check_function_ranges): Likewise. + (find_function, insert_callee, mark_functions_via_relocs): Likewise. + (pasted_function, interesting_section, discover_functions): Likewise. + (mark_non_root, call_graph_traverse, build_call_tree): Likewise. + (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. + (bfd_elf32_bfd_final_link): Define. + * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. + (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. + +2007-04-28 Sergey Rogozhkin + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access + memory which we might not own. + +2007-04-27 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function. + (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. + (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local. + +2007-04-27 Bob Wilson + + * elf32-xtensa.c (xtensa_read_table_entries): Step through table + contents and relocs in parallel. + +2007-04-27 Bob Wilson + + * elf32-xtensa.c (relax_property_section): Remove extra irel increment. + +2007-04-27 Alan Modra + + * cpu-rs6000.c: Write Mimi's name in ASCII. + * coff-rs6000.c: Likewise. + * rs6000-core.c: Likewise. + +2007-04-27 Alan Modra + + * sysdep.h: Include config.h first. + Many files: Include sysdep.h before bfd.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-25 Alan Modra + + * sysdep.h: Revert last change. + +2007-04-24 Nick Clifton + + * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset. + * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto. + +2007-04-24 Alan Modra + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if + eh_frame_hdr table won't be created. + +2007-04-24 Alan Modra + + * acinclude.m4: Include config/stdint.m4. + * configure.in: Invoke GCC_HEADER_STDINT. + * sysdep.h: Don't include ansidecl.h here. + * configure: Regenerate. + * config.in: Regenerate. + * Makefile.in: Regenerate. + +2007-04-23 Nathan Sidwell + + * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, + bfd_mach_mcf_isa_c_emac): New. + * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, + elf_isac_plt_entry, elf_isac_plt_info): New. + (elf32_m68k_object_p): Add ISA_C. + (elf32_m68k_print_private_bfd_data): Print ISA_C. + (elf32_m68k_get_plt_info): Detect ISA_C. + * cpu-m68k.c (arch_info): Add ISAC. + (m68k_arch_features): Likewise, + (bfd_m68k_compatible): ISAs B & C are not compatible. + +2007-04-21 Nick Clifton + + * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash. + (ecoff_link_add_archive_symbols): Likewise. + * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise + relent.howto. + * ieee.c (parse_int): Initialise x. + (must_parse_int): Initialise result. + (ieee_slurp_external_symbols): Initialise value. + +2007-04-21 Alan Modra + + * config.bfd (spu-*-elf): Delete targ_selvecs. + +2007-04-19 Nick Clifton + + * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. + +2007-04-19 Alan Modra + + * bfd.c (bfd_demangle): New function. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + +2007-04-18 Matthias Klose + + * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. + (bfdver.h): Use the date in non-release builds for the soversion. + * Makefile.in: Regenerate. + +2007-04-17 Paul Brook + + * elf.c (_bfd_elf_is_function_type): New function. + * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. + (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, + is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. + * elf-bfd.h (elf_backend_data): Add is_function_type. + (_bfd_elf_is_function_type): Add prototype. + * elfxx-target.h (elf_backend_is_function_type): Add default + definition. + (elfNN_bed): Add elf_backend_is_function_type. + * elf32-arm.c (elf32_arm_is_function_type): New function. + (elf_backend_is_function_type): Define. + +2007-04-17 Daniel Jacobowitz + + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put + DT_MIPS_RLD_MAP before DT_DEBUG again. + +2007-04-14 Steve Ellcey + + * Makefile.am: Add ACLOCAL_AMFLAGS. + * configure.in: Change macro call order. + * Makefile.in: Regnerate. + * doc/Makefile.in: Regenerate. + * configure: Regenerate. + +2007-04-14 Jakub Jelinek + + * elflink.c (bfd_elf_final_link): Don't free symbuf for + non-elf input bfds. + (bfd_elf_size_dynamic_sections): Don't access elf_section_data + for non-elf input bfds. + +2007-04-12 Richard Sandiford + + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add + DT_MIPS_RTLD_MAP for PIEs. + +2007-04-12 Richard Sandiford + + * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL + when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation + in a read-only section. + (_bfd_mips_elf_check_relocs): Likewise. + +2007-04-12 Bob Wilson + + * elf32-xtensa.c (xtensa_is_insntable_section): New. + (xtensa_is_proptable_section): New. + (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property + tables with 12-byte entries, as well as tables with 8-byte entries. + Sort the relocations before examining them. + (relax_property_section): Use xtensa_is_proptable_section and + xtensa_is_littable_section. Rewrite code for combining table entries + to be more robust in case of unexpected relocations. Do not set offset + of unused relocations to less than zero. + (xtensa_is_property_section): Use other functions instead of + duplicating section name comparisons. + (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". + (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section. + +2007-04-12 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references + from Xtensa property sections. + +2007-04-12 Alan Modra + + * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data + is non-NULL before dereferencing. + +2007-04-11 Nathan Sidwell + + * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot + relocs too. + +2007-04-10 Richard Henderson + + * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. + (elf64_alpha_size_got_sections): Remove unused something_changed local. + (elf64_alpha_size_plt_section): Return void. + (elf64_alpha_size_rela_got_section): Likewise. + (elf64_alpha_relax_section): Only regenerate got+plt if the + relax_trip counter has changed. + +2007-04-09 Daniel Jacobowitz + + * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. + * doc/Makefile.am (DOCFILES): Add bfdver.texi. + (bfdver.texi): New rule. + * Makefile.in, doc/Makefile.in: Regenerated. + +2007-04-03 Matt Thomas + + * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc + in a shared object if it is not in a CODE section or if it is against + a section symbol. This allows DWARF2 to use pcrel format. + +2007-04-05 H.J. Lu + + PR ld/4304 + * elflink.c (bfd_elf_final_link): Call einfo callback in + bfd_link_info instead of _bfd_error_handler for DT_TEXTREL + warning. + +2007-04-05 Alan Modra + + * elf32-spu.c (spu_elf_output_symbol_hook): New function. + (elf_backend_link_output_symbol_hook): Define. + +2007-04-02 Nick Clifton + + PR binutils/4292 + * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit + targets as 64-bit values, even if running on a 64-bit host. + * coffgen.c (coff_print_symbol): Likewise. + +2007-03-29 Nick Clifton + + PR binutils/4110 + * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro. + (setup_group): Use it. Report corrupt group section headers. + (bfd_section_from_shdr): Use new macro. Replace constant 4 with + GRP_ENTRY_SIZE. Cope with NULLs in the group section table. + (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE. + +2007-03-29 Alan Modra + + PR ld/4267 + * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma + for rel->r_info values. + (bfd_elf_perform_complex_relocation): Likewise. + * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for + unused entries. Don't clear plt.plist in loop. + +2007-03-28 Richard Sandiford + + * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela. + * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32): + Merge into... + (sparc_elf_append_rela): ...this new function. + (SPARC_ELF_APPEND_RELA): Delete. + (_bfd_sparc_elf_link_hash_table_create): Don't initialize + the deleted append_rela field. + (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela + instead of SPARC_ELF_APPEND_RELA. + (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. Use the + elf_size_info structure to find the size of a RELA entry and + the associated swap-out function. + (sparc64_finish_dyn, sparc64_finish_dyn): Merge into... + (sparc_finish_dyn): ...this new function. + (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly. + +2007-03-28 Richard Sandiford + Phil Edwards + + * doc/bfd.texinfo: Put the contents after the title page rather + than at the end of the document. + +2007-03-27 Andreas Schwab + + * elfxx-ia64.c (elf_backend_default_execstack): Define to 0. + +2007-03-26 H.J. Lu + + * configure: Regenerated. + +2007-03-26 Alan Modra + + * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. + (allocate_spuear_stubs): New function. + (spu_elf_size_stubs): Call allocate_spuear_stubs. + +2007-03-26 Alan Modra + + * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. + * aout-arm.c (MY_bfd_reloc_name_lookup): Define. + (MY (bfd_reloc_name_lookup)): New function. + * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. + * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. + (MY_bfd_reloc_name_lookup): Define. + * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. + (MY_bfd_reloc_name_lookup): Define. + * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. + (NAME (aout, reloc_name_lookup)): New function. + * bout.c (b_out_bfd_reloc_name_lookup): New function. + * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. + (_bfd_ecoff_bfd_reloc_name_lookup): Define. + * coff-arm.c (coff_arm_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-i386.c (coff_bfd_reloc_name_lookup): Define. + (coff_i386_reloc_name_lookup): New function. + * coff-i860.c (coff_i860_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-i960.c (coff_i960_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-m68k.c (m68k_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-maxq.c (maxq_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-mips.c (mips_bfd_reloc_name_lookup): New function. + (_bfd_ecoff_bfd_reloc_name_lookup): Define. + * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. + (_bfd_xcoff_reloc_name_lookup): New function. + (rs6000coff_vec, pmac_xcoff_vec): Init new field. + * coff-sh.c (coff_bfd_reloc_name_lookup): Define. + (sh_coff_reloc_name_lookup): New function. + * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. + (tic30_coff_reloc_name_lookup): New function. + * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. + (tic4x_coff_reloc_name_lookup): New function. + * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. + (tic54x_coff_reloc_name_lookup): New function. + * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. + (coff_amd64_reloc_name_lookup): New function. + * coff-z80.c (coff_z80_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. + (xcoff64_reloc_name_lookup): New function. + (rs6000coff64_vec, aix5coff64_vec): Init new field. + * coffcode.h (coff_bfd_reloc_name_lookup): Define. + * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. + * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-cris.c (cris_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-crx.c (elf_crx_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-fr30.c (fr30_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-frv.c (frv_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-i370.c (i370_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-i386.c (elf_i386_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-m32c.c (m32c_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-m68k.c (reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-mep.c (mep_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. + (mips_vxworks_bfd_reloc_name_lookup): Likewise. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-mt.c (mt_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elf32-pj.c (pj_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-s390.c (elf_s390_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-score.c (elf32_score_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-sh.c (sh_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-spu.c (spu_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-v850.c (v850_elf_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-vax.c (reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. + (bfd_elf32_bfd_reloc_name_lookup): Define. + * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. + (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. + * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. + * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. + (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-s390.c (elf_s390_reloc_name_lookup): New function. + (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. + (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. + * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. + (bfd_elf64_bfd_reloc_name_lookup): Define. + * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. + * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. + (bfd_elfNN_bfd_reloc_name_lookup): Define. + * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. + * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. + * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. + * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. + * ieee.c (ieee_bfd_reloc_name_lookup): Define. + * libaout.h (NAME (aout, reloc_name_lookup)): Declare. + * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. + * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. + (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). + (MY(reloc_name_lookup)): New function. + * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. + * oasys.c (oasys_bfd_reloc_name_lookup): Define. + * pdp11.c (NAME (aout, reloc_name_lookup)): New function. + * pe-mips.c (coff_mips_reloc_name_lookup): New function. + (coff_bfd_reloc_name_lookup): Define. + * reloc.c (bfd_reloc_name_lookup): New function. + * riscix.c (riscix_reloc_name_lookup): New function. + (MY_bfd_reloc_name_lookup): Define. + * som.c (som_bfd_reloc_name_lookup): New function. + * targets.c (struct bfd_target): Add reloc_name_lookup. + (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. + * versados.c (versados_bfd_reloc_name_lookup): Define. + * vms.c (vms_bfd_reloc_name_lookup): New function. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2007-03-26 Thiemo Seufer + + PR ld/4208 + * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no + matching relocation is found. + (_bfd_mips_elf_relocate_section): Only warn about missing relocations. + +2007-03-23 H.J. Lu + + * configure: Regenerated. + +2007-03-23 Joseph Myers + + * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. + * configure: Regenerate. + +2007-03-23 Alan Modra + + * elf32-spu.c (spu_stub_name): Don't put input section in stub name. + Remove input_sec param. Adjust all calls. + (write_one_stub): Adjust stub symbol. + (needs_ovl_stub): New function, extracted from.. + (spu_elf_size_stubs): ..here. + (spu_elf_relocate_section): Use needs_ovl_stub. + +2007-03-22 Joseph Myers + + * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi + if nonempty. + * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. + * Makefile.in, configure, doc/Makefile.in: Regenerate. + +2007-03-22 H.J. Lu + + PR ld/4210 + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual + address and virtual size of the last section for the image + size. + +2007-03-22 H.J. Lu + + PR ld/4007 + * elf.c (assign_file_positions_for_load_sections): Check if + all sections are in the segment. + +2007-03-20 H.J. Lu + + PR ld/4208 + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing + matching LO16 relocation for HI16 relocation. + +2007-03-20 Paul Brook + + * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. + (record_arm_to_thumb_glue): Use globals->pic_veneer. + (elf32_arm_create_thumb_stub): Ditto. + (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. + +2007-03-18 Mark Shinwell + + * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" + argument and extra last argument. + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning + member. + (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and + extra last argument. Set no_enum_size_warning appropriately. + (elf32_arm_merge_eabi_attributes): Improve enum sizes + diagnostic, suppressing it when no_enum_size_warning dictates. + +2007-03-20 Nick Clifton + + PR binutils/3535 + * elf.c (copy_private_bfd_data): Widen the scope of Solaris + specific conditions that need the program headers to be + rewritten. + +2007-03-19 H.J. Lu + + * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, + MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, + SizeOfInitializedData, SizeOfUninitializedData, + AddressOfEntryPoint, BaseOfCode and BaseOfData in internal + extra PE a.out header. + (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. + (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not + defined. + (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not + defined. + (_bfd_XX_print_private_bfd_data_common): Also print Magic, + MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, + SizeOfInitializedData, SizeOfUninitializedData, + AddressOfEntryPoint, BaseOfCode and BaseOfData from internal + extra PE a.out header. + +2007-03-18 H.J. Lu + + * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec + only if BFD64 is defined. + +2007-03-17 Alan Modra + + * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub + on setjmp calls. + +2007-03-15 H.J. Lu + + * doc/Makefile.in: Regenerated. + +2007-03-15 H.J. Lu + + * Makefile.am (bfdver.h): Substitute report_bugs_to. Also + create doc/bfdver.texi. + * Makefile.in: Regenerated. + + * configure.in (--with-bugurl): New option. + * configure: Regenerated. + + * version.h (REPORT_BUGS_TO): New. + +2007-03-13 H.J. Lu + + PR binutils/3826 + * elf-bfd.h (elf_backend_data): Add elf_osabi. + (_bfd_elf_set_osabi): New. + + * elf.c (_bfd_elf_set_osabi): New. + + * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi. + (ELF_OSABI): Properly defined for each target. + + * elf32-i370.c (i370_elf_post_process_headers): Removed. + (ELF_OSABI): Defined. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi. + + * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for + freebsd. + (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. + + * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. + (ELF_OSABI): Defined. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi. + + * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for + freebsd. + (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with + elf_osabi. + + * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI + with elf_osabi. + (ELF_OSABI): Properly defined for each target. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi for Linux. + + * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. + (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi. + + * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. + (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. + (elf_backend_post_process_headers): Defined with + _bfd_elf_set_osabi. + + * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target + with any ELF target of the compatible machine for which we do not + have a specific backend. + + * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI + with elf_osabi. + + * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. + (elfNN_bed): Initialize elf_osabi with ELF_OSABI. + +2007-03-08 Alan Modra + + * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out + V850_OTHER_* bits. + +2007-03-08 Alan Modra + + * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. + (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. + Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2007-03-07 H.J. Lu + + * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. + (x86_64-*-kfreebsd*-gnu): Likewise. + (x86_64-*-netbsd*): Likewise. + (x86_64-*-openbsd*): Likewise. + (x86_64-*-linux-*): Likewise. + + * configure.in: Support bfd_efi_app_x86_64_vec. + * configure: Regenerated. + + * efi-app-x86_64.c: New file. + + * targets.c (bfd_efi_app_x86_64_vec): New. + (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. + +2007-03-07 Kai Tietz + + * reloc.c (bfd_generic_get_relocated_section_contents): Remove + const for type reloc_howto_type. + +2007-03-07 Alan Modra + + PR 3958 + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. + (elf_discarded_section): Move.. + * bfd-in.h: ..to here. + * bfd-in2.h: Regenerate. + * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols + from discarded sections before relocate_section has done its job. + * reloc.c (bfd_generic_get_relocated_section_contents): Handle + relocs against symbols from discarded sections. + * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on + SECREL32. + (elf_hppa_relocate_section): Handle relocatable link after setting + sec, sym, h etc. for final link. Squash error messages for + relocatable link. Clear section contents for relocs against + symbols in discarded sections, and zero reloc. Remove existing + zero r_symndx code. + * elf-m10200.c (mn10200_elf_relocate_section): Likewise. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.c (elf32_arm_relocate_section): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. + (bfin_relocate_section): Likewise. + * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-crx.c (elf32_crx_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_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-i386.c (elf_i386_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-m32c.c (m32c_elf_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-mep.c (mep_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-mt.c (mt_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-score.c (_bfd_score_elf_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-spu.c (spu_elf_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xc16x.c (elf32_xc16x_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_r): Likewise. + (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-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. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + + * elf32-arm.c (elf32_arm_relocate_section): Always adjust section + symbols for relocatable link. Don't use always-zero st_value. + (elf_backend_rela_normal): Don't define. + * elf32-bfin.c (bfinfdpic_relocate_section): Use + RELOC_FOR_GLOBAL_SYMBOL. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE + section symbol adjustments with same for relocatable link. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. + (elf32_m68hc11_check_relocs): ..to here. + * elf32-score.c (score_elf_final_link_relocate): Remove zero + r_symndx code. + * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. + +2007-03-07 Alan Modra + + PR 4144 + * elf.c (assign_file_positions_for_load_sections): Don't + adjust p_memsz for !SEC_LOAD section vma modulo page size. + Instead, use the same lma based adjustment for SEC_LOAD + sections. + +2007-03-01 Bob Wilson + + * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. + (find_relaxable_sections): Do not increment src_count for unknown + opcodes. Decode only once instead of calling is_l32r_relocation. + (compute_text_actions): Remove unused no_insn_move flag. Assert that + src_next matches src_count in relax_info. + +2007-03-01 Joseph Myers + + * Makefile.am (bfdver.h): Use "." not " " between version number + and date. + * Makefile.in: Regenerate. + * configure.in (PKGVERSION): Default to "(GNU Binutils) ". + * configure: Regenerate. + +2007-02-28 Nathan Sidwell + + * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. + +2007-02-27 Alan Modra + + * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. + * elf32-spu.c (ovl_mgr_pread): Add const to casts. + +2007-02-23 Carlos O'Donell + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit + DWARF even with 64-bit addresses. + (_bfd_dwarf2_find_nearest_line): Likewise. + +2007-02-23 Nick Clifton + + PR binutils/3535 + * elf.c (copy_private_bfd_data): Always rewrite the program + headers when a Solaris interpreter segment is involved. + +2007-02-22 Paul Brook + + * elflink.c (gc_mark_hook_fn): Remove. + (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. + (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. + * elf-bfd.h (elf_gc_mark_hook_fn): Define. + (elf_backend_data): Add gc_mark_extra_sections. + * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default + definition. + (elfNN_bed): Add elf_backend_gc_mark_extra_sections. + * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. + (elf_backend_gc_mark_extra_sections): Define. + +2007-02-21 Nick Clifton + + * elf.c (_bfd_elf_map_sections_to_segments): If the + override_segment_assignment callback is defined then call it. + +2007-02-21 Alan Modra + + * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. + +2007-02-19 Thiemo Seufer + + * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove + translation marker from untranslatable strings. + +2007-02-19 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add default_execstack. + * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. + * elfxx-target.h (elf_backend_default_execstack): Define to 1. + (elfNN_bed): Init new field. + * elf64-ppc.c (elf_backend_default_execstack): Define to 0. + +2007-02-17 Mark Mitchell + Nathan Sidwell + Vladimir Prus + + * configure.in (--with-pkgversion): New option. + * configure: Regenerate. + * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. + * Makefile.in: Regenerate. + * version.h (BFD_VERSION_STRING): Define using + @bfd_version_package@. + +2007-02-16 Carlos O'Donell + + * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): + Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT + and EF_MIPS_UCODE. + +2007-02-15 Alan Modra + + * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, + declare. + (_bfd_norelocs_canonicalize_reloc): Likewise. + * libbfd.h: Regenerate. + * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. + (_bfd_norelocs_canonicalize_reloc): Likewise. + * binary.c (binary_bfd_reloc_type_lookup): Don't define. + (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. + (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. + * ihex.c: Similarly. + * mach-o-target.c: Similarly. + * mach-o.c: Similarly. + * mmo.c: Similarly. + * pef.c: Similarly. + * ppcboot.c: Similarly. + * srec.c: Similarly. + * xsym.c: Similarly. + +2007-02-14 H.J. Lu + + PR ld/3953 + * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol + when adding default symbol. + +2007-02-13 Alan Modra + + * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" + for branch lookup table. + +2007-02-12 Alan Modra + + * elf64-ppc.c (create_linkage_sections): Don't create + .rela.rodata.brlt for --emit-relocs. + (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. + (ppc_size_one_stub): Count them. Simplify test of stub type + when counting stub relocs. Set SEC_RELOC too. + (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. + (ppc64_elf_finish_dynamic_sections): Output brlt relocs. + +2007-02-12 Alan Modra + + * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs + with a zero symbol index. + +2007-02-12 Alan Modra + + * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". + +2007-02-05 Dave Brolley + Stan Cox + + PR ld/3972 + * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. + +2007-02-05 Dave Brolley + Richard Sandiford + Stan Cox + Nick Clifton + DJ Delorie + Frank Ch. Eigler + Ben Elliston + Richard Henderson + + * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. + (ALL_MACHINES_CFILES): Add CPU_MEP.c. + (BFD32_BACKENDS): Add elf32-mep.lo. + (BFD32_BACKENDS_CFILES): Add elf32-mep.c. + (cpu-mep.lo,elf32-mep.lo): New targets. + * archures.c (bfd_arch_mep): New enumerator. + (bfd_mach_mep, bfd_mach_mep_h1): New macros. + (bfd_mep_arch): New external variable. + (bfd_archures_list): Add bfd_mep_arch. + * config.bfd: Support mep-*-elf. + * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. + * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. + * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern + declarations. + (_bfd_target_vector): Add bfd_elf32_mep_vec and + bfd_elf32_mep_little_vec. + * mep-relocs.pl: New file. + * cpu-mep.c: New file. + * elf32-mep.c: New file. + * bfd-in2.h: Regenerate. + * po/POTFILES.in: Regenerate. + * libbfd.h: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-02-05 Dave Brolley + + * elflink.c (evaluate_complex_relocation_symbols): Check for + STT_SRELC for global symbols. + (perform_complex_relocations): Renamed to + perform_complex_relocation and now examines only one relocation. + (elf_link_input_bfd): Don't call perform_complex_relocations. + * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. + * elf32-mep.c (mep_elf_howto_table): Add R_RELC. + (OD,OS,OU): #undefs corrected to N, S and U repectively. + (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. + (complex_reloc_installation_howto): Removed. + (mep_info_to_howto_rela): Remove special case for r_type==0xff. + (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. + +2007-02-05 Dave Brolley + Richard Sandiford + DJ Delorie + Graydon Hoare + Nick Clifton + Jeff Holcomb + Frank Ch. Eigler + + * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. + * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. + * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. + * elflink.c (set_symbolValue): New static function. + (resolve_symbol): Likewise. + (resolve_section): Likewise. + (undefined_reference): Likewise. + (eval_symbol): Likewise. + (evaluate_complex_relocation_symbols): Likewise. + (put_value): Likewise. + (get_value): Likewise. + (decode_complex_addend): + (bfd_elf_perform_complex_relocation): New function. + (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. + * reloc.c (BFD_RELOC_RELC): New relocation number. + * syms.c (BSF_RELC,BSF_SRELC): New macros. + +2007-02-05 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. + (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. + (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) + (elf_xtensa_allocate_got_size): Replace these with... + (elf_xtensa_allocate_dynrelocs): ...this new function. + (elf_xtensa_size_dynamic_sections): Use it. + +2007-02-05 Bob Wilson + + * elf32-xtensa.c (elf_howto_table) + : + Set src_mask to zero. + : Likewise. Also fix dst_mask. + : Set pcrel_offset to TRUE. + +2007-02-02 Bob Wilson + + * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... + (elf_xtensa_dynamic_symbol_p): ...this. + +2007-02-02 Bob Wilson + + * elf32-xtensa.c (plt_reloc_count): Move into link hash table. + (struct elf_xtensa_link_hash_table): New. + (elf_xtensa_hash_table): New. + (elf_xtensa_link_hash_table_create): New. + (elf_xtensa_check_relocs): Update plt_reloc_count references. + Update arguments to add_extra_plt_sections. + (elf_xtensa_create_dynamic_sections): Record new sections in the hash + table. Update for plt_reloc_count and add_extra_plt_sections. + (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj + argument with link info. Update calls to elf_xtensa_get_plt_section + and elf_xtensa_get_gotplt_section. + (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) + (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) + (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) + (relax_property_section): Get sections from the hash table and update + function calls. + (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace + dynobj argument with link info. Get sections for first plt chunk from + the hash table. + (bfd_elf32_bfd_link_hash_table_create): Define. + +2007-02-02 Jakub Jelinek + + * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. + * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. + (struct elf_symbol): Change first member into union. + (elf_sort_elf_symbol): Compare pointers to internal syms rather than + internal syms. Only compare st_shndx fields. + (elf_create_symbuf): New function. + (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available + for bfds, use a binary search, otherwise don't qsort symbols + unnecessarily only to select which symbols are for the particular + shndx. + +2007-02-01 Nick Clifton + + PR ld/3852 + * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields + in the elf_link_hash_table structure. + +2007-02-01 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. + * elfxx-target.h (elf_backend_write_core_note): Define and use. + * elf.c (elfcore_write_prpsinfo): Call the above. Add support for + 32-bit core note on 64-bit target. + (elfcore_write_prstatus): Likewise. + (elfcore_write_lwpstatus): Make note_name const. + (elfcore_write_prfpreg): Likewise. + (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit + target. + * elf32-ppc.c (ppc_elf_write_core_note): New function. + (elf_backend_write_core_note): Define. + * elf64-ppc.c (ppc64_elf_write_core_note): New function. + (elf_backend_write_core_note): Define. + +2007-01-31 H.J. Lu + + * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. + (elf32_bed): Defined for elf32-us-cris. + + * elf64-sh64.c (elf64_bed): Defined for Linux. + (INCLUDED_TARGET_FILE): Removed. + + * elfxx-target.h (elfNN_bed): Always define. Don't check + INCLUDED_TARGET_FILE. + +2007-01-31 DJ Delorie + + * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning + message for dangerous relocs, special case the common user error. + +2007-01-30 H.J. Lu + + * elf.c (copy_elf_program_header): Start from the first section + in a segment and stop when all sections in a segment are + accounted for. + +2007-01-29 Julian Brown + + * bfd-in2.h: Regenerate. + * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 + instruction scanning should be done. + (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) + (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. + (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to + prototype. + * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info + argument. + * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) + (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. + (elf32_vfp11_erratum_type): New enum. + (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to + veneers. + (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. + (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, + vfp11_fix and num_vfp11_fixes fields. + (elf32_arm_link_hash_table_create): Initialise vfp11_fix, + vfp11_erratum_glue_size, num_vfp11_fixes fields. + (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. + (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum + glue section. + (elf32_arm_section_map_add): Add an code/data mapping symbol entry + to a section's map. + (record_vfp11_erratum_veneer): Create a single veneer, and its + associated symbols. + (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. + (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input + BFDs. + (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround + required. + (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. + (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. + (bfd_arm_vfp11_write_mask): Update write mask according to coded + register number. + (bfd_arm_vfp11_antidependency): New function. + (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. + (elf32_arm_compare_mapping): Declare. + (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input + BFD for potential erratum-triggering insns. Record results. + (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers + and branches to veneers have been placed in virtual memory after + layout. + (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global + hash table. + (elf32_arm_output_symbol_hook): Remove. + (elf32_arm_write_section): Output veneers, and branches to veneers. + Use maps from input sections, not output sections, for code + byte-swapping. + * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. + * elf32-score.c (_bfd_score_elf_write_section): Likewise. + * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. + * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. + +2007-01-27 H.J. Lu + + * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. + (INCLUDED_TARGET_FILE): Removed. + +2007-01-27 Mike Frysinger + + * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. + (INCLUDED_TARGET_FILE): Remove. + +2007-01-25 DJ Delorie + + * elf32-m32c.c (m32c_elf_howto_table): Don't complain about + R_M32C_16 or R_M32C_24 relocs. + +2007-01-25 Nick Clifton + + PR binutils/3874 + * elf32-avr.c (avr_link_hash_table): Check to make sure that the + hash table was created by elf32_avr_link_hash_table_create before + using it. + (elf32_avr_link_hash_newfunc): New function. Just pass the call + through to _bfd_elf_link_hash_newfunc. + (elf32_avr_link_hash_table_create): Use + elf32_avr_link_hash_newfunc instead of + _bfd_elf_link_hash_newfunc. + (elf32_avr_relocate_section): Check for the hash table pointer + being NULL. + (elf32_avr_relax_section, avr_build_one_stub, + elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, + elf32_avr_build_stubs): Likewise. + +2007-01-16 H.J. Lu + + PR ld/3831 + * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an + argument, Elf_Internal_Sym *. + + * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data + symbol dynamic if info->dynamic_data is TRUE. + (bfd_elf_record_link_assignment): Updated call to + bfd_elf_record_link_assignment. + (_bfd_elf_merge_symbol): Likewise. Always call + bfd_elf_link_mark_dynamic_symbol. + +2007-01-12 H.J. Lu + + * Makefile.am (BFD_LIBS): Removed. + * Makefile.in: Regenerated. + +2007-01-11 H.J. Lu + + PR binutils/3631 + * Makefile.am (OFILES): Add @bfd64_libs@. + (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). + * Makefile.in: Regenerated. + + * configure.in (bfd_libs): Replaced by ... + (bfd64_libs): This. + * configure: Regenerated. + +2007-01-11 Nathan Sidwell + + * elf.c (assign_file_positions_for_load_sections): We can + require fewer phdrs than expected. + +2007-01-08 Kazu Hirata + + * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. + * bfd-in2.h: Regenerate. + * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of + bfd_mach_cpu32_fido. + (m68k_arch_features): Use fido_a instead of cpu32. + (bfd_m68k_compatible): Reject the combination of Fido and + ColdFire. Accept the combination of CPU32 and Fido with a + warning. + * elf32-m68k.c (elf32_m68k_object_p, + elf32_m68k_merge_private_bfd_data, + elf32_m68k_print_private_bfd_data): Treat Fido as an + architecture by itself. + +2007-01-08 Kai Tietz + + * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. + +2007-01-05 Jakub Jelinek + + * texhex.c (first_phase): Don't fall through into the default + case. + (pass_over): Replace abort () calls with return FALSE. Fix + buffer overflow. + +2007-01-04 Jie Zhang + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set + SEC_EXCLUDE on zero size .eh_frame. + +For older changes see ChangeLog-2006 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 605c233cdb..ccb34b71ef 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,1161 +1,4 @@ -2007-12-24 Nick Clifton - - * po/ru.po: Updated Russian translation. - -2007-12-22 H.J. Lu - - * doc/binutils.texi: Document the new intel-mnemonic and - intel-mnemonic options for i386 disassembler. - -2007-12-07 Bob Wilson - - * readelf.c (is_32bit_pcrel_reloc): Add Xtensa. - -2007-12-04 Alan Modra - - * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU. - -2007-11-29 Mark Shinwell - - * readelf.c (get_machine_flags): Handle Loongson-2E and -2F - flags. - -2007-11-26 Alan Modra - - * cxxfilt.c (demangle_it): Don't call printf without format string. - -2007-11-21 Hans-Peter Nilsson - - * dwarf.c (display_debug_loc): Cast section_end - start to long - for output format. - -2007-11-20 Nick Clifton - - * dwarf.c (display_debug_loc): Issue a warning if there are bytes - at the end of the .debug_loc section which are not referenced by - any attribute in the .debug_info section. - -2007-11-19 Nick Clifton - - * readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs. - (is_64bit_abs_reloc): Add support for HPPA relocs. - (is_16bit_abs_reloc): Add support for NIOS relocs. - -2007-11-17 Thiemo Seufer - - * readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64 - objects. - -2007-11-16 Nick Clifton - - * dwarf.c (process_extended_line_op): Add cases for HP extensions - to the line ops. Mention if an unknown op code is in the user - defined range. - (decode_location_expression): Add cases for HP extensions, the - DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and - DW_OP_bit_piece DWARF3 operators. - (read_and_display_attr): Correct list of attributes which can - reference a location list. - (read_and_display_attr_value): Add cases for DWARF3 values and HP - extensions. - Correct list of attributes which can reference a location list. - (get_AT_name): Add cases for DWARF3 values and HP and PGI - extensions. - -2007-11-07 Karl Berry - - * doc/binutils.texi: Update to FDL 1.2. - (Top): consistent punctuation in menu entries. - (Index): Rename from Binutils Index. - * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi. - -2007-10-31 Nick Clifton - - * dwarf.c (is_relocatable): Remove definition. - (display_debug_frames): Remove check in is_relocatable. - * dwarf.h (is_relocatable): Remove declaration. - * objdump.c (is_relocatable): New static definition. - * readelf.c (dump_relocations): Make the function void. - (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, - OR32 and Score. - (is_32bit_pcrel_reloc): Add support for x86 and Arm. - (is_16bit_abs_reloc): Add support for D10V. - (debug_apply_rela_addends): Rename to debug_apply_relocations. - Add code to support rel relocations. - (load_debug_section): Fix call to debug_apply_relocations. - (get_file_header): Remove setting of is_relocatable. - -2007-10-31 Alan Modra - - * readelf.c (debug_apply_rela_addends): Clarify FIXME. - -2007-10-29 Nick Clifton - - * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by - IA64. - (is_64bit_abs_reloc): Likewise. - -2007-10-28 Nick Clifton - - * dwarf.c (process_debug_info): Check for corrupt lengths. - * readelf.c (get_reloc_type): New function. Returns the reloc - number extracted from the info field of a reloc. - (get_reloc_symindex): New function. Returns the symbol index - extracted from the info field of a reloc. - (dump_relocations): Use the new functions. - (slurp_ia64_unwind_table): Use the new functions. - (slurp_hppa_unwind_table): Use the new functions. - (dump_section_as_bytes): Use the new functions. - (get_reloc_size): Delete function. - (is_32bit_abs_reloc): New function. Determines if a given reloc - type is a 32-bit absolute relocation. - (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but - for pc-relative relocations. - (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but - for 64-bit absolute relocations. - (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but - for 32-bit absolute relocations. - (debug_apply_rela_addends): Use the new functions. Skip and warn - about any unrecognised relocations. - -2007-10-26 Karl Berry - - * doc/binutils.texi: Move top stuff to the top. - Use @direntry/@dircategory, format entries to play nicely with - others. - Avoid duplicate copying strings. - Don't misspell "Texinfo". - -2007-10-25 Daniel Jacobowitz - - * readelf.c (display_power_gnu_attribute): Add support for - Tag_GNU_Power_ABI_Vector. - -2007-10-25 Carlos Eduardo Seo - - * readelf.c (get_note_type): Handle NT_PPC_VMX. - -2007-10-24 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-10-24 Alan Modra - - * strings.c (print_strings): Don't use %L, use %ll in printf - format strings. - -2007-10-24 Tristan Gingold - Alan Modra - - * readelf.c (process_program_headers): Use dynamic segment unless - dynamic section is found. - -2007-10-16 Bob Wilson - - * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes. - (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e." - and change to spell out "for example" in two places. - -2007-10-16 Nick Clifton - - * configure.in: Build windows tools for --enable-targets=all. - * configure: Regenerate. - -2007-10-15 Alan Modra - - * objdump.c (print_line): Check fwrite return value. - * srconv.c (checksum, wr_tr, wr_cs): Likewise. - * sysdump.c (fillup): Return zero on getc or fread EOF. Return count - read. - -2007-10-10 Jim Blandy - - * dwarf.c (process_debug_info): Line up section offsets of - attribute values with those of dies. - (read_and_display_attr): Reduce spacing here. - - * dwarf.c (display_debug_lines): Print the offset of each line - number program header. - -2007-10-09 H.J. Lu - - PR binutils/4476 - * readelf.c (print_dynamic_symbol): New. - (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols. - -2007-10-08 Carlos O'Donell - - * resrc.c (read_rc_file): Rename e to edit, and c to dir. - Pass dir to windres_add_include_dir. Add comments. - (close_input_stream): Check pclose error, and call fatal if - the preprocessor failed. - * windres.c (windres_add_include_dir): Assert that p is non-NULL, - and not an empty string. - -2007-10-04 Nick Clifton - - PR binutils/5098 - * dlltool.c: Fix spelling typos. - -2007-10-03 Masaki Muranaka - - * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx. - -2007-09-25 Thien-Thi Nguyen - - * MAINTAINERS: Fix typo. - -2007-09-17 Shen Feng - - * readelf.c (do_archive_index): New. - (options): Add -c and --archive-index option. - (usage): Add -c option. - (parse_args): Add c option parsing. - (process_archive): Dump archive index. - * NEWS: Mention the new feature. - * doc/binutils.texi: Document the new feature. - -2007-09-17 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2007-09-17 Nick Clifton - - * doc/binutils.texi (objdump): Describe the output of the --syms - option in more detail. - -2007-09-17 Alon Bar-Lev - - PR binutils/4987 - * resrc.c: (read_rc_file): Move 'filename' default initialization - to start of function. - -2007-08-31 Michael Meissner - Dwarakanath Rajagopal - - * NEWS: Add note about SSE5 being added on i386. - -2007-09-13 Alan Modra - Zhou Drangon - - * nm.c (value_format_64bit, set_print_radix, print_value): Handle - BFD_HOST_64BIT_LONG_LONG. - * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG. - (print_vma): Handle BFD_HOST_64BIT_LONG_LONG. - (dump_relocations): Likewise. Expand _bfd_int64_low in a - number of places. - -2007-09-11 Kai Tietz - - * rcparse.y: (string_data): Removed ill token removal. - -2007-09-10 Alan Modra - - PR 5011 - * readelf.c (process_version_sections): Don't read past end of - various section buffers. - -2007-08-31 H.J. Lu - - * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. - * Makefile.in: Regenerated. - - * sysdep.h: Include "config.h" first. - -2007-08-31 Nick Clifton - - * po/sk.po: New Slovakian translation. - * configure.in (LINGUAS): Add sk. - * configure: Regenerate. - -2007-08-30 Nick Clifton - - * readelf.c (dump_type): New type used to classify the kinds of - dump requested by the user. - (dump_sects, cmdline_dump_sects): Use the new type. - (options): Add --string-dump option. - (request_dump): Rename to request_dump_bynumber. Use dump_type. - (request_dump_byname): Use dump_type. - (parse_args): Parse --string-dump option. - (process_section_headers): Fix calls to request_dump. - (initialise_dumps_byname): Likewise. - (dump_section): Rename to dump_section_as_bytes. - (dump_section_as_strings): New function. Display the contents of - a section as printable strings. - (process_section_contents): String dump the section if requested. - (process_object): Use dump_type. - (main): Likewise. - * Makefile.am: Add dependency for readelf.c on safe-ctype.h. - * Makefile.in: Regenerate. - * NEWS: Mention the new feature. - * doc/binutils.texi: Document the new feature. - -2007-08-30 Nathan Sidwell - - * bucomm.c (bfd_nonfatal_message): New. - * bucomm.h (bfd_nonfatal_message): Declare. - * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use - bfd_nonfatal_message. - (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL - calls, or replace with bfd_nonfatal_message calls as appropriate. - (copy_object, copy_archive, copy_file, setup_section, - copy_section, write_debugging_info): Likewise. - -2007-08-28 Nick Clifton - - * NEWS: Mention Coverity's contribution. - -2007-08-25 Ulrich Weigand - - * readelf.c (process_note): Recognize SPU core file notes. - -2007-08-24 Daniel Jacobowitz - - * configure.in: Install embedspu on powerpc*-*-eabi* also. - * configure: Regenerated. - -2007-08-24 Daniel Jacobowitz - - * po/uk.po: Updated Ukrainian translation. - -2007-08-22 Ben Elliston - - * doc/binutils.texi (objdump): Document -Mppcps. - -2007-08-17 Alan Modra - - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. - -2007-08-16 H.J. Lu - - * readelf.c: Revert last change. - -2007-08-16 H.J. Lu - - * readelf.c (get_segment_type): Change PT_GNU_STACK to - PT_GNU_ATTR. - -2007-08-12 Daniel Jacobowitz - - * NEWS: Add a marker for the 2.18 features. - -2007-08-12 Matthias Klose - - * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include - $(top_srcdir)/../../bfd/doc. - * doc/Makefile.in: Regenerate. - -2007-08-10 M R Swami Reddy - - * MAINTAINERS: Add myself as CR16 support maintainer and - update myself as CRX support maintainer. - -2007-08-10 Nick Clifton - - * po/fi.po: Updated Finnish translation. - * po/vi.po: Updated Vietnamese translation. - -2007-08-10 Kai Tietz - - * doc/binutils.texi: (windmc): Correct incorrect desciption. - -2007-08-04 Alan Modra - - PR 4888 - * objcopy.c (setup_section): Do modify section flags for ELF - STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent - header rewrite by twiddling input section flags instead. - Simplify code setting SHT_NOBITS. - -2007-07-28 Christopher Faylor - - * MAINTAINERS: Update my email address. - -2007-07-26 Adam Nemet - - * readelf.c (process_archive): Also skip Irix6-style archive symbol - tables. - -2007-07-24 Nick Clifton - - * readelf.c (NUM_ELEM): Remove redundant macro; replace references - to it with references to ARRAY_SIZE. - Add support for CR16. - Fix formatting. - -2007-07-19 Nick Clifton - - PR binutils/4802 - * srconv.c (strip_suffix): Add const qualifier to argument. - -2007-07-16 Nick Clifton - - * po/uk.po: New Ukrainian translation. - * configure.in (ALL_LINGUAS): Add 'uk'. - * configure: Regenerate. - -2007-07-10 Alan Modra - - * objdump.c (dump_dwarf): Correct setting of is_relocatable. - -2007-07-09 Roland McGrath - - * readelf.c (get_gnu_elf_note_type): New function. - (process_note): Use it for "GNU" name. - -2007-07-08 Andreas Schwab - - * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h. - (CFILES): Add unwind-ia64.c. - Regenerate dependencies. - * Makefile.in: Regenerate. - -2007-07-05 Nick Clifton - - * addr2line.c: Update copyright notice to refer to GPLv3. - * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c, - binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c, - coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, - dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh, - emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c, - mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, - objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c, - readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, - size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c, - sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, - windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c, - winduni.h, wrstabs.c: Likewise. - * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c, - not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright - notice. - * NEWS: Mention that the sources are now released under GPLv3. - Add a marker for the changes that went into v2.17. - * version.c (print_version): Specify that the program is released - under version 3 of the GPL. - -2007-07-05 Kai Tietz - - * resrc.c: (read_rc_file): Add include path of user passed rc - input file. - * windres.c: (windres_add_include_dir): New. - (main): Use of windres_add_include_dir. - * windres.h: (windres_add_include_dir): Add prototype. - -2007-07-05 Alan Modra - - * doc/binutils.texi (size): Document --common. - * size.c: Make a number of vars static. Delete unnecessary - function declarations. - (show_common, common_size): New vars. - (usage): Describe --common. - (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use. - (long_options): Add common. - (calculate_common_size): New function. - (print_berkeley_format): Add common_size to bsssize. - (sysv_one_line): New function split out from.. - (sysv_internal_printer): ..here. - (print_sysv_format): Handle display of *COM*. - (print_sizes): Call calculate_common_size. - -2007-07-05 Alan Modra - - * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next". - -2007-07-02 Alan Modra - - PR 4716 - * objcopy.c (filter_symbols): Correct relocatable file test. - -2007-07-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/binutils.pot: Regenerate. - -2007-06-30 H.J. Lu - - * aclocal.m4: Regenerated. - * doc/Makefile.in: Likewise. - * Makefile.in: Likewise. - -2007-06-29 Joseph Myers - - * readelf.c (display_power_gnu_attribute, process_power_specific): - New. - (process_arch_specific): Call process_power_specific. - -2007-06-29 Joseph Myers - - * readelf.c (display_mips_gnu_attribute): New. - (process_mips_specific): Call process_attributes. - -2007-06-29 Joseph Myers - - * readelf.c (display_gnu_attribute): New. - (process_arm_specific): Rearrange as process_attributes. - (process_arm_specific): Replace by wrapper of process_attributes. - -2007-06-28 Roland McGrath - - * objcopy.c (setup_section): Don't reset ELF section type to - SHT_NOBITS when it is SHT_NOTE. - * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug. - -2007-06-27 Alan Modra - - * ar.c: Rename uses of bfd.next to bfd.archive_next throughout. - * arsup.c: Likewise. - * binemul.c: Likewise. - * objcopy.c: Likewise. - * dlltool.c: Likewise. - -2007-06-26 Shantonu Sen - - PR binutils/4693 - * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move - dependency on $(LIBICONV) to ... - (windres_LDADD, windmc_LDADD) ... here. - * Makefile.in: Regenerate. - -2007-06-21 Alan Modra - - * embedspu.sh (relas): Correct sh_info parsing. - -2007-06-19 Danny Smith - - * objdump.c: Include sys/stat.h. - -2007-06-19 Kai Tietz - - * Makefile.am: Add windmc tool. - * Makefile.in: Regenerate. - * configure.in: Add windmc tool. - * configure: Regenerate. - * mclex.c: New. - * mcparse.y: New. - * windmc.c: New. - * windmc.h: New. - * doc/Makefile.am: Add windmc tool. - * doc/Makefile.in: Regenerate. - * doc/binutils.texi: Add windmc documentation. - * NEWS: Mention new tool. - -2007-06-18 Andi Kleen - - * objdump.c: Include sys/mman.h - (print_file_list): Remove f, add map, mapsize, linemap, maxline, - last_line, first fields. - (slurp_file): Add. - (index_file): Add. - (print_file_open): Call slurp_file and index_file. Initialize new - fields. - (skip_to_line): Rename to print_line and write only single line. - (dump_line): Add. - (show_line): Change to new algorithm. - -2007-06-18 Thomas Weidenmueller - - * resres.c (probe_binary): Fix test for badly formatted headers. - -2007-06-18 Kai Tietz - - * rclex.c: (cpp_line): Add code_page pragma support. - * windres.c: (usage, long_options, main): Add new option - --codepage or -c. - * winduni.c: (wind_default_codepage, wind_current_codepage): New. - (unicode_from_ascii, ascii_from_unicode): Use - wind_current_codepage as codepage parameter. - (unicode_print): Print 4 characters for hexadecimal values in - unicode strings. - * winduni.h: (wind_default_codepage, wind_current_codepage): - Export. - * doc/binutils.texi: Document new option. - * NEWS: Mention new features of windres. - -2007-06-18 Brian D. Watt - - * embedspu.sh: Parse _SPUEAR_ symbol values as hex. - -2007-06-14 H.J. Lu - - * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. - - * acinclude.m4: Removed. - - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - -2007-06-11 Nathan Sidwell - - * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address. - -2007-06-06 Kai Tietz - - PR binutils/4356 binutils/591 - * resrc.c (filename_need_quotes): New function. - (look_for_default): If filename_need_quotes is true then quote the - filename in the command line being created. - (read_rc_file): Likewise. - -2007-06-06 Ben Elliston - - * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC". - -2007-06-05 Kai Tietz - - * Makefile.am: Add LIBICONV to windres. - * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files. - * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV. - * config.in: Add ICONV defines. - * aclocal.m4: Regenerate. - * confugure: Regenerate. - * winduni.c: (local_iconv_map codepages, wind_language_t, - languages, unicode_is_valid_codepage, wind_find_language_by_id, - wind_find_language_by_codepage, wind_find_codepage_info, - unicode_from_codepage, codepage_from_unicode, iconv_onechar, - wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte): - New. - (ascii_from_unicode): Use codepage_from_unicode. - (ascii_from_unicode): Use unicode_from_codepage. - Use for cygwin windows API for unicode transformation. - * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New - macros. - (wind_language_t, local_iconv_map): New types. - (wind_find_language_by_id, wind_find_language_by_codepage, - unicode_is_valid_codepage, wind_find_codepage_info, - unicode_from_codepage, codepage_from_unicode): New - prototypes. - -2007-06-05 Alan Modra - - * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol. - -2007-05-30 Alan Modra - - * objcopy.c (copy_object): Revert 2007-05-11 change. Don't - avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG. - (setup_section): Don't modify flags, and don't avoid calling - bfd_copy_private_section_data for ELF STRIP_NONDEBUG. - * readelf.c (process_program_headers): Ignore .dynamic of type - SHT_NOBITS. - -2007-05-29 Alan Modra - - * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if - pic or pie and image needs relocs. - -2007-05-24 Steve Ellcey - - * Makefile.in: Regenerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.in: Regenerate. - -2007-05-24 Kai Tietz - - * rcparse.y: Join strings for elements having no side-effects in - "rc"-grammar. - -2007-05-23 Kai Tietz - - * rclex.c: New file replacing rclex.l. - * rclex.l: Removed. - * windint.h: New file holding common structure and type - definitions. - * Makefile.am: Added new header windint.h and exchanged rclex.l by - rclex.c. - * Makefile.in: Regenerate. - * rcparse.y: Renamed some structures. - Use in internal representation always bfd_vma instead of long or - int. - Removed from %union unused stringtable. - Added to %union suni structure for unicode strings. - Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE, - DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD, - TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING. - Added support for these new rc file tokens. - * resbin.c: Rewrote using bfd and binary structures, and support - new resource types. - * rescoff.c: Likewise. - * resres.c: Likewise. - * resrc.c: Likewise. Dumps as RC are now recompilable. - * windres.c: As above. Using bfd for res and provide target - specific endianess support. - * windres.h: Use windint.h as include. Additionally removed K&R - syntax. - * winduni.c: New printing and unichar support routines. - * winduni.h: Prototypes for new unichar helpers. - * windint.h: New file. - -2007-05-22 Paul Brook - - * objdump.c (find_symbol_for_address): Merge section and target - specific filtering code. - -2007-05-22 Nick Clifton - - * doc/binutils.texi: Use @copying around the copyright notice. - -2007-05-21 Richard Sandiford - - * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs - for executables and shared libraries. - -2007-05-18 Nathan Sidwell - - * objcopy.c (strip_main): Detect identical input and output file - names. - (copy_main): Refactor tempname detection and use. - -2007-05-17 Nick Clifton - - * objdump.c (load_debug_section): Select bias for DWARF debug - addresses based on the flavour of the bfd. - -2007-05-11 Alan Modra - - PR 4479 - * objcopy.c (copy_object): Don't copy ELF program headers for - --only-keep-debug. - -2007-05-11 Alan Modra - - * embedspu.sh (find_prog): Prefer prog in same dir as embedspu - over one found on the users path. - (main): Generate .reloc for each R_SPU_PPU* reloc. - -2007-04-28 Alan Modra - - * prdbg.c (tg_variable): Adjust for changed demangler. - (tg_start_function): Likewise. - -2007-04-27 Alan Modra - - * bucumm.h: Split off host dependencies to.. - * sysdep.h: ..here. - Many files: Include sysdep.h. Remove duplicate headers and reorder. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-24 Nick Clifton - - * srconv.c (walk_tree_type_1): Initialise dpt.dunno. - -2007-04-24 Nathan Froyd - Phil Edwards - - * objcopy.c (filter_symbols): Explicitly stripping a symbol - used in relocations is an error. - Retype 'keep' to bfd_boolean. - -2007-04-24 Alan Modra - - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2007-04-20 Nathan Froyd - Phil Edwards - Thomas de Lellis - - * objcopy.c (reverse_bytes): New variable. - (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN. - (copy_options, copy_usage): Add "reverse-bytes" entry. - (copy_section): Reverse bytes within output sections. - * doc/binutils.texi: Document new objcopy option. - -2007-04-20 Nick Clifton - - * rclex.l: Allow underscores at the start of identifiers. - -2007-04-19 Alan Modra - - * budemang.c: Delete. - * budemang.h: Delete. - * addr2line.c (translate_addresses): Call bfd_demangle rather than - demangle. - * nm.c (print_symname): Likewise. - * objdump.c (objdump_print_symname, dump_symbols): Likewise. - (dump_bfd): Likewise. - * prdbg.c (struct pr_handle ): Add int param. - (tg_variable, tg_start_function): Adjust demangler calls. - * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-04-14 Steve Ellcey - - * Makefile.am: Add ACLOCAL_AMFLAGS. - * configure.in: Change macro call order. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-04-13 Nathan Sidwell - - * Makefile.am (TOOL_PROGS): Add objcopy. - * Makefile.in: Rebuilt. - -2007-04-12 H.J. Lu - - PR binutils/4348 - * objcopy.c (copy_object): Don't stop when there are no - sections to be copied. - -2007-04-10 Vladimir Prus - - * NEWS: Mention disjoint histograms support in - gprof. - -2007-04-09 Daniel Jacobowitz - - * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for - DW_TAG_inlined_subroutine. - -2007-04-06 Matt Thomas - - * MAINTAINERS: Add myself as VAX and NetBSD support maintainer. - -2007-04-05 Alan Modra - - PR binutils/4292 - * nm.c (print_value): Cast bfd_vma to unsigned long to suit - value_format_32bit. - -2007-04-02 Nick Clifton - - PR binutils/4292 - * nm.c (value_format): Replace with value_format_32bit and - value_format_64bit. - (set_radix): Update setting of value_format. - (set_print_width): New function. Compute the address size of a - given bfd and set the print_width global appropriately. - (display_archive): Use set_print_width. - (display_file): Likewise, - (print_object_filename_sysv): Update use of print_width. - (print_archive_member_sysv): Likewise. - (print_symbol_filename_posix): Likewise. - (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise. - -2007-03-28 Richard Sandiford - Phil Edwards - - * doc/binutils.texi: Put the contents after the title page rather - than at the end of the document. - -2007-03-28 Nick Clifton - - * readelf.c (slurp_rela_relocs): Add newline to end of error - messages. - (slurp_rel_relocs, request_dump, request_dump_byname, - process_program_headers, process_dynamic_section, - process_symbol_table, process_mips_specific, main): Likewise. - -2007-03-28 Alan Modra - - * MAINTAINERS: Update mailing list addresses. Add myself - as PPC maintainer. - -2007-03-27 Alan Modra - - * embedspu.sh: Correct toe_addr quoting. - -2007-03-27 Alan Modra - - * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten - .toe section and .toe address checks. Use .reloc for _EAR* - symbols defined in non-BSS sections. Build table for _SPUEAR_ - symbols. - -2007-03-23 Kaz Kojima - - PR gas/3811 - * readelf.c (debug_apply_rela_addends): Do nothing for SH. - -2007-03-22 Joseph Myers - - * doc/binutils.texi: Include VERSION_PACKAGE when reporting - version. - -2007-03-16 Kai Tietz - - * dlltool.c (make_one_lib_file): Use pc-relative relocation - instead of an absolute relocation for x86_64-pc-mingw32 target. - -2007-03-15 H.J. Lu - - * Makefile.am (REPORT_BUGS_TO): Removed. - (INCLUDES): Remove -DREPORT_BUGS_TO. - * Makefile.in: Regenerated. - - * bucomm.c: Don't include bfdver.h. - * objdump.c: Likewise. - * version.c: Likewise. - - * bucomm.h: Include bfdver.h. - - * configure.in (--with-bugurl): Removed. - * configure: Regenerated. - - * doc/Makefile.am (binutils_TEXINFOS): Removed. - (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. - (TEXI2DVI): Likewise. - (config.texi): Removed. - (MOSTLYCLEANFILES): Remove config.texi. - * doc/Makefile.in: Regenerated. - - * doc/binutils.texi: Include bfdver.texi instead of - config.texi. - -2007-03-13 Nick Clifton - - * readelf.c (dump_section): Also test for SHT_REL sections when - producing the warning about unapplied relocs. - -2007-03-07 Joseph Myers - - * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of - bug-reporting URL. - * doc/Makefile.am (config.texi): Define BUGURL. - * doc/binutils.texi: Use BUGURL. Remove text about large files - and uuencoding. - * Makefile.in, configure, doc/Makefile.in: Regenerate. - -2007-03-01 Phil Edwards - Richard Sandiford - - * NEWS: Mention addition of --extract-symbol. - * doc/binutils.texi: Document it. - * objcopy.c (extract_symbol): New variable. - (OPTION_EXTRACT_SYMBOLS): New command_line_switch. - (copy_options): Add an entry for --extract-symbol. - (copy_usage): Mention --extract-symbol. - (copy_object): Set the start address to zero for --extract-symbol. - Do not copy private BFD data in that case. - (setup_section): Set the size, LMA and VMA to zero for - --extract-symbol. Do not copy private BFD data in that case. - (copy_section): Do not copy section contents if --extract-symbol - is passed. - (copy_main): Set extract_symbol to TRUE if --extract-symbol - is passed. - -2007-03-01 Paul Brook - - * MAINTAINERS: Update my entry. - -2007-03-01 Joseph Myers - - * version.c: Update copyright date. - -2007-03-01 Daniel Jacobowitz - - * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS). - Adjust $(EXEEXT) handling for $(RENAMED_PROGS). - * Makefile.in, doc/Makefile.in: Regenerate. - -2007-03-01 Alan Modra - - * embedspu.sh: Set type and size of global program handle symbol. - -2007-02-28 Alan Modra - - * Makefile.am (PROGS): Delete. - (RENAMED_PROGS): Define. Extracted from.. - (noinst_PROGRAMS): ..here. Add BUILD_MISC. - (install-exec-local): Adjust. - * Makefile.in: Regenerate. - -2007-02-28 Alan Modra - - * Makefile.am (PROGS): Add BUILD_INSTALL_MISC. - (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC. - (EXTRA_PROGRAMS): Remove bin2c. - (bin2c$(EXEEXT_FOR_BUILD)): New rule. - (bin2c_SOURCES): Delete. - (DISTCLEANFILES): Remove sysinfo. - (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and - bin2c$(EXEEXT_FOR_BUILD). - * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c. - Move embedspu to.. - (BUILD_INSTALL_MISC): ..here. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-02-27 Alan Modra - - * bin2c.c: New file. - * Makefile.am (EXTRA_PROGRAMS): Add bin2c. - (CFILES): Add bin2c.c. - (bin2c_SOURCES): Define. - (bin2c.o): Dependencies from "make dep-am". - * configure.in (BUILD_MISC): Add bin2c. - * version.c: Update year. - * po/POTFILES.in: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus - - * configure.in (--with-bugurl): New option. - * configure: Regenerate. - * Makefile.am (REPORT_BUGS_TO): Define. - (INCLUDES): Define REPORT_BUGS_TO. - Regenerate dependencies. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * bucomm.h: Remove include of bin-bugs.h. - * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. - * ar.c (usage): Pass s to list_supported_targets. Don't print - empty REPORT_BUGS_TO. - * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO. - * cxxfilt.c (usage): Print bug url when giving help. - * dlltool.c (usage): Likewise. - * dllwrap.c (usage): Likewise. - * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO. - * nm.c (usage): Likewise. - * objcopy.c (copy_usage, strip_usage): Likewise. - * objdump.c (usage): Likewise. - * readelf.c ((usage): Likewise. Add STREAM argument. Adjust - callers. - * size.c (usage): Don't print empty REPORT_BUGS_TO. - * srconv.c (show_usage): Likewise. - * strings.c (usage): Likewise. - * sysdymp.c (show_usage): Likewise. - * windres.c (usage): Likewise. - -2007-02-13 Alan Modra - - * embedspu.sh: Add -W to readelf invocation. - -2007-02-06 Dave Brolley - - * MAINTAINERS: Add myself as the maintainer of the MeP port. - -2007-02-06 Nick Clifton - - PR gas/3800 - * readelf.c: Include elf/h8.h twice. The first time in order to - get the reloc numbers, the second time in order to get the reloc - decoder function. - (dump_section): Tell the user if the section being displayed has - unprocessed relocs associated with it. - (get_reloc_size): New function - returns the size of a reloc. - (debug_apply_rela_addends): Use get_reloc_size(). - * dwarf.c (read_and_display_attr_value): Extend number of - languages known for the DW_AT_language attribute. - (process_debug_info): Display the attribute offset before decoding - the attribute, in case there are problems. - -2007-02-05 Dave Brolley - - * readelf.c (dump_relocations): Don't check for - (rtype == NULL && type == R_RELC). - -2007-02-05 Dave Brolley - - * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h. - * Makefile.in: Regenerated. - * Contribute the following changes: - 2003-10-29 Dave Brolley - - * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep. - * configure: Regenerated. - - 2001-04-03 Ben Elliston - - * readelf.c: Include "elf/mep.h". - (guess_is_rela): Handle EM_CYGNUS_MEP. - (get_machine_name): Ditto. - (dump_relocations): Ditto. - -2007-02-02 H.J. Lu - - * MAINTAINERS: Add a space between H.J. and Lu. - -2007-02-02 H.J. Lu - - * doc/binutils.texi (objdump): Document the new addr64 option - for i386 disassembler. - -2007-02-02 H.J. Lu - - PR binutils/3945 - * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE - target. - (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT. - * configure: Regenerated. - - * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX. - -2007-02-02 Nick Clifton - - * doc/binutils.texi (objdump): Document support for disassembling - the 440 PowerPC architecture. - -2007-01-31 Nathan Sidwell - - * dwarf.c (process_debug_info): Protect against bogus length and - abbrev offsets. - -2007-01-25 Kazu Hirata - - * ar.c (print_contents, extract_file): Cast the return value - of fwrite to size_t. - -2007-01-12 Alan Modra - - * ar.c (open_inarch): Check fwrite return. Use size_t. - (extract_file): Likewise. Remove test for "negative" file size. - * readelf.c (process_program_headers): Check fscanf return. - -2007-01-11 H.J. Lu - - * bucomm.c (template_in_dir): Fix typo. - -2007-01-11 Alan Modra - - * embedspu.sh: New file. - * Makefile.am (embedspu): Add rule. - * configure.in (BUILD_MISC): Add embedspu for powerpc-linux. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-01-11 Alan Modra - - * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP. - * bucomm.c (template_in_dir): New function, split out from.. - (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP. - (make_tempdir): Use template_in_dir. Handle directory creation - when !HAVE_MKDTEMP. - * objcopy.c (MKDIR): Don't define. - (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix - error message. - -2007-01-08 Kazu Hirata - - * readelf.c (get_machine_flags): Treat Fido as an architecture - by itself. - -2007-01-08 Kai Tietz - - * configure.in: Renamed target x86_64-*-mingw64 to - x86_64-*-mingw*. - * configure: Regenerated. - -2007-01-05 Alan Modra - - * readelf.c (dump_section): Don't print 32-bit values, which - were done incorrectly for little-endian. Instead print bytes. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-2007 b/binutils/ChangeLog-2007 new file mode 100644 index 0000000000..605c233cdb --- /dev/null +++ b/binutils/ChangeLog-2007 @@ -0,0 +1,1165 @@ +2007-12-24 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2007-12-22 H.J. Lu + + * doc/binutils.texi: Document the new intel-mnemonic and + intel-mnemonic options for i386 disassembler. + +2007-12-07 Bob Wilson + + * readelf.c (is_32bit_pcrel_reloc): Add Xtensa. + +2007-12-04 Alan Modra + + * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU. + +2007-11-29 Mark Shinwell + + * readelf.c (get_machine_flags): Handle Loongson-2E and -2F + flags. + +2007-11-26 Alan Modra + + * cxxfilt.c (demangle_it): Don't call printf without format string. + +2007-11-21 Hans-Peter Nilsson + + * dwarf.c (display_debug_loc): Cast section_end - start to long + for output format. + +2007-11-20 Nick Clifton + + * dwarf.c (display_debug_loc): Issue a warning if there are bytes + at the end of the .debug_loc section which are not referenced by + any attribute in the .debug_info section. + +2007-11-19 Nick Clifton + + * readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs. + (is_64bit_abs_reloc): Add support for HPPA relocs. + (is_16bit_abs_reloc): Add support for NIOS relocs. + +2007-11-17 Thiemo Seufer + + * readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64 + objects. + +2007-11-16 Nick Clifton + + * dwarf.c (process_extended_line_op): Add cases for HP extensions + to the line ops. Mention if an unknown op code is in the user + defined range. + (decode_location_expression): Add cases for HP extensions, the + DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and + DW_OP_bit_piece DWARF3 operators. + (read_and_display_attr): Correct list of attributes which can + reference a location list. + (read_and_display_attr_value): Add cases for DWARF3 values and HP + extensions. + Correct list of attributes which can reference a location list. + (get_AT_name): Add cases for DWARF3 values and HP and PGI + extensions. + +2007-11-07 Karl Berry + + * doc/binutils.texi: Update to FDL 1.2. + (Top): consistent punctuation in menu entries. + (Index): Rename from Binutils Index. + * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi. + +2007-10-31 Nick Clifton + + * dwarf.c (is_relocatable): Remove definition. + (display_debug_frames): Remove check in is_relocatable. + * dwarf.h (is_relocatable): Remove declaration. + * objdump.c (is_relocatable): New static definition. + * readelf.c (dump_relocations): Make the function void. + (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, + OR32 and Score. + (is_32bit_pcrel_reloc): Add support for x86 and Arm. + (is_16bit_abs_reloc): Add support for D10V. + (debug_apply_rela_addends): Rename to debug_apply_relocations. + Add code to support rel relocations. + (load_debug_section): Fix call to debug_apply_relocations. + (get_file_header): Remove setting of is_relocatable. + +2007-10-31 Alan Modra + + * readelf.c (debug_apply_rela_addends): Clarify FIXME. + +2007-10-29 Nick Clifton + + * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by + IA64. + (is_64bit_abs_reloc): Likewise. + +2007-10-28 Nick Clifton + + * dwarf.c (process_debug_info): Check for corrupt lengths. + * readelf.c (get_reloc_type): New function. Returns the reloc + number extracted from the info field of a reloc. + (get_reloc_symindex): New function. Returns the symbol index + extracted from the info field of a reloc. + (dump_relocations): Use the new functions. + (slurp_ia64_unwind_table): Use the new functions. + (slurp_hppa_unwind_table): Use the new functions. + (dump_section_as_bytes): Use the new functions. + (get_reloc_size): Delete function. + (is_32bit_abs_reloc): New function. Determines if a given reloc + type is a 32-bit absolute relocation. + (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but + for pc-relative relocations. + (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but + for 64-bit absolute relocations. + (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but + for 32-bit absolute relocations. + (debug_apply_rela_addends): Use the new functions. Skip and warn + about any unrecognised relocations. + +2007-10-26 Karl Berry + + * doc/binutils.texi: Move top stuff to the top. + Use @direntry/@dircategory, format entries to play nicely with + others. + Avoid duplicate copying strings. + Don't misspell "Texinfo". + +2007-10-25 Daniel Jacobowitz + + * readelf.c (display_power_gnu_attribute): Add support for + Tag_GNU_Power_ABI_Vector. + +2007-10-25 Carlos Eduardo Seo + + * readelf.c (get_note_type): Handle NT_PPC_VMX. + +2007-10-24 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-10-24 Alan Modra + + * strings.c (print_strings): Don't use %L, use %ll in printf + format strings. + +2007-10-24 Tristan Gingold + Alan Modra + + * readelf.c (process_program_headers): Use dynamic segment unless + dynamic section is found. + +2007-10-16 Bob Wilson + + * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes. + (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e." + and change to spell out "for example" in two places. + +2007-10-16 Nick Clifton + + * configure.in: Build windows tools for --enable-targets=all. + * configure: Regenerate. + +2007-10-15 Alan Modra + + * objdump.c (print_line): Check fwrite return value. + * srconv.c (checksum, wr_tr, wr_cs): Likewise. + * sysdump.c (fillup): Return zero on getc or fread EOF. Return count + read. + +2007-10-10 Jim Blandy + + * dwarf.c (process_debug_info): Line up section offsets of + attribute values with those of dies. + (read_and_display_attr): Reduce spacing here. + + * dwarf.c (display_debug_lines): Print the offset of each line + number program header. + +2007-10-09 H.J. Lu + + PR binutils/4476 + * readelf.c (print_dynamic_symbol): New. + (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols. + +2007-10-08 Carlos O'Donell + + * resrc.c (read_rc_file): Rename e to edit, and c to dir. + Pass dir to windres_add_include_dir. Add comments. + (close_input_stream): Check pclose error, and call fatal if + the preprocessor failed. + * windres.c (windres_add_include_dir): Assert that p is non-NULL, + and not an empty string. + +2007-10-04 Nick Clifton + + PR binutils/5098 + * dlltool.c: Fix spelling typos. + +2007-10-03 Masaki Muranaka + + * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx. + +2007-09-25 Thien-Thi Nguyen + + * MAINTAINERS: Fix typo. + +2007-09-17 Shen Feng + + * readelf.c (do_archive_index): New. + (options): Add -c and --archive-index option. + (usage): Add -c option. + (parse_args): Add c option parsing. + (process_archive): Dump archive index. + * NEWS: Mention the new feature. + * doc/binutils.texi: Document the new feature. + +2007-09-17 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2007-09-17 Nick Clifton + + * doc/binutils.texi (objdump): Describe the output of the --syms + option in more detail. + +2007-09-17 Alon Bar-Lev + + PR binutils/4987 + * resrc.c: (read_rc_file): Move 'filename' default initialization + to start of function. + +2007-08-31 Michael Meissner + Dwarakanath Rajagopal + + * NEWS: Add note about SSE5 being added on i386. + +2007-09-13 Alan Modra + Zhou Drangon + + * nm.c (value_format_64bit, set_print_radix, print_value): Handle + BFD_HOST_64BIT_LONG_LONG. + * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG. + (print_vma): Handle BFD_HOST_64BIT_LONG_LONG. + (dump_relocations): Likewise. Expand _bfd_int64_low in a + number of places. + +2007-09-11 Kai Tietz + + * rcparse.y: (string_data): Removed ill token removal. + +2007-09-10 Alan Modra + + PR 5011 + * readelf.c (process_version_sections): Don't read past end of + various section buffers. + +2007-08-31 H.J. Lu + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * Makefile.in: Regenerated. + + * sysdep.h: Include "config.h" first. + +2007-08-31 Nick Clifton + + * po/sk.po: New Slovakian translation. + * configure.in (LINGUAS): Add sk. + * configure: Regenerate. + +2007-08-30 Nick Clifton + + * readelf.c (dump_type): New type used to classify the kinds of + dump requested by the user. + (dump_sects, cmdline_dump_sects): Use the new type. + (options): Add --string-dump option. + (request_dump): Rename to request_dump_bynumber. Use dump_type. + (request_dump_byname): Use dump_type. + (parse_args): Parse --string-dump option. + (process_section_headers): Fix calls to request_dump. + (initialise_dumps_byname): Likewise. + (dump_section): Rename to dump_section_as_bytes. + (dump_section_as_strings): New function. Display the contents of + a section as printable strings. + (process_section_contents): String dump the section if requested. + (process_object): Use dump_type. + (main): Likewise. + * Makefile.am: Add dependency for readelf.c on safe-ctype.h. + * Makefile.in: Regenerate. + * NEWS: Mention the new feature. + * doc/binutils.texi: Document the new feature. + +2007-08-30 Nathan Sidwell + + * bucomm.c (bfd_nonfatal_message): New. + * bucomm.h (bfd_nonfatal_message): Declare. + * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use + bfd_nonfatal_message. + (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL + calls, or replace with bfd_nonfatal_message calls as appropriate. + (copy_object, copy_archive, copy_file, setup_section, + copy_section, write_debugging_info): Likewise. + +2007-08-28 Nick Clifton + + * NEWS: Mention Coverity's contribution. + +2007-08-25 Ulrich Weigand + + * readelf.c (process_note): Recognize SPU core file notes. + +2007-08-24 Daniel Jacobowitz + + * configure.in: Install embedspu on powerpc*-*-eabi* also. + * configure: Regenerated. + +2007-08-24 Daniel Jacobowitz + + * po/uk.po: Updated Ukrainian translation. + +2007-08-22 Ben Elliston + + * doc/binutils.texi (objdump): Document -Mppcps. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-16 H.J. Lu + + * readelf.c: Revert last change. + +2007-08-16 H.J. Lu + + * readelf.c (get_segment_type): Change PT_GNU_STACK to + PT_GNU_ATTR. + +2007-08-12 Daniel Jacobowitz + + * NEWS: Add a marker for the 2.18 features. + +2007-08-12 Matthias Klose + + * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include + $(top_srcdir)/../../bfd/doc. + * doc/Makefile.in: Regenerate. + +2007-08-10 M R Swami Reddy + + * MAINTAINERS: Add myself as CR16 support maintainer and + update myself as CRX support maintainer. + +2007-08-10 Nick Clifton + + * po/fi.po: Updated Finnish translation. + * po/vi.po: Updated Vietnamese translation. + +2007-08-10 Kai Tietz + + * doc/binutils.texi: (windmc): Correct incorrect desciption. + +2007-08-04 Alan Modra + + PR 4888 + * objcopy.c (setup_section): Do modify section flags for ELF + STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent + header rewrite by twiddling input section flags instead. + Simplify code setting SHT_NOBITS. + +2007-07-28 Christopher Faylor + + * MAINTAINERS: Update my email address. + +2007-07-26 Adam Nemet + + * readelf.c (process_archive): Also skip Irix6-style archive symbol + tables. + +2007-07-24 Nick Clifton + + * readelf.c (NUM_ELEM): Remove redundant macro; replace references + to it with references to ARRAY_SIZE. + Add support for CR16. + Fix formatting. + +2007-07-19 Nick Clifton + + PR binutils/4802 + * srconv.c (strip_suffix): Add const qualifier to argument. + +2007-07-16 Nick Clifton + + * po/uk.po: New Ukrainian translation. + * configure.in (ALL_LINGUAS): Add 'uk'. + * configure: Regenerate. + +2007-07-10 Alan Modra + + * objdump.c (dump_dwarf): Correct setting of is_relocatable. + +2007-07-09 Roland McGrath + + * readelf.c (get_gnu_elf_note_type): New function. + (process_note): Use it for "GNU" name. + +2007-07-08 Andreas Schwab + + * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h. + (CFILES): Add unwind-ia64.c. + Regenerate dependencies. + * Makefile.in: Regenerate. + +2007-07-05 Nick Clifton + + * addr2line.c: Update copyright notice to refer to GPLv3. + * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c, + binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c, + coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, + dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh, + emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c, + mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, + objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c, + readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, + size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c, + sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, + windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c, + winduni.h, wrstabs.c: Likewise. + * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c, + not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright + notice. + * NEWS: Mention that the sources are now released under GPLv3. + Add a marker for the changes that went into v2.17. + * version.c (print_version): Specify that the program is released + under version 3 of the GPL. + +2007-07-05 Kai Tietz + + * resrc.c: (read_rc_file): Add include path of user passed rc + input file. + * windres.c: (windres_add_include_dir): New. + (main): Use of windres_add_include_dir. + * windres.h: (windres_add_include_dir): Add prototype. + +2007-07-05 Alan Modra + + * doc/binutils.texi (size): Document --common. + * size.c: Make a number of vars static. Delete unnecessary + function declarations. + (show_common, common_size): New vars. + (usage): Describe --common. + (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use. + (long_options): Add common. + (calculate_common_size): New function. + (print_berkeley_format): Add common_size to bsssize. + (sysv_one_line): New function split out from.. + (sysv_internal_printer): ..here. + (print_sysv_format): Handle display of *COM*. + (print_sizes): Call calculate_common_size. + +2007-07-05 Alan Modra + + * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next". + +2007-07-02 Alan Modra + + PR 4716 + * objcopy.c (filter_symbols): Correct relocatable file test. + +2007-07-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/binutils.pot: Regenerate. + +2007-06-30 H.J. Lu + + * aclocal.m4: Regenerated. + * doc/Makefile.in: Likewise. + * Makefile.in: Likewise. + +2007-06-29 Joseph Myers + + * readelf.c (display_power_gnu_attribute, process_power_specific): + New. + (process_arch_specific): Call process_power_specific. + +2007-06-29 Joseph Myers + + * readelf.c (display_mips_gnu_attribute): New. + (process_mips_specific): Call process_attributes. + +2007-06-29 Joseph Myers + + * readelf.c (display_gnu_attribute): New. + (process_arm_specific): Rearrange as process_attributes. + (process_arm_specific): Replace by wrapper of process_attributes. + +2007-06-28 Roland McGrath + + * objcopy.c (setup_section): Don't reset ELF section type to + SHT_NOBITS when it is SHT_NOTE. + * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug. + +2007-06-27 Alan Modra + + * ar.c: Rename uses of bfd.next to bfd.archive_next throughout. + * arsup.c: Likewise. + * binemul.c: Likewise. + * objcopy.c: Likewise. + * dlltool.c: Likewise. + +2007-06-26 Shantonu Sen + + PR binutils/4693 + * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move + dependency on $(LIBICONV) to ... + (windres_LDADD, windmc_LDADD) ... here. + * Makefile.in: Regenerate. + +2007-06-21 Alan Modra + + * embedspu.sh (relas): Correct sh_info parsing. + +2007-06-19 Danny Smith + + * objdump.c: Include sys/stat.h. + +2007-06-19 Kai Tietz + + * Makefile.am: Add windmc tool. + * Makefile.in: Regenerate. + * configure.in: Add windmc tool. + * configure: Regenerate. + * mclex.c: New. + * mcparse.y: New. + * windmc.c: New. + * windmc.h: New. + * doc/Makefile.am: Add windmc tool. + * doc/Makefile.in: Regenerate. + * doc/binutils.texi: Add windmc documentation. + * NEWS: Mention new tool. + +2007-06-18 Andi Kleen + + * objdump.c: Include sys/mman.h + (print_file_list): Remove f, add map, mapsize, linemap, maxline, + last_line, first fields. + (slurp_file): Add. + (index_file): Add. + (print_file_open): Call slurp_file and index_file. Initialize new + fields. + (skip_to_line): Rename to print_line and write only single line. + (dump_line): Add. + (show_line): Change to new algorithm. + +2007-06-18 Thomas Weidenmueller + + * resres.c (probe_binary): Fix test for badly formatted headers. + +2007-06-18 Kai Tietz + + * rclex.c: (cpp_line): Add code_page pragma support. + * windres.c: (usage, long_options, main): Add new option + --codepage or -c. + * winduni.c: (wind_default_codepage, wind_current_codepage): New. + (unicode_from_ascii, ascii_from_unicode): Use + wind_current_codepage as codepage parameter. + (unicode_print): Print 4 characters for hexadecimal values in + unicode strings. + * winduni.h: (wind_default_codepage, wind_current_codepage): + Export. + * doc/binutils.texi: Document new option. + * NEWS: Mention new features of windres. + +2007-06-18 Brian D. Watt + + * embedspu.sh: Parse _SPUEAR_ symbol values as hex. + +2007-06-14 H.J. Lu + + * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. + + * acinclude.m4: Removed. + + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + +2007-06-11 Nathan Sidwell + + * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address. + +2007-06-06 Kai Tietz + + PR binutils/4356 binutils/591 + * resrc.c (filename_need_quotes): New function. + (look_for_default): If filename_need_quotes is true then quote the + filename in the command line being created. + (read_rc_file): Likewise. + +2007-06-06 Ben Elliston + + * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC". + +2007-06-05 Kai Tietz + + * Makefile.am: Add LIBICONV to windres. + * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files. + * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV. + * config.in: Add ICONV defines. + * aclocal.m4: Regenerate. + * confugure: Regenerate. + * winduni.c: (local_iconv_map codepages, wind_language_t, + languages, unicode_is_valid_codepage, wind_find_language_by_id, + wind_find_language_by_codepage, wind_find_codepage_info, + unicode_from_codepage, codepage_from_unicode, iconv_onechar, + wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte): + New. + (ascii_from_unicode): Use codepage_from_unicode. + (ascii_from_unicode): Use unicode_from_codepage. + Use for cygwin windows API for unicode transformation. + * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New + macros. + (wind_language_t, local_iconv_map): New types. + (wind_find_language_by_id, wind_find_language_by_codepage, + unicode_is_valid_codepage, wind_find_codepage_info, + unicode_from_codepage, codepage_from_unicode): New + prototypes. + +2007-06-05 Alan Modra + + * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol. + +2007-05-30 Alan Modra + + * objcopy.c (copy_object): Revert 2007-05-11 change. Don't + avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG. + (setup_section): Don't modify flags, and don't avoid calling + bfd_copy_private_section_data for ELF STRIP_NONDEBUG. + * readelf.c (process_program_headers): Ignore .dynamic of type + SHT_NOBITS. + +2007-05-29 Alan Modra + + * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if + pic or pie and image needs relocs. + +2007-05-24 Steve Ellcey + + * Makefile.in: Regenerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * doc/Makefile.in: Regenerate. + +2007-05-24 Kai Tietz + + * rcparse.y: Join strings for elements having no side-effects in + "rc"-grammar. + +2007-05-23 Kai Tietz + + * rclex.c: New file replacing rclex.l. + * rclex.l: Removed. + * windint.h: New file holding common structure and type + definitions. + * Makefile.am: Added new header windint.h and exchanged rclex.l by + rclex.c. + * Makefile.in: Regenerate. + * rcparse.y: Renamed some structures. + Use in internal representation always bfd_vma instead of long or + int. + Removed from %union unused stringtable. + Added to %union suni structure for unicode strings. + Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE, + DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD, + TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING. + Added support for these new rc file tokens. + * resbin.c: Rewrote using bfd and binary structures, and support + new resource types. + * rescoff.c: Likewise. + * resres.c: Likewise. + * resrc.c: Likewise. Dumps as RC are now recompilable. + * windres.c: As above. Using bfd for res and provide target + specific endianess support. + * windres.h: Use windint.h as include. Additionally removed K&R + syntax. + * winduni.c: New printing and unichar support routines. + * winduni.h: Prototypes for new unichar helpers. + * windint.h: New file. + +2007-05-22 Paul Brook + + * objdump.c (find_symbol_for_address): Merge section and target + specific filtering code. + +2007-05-22 Nick Clifton + + * doc/binutils.texi: Use @copying around the copyright notice. + +2007-05-21 Richard Sandiford + + * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs + for executables and shared libraries. + +2007-05-18 Nathan Sidwell + + * objcopy.c (strip_main): Detect identical input and output file + names. + (copy_main): Refactor tempname detection and use. + +2007-05-17 Nick Clifton + + * objdump.c (load_debug_section): Select bias for DWARF debug + addresses based on the flavour of the bfd. + +2007-05-11 Alan Modra + + PR 4479 + * objcopy.c (copy_object): Don't copy ELF program headers for + --only-keep-debug. + +2007-05-11 Alan Modra + + * embedspu.sh (find_prog): Prefer prog in same dir as embedspu + over one found on the users path. + (main): Generate .reloc for each R_SPU_PPU* reloc. + +2007-04-28 Alan Modra + + * prdbg.c (tg_variable): Adjust for changed demangler. + (tg_start_function): Likewise. + +2007-04-27 Alan Modra + + * bucumm.h: Split off host dependencies to.. + * sysdep.h: ..here. + Many files: Include sysdep.h. Remove duplicate headers and reorder. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-24 Nick Clifton + + * srconv.c (walk_tree_type_1): Initialise dpt.dunno. + +2007-04-24 Nathan Froyd + Phil Edwards + + * objcopy.c (filter_symbols): Explicitly stripping a symbol + used in relocations is an error. + Retype 'keep' to bfd_boolean. + +2007-04-24 Alan Modra + + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2007-04-20 Nathan Froyd + Phil Edwards + Thomas de Lellis + + * objcopy.c (reverse_bytes): New variable. + (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN. + (copy_options, copy_usage): Add "reverse-bytes" entry. + (copy_section): Reverse bytes within output sections. + * doc/binutils.texi: Document new objcopy option. + +2007-04-20 Nick Clifton + + * rclex.l: Allow underscores at the start of identifiers. + +2007-04-19 Alan Modra + + * budemang.c: Delete. + * budemang.h: Delete. + * addr2line.c (translate_addresses): Call bfd_demangle rather than + demangle. + * nm.c (print_symname): Likewise. + * objdump.c (objdump_print_symname, dump_symbols): Likewise. + (dump_bfd): Likewise. + * prdbg.c (struct pr_handle ): Add int param. + (tg_variable, tg_start_function): Adjust demangler calls. + * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-04-14 Steve Ellcey + + * Makefile.am: Add ACLOCAL_AMFLAGS. + * configure.in: Change macro call order. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-04-13 Nathan Sidwell + + * Makefile.am (TOOL_PROGS): Add objcopy. + * Makefile.in: Rebuilt. + +2007-04-12 H.J. Lu + + PR binutils/4348 + * objcopy.c (copy_object): Don't stop when there are no + sections to be copied. + +2007-04-10 Vladimir Prus + + * NEWS: Mention disjoint histograms support in + gprof. + +2007-04-09 Daniel Jacobowitz + + * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for + DW_TAG_inlined_subroutine. + +2007-04-06 Matt Thomas + + * MAINTAINERS: Add myself as VAX and NetBSD support maintainer. + +2007-04-05 Alan Modra + + PR binutils/4292 + * nm.c (print_value): Cast bfd_vma to unsigned long to suit + value_format_32bit. + +2007-04-02 Nick Clifton + + PR binutils/4292 + * nm.c (value_format): Replace with value_format_32bit and + value_format_64bit. + (set_radix): Update setting of value_format. + (set_print_width): New function. Compute the address size of a + given bfd and set the print_width global appropriately. + (display_archive): Use set_print_width. + (display_file): Likewise, + (print_object_filename_sysv): Update use of print_width. + (print_archive_member_sysv): Likewise. + (print_symbol_filename_posix): Likewise. + (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise. + +2007-03-28 Richard Sandiford + Phil Edwards + + * doc/binutils.texi: Put the contents after the title page rather + than at the end of the document. + +2007-03-28 Nick Clifton + + * readelf.c (slurp_rela_relocs): Add newline to end of error + messages. + (slurp_rel_relocs, request_dump, request_dump_byname, + process_program_headers, process_dynamic_section, + process_symbol_table, process_mips_specific, main): Likewise. + +2007-03-28 Alan Modra + + * MAINTAINERS: Update mailing list addresses. Add myself + as PPC maintainer. + +2007-03-27 Alan Modra + + * embedspu.sh: Correct toe_addr quoting. + +2007-03-27 Alan Modra + + * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten + .toe section and .toe address checks. Use .reloc for _EAR* + symbols defined in non-BSS sections. Build table for _SPUEAR_ + symbols. + +2007-03-23 Kaz Kojima + + PR gas/3811 + * readelf.c (debug_apply_rela_addends): Do nothing for SH. + +2007-03-22 Joseph Myers + + * doc/binutils.texi: Include VERSION_PACKAGE when reporting + version. + +2007-03-16 Kai Tietz + + * dlltool.c (make_one_lib_file): Use pc-relative relocation + instead of an absolute relocation for x86_64-pc-mingw32 target. + +2007-03-15 H.J. Lu + + * Makefile.am (REPORT_BUGS_TO): Removed. + (INCLUDES): Remove -DREPORT_BUGS_TO. + * Makefile.in: Regenerated. + + * bucomm.c: Don't include bfdver.h. + * objdump.c: Likewise. + * version.c: Likewise. + + * bucomm.h: Include bfdver.h. + + * configure.in (--with-bugurl): Removed. + * configure: Regenerated. + + * doc/Makefile.am (binutils_TEXINFOS): Removed. + (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. + (TEXI2DVI): Likewise. + (config.texi): Removed. + (MOSTLYCLEANFILES): Remove config.texi. + * doc/Makefile.in: Regenerated. + + * doc/binutils.texi: Include bfdver.texi instead of + config.texi. + +2007-03-13 Nick Clifton + + * readelf.c (dump_section): Also test for SHT_REL sections when + producing the warning about unapplied relocs. + +2007-03-07 Joseph Myers + + * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of + bug-reporting URL. + * doc/Makefile.am (config.texi): Define BUGURL. + * doc/binutils.texi: Use BUGURL. Remove text about large files + and uuencoding. + * Makefile.in, configure, doc/Makefile.in: Regenerate. + +2007-03-01 Phil Edwards + Richard Sandiford + + * NEWS: Mention addition of --extract-symbol. + * doc/binutils.texi: Document it. + * objcopy.c (extract_symbol): New variable. + (OPTION_EXTRACT_SYMBOLS): New command_line_switch. + (copy_options): Add an entry for --extract-symbol. + (copy_usage): Mention --extract-symbol. + (copy_object): Set the start address to zero for --extract-symbol. + Do not copy private BFD data in that case. + (setup_section): Set the size, LMA and VMA to zero for + --extract-symbol. Do not copy private BFD data in that case. + (copy_section): Do not copy section contents if --extract-symbol + is passed. + (copy_main): Set extract_symbol to TRUE if --extract-symbol + is passed. + +2007-03-01 Paul Brook + + * MAINTAINERS: Update my entry. + +2007-03-01 Joseph Myers + + * version.c: Update copyright date. + +2007-03-01 Daniel Jacobowitz + + * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS). + Adjust $(EXEEXT) handling for $(RENAMED_PROGS). + * Makefile.in, doc/Makefile.in: Regenerate. + +2007-03-01 Alan Modra + + * embedspu.sh: Set type and size of global program handle symbol. + +2007-02-28 Alan Modra + + * Makefile.am (PROGS): Delete. + (RENAMED_PROGS): Define. Extracted from.. + (noinst_PROGRAMS): ..here. Add BUILD_MISC. + (install-exec-local): Adjust. + * Makefile.in: Regenerate. + +2007-02-28 Alan Modra + + * Makefile.am (PROGS): Add BUILD_INSTALL_MISC. + (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC. + (EXTRA_PROGRAMS): Remove bin2c. + (bin2c$(EXEEXT_FOR_BUILD)): New rule. + (bin2c_SOURCES): Delete. + (DISTCLEANFILES): Remove sysinfo. + (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and + bin2c$(EXEEXT_FOR_BUILD). + * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c. + Move embedspu to.. + (BUILD_INSTALL_MISC): ..here. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-02-27 Alan Modra + + * bin2c.c: New file. + * Makefile.am (EXTRA_PROGRAMS): Add bin2c. + (CFILES): Add bin2c.c. + (bin2c_SOURCES): Define. + (bin2c.o): Dependencies from "make dep-am". + * configure.in (BUILD_MISC): Add bin2c. + * version.c: Update year. + * po/POTFILES.in: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-02-17 Mark Mitchell + Nathan Sidwell + Vladimir Prus + + * configure.in (--with-bugurl): New option. + * configure: Regenerate. + * Makefile.am (REPORT_BUGS_TO): Define. + (INCLUDES): Define REPORT_BUGS_TO. + Regenerate dependencies. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * bucomm.h: Remove include of bin-bugs.h. + * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. + * ar.c (usage): Pass s to list_supported_targets. Don't print + empty REPORT_BUGS_TO. + * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO. + * cxxfilt.c (usage): Print bug url when giving help. + * dlltool.c (usage): Likewise. + * dllwrap.c (usage): Likewise. + * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO. + * nm.c (usage): Likewise. + * objcopy.c (copy_usage, strip_usage): Likewise. + * objdump.c (usage): Likewise. + * readelf.c ((usage): Likewise. Add STREAM argument. Adjust + callers. + * size.c (usage): Don't print empty REPORT_BUGS_TO. + * srconv.c (show_usage): Likewise. + * strings.c (usage): Likewise. + * sysdymp.c (show_usage): Likewise. + * windres.c (usage): Likewise. + +2007-02-13 Alan Modra + + * embedspu.sh: Add -W to readelf invocation. + +2007-02-06 Dave Brolley + + * MAINTAINERS: Add myself as the maintainer of the MeP port. + +2007-02-06 Nick Clifton + + PR gas/3800 + * readelf.c: Include elf/h8.h twice. The first time in order to + get the reloc numbers, the second time in order to get the reloc + decoder function. + (dump_section): Tell the user if the section being displayed has + unprocessed relocs associated with it. + (get_reloc_size): New function - returns the size of a reloc. + (debug_apply_rela_addends): Use get_reloc_size(). + * dwarf.c (read_and_display_attr_value): Extend number of + languages known for the DW_AT_language attribute. + (process_debug_info): Display the attribute offset before decoding + the attribute, in case there are problems. + +2007-02-05 Dave Brolley + + * readelf.c (dump_relocations): Don't check for + (rtype == NULL && type == R_RELC). + +2007-02-05 Dave Brolley + + * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h. + * Makefile.in: Regenerated. + * Contribute the following changes: + 2003-10-29 Dave Brolley + + * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep. + * configure: Regenerated. + + 2001-04-03 Ben Elliston + + * readelf.c: Include "elf/mep.h". + (guess_is_rela): Handle EM_CYGNUS_MEP. + (get_machine_name): Ditto. + (dump_relocations): Ditto. + +2007-02-02 H.J. Lu + + * MAINTAINERS: Add a space between H.J. and Lu. + +2007-02-02 H.J. Lu + + * doc/binutils.texi (objdump): Document the new addr64 option + for i386 disassembler. + +2007-02-02 H.J. Lu + + PR binutils/3945 + * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE + target. + (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT. + * configure: Regenerated. + + * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX. + +2007-02-02 Nick Clifton + + * doc/binutils.texi (objdump): Document support for disassembling + the 440 PowerPC architecture. + +2007-01-31 Nathan Sidwell + + * dwarf.c (process_debug_info): Protect against bogus length and + abbrev offsets. + +2007-01-25 Kazu Hirata + + * ar.c (print_contents, extract_file): Cast the return value + of fwrite to size_t. + +2007-01-12 Alan Modra + + * ar.c (open_inarch): Check fwrite return. Use size_t. + (extract_file): Likewise. Remove test for "negative" file size. + * readelf.c (process_program_headers): Check fscanf return. + +2007-01-11 H.J. Lu + + * bucomm.c (template_in_dir): Fix typo. + +2007-01-11 Alan Modra + + * embedspu.sh: New file. + * Makefile.am (embedspu): Add rule. + * configure.in (BUILD_MISC): Add embedspu for powerpc-linux. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-01-11 Alan Modra + + * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP. + * bucomm.c (template_in_dir): New function, split out from.. + (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP. + (make_tempdir): Use template_in_dir. Handle directory creation + when !HAVE_MKDTEMP. + * objcopy.c (MKDIR): Don't define. + (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix + error message. + +2007-01-08 Kazu Hirata + + * readelf.c (get_machine_flags): Treat Fido as an architecture + by itself. + +2007-01-08 Kai Tietz + + * configure.in: Renamed target x86_64-*-mingw64 to + x86_64-*-mingw*. + * configure: Regenerated. + +2007-01-05 Alan Modra + + * readelf.c (dump_section): Don't print 32-bit values, which + were done incorrectly for little-endian. Instead print bytes. + +For older changes see ChangeLog-2006 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index 4dd3d094eb..75cc3ceec2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -2,2641 +2,7 @@ * config/tc-mips.c (mips_ip): Check operands on jalr instruction. -2007-12-29 H.J. Lu - - * config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax, - -mindex-reg, -mnaked-reg and -mold-gcc. - -2007-12-27 John David Anglin - - * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative - number in parens. - -2007-12-23 H.J. Lu - - * config/tc-i386.c (set_intel_mnemonic): New. - (intel_mnemonic): Likewise. - (old_gcc): Likewise. - (OPTION_MMNEMONIC): Likewise. - (OPTION_MSYNTAX): Likewise. - (OPTION_MINDEX_REG): Likewise. - (OPTION_MNAKED_REG): Likewise. - (OPTION_MOLD_GCC): Likewise. - (md_pseudo_table): Add .intel_mnemonic and .att_mnemonic. - (match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T - mnemonic is specified. Don't allow old gcc support if old_gcc - is 0. - (md_longopts): Add -mmnemonic, -msyntax, -mindex-reg, - -mmnaked-reg and -mold-gcc. - (md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX, - OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC. - - * doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg - and AT&T mnemonic vs. Intel mnemonic. - -2007-12-20 Bob Wilson - - * config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for - expressions without suffixes. - (get_frag_property_flags): Preserve is_no_transform flag for frags - not marked as either instructions or literals. - -2007-12-17 H.J. Lu - - * config/tc-i386.c (output_insn): Use ARRAY_SIZE. - (lex_got): Likewise. - -2007-12-17 H.J. Lu - - * config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR - instead of frag_more/md_number_to_chars. - (md_short_jump_size): Removed. - (md_long_jump_size): Likewise. - (md_create_short_jump): Likewise. - (md_create_long_jump): Likewise. - -2007-12-13 Bob Wilson - - * config/tc-xtensa.c (xg_symbolic_immeds_fit): Relax for weak - references but not weak definitions. - -2007-12-12 Bob Wilson - - * config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to - weak symbols if longcalls are disabled. - -2007-12-11 Sterling Augustine - Bob Wilson - - * config/tc-xtensa.c (frag_format_size): Handle frags that expand to - wide branches. - (get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next - non-empty frag to find the LOOP instruction. Change comma typo to - a semicolon. - (relax_frag_immed, convert_frag_immed): Rename wide_insn variable to - from_widen_insn. - -2007-12-11 Alan Modra - - * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section. - -2007-12-10 Richard Sandiford - - * config/tc-mips.h (mips_nop_opcode): Declare. - (NOP_OPCODE): Define. - (mips_segment_info): New structure. - (TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list. - * config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE. - (mips_record_mips16_mode): New function. - (install_insn): Call it. - (mips_align): Likewise. Turn the fill argument into an "int *". - Use frag_align_code for code segments if no fill data is given. - (s_align): Adjust call accordingly. - (mips_nop_opcode): New function. - (mips_handle_align): Use the first variable byte to decide which - nop sequence is needed. Use md_number_to_chars and mips16_nop_insn. - -2007-12-07 Bob Wilson - - * config/tc-xtensa.c (O_pcrel): Define. - (suffix_relocs): Add pcrel suffix. - (md_pseudo_table): Add 4byte and 2byte directives. - (xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp. - (xg_assemble_literal): Likewise. Check for O_pcrel. - (expression_maybe_register): Reorganize. Handle BFD_RELOC_32_PCREL. - (xg_valid_literal_expression): Allow O_pcrel. - (md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL. - (tc_gen_reloc): Fix punctuation in error message. - -2007-12-06 Bob Wilson - - * config/tc-xtensa.c (xg_force_frag_space): Delete. - (xg_finish_frag, xg_assemble_literal_space): Replace calls to it. - (xtensa_create_property_segments, xtensa_create_xproperty_segments): - Set output_section for new property sections. Use subseg_set and - seg_info instead of retrieve_segment_info. Adjust arguments to - add_xt_block_frags and add_xt_prop_frags. Use standard functions - to create frags and fix records. - (retrieve_segment_info): Delete. - (add_xt_block_frags, add_xt_prop_frags): Replace calls to - retrieve_segment_info. Remove unused xt_block_sec arguments. - -2007-12-04 Alan Modra - - * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol - name and bracket. - -2007-11-30 Bob Wilson - - * config/tc-xtensa.h (md_allow_eh_opt): Define. - -2007-11-29 Mark Shinwell - - * config/tc-mips.c (mips_cpu_info_table): Add loongson2e - and loongson2f entries. - * doc/c-mips.texi: Document -march=loongson{2e,2f} options. - -2007-11-29 Martin Schwidefsky - - * config/tc-s390.c (md_begin): If the -mesa option is specified - add zarch opcodes to the hash table only if there is no variant - that is available for the esa mode as well. - -2007-11-26 Thomas Ogrisegg - - * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand. - -2007-11-19 Bob Wilson - - * config/xtensa-istack.h (tinsn_struct): Replace linenum field - with loc_directive_seen and debug_line. - * config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h. - (xg_build_to_insn): Copy the new fields instead of linenum. - (xg_build_token_insn): Likewise. Abort on INSTR_LABEL_DEF and move - common code out of the switch. - (md_assemble): Set new tinsn fields from DWARF information. Call - dwarf2_consume_line_info. - (xg_assemble_vliw_tokens): Update the code to select the "best" line - number to use new information. Call dwarf2_gen_line_info instead - of dwarf2_emit_insn. - -2007-11-19 Bob Wilson - - * dwarf2dbg.h (dwarf2_loc_directive_seen): New. - * dwarf2dbg.c (loc_directive_seen): Make external and rename to... - (dwarf2_loc_directive_seen): ...this. - (dwarf2_emit_insn, dwarf2_consume_line_info) - (dwarf2_emit_label, dwarf2_directive_loc): Use new name. - -2007-11-19 Bob Wilson - - * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info. - -2007-11-19 Bob Wilson - - * dwarf2dbg.c (dwarf2_consume_line_info): New. - (dwarf2_emit_insn): Use it here. - (dwarf2_directive_loc): Fix check for consecutive .loc directives - when debug_type is DEBUG_DWARF2. - * dwarf2dbg.h (dwarf2_consume_line_info): New prototype. - * config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info. - (md_assemble): Likewise. - -2007-11-17 Thiemo Seufer - - * config/tc-mips.c (md_parse_option): Match mips_optimize to the -O - option supplied, but still keep mips_optimize == 2 as default value. - -2007-11-17 Thiemo Seufer - - * doc/as.texinfo: Document the new attribute value. - -2007-11-16 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Add ATmega32HVB device. - * doc/c-avr.texi: Likewise. - -2007-11-16 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Add ATmega1284P device. - * doc/c-avr.texi: Likewise. - -2007-11-14 Tristan Gingold - - * config/tc-ia64.c (AR_RUC): Defined. - (ar): Add "ar.ruc". - (specify_resource): Handle AR_RUC like AR_ITC. - -2007-11-13 Nick Clifton - - * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to - be generated for alignment fixups. - * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call - mn10300_force_relocation. - -2007-11-12 Nick Clifton - - PR gas/5269 - * config/tc-frv.c (md_show_usage): Rewrite usage description to - make it easier to translate. - * gas/po/gas.pot: Regenerate. - -2007-11-12 Tristan Gingold - - * config/tc-ppc.c (md_assemble): If -mregnames, when parsing - PPC_OPERAND_CR always parse as expression to allow register name - followed by an expression. - -2007-11-09 H.J. Lu - - * config/tc-i386.c (match_template): Re-order suffix check. - -2007-11-07 Bob Wilson - - * config/tc-xtensa.c (relaxable_section): Check for .eh_frame. - -2007-11-07 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Add ATtiny88 device. - * doc/c-avr.texi: Likewise. - -2007-11-07 Anatoly Sokolov - - * config/tc-avr.c (mcu_types): Add new devices: ATmega48P, - ATmega88P, ATmega168P, Atmega328P - * doc/c-avr.texi: Document new devices. - -2007-11-07 Tristan Gingold - - * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses - offset within the TOC instead of the VMA. - -2007-11-06 Paul Brook - - * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6. - -2007-11-06 Nick Clifton - - * ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke - it to see if the optimizations should be applied. - * config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call - frame optimization if linker relaxation is not enabled. - -2007-11-05 Danny Smith - - * read.c (ALIGN_LIMIT): Rename to ... - (TC_ALIGN_LIMIT): Guard against prior definition. - * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define. - -2007-11-01 Sterling Augustine - - * config/tc-xtensa.c (xtensa_symbol_new_hook): New. - (xtensa_mark_difference_of_two_symbols): New. - (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols. - * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol. - (tc_symbol_new_hook): Define. - -2007-11-01 H.J. Lu - - * config/tc-i386.c (md_assemble): Replace no_xsuf with - no_ldsuf. - (match_template): Likewise. - -2007-11-01 H.J. Lu - - * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii - letter. - -2007-11-01 H.J. Lu - - * config/tc-i386.c (process_suffix): Check addrprefixop0 to - see if the address size override prefix changes the size of the - first operand. - (check_byte_reg): Don't warn if byteokintel is set. - (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword - is set. - (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword - is set. - -2007-10-31 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Remove devices that were never produced: - attiny10, atmega83, atmega85, atmega603. - * doc/c-avr.texi: Likewise. - -2007-10-30 Nick Clifton - - * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when - sym_diff relocs should be generated. - (md_apply_fix): Skip R_MN10300_ALIGN relocs. - (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. - (mn10300_handle_align): New function. Generate R_MN10300_ALIGN - relocs to record alignment requests. - * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force - R_MN10300_ALIGN relocs. - (HANDLE_ALIGN): Define. Call mn10300_handle_align. - -2007-10-30 Nick Clifton - - * doc/as.texinfo (Section): Replace "subsegment" with - "subsection". - -2007-10-27 H.J. Lu - - PR gas/5221 - * config/obj-elf.c (obj_elf_section): Handle optional - parameters for .pushsection. - - * doc/as.texinfo: Document optional parameters for - .pushsection. - -2007-10-24 H.J. Lu - - * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. - * configure: Regenerated. - -2007-10-24 Alan Modra - - * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE. - Run "make dep-am". - * configure.in: Invoke AC_GNU_SOURCE. - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2007-10-19 Nick Clifton - - * expr.c (expr): Test md_allow_local_subtract (if defined) before - allowing the evaluation of an expression involving two symbols - defined in the same section. - * doc/internals.texi (md_allow_local_subtract): Document the new - macro. - * config/tc-mn10300.h (md_allow_local_subtract): Define. - (RELAX_EXPANSION_POSSIBLE): Define. - (MAX_RELOC_EXPANSION): Define. - (TC_FRAG_TYPE): Define. - * config/tc-mn10300.c (md_assemble): Mark fragments as containing code. - (tc_gen_reloc): Return an array of relocs. If necessary generate - two relocs to handle an expressions involving the difference of - two symbols. - (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL - when then fixup is not pc-relative. - (mn10300_allow_local_subtract): New function. Determine when it - is safe to compute the difference between two symbols at assemble - time. - -2007-10-19 Alan Modra - - * config/tc-ppc.c (ppc_parse_name): Skip leading '%'. - (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of - chars that can start a name. - -2007-10-18 Carlos O'Donell - - * config/tc-hppa.c (pa_ip): Fix comment typo. - (pa_comm): Likewise. - -2007-10-18 Nick Clifton - - PR gas/5172 - * config/tc-arc.c (md_estimate_size_before_relax): Change error - message. - (md_convert_frag): Just call abort. - * config/tc-i860.c (md_estimate_size_before_relax): Change error - message. - * config/tc-i860.h (md_convert_frag): Just call abort. - * config/tc-ip2k.c (md_estimate_size_before_relax): Change error - message. - (md_convert_frag): Just call abort. - * config/tc-m68k.c (m68k_ip): Do not attempt translation of - architecture names. - PR gas/5174 - * config/tc-arm.c: Fix formatting and spelling errors. - PR gas/5175 - * config/tc-xc16x.c: Fix formatting and internationalization. - * po/gas.pot: Regenerate. - -2007-10-17 Nick Clifton - - PR gas/5173 - * as.h (ieee_md_atof, vax_md_atof): New prototypes. - * read.c (s_float_space): Allow a zero length return from md_atof - if the error message has been set. - (float_cons): Likewise. - * config/atof-ieee.c (ieee_md_atof): New function. Performs the - md_atof() function in a generic way for IEEE using targets. - * config/atof-vax.c (md_atof): Rename to vax_md_atof. Use the - same error message as ieee_md_atof. - * tc-alpha.c (md_atof): Use ieee_md_atof. Remove #define of vax_md_atof. - * tc-arc.c (md_atof): Use ieee_md_atof. - * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the - constant 2. Use a precision of 5 for the 'x' and 'p' types. - * tc-avr.c (md_atof): Use ieee_md_atof. - * tc-bfin.c (md_atof): Use ieee_md_atof. - * tc-cr16.c (md_atof): Use ieee_md_atof. - * tc-crx.c (md_atof): Use ieee_md_atof. - * tc-d10v.c (md_atof): Use ieee_md_atof. - * tc-d30v.c (md_atof): Use ieee_md_atof. - * tc-dlx.c (md_atof): Use ieee_md_atof. - * tc-fr30.c (md_atof): Use ieee_md_atof. - * tc-frv.c (md_atof): Use ieee_md_atof. - * tc-h8300.c (md_atof): Use ieee_md_atof. - * tc-hppa.c (md_atof): Use ieee_md_atof. - * tc-i370.c (md_atof): Use ieee_md_atof. - (i370_dc): Convert the 'E' type to 'f' before calling md_atof. - * tc-i386.c (md_atof): Use ieee_md_atof. - * tc-i860.c (md_atof): Use ieee_md_atof. - * tc-i960.c (md_atof): Use ieee_md_atof. - * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof. - * tc-ip2k.c (md_atof): Use ieee_md_atof. - * tc-iq2000.c (md_atof): Use ieee_md_atof. - * tc-m32c.c (md_atof): Use ieee_md_atof. - * tc-m32r.c (md_atof): Use ieee_md_atof. - * tc-m68hc11.c (md_atof): Use ieee_md_atof. - * tc-m68k.c (md_atof): Use ieee_md_atof. - * tc-maxq.c (md_atof): Use ieee_md_atof. - * tc-mcore.c (md_atof): Use ieee_md_atof. - * tc-mep.c (md_atof): Use ieee_md_atof. - * tc-mips.c (md_atof): Use ieee_md_atof. - * tc-mmix.c (md_atof): Use ieee_md_atof. - * tc-mn10200.c (md_atof): Use ieee_md_atof. - * tc-mn10300.c (md_atof): Use ieee_md_atof. - * tc-msp430.c (md_atof): Use ieee_md_atof. - * tc-mt.c (md_atof): Use ieee_md_atof. - * tc-ns32k.c (md_atof): Use ieee_md_atof. - * tc-openrisc.c (md_atof): Use ieee_md_atof. - * tc-or32.c (md_atof): Use ieee_md_atof. - * tc-pdp11.c (md_atof): New function. Call vax_md_atof. - * tc-pj.c (md_atof): Use ieee_md_atof. - * tc-ppc.c (md_atof): Use ieee_md_atof. - * tc-s390.c (md_atof): Use ieee_md_atof. - * tc-score.c (md_atof): Use ieee_md_atof. - * tc-sh.c (md_atof): Use ieee_md_atof. - * tc-sparc.c (md_atof): Use ieee_md_atof. - * tc-spu.c (md_atof): Use ieee_md_atof. - * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof. - * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof. - * tc-tic54.c (md_atof): Use ieee_md_atof. - * tc-v850.c (md_atof): Use ieee_md_atof. - * tc-vax.c (md_atof): New function. Call vax_md_atof. - * tc-xc16x.c (md_atof): Use ieee_md_atof. - * tc-xstormy16.c (md_atof): Use ieee_md_atof. - * tc-xtensa.c (md_atof): Use ieee_md_atof. - * tc-z8k.c (md_atof): Use ieee_md_atof. - * doc/internals.texi: Update description of md_atof function. - * po/gas.pot: Regenerate. - -2007-10-16 Bob Wilson - - * doc/as.texinfo (Overview): Add Xtensa --rename-section option. - -2007-10-16 Nick Clifton - - * config/obj-elf.c (obj_elf_type): Accept "common" as a valid - symbol type. - * doc/as.texinfo (.type): Document the types accepted by the - type pseudo op, including "common". - -2007-10-15 Peter Bergner - - * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted - according to major opcode number. - -2007-10-15 Alan Modra - - * read.c (do_s_func): Check asprintf return status. - * stabs.c (stabs_generate_asm_func): Likewise. - (stabs_generate_asm_endfunc): Likewise. - -2007-10-12 H.J. Lu - - * config/tc-i386.c (process_operands): Simplify implicit xmm0 - handling. - -2007-10-12 H.J. Lu - - * config/tc-i386.c (process_operands): Check the firstxmm0 - field in opcode_modifier for instruction with a implicit - xmm0 as the first operand. - -2007-10-12 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, - AT90PWM3B. - * doc/c-avr.texi: Document new devices. - -2007-10-12 M R Swami Reddy - - * config/tc-cr16.c: Update the md_relax_table for 1 word b - instruction range information. - -2007-10-12 Daniel Jacobowitz - - * doc/as.texinfo (Object Attributes): New chapter. - (Pseudo Ops): Document .gnu_attribute. - (LNS directives): Correct .loc_mark_labels documentation. - -2007-10-11 Nick Clifton - - * config/obj-elf.c (obj_elf_section): When pushing a section, if - there is a comma then the following argument must be a subsection - number. - -2007-10-11 H.J. Lu - - * doc/c-i386.texi: Update which instruction's operands are - swapped. - -2007-10-11 Nick Clifton - - PR gas/5161 - * config/tc-ia64.c: Allow for translations of error and warning - messages. - * po/gas.pot: Regenerate. - - PR gas/5158 - * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error - message. - * po/gas.pot: Regenerate. - - PR gas/5155 - * config/tc-msp430.c: Fix spelling typos. - -2007-10-11 Nick Clifton - - * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION. - -2007-10-08 Maciej W. Rozycki - - * config/tc-mips.c (AT): Rename to... - (ATREG): ... this. - (AT): New definition. - (mips_set_options): Rename "noat" to "at"; change the type. - (mips_opts): Update accordingly. - (append_insn): Likewise. - (macro_build_ldst_constoffset): Likewise. - (load_address): Likewise. - (macro, macro2): Likewise. - (s_mipsset): Handle ".set at=REG". Update handling of ".set at" - and ".set noat". - -2007-10-08 Nick Clifton - - * doc/as.texinfo (Previous): Clarify explanation of the behaviour - of this pseudo-op and add a couple of examples. - -2007-10-08 Nick Clifton - - PR gas/5121 gas/5122 gas/5123 - * Makefile.am (CFILES): Add cgen.c - (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, - tc-tic4x.c and xtensa-relax.c. - (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, - tc-tic4x.h and xtensa-relax.h. - (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, - te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h, - te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h. - (CONFIG_ATOF_CFILES): New variable. - (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with - dependency upon TARG_ENV_HFILES. - (DEPTC): Do not put "#include opcodes/-desc.h" into - cgen-desc.h when foo-desc.h does not exit. - Run make dep-am. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - PR gas/5124 gas/5125 - * po/es.po: Regenerate. - * po/fr.po: Regenerate. - * po/gas.pot: Regenerate. - * po/rw.po: Regenerate. - * po/tr.po: Regenerate. - * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation - of error messages. - PR gas/5126 - * config/obj-som.c: Likewise. - PR gas/5129 - * config/tc-arc.c: Likewise. - PR gas/5131 gas/5132 - * config/tc-arm.c: Likewise. - PR gas/5137 - * config/tc-bfin.c: Likewise. - PR gas/5143 - * config/tc-frv.c: Likewise. - PR gas/5142 - * config/tc-dlx.c: Likewise. - -2007-10-08 Eric B. Weddington - - * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, - ATtiny48, AT90PWM216, AT90PWM316. - * doc/c-avr.texi: Document new devices. - -2007-10-08 Nick Clifton - - PR gas/5133 - * config/tc-arm.c (md_apply_fix): Correct error message. - PR gas/5134 - * config/tc-arm.c (md_apply_fix): Likewise. - PR gas/5136 - * config/tc-bfin.c (md_apply_fix): Fix error message. - PR gas/5135 - (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages. - -2007-10-05 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit - immediate operands directly for instructions with 4 operands. - -2007-10-04 H.J. Lu - - PR gas/5109 - * config/tc-i386.c (process_suffix): Clear QWORD suffix if it - is ignored in Intel mode. - -2007-10-04 Helge Deller - - * read.c (potable): Add string8, string16, string32 and string64. - Add bit size for stringer function. - (stringer_append_char): New. - (stringer): Use stringer_append_char(). - * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function. - * config/obj-elf.c (obj_elf_ident): Likewise. - * config/tc-alpha.c (s_alpha_stringer): Likewise. - * config/tc-dlx.c (dlx_pseudo_table): Likewise. - * config/tc-hppa.c (pa_stringer): Likewise. - * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise. - * config/tc-m68hc11.c (md_pseudo_table): Likewise. - * config/tc-mcore.c (md_pseudo_table): Likewise. - * config/tc-mips.c (mips_pseudo_table): Likewise. - * config/tc-spu.c (md_pseudo_table): Likewise. - * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'. - * doc/as.texinfo (ABORT): Fix identing. - (String): Document new string8, string16, string32, string64 - functions. - * NEWS: Mention the new feature. - -2007-10-03 Nick Clifton - - PR gas/5078 - * config/tc-avr.c (avr_get_constant): Extend error message to - mention that the constant must be positive. - -2007-10-03 Nick Clifton - - * config/tc-avr.c (avr_get_constant): - PR gas/5089 - * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo. - PR gas/5090 - (md_assemble): Fix spelling typo. - -2007-10-03 Alan Modra - - PR 4303 - * stabs.c (aout_process_stab): Set BSF_DEBUGGING. - -2007-10-01 M R Swami Reddy - - * config/tc-cr16.c: Replaced 'tabs' with white spaces and - added R_CR16_DISP8 as default reloc type for b instructions. - -2007-09-30 H.J. Lu - - PR gas/5080 - * config/tc-i386.c (check_long_reg): Also handle cvttss2si. - (check_qword_reg): Also handle cvttsd2si. - -2007-09-27 Kazu Hirata - - * config/m68k-parse.h (m68k_register): Use MBO instead of MBB. - (last_movec_reg): Change to MBO. - * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB. - (m68k_ip): Use MBO instead of MBO. - (init_table): Use MBO instead of MBO. Add an entry for mbo. - -2007-09-26 Jan Beulich - - * config/tc-i386.c (build_modrm_byte): Also check for RegEip - when considering IP-relative addressing. - -2007-09-26 Jan Beulich - - * config/tc-i386.h (md_register_arithmetic): Define. - * config/tc-ia64.h (md_register_arithmetic): Likewise. - * doc/internals.texi: Document md_register_arithmetic. - * expr.c (make_expr_symbol): Force O_register expressions into - reg_section. - (expr): Provide default for md_register_arithmetic. Don't resolve - adding/subtracting constants to/from registers if - md_register_arithmetic is zero. - -2007-09-26 Jan Beulich - - * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP. - (cfi_finish): Add second empty instance. - -2007-09-26 Jan Beulich - - * config/tc-ia64.c (dot_pred_rel): Replace specialized handling - with simple call to parse_operand. - -2007-09-26 Jan Beulich - - * config/tc-i386.c (NUM_FLAG_CODE): Remove. - -2007-09-26 Jan Beulich - - * as.c (itbl_parse): Remove #define. - (struct itbl_file_list): Move down and ... - (itbl_files): .. conditionalize upon HAVE_ITBL_CPU. - (show_usage): Conditionalize printing of --itbl option upon - HAVE_ITBL_CPU. - (parse_args): Conditionalize handling of -t/--itbl options upon - HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with - 't'. - -2007-09-25 H.J. Lu - - * config/tc-i386.c (output_insn): Use i.tm.opcode_length to - check opcode length. - -2007-09-25 Nathan Sidwell - - * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New. - (BRANCHBWPL, FRAG_VAR_SIZE): New. - (md_relax_table): Add BRANCHBWPL entries. - (m68k_ip): Choose BRANCHBWPL relaxation if necessary. - (md_assemble): Use FRAG_VAR_SIZE. - (md_convert_frag_1): Add BRANCHBWPL cases. - (md_estimate_size_before_relaz): Likewise. - -2007-09-24 Carlos O'Donell - - * config/tc-mips.c (s_align): Set max_alignment to 28. - -2007-09-20 H.J. Lu - - PR 658 - * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed. - (set_allow_index_reg): New. - (allow_index_reg): Likewise. - (md_pseudo_table): Add "allow_index_reg" and - "disallow_index_reg". - (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for - fake index registers. - (i386_scale): Updated. - (i386_index_check): Support fake index registers. - (parse_real_register): Return NULL on eiz/riz if fake index - registers aren't allowed. - -2007-09-19 Nick Clifton - - * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte - fixups. - -2007-09-19 Bob Wilson - - * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo. - -2007-09-18 Bernd Schmidt - - * config/bfin-parse.y (asm_1): Slightly improve error messages - for "reg += const;". - -2007-09-18 Alan Modra - - PR gas/5026 - * read.c (emit_expr): Only use long long if required and available. - -2007-09-17 H.J. Lu - - * config/tc-i386.c (baseindex): Removed. - (build_modrm_byte): Check reg_num for RIP register instead of - reg_type. - (i386_index_check): Likewise. - -2007-09-17 H.J. Lu - - PR gas/5035 - * config/obj-coff.c (obj_coff_endef): Remove checking size of - def_symbol_in_progress. - -2007-09-17 Evandro Menezes - - PR gas/5026 - * read.c (emit_expr): Use unsigned long long values in warning - message about truncated expressions. - -2007-09-17 H.J. Lu - - * config/tc-i386.c (intel_e04): Revert the last change. - -2007-09-17 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2007-09-15 H.J. Lu - - PR gas/5034 - * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is - T_NIL. - -2007-09-14 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): Adjust comment line - wrap. - -2007-09-14 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): Use (A || B) instead - of (A || B) != 0. - -2007-09-14 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): Adjust indentation. - -2007-09-14 Michael Meissner - Dwarakanath Rajagopal - Tony Linthicum - - * NEWS: Add SSE5 support to NEWS file. - - * config/tc-i386.h (drex_byte): Add fields to allow process_drex - and build_modrm_byte to communicate. - (DREX_OC0): New SSE5 macro. - (DREX_OC0_MASK): Ditto. - (DREX_OC1): Ditto. - (DREX_OC1_MASK): Ditto. - (DREX_XMEM_X1_X2_X2): Ditto. - (DREX_X1_XMEM_X2_X2): Ditto. - (DREX_X1_XMEM_X2_X1: Ditto. - (DREX_X1_X2_XMEM_X1: Ditto. - (DREX_XMEM_X1_X2): Ditto. - (DREX_X1_XMEM_X2): Ditto. - (drex_byte): New structure to describe the DREX byte. - - * config/tc-i386.c (process_drex): New function to handle SSE5 - DREX bits. - (build_modrm_byte): Use the information cached away in - process_drex in the case of DREX instructions. - (i386_insn): Add drex field. - (pi): Add debugging of drex field. - (md_assemble): Treat SSE5 like SSE3 in instructions with an - immediate byte. Move REX field to DREX if this is a DREX - instruction. - (process_operands): Add SSE5 support. - (build_modrm_byte): Ditto. - (output_insn): Ditto. - (cpu_arch): Ditto. - (i386_align_code): Ditto. - -2007-09-12 Jan Beulich - - * config/tc-i386.c (md_assemble): Move handling of extrq/insertq - after generic operand swapping, and swap only the immediate operands. - -2007-09-11 Nathan Sidwell - - * config/tc-m68k.c (m68k_ip): Add mcfisa_c case. - (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV. - -2007-09-09 H.J. Lu - - * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3 - byte opcode. - -2007-09-08 H.J. Lu - - * config/tc-i386.c (cpu_flags_check_x64): Renamed to ... - (cpu_flags_check_cpu64): This. Inline. - (uints_all_zero): New. - (uints_set): Likewise - (uints_equal): Likewise - (UINTS_ALL_ZERO): Likewise - (UINTS_SET): Likewise - (UINTS_CLEAR): Likewise - (UINTS_EQUAL): Likewise - (cpu_flags_and): Likewise. - (cpu_flags_or): Likewise. - (operand_type_and): Likewise. - (operand_type_or): Likewise. - (operand_type_xor): Likewise. - (cpu_flags_not): Inline and use switch instead of loop. - (cpu_flags_match): Updated. - (operand_type_match): Likewise. - (smallest_imm_type): Likewise. - (set_cpu_arch): Likewise. - (pt): Likewise. - (md_assemble): Likewise. - (parse_insn): Likewise. - (optimize_imm): Likewise. - (match_template): Likewise. - (process_suffix): Likewise. - (update_imm): Likewise. - (finalize_imm): Likewise. - (process_operands): Likewise. - (build_modrm_byte): Likewise. - (i386_immediate): Likewise. - (i386_displacement): Likewise. - (i386_index_check): Likewise. - (i386_operand): Likewise. - (i386_target_format): Likewise. - (intel_e11): Likewise. - (operand_type): Remove implicitregister. - (operand_type_check): Updated. Inline. - (cpu_flags_all_zero): Removed. - (operand_type_all_zero): Likewise. - (i386_array_biop): Likewise. - (cpu_flags_biop): Likewise. - (operand_type_biop): Likewise. - -2007-09-08 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-09-08 H.J. Lu - - * configure.in (AC_CHECK_HEADERS): Add limits.h. - * configure: Regenerated. - * config.in: Likewise. - - * config/tc-i386.c: Include "opcodes/i386-init.h". - (_i386_insn): Use i386_operand_type for types. - (cpu_arch_flags): Updated to new types with bitfield. - (cpu_arch_tune_flags): Likewise. - (cpu_arch_isa_flags): Likewise. - (cpu_arch): Likewise. - (i386_align_code): Likewise. - (set_code_flag): Likewise. - (set_16bit_gcc_code_flag): Likewise. - (set_cpu_arch): Likewise. - (md_assemble): Likewise. - (parse_insn): Likewise. - (process_operands): Likewise. - (output_branch): Likewise. - (output_jump): Likewise. - (parse_real_register): Likewise. - (mode_from_disp_size): Likewise. - (smallest_imm_type): Likewise. - (pi): Likewise. - (type_names): Likewise. - (pt): Likewise. - (pte): Likewise. - (swap_2_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. - (build_modrm_byte): Likewise. - (output_insn): Likewise. - (disp_size): Likewise. - (imm_size): Likewise. - (output_disp): Likewise. - (output_imm): Likewise. - (gotrel): Likewise. - (i386_immediate): Likewise. - (i386_displacement): Likewise. - (i386_index_check): Likewise. - (i386_operand): Likewise. - (parse_real_register): Likewise. - (i386_intel_operand): Likewise. - (intel_e09): Likewise. - (intel_bracket_expr): Likewise. - (intel_e11): Likewise. - (cpu_arch_flags_not): New. - (cpu_flags_check_x64): Likewise. - (cpu_flags_all_zero): Likewise. - (cpu_flags_not): Likewise. - (i386_cpu_flags_biop): Likewise. - (cpu_flags_biop): Likewise. - (cpu_flags_match); Likewise. - (acc32): New. - (acc64): Likewise. - (control): Likewise. - (reg16_inoutportreg): Likewise. - (disp16): Likewise. - (disp32): Likewise. - (disp32s): Likewise. - (disp16_32): Likewise. - (anydisp): Likewise. - (baseindex): Likewise. - (regxmm): Likewise. - (imm8): Likewise. - (imm8s): Likewise. - (imm16): Likewise. - (imm32): Likewise. - (imm32s): Likewise. - (imm64): Likewise. - (imm16_32): Likewise. - (imm16_32s): Likewise. - (imm16_32_32s): Likewise. - (operand_type): Likewise. - (operand_type_check): Likewise. - (operand_type_match): Likewise. - (operand_type_register_match): Likewise. - (update_imm): Likewise. - (set_code_flag): Also update cpu_arch_flags_not. - (set_16bit_gcc_code_flag): Likewise. - (md_begin): Likewise. - (parse_insn): Use cpu_flags_check_x64 to check 64bit support. - Use cpu_flags_match to match instructions. - (i386_target_format): Update cpu_arch_isa_flags and - cpu_arch_tune_flags to i386_cpu_flags type with bitfield. - (smallest_imm_type): Check cpu_arch_tune to tune for i486. - (match_template): Don't initialize overlap0, overlap1, - overlap2, overlap3 and operand_types. - (process_suffix): Handle crc32 with 64bit register. - (MATCH): Removed. - (CONSISTENT_REGISTER_MATCH): Likewise. - - * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags - type. - -2007-09-06 H.J. Lu - - * config/tc-i386.c (match_template): Handle invlpga, vmload, - vmrun and vmsave in SVME. - (process_suffix): Likewise. - -2007-09-05 H.J. Lu - - * config/tc-i386.c (i386_index_check): Don't use RegRex - on the reg_type field. - (parse_real_register): Use `||' instead of `|'. - -2007-09-04 H.J. Lu - - * config/tc-i386.c (process_operands): Remove segment override - check on SVME instructions. - (i386_index_check): Remove memory operand check on SVME - instructions. - -2007-09-04 Alan Modra - - * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc". - (md_assemble): Update init of insn. Use insn.reloc instead of - calculating from flag. - (get_imm): Set reloc rather than flag. - (calcop): Formatting. - -2007-08-29 Daniel Jacobowitz - - * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives. - -2007-08-28 Daniel Jacobowitz - - * doc/c-arc.texi: Fix typo. - -2007-08-28 H.J. Lu - - * config/tc-i386.c (process_suffix): Handle cmpxchg8b in - Intel mode. - -2007-08-28 Nathan Sidwell - - * config/tc-m68k.c (mcf52235_ctrl): Add cache registers. - (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2. - (mcf5407_ctrl): New. - (m68k_cpus): Adjust 5407 entry. - -2007-08-28 Maxim Kuvyrkov - - * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers. - (m68k_cpus): Define 51QE cpu. - -2007-08-28 Mark Shinwell - Joseph Myers - - * as.c (main): Flush stderr before printing listings to ensure - consistent output order across platforms. - -2007-08-28 Robert Sebastian Gerus - - * configure.tgt: Add support for i[3-7]86-*-dragonfly*. - -2007-08-24 Joseph Myers - Paul Brook - - * remap.c: New. - * as.h (remap_debug_filename, add_debug_prefix_map): Declare. - * as.c (show_usage): Document --debug-prefix-map option. - (parse_args): Handle --debug-prefix-map. - * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths. - * stabs.c (stabs_generate_asm_file): Remap debug paths. - * Makefile.am (GAS_CFILES): Add remap.c - (GENERIC_OBJS): Add remap.o. - Regenerate dependencies. - * Makefile.in: Regenerate. - * doc/as.texinfo (--debug-prefix-map): Document. - -2007-08-24 Aurelien Jarno - - * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long - before printing them. - -2007-08-24 Anders Waldenborg - Alan Modra - - * config/tc-i386.c (lex_got): Don't scan past a comma. - -2007-08-23 Ben Elliston - - * config/tc-ppc.c (parse_cpu): Handle "750cl". - (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7". - (md_show_usage): Document -m750cl. - (md_assemble): Handle two delimiters in succession (eg. `),'). - * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl. - * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests. - * testsuite/gas/ppc/ppc750ps.s: New file. - * testsuite/gas/ppc/ppc750ps.d: Likewise. - -2007-08-23 Ben Elliston - - * doc/c-arm.texi (ARM Directives): Move brackets out of @vars. - -2007-08-17 Alan Modra - - PR gas/4079 - * config/tc-i386.c (x86_cons): Complain about invalid @got etc. - expressions. - (i386_immediate): Detect and complain about more cases of - invalid immediate expressions. Return failure rather than - converting them to zero. - (i386_displacement): Likewise. - -2007-08-17 Alan Modra - - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. - -2007-08-14 Andreas Schwab - - * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is - unrepresentable. - -2007-08-12 Matthias Klose - - * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include - $(top_srcdir)/../../bfd/doc. - * doc/Makefile.in: Regenerate. - -2007-08-10 Nick Clifton - - * NEWS: Add a marker for the 2.18 features. - -2007-08-09 Paul Brook - - * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment. - -2007-08-09 H.J. Lu - - * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb. - -2007-07-29 H.J. Lu - - * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert - DWORD memory to Reg64 in Intel synax. - (check_qword_reg): Allow cvtsd2si to convert QWORD memory to - Reg32 in Intel syntax. - -2007-07-25 Sterling Augustine - - * config/tc-xtensa.c (xtensa_extui_opcode): New. - (xg_expand_assembly_insn): Check for invalid extui operands. - (md_begin): Initialize xtensa_extui_opcode. - -2007-07-24 Nick Clifton - - * config/tc-mep.h (skip_whitespace): Remove definition. - -2007-07-23 H.J. Lu - - * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386. - (f32_15): Removed. - (jump_31): New. - (f32_patt): Remove f32_15. - (f16_patt): Likewise. - (i386_align_code): Updated to alt_long_patt for 64bit by - default. - - * config/tc-i386.h (processor_type): Add PROCESSOR_I386. - -2007-07-23 Evandro Menezes - - * config/tc-i386.c (i386_align_code): Enable alignment up to - MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment - for K8. - - * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31. - -2007-07-20 Nick Clifton - - * app.c (do_scrub_chars): Provide a one character buffer to hold a - pushed back newline at the end of an unterminated quoted string. - -2007-07-14 Nick Clifton - - * config/tc-arm.c (create_register_alias): Return a boolean rather - than an integer. - Check the return value of insert_reg_alias and do not continue to - create aliases once an insertion has failed. - (s_unreq): Delete the all-upper-case and all-lower-case - alternatives as well. - -2007-07-12 Kai Tietz - - * symbols.c: Print bfd_hostptr_t to file via fprintf_vma. - * write.c: Likewise. - -2007-07-11 Daniel Jacobowitz - - * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use - HAVE_64BIT_SYMBOLS. - -2007-07-04 Richard Sandiford - - * config/tc-mips.c (mips_cpu_info_table): Add new entries for - {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2. - Deprecate *x and *fx. - * doc/c-mips.texi: Document the new CPU arguments. Deprecate - *x and *fx. - -2007-07-04 H.J. Lu - - * config/obj-coff.h (x86_64_target_format): Renamed to ... - (i386_target_format): This - (TARGET_FORMAT): Use i386_target_format. - - * config/tc-i386.c (x86_64_target_format): Removed. - (i386_target_format): Handle PE formats. - -2007-07-04 Nick Clifton - - * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order - to get the right length of printed value. - -2007-07-03 Nick Clifton - - * COPYING: Replace with GPLv3 text. - * app.c: Update copyright notice to refer to GPLv3. - * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h, - cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h, - dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h, - emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h, - flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c, - input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c, - itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c, - macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c, - read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h, - symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h, - config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, - config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y, - config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y, - config/obj-aout.c, config/obj-aout.h, config/obj-coff.c, - config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h, - config/obj-elf.c, config/obj-elf.h, config/obj-evax.c, - config/obj-evax.h, config/obj-multi.h, config/obj-som.c, - config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h, - config/tc-arc.c, config/tc-arc.h, config/tc-arm.c, - config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, - config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c, - config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h, - config/tc-crx.c, config/tc-crx.h, 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-generic.c, config/tc-generic.h, config/tc-h8300.c, - config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h, - config/tc-i370.c, config/tc-i370.h, config/tc-i386.c, - config/tc-i386.h, config/tc-i860.c, config/tc-i860.h, - config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c, - config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h, - config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c, - config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h, - config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, - config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h, - config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c, - config/tc-mep.h, config/tc-mips.c, config/tc-mips.h, - config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, - config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, - config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c, - config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h, - config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c, - config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h, - config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h, - config/tc-s390.c, config/tc-s390.h, config/tc-score.c, - config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h, - config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c, - config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h, - config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, - config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, - config/tc-v850.c, config/tc-v850.h, config/tc-vax.c, - config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h, - config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c, - config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h, - config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, - config/te-freebsd.h, config/te-hppa.h, config/te-irix.h, - config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h, - config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h, - config/xtensa-relax.c, config/xtensa-relax.h: Likewise. - - * flonum-mult.c: Likewise, and also correct typo referring to - non-existant GNU Assembler General Public License. - * config/tc-m68851.h: Likewise. - * NEWS: Mention the new license. Also note where the 2.17 release - happened. - * config/e-crisaout.c: Add copyright header. - * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c, - config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c, - config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h, - config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h, - config/te-generic.h, config/te-gnu.h, config/te-go32.h, - config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h, - config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h, - config/te-linux.h, config/te-lnews.h, config/te-lynx.h, - config/te-mach.h, config/te-macos.h, config/te-nbsd532.h, - config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h, - config/te-pep.h, config/te-psos.h, config/te-riscix.h, - config/te-sun3.h, config/te-svr4.h, config/te-symbian.h, - config/te-wince-pe.h: Likewise. - -2007-07-03 Nathan Sidwell - - * config/tc-m68k.c (m68k_ip): Add j & K operand types. - (install_operand): Add E encoding. - (md_begin): Check and skip initial '.' arg character. - (get_num): Add 0..511 case. - -2007-07-03 Alan Modra - - PR 4713 - * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF. - * config/obj-elf.h (obj_ecoff_set_ext): Comment. - -2007-07-03 Mikkel Lauritsen - - PR 4722 - * app.c (do_scrub_chars ): Check for output buffer full - after memcpy. - -2007-07-02 Joseph Myers - - * config/tc-mips.c (s_dtprelword, s_dtpreldword, - s_dtprel_internal): New. - (mips_pseudo_table): Add .dtprelword and .dtpreldword. - (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and - BFD_RELOC_MIPS_TLS_DTPREL64. - -2007-07-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2007-07-02 Alan Modra - - * config/tc-ppc.c (ppc_pe_section): Comment out code assigning - coff section flag values to bfd section flag. - -2007-06-30 H.J. Lu - - * aclocal.m4: Regenerated. - * doc/Makefile.in: Likewise. - * Makefile.in: Likewise. - -2007-06-29 Joseph Myers - - * as.c (main): Only call create_obj_attrs_section if IS_ELF. - -2007-06-29 Joseph Myers - - * as.c (create_obj_attrs_section): New. - (main): Call create_obj_attrs_section for ELF. - * read.c (s_gnu_attribute, skip_whitespace, skip_past_char, - skip_past_comma, s_vendor_attribute): New. - (potable): Add gnu_attribute for ELF. - * read.h (s_vendor_attribute): Declare. - * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper - round s_vendor_attribute. - (aeabi_set_public_attributes): Update for new attributes - interfaces. - (arm_md_end): Remove attributes contents setting now done - generically. - -2007-06-29 M R Swami Reddy - - * Makefile.am: Add CR16 related entry. - * Makefile.in: Regenerate. - * config/tc-cr16.h: New file - * config/tc-cr16.c: New file - * doc/c-cr16.texi: New file for cr16 - * doc/all.texi: Entry for cr16 - * doc/Makefile.am: Added c-cr16.texi - * doc/Makefile.in: Regenerate - * doc/as.texinfo: Entry for CR16 target - * NEWS: Announce the support for the new target. - -2007-06-26 Paul Brook - - * config/tc-arm.c (parse_operands): Accept generic coprocessor regs - for OP_RVC. - (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1. - -2007-06-25 H.J. Lu - - * config/tc-i386.c (process_operands): Replace regKludge - with RegKludge. - -2007-06-25 Richard Sandiford - - * config/tc-mips.h (TC_SYMFIELD_TYPE): New. - * config/tc-mips.c (append_insn): Record which symbols have - R_MIPS16_26 relocations against them. - (mips_fix_adjustable): Don't reduce relocations against such symbols. - -2007-06-22 Sterling Augustine - - * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. - (frag_format_size): Handle RELAX_IMMED_STEP3. - (xtensa_relax_frag, md_convert_frag): Likewise. - * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3. - (RELAX_IMMED_MAXSTEPS): Adjust. - * config/xtensa-relax.c (widen_spec_list): Add transitions from - wide branches to branch-over-jumps. - (build_transition): Handle wide branches in transition patterns. - -2007-06-22 H.J. Lu - - * config/tc-i386.c (disp_size): New. - (imm_size): Likewise. - (output_disp): Use disp_size and imm_size. - (output_imm): Use imm_size. - -2007-06-19 Sterling Augustine - - * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about - use of literal_frag field. - * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag - in the literal_frag field. - (xtensa_move_literals): Use it here instead of searching. Update - literal_frag field with new value. - -2007-06-14 Paul Brook - - * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and - narrow shift by immediate. - -2007-06-14 H.J. Lu - - * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. - - * acinclude.m4: Don't include m4 files. - (BFD_BINARY_FOPEN): Removed. - Remove libtool kludge. - - * Makefile.in: Regenerated. - * doc/Makefile.in: Likewise. - * aclocal.m4: Likewise. - * configure: Likewise. - -2007-06-11 Sterling Augustine - Bob Wilson - - * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... - (XTENSA_PROP_NO_TRANSFORM): ...this. - (frag_flags_struct): Move is_no_transform out of the insn sub-struct. - (xtensa_mark_frags_for_org): New. - (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org. - (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org. - (get_frag_property_flags): Adjust reference to is_no_transform flag. - (xtensa_frag_flags_combinable): Likewise. - (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM. - * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG. - -2007-06-06 Paul Brook - - * config/tc-arm.c (s_align): Pad code sections appropriately. - -2007-06-05 Paul Brook - - * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes. - -2007-06-05 Nick Clifton - - PR gas/4587 - * config/tc-sparc.c (sparc_ip): Terminate tls_ops array. - -2007-06-05 Alan Modra - - * config/tc-spu.c (spu_cons): Use deferred_expression. Handle - number@ppu. - (tc_gen_reloc): Abort if neither addsy or subsy is set. - (md_apply_fix): Don't attempt to resolve SPU_PPU relocs. - * config/tc-spu.h (md_operand): Handle @ppu without sym. - -2007-05-31 Paul Brook - - * config/tc-arm.c (insns): Allow strex on M profile cores. - -2007-05-29 David S. Miller - Jakub Jelinek - - PR gas/4558 - * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks - for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19. - -2007-05-29 Alan Modra - - * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros. - -2007-05-29 Alan Modra - - * config/tc-ppc.c: Convert to ISO C. - * config/tc-ppc.c: Likewise. - -2007-05-29 Alan Modra - - * write.h (EXEC_MACHINE_TYPE): Delete. - (string_byte_count, section_alignment): Delete. - -2007-05-28 Nathan Sidwell - - * app.c (do_scrub_chars): Cope with \ at end of buffer. - -2007-05-26 Alan Modra - - * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in - top 32 bits of 64 bit value if so doing results in passing - range check. Rewrite sign extension fudges similarly. Enable - fudges for powerpc64 too. Report user value if range check - fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE - range rather than value, also to report user value on failure. - -2007-03-25 Paul Brook - - * config/tc-arm.c (T2_SUBS_PC_LR): Define. - (do_t_add_sub): Correctly encode subs pc, lr, #const. - (do_t_mov_cmp): Correctly encode movs pc, lr. - -2007-05-24 Steve Ellcey - - * Makefile.in: Regnerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.in: Regenerate. - -2007-05-22 Bob Wilson - - * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements - and index entries about automatic alignment of ENTRY instructions. - -2007-05-22 Nick Clifton - - * doc/as.texinfo: Use @copying around the copyright notice. - -2007-05-18 Joseph Myers - - * config/tc-mips.c (s_mipsset): Use generic s_set for directives - containing a comma. - -2007-05-17 H.J. Lu - - PR gas/4517 - 2003-06-05 Michal Ludvig - * doc/as.texinfo: Document new directives: .cfi_restore, - .cfi_undefined, .cfi_same_value, .cfi_return_column, - .cfi_remember_state and .cfi_restore_state. - -2007-05-17 Nathan Sidwell - - * config/tc-m68k.c (md_apply_fix): Show value of out of range - fixups in error message. - (md_conver_frag_1): Propagate the fix source location and use - as_bad_where rather than fatal, for better error messages. - -2007-05-16 Paul Brook - - * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr. - -2007-05-15 Mark Shinwell - - * app.c (do_scrub_chars): Don't damage \@ pseudo-variables. - -2007-05-15 Vincent Riviere - - PR gas/3041 - * config/tc-m68k.c (relaxable_symbol): Make sure that the correct - addend is stored for relocs against weak symbols. - (md_apply_fix): So not loose track of addend for relocs against - weak symbols. - -2007-05-14 Thiemo Seufer - - * config/tc-mips.c (md_parse_option): Fix parsing of -O option. - -2007-05-14 Mei Ligang - - * config/tc-score.c (data_op2, validate_immediate): Fix bug for - addri, addri.c, subi, and subi.c when immediate number is hex. - (score_insns): Remove subis and subis.c. - (do_sub_rdi16): Delete. - -2007-05-11 Alan Modra - - * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call - spu_cons for word. - (md_assemble): Tidy use of insn.flag. - (get_imm): Likewise. Handle uppercase input too. - (spu_cons): New function. - * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. - (TC_FORCE_RELOCATION): Don't resolve them either. - -2007-05-05 Mark Shinwell - - * config/tc-arm.c (md_apply_fix): Generate more accurate - diagnostic when 8-bit immediate range is exceeded for - BFD_RELOC_ARM_OFFSET_IMM8. - -2007-05-04 Alan Modra - - PR gas/4460 - * config/tc-i386.c (lex_got): Don't replace the reloc token with - a space if we already have a space. - -2007-05-03 H.J. Lu - - * config/tc-i386.c (match_template): Don't explicitly check - suffix for crc32 in Intel mode. - (process_suffix): Issue an error for crc32 if the operand size - is ambiguous. - -2007-05-03 Vincent Riviere - Nick Clifton - - PR gas/3041 - * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. - (tc_gen_reloc): Adjust the addend of relocs against weak symbols. - (md_apply_fix): Put zero values into the frags referencing weak - symbols. - -2007-05-02 Alan Modra - - PR 4448 - * config/tc-ppc.c (ppc_insert_operand): Don't increase min for - PPC_OPERAND_PLUS1. - -2007-05-01 H.J. Lu - - * config/tc-i386.c (match_template): Check suffix for crc32 in - Intel mdoe. - (process_suffix): Default the suffix of 8bit crc32 to - BYTE_MNEM_SUFFIX. - (check_byte_reg): Skip check for 8bit crc32. - -2007-04-30 H.J. Lu - - * config/tc-i386.c (md_assemble): Use register_prefix in - error/warning message. - (check_byte_reg): Likewise. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. - (process_operands): Likewise. - -2007-04-30 Alan Modra - - PR 4436 - * config/tc-ppc.c (ppc_insert_operand): Disable range check if - min > max. - -2007-04-28 Thiemo Seufer - - * config/tc-mips.c: Fix comment. - -2007-04-26 Anatoly Sokolov - - * config/tc-avr.c (mcu_types): Add support for atmega8hva and - atmega16hva devices. Move at90usb82 device to 'avr5' architecture. - * doc/c-avr.texi: Document new devices. - -2007-04-24 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-23 Nathan Sidwell - - * config/tc-m68k.c (mcf54455_ctrl): New. - (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. - (m68k_archs): Add isac. - (m68k_cpus): Add 54455 family. - (m68k_ip): Split Bg into Bb, Bs, Bg. - (m68k_elf_final_processing): Add ISA_C. - * doc/c-m68k.texi (M680x0 Options): Add isac. - -2007-04-22 Alan Modra - - * read.c (read_a_source_file): Skip multiple spaces to - cover hack in mmix md_start_line_hook which overwrites a - colon with a space. Delete sermon and needless assertion. - -2007-04-21 Alan Modra - - * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. - (md_atof): Make number_of_chars unsigned. Revert last change. - * config/tc-or32.c (md_apply_fix): Delete bogus assertions. - * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF. - * config/tc-sh.h (md_optimize_expr): Likewise. - * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus - assertion. - * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise. - -2007-04-21 Nick Clifton - - * config/atof-vax.c (md_atof): Fix comparison inside know(). - - * config/tc-ia64.c (emit_one_bundle): Fix typo. - -2007-04-21 Alan Modra - - * expr.c (expr): Assert on rankarg, not rank which can be unsigned. - * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. - Don't skip over NUL char. - (pseudo_set): Set X_op for registers to O_register. - * symbols.c (symbol_clone): Remove assertion that sym is defined. - (resolve_symbol_value): Resolve O_register symbols. - * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. - Instead find st(0) by hash lookup. - * config/tc-ppc.c (ppc_macro): Warning fix. - - * as.h (ENABLE_CHECKING): Default define to 0. - (know): Assert if ENABLE_CHECKING. - (struct relax_type): Remove superfluous declaration. - * configure.in (--enable-checking): New. - * configure: Regenerate. - * config.in: Regenerate. - * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. - Check for duplicate powerpc_operands entries. - -2007-04-20 Nathan Sidwell - - * config/tc-m68k.c (mcf5253_ctrl): New. - (mcf52223_ctrl): New. - (m68k_cpus): Add 5253, 52221, 52223. - - * config/m68k-parse.h (RAMBAR_ALT): New. - * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. - (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, - mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, - mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, - mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for - RAMBAR1. - (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. - (m68k_cpus): Adjust 5206, 5206e & 5307 entries. - (m68k_ip) : Detect when RAMBAR_ALT should be used. Add it - to control register mapping. - -2007-04-20 Alan Modra - - * messages.c (as_internal_value_out_of_range): Fix typo in - error message. Return after printing domain error. - * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits - in max when shifting right. - -2007-04-20 Alan Modra - - * messages.c (as_internal_value_out_of_range): Extend to report - errors for values with invalid low bits set. - * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm - fields. Check that operands and opcode fields are disjoint. - (ppc_insert_operand): Check operands using mask rather than bit - count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust - insertion code. - (md_apply_fix): Adjust for struct powerpc_operand change. - -2007-04-19 Paul Brook - - * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on - Thumb-1. Add sanity check for bogus relaxations. - -2007-04-19 Paul Brook - - * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1. - -2007-04-19 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-19 Nathan Froyd - - * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe. - -2007-04-18 H.J. Lu - - * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4. - -2007-04-18 H.J. Lu - - * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4. - (match_template): Handle operand size for crc32 in SSE4.2. - (process_suffix): Handle operand type for crc32 in SSE4.2. - (output_insn): Support SSE4.2. - -2007-04-18 H.J. Lu - - * config/tc-i386.c (cpu_arch): Add .sse4.1. - (process_operands): Adjust implicit operand for blendvpd, - blendvps and pblendvb in SSE4.1. - (output_insn): Support SSE4.1. - -2007-04-18 Paul Brook - - * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible. - -2007-04-16 Kaz Kojima - - * config/tc-sh.c (sh_handle_align): Call as_bad_where instead - of as_warn_where for misaligned data. - -2007-04-15 Kaz Kojima - - * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle - rs_fill frags. - -2007-04-14 Steve Ellcey - - * Makefile.am: Add ACLOCAL_AMFLAGS. - * Makefile.in: Regenerate. - -2007-04-14 Kaz Kojima - - * config/tc-sh.c (align_test_frag_offset_fixed_p): New. - (sh_optimize_expr): Likewise. - * config/tc-sh.h (md_optimize_expr): Define. - (sh_optimize_expr): Prototype. - -2007-04-06 Matt Thomas - - * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp) - to emit pcrel relocations by DWARF2 in non-code sections. Borrowed - heavily from tc-sparc.c. (vax_cons_fix_new): Likewise. - -2007-04-04 Kazu Hirata - - * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a. - -2007-04-04 Paul Brook - - * config/tc-arm.c (do_neon_ext): Enforce immediate range. - (insns): Use I15 for vext. - -2007-04-04 Paul Brook - - * configure.tgt: Loosen checks for arm uclinux eabi targets. - -2007-04-02 Sterling Augustine - - * config/tc-xtensa.c (xtensa_flush_pending_output): Check - outputting_stabs_line_debug. - -2007-03-26 Anatoly Sokolov - - * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82, - at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p - devices. - * doc/c-avr.texi: Document new devices. - -2007-04-02 Richard Sandiford - - * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. - * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. - * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic. - -2007-03-30 Sterling Augustine - Bob Wilson - - * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument. - Do not check is_loop_target flag. - (xtensa_frob_label): Adjust calls to xtensa_move_labels. - (xg_assemble_vliw_tokens): Likewise. Also avoid calling - xtensa_move_labels for alignment of loop opcodes. - -2007-03-30 H.J. Lu - - * config/tc-i386.c (process_suffix): Reindent a bit. - -2007-03-30 Paul Brook - - * config/tc-arm.c (encode_thumb2_ldmstm): New function. - (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm. - (do_t_push_pop): Use encode_thumb2_ldmstm. - -2007-03-29 DJ Delorie - - * config/tc-m32c.c (rl_for, relaxable): Protect argument. - (md_relax_table): Add entries for ADJNZ macros. - (M32C_Macros): Add ADJNZ macros. - (subtype_mappings): Add entries for ADJNZ macros. - (insn_to_subtype): Check for adjnz and sbjnz insns. - (md_estimate_size_before_relax): Pass insn to insn_to_subtype. - (md_convert_frag): Convert adjnz and sbjnz. - -2007-03-29 Nick Clifton - - * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long - initialization. - * itbl-ops.h (enum e_processor): Initialise the e_nprocs field - using ITBL_NUMBER_OF_PROCESSORS. - * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS. - -2007-03-28 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): For instructions with 2 - register operands, encode destination in i.rm.regmem if its - RegMem bit is set. - -2007-03-28 Richard Sandiford - Phil Edwards - - * doc/as.texinfo: Put the contents after the title page rather - than at the end of the document. - -2007-03-27 Alan Modra - - * NEWS: Mention ".reloc". - -2007-03-26 Sterling Augustine - - * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms - in FLIX instructions. - -2007-03-26 Julian Brown - - * config/tc-arm.c (arm_it): Add immisfloat field. - (parse_qfloat_immediate): Disallow integer syntax for floating-point - immediates. Fix hex immediates, handle 0.0 and -0.0 specially. - (parse_neon_mov): Set immisfloat bit for operand if it parsed as a - float. - (neon_cmode_for_move_imm): Reject non-float immediates for float - operands. - (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm. - -2007-03-26 Julian Brown - - * doc/c-arm.texi: Add documentation for .dn/.qn directives. - -2007-03-26 Alan Modra - - * doc/as.texinfo (Reloc): Document. - * read.c (potable): Add "reloc". - (s_reloc): New function. - * write.c (reloc_list): New global var. - (resolve_reloc_expr_symbols): New function. - (write_object_file): Call it. - (write_relocs): Process reloc_list. - * write.h (struct reloc_list): New. - (reloc_list): Declare. - -2007-03-24 Paul Brook - - * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes. - -2007-03-24 Paul Brook - Mark Shinwell - - * config/tc-arm.c (operand_parse_code): Add OP_oRRw. - (parse_operands): Don't expect comma if first operand missing. - Handle OP_oRRw. - (do_srs): Encode register number, checking it is r13. Update comment. - (insns): Update SRS entries to take a register. - -2007-03-23 H.J. Lu - - * config/tc-i386.c (md_begin): Allow '.' in mnemonic. - -2007-03-23 Mark Shinwell - - * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that - attempt to jump to the next instruction into NOPs. - -2007-03-23 Alan Modra - - * config/tc-spu.c: Don't include opcode/spu.h. - (md_assemble): Set tc_fix_data.insn_tag and arg_format. - (md_apply_fix): Adjust. - * config/tc-spu.h: Include opcode/spu.h. - (struct tc_fix_info): New. - (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust. - (TC_FORCE_RELOCATION): Define. - -2007-03-22 Joseph Myers - - * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. - -2007-03-21 H.J. Lu - - * config/tc-i386.c (process_suffix): Check 0x90 instead of - xchg for xchg %rax,%rax. - -2007-03-21 H.J. Lu - - * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY - and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. - -2007-03-21 H.J. Lu - - PR binutils/4218 - * config/tc-i386.c (match_template): Properly handle 64bit mode - "xchg %eax, %eax". - -2007-03-21 Anton Ertl - - PR gas/4124 - * config/tc-alpha.c (emit_ustX): Fix ustq code generation. - -2007-03-21 H.J. Lu - - * Makefile.am: Run dep-am. - * Makefile.in: Regenerated. - - * config/tc-i386.c: Don't include "opcodes/i386-opc.h". - - * config/tc-i386.h: Include "opcodes/i386-opc.h". - (NOP_OPCODE): Removed. - (template): Likewise. - -2007-03-21 Andreas Schwab - - * config/tc-i386.h (NOP_OPCODE): Restore. - -2007-03-18 Mark Shinwell - - * config/tc-arm.c (do_mul): Don't warn about overlapping - Rd and Rm operands when assembling for v6 or above. - Correctly capitalize register names in the messages. - (do_mlas): Likewise. Delete spurious blank line. - -2007-03-16 Kazu Hirata - - * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa. - -2007-03-15 H.J. Lu - - * config/tc-i386.c (md_begin): Use i386_regtab_size to scan - i386_regtab. - (parse_register): Use i386_regtab_size instead of ARRAY_SIZE - on i386_regtab. - -2007-03-15 Alexandre Oliva - - PR gas/4184 - * app.c (do_scrub_chars): PUT after setting states. - -2007-03-15 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - - * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of - "opcode/i386.h". - (md_begin): Check reg_name != NULL for the last entry in - i386_regtab. - - * config/tc-i386.h: Move many entries to opcode/i386.h and - opcodes/i386-opc.h. - - * configure.in (need_opcodes): Set true for i386. - * configure: Regenerated. - -2007-03-15 H.J. Lu - - * Makefile.am (REPORT_BUGS_TO): Removed. - (INCLUDES): Remove -DREPORT_BUGS_TO. - * Makefile.in: Regenerated. - - * configure.in (--with-bugurl): Removed. - * configure: Regenerated. - - * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. - (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. - (TEXI2DVI): Likewise. - (gasver.texi): Removed. - (MOSTLYCLEANFILES): Remove gasver.texi. - (as.1): Don't depend on gasver.texi. - * doc/Makefile.in: Regenerated. - - * doc/as.texi: Include bfdver.texi instead of gasver.texi. - -2007-03-14 Daniel Jacobowitz - - * config/tc-arm.c (arm_copy_symbol_attributes): New. - * config/tc-arm.h (arm_copy_symbol_attributes): Declare. - (TC_COPY_SYMBOL_ATTRIBUTES): Define. - * gas/symbols.c (copy_symbol_attributes): Use - TC_COPY_SYMBOL_ATTRIBUTES. - -2007-03-14 Paul Brook - - * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. - -2007-03-14 Alan Modra - - PR 4029 - * write.c (relax_segment): Insert extra alignment padding - to break infinite relax loop when given impossible - gcc_except_table assembly. - -2007-03-12 H.J. Lu - - * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX - on i.tm.base_opcode. - (match_template): Likewise. - (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. - - * config/tc-i386.h (Opcode_D): New. - (Opcode_FloatR): Likewise. - (Opcode_FloatD): Likewise. - (D): Redefined. - (W): Likewise. - (FloatMF): Likewise. - (FloatR): Likewise. - (FloatD): Likewise. - -2007-03-09 Alexandre Oliva - - * app.c (do_scrub_chars): Recognize comments after # line "file". - * read.c (get_linefile_number): New. - (s_app_line): Accept ill-formed .linefile lines as comments. - -2007-03-09 Alan Modra - - * config/tc-i386.h (WORKING_DOT_WORD): Define. - -2007-03-09 Alexandre Oliva - - * app.c (do_scrub_chars): Turn #"file"flags into .linefile. - * as.h (new_logical_line_flags): New. - * input-scrub.c (new_logical_line): Turned into wrapper for... - (new_logical_line_flags): this. Handle flags. - * read.c (potable): Add linefile. Adjust appline argument. - (s_app_file): Fake .appfiles no more. - (s_app_line): For .linefile, accept file name and flags. - -2007-03-08 Alan Modra - - * symbols.c (symbol_relc_make_sym): Comment typo fixes. - -2007-03-08 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-03-07 Joseph Myers - - * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of - bug-reporting URL. - * doc/Makefile.am (gasver.texi): Define BUGURL. - * doc/as.texinfo: Use BUGURL. - * Makefile.in, configure, doc/Makefile.in: Regenerate. - -2007-03-06 Andreas Krebbel - - * config/tc-s390.c (md_parse_option): z9-ec option added. - -2007-03-02 Paul Brook - - * config/tc-arm.c (relax_immediate): Always return positive values. - (relaxed_symbol_addr): New function. - (relax_adr, relax_branch): Use it. - (arm_relax_frag): Pass strect argument. Adjust infinite loop check. - -2007-03-01 Joseph Myers - - * as.c (parse_args): Update copyright date. - -2007-02-28 Nathan Sidwell - - * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. - -2007-02-28 Nick Clifton - - PR gas/3797 - * config/tc-d10v.c (do_assemble): Do not generate error messages, - just return -1 whenever a problem is encountered. - (md_assemble): If do_assemble returns -1 generate a non-fatal - error message and return. - - PR gas/2623 - * config/tc-msp430.c (line_separator_char): Change to '{'. - -2007-02-27 Alan Modra - - * config/tc-m68hc11.c (fixup24): Correct fixup size. - (build_jump_insn): Likewise. - (build_insn): Likewise. - (s_m68hc11_relax): Likewise. - -2007-02-27 Alan Modra - - * config/obj-elf.c (elf_frob_file): frag_wane any new frags. - -2007-02-25 Mark Shinwell - - * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad. - -2007-02-23 Alan Modra - - * config/tc-mn10300.c (md_convert_frag): Correct fixup size. - (md_assemble): Likewise. - -2007-02-22 Alan Modra - - * write.c (size_seg): Always clear SEC_RELOC here. - (install_reloc): New function, extracted from.. - (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code - with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when - testing frag size. Set SEC_RELOC here. - -2007-02-21 Alan Modra - - PR 4082 - * config/tc-avr.h (TC_FX_SIZE_SLACK): Define. - -2007-02-20 Thiemo Seufer - - * doc/c-mips.texi: Document 74kc, 74kf, 74kx. - -2007-02-20 Thiemo Seufer - - * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations. - -2007-02-20 Thiemo Seufer - Chao-Ying Fu - - * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, - ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. - (macro_build): Add case '2'. - (macro): Expand M_BALIGN to nop, packrl.ph or balign. - (validate_mips_insn): Add support for balign instruction. - (mips_ip): Handle DSP R2 instructions. Support balign instruction. - (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, - md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 - command line options. - (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. - (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. - * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, - .set dspr2, .set nodspr2. - -2007-02-20 Nathan Sidwell - - * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. - (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. - -2007-02-18 Alan Modra - - * write.c (TC_FX_SIZE_SLACK): Define. - (write_relocs): Reinstate check for fixup within frag. - * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. - * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. - * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. - * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. - * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define. - -2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus - - * configure.in (--with-bugurl): New option. - * configure: Regenerate. - * dep-in.sed: Remove bin-bugs.h. - * Makefile.am (REPORT_BUGS_TO): Define. - (INCLUDES): Define REPORT_BUGS_TO. - (DEP_INCLUDES): Likewise. - ($(OBJS)): No longer depend on bin-bugs.h. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * as.c (show_usage): Don't print empty REPORT_BUGS_TO. - * as.h: Remove include of bin-bugs.h. - -2007-02-17 Alan Modra - - * write.c: White space fixes. - (fixup_segment): Move symbol_mri_common_p adjustments.. - (write_relocs): ..and symbol_equated_reloc_p adjustments.. - (adjust_reloc_syms): ..to here. - -2007-02-16 Alan Modra - - * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than - xmalloc, memset. Don't bother assigning NULL to known zero mem. - (subseg_set_rest): Remove unnecessary cast. - * write.c: Include libbfd.h. Replace PTR with void * throughout. - Remove unnecessary forward declarations and casts. - (set_symtab): Delete extern bfd_alloc. - (fixup_segment): Move. - -2007-02-15 Nathan Sidwell - - * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID. - * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. - (mcf5475_ctrl, mcf5485_ctrl): New. - (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. - (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. - (init_table): Add asid, mmubar, adjust rombar0. - -2007-02-14 Alan Modra - - * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. - * config/tc-i386.c: Wrap overly long lines, whitespace fixes. - (process_operands): Move old Seg2ShortForm and Seg3ShortForm - code, and test for these insns using a combination of - opcode_modifier and operand_types. - -2007-02-07 Paul Brook - - * configure.tgt: Add arm*-*-uclinux-*eabi. - -2007-02-05 Dave Brolley - Richard Sandiford - DJ Delorie - Stan Cox - Jim Blandy - Nick Clifton - Jim Wilson - Frank Ch. Eigler - Graydon Hoare - Ben Elliston - John Healy - Richard Henderson - - * Makefile.am (CPU_TYPES): Add mep. - (TARGET_CPU_CFILES): Add tc-mep.c. - (TARGET_CPU_HFILES): Add tc-mep.h. - (DEPTC_mep_elf): New variable. - (DEPTC_mep_coff): Likewise. - (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise. - * configure.in: Support mep. - * configure.tgt: Likewise. - * config/tc-mep.c: New file. - * config/obj-elf.c: New file. - * config/tc-mep.c: New file. - * config/tc-mep.h: New file. - * testsuite/gas/mep: New testsuite with content. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2007-02-05 Dave Brolley - - * cgen.c (gas_cgen_install_complex_reloc): Removed. - (complex_reloc_installation_howto): Removed. - -2007-02-05 Dave Brolley - Graydon Hoare - DJ Delorie - Catherine Moore - Michael Chastain - Frank Ch. Eigler - - * symbols.c (use_complex_relocs_for): New, to decide - when to use complex relocs. Add signed RELC support. - (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally - encode expression symbols as mangled complex relocation symbols (when - compiled with -DOBJ_COMPLEX_RELOC). - (symbol_relc_make_sym,value,expr): New traversal/conversion routines. - * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call - encode_addend with new args. Modify to get start, length from - ifield whenever it is set. Also change condition on which - self-describing relocs are encoded. Add hook into - gas_cgen_encode_addend. - (queue_fixup_recursively): Add signed RELC support. Change from masked - expr to trunc flag. Restore assignment of sub-field value to - temporary in fixups array. Reflect changed meaning of last arg to - queue_fixup_recursively. - (fixup): Add cgen_maybe_multi_ifield member. - (make_right_shifted_expr): New function. - (queue_fixup): Change to recursive function that fragments - fixups if operand has a multi-ifield. - (gas_cgen_parse_operand): Add RELC code to wrap expressions in - symbols, call weak_operand_overflow_check, and fragment call - queue_fixup with operand fields. - (gas_cgen_finish_insn) Modify to manage ifield pointer. - (weak_operand_overflow_check): New function to try to select - insns correctly. - (gas_cgen_encode_addend): New function for relc. - (gas_cgen_install_complex_reloc): Likewise. - (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc. - * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add - cgen_maybe_multi_ifield field to fx_cgen substructure. - * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32. - * symbols.h (symbol_relc_make_sym,value,expr): New prototypes. - -2007-02-03 DJ Delorie - - * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 - byte relocs. - * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. - (m32c_cons_fix_new): Prototype. - -2007-02-02 Bob Wilson - - * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init. - (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise. - -2007-02-02 Bob Wilson - - * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New. - (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. - (map_suffix_reloc_to_operator): New. - (map_operator_to_reloc): New. - (expression_maybe_register): Fix incorrect test of return value from - xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. - (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc. - -2007-02-02 Bob Wilson - - * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. - (tinsn_get_tok): Delete prototype. - * config/tc-xtensa.c (tinsn_get_tok): Delete. - -2007-02-02 Bob Wilson - - * config/xtensa-relax.h (struct build_instr): Delete id field. - * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL - and LABEL tokens. - (append_literal_op, append_label_op): Remove litnum/labnum arguments; - set op_data fields to zero. - (parse_id_constant): Delete. - (build_transition): Remove code to handle numbered literals and labels. - -2007-02-02 Bob Wilson - - * config/xtensa-relax.c (build_transition): Remove code after as_fatal. - (build_transition_table): Likewise. - -2007-02-01 Bob Wilson - - * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of - fx_tcbit. - * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove. - -2007-02-02 Alan Modra - - * write.h (struct fix ): Move. - (struct fix ): Rename to tcbit2. - * write.c (fix_new_internal): Adjust. - (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. - * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-msp430.c (msp430_force_relocation_local): Likewise. - * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. - * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. - Instead, compare fx_r_type. - * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use - fx_tcbit in place of fx_plt. - * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. - * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference - to fx_plt. - -2007-01-30 Nick Clifton - - * as.c (main): Mark symbols created via the --defsym command line - option as volatile so that they can be overridden later on by a - .set directive. This maintains compatibility with the behaviour - of earlier versions of the assembler. - * doc/as.texinfo (--defsym): Document that the defined symbol's - value can be overridden via a .set directive. - -2007-01-28 H.J. Lu - - * config/tc-i386.c (swap_imm_operands): Renamed to ... - (swap_2_operands): This. Take 2 ints. - (md_assemble): Updated. - (swap_operands): Call swap_2_operands to swap 2 operands. - -2007-01-24 DJ Delorie - - * config/tc-m32c.c (md_pseudo_table): Add .3byte. - -2007-01-22 Nick Clifton - - PR gas/3871 - * tc-score.c: Remove unnecessary uses of _(). - Make the err_msg[] a file level local array in order to save - storage space. - Remove unnecessary sprintf()s. - -2007-01-18 Mei Ligang - - PR gas/3871 - * config/tc-score.c : Using _() for const string. - Do not assign inst.error with a local string pointer. - (md_section_align): Pad section. - -2007-01-13 H.J. Lu - - * config/tc-i386.c (build_modrm_byte): Check number of operands - when procssing memory/register operand. - -2007-01-12 Nick Clifton - - PR gas/3856 - * macro.c (expand_irp): Do not ignore spaces inside quoted - strings. - -2007-01-12 Alan Modra - - * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - (TC_FORCE_RELOCATION): Define. - (TC_FORCE_RELOCATION_LOCAL): Define. - * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust. - -2007-01-12 Alan Modra - - * input-file.c (input_file_open): Check fgets return. - -2007-01-11 Paul Brook - - * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. - -2007-01-11 Nick Clifton - - PR gas/3707 - * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt - variable. - - * config/tc-mcore.c (md_number_to_chars): Use - number_to_chars_{big|little}endian. - -2007-01-08 Kazu Hirata - - * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an - architecture by itself. - (m68k_ip): Don't issue a warning for tbl instructions on fido. - (m68k_elf_final_processing): Treat Fido as an architecture by - itself. - -2007-01-08 Kai Tietz - - * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* - -2007-01-05 H.J. Lu - - * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax - depending on allow_naked_reg. - -2007-01-04 Paul Brook - - * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. - -2007-01-04 H.J. Lu - - PR gas/3830 - * config/tc-i386.c (register_prefix): New. - (set_intel_syntax): Set set_intel_syntax to "" if register - prefix isn't needed. - (check_byte_reg): Use register_prefix for error message. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. - -2007-01-04 Julian Brown - - * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM. - (do_neon_qshl_imm): Likewise. - (do_neon_rshl): New function. Handle rounding variants of - v{q}shl-by-register. - (insns): Use do_neon_rshl for vrshl, vqrshl. - -2007-01-04 Paul Brook - - * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt - and vacle. - -2007-01-03 H.J. Lu - - * config/tc-i386.c (swap_operands): Remove branches. - -2007-01-03 H.J. Lu - - * config/tc-i386.c: Update copyright year. - * config/tc-i386.h: Likewise. - -2007-01-03 H.J. Lu - - * config/tc-i386.c (smallest_imm_type): Return unsigned int - instead of int. - -2007-01-03 H.J. Lu - - * config/tc-i386.c: Convert to ISO C90 formatting - * config/tc-i386.h: Likewise. - -2007-01-03 David Daney - - * config/tc-mips.c (md_show_usage): Clean up -mno-shared - documentation. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/gas/ChangeLog-2007 b/gas/ChangeLog-2007 new file mode 100644 index 0000000000..7cd0a4a363 --- /dev/null +++ b/gas/ChangeLog-2007 @@ -0,0 +1,2642 @@ +2007-12-29 H.J. Lu + + * config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax, + -mindex-reg, -mnaked-reg and -mold-gcc. + +2007-12-27 John David Anglin + + * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative + number in parens. + +2007-12-23 H.J. Lu + + * config/tc-i386.c (set_intel_mnemonic): New. + (intel_mnemonic): Likewise. + (old_gcc): Likewise. + (OPTION_MMNEMONIC): Likewise. + (OPTION_MSYNTAX): Likewise. + (OPTION_MINDEX_REG): Likewise. + (OPTION_MNAKED_REG): Likewise. + (OPTION_MOLD_GCC): Likewise. + (md_pseudo_table): Add .intel_mnemonic and .att_mnemonic. + (match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T + mnemonic is specified. Don't allow old gcc support if old_gcc + is 0. + (md_longopts): Add -mmnemonic, -msyntax, -mindex-reg, + -mmnaked-reg and -mold-gcc. + (md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX, + OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC. + + * doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg + and AT&T mnemonic vs. Intel mnemonic. + +2007-12-20 Bob Wilson + + * config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for + expressions without suffixes. + (get_frag_property_flags): Preserve is_no_transform flag for frags + not marked as either instructions or literals. + +2007-12-17 H.J. Lu + + * config/tc-i386.c (output_insn): Use ARRAY_SIZE. + (lex_got): Likewise. + +2007-12-17 H.J. Lu + + * config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR + instead of frag_more/md_number_to_chars. + (md_short_jump_size): Removed. + (md_long_jump_size): Likewise. + (md_create_short_jump): Likewise. + (md_create_long_jump): Likewise. + +2007-12-13 Bob Wilson + + * config/tc-xtensa.c (xg_symbolic_immeds_fit): Relax for weak + references but not weak definitions. + +2007-12-12 Bob Wilson + + * config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to + weak symbols if longcalls are disabled. + +2007-12-11 Sterling Augustine + Bob Wilson + + * config/tc-xtensa.c (frag_format_size): Handle frags that expand to + wide branches. + (get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next + non-empty frag to find the LOOP instruction. Change comma typo to + a semicolon. + (relax_frag_immed, convert_frag_immed): Rename wide_insn variable to + from_widen_insn. + +2007-12-11 Alan Modra + + * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section. + +2007-12-10 Richard Sandiford + + * config/tc-mips.h (mips_nop_opcode): Declare. + (NOP_OPCODE): Define. + (mips_segment_info): New structure. + (TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list. + * config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE. + (mips_record_mips16_mode): New function. + (install_insn): Call it. + (mips_align): Likewise. Turn the fill argument into an "int *". + Use frag_align_code for code segments if no fill data is given. + (s_align): Adjust call accordingly. + (mips_nop_opcode): New function. + (mips_handle_align): Use the first variable byte to decide which + nop sequence is needed. Use md_number_to_chars and mips16_nop_insn. + +2007-12-07 Bob Wilson + + * config/tc-xtensa.c (O_pcrel): Define. + (suffix_relocs): Add pcrel suffix. + (md_pseudo_table): Add 4byte and 2byte directives. + (xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp. + (xg_assemble_literal): Likewise. Check for O_pcrel. + (expression_maybe_register): Reorganize. Handle BFD_RELOC_32_PCREL. + (xg_valid_literal_expression): Allow O_pcrel. + (md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL. + (tc_gen_reloc): Fix punctuation in error message. + +2007-12-06 Bob Wilson + + * config/tc-xtensa.c (xg_force_frag_space): Delete. + (xg_finish_frag, xg_assemble_literal_space): Replace calls to it. + (xtensa_create_property_segments, xtensa_create_xproperty_segments): + Set output_section for new property sections. Use subseg_set and + seg_info instead of retrieve_segment_info. Adjust arguments to + add_xt_block_frags and add_xt_prop_frags. Use standard functions + to create frags and fix records. + (retrieve_segment_info): Delete. + (add_xt_block_frags, add_xt_prop_frags): Replace calls to + retrieve_segment_info. Remove unused xt_block_sec arguments. + +2007-12-04 Alan Modra + + * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol + name and bracket. + +2007-11-30 Bob Wilson + + * config/tc-xtensa.h (md_allow_eh_opt): Define. + +2007-11-29 Mark Shinwell + + * config/tc-mips.c (mips_cpu_info_table): Add loongson2e + and loongson2f entries. + * doc/c-mips.texi: Document -march=loongson{2e,2f} options. + +2007-11-29 Martin Schwidefsky + + * config/tc-s390.c (md_begin): If the -mesa option is specified + add zarch opcodes to the hash table only if there is no variant + that is available for the esa mode as well. + +2007-11-26 Thomas Ogrisegg + + * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand. + +2007-11-19 Bob Wilson + + * config/xtensa-istack.h (tinsn_struct): Replace linenum field + with loc_directive_seen and debug_line. + * config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h. + (xg_build_to_insn): Copy the new fields instead of linenum. + (xg_build_token_insn): Likewise. Abort on INSTR_LABEL_DEF and move + common code out of the switch. + (md_assemble): Set new tinsn fields from DWARF information. Call + dwarf2_consume_line_info. + (xg_assemble_vliw_tokens): Update the code to select the "best" line + number to use new information. Call dwarf2_gen_line_info instead + of dwarf2_emit_insn. + +2007-11-19 Bob Wilson + + * dwarf2dbg.h (dwarf2_loc_directive_seen): New. + * dwarf2dbg.c (loc_directive_seen): Make external and rename to... + (dwarf2_loc_directive_seen): ...this. + (dwarf2_emit_insn, dwarf2_consume_line_info) + (dwarf2_emit_label, dwarf2_directive_loc): Use new name. + +2007-11-19 Bob Wilson + + * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info. + +2007-11-19 Bob Wilson + + * dwarf2dbg.c (dwarf2_consume_line_info): New. + (dwarf2_emit_insn): Use it here. + (dwarf2_directive_loc): Fix check for consecutive .loc directives + when debug_type is DEBUG_DWARF2. + * dwarf2dbg.h (dwarf2_consume_line_info): New prototype. + * config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info. + (md_assemble): Likewise. + +2007-11-17 Thiemo Seufer + + * config/tc-mips.c (md_parse_option): Match mips_optimize to the -O + option supplied, but still keep mips_optimize == 2 as default value. + +2007-11-17 Thiemo Seufer + + * doc/as.texinfo: Document the new attribute value. + +2007-11-16 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add ATmega32HVB device. + * doc/c-avr.texi: Likewise. + +2007-11-16 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add ATmega1284P device. + * doc/c-avr.texi: Likewise. + +2007-11-14 Tristan Gingold + + * config/tc-ia64.c (AR_RUC): Defined. + (ar): Add "ar.ruc". + (specify_resource): Handle AR_RUC like AR_ITC. + +2007-11-13 Nick Clifton + + * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to + be generated for alignment fixups. + * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call + mn10300_force_relocation. + +2007-11-12 Nick Clifton + + PR gas/5269 + * config/tc-frv.c (md_show_usage): Rewrite usage description to + make it easier to translate. + * gas/po/gas.pot: Regenerate. + +2007-11-12 Tristan Gingold + + * config/tc-ppc.c (md_assemble): If -mregnames, when parsing + PPC_OPERAND_CR always parse as expression to allow register name + followed by an expression. + +2007-11-09 H.J. Lu + + * config/tc-i386.c (match_template): Re-order suffix check. + +2007-11-07 Bob Wilson + + * config/tc-xtensa.c (relaxable_section): Check for .eh_frame. + +2007-11-07 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add ATtiny88 device. + * doc/c-avr.texi: Likewise. + +2007-11-07 Anatoly Sokolov + + * config/tc-avr.c (mcu_types): Add new devices: ATmega48P, + ATmega88P, ATmega168P, Atmega328P + * doc/c-avr.texi: Document new devices. + +2007-11-07 Tristan Gingold + + * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses + offset within the TOC instead of the VMA. + +2007-11-06 Paul Brook + + * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6. + +2007-11-06 Nick Clifton + + * ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke + it to see if the optimizations should be applied. + * config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call + frame optimization if linker relaxation is not enabled. + +2007-11-05 Danny Smith + + * read.c (ALIGN_LIMIT): Rename to ... + (TC_ALIGN_LIMIT): Guard against prior definition. + * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define. + +2007-11-01 Sterling Augustine + + * config/tc-xtensa.c (xtensa_symbol_new_hook): New. + (xtensa_mark_difference_of_two_symbols): New. + (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols. + * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol. + (tc_symbol_new_hook): Define. + +2007-11-01 H.J. Lu + + * config/tc-i386.c (md_assemble): Replace no_xsuf with + no_ldsuf. + (match_template): Likewise. + +2007-11-01 H.J. Lu + + * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii + letter. + +2007-11-01 H.J. Lu + + * config/tc-i386.c (process_suffix): Check addrprefixop0 to + see if the address size override prefix changes the size of the + first operand. + (check_byte_reg): Don't warn if byteokintel is set. + (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword + is set. + (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword + is set. + +2007-10-31 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Remove devices that were never produced: + attiny10, atmega83, atmega85, atmega603. + * doc/c-avr.texi: Likewise. + +2007-10-30 Nick Clifton + + * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when + sym_diff relocs should be generated. + (md_apply_fix): Skip R_MN10300_ALIGN relocs. + (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. + (mn10300_handle_align): New function. Generate R_MN10300_ALIGN + relocs to record alignment requests. + * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force + R_MN10300_ALIGN relocs. + (HANDLE_ALIGN): Define. Call mn10300_handle_align. + +2007-10-30 Nick Clifton + + * doc/as.texinfo (Section): Replace "subsegment" with + "subsection". + +2007-10-27 H.J. Lu + + PR gas/5221 + * config/obj-elf.c (obj_elf_section): Handle optional + parameters for .pushsection. + + * doc/as.texinfo: Document optional parameters for + .pushsection. + +2007-10-24 H.J. Lu + + * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. + * configure: Regenerated. + +2007-10-24 Alan Modra + + * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE. + Run "make dep-am". + * configure.in: Invoke AC_GNU_SOURCE. + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2007-10-19 Nick Clifton + + * expr.c (expr): Test md_allow_local_subtract (if defined) before + allowing the evaluation of an expression involving two symbols + defined in the same section. + * doc/internals.texi (md_allow_local_subtract): Document the new + macro. + * config/tc-mn10300.h (md_allow_local_subtract): Define. + (RELAX_EXPANSION_POSSIBLE): Define. + (MAX_RELOC_EXPANSION): Define. + (TC_FRAG_TYPE): Define. + * config/tc-mn10300.c (md_assemble): Mark fragments as containing code. + (tc_gen_reloc): Return an array of relocs. If necessary generate + two relocs to handle an expressions involving the difference of + two symbols. + (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL + when then fixup is not pc-relative. + (mn10300_allow_local_subtract): New function. Determine when it + is safe to compute the difference between two symbols at assemble + time. + +2007-10-19 Alan Modra + + * config/tc-ppc.c (ppc_parse_name): Skip leading '%'. + (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of + chars that can start a name. + +2007-10-18 Carlos O'Donell + + * config/tc-hppa.c (pa_ip): Fix comment typo. + (pa_comm): Likewise. + +2007-10-18 Nick Clifton + + PR gas/5172 + * config/tc-arc.c (md_estimate_size_before_relax): Change error + message. + (md_convert_frag): Just call abort. + * config/tc-i860.c (md_estimate_size_before_relax): Change error + message. + * config/tc-i860.h (md_convert_frag): Just call abort. + * config/tc-ip2k.c (md_estimate_size_before_relax): Change error + message. + (md_convert_frag): Just call abort. + * config/tc-m68k.c (m68k_ip): Do not attempt translation of + architecture names. + PR gas/5174 + * config/tc-arm.c: Fix formatting and spelling errors. + PR gas/5175 + * config/tc-xc16x.c: Fix formatting and internationalization. + * po/gas.pot: Regenerate. + +2007-10-17 Nick Clifton + + PR gas/5173 + * as.h (ieee_md_atof, vax_md_atof): New prototypes. + * read.c (s_float_space): Allow a zero length return from md_atof + if the error message has been set. + (float_cons): Likewise. + * config/atof-ieee.c (ieee_md_atof): New function. Performs the + md_atof() function in a generic way for IEEE using targets. + * config/atof-vax.c (md_atof): Rename to vax_md_atof. Use the + same error message as ieee_md_atof. + * tc-alpha.c (md_atof): Use ieee_md_atof. Remove #define of vax_md_atof. + * tc-arc.c (md_atof): Use ieee_md_atof. + * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the + constant 2. Use a precision of 5 for the 'x' and 'p' types. + * tc-avr.c (md_atof): Use ieee_md_atof. + * tc-bfin.c (md_atof): Use ieee_md_atof. + * tc-cr16.c (md_atof): Use ieee_md_atof. + * tc-crx.c (md_atof): Use ieee_md_atof. + * tc-d10v.c (md_atof): Use ieee_md_atof. + * tc-d30v.c (md_atof): Use ieee_md_atof. + * tc-dlx.c (md_atof): Use ieee_md_atof. + * tc-fr30.c (md_atof): Use ieee_md_atof. + * tc-frv.c (md_atof): Use ieee_md_atof. + * tc-h8300.c (md_atof): Use ieee_md_atof. + * tc-hppa.c (md_atof): Use ieee_md_atof. + * tc-i370.c (md_atof): Use ieee_md_atof. + (i370_dc): Convert the 'E' type to 'f' before calling md_atof. + * tc-i386.c (md_atof): Use ieee_md_atof. + * tc-i860.c (md_atof): Use ieee_md_atof. + * tc-i960.c (md_atof): Use ieee_md_atof. + * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof. + * tc-ip2k.c (md_atof): Use ieee_md_atof. + * tc-iq2000.c (md_atof): Use ieee_md_atof. + * tc-m32c.c (md_atof): Use ieee_md_atof. + * tc-m32r.c (md_atof): Use ieee_md_atof. + * tc-m68hc11.c (md_atof): Use ieee_md_atof. + * tc-m68k.c (md_atof): Use ieee_md_atof. + * tc-maxq.c (md_atof): Use ieee_md_atof. + * tc-mcore.c (md_atof): Use ieee_md_atof. + * tc-mep.c (md_atof): Use ieee_md_atof. + * tc-mips.c (md_atof): Use ieee_md_atof. + * tc-mmix.c (md_atof): Use ieee_md_atof. + * tc-mn10200.c (md_atof): Use ieee_md_atof. + * tc-mn10300.c (md_atof): Use ieee_md_atof. + * tc-msp430.c (md_atof): Use ieee_md_atof. + * tc-mt.c (md_atof): Use ieee_md_atof. + * tc-ns32k.c (md_atof): Use ieee_md_atof. + * tc-openrisc.c (md_atof): Use ieee_md_atof. + * tc-or32.c (md_atof): Use ieee_md_atof. + * tc-pdp11.c (md_atof): New function. Call vax_md_atof. + * tc-pj.c (md_atof): Use ieee_md_atof. + * tc-ppc.c (md_atof): Use ieee_md_atof. + * tc-s390.c (md_atof): Use ieee_md_atof. + * tc-score.c (md_atof): Use ieee_md_atof. + * tc-sh.c (md_atof): Use ieee_md_atof. + * tc-sparc.c (md_atof): Use ieee_md_atof. + * tc-spu.c (md_atof): Use ieee_md_atof. + * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof. + * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof. + * tc-tic54.c (md_atof): Use ieee_md_atof. + * tc-v850.c (md_atof): Use ieee_md_atof. + * tc-vax.c (md_atof): New function. Call vax_md_atof. + * tc-xc16x.c (md_atof): Use ieee_md_atof. + * tc-xstormy16.c (md_atof): Use ieee_md_atof. + * tc-xtensa.c (md_atof): Use ieee_md_atof. + * tc-z8k.c (md_atof): Use ieee_md_atof. + * doc/internals.texi: Update description of md_atof function. + * po/gas.pot: Regenerate. + +2007-10-16 Bob Wilson + + * doc/as.texinfo (Overview): Add Xtensa --rename-section option. + +2007-10-16 Nick Clifton + + * config/obj-elf.c (obj_elf_type): Accept "common" as a valid + symbol type. + * doc/as.texinfo (.type): Document the types accepted by the + type pseudo op, including "common". + +2007-10-15 Peter Bergner + + * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted + according to major opcode number. + +2007-10-15 Alan Modra + + * read.c (do_s_func): Check asprintf return status. + * stabs.c (stabs_generate_asm_func): Likewise. + (stabs_generate_asm_endfunc): Likewise. + +2007-10-12 H.J. Lu + + * config/tc-i386.c (process_operands): Simplify implicit xmm0 + handling. + +2007-10-12 H.J. Lu + + * config/tc-i386.c (process_operands): Check the firstxmm0 + field in opcode_modifier for instruction with a implicit + xmm0 as the first operand. + +2007-10-12 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, + AT90PWM3B. + * doc/c-avr.texi: Document new devices. + +2007-10-12 M R Swami Reddy + + * config/tc-cr16.c: Update the md_relax_table for 1 word b + instruction range information. + +2007-10-12 Daniel Jacobowitz + + * doc/as.texinfo (Object Attributes): New chapter. + (Pseudo Ops): Document .gnu_attribute. + (LNS directives): Correct .loc_mark_labels documentation. + +2007-10-11 Nick Clifton + + * config/obj-elf.c (obj_elf_section): When pushing a section, if + there is a comma then the following argument must be a subsection + number. + +2007-10-11 H.J. Lu + + * doc/c-i386.texi: Update which instruction's operands are + swapped. + +2007-10-11 Nick Clifton + + PR gas/5161 + * config/tc-ia64.c: Allow for translations of error and warning + messages. + * po/gas.pot: Regenerate. + + PR gas/5158 + * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error + message. + * po/gas.pot: Regenerate. + + PR gas/5155 + * config/tc-msp430.c: Fix spelling typos. + +2007-10-11 Nick Clifton + + * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION. + +2007-10-08 Maciej W. Rozycki + + * config/tc-mips.c (AT): Rename to... + (ATREG): ... this. + (AT): New definition. + (mips_set_options): Rename "noat" to "at"; change the type. + (mips_opts): Update accordingly. + (append_insn): Likewise. + (macro_build_ldst_constoffset): Likewise. + (load_address): Likewise. + (macro, macro2): Likewise. + (s_mipsset): Handle ".set at=REG". Update handling of ".set at" + and ".set noat". + +2007-10-08 Nick Clifton + + * doc/as.texinfo (Previous): Clarify explanation of the behaviour + of this pseudo-op and add a couple of examples. + +2007-10-08 Nick Clifton + + PR gas/5121 gas/5122 gas/5123 + * Makefile.am (CFILES): Add cgen.c + (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, + tc-tic4x.c and xtensa-relax.c. + (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, + tc-tic4x.h and xtensa-relax.h. + (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, + te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h, + te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h. + (CONFIG_ATOF_CFILES): New variable. + (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with + dependency upon TARG_ENV_HFILES. + (DEPTC): Do not put "#include opcodes/-desc.h" into + cgen-desc.h when foo-desc.h does not exit. + Run make dep-am. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + PR gas/5124 gas/5125 + * po/es.po: Regenerate. + * po/fr.po: Regenerate. + * po/gas.pot: Regenerate. + * po/rw.po: Regenerate. + * po/tr.po: Regenerate. + * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation + of error messages. + PR gas/5126 + * config/obj-som.c: Likewise. + PR gas/5129 + * config/tc-arc.c: Likewise. + PR gas/5131 gas/5132 + * config/tc-arm.c: Likewise. + PR gas/5137 + * config/tc-bfin.c: Likewise. + PR gas/5143 + * config/tc-frv.c: Likewise. + PR gas/5142 + * config/tc-dlx.c: Likewise. + +2007-10-08 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, + ATtiny48, AT90PWM216, AT90PWM316. + * doc/c-avr.texi: Document new devices. + +2007-10-08 Nick Clifton + + PR gas/5133 + * config/tc-arm.c (md_apply_fix): Correct error message. + PR gas/5134 + * config/tc-arm.c (md_apply_fix): Likewise. + PR gas/5136 + * config/tc-bfin.c (md_apply_fix): Fix error message. + PR gas/5135 + (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages. + +2007-10-05 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit + immediate operands directly for instructions with 4 operands. + +2007-10-04 H.J. Lu + + PR gas/5109 + * config/tc-i386.c (process_suffix): Clear QWORD suffix if it + is ignored in Intel mode. + +2007-10-04 Helge Deller + + * read.c (potable): Add string8, string16, string32 and string64. + Add bit size for stringer function. + (stringer_append_char): New. + (stringer): Use stringer_append_char(). + * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function. + * config/obj-elf.c (obj_elf_ident): Likewise. + * config/tc-alpha.c (s_alpha_stringer): Likewise. + * config/tc-dlx.c (dlx_pseudo_table): Likewise. + * config/tc-hppa.c (pa_stringer): Likewise. + * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise. + * config/tc-m68hc11.c (md_pseudo_table): Likewise. + * config/tc-mcore.c (md_pseudo_table): Likewise. + * config/tc-mips.c (mips_pseudo_table): Likewise. + * config/tc-spu.c (md_pseudo_table): Likewise. + * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'. + * doc/as.texinfo (ABORT): Fix identing. + (String): Document new string8, string16, string32, string64 + functions. + * NEWS: Mention the new feature. + +2007-10-03 Nick Clifton + + PR gas/5078 + * config/tc-avr.c (avr_get_constant): Extend error message to + mention that the constant must be positive. + +2007-10-03 Nick Clifton + + * config/tc-avr.c (avr_get_constant): + PR gas/5089 + * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo. + PR gas/5090 + (md_assemble): Fix spelling typo. + +2007-10-03 Alan Modra + + PR 4303 + * stabs.c (aout_process_stab): Set BSF_DEBUGGING. + +2007-10-01 M R Swami Reddy + + * config/tc-cr16.c: Replaced 'tabs' with white spaces and + added R_CR16_DISP8 as default reloc type for b instructions. + +2007-09-30 H.J. Lu + + PR gas/5080 + * config/tc-i386.c (check_long_reg): Also handle cvttss2si. + (check_qword_reg): Also handle cvttsd2si. + +2007-09-27 Kazu Hirata + + * config/m68k-parse.h (m68k_register): Use MBO instead of MBB. + (last_movec_reg): Change to MBO. + * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB. + (m68k_ip): Use MBO instead of MBO. + (init_table): Use MBO instead of MBO. Add an entry for mbo. + +2007-09-26 Jan Beulich + + * config/tc-i386.c (build_modrm_byte): Also check for RegEip + when considering IP-relative addressing. + +2007-09-26 Jan Beulich + + * config/tc-i386.h (md_register_arithmetic): Define. + * config/tc-ia64.h (md_register_arithmetic): Likewise. + * doc/internals.texi: Document md_register_arithmetic. + * expr.c (make_expr_symbol): Force O_register expressions into + reg_section. + (expr): Provide default for md_register_arithmetic. Don't resolve + adding/subtracting constants to/from registers if + md_register_arithmetic is zero. + +2007-09-26 Jan Beulich + + * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP. + (cfi_finish): Add second empty instance. + +2007-09-26 Jan Beulich + + * config/tc-ia64.c (dot_pred_rel): Replace specialized handling + with simple call to parse_operand. + +2007-09-26 Jan Beulich + + * config/tc-i386.c (NUM_FLAG_CODE): Remove. + +2007-09-26 Jan Beulich + + * as.c (itbl_parse): Remove #define. + (struct itbl_file_list): Move down and ... + (itbl_files): .. conditionalize upon HAVE_ITBL_CPU. + (show_usage): Conditionalize printing of --itbl option upon + HAVE_ITBL_CPU. + (parse_args): Conditionalize handling of -t/--itbl options upon + HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with + 't'. + +2007-09-25 H.J. Lu + + * config/tc-i386.c (output_insn): Use i.tm.opcode_length to + check opcode length. + +2007-09-25 Nathan Sidwell + + * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New. + (BRANCHBWPL, FRAG_VAR_SIZE): New. + (md_relax_table): Add BRANCHBWPL entries. + (m68k_ip): Choose BRANCHBWPL relaxation if necessary. + (md_assemble): Use FRAG_VAR_SIZE. + (md_convert_frag_1): Add BRANCHBWPL cases. + (md_estimate_size_before_relaz): Likewise. + +2007-09-24 Carlos O'Donell + + * config/tc-mips.c (s_align): Set max_alignment to 28. + +2007-09-20 H.J. Lu + + PR 658 + * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed. + (set_allow_index_reg): New. + (allow_index_reg): Likewise. + (md_pseudo_table): Add "allow_index_reg" and + "disallow_index_reg". + (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for + fake index registers. + (i386_scale): Updated. + (i386_index_check): Support fake index registers. + (parse_real_register): Return NULL on eiz/riz if fake index + registers aren't allowed. + +2007-09-19 Nick Clifton + + * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte + fixups. + +2007-09-19 Bob Wilson + + * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo. + +2007-09-18 Bernd Schmidt + + * config/bfin-parse.y (asm_1): Slightly improve error messages + for "reg += const;". + +2007-09-18 Alan Modra + + PR gas/5026 + * read.c (emit_expr): Only use long long if required and available. + +2007-09-17 H.J. Lu + + * config/tc-i386.c (baseindex): Removed. + (build_modrm_byte): Check reg_num for RIP register instead of + reg_type. + (i386_index_check): Likewise. + +2007-09-17 H.J. Lu + + PR gas/5035 + * config/obj-coff.c (obj_coff_endef): Remove checking size of + def_symbol_in_progress. + +2007-09-17 Evandro Menezes + + PR gas/5026 + * read.c (emit_expr): Use unsigned long long values in warning + message about truncated expressions. + +2007-09-17 H.J. Lu + + * config/tc-i386.c (intel_e04): Revert the last change. + +2007-09-17 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2007-09-15 H.J. Lu + + PR gas/5034 + * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is + T_NIL. + +2007-09-14 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Adjust comment line + wrap. + +2007-09-14 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Use (A || B) instead + of (A || B) != 0. + +2007-09-14 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Adjust indentation. + +2007-09-14 Michael Meissner + Dwarakanath Rajagopal + Tony Linthicum + + * NEWS: Add SSE5 support to NEWS file. + + * config/tc-i386.h (drex_byte): Add fields to allow process_drex + and build_modrm_byte to communicate. + (DREX_OC0): New SSE5 macro. + (DREX_OC0_MASK): Ditto. + (DREX_OC1): Ditto. + (DREX_OC1_MASK): Ditto. + (DREX_XMEM_X1_X2_X2): Ditto. + (DREX_X1_XMEM_X2_X2): Ditto. + (DREX_X1_XMEM_X2_X1: Ditto. + (DREX_X1_X2_XMEM_X1: Ditto. + (DREX_XMEM_X1_X2): Ditto. + (DREX_X1_XMEM_X2): Ditto. + (drex_byte): New structure to describe the DREX byte. + + * config/tc-i386.c (process_drex): New function to handle SSE5 + DREX bits. + (build_modrm_byte): Use the information cached away in + process_drex in the case of DREX instructions. + (i386_insn): Add drex field. + (pi): Add debugging of drex field. + (md_assemble): Treat SSE5 like SSE3 in instructions with an + immediate byte. Move REX field to DREX if this is a DREX + instruction. + (process_operands): Add SSE5 support. + (build_modrm_byte): Ditto. + (output_insn): Ditto. + (cpu_arch): Ditto. + (i386_align_code): Ditto. + +2007-09-12 Jan Beulich + + * config/tc-i386.c (md_assemble): Move handling of extrq/insertq + after generic operand swapping, and swap only the immediate operands. + +2007-09-11 Nathan Sidwell + + * config/tc-m68k.c (m68k_ip): Add mcfisa_c case. + (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV. + +2007-09-09 H.J. Lu + + * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3 + byte opcode. + +2007-09-08 H.J. Lu + + * config/tc-i386.c (cpu_flags_check_x64): Renamed to ... + (cpu_flags_check_cpu64): This. Inline. + (uints_all_zero): New. + (uints_set): Likewise + (uints_equal): Likewise + (UINTS_ALL_ZERO): Likewise + (UINTS_SET): Likewise + (UINTS_CLEAR): Likewise + (UINTS_EQUAL): Likewise + (cpu_flags_and): Likewise. + (cpu_flags_or): Likewise. + (operand_type_and): Likewise. + (operand_type_or): Likewise. + (operand_type_xor): Likewise. + (cpu_flags_not): Inline and use switch instead of loop. + (cpu_flags_match): Updated. + (operand_type_match): Likewise. + (smallest_imm_type): Likewise. + (set_cpu_arch): Likewise. + (pt): Likewise. + (md_assemble): Likewise. + (parse_insn): Likewise. + (optimize_imm): Likewise. + (match_template): Likewise. + (process_suffix): Likewise. + (update_imm): Likewise. + (finalize_imm): Likewise. + (process_operands): Likewise. + (build_modrm_byte): Likewise. + (i386_immediate): Likewise. + (i386_displacement): Likewise. + (i386_index_check): Likewise. + (i386_operand): Likewise. + (i386_target_format): Likewise. + (intel_e11): Likewise. + (operand_type): Remove implicitregister. + (operand_type_check): Updated. Inline. + (cpu_flags_all_zero): Removed. + (operand_type_all_zero): Likewise. + (i386_array_biop): Likewise. + (cpu_flags_biop): Likewise. + (operand_type_biop): Likewise. + +2007-09-08 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-09-08 H.J. Lu + + * configure.in (AC_CHECK_HEADERS): Add limits.h. + * configure: Regenerated. + * config.in: Likewise. + + * config/tc-i386.c: Include "opcodes/i386-init.h". + (_i386_insn): Use i386_operand_type for types. + (cpu_arch_flags): Updated to new types with bitfield. + (cpu_arch_tune_flags): Likewise. + (cpu_arch_isa_flags): Likewise. + (cpu_arch): Likewise. + (i386_align_code): Likewise. + (set_code_flag): Likewise. + (set_16bit_gcc_code_flag): Likewise. + (set_cpu_arch): Likewise. + (md_assemble): Likewise. + (parse_insn): Likewise. + (process_operands): Likewise. + (output_branch): Likewise. + (output_jump): Likewise. + (parse_real_register): Likewise. + (mode_from_disp_size): Likewise. + (smallest_imm_type): Likewise. + (pi): Likewise. + (type_names): Likewise. + (pt): Likewise. + (pte): Likewise. + (swap_2_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. + (build_modrm_byte): Likewise. + (output_insn): Likewise. + (disp_size): Likewise. + (imm_size): Likewise. + (output_disp): Likewise. + (output_imm): Likewise. + (gotrel): Likewise. + (i386_immediate): Likewise. + (i386_displacement): Likewise. + (i386_index_check): Likewise. + (i386_operand): Likewise. + (parse_real_register): Likewise. + (i386_intel_operand): Likewise. + (intel_e09): Likewise. + (intel_bracket_expr): Likewise. + (intel_e11): Likewise. + (cpu_arch_flags_not): New. + (cpu_flags_check_x64): Likewise. + (cpu_flags_all_zero): Likewise. + (cpu_flags_not): Likewise. + (i386_cpu_flags_biop): Likewise. + (cpu_flags_biop): Likewise. + (cpu_flags_match); Likewise. + (acc32): New. + (acc64): Likewise. + (control): Likewise. + (reg16_inoutportreg): Likewise. + (disp16): Likewise. + (disp32): Likewise. + (disp32s): Likewise. + (disp16_32): Likewise. + (anydisp): Likewise. + (baseindex): Likewise. + (regxmm): Likewise. + (imm8): Likewise. + (imm8s): Likewise. + (imm16): Likewise. + (imm32): Likewise. + (imm32s): Likewise. + (imm64): Likewise. + (imm16_32): Likewise. + (imm16_32s): Likewise. + (imm16_32_32s): Likewise. + (operand_type): Likewise. + (operand_type_check): Likewise. + (operand_type_match): Likewise. + (operand_type_register_match): Likewise. + (update_imm): Likewise. + (set_code_flag): Also update cpu_arch_flags_not. + (set_16bit_gcc_code_flag): Likewise. + (md_begin): Likewise. + (parse_insn): Use cpu_flags_check_x64 to check 64bit support. + Use cpu_flags_match to match instructions. + (i386_target_format): Update cpu_arch_isa_flags and + cpu_arch_tune_flags to i386_cpu_flags type with bitfield. + (smallest_imm_type): Check cpu_arch_tune to tune for i486. + (match_template): Don't initialize overlap0, overlap1, + overlap2, overlap3 and operand_types. + (process_suffix): Handle crc32 with 64bit register. + (MATCH): Removed. + (CONSISTENT_REGISTER_MATCH): Likewise. + + * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags + type. + +2007-09-06 H.J. Lu + + * config/tc-i386.c (match_template): Handle invlpga, vmload, + vmrun and vmsave in SVME. + (process_suffix): Likewise. + +2007-09-05 H.J. Lu + + * config/tc-i386.c (i386_index_check): Don't use RegRex + on the reg_type field. + (parse_real_register): Use `||' instead of `|'. + +2007-09-04 H.J. Lu + + * config/tc-i386.c (process_operands): Remove segment override + check on SVME instructions. + (i386_index_check): Remove memory operand check on SVME + instructions. + +2007-09-04 Alan Modra + + * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc". + (md_assemble): Update init of insn. Use insn.reloc instead of + calculating from flag. + (get_imm): Set reloc rather than flag. + (calcop): Formatting. + +2007-08-29 Daniel Jacobowitz + + * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives. + +2007-08-28 Daniel Jacobowitz + + * doc/c-arc.texi: Fix typo. + +2007-08-28 H.J. Lu + + * config/tc-i386.c (process_suffix): Handle cmpxchg8b in + Intel mode. + +2007-08-28 Nathan Sidwell + + * config/tc-m68k.c (mcf52235_ctrl): Add cache registers. + (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2. + (mcf5407_ctrl): New. + (m68k_cpus): Adjust 5407 entry. + +2007-08-28 Maxim Kuvyrkov + + * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers. + (m68k_cpus): Define 51QE cpu. + +2007-08-28 Mark Shinwell + Joseph Myers + + * as.c (main): Flush stderr before printing listings to ensure + consistent output order across platforms. + +2007-08-28 Robert Sebastian Gerus + + * configure.tgt: Add support for i[3-7]86-*-dragonfly*. + +2007-08-24 Joseph Myers + Paul Brook + + * remap.c: New. + * as.h (remap_debug_filename, add_debug_prefix_map): Declare. + * as.c (show_usage): Document --debug-prefix-map option. + (parse_args): Handle --debug-prefix-map. + * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths. + * stabs.c (stabs_generate_asm_file): Remap debug paths. + * Makefile.am (GAS_CFILES): Add remap.c + (GENERIC_OBJS): Add remap.o. + Regenerate dependencies. + * Makefile.in: Regenerate. + * doc/as.texinfo (--debug-prefix-map): Document. + +2007-08-24 Aurelien Jarno + + * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long + before printing them. + +2007-08-24 Anders Waldenborg + Alan Modra + + * config/tc-i386.c (lex_got): Don't scan past a comma. + +2007-08-23 Ben Elliston + + * config/tc-ppc.c (parse_cpu): Handle "750cl". + (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7". + (md_show_usage): Document -m750cl. + (md_assemble): Handle two delimiters in succession (eg. `),'). + * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl. + * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests. + * testsuite/gas/ppc/ppc750ps.s: New file. + * testsuite/gas/ppc/ppc750ps.d: Likewise. + +2007-08-23 Ben Elliston + + * doc/c-arm.texi (ARM Directives): Move brackets out of @vars. + +2007-08-17 Alan Modra + + PR gas/4079 + * config/tc-i386.c (x86_cons): Complain about invalid @got etc. + expressions. + (i386_immediate): Detect and complain about more cases of + invalid immediate expressions. Return failure rather than + converting them to zero. + (i386_displacement): Likewise. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-14 Andreas Schwab + + * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is + unrepresentable. + +2007-08-12 Matthias Klose + + * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include + $(top_srcdir)/../../bfd/doc. + * doc/Makefile.in: Regenerate. + +2007-08-10 Nick Clifton + + * NEWS: Add a marker for the 2.18 features. + +2007-08-09 Paul Brook + + * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment. + +2007-08-09 H.J. Lu + + * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb. + +2007-07-29 H.J. Lu + + * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert + DWORD memory to Reg64 in Intel synax. + (check_qword_reg): Allow cvtsd2si to convert QWORD memory to + Reg32 in Intel syntax. + +2007-07-25 Sterling Augustine + + * config/tc-xtensa.c (xtensa_extui_opcode): New. + (xg_expand_assembly_insn): Check for invalid extui operands. + (md_begin): Initialize xtensa_extui_opcode. + +2007-07-24 Nick Clifton + + * config/tc-mep.h (skip_whitespace): Remove definition. + +2007-07-23 H.J. Lu + + * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386. + (f32_15): Removed. + (jump_31): New. + (f32_patt): Remove f32_15. + (f16_patt): Likewise. + (i386_align_code): Updated to alt_long_patt for 64bit by + default. + + * config/tc-i386.h (processor_type): Add PROCESSOR_I386. + +2007-07-23 Evandro Menezes + + * config/tc-i386.c (i386_align_code): Enable alignment up to + MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment + for K8. + + * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31. + +2007-07-20 Nick Clifton + + * app.c (do_scrub_chars): Provide a one character buffer to hold a + pushed back newline at the end of an unterminated quoted string. + +2007-07-14 Nick Clifton + + * config/tc-arm.c (create_register_alias): Return a boolean rather + than an integer. + Check the return value of insert_reg_alias and do not continue to + create aliases once an insertion has failed. + (s_unreq): Delete the all-upper-case and all-lower-case + alternatives as well. + +2007-07-12 Kai Tietz + + * symbols.c: Print bfd_hostptr_t to file via fprintf_vma. + * write.c: Likewise. + +2007-07-11 Daniel Jacobowitz + + * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use + HAVE_64BIT_SYMBOLS. + +2007-07-04 Richard Sandiford + + * config/tc-mips.c (mips_cpu_info_table): Add new entries for + {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2. + Deprecate *x and *fx. + * doc/c-mips.texi: Document the new CPU arguments. Deprecate + *x and *fx. + +2007-07-04 H.J. Lu + + * config/obj-coff.h (x86_64_target_format): Renamed to ... + (i386_target_format): This + (TARGET_FORMAT): Use i386_target_format. + + * config/tc-i386.c (x86_64_target_format): Removed. + (i386_target_format): Handle PE formats. + +2007-07-04 Nick Clifton + + * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order + to get the right length of printed value. + +2007-07-03 Nick Clifton + + * COPYING: Replace with GPLv3 text. + * app.c: Update copyright notice to refer to GPLv3. + * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h, + cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h, + dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h, + emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h, + flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c, + input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c, + itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c, + macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c, + read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h, + symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h, + config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, + config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y, + config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y, + config/obj-aout.c, config/obj-aout.h, config/obj-coff.c, + config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h, + config/obj-elf.c, config/obj-elf.h, config/obj-evax.c, + config/obj-evax.h, config/obj-multi.h, config/obj-som.c, + config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h, + config/tc-arc.c, config/tc-arc.h, config/tc-arm.c, + config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, + config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c, + config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h, + config/tc-crx.c, config/tc-crx.h, 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-generic.c, config/tc-generic.h, config/tc-h8300.c, + config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h, + config/tc-i370.c, config/tc-i370.h, config/tc-i386.c, + config/tc-i386.h, config/tc-i860.c, config/tc-i860.h, + config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c, + config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h, + config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c, + config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h, + config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, + config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h, + config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c, + config/tc-mep.h, config/tc-mips.c, config/tc-mips.h, + config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, + config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, + config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c, + config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h, + config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c, + config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h, + config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h, + config/tc-s390.c, config/tc-s390.h, config/tc-score.c, + config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h, + config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c, + config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h, + config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, + config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, + config/tc-v850.c, config/tc-v850.h, config/tc-vax.c, + config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h, + config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c, + config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h, + config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, + config/te-freebsd.h, config/te-hppa.h, config/te-irix.h, + config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h, + config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h, + config/xtensa-relax.c, config/xtensa-relax.h: Likewise. + + * flonum-mult.c: Likewise, and also correct typo referring to + non-existant GNU Assembler General Public License. + * config/tc-m68851.h: Likewise. + * NEWS: Mention the new license. Also note where the 2.17 release + happened. + * config/e-crisaout.c: Add copyright header. + * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c, + config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c, + config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h, + config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h, + config/te-generic.h, config/te-gnu.h, config/te-go32.h, + config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h, + config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h, + config/te-linux.h, config/te-lnews.h, config/te-lynx.h, + config/te-mach.h, config/te-macos.h, config/te-nbsd532.h, + config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h, + config/te-pep.h, config/te-psos.h, config/te-riscix.h, + config/te-sun3.h, config/te-svr4.h, config/te-symbian.h, + config/te-wince-pe.h: Likewise. + +2007-07-03 Nathan Sidwell + + * config/tc-m68k.c (m68k_ip): Add j & K operand types. + (install_operand): Add E encoding. + (md_begin): Check and skip initial '.' arg character. + (get_num): Add 0..511 case. + +2007-07-03 Alan Modra + + PR 4713 + * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF. + * config/obj-elf.h (obj_ecoff_set_ext): Comment. + +2007-07-03 Mikkel Lauritsen + + PR 4722 + * app.c (do_scrub_chars ): Check for output buffer full + after memcpy. + +2007-07-02 Joseph Myers + + * config/tc-mips.c (s_dtprelword, s_dtpreldword, + s_dtprel_internal): New. + (mips_pseudo_table): Add .dtprelword and .dtpreldword. + (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and + BFD_RELOC_MIPS_TLS_DTPREL64. + +2007-07-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2007-07-02 Alan Modra + + * config/tc-ppc.c (ppc_pe_section): Comment out code assigning + coff section flag values to bfd section flag. + +2007-06-30 H.J. Lu + + * aclocal.m4: Regenerated. + * doc/Makefile.in: Likewise. + * Makefile.in: Likewise. + +2007-06-29 Joseph Myers + + * as.c (main): Only call create_obj_attrs_section if IS_ELF. + +2007-06-29 Joseph Myers + + * as.c (create_obj_attrs_section): New. + (main): Call create_obj_attrs_section for ELF. + * read.c (s_gnu_attribute, skip_whitespace, skip_past_char, + skip_past_comma, s_vendor_attribute): New. + (potable): Add gnu_attribute for ELF. + * read.h (s_vendor_attribute): Declare. + * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper + round s_vendor_attribute. + (aeabi_set_public_attributes): Update for new attributes + interfaces. + (arm_md_end): Remove attributes contents setting now done + generically. + +2007-06-29 M R Swami Reddy + + * Makefile.am: Add CR16 related entry. + * Makefile.in: Regenerate. + * config/tc-cr16.h: New file + * config/tc-cr16.c: New file + * doc/c-cr16.texi: New file for cr16 + * doc/all.texi: Entry for cr16 + * doc/Makefile.am: Added c-cr16.texi + * doc/Makefile.in: Regenerate + * doc/as.texinfo: Entry for CR16 target + * NEWS: Announce the support for the new target. + +2007-06-26 Paul Brook + + * config/tc-arm.c (parse_operands): Accept generic coprocessor regs + for OP_RVC. + (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1. + +2007-06-25 H.J. Lu + + * config/tc-i386.c (process_operands): Replace regKludge + with RegKludge. + +2007-06-25 Richard Sandiford + + * config/tc-mips.h (TC_SYMFIELD_TYPE): New. + * config/tc-mips.c (append_insn): Record which symbols have + R_MIPS16_26 relocations against them. + (mips_fix_adjustable): Don't reduce relocations against such symbols. + +2007-06-22 Sterling Augustine + + * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. + (frag_format_size): Handle RELAX_IMMED_STEP3. + (xtensa_relax_frag, md_convert_frag): Likewise. + * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3. + (RELAX_IMMED_MAXSTEPS): Adjust. + * config/xtensa-relax.c (widen_spec_list): Add transitions from + wide branches to branch-over-jumps. + (build_transition): Handle wide branches in transition patterns. + +2007-06-22 H.J. Lu + + * config/tc-i386.c (disp_size): New. + (imm_size): Likewise. + (output_disp): Use disp_size and imm_size. + (output_imm): Use imm_size. + +2007-06-19 Sterling Augustine + + * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about + use of literal_frag field. + * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag + in the literal_frag field. + (xtensa_move_literals): Use it here instead of searching. Update + literal_frag field with new value. + +2007-06-14 Paul Brook + + * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and + narrow shift by immediate. + +2007-06-14 H.J. Lu + + * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. + + * acinclude.m4: Don't include m4 files. + (BFD_BINARY_FOPEN): Removed. + Remove libtool kludge. + + * Makefile.in: Regenerated. + * doc/Makefile.in: Likewise. + * aclocal.m4: Likewise. + * configure: Likewise. + +2007-06-11 Sterling Augustine + Bob Wilson + + * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... + (XTENSA_PROP_NO_TRANSFORM): ...this. + (frag_flags_struct): Move is_no_transform out of the insn sub-struct. + (xtensa_mark_frags_for_org): New. + (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org. + (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org. + (get_frag_property_flags): Adjust reference to is_no_transform flag. + (xtensa_frag_flags_combinable): Likewise. + (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM. + * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG. + +2007-06-06 Paul Brook + + * config/tc-arm.c (s_align): Pad code sections appropriately. + +2007-06-05 Paul Brook + + * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes. + +2007-06-05 Nick Clifton + + PR gas/4587 + * config/tc-sparc.c (sparc_ip): Terminate tls_ops array. + +2007-06-05 Alan Modra + + * config/tc-spu.c (spu_cons): Use deferred_expression. Handle + number@ppu. + (tc_gen_reloc): Abort if neither addsy or subsy is set. + (md_apply_fix): Don't attempt to resolve SPU_PPU relocs. + * config/tc-spu.h (md_operand): Handle @ppu without sym. + +2007-05-31 Paul Brook + + * config/tc-arm.c (insns): Allow strex on M profile cores. + +2007-05-29 David S. Miller + Jakub Jelinek + + PR gas/4558 + * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks + for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19. + +2007-05-29 Alan Modra + + * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros. + +2007-05-29 Alan Modra + + * config/tc-ppc.c: Convert to ISO C. + * config/tc-ppc.c: Likewise. + +2007-05-29 Alan Modra + + * write.h (EXEC_MACHINE_TYPE): Delete. + (string_byte_count, section_alignment): Delete. + +2007-05-28 Nathan Sidwell + + * app.c (do_scrub_chars): Cope with \ at end of buffer. + +2007-05-26 Alan Modra + + * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in + top 32 bits of 64 bit value if so doing results in passing + range check. Rewrite sign extension fudges similarly. Enable + fudges for powerpc64 too. Report user value if range check + fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE + range rather than value, also to report user value on failure. + +2007-03-25 Paul Brook + + * config/tc-arm.c (T2_SUBS_PC_LR): Define. + (do_t_add_sub): Correctly encode subs pc, lr, #const. + (do_t_mov_cmp): Correctly encode movs pc, lr. + +2007-05-24 Steve Ellcey + + * Makefile.in: Regnerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * doc/Makefile.in: Regenerate. + +2007-05-22 Bob Wilson + + * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements + and index entries about automatic alignment of ENTRY instructions. + +2007-05-22 Nick Clifton + + * doc/as.texinfo: Use @copying around the copyright notice. + +2007-05-18 Joseph Myers + + * config/tc-mips.c (s_mipsset): Use generic s_set for directives + containing a comma. + +2007-05-17 H.J. Lu + + PR gas/4517 + 2003-06-05 Michal Ludvig + * doc/as.texinfo: Document new directives: .cfi_restore, + .cfi_undefined, .cfi_same_value, .cfi_return_column, + .cfi_remember_state and .cfi_restore_state. + +2007-05-17 Nathan Sidwell + + * config/tc-m68k.c (md_apply_fix): Show value of out of range + fixups in error message. + (md_conver_frag_1): Propagate the fix source location and use + as_bad_where rather than fatal, for better error messages. + +2007-05-16 Paul Brook + + * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr. + +2007-05-15 Mark Shinwell + + * app.c (do_scrub_chars): Don't damage \@ pseudo-variables. + +2007-05-15 Vincent Riviere + + PR gas/3041 + * config/tc-m68k.c (relaxable_symbol): Make sure that the correct + addend is stored for relocs against weak symbols. + (md_apply_fix): So not loose track of addend for relocs against + weak symbols. + +2007-05-14 Thiemo Seufer + + * config/tc-mips.c (md_parse_option): Fix parsing of -O option. + +2007-05-14 Mei Ligang + + * config/tc-score.c (data_op2, validate_immediate): Fix bug for + addri, addri.c, subi, and subi.c when immediate number is hex. + (score_insns): Remove subis and subis.c. + (do_sub_rdi16): Delete. + +2007-05-11 Alan Modra + + * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call + spu_cons for word. + (md_assemble): Tidy use of insn.flag. + (get_imm): Likewise. Handle uppercase input too. + (spu_cons): New function. + * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. + (TC_FORCE_RELOCATION): Don't resolve them either. + +2007-05-05 Mark Shinwell + + * config/tc-arm.c (md_apply_fix): Generate more accurate + diagnostic when 8-bit immediate range is exceeded for + BFD_RELOC_ARM_OFFSET_IMM8. + +2007-05-04 Alan Modra + + PR gas/4460 + * config/tc-i386.c (lex_got): Don't replace the reloc token with + a space if we already have a space. + +2007-05-03 H.J. Lu + + * config/tc-i386.c (match_template): Don't explicitly check + suffix for crc32 in Intel mode. + (process_suffix): Issue an error for crc32 if the operand size + is ambiguous. + +2007-05-03 Vincent Riviere + Nick Clifton + + PR gas/3041 + * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. + (tc_gen_reloc): Adjust the addend of relocs against weak symbols. + (md_apply_fix): Put zero values into the frags referencing weak + symbols. + +2007-05-02 Alan Modra + + PR 4448 + * config/tc-ppc.c (ppc_insert_operand): Don't increase min for + PPC_OPERAND_PLUS1. + +2007-05-01 H.J. Lu + + * config/tc-i386.c (match_template): Check suffix for crc32 in + Intel mdoe. + (process_suffix): Default the suffix of 8bit crc32 to + BYTE_MNEM_SUFFIX. + (check_byte_reg): Skip check for 8bit crc32. + +2007-04-30 H.J. Lu + + * config/tc-i386.c (md_assemble): Use register_prefix in + error/warning message. + (check_byte_reg): Likewise. + (check_long_reg): Likewise. + (check_qword_reg): Likewise. + (check_word_reg): Likewise. + (process_operands): Likewise. + +2007-04-30 Alan Modra + + PR 4436 + * config/tc-ppc.c (ppc_insert_operand): Disable range check if + min > max. + +2007-04-28 Thiemo Seufer + + * config/tc-mips.c: Fix comment. + +2007-04-26 Anatoly Sokolov + + * config/tc-avr.c (mcu_types): Add support for atmega8hva and + atmega16hva devices. Move at90usb82 device to 'avr5' architecture. + * doc/c-avr.texi: Document new devices. + +2007-04-24 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-23 Nathan Sidwell + + * config/tc-m68k.c (mcf54455_ctrl): New. + (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. + (m68k_archs): Add isac. + (m68k_cpus): Add 54455 family. + (m68k_ip): Split Bg into Bb, Bs, Bg. + (m68k_elf_final_processing): Add ISA_C. + * doc/c-m68k.texi (M680x0 Options): Add isac. + +2007-04-22 Alan Modra + + * read.c (read_a_source_file): Skip multiple spaces to + cover hack in mmix md_start_line_hook which overwrites a + colon with a space. Delete sermon and needless assertion. + +2007-04-21 Alan Modra + + * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. + (md_atof): Make number_of_chars unsigned. Revert last change. + * config/tc-or32.c (md_apply_fix): Delete bogus assertions. + * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF. + * config/tc-sh.h (md_optimize_expr): Likewise. + * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus + assertion. + * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise. + +2007-04-21 Nick Clifton + + * config/atof-vax.c (md_atof): Fix comparison inside know(). + + * config/tc-ia64.c (emit_one_bundle): Fix typo. + +2007-04-21 Alan Modra + + * expr.c (expr): Assert on rankarg, not rank which can be unsigned. + * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. + Don't skip over NUL char. + (pseudo_set): Set X_op for registers to O_register. + * symbols.c (symbol_clone): Remove assertion that sym is defined. + (resolve_symbol_value): Resolve O_register symbols. + * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. + Instead find st(0) by hash lookup. + * config/tc-ppc.c (ppc_macro): Warning fix. + + * as.h (ENABLE_CHECKING): Default define to 0. + (know): Assert if ENABLE_CHECKING. + (struct relax_type): Remove superfluous declaration. + * configure.in (--enable-checking): New. + * configure: Regenerate. + * config.in: Regenerate. + * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. + Check for duplicate powerpc_operands entries. + +2007-04-20 Nathan Sidwell + + * config/tc-m68k.c (mcf5253_ctrl): New. + (mcf52223_ctrl): New. + (m68k_cpus): Add 5253, 52221, 52223. + + * config/m68k-parse.h (RAMBAR_ALT): New. + * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. + (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, + mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, + mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, + mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for + RAMBAR1. + (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. + (m68k_cpus): Adjust 5206, 5206e & 5307 entries. + (m68k_ip) : Detect when RAMBAR_ALT should be used. Add it + to control register mapping. + +2007-04-20 Alan Modra + + * messages.c (as_internal_value_out_of_range): Fix typo in + error message. Return after printing domain error. + * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits + in max when shifting right. + +2007-04-20 Alan Modra + + * messages.c (as_internal_value_out_of_range): Extend to report + errors for values with invalid low bits set. + * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm + fields. Check that operands and opcode fields are disjoint. + (ppc_insert_operand): Check operands using mask rather than bit + count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust + insertion code. + (md_apply_fix): Adjust for struct powerpc_operand change. + +2007-04-19 Paul Brook + + * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on + Thumb-1. Add sanity check for bogus relaxations. + +2007-04-19 Paul Brook + + * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1. + +2007-04-19 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-19 Nathan Froyd + + * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe. + +2007-04-18 H.J. Lu + + * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4. + +2007-04-18 H.J. Lu + + * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4. + (match_template): Handle operand size for crc32 in SSE4.2. + (process_suffix): Handle operand type for crc32 in SSE4.2. + (output_insn): Support SSE4.2. + +2007-04-18 H.J. Lu + + * config/tc-i386.c (cpu_arch): Add .sse4.1. + (process_operands): Adjust implicit operand for blendvpd, + blendvps and pblendvb in SSE4.1. + (output_insn): Support SSE4.1. + +2007-04-18 Paul Brook + + * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible. + +2007-04-16 Kaz Kojima + + * config/tc-sh.c (sh_handle_align): Call as_bad_where instead + of as_warn_where for misaligned data. + +2007-04-15 Kaz Kojima + + * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle + rs_fill frags. + +2007-04-14 Steve Ellcey + + * Makefile.am: Add ACLOCAL_AMFLAGS. + * Makefile.in: Regenerate. + +2007-04-14 Kaz Kojima + + * config/tc-sh.c (align_test_frag_offset_fixed_p): New. + (sh_optimize_expr): Likewise. + * config/tc-sh.h (md_optimize_expr): Define. + (sh_optimize_expr): Prototype. + +2007-04-06 Matt Thomas + + * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp) + to emit pcrel relocations by DWARF2 in non-code sections. Borrowed + heavily from tc-sparc.c. (vax_cons_fix_new): Likewise. + +2007-04-04 Kazu Hirata + + * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a. + +2007-04-04 Paul Brook + + * config/tc-arm.c (do_neon_ext): Enforce immediate range. + (insns): Use I15 for vext. + +2007-04-04 Paul Brook + + * configure.tgt: Loosen checks for arm uclinux eabi targets. + +2007-04-02 Sterling Augustine + + * config/tc-xtensa.c (xtensa_flush_pending_output): Check + outputting_stabs_line_debug. + +2007-03-26 Anatoly Sokolov + + * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82, + at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p + devices. + * doc/c-avr.texi: Document new devices. + +2007-04-02 Richard Sandiford + + * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. + * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. + * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic. + +2007-03-30 Sterling Augustine + Bob Wilson + + * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument. + Do not check is_loop_target flag. + (xtensa_frob_label): Adjust calls to xtensa_move_labels. + (xg_assemble_vliw_tokens): Likewise. Also avoid calling + xtensa_move_labels for alignment of loop opcodes. + +2007-03-30 H.J. Lu + + * config/tc-i386.c (process_suffix): Reindent a bit. + +2007-03-30 Paul Brook + + * config/tc-arm.c (encode_thumb2_ldmstm): New function. + (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm. + (do_t_push_pop): Use encode_thumb2_ldmstm. + +2007-03-29 DJ Delorie + + * config/tc-m32c.c (rl_for, relaxable): Protect argument. + (md_relax_table): Add entries for ADJNZ macros. + (M32C_Macros): Add ADJNZ macros. + (subtype_mappings): Add entries for ADJNZ macros. + (insn_to_subtype): Check for adjnz and sbjnz insns. + (md_estimate_size_before_relax): Pass insn to insn_to_subtype. + (md_convert_frag): Convert adjnz and sbjnz. + +2007-03-29 Nick Clifton + + * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long + initialization. + * itbl-ops.h (enum e_processor): Initialise the e_nprocs field + using ITBL_NUMBER_OF_PROCESSORS. + * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS. + +2007-03-28 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): For instructions with 2 + register operands, encode destination in i.rm.regmem if its + RegMem bit is set. + +2007-03-28 Richard Sandiford + Phil Edwards + + * doc/as.texinfo: Put the contents after the title page rather + than at the end of the document. + +2007-03-27 Alan Modra + + * NEWS: Mention ".reloc". + +2007-03-26 Sterling Augustine + + * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms + in FLIX instructions. + +2007-03-26 Julian Brown + + * config/tc-arm.c (arm_it): Add immisfloat field. + (parse_qfloat_immediate): Disallow integer syntax for floating-point + immediates. Fix hex immediates, handle 0.0 and -0.0 specially. + (parse_neon_mov): Set immisfloat bit for operand if it parsed as a + float. + (neon_cmode_for_move_imm): Reject non-float immediates for float + operands. + (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm. + +2007-03-26 Julian Brown + + * doc/c-arm.texi: Add documentation for .dn/.qn directives. + +2007-03-26 Alan Modra + + * doc/as.texinfo (Reloc): Document. + * read.c (potable): Add "reloc". + (s_reloc): New function. + * write.c (reloc_list): New global var. + (resolve_reloc_expr_symbols): New function. + (write_object_file): Call it. + (write_relocs): Process reloc_list. + * write.h (struct reloc_list): New. + (reloc_list): Declare. + +2007-03-24 Paul Brook + + * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes. + +2007-03-24 Paul Brook + Mark Shinwell + + * config/tc-arm.c (operand_parse_code): Add OP_oRRw. + (parse_operands): Don't expect comma if first operand missing. + Handle OP_oRRw. + (do_srs): Encode register number, checking it is r13. Update comment. + (insns): Update SRS entries to take a register. + +2007-03-23 H.J. Lu + + * config/tc-i386.c (md_begin): Allow '.' in mnemonic. + +2007-03-23 Mark Shinwell + + * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that + attempt to jump to the next instruction into NOPs. + +2007-03-23 Alan Modra + + * config/tc-spu.c: Don't include opcode/spu.h. + (md_assemble): Set tc_fix_data.insn_tag and arg_format. + (md_apply_fix): Adjust. + * config/tc-spu.h: Include opcode/spu.h. + (struct tc_fix_info): New. + (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust. + (TC_FORCE_RELOCATION): Define. + +2007-03-22 Joseph Myers + + * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. + +2007-03-21 H.J. Lu + + * config/tc-i386.c (process_suffix): Check 0x90 instead of + xchg for xchg %rax,%rax. + +2007-03-21 H.J. Lu + + * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY + and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. + +2007-03-21 H.J. Lu + + PR binutils/4218 + * config/tc-i386.c (match_template): Properly handle 64bit mode + "xchg %eax, %eax". + +2007-03-21 Anton Ertl + + PR gas/4124 + * config/tc-alpha.c (emit_ustX): Fix ustq code generation. + +2007-03-21 H.J. Lu + + * Makefile.am: Run dep-am. + * Makefile.in: Regenerated. + + * config/tc-i386.c: Don't include "opcodes/i386-opc.h". + + * config/tc-i386.h: Include "opcodes/i386-opc.h". + (NOP_OPCODE): Removed. + (template): Likewise. + +2007-03-21 Andreas Schwab + + * config/tc-i386.h (NOP_OPCODE): Restore. + +2007-03-18 Mark Shinwell + + * config/tc-arm.c (do_mul): Don't warn about overlapping + Rd and Rm operands when assembling for v6 or above. + Correctly capitalize register names in the messages. + (do_mlas): Likewise. Delete spurious blank line. + +2007-03-16 Kazu Hirata + + * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa. + +2007-03-15 H.J. Lu + + * config/tc-i386.c (md_begin): Use i386_regtab_size to scan + i386_regtab. + (parse_register): Use i386_regtab_size instead of ARRAY_SIZE + on i386_regtab. + +2007-03-15 Alexandre Oliva + + PR gas/4184 + * app.c (do_scrub_chars): PUT after setting states. + +2007-03-15 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + + * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of + "opcode/i386.h". + (md_begin): Check reg_name != NULL for the last entry in + i386_regtab. + + * config/tc-i386.h: Move many entries to opcode/i386.h and + opcodes/i386-opc.h. + + * configure.in (need_opcodes): Set true for i386. + * configure: Regenerated. + +2007-03-15 H.J. Lu + + * Makefile.am (REPORT_BUGS_TO): Removed. + (INCLUDES): Remove -DREPORT_BUGS_TO. + * Makefile.in: Regenerated. + + * configure.in (--with-bugurl): Removed. + * configure: Regenerated. + + * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. + (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. + (TEXI2DVI): Likewise. + (gasver.texi): Removed. + (MOSTLYCLEANFILES): Remove gasver.texi. + (as.1): Don't depend on gasver.texi. + * doc/Makefile.in: Regenerated. + + * doc/as.texi: Include bfdver.texi instead of gasver.texi. + +2007-03-14 Daniel Jacobowitz + + * config/tc-arm.c (arm_copy_symbol_attributes): New. + * config/tc-arm.h (arm_copy_symbol_attributes): Declare. + (TC_COPY_SYMBOL_ATTRIBUTES): Define. + * gas/symbols.c (copy_symbol_attributes): Use + TC_COPY_SYMBOL_ATTRIBUTES. + +2007-03-14 Paul Brook + + * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. + +2007-03-14 Alan Modra + + PR 4029 + * write.c (relax_segment): Insert extra alignment padding + to break infinite relax loop when given impossible + gcc_except_table assembly. + +2007-03-12 H.J. Lu + + * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX + on i.tm.base_opcode. + (match_template): Likewise. + (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. + + * config/tc-i386.h (Opcode_D): New. + (Opcode_FloatR): Likewise. + (Opcode_FloatD): Likewise. + (D): Redefined. + (W): Likewise. + (FloatMF): Likewise. + (FloatR): Likewise. + (FloatD): Likewise. + +2007-03-09 Alexandre Oliva + + * app.c (do_scrub_chars): Recognize comments after # line "file". + * read.c (get_linefile_number): New. + (s_app_line): Accept ill-formed .linefile lines as comments. + +2007-03-09 Alan Modra + + * config/tc-i386.h (WORKING_DOT_WORD): Define. + +2007-03-09 Alexandre Oliva + + * app.c (do_scrub_chars): Turn #"file"flags into .linefile. + * as.h (new_logical_line_flags): New. + * input-scrub.c (new_logical_line): Turned into wrapper for... + (new_logical_line_flags): this. Handle flags. + * read.c (potable): Add linefile. Adjust appline argument. + (s_app_file): Fake .appfiles no more. + (s_app_line): For .linefile, accept file name and flags. + +2007-03-08 Alan Modra + + * symbols.c (symbol_relc_make_sym): Comment typo fixes. + +2007-03-08 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-03-07 Joseph Myers + + * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of + bug-reporting URL. + * doc/Makefile.am (gasver.texi): Define BUGURL. + * doc/as.texinfo: Use BUGURL. + * Makefile.in, configure, doc/Makefile.in: Regenerate. + +2007-03-06 Andreas Krebbel + + * config/tc-s390.c (md_parse_option): z9-ec option added. + +2007-03-02 Paul Brook + + * config/tc-arm.c (relax_immediate): Always return positive values. + (relaxed_symbol_addr): New function. + (relax_adr, relax_branch): Use it. + (arm_relax_frag): Pass strect argument. Adjust infinite loop check. + +2007-03-01 Joseph Myers + + * as.c (parse_args): Update copyright date. + +2007-02-28 Nathan Sidwell + + * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. + +2007-02-28 Nick Clifton + + PR gas/3797 + * config/tc-d10v.c (do_assemble): Do not generate error messages, + just return -1 whenever a problem is encountered. + (md_assemble): If do_assemble returns -1 generate a non-fatal + error message and return. + + PR gas/2623 + * config/tc-msp430.c (line_separator_char): Change to '{'. + +2007-02-27 Alan Modra + + * config/tc-m68hc11.c (fixup24): Correct fixup size. + (build_jump_insn): Likewise. + (build_insn): Likewise. + (s_m68hc11_relax): Likewise. + +2007-02-27 Alan Modra + + * config/obj-elf.c (elf_frob_file): frag_wane any new frags. + +2007-02-25 Mark Shinwell + + * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad. + +2007-02-23 Alan Modra + + * config/tc-mn10300.c (md_convert_frag): Correct fixup size. + (md_assemble): Likewise. + +2007-02-22 Alan Modra + + * write.c (size_seg): Always clear SEC_RELOC here. + (install_reloc): New function, extracted from.. + (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code + with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when + testing frag size. Set SEC_RELOC here. + +2007-02-21 Alan Modra + + PR 4082 + * config/tc-avr.h (TC_FX_SIZE_SLACK): Define. + +2007-02-20 Thiemo Seufer + + * doc/c-mips.texi: Document 74kc, 74kf, 74kx. + +2007-02-20 Thiemo Seufer + + * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations. + +2007-02-20 Thiemo Seufer + Chao-Ying Fu + + * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, + ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. + (macro_build): Add case '2'. + (macro): Expand M_BALIGN to nop, packrl.ph or balign. + (validate_mips_insn): Add support for balign instruction. + (mips_ip): Handle DSP R2 instructions. Support balign instruction. + (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, + md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 + command line options. + (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. + (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. + * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, + .set dspr2, .set nodspr2. + +2007-02-20 Nathan Sidwell + + * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. + (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. + +2007-02-18 Alan Modra + + * write.c (TC_FX_SIZE_SLACK): Define. + (write_relocs): Reinstate check for fixup within frag. + * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. + * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. + * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. + * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. + * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define. + +2007-02-17 Mark Mitchell + Nathan Sidwell + Vladimir Prus + + * configure.in (--with-bugurl): New option. + * configure: Regenerate. + * dep-in.sed: Remove bin-bugs.h. + * Makefile.am (REPORT_BUGS_TO): Define. + (INCLUDES): Define REPORT_BUGS_TO. + (DEP_INCLUDES): Likewise. + ($(OBJS)): No longer depend on bin-bugs.h. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * as.c (show_usage): Don't print empty REPORT_BUGS_TO. + * as.h: Remove include of bin-bugs.h. + +2007-02-17 Alan Modra + + * write.c: White space fixes. + (fixup_segment): Move symbol_mri_common_p adjustments.. + (write_relocs): ..and symbol_equated_reloc_p adjustments.. + (adjust_reloc_syms): ..to here. + +2007-02-16 Alan Modra + + * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than + xmalloc, memset. Don't bother assigning NULL to known zero mem. + (subseg_set_rest): Remove unnecessary cast. + * write.c: Include libbfd.h. Replace PTR with void * throughout. + Remove unnecessary forward declarations and casts. + (set_symtab): Delete extern bfd_alloc. + (fixup_segment): Move. + +2007-02-15 Nathan Sidwell + + * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID. + * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. + (mcf5475_ctrl, mcf5485_ctrl): New. + (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. + (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. + (init_table): Add asid, mmubar, adjust rombar0. + +2007-02-14 Alan Modra + + * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. + * config/tc-i386.c: Wrap overly long lines, whitespace fixes. + (process_operands): Move old Seg2ShortForm and Seg3ShortForm + code, and test for these insns using a combination of + opcode_modifier and operand_types. + +2007-02-07 Paul Brook + + * configure.tgt: Add arm*-*-uclinux-*eabi. + +2007-02-05 Dave Brolley + Richard Sandiford + DJ Delorie + Stan Cox + Jim Blandy + Nick Clifton + Jim Wilson + Frank Ch. Eigler + Graydon Hoare + Ben Elliston + John Healy + Richard Henderson + + * Makefile.am (CPU_TYPES): Add mep. + (TARGET_CPU_CFILES): Add tc-mep.c. + (TARGET_CPU_HFILES): Add tc-mep.h. + (DEPTC_mep_elf): New variable. + (DEPTC_mep_coff): Likewise. + (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise. + * configure.in: Support mep. + * configure.tgt: Likewise. + * config/tc-mep.c: New file. + * config/obj-elf.c: New file. + * config/tc-mep.c: New file. + * config/tc-mep.h: New file. + * testsuite/gas/mep: New testsuite with content. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2007-02-05 Dave Brolley + + * cgen.c (gas_cgen_install_complex_reloc): Removed. + (complex_reloc_installation_howto): Removed. + +2007-02-05 Dave Brolley + Graydon Hoare + DJ Delorie + Catherine Moore + Michael Chastain + Frank Ch. Eigler + + * symbols.c (use_complex_relocs_for): New, to decide + when to use complex relocs. Add signed RELC support. + (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally + encode expression symbols as mangled complex relocation symbols (when + compiled with -DOBJ_COMPLEX_RELOC). + (symbol_relc_make_sym,value,expr): New traversal/conversion routines. + * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call + encode_addend with new args. Modify to get start, length from + ifield whenever it is set. Also change condition on which + self-describing relocs are encoded. Add hook into + gas_cgen_encode_addend. + (queue_fixup_recursively): Add signed RELC support. Change from masked + expr to trunc flag. Restore assignment of sub-field value to + temporary in fixups array. Reflect changed meaning of last arg to + queue_fixup_recursively. + (fixup): Add cgen_maybe_multi_ifield member. + (make_right_shifted_expr): New function. + (queue_fixup): Change to recursive function that fragments + fixups if operand has a multi-ifield. + (gas_cgen_parse_operand): Add RELC code to wrap expressions in + symbols, call weak_operand_overflow_check, and fragment call + queue_fixup with operand fields. + (gas_cgen_finish_insn) Modify to manage ifield pointer. + (weak_operand_overflow_check): New function to try to select + insns correctly. + (gas_cgen_encode_addend): New function for relc. + (gas_cgen_install_complex_reloc): Likewise. + (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc. + * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add + cgen_maybe_multi_ifield field to fx_cgen substructure. + * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32. + * symbols.h (symbol_relc_make_sym,value,expr): New prototypes. + +2007-02-03 DJ Delorie + + * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 + byte relocs. + * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. + (m32c_cons_fix_new): Prototype. + +2007-02-02 Bob Wilson + + * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init. + (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise. + +2007-02-02 Bob Wilson + + * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New. + (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. + (map_suffix_reloc_to_operator): New. + (map_operator_to_reloc): New. + (expression_maybe_register): Fix incorrect test of return value from + xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. + (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc. + +2007-02-02 Bob Wilson + + * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. + (tinsn_get_tok): Delete prototype. + * config/tc-xtensa.c (tinsn_get_tok): Delete. + +2007-02-02 Bob Wilson + + * config/xtensa-relax.h (struct build_instr): Delete id field. + * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL + and LABEL tokens. + (append_literal_op, append_label_op): Remove litnum/labnum arguments; + set op_data fields to zero. + (parse_id_constant): Delete. + (build_transition): Remove code to handle numbered literals and labels. + +2007-02-02 Bob Wilson + + * config/xtensa-relax.c (build_transition): Remove code after as_fatal. + (build_transition_table): Likewise. + +2007-02-01 Bob Wilson + + * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of + fx_tcbit. + * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove. + +2007-02-02 Alan Modra + + * write.h (struct fix ): Move. + (struct fix ): Rename to tcbit2. + * write.c (fix_new_internal): Adjust. + (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. + * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. + * config/tc-msp430.c (msp430_force_relocation_local): Likewise. + * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. + * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. + Instead, compare fx_r_type. + * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use + fx_tcbit in place of fx_plt. + * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. + * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference + to fx_plt. + +2007-01-30 Nick Clifton + + * as.c (main): Mark symbols created via the --defsym command line + option as volatile so that they can be overridden later on by a + .set directive. This maintains compatibility with the behaviour + of earlier versions of the assembler. + * doc/as.texinfo (--defsym): Document that the defined symbol's + value can be overridden via a .set directive. + +2007-01-28 H.J. Lu + + * config/tc-i386.c (swap_imm_operands): Renamed to ... + (swap_2_operands): This. Take 2 ints. + (md_assemble): Updated. + (swap_operands): Call swap_2_operands to swap 2 operands. + +2007-01-24 DJ Delorie + + * config/tc-m32c.c (md_pseudo_table): Add .3byte. + +2007-01-22 Nick Clifton + + PR gas/3871 + * tc-score.c: Remove unnecessary uses of _(). + Make the err_msg[] a file level local array in order to save + storage space. + Remove unnecessary sprintf()s. + +2007-01-18 Mei Ligang + + PR gas/3871 + * config/tc-score.c : Using _() for const string. + Do not assign inst.error with a local string pointer. + (md_section_align): Pad section. + +2007-01-13 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Check number of operands + when procssing memory/register operand. + +2007-01-12 Nick Clifton + + PR gas/3856 + * macro.c (expand_irp): Do not ignore spaces inside quoted + strings. + +2007-01-12 Alan Modra + + * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. + * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. + * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. + (TC_FORCE_RELOCATION): Define. + (TC_FORCE_RELOCATION_LOCAL): Define. + * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust. + +2007-01-12 Alan Modra + + * input-file.c (input_file_open): Check fgets return. + +2007-01-11 Paul Brook + + * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. + +2007-01-11 Nick Clifton + + PR gas/3707 + * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt + variable. + + * config/tc-mcore.c (md_number_to_chars): Use + number_to_chars_{big|little}endian. + +2007-01-08 Kazu Hirata + + * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an + architecture by itself. + (m68k_ip): Don't issue a warning for tbl instructions on fido. + (m68k_elf_final_processing): Treat Fido as an architecture by + itself. + +2007-01-08 Kai Tietz + + * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* + +2007-01-05 H.J. Lu + + * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax + depending on allow_naked_reg. + +2007-01-04 Paul Brook + + * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. + +2007-01-04 H.J. Lu + + PR gas/3830 + * config/tc-i386.c (register_prefix): New. + (set_intel_syntax): Set set_intel_syntax to "" if register + prefix isn't needed. + (check_byte_reg): Use register_prefix for error message. + (check_long_reg): Likewise. + (check_qword_reg): Likewise. + (check_word_reg): Likewise. + +2007-01-04 Julian Brown + + * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM. + (do_neon_qshl_imm): Likewise. + (do_neon_rshl): New function. Handle rounding variants of + v{q}shl-by-register. + (insns): Use do_neon_rshl for vrshl, vqrshl. + +2007-01-04 Paul Brook + + * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt + and vacle. + +2007-01-03 H.J. Lu + + * config/tc-i386.c (swap_operands): Remove branches. + +2007-01-03 H.J. Lu + + * config/tc-i386.c: Update copyright year. + * config/tc-i386.h: Likewise. + +2007-01-03 H.J. Lu + + * config/tc-i386.c (smallest_imm_type): Return unsigned int + instead of int. + +2007-01-03 H.J. Lu + + * config/tc-i386.c: Convert to ISO C90 formatting + * config/tc-i386.h: Likewise. + +2007-01-03 David Daney + + * config/tc-mips.c (md_show_usage): Clean up -mno-shared + documentation. + +For older changes see ChangeLog-2006 + +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 74b0a18e02..4056866009 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -4,1326 +4,7 @@ * gas/mips/jalr.l: New test output. * gas/mips/mips.exp: Run new test. -2007-12-31 H.J. Lu - - * gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd. - * gas/i386/simd.s: Likewise. - * gas/i386/x86-64-simd.s: Likewise. - - * gas/i386/inval.l: Updated. - * gas/i386/katmai.d: Likewise. - * gas/i386/simd-intel.d: Likewise. - * gas/i386/simd-suffix.d: Likewise. - * gas/i386/simd.d: Likewise. - * gas/i386/sse2.d: Likewise. - * gas/i386/x86-64-opcode.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd-suffix.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - -2007-12-28 John David Anglin - - * gas/all/gas.exp: Skip relax test on hppa*-*-hpux*. - -2007-12-28 H.J. Lu - - * gas/i386/arch-1.d: New file. - * gas/i386/arch-1.s: Likewise. - * gas/i386/arch-2.d: Likewise. - * gas/i386/arch-2.s: Likewise. - * gas/i386/arch-3.d: Likewise. - * gas/i386/arch-3.s: Likewise. - * gas/i386/arch-4.d: Likewise. - * gas/i386/arch-4.s: Likewise. - - * gas/i386/i386.exp: Run arch-1, arch-2, arch-3 and arch-4. - -2007-12-23 H.J. Lu - - * gas/i386/compat-intel.d: Pass -mmnemonic=att to assembler. - * gas/i386/compat.d: Likewise. - - * gas/i386/i386.exp: Pass -mmnemonic=att to assembler for - "float". Pass -mold-gcc to assembler for "general". - -2007-12-22 H.J. Lu - - * gas/i386/compat-intel.d: New file. - * gas/i386/compat.d: Likewise. - * gas/i386/compat.s: Likewise. - - * gas/i386/i386.exp: Run compat. - -2007-12-13 Bob Wilson - - * gas/xtensa/all.exp: Run new weak-call test. - * gas/xtensa/weak-call.d: New. - * gas/xtensa/weak-call.s: New. - -2007-12-11 Catherine Moore - - * gas/elf/symtab.s: New test. - * gas/elf/symtab.d: New expected output. - * gas/elf/elf.exp: Run the new symbtab test. - -2007-12-10 Richard Sandiford - - * gas/mips/align2.s, gas/mips/align2.d, gas/mips/align2-el.d: New - tests. - * gas/mips/mips.exp: Run them. - -2007-12-07 Bob Wilson - - * gas/xtensa/all.exp: Run new pcrel test. - * gas/xtensa/err-pcrel.s: New. - * gas/xtensa/pcrel.d: New. - * gas/xtensa/pcrel.s: New. - * gas/xtensa/xtensa-err.exp: New. - -2007-11-30 Bob Wilson - - * gas/elf/elf.exp: Disable ehopt test for Xtensa. - -2007-11-29 Mark Shinwell - - * config/tc-mips.c (mips_cpu_info_table): Add loongson2e - and loongson2f entries. - * doc/c-mips.texi: Document -march=loongson{2e,2f} options. - -2007-11-29 Martin Schwidefsky - - * gas/s390/esa-z9-109.d: Add check for old version of sske. - * gas/s390/esa-z9-109.s: Likewise. - -2007-11-27 Andreas Krebbel - - * gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget", - "tgdt", "tgxt"): Removed. - ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. - * gas/s390/zarch-z9-ec.s: Likewise. - -2007-11-19 Bob Wilson - - * gas/lns/lns.exp: Run lns-common-1 with alternate source for ia64. - * gas/lns/lns-common-1-ia64.s: New file. - -2007-11-14 H.J. Lu - - * gas/ia64/dv-raw-err.s: Add tests for ar.ruc. - * gas/ia64/dv-waw-err.s: Likewise. - * gas/ia64/invalid-ar.s: Likewise. - - * gas/ia64/regs.s: Add tests for ar.ruc and ar44. - - * gas/ia64/dv-raw-err.l: Updated. - * gas/ia64/dv-waw-err.l: Likewise. - * gas/ia64/invalid-ar.l: Likewise. - * gas/ia64/regs.d: Likewise. - -2007-11-13 Alan Modra - - * gas/macros/purge.s: Delete irpc loops. - -2007-11-12 Tristan Gingold - - * gas/ppc/regnames.d: New. - * gas/ppc/regnames.s: Likewise. - * gas/ppc/ppc.exp: Run it. - -2007-11-07 Tristan Gingold - - * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr - registers instead of register number. - -2007-11-07 Tristan Gingold - - * gas/elf/elf.exp (run_elf_list_test): Fix typo. - -2007-11-07 Tristan Gingold - - * gas/ppc/test1xcoff32.d: Updated to match RTOC bug fix. - -2007-11-06 Paul Brook - - * gas/arm/mul-overlap.s: Add umull and smlal. - * gas/arm/mul-overlap.l: Update expected results. - -2007-11-06 Nick Clifton - - * gas/elf/elf.exp: Disable ehopt test for mn10300. - -2007-11-01 H.J. Lu - - * gas/i386/i386.d: New. - * gas/i386/i386.s: Likewise. - - * gas/i386/i386.exp: Run i386. - - * gas/i386/x86_64.s: Add tests for movsx, movsbl, movsbq, - movsbw, movswl, movswq, movzx, movzb, movzbl, movzbq, - movzbw, movzwl and movzwq. - * gas/i386/x86_64.d: Updated. - -2007-10-31 Nick Clifton - - * gas/cfi/cfi-common-6.d: Allow for possible relocation of the - .debug.eh_frame section. - -2007-10-30 Nick Clifton - - * gas/all/gas.exp: Do not run diff1.s test for mn10300. - -2007-10-27 H.J. Lu - - PR gas/5221 - * gas/elf/elf.exp: Run section7. - - * gas/elf/section7.d: New. - * gas/elf/section7.s: Likewise. - -2007-10-23 H.J. Lu - - * gas/i386/katmai.s: Remove cmpps opcode test. - - * gas/i386/simd.s: Add tests for cmpss and cmpsd. - * gas/i386/x86-64-simd.s: Likewise. - - * gas/i386/katmai.d: Updated. - * gas/i386/simd-intel.d: Likewise. - * gas/i386/simd-suffix.d: Likewise. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd-suffix.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - -2007-10-19 Nick Clifton - - * gas/mn10300/basic.exp: Run pr997 test. - * gas/mn10300/pr997.s: New test. - * gas/mn10300/pr887.l: Expected output. - -2007-10-17 Nathan Sidwell - - * gas/m68k/mcf-movsr.s: New. - * gas/m68k/mcf-movsr.d: New. - * gas/m68k/all.exp: Add mcf-movsr test. - -2007-10-16 Nick Clifton - - * gas/elf/elf.exp: Accept COMMON in readelf's output. - * gas/elf/type.s: Add test of common type. - * gas/elf/type.e: Extend expected output. - -2007-10-11 Nick Clifton - - * gas/elf/elf.exp (run_elf_list_test): Run section6 test. - * gas/elf/section6.s: New file: Check behaviour of .pushsection - with a subsection argument. - * gas/elf/section6.d: New file: Expected disassembly. - -2007-10-08 H.J. Lu - - * gas/i386/i386.exp: Run simd-suffix and x86-64-simd-suffix. - - * gas/i386/simd-suffix.d: New. - * gas/i386/x86-64-simd-suffix.d: Likewise. - - * gas/i386/x86-64-opcode.d: Updated. - * gas/i386/x86-64-simd.d: Likewise. - -2007-10-08 Maciej W. Rozycki - - * gas/mips/cp0-names-r3000.d: New test for R3000 CP0 symbolic - disassembly. - * gas/mips/cp0-names-r4000.d: New test for R4000/R4400 symbolic - CP0 disassembly. - * mips/mips.exp: Run the new tests. - -2007-10-08 Maciej W. Rozycki - - * gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set - at=REG" directive. - * gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests. - * gas/mips/mips.exp: Run the new tests. - -2007-10-05 H.J. Lu - - * gas/i386/i386.exp: Run smx. - - * gas/i386/smx.d: New. - * gas/i386/smx.s: Likewise. - -2007-10-04 H.J. Lu - - * gas/i386/simd.s: Add tests for unpckhpd and unpckhps. - * gas/i386/x86-64-simd.s: Likewise. - - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - -2007-10-04 David Daney - - * gas/mips/odd-float.d, gas/mips/odd-float.s: New test. - * gas/mips/mips.exp: Run it. - -2007-10-04 H.J. Lu - - PR gas/5109 - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - - * gas/i386/simd.s: Add more tests. - * gas/i386/x86-64-simd.s: Likewise. - -2007-10-04 Helge Deller - - * gas/all/gas.exp: Include new test "strings". - * gas/all/string.s: New - * gas/all/string.d: New. - -2007-10-01 Tristan Gingold - - * gas/ppc/altivec_xcoff.s: Do not use .machine pseudo-ops as it - overrides gas options. - * gas/ppc/altivec_xcoff64.s: Likewise. - * gas/ppc/booke_xcoff64.s: Likewise. - * gas/ppc/altivec_xcoff.d: Accept 32bits offsets. - * gas/ppc/booke_xcoff.s: Do not use .machine pseudo-op and remove - booke64 opcodes. - * gas/ppc/booke_xcoff.d: Accept 32bits offsets and renumber. - * gas/ppc/booke_xcoff64.d: Use booke opcodes. - -2007-09-30 H.J. Lu - - PR gas/5080 - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - - * gas/i386/simd.s: Add new tests for cvttsd2si and cvttss2si. - * gas/i386/x86-64-simd.s: Likewise. - -2007-09-27 H.J. Lu - - PR binutils/5072 - * gas/i386/i386.exp: Run x86-64-opcode-inval and - x86-64-opcode-inval-intel. - - * gas/i386/x86-64-opcode-inval-intel.d: New. - * gas/i386/x86-64-opcode-inval.d: Likewise. - * gas/i386/x86-64-opcode-inval.s: Likewise. - -2007-09-27 Kazu Hirata - - * gas/m68k/fido.s: Add tests for %mbo. - * gas/m68k/fido.d: Update accordingly. - -2007-09-26 Jan Beulich - - * gas/i386/x86-64-addr32.d: Adjust expectations. - -2007-09-26 Jan Beulich - - * gas/i386/reloc64.s: Adjust for %eip-relative addressing no - longer generating errors. - * gas/i386/reloc64.d, gas/i386/reloc64.l: Update. - * gas/i386/x86-64-addr32.s: Remove explicit addr32 prefix - for %eip-realtive addressing case. - -2007-09-25 Nathan Sidwell - - * gas/m68k/br-isaa.d: Dump relocs too. - * gas/m68k/br-isab.d: Likewise. - * gas/m68k/br-isac.d: Likewise. Adjust for long branch relaxation. - -2007-09-24 Carlos O'Donell - - * gas/mips/align.s, gas/mips/align.d: New test. - * gas/mips/mips.exp: Run it. - -2007-09-20 H.J. Lu - - * gas/i386/sib.s: Add more eiz tests. - * gas/i386/x86-64-sib.s: Add more riz tests. - - * gas/i386/sib-intel.d: Updated. - * gas/i386/sib.d: Likewise. - * gas/i386/x86-64-sib-intel.d: Likewise. - * gas/i386/x86-64-sib.d: Likewise. - -2007-09-20 H.J. Lu - - PR 658 - * gas/i386/i386.exp: Run sib-intel, x86-64-sib and - x86-64-sib-intel. - - * gas/i386/nops-1-i386-i686.d: Updated. - * gas/i386/nops-1-i386.d: Likewise. - * gas/i386/nops-1.d: Likewise. - * gas/i386/nops-2-i386.d: Likewise. - * gas/i386/nops-2-merom.d: Likewise. - * gas/i386/nops-2.d: Likewise. - * gas/i386/nops-3-i386.d: Likewise. - * gas/i386/nops-3.d : Likewise. - * gas/i386/sib.d: Likewise. - - * gas/i386/sib.s: Use %eiz in testcases. - - * gas/i386/sib-intel.d: New. - * gas/i386/x86-64-sib-intel.d: Likewise. - * gas/i386/x86-64-sib.d: Likewise. - * gas/i386/x86-64-sib.s: Likewise. - -2007-09-19 H.J. Lu - - * gas/i386/intelok.s: Add tests for memory without base. - * gas/i386/intelok.d: Updated. - * gas/i386/intelok.e: Likewise. - -2007-09-17 H.J. Lu - - * gas/i386/x86-64-rip.s: Revert the last change. - * gas/i386/x86-64-rip-intel.d: Likewise. - * gas/i386/x86-64-rip.d: Likewise. - -2007-09-15 H.J. Lu - - PR gas/5034 - * gas/i386/x86-64-rip.s: Add Intel mode testcases. - * gas/i386/x86-64-rip-intel.d: Updated. - * gas/i386/x86-64-rip.d: Likewise. - -2007-09-14 Michael Meissner - Dwarakanath Rajagopal - Tony Linthicum - - * gas/i386/i386.exp (x86-64-sse5): Run SSE5 64-bit tests. - - * gas/i386/x86-64-sse5.s: New file for SSE5 support. - * gas/i386/x86-64-sse5.d: Ditto. - -2007-09-12 Jan Beulich - - * gas/i386/sse4_1.s, gas/i386/x86-64-sse4_1.s: Add two-operand forms - of blendvps, blendvpd, and pblendvb. - * gas/i386/sse4_1.d, gas/i386/sse4_1-intel.d, - gas/i386/x86-64-sse4_1.d, gas/i386/x86-64-sse4_1-intel.d: Adjust, - making last/first operand of blendvps, blendvpd, and pblendvb - optional. - -2007-09-12 Jan Beulich - - * gas/i386/amdfam10.s, gas/i386/x86-64-amdfam10.s: Add Intel syntax - code. - * gas/i386/amdfam10.d, gas/i386/x86-64-amdfam10.d: Adjust. - -2007-09-06 H.J. Lu - - * gas/i386/svme.s: Updated to allow eax in 64bit. - * gas/i386/svme.d: Updated. - * gas/i386/svme64.d: Likewise. - -2007-08-31 H.J. Lu - - * gas/i386/svme.s: Updated to accept eax in 32bit and rax in - 64bit. - * gas/i386/svme.d: Updated. - * gas/i386/svme64.d: Likewise. - -2007-08-30 H.J. Lu - - * gas/i386/amd.s: Add rdtscp. - * gas/i386/amd.d: Updated. - - * gas/i386/mem-intel.d: Update invlpg for BYTE PTR. - * gas/i386/x86-64-mem-intel.d: Likewise. - - * gas/i386/x86-64-opcode.s: Add swapgs. - * gas/i386/x86-64-opcode.d: Updated. - -2007-08-29 Daniel Jacobowitz - - * gas/lns/lns-duplicate.d, gas/lns/lns-duplicate.s: New. - * gas/lns/lns.exp: Run lns-duplicate. - -2007-08-29 H.J. Lu - - * gas/i386/i386.exp: Run x86-64-reg and x86-64-reg-intel. - - * gas/i386/x86-64-reg.s: New. Add tests for instructions - with one register operand. - * gas/i386/x86-64-reg-intel.d: Likewise. - * gas/i386/x86-64-reg.d: Likewise. - -2007-08-29 H.J. Lu - - * gas/i386/i386.exp: Run reg and reg-intel. - - * gas/i386/katmai.d: Update bad instructions. - - * gas/i386/reg.s: New. Add tests for instructions with one - register operand. - * gas/i386/reg-intel.d: Likewise. - * gas/i386/reg.d: Likewise. - -2007-08-28 H.J. Lu - - * gas/i386/i386.exp: Run mem, mem-intel, x86-64-mem and - x86-64-mem-intel. - - * gas/i386/mem.s: New. Add tests for instructions with one - memory operand. - * gas/i386/x86-64-mem.s: Likewise. - * gas/i386/mem-intel.d: Likewise. - * gas/i386/mem.d: Likewise. - * gas/i386/x86-64-mem-intel.d: Likewise. - * gas/i386/x86-64-mem.d: Likewise. - -2007-08-28 Mark Shinwell - Joseph Myers - - * lib/gas-defs.exp (gas_version): Use remote_* functions instead - of exec. - (gas_host_run): New. - (gas_run): Use gas_host_run. - (gas_start): Likewise. - (run_dump_test): Likewise. - (objdump): Use gas_host_run. - (objdump_start_no_subdir): Likewise. - * lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete". - * lib/run: Remove. - * gas/macros/macros.exp: Download app4b.s to host. - * gas/i386/i386.exp (gas_64_check): Use gas_host_run. - (gas_32_check): Likewise. - * gas/maxq10/maxq10.exp (gas_64_check): Likewise - (gas_32_check): Likewise. - * gas/maxq20/maxq20.exp (gas_64_check): Likewise - (gas_32_check): Likewise. - * gas/sparc/sparc.exp (gas_64_check): Likewise. - * gas/cfi/cfi.exp: Likewise. - * gas/elf/elf.exp (run_list_test): Likewise. Use temporary file - for readelf output in place of pipe. - * gas/all/gas.exp: Download incbin.dat to host. - (do_comment): Allow \r\r\n. - -2007-08-09 Paul Brook - - * gas/arm/relax_load_align.d: new test. - * gas/arm/relax_load_align.s: new test. - -2007-08-09 H.J. Lu - - * gas/i386/i386.exp: Run sse4_1-intel, sse4_2-intel, - x86-64-sse4_1-intel and x86-64-sse4_2-intel. - - * gas/i386/sse4_1-intel.d: New file. - * gas/i386/sse4_2-intel.d: Likewise. - * gas/i386/x86-64-sse4_1-intel.d: Likewise. - * gas/i386/x86-64-sse4_2-intel.d: Likewise. - - * gas/i386/sse4_1.s: Add tests for Intel syntax. - * gas/i386/sse4_2.s: Likewise. - * gas/i386/x86-64-sse4_1.s: Likewise. - * gas/i386/x86-64-sse4_2.s: Likewise. - - * gas/i386/sse4_1.d: Updated. - * gas/i386/sse4_2.d: Likewise. - * gas/i386/x86-64-sse4_1.d: Likewise. - * gas/i386/x86-64-sse4_2.d: Likewise. - -2007-08-09 Alan Modra - - * gas/all/weakref1u.d (not-target): Match *-*-*aout. - -2007-07-29 H.J. Lu - - PR binutils/4834 - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - - * gas/i386/simd.s: Add tests for SSE4 instructions. - * gas/i386/x86-64-simd.s: Likewise. - -2007-07-29 H.J. Lu - - * gas/i386/simd.s: Add tests for cvtss2si/cvtsd2si in Intel - mode. - * gas/i386/x86-64-simd.s: Likewise. - - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - -2007-07-28 H.J. Lu - - PR binutils/4834 - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - - * gas/i386/simd.s: Add new tests. - * gas/i386/x86-64-simd.s: Likewise. - -2007-07-28 H.J. Lu - - * gas/i386/x86-64-opcode.d: Updated. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - - * gas/i386/x86-64-simd.s: Add movq. - -2007-07-23 H.J. Lu - - * gas/i386/i386.exp: Run nops16-1, nops-1-i386-i686, nops-1-k8, - nops-3-i386, nops-4, nops-4-i386, x86-64-nops-2, x86-64-nops-3, - x86-64-nops-4, x86-64-nops-4-core2 and x86-64-nops-4-k8. - - * gas/i386/nops-1-i386-i686.d: New. - * gas/i386/nops-1-k8.d: Likewise. - * gas/i386/nops-3-i386.d : Likewise. - * gas/i386/nops-3-i686.d: Likewise. - * gas/i386/nops-4-i386.d: Likewise. - * gas/i386/nops-4.d: Likewise. - * gas/i386/nops16-1.d: Likewise. - * gas/i386/nops16-1.s: Likewise. - * gas/i386/x86-64-nops-1-k8.d: Likewise. - * gas/i386/x86-64-nops-2.d: Likewise. - * gas/i386/x86-64-nops-3.d: Likewise. - * gas/i386/x86-64-nops-4-core2.d: Likewise. - * gas/i386/x86-64-nops-4-k8.d: Likewise. - * gas/i386/x86-64-nops-4.d: Likewise. - - * gas/i386/nops-1-i386.d: Updated. - * gas/i386/nops-1-i686.d: Likewise. - * gas/i386/nops-1.d: Likewise. - * gas/i386/nops-2-i386.d: Likewise. - * gas/i386/nops-2-merom.d : Likewise. - * gas/i386/nops-2.d: Likewise. - * gas/i386/nops-3.d: Likewise. - * gas/i386/x86-64-nops-1-merom.d: Likewise. - * gas/i386/x86-64-nops-1-nocona.d: Likewise. - * gas/i386/x86-64-nops-1.d: Likewise. - - * gas/i386/x86-64-nops-1.s: Removed. - -2007-07-23 Evandro Menezes - H.J. Lu - - * gas/i386/i386.exp: Don't run x86-64-nops-1-k8. Run - nops-3-i686 and nops-4-i686. - - * gas/i386/nops-3-i686.d: New. - * gas/i386/nops-4-i686.d: Likewise. - * gas/i386/nops-4.s: Likewise. - -2007-07-23 Richard Sandiford - - * lib/gas-defs.exp (run_list_test): Make the options optional. - * gas/cr16/cr16.exp (run_list_test): Delete. - -2007-07-19 Nick Clifton - - PR gas/4804 - * gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target - in the same way as the arm-eabi target. - * gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu - target. - * gas/arm/mapshort-elf.d: Do not use this file for the - arm-linux-gnu target. - -2007-07-16 H.J. Lu - - * gas/i386/simd.s: Add tests for punpcklbw, punpckldq, - punpcklwd and punpcklqdq. - * gas/i386/x86-64-simd.s: Likewise. - - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - -2007-07-14 Nick Clifton - - * gas/arm/arm.s: Add tests for re-aliasing a previously removed - alias. - * gas/arm/arm.l: Add new expected warning message. - -2007-07-04 H.J. Lu - - * gas/i386/ssemmx2.d: Ignore padding. - -2007-07-04 H.J. Lu - - * gas/i386/rex.s: Avoid the last rex prefix becoming the - rex prefix for the padding. - -2007-07-04 H.J. Lu - - * gas/i386/i386.exp: Run x86-64-nops-1 for x86_64-*-mingw*. - -2007-07-04 Nick Clifton - - * gas/mep/relocs.d: Fix expected disassembly to work on 64-bit - hosts. - -2007-07-03 M R Swami Reddy - - * gas/elf/elf.exp: Expect redef test to fail for CR16. - * gas/all/gas.exp: Expect forward and do_930509a tests to fail for - the CR16. - * gas/cr16/cinv_test.d: Remove whitespace dependencies. - -2007-07-03 Nick Clifton - - * lib/gas-defs.exp: Update copyright notice to refer to GPLv3. - * gas/all/itbl-test.c, gas/all/test-example.c, gas/all/test-gen.c, - gas/arm/maverick.c, gas/cris/cris.exp, gas/hppa/basic/basic.exp, - gas/hppa/parse/parse.exp, gas/hppa/reloc/reloc.exp, - gas/hppa/unsorted/unsorted.exp, gas/mmix/mmix-err.exp, - gas/mmix/mmix-list.exp, gas/mmix/mmix.exp, gas/mn10200/basic.exp, - gas/mn10300/am33-2.c, gas/mn10300/basic.exp, gas/pdp11/opcode.s, - gas/ppc/aix.exp, gas/sh/arch/arch.exp, gas/sh/sh64/sh64.exp, - gas/sh/basic.exp, gas/sh/err.exp, gas/v850/basic.exp: Likewise. - -2007-07-03 Nathan Sidwell - - * gas/m68k/mcf-coproc.d: New. - * gas/m68k/mcf-coproc.s: New. - * gas/m68k/all.exp: Add it. - -2007-06-29 M R Swami Reddy - - * gas/cr16: New directory - * gas/cr16.exp: New file - * add_test.d and add_test.s: New files - * and_test.d and and_test.s: New files - * ash_test.d and ash_test.s: New files - * bal_test.d and bal_test.s: New files - * bcc_test.d and bcc_test.s: New files - * beq0_test.d and beq0_test.s: New files - * cbitb_test.d and cbitb_test.s: New files - * cbitw_test.d and cbitw_test.s: New files - * cinv_test.d and cinv_test.s: New files - * cmp_test.d and cmp_test.s: New files - * excp_test.d and excp_test.s: New files - * jal_test.d and jal_test.s: New files - * jcc_test.d and jcc_test.s: New files - * loadb_test.d and loadb_test.s: New files - * loadd_test.d and loadd_test.s: New files - * loadm_test.d and loadm_test.s: New files - * loadw_test.d and loadw_test.s: New files - * lpsp_test.d and lpsp_test.s: New files - * lsh_test.d and lsh_test.s: New files - * mov_test.d and mov_test.s: New files - * mul_test.d and mul_test.s: New files - * or_test.d and or_test.s: New files - * popret_test.d and popret_test.s: New files - * pop_test.d and pop_test.s: New files - * push_test.d and push_test.s: New files - * sbitb_test.d and sbitb_test.s: New files - * sbitw_test.d and sbitw_test.s: New files - * scc_test.d and scc_test.s: New files - * storb_test.d and storb_test.s: New files - * stord_test.d and stord_test.s: New files - * storm_test.d and storm_test.s: New files - * storw_test.d and storw_test.s: New files - * sub_test.d and sub_test.s: New files - * tbitb_test.d and tbitb_test.s: New files - * tbit_test.d and tbit_test.s: New files - * tbitw_test.d and tbitw_test.s: New files - * xor_test.d and xor_test.s: New files - -2007-06-26 Paul Brook - - * gas/arm/vfp1xD.d: Add new fmrx/fmxr tests. - * gas/arm/vfp1xD.s: Ditto. - * gas/arm/vfp1xD_t2.d: Ditto. - * gas/arm/vfp1xD_t2.s: Ditto. - -2007-06-24 Nick Clifton - - * gas/arm/backslash-at.d: Fix for non-ELF arm targets. - -2007-06-23 H.J. Lu - - PR binutils/4667 - * gas/i386/i386.exp: Run simd, simd-intel, x86-64-simd - and x86-64-simd-intel. - - * gas/i386/opcode-intel.d: Updated. - - * gas/i386/simd-intel.d: New. - * gas/i386/simd.d: Likewise. - * gas/i386/simd.s: Likewise. - * gas/i386/x86-64-simd-intel.d: Likewise. - * gas/i386/x86-64-simd.d: Likewise. - * gas/i386/x86-64-simd.s: Likewise. - -2007-06-18 Kazu Hirata - - * gas/m68k/all.exp: Run mcf-wdebug. - * gas/testsuite/gas/m68k/mcf-wdebug.d, - gas/testsuite/gas/m68k/mcf-wdebug.s: New. - -2007-06-14 Paul Brook - - * gas/arm/thumb32.s: Add tests for shift instructions. - * gas/arm/thumb32.d: Ditto. - -2007-06-06 Paul Brook - - * gas/arm/thumb.d: Update expected output. - * gas/arm/thumb2_relax.d: Ditto. - -2007-06-05 Paul Brook - - * gas/arm/thumb32.d: Add writeback addressing mode tests. - * gas/arm/thumb32.s: Update expected output. - -2007-06-05 Nick Clifton - - PR gas/4587 - * gas/sparc/sparc.exp: Run pr4587 list test. - * gas/sparc/pr4587.s: New test case. - * gas/sparc/pr4587.l: Expected assembler output. - -2007-06-05 Nick Clifton - - * lib/gas-defs.exp (run_list_test): New proc. - * gas/alpha/alpha.exp: Delete proc run_list_test. - * gas/bfin/bfin.exp : Likewise. - * gas/cfi/cfi.exp : Likewise. - * gas/crx/allinsn.exp : Likewise. - * gas/d10v/d10v.exp : Likewise. - * gas/d30v/d30v.exp : Likewise. - * gas/frv/allinsn.exp : Likewise. - * gas/i386/i386.exp : Likewise. - * gas/i860.i860.exp : Likewise. - * gas/ia64/ia64.exp : Likewise. - * gas/lns/lns.exp : Likewise. - * gas/macros/macros.exp : Likewise. - * gas/maxq10/maxq10.exp : Likewise. - * gas/maxq20/maxq20.exp : Likewise. - * gas/mips/mips.exp : Likewise. - * gas/mmix/mmix-list.exp : Likewise. - * gas/mn10300/basic.exp : Likewise. - * gas/msp430/msp430.exp : Likewise. - * gas/pdp11/pdp11.exp : Likewise. - * gas/ppc/ppc.exp : Likewise. - * gas/s390/s390.exp : Likewise. - * gas/elf/elf.exp (proc run_list_test): Rename to run_elf_list_test. - -2007-05-29 Jakub Jelinek - - PR gas/4558 - * gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests. - * gas/sparc/v9branch1.d: New test. - * gas/sparc/v9branch1.s: New. - * gas/sparc/v9branch2.d: New test. - * gas/sparc/v9branch2.s: New. - * gas/sparc/v9branch3.d: New test. - * gas/sparc/v9branch3.s: New. - * gas/sparc/v9branch4.d: New test. - * gas/sparc/v9branch4.s: New. - * gas/sparc/v9branch5.d: New test. - * gas/sparc/v9branch5.s: New. - -2007-03-25 Paul Brook - - * gas/arm/thumb32.s: Add tests for subs pc, lr. - * gas/arm/thumb32.d: Change error-output: to stderr:. - Update expected output. - -2007-05-22 Paul Brook - - * gas/arm/backslash-at.d: Update expected output. - -2007-05-17 H.J. Lu - - 2003-06-05 Michal Ludvig - * gas/cfi/cfi-x86_64.s: Test new directives - and different writings of registers and numbers. - * gas/cfi/cfi-x86_64.d: Updated pattern to - match the above change. - -2007-05-15 Mark Shinwell - - * gas/arm/backslash-at.d: New. - * gas/arm/backslash-at.s: New. - -2007-05-15 Vincent Riviere - Nick Clifton - - PR gas/3041 - * gas/m68k/p3041.s: New test case. - * gas/m68k/p3041.d: New expected disassembly. - * gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains. - Only run arch-cpu-1 test for ELF based toolchains. - - Tidy ups for m68k-netbsd gas toolchain: - * gas/m68k/cpu32.d: Allow for extra text after expected - disassembly. - * gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics. - * gas/m68k/br-isab.d: Fix name of test. - * gas/m68k/br-isac.d: Fix name of test. - -2007-05-14 H.J. Lu - - PR binutils/4502 - * gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw". - -2007-05-04 Kazu Hirata - - * gas/m68k/all.exp: Skip fmoveml on fido. - -2007-05-03 H.J. Lu - - PR gas/4460 - * gas/i386/gotpc.s: Add a new test. - * gas/i386/reloc64.s: Likewise. - - * gas/i386/gotpc.d: Updated. - * gas/i386/reloc64.d: Likewise. - -2007-05-03 H.J. Lu - - * gas/i386/crc32-intel.d: Updated. - * gas/i386/crc32.d: Likewise. - * gas/i386/sse4_2.d: Likewise. - * gas/i386/x86-64-crc32-intel.d: Likewise. - * gas/i386/x86-64-crc32.d: Likewise. - * gas/i386/x86-64-sse4_2.d: Likewise. - - * gas/i386/crc32.s: Remove crc32 instructions with ambiguous - operand size and suffix in crc32 instructions in Intel mode. - * gas/i386/x86-64-crc32.s: Likewise. - - * gas/i386/sse4_2.s: Remove crc32 instructions with ambiguous - operand size. - * gas/i386/x86-64-sse4_2.s: Likewise. - - * gas/i386/i386.exp: Run inval-crc32 and x86-64-inval-crc32. - - * gas/i386/inval-crc32.l: New. - * gas/i386/inval-crc32.s: Likewise. - * gas/i386/x86-64-inval-crc32.l: Likewise. - * gas/i386/x86-64-inval-crc32.s: Likewise. - -2007-05-01 H.J. Lu - - * gas/i386/crc32-intel.d: New file. - * gas/i386/crc32.d:Likewise. - * gas/i386/crc32.s:Likewise. - * gas/i386/x86-64-crc32-intel.d:Likewise. - * gas/i386/x86-64-crc32.d:Likewise. - * gas/i386/x86-64-crc32.s:Likewise. - - * gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32 - and x86-64-crc32-intel. - -2007-04-26 H.J. Lu - - PR binutils/4430 - * gas/i386/amd.d: Updated. - * gas/i386/immed32.d: Likewise. - * gas/i386/intel.d: Likewise. - * gas/i386/intel16.d: Likewise. - * gas/i386/intelok.d: Likewise. - * gas/i386/jump16.d: Likewise. - * gas/i386/naked.d: Likewise. - * gas/i386/opcode-suffix.d: Likewise. - * gas/i386/opcode.d: Likewise. - * gas/i386/prescott.d: Likewise. - * gas/i386/ssemmx2.d: Likewise. - * gas/i386/tlsd.d: Likewise. - * gas/i386/tlspic.d: Likewise. - * gas/i386/x86-64-addr32.d: Likewise. - * gas/i386/x86-64-prescott.d: Likewise. - * gas/i386/x86-64-rip.d: Likewise. - * gas/i386/x86_64.d: Likewise. - -2007-04-26 H.J. Lu - - PR binutils/4429 - * gas/i386/i386.exp: Run "x86-64-addr32-intel" and - "x86-64-rip-intel". - - * gas/i386/intelok.d: Updated. - - * gas/i386/x86-64-addr32-intel.d: New file. - * gas/i386/x86-64-rip-intel.d: Likewise. - -2007-04-24 Andreas Krebbel - - * gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst. - * gas/s390/zarch-z9-ec.s: Likewise. - -2007-04-23 Nathan Sidwell - - * gas/m68k/br-isaa.s: New. - * gas/m68k/br-isaa.d: New. - * gas/m68k/br-isab.s: New. - * gas/m68k/br-isab.d: New. - * gas/m68k/br-isac.s: New. - * gas/m68k/br-isac.d: New. - * gas/m68k/all.exp: Adjust. - -2007-04-21 Richard Earnshaw - - * gas/arm/arch4t.d: Convert to unified syntax. - * gas/arm/archv6.d: Likewise. - * gas/arm/archv6t2.d: Likewise. - * gas/arm/arch3.d: Likewise. - * gas/arm/arch7dm.d: Likewise. - * gas/arm/arch7t.d: Likewise. - * gas/arm/archv1.d: Likewise. - * gas/arm/copro.d: Likewise. - * gas/arm/inst.d: Likewise. - * gas/arm/macro1.d: Likewise. - * gas/arm/tcompat.d: Likewise. - * gas/arm/wince_inst.d: Likewise. - * gas/arm/xscale.d: Likewise. - - * gas/arm/thumb.d: White space cleanup. - * gas/arm/thumb2_relax.d: Likewise. - * gas/arm/thumb32.d: Likewise. - -2007-04-20 Nathan Sidwell - - * gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New. - * gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New. - * gas/m68k/all.exp: Add them. - -2007-04-20 Alan Modra - - * gas/ppc/range64.s: New. - * gas/ppc/range64.l: New. - * gas/ppc/range.s: New. - * gas/ppc/range.l: New. - * gas/ppc/ppc.exp (run_list_test): New. Use to run new tests. - -2007-04-20 Richard Earnshaw - - * gas/arm/mapshort.s: Add a small .data section. - * gas/arm/mapshort-eabi.d: Check the data section doesn't confuse - disassembly. - * gas/arm/mapshort-elf.d: Likewise. - -2007-04-19 Paul Brook - - * gas/arm/thumb1_unified.d: New test. - * gas/arm/thumb1_unified.s: New test. - -2007-04-19 Nathan Froyd - - * gas/ppc/booke.s: Add tlbsx, tlbsxe. - * gas/ppc/booke.d: Update. - -2007-04-18 H.J. Lu - - * gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2. - - * gas/i386/sse4_2.d: New file. - * gas/i386/sse4_2.s: Likewise. - * gas/i386/x86-64-sse4_2.d: Likewise. - * gas/i386/x86-64-sse4_2.s: Likewise. - -2007-04-18 H.J. Lu - - * gas/i386/i386.exp: Add sse4.1 and x86-64-sse4.1. - - * gas/i386/sse4_1.d: New file. - * gas/i386/sse4_1.s: Likewise. - * gas/i386/x86-64-sse4_1.d: Likewise. - * gas/i386/x86-64-sse4_1.s: Likewise. - -2007-04-18 Paul Brook - - * gas/arm/thumb2_add.s: Add rsb #0 test. - * gas/arm/thumb2_add.d: Update expected output. - -2007-04-04 Paul Brook - - * gas/arm/neon-cov.s: Add new vext test. - * gas/arm/neon-cov.d: Ditto. - -2007-04-01 Christian Groessler - - * gas/z8k/calr.d: Fix for 64bit bfd. - * gas/z8k/djnz.d: Likewise. - * gas/z8k/inout.d: Likewise. - * gas/z8k/jmp-cc.d: Likewise. - * gas/z8k/jr-back.d: Likewise. - * gas/z8k/jr-forw.d: Likewise. - * gas/z8k/reglabel.d: Likewise. - * gas/z8k/ctrl-names.d: Fix name. Fix for 64bit bfd. - * gas/z8k/ret-cc.d: Likewise. - -2007-03-31 Alan Modra - - * gas/i386/nops-3.s: Don't use .align. - -2007-03-30 Paul Brook - - * gas/arm/thumb2_ldmstm.d: New test. - * gas/arm/thumb2_ldmstm.s: New test. - -2007-03-27 Alan Modra - - * gas/ppc/reloc.s: New. - * gas/ppc/reloc.d: New. - -2007-03-26 Julian Brown - - * gas/arm/neon-const.s: Use FP syntax for 0/-0. - * gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1. - * gas/arm/neon-cov.s: Use float syntax for FP immediate. - -2007-03-24 Paul Brook - Mark Shinwell - - * gas/arm/archv6.s: Add new SRS tests. - * gas/arm/archv6.d: Update expected output. - * gas/arm/thumb32.s: Add new SRS tests. - * gas/arm/thumb32.d: Update expected output. - * gas/arm/srs-t2.d: New. - * gas/arm/srs-t2.l: New. - * gas/arm/srs-t2.s: New. - * gas/arm/srs-arm.d: New. - * gas/arm/srs-arm.l: New. - * gas/arm/srs-arm.s: New. - -2007-03-23 H.J. Lu - - * gas/i386/rex.s: Add tests for rex.WRXB. - * gas/i386/rex.d: Updated. - - * gas/i386/rex.d: Replace rex64XYZ with rex.WRXB. - * gas/i386/x86-64-io-intel.d : Likewise. - * gas/i386/x86-64-io-suffix.d: Likewise. - * gas/i386/x86-64-io.d: Likewise. - * gas/i386/x86-64-opcode.d: Likewise. - -2007-03-21 H.J. Lu - - PR binutils/4218 - * gas/i386/nops.s: Add testcases for nop r/m. - * gas/i386/x86-64-nops.s: Likewise. - - * gas/i386/x86-64-opcode.s: Add testcases for xchg with %ax, - %eax and %rax. - - * gas/i386/nops.d: Updated. - * gas/i386/x86-64-nops.d: Likewise. - * gas/i386/x86-64-opcode.d: Likewise. - -2007-03-21 H.J. Lu - - * gas/i386/i386.exp: Run nops-3. - - * gas/i386/nops-3.d: New file. - * gas/i386/nops-3.s: Likewise. - -2007-03-20 Mark Shinwell - - * gas/arm/mul-overlap.s: Don't use %type. - * gas/arm/mul-overlap.l: Update line numbers. - * gas/arm/mul-overlap-v6.s: Don't use %type. - -2007-03-18 Mark Shinwell - - * gas/arm/mul-overlap.s: New. - * gas/arm/mul-overlap.d: New. - * gas/arm/mul-overlap.l: New. - * gas/arm/mul-overlap-v6.s: New. - * gas/arm/mul-overlap-v6.d: New. - -2007-03-14 Daniel Jacobowitz - - * gas/arm/thumbver.d, gas/arm/thumbver.s: New test. - -2007-03-14 Paul Brook - - * gas/arm/thumb2_add.d: Add tests using sp. - * gas/arm/thumb2_add.s: Ditto. - -2007-03-14 Alan Modra - - PR 4029 - * gas/all/relax.s: New. - * gas/all/relax.d: New. - * gas/all/gas.exp: Run it. - -2007-03-11 Hans-Peter Nilsson - - * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d: - Adjust for change in readelf output. - -2007-03-06 Andreas Krebbel - - * gas/s390/zarch-z9-ec.d: New file. - * gas/s390/zarch-z9-ec.s: New file. - * gas/s390/s390.exp: Run the z9-ec testcases. - -2007-03-05 H.J. Lu - - PR gas/3918 - * lib/gas-defs.exp (gas_started): New variable. Initialized to - 0. - (gas_start): Set gas_started to 1. - (gas_finish): Skip if gas_started is 0. Reset gas_started to 0. - -2007-03-02 Paul Brook - - * gas/arm/relax_branch_align.d: New test. - * gas/arm/relax_branch_align.s: New test. - -2007-02-28 Nick Clifton - - PR gas/3797 - * gas/lns/lns.exp: Do not run the lns-common test for the d10v - port. - * gas/d10v/address-002.l: Update expected assembler output. - * gas/d10v/address-003.l, gas/d10v/address-004.l, - gas/d10v/address-005.l, gas/d10v/address-006.l, - gas/d10v/address-007.l, gas/d10v/address-008.l, - gas/d10v/address-009.l, gas/d10v/address-010.l, - gas/d10v/address-011.l, gas/d10v/address-012.l, - gas/d10v/address-013.l, gas/d10v/address-014.l, - gas/d10v/address-015.l, gas/d10v/address-016.l, - gas/d10v/address-017.l, gas/d10v/address-018.l, - gas/d10v/address-019.l, gas/d10v/address-020.l, - gas/d10v/address-021.l, gas/d10v/address-022.l, - gas/d10v/address-023.l, gas/d10v/address-024.l, - gas/d10v/address-025.l, gas/d10v/address-026.l, - gas/d10v/address-027.l, gas/d10v/address-030.l, - gas/d10v/address-031.l, gas/d10v/address-032.l, - gas/d10v/address-033.l, gas/d10v/address-034.l, - gas/d10v/address-035.l, gas/d10v/address-036.l, - gas/d10v/address-037.l, gas/d10v/address-038.l, - gas/d10v/address-039.l, gas/d10v/address-040.l, - gas/d10v/address-041.l: Likewise. - -2007-02-28 Nick Clifton - - PR gas/3975 - * gas/arm/mapshort.d: Split into two new files... - * gas/arm/mapshort-eabi.d: The one and... - * gas/arm/mapshort-elf.d: This one. - * gas/arm/arch7.d: Remove 32-bit host expectation. - * gas/arm/arm7t.d: Replace ".word 0x00000000" with ".*" as some - arm targets will disassemble this value as an instruction. - * gas/arm/neon-ldst-rm.d: Likewise. - * gas/arm/thumb2_pool.d: Only run this test for ELF based arm - ports. - * gas/arm/thumbrel.d: Only run this test for EABI based arm - ports. - * gas/arm/wince_inst.d: Fix expected branch targets. - -2007-02-22 DJ Delorie - - * gas/s390/esa-g5.s: Adjust for corrected PKA syntax. - * gas/s390/esa-g5.d: Adjust for corrected PKA syntax. - -2007-02-20 Thiemo Seufer - Chao-Ying Fu - - * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for - DSP R2. - * gas/mips/mips.exp: Run new test. - -2007-02-19 Andreas Krebbel - - * gas/s390/esa-g5.d (cfxbr, cfebr, cfdbr): Exchanged floating - point and fixed point operands. - * gas/s390/esa-g5.s: Likewise. - * gas/s390/zarch-z900.d (cfdr, cfer, cfxr, cgdbr, cgebr, cgxbr, - cgdr, cger, cgxr): Likewise. - * gas/s390/zarch-z900.s: Likewise. - -2007-02-11 H.J. Lu - - PR gas/4027 - * gas/i386/opcode.s: Add more tests for "test". - * i386/opcode-intel.d: Updated. - * gas/i386/opcode-suffix.d: Likewise. - * gas/i386/opcode.d: Likewise. - -2007-02-06 Nick Clifton - - PR gas/3810 gas/3800 - * gas/elf/elf.exp: Expect the redef test to fail on targets which - do not convert fixups against ordinary symbols into relocs against - section symbols. - * gas/all/gas.exp: Likewise. - -2007-02-05 Dave Brolley - - * gas/mep/relocs-junk1.s: Add a .data section. - * gas/mep/relocs.d: Updated to match above. - -2007-02-04 H.J. Lu - - PR gas/3961 - * gas/i386/secrel.d: Support 64bit host. - -2007-02-02 Nick Clifton - - PR gas/3812 - * gas/v850/v850e1.d: Correct expected disassembly of cmov insn to - account for sign extension. - -2007-01-11 Paul Brook - - * gas/arm/thumb2_add.d: Add test for missing operand. - * gas/arm/thumb2_add.s: Ditto. - -2007-01-11 Nick Clifton - - * gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a - line comment character. - * gas/mcore/allinsn.d: Adjust expected disassembly to match real - output. - - * gas/lns/lns.exp: Run the alternative version of the lns-common-1 - test for the MCore target. - -2007-01-08 Kai Tietz - - * gas/all/gas.exp: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. - * gas/i386/i386.exp: Ditto. - -2007-01-04 Paul Brook - - * gas/arm/archv6.s: Add more cpsie tests. - * gas/arm/archv6.d: Ditto. - -2007-01-04 Andreas Schwab - - * gas/m68k/cpu32.[sd]: New test. - * gas/m68k/all.exp: Run it. - -2007-01-04 Julian Brown - - * gas/arm/neon-omit.d: Fix expected encodings for vshl, vqshl. - -2007-01-04 Paul Brook - - * gas/arm/neon-cov.d: Adjust expected output. - * gas/arm/neon-omit.s: Add tests for vcgt and vcle. Reorder vacle - and vacle. - * gas/arm/neon-omit.d: Adjust expected output. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/gas/testsuite/ChangeLog-2007 b/gas/testsuite/ChangeLog-2007 new file mode 100644 index 0000000000..9b4849d455 --- /dev/null +++ b/gas/testsuite/ChangeLog-2007 @@ -0,0 +1,1327 @@ +2007-12-31 H.J. Lu + + * gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd. + * gas/i386/simd.s: Likewise. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/inval.l: Updated. + * gas/i386/katmai.d: Likewise. + * gas/i386/simd-intel.d: Likewise. + * gas/i386/simd-suffix.d: Likewise. + * gas/i386/simd.d: Likewise. + * gas/i386/sse2.d: Likewise. + * gas/i386/x86-64-opcode.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd-suffix.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + +2007-12-28 John David Anglin + + * gas/all/gas.exp: Skip relax test on hppa*-*-hpux*. + +2007-12-28 H.J. Lu + + * gas/i386/arch-1.d: New file. + * gas/i386/arch-1.s: Likewise. + * gas/i386/arch-2.d: Likewise. + * gas/i386/arch-2.s: Likewise. + * gas/i386/arch-3.d: Likewise. + * gas/i386/arch-3.s: Likewise. + * gas/i386/arch-4.d: Likewise. + * gas/i386/arch-4.s: Likewise. + + * gas/i386/i386.exp: Run arch-1, arch-2, arch-3 and arch-4. + +2007-12-23 H.J. Lu + + * gas/i386/compat-intel.d: Pass -mmnemonic=att to assembler. + * gas/i386/compat.d: Likewise. + + * gas/i386/i386.exp: Pass -mmnemonic=att to assembler for + "float". Pass -mold-gcc to assembler for "general". + +2007-12-22 H.J. Lu + + * gas/i386/compat-intel.d: New file. + * gas/i386/compat.d: Likewise. + * gas/i386/compat.s: Likewise. + + * gas/i386/i386.exp: Run compat. + +2007-12-13 Bob Wilson + + * gas/xtensa/all.exp: Run new weak-call test. + * gas/xtensa/weak-call.d: New. + * gas/xtensa/weak-call.s: New. + +2007-12-11 Catherine Moore + + * gas/elf/symtab.s: New test. + * gas/elf/symtab.d: New expected output. + * gas/elf/elf.exp: Run the new symbtab test. + +2007-12-10 Richard Sandiford + + * gas/mips/align2.s, gas/mips/align2.d, gas/mips/align2-el.d: New + tests. + * gas/mips/mips.exp: Run them. + +2007-12-07 Bob Wilson + + * gas/xtensa/all.exp: Run new pcrel test. + * gas/xtensa/err-pcrel.s: New. + * gas/xtensa/pcrel.d: New. + * gas/xtensa/pcrel.s: New. + * gas/xtensa/xtensa-err.exp: New. + +2007-11-30 Bob Wilson + + * gas/elf/elf.exp: Disable ehopt test for Xtensa. + +2007-11-29 Mark Shinwell + + * config/tc-mips.c (mips_cpu_info_table): Add loongson2e + and loongson2f entries. + * doc/c-mips.texi: Document -march=loongson{2e,2f} options. + +2007-11-29 Martin Schwidefsky + + * gas/s390/esa-z9-109.d: Add check for old version of sske. + * gas/s390/esa-z9-109.s: Likewise. + +2007-11-27 Andreas Krebbel + + * gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget", + "tgdt", "tgxt"): Removed. + ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. + * gas/s390/zarch-z9-ec.s: Likewise. + +2007-11-19 Bob Wilson + + * gas/lns/lns.exp: Run lns-common-1 with alternate source for ia64. + * gas/lns/lns-common-1-ia64.s: New file. + +2007-11-14 H.J. Lu + + * gas/ia64/dv-raw-err.s: Add tests for ar.ruc. + * gas/ia64/dv-waw-err.s: Likewise. + * gas/ia64/invalid-ar.s: Likewise. + + * gas/ia64/regs.s: Add tests for ar.ruc and ar44. + + * gas/ia64/dv-raw-err.l: Updated. + * gas/ia64/dv-waw-err.l: Likewise. + * gas/ia64/invalid-ar.l: Likewise. + * gas/ia64/regs.d: Likewise. + +2007-11-13 Alan Modra + + * gas/macros/purge.s: Delete irpc loops. + +2007-11-12 Tristan Gingold + + * gas/ppc/regnames.d: New. + * gas/ppc/regnames.s: Likewise. + * gas/ppc/ppc.exp: Run it. + +2007-11-07 Tristan Gingold + + * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr + registers instead of register number. + +2007-11-07 Tristan Gingold + + * gas/elf/elf.exp (run_elf_list_test): Fix typo. + +2007-11-07 Tristan Gingold + + * gas/ppc/test1xcoff32.d: Updated to match RTOC bug fix. + +2007-11-06 Paul Brook + + * gas/arm/mul-overlap.s: Add umull and smlal. + * gas/arm/mul-overlap.l: Update expected results. + +2007-11-06 Nick Clifton + + * gas/elf/elf.exp: Disable ehopt test for mn10300. + +2007-11-01 H.J. Lu + + * gas/i386/i386.d: New. + * gas/i386/i386.s: Likewise. + + * gas/i386/i386.exp: Run i386. + + * gas/i386/x86_64.s: Add tests for movsx, movsbl, movsbq, + movsbw, movswl, movswq, movzx, movzb, movzbl, movzbq, + movzbw, movzwl and movzwq. + * gas/i386/x86_64.d: Updated. + +2007-10-31 Nick Clifton + + * gas/cfi/cfi-common-6.d: Allow for possible relocation of the + .debug.eh_frame section. + +2007-10-30 Nick Clifton + + * gas/all/gas.exp: Do not run diff1.s test for mn10300. + +2007-10-27 H.J. Lu + + PR gas/5221 + * gas/elf/elf.exp: Run section7. + + * gas/elf/section7.d: New. + * gas/elf/section7.s: Likewise. + +2007-10-23 H.J. Lu + + * gas/i386/katmai.s: Remove cmpps opcode test. + + * gas/i386/simd.s: Add tests for cmpss and cmpsd. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/katmai.d: Updated. + * gas/i386/simd-intel.d: Likewise. + * gas/i386/simd-suffix.d: Likewise. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd-suffix.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + +2007-10-19 Nick Clifton + + * gas/mn10300/basic.exp: Run pr997 test. + * gas/mn10300/pr997.s: New test. + * gas/mn10300/pr887.l: Expected output. + +2007-10-17 Nathan Sidwell + + * gas/m68k/mcf-movsr.s: New. + * gas/m68k/mcf-movsr.d: New. + * gas/m68k/all.exp: Add mcf-movsr test. + +2007-10-16 Nick Clifton + + * gas/elf/elf.exp: Accept COMMON in readelf's output. + * gas/elf/type.s: Add test of common type. + * gas/elf/type.e: Extend expected output. + +2007-10-11 Nick Clifton + + * gas/elf/elf.exp (run_elf_list_test): Run section6 test. + * gas/elf/section6.s: New file: Check behaviour of .pushsection + with a subsection argument. + * gas/elf/section6.d: New file: Expected disassembly. + +2007-10-08 H.J. Lu + + * gas/i386/i386.exp: Run simd-suffix and x86-64-simd-suffix. + + * gas/i386/simd-suffix.d: New. + * gas/i386/x86-64-simd-suffix.d: Likewise. + + * gas/i386/x86-64-opcode.d: Updated. + * gas/i386/x86-64-simd.d: Likewise. + +2007-10-08 Maciej W. Rozycki + + * gas/mips/cp0-names-r3000.d: New test for R3000 CP0 symbolic + disassembly. + * gas/mips/cp0-names-r4000.d: New test for R4000/R4400 symbolic + CP0 disassembly. + * mips/mips.exp: Run the new tests. + +2007-10-08 Maciej W. Rozycki + + * gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set + at=REG" directive. + * gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests. + * gas/mips/mips.exp: Run the new tests. + +2007-10-05 H.J. Lu + + * gas/i386/i386.exp: Run smx. + + * gas/i386/smx.d: New. + * gas/i386/smx.s: Likewise. + +2007-10-04 H.J. Lu + + * gas/i386/simd.s: Add tests for unpckhpd and unpckhps. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + +2007-10-04 David Daney + + * gas/mips/odd-float.d, gas/mips/odd-float.s: New test. + * gas/mips/mips.exp: Run it. + +2007-10-04 H.J. Lu + + PR gas/5109 + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + + * gas/i386/simd.s: Add more tests. + * gas/i386/x86-64-simd.s: Likewise. + +2007-10-04 Helge Deller + + * gas/all/gas.exp: Include new test "strings". + * gas/all/string.s: New + * gas/all/string.d: New. + +2007-10-01 Tristan Gingold + + * gas/ppc/altivec_xcoff.s: Do not use .machine pseudo-ops as it + overrides gas options. + * gas/ppc/altivec_xcoff64.s: Likewise. + * gas/ppc/booke_xcoff64.s: Likewise. + * gas/ppc/altivec_xcoff.d: Accept 32bits offsets. + * gas/ppc/booke_xcoff.s: Do not use .machine pseudo-op and remove + booke64 opcodes. + * gas/ppc/booke_xcoff.d: Accept 32bits offsets and renumber. + * gas/ppc/booke_xcoff64.d: Use booke opcodes. + +2007-09-30 H.J. Lu + + PR gas/5080 + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + + * gas/i386/simd.s: Add new tests for cvttsd2si and cvttss2si. + * gas/i386/x86-64-simd.s: Likewise. + +2007-09-27 H.J. Lu + + PR binutils/5072 + * gas/i386/i386.exp: Run x86-64-opcode-inval and + x86-64-opcode-inval-intel. + + * gas/i386/x86-64-opcode-inval-intel.d: New. + * gas/i386/x86-64-opcode-inval.d: Likewise. + * gas/i386/x86-64-opcode-inval.s: Likewise. + +2007-09-27 Kazu Hirata + + * gas/m68k/fido.s: Add tests for %mbo. + * gas/m68k/fido.d: Update accordingly. + +2007-09-26 Jan Beulich + + * gas/i386/x86-64-addr32.d: Adjust expectations. + +2007-09-26 Jan Beulich + + * gas/i386/reloc64.s: Adjust for %eip-relative addressing no + longer generating errors. + * gas/i386/reloc64.d, gas/i386/reloc64.l: Update. + * gas/i386/x86-64-addr32.s: Remove explicit addr32 prefix + for %eip-realtive addressing case. + +2007-09-25 Nathan Sidwell + + * gas/m68k/br-isaa.d: Dump relocs too. + * gas/m68k/br-isab.d: Likewise. + * gas/m68k/br-isac.d: Likewise. Adjust for long branch relaxation. + +2007-09-24 Carlos O'Donell + + * gas/mips/align.s, gas/mips/align.d: New test. + * gas/mips/mips.exp: Run it. + +2007-09-20 H.J. Lu + + * gas/i386/sib.s: Add more eiz tests. + * gas/i386/x86-64-sib.s: Add more riz tests. + + * gas/i386/sib-intel.d: Updated. + * gas/i386/sib.d: Likewise. + * gas/i386/x86-64-sib-intel.d: Likewise. + * gas/i386/x86-64-sib.d: Likewise. + +2007-09-20 H.J. Lu + + PR 658 + * gas/i386/i386.exp: Run sib-intel, x86-64-sib and + x86-64-sib-intel. + + * gas/i386/nops-1-i386-i686.d: Updated. + * gas/i386/nops-1-i386.d: Likewise. + * gas/i386/nops-1.d: Likewise. + * gas/i386/nops-2-i386.d: Likewise. + * gas/i386/nops-2-merom.d: Likewise. + * gas/i386/nops-2.d: Likewise. + * gas/i386/nops-3-i386.d: Likewise. + * gas/i386/nops-3.d : Likewise. + * gas/i386/sib.d: Likewise. + + * gas/i386/sib.s: Use %eiz in testcases. + + * gas/i386/sib-intel.d: New. + * gas/i386/x86-64-sib-intel.d: Likewise. + * gas/i386/x86-64-sib.d: Likewise. + * gas/i386/x86-64-sib.s: Likewise. + +2007-09-19 H.J. Lu + + * gas/i386/intelok.s: Add tests for memory without base. + * gas/i386/intelok.d: Updated. + * gas/i386/intelok.e: Likewise. + +2007-09-17 H.J. Lu + + * gas/i386/x86-64-rip.s: Revert the last change. + * gas/i386/x86-64-rip-intel.d: Likewise. + * gas/i386/x86-64-rip.d: Likewise. + +2007-09-15 H.J. Lu + + PR gas/5034 + * gas/i386/x86-64-rip.s: Add Intel mode testcases. + * gas/i386/x86-64-rip-intel.d: Updated. + * gas/i386/x86-64-rip.d: Likewise. + +2007-09-14 Michael Meissner + Dwarakanath Rajagopal + Tony Linthicum + + * gas/i386/i386.exp (x86-64-sse5): Run SSE5 64-bit tests. + + * gas/i386/x86-64-sse5.s: New file for SSE5 support. + * gas/i386/x86-64-sse5.d: Ditto. + +2007-09-12 Jan Beulich + + * gas/i386/sse4_1.s, gas/i386/x86-64-sse4_1.s: Add two-operand forms + of blendvps, blendvpd, and pblendvb. + * gas/i386/sse4_1.d, gas/i386/sse4_1-intel.d, + gas/i386/x86-64-sse4_1.d, gas/i386/x86-64-sse4_1-intel.d: Adjust, + making last/first operand of blendvps, blendvpd, and pblendvb + optional. + +2007-09-12 Jan Beulich + + * gas/i386/amdfam10.s, gas/i386/x86-64-amdfam10.s: Add Intel syntax + code. + * gas/i386/amdfam10.d, gas/i386/x86-64-amdfam10.d: Adjust. + +2007-09-06 H.J. Lu + + * gas/i386/svme.s: Updated to allow eax in 64bit. + * gas/i386/svme.d: Updated. + * gas/i386/svme64.d: Likewise. + +2007-08-31 H.J. Lu + + * gas/i386/svme.s: Updated to accept eax in 32bit and rax in + 64bit. + * gas/i386/svme.d: Updated. + * gas/i386/svme64.d: Likewise. + +2007-08-30 H.J. Lu + + * gas/i386/amd.s: Add rdtscp. + * gas/i386/amd.d: Updated. + + * gas/i386/mem-intel.d: Update invlpg for BYTE PTR. + * gas/i386/x86-64-mem-intel.d: Likewise. + + * gas/i386/x86-64-opcode.s: Add swapgs. + * gas/i386/x86-64-opcode.d: Updated. + +2007-08-29 Daniel Jacobowitz + + * gas/lns/lns-duplicate.d, gas/lns/lns-duplicate.s: New. + * gas/lns/lns.exp: Run lns-duplicate. + +2007-08-29 H.J. Lu + + * gas/i386/i386.exp: Run x86-64-reg and x86-64-reg-intel. + + * gas/i386/x86-64-reg.s: New. Add tests for instructions + with one register operand. + * gas/i386/x86-64-reg-intel.d: Likewise. + * gas/i386/x86-64-reg.d: Likewise. + +2007-08-29 H.J. Lu + + * gas/i386/i386.exp: Run reg and reg-intel. + + * gas/i386/katmai.d: Update bad instructions. + + * gas/i386/reg.s: New. Add tests for instructions with one + register operand. + * gas/i386/reg-intel.d: Likewise. + * gas/i386/reg.d: Likewise. + +2007-08-28 H.J. Lu + + * gas/i386/i386.exp: Run mem, mem-intel, x86-64-mem and + x86-64-mem-intel. + + * gas/i386/mem.s: New. Add tests for instructions with one + memory operand. + * gas/i386/x86-64-mem.s: Likewise. + * gas/i386/mem-intel.d: Likewise. + * gas/i386/mem.d: Likewise. + * gas/i386/x86-64-mem-intel.d: Likewise. + * gas/i386/x86-64-mem.d: Likewise. + +2007-08-28 Mark Shinwell + Joseph Myers + + * lib/gas-defs.exp (gas_version): Use remote_* functions instead + of exec. + (gas_host_run): New. + (gas_run): Use gas_host_run. + (gas_start): Likewise. + (run_dump_test): Likewise. + (objdump): Use gas_host_run. + (objdump_start_no_subdir): Likewise. + * lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete". + * lib/run: Remove. + * gas/macros/macros.exp: Download app4b.s to host. + * gas/i386/i386.exp (gas_64_check): Use gas_host_run. + (gas_32_check): Likewise. + * gas/maxq10/maxq10.exp (gas_64_check): Likewise + (gas_32_check): Likewise. + * gas/maxq20/maxq20.exp (gas_64_check): Likewise + (gas_32_check): Likewise. + * gas/sparc/sparc.exp (gas_64_check): Likewise. + * gas/cfi/cfi.exp: Likewise. + * gas/elf/elf.exp (run_list_test): Likewise. Use temporary file + for readelf output in place of pipe. + * gas/all/gas.exp: Download incbin.dat to host. + (do_comment): Allow \r\r\n. + +2007-08-09 Paul Brook + + * gas/arm/relax_load_align.d: new test. + * gas/arm/relax_load_align.s: new test. + +2007-08-09 H.J. Lu + + * gas/i386/i386.exp: Run sse4_1-intel, sse4_2-intel, + x86-64-sse4_1-intel and x86-64-sse4_2-intel. + + * gas/i386/sse4_1-intel.d: New file. + * gas/i386/sse4_2-intel.d: Likewise. + * gas/i386/x86-64-sse4_1-intel.d: Likewise. + * gas/i386/x86-64-sse4_2-intel.d: Likewise. + + * gas/i386/sse4_1.s: Add tests for Intel syntax. + * gas/i386/sse4_2.s: Likewise. + * gas/i386/x86-64-sse4_1.s: Likewise. + * gas/i386/x86-64-sse4_2.s: Likewise. + + * gas/i386/sse4_1.d: Updated. + * gas/i386/sse4_2.d: Likewise. + * gas/i386/x86-64-sse4_1.d: Likewise. + * gas/i386/x86-64-sse4_2.d: Likewise. + +2007-08-09 Alan Modra + + * gas/all/weakref1u.d (not-target): Match *-*-*aout. + +2007-07-29 H.J. Lu + + PR binutils/4834 + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + + * gas/i386/simd.s: Add tests for SSE4 instructions. + * gas/i386/x86-64-simd.s: Likewise. + +2007-07-29 H.J. Lu + + * gas/i386/simd.s: Add tests for cvtss2si/cvtsd2si in Intel + mode. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + +2007-07-28 H.J. Lu + + PR binutils/4834 + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + + * gas/i386/simd.s: Add new tests. + * gas/i386/x86-64-simd.s: Likewise. + +2007-07-28 H.J. Lu + + * gas/i386/x86-64-opcode.d: Updated. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + + * gas/i386/x86-64-simd.s: Add movq. + +2007-07-23 H.J. Lu + + * gas/i386/i386.exp: Run nops16-1, nops-1-i386-i686, nops-1-k8, + nops-3-i386, nops-4, nops-4-i386, x86-64-nops-2, x86-64-nops-3, + x86-64-nops-4, x86-64-nops-4-core2 and x86-64-nops-4-k8. + + * gas/i386/nops-1-i386-i686.d: New. + * gas/i386/nops-1-k8.d: Likewise. + * gas/i386/nops-3-i386.d : Likewise. + * gas/i386/nops-3-i686.d: Likewise. + * gas/i386/nops-4-i386.d: Likewise. + * gas/i386/nops-4.d: Likewise. + * gas/i386/nops16-1.d: Likewise. + * gas/i386/nops16-1.s: Likewise. + * gas/i386/x86-64-nops-1-k8.d: Likewise. + * gas/i386/x86-64-nops-2.d: Likewise. + * gas/i386/x86-64-nops-3.d: Likewise. + * gas/i386/x86-64-nops-4-core2.d: Likewise. + * gas/i386/x86-64-nops-4-k8.d: Likewise. + * gas/i386/x86-64-nops-4.d: Likewise. + + * gas/i386/nops-1-i386.d: Updated. + * gas/i386/nops-1-i686.d: Likewise. + * gas/i386/nops-1.d: Likewise. + * gas/i386/nops-2-i386.d: Likewise. + * gas/i386/nops-2-merom.d : Likewise. + * gas/i386/nops-2.d: Likewise. + * gas/i386/nops-3.d: Likewise. + * gas/i386/x86-64-nops-1-merom.d: Likewise. + * gas/i386/x86-64-nops-1-nocona.d: Likewise. + * gas/i386/x86-64-nops-1.d: Likewise. + + * gas/i386/x86-64-nops-1.s: Removed. + +2007-07-23 Evandro Menezes + H.J. Lu + + * gas/i386/i386.exp: Don't run x86-64-nops-1-k8. Run + nops-3-i686 and nops-4-i686. + + * gas/i386/nops-3-i686.d: New. + * gas/i386/nops-4-i686.d: Likewise. + * gas/i386/nops-4.s: Likewise. + +2007-07-23 Richard Sandiford + + * lib/gas-defs.exp (run_list_test): Make the options optional. + * gas/cr16/cr16.exp (run_list_test): Delete. + +2007-07-19 Nick Clifton + + PR gas/4804 + * gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target + in the same way as the arm-eabi target. + * gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu + target. + * gas/arm/mapshort-elf.d: Do not use this file for the + arm-linux-gnu target. + +2007-07-16 H.J. Lu + + * gas/i386/simd.s: Add tests for punpcklbw, punpckldq, + punpcklwd and punpcklqdq. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + +2007-07-14 Nick Clifton + + * gas/arm/arm.s: Add tests for re-aliasing a previously removed + alias. + * gas/arm/arm.l: Add new expected warning message. + +2007-07-04 H.J. Lu + + * gas/i386/ssemmx2.d: Ignore padding. + +2007-07-04 H.J. Lu + + * gas/i386/rex.s: Avoid the last rex prefix becoming the + rex prefix for the padding. + +2007-07-04 H.J. Lu + + * gas/i386/i386.exp: Run x86-64-nops-1 for x86_64-*-mingw*. + +2007-07-04 Nick Clifton + + * gas/mep/relocs.d: Fix expected disassembly to work on 64-bit + hosts. + +2007-07-03 M R Swami Reddy + + * gas/elf/elf.exp: Expect redef test to fail for CR16. + * gas/all/gas.exp: Expect forward and do_930509a tests to fail for + the CR16. + * gas/cr16/cinv_test.d: Remove whitespace dependencies. + +2007-07-03 Nick Clifton + + * lib/gas-defs.exp: Update copyright notice to refer to GPLv3. + * gas/all/itbl-test.c, gas/all/test-example.c, gas/all/test-gen.c, + gas/arm/maverick.c, gas/cris/cris.exp, gas/hppa/basic/basic.exp, + gas/hppa/parse/parse.exp, gas/hppa/reloc/reloc.exp, + gas/hppa/unsorted/unsorted.exp, gas/mmix/mmix-err.exp, + gas/mmix/mmix-list.exp, gas/mmix/mmix.exp, gas/mn10200/basic.exp, + gas/mn10300/am33-2.c, gas/mn10300/basic.exp, gas/pdp11/opcode.s, + gas/ppc/aix.exp, gas/sh/arch/arch.exp, gas/sh/sh64/sh64.exp, + gas/sh/basic.exp, gas/sh/err.exp, gas/v850/basic.exp: Likewise. + +2007-07-03 Nathan Sidwell + + * gas/m68k/mcf-coproc.d: New. + * gas/m68k/mcf-coproc.s: New. + * gas/m68k/all.exp: Add it. + +2007-06-29 M R Swami Reddy + + * gas/cr16: New directory + * gas/cr16.exp: New file + * add_test.d and add_test.s: New files + * and_test.d and and_test.s: New files + * ash_test.d and ash_test.s: New files + * bal_test.d and bal_test.s: New files + * bcc_test.d and bcc_test.s: New files + * beq0_test.d and beq0_test.s: New files + * cbitb_test.d and cbitb_test.s: New files + * cbitw_test.d and cbitw_test.s: New files + * cinv_test.d and cinv_test.s: New files + * cmp_test.d and cmp_test.s: New files + * excp_test.d and excp_test.s: New files + * jal_test.d and jal_test.s: New files + * jcc_test.d and jcc_test.s: New files + * loadb_test.d and loadb_test.s: New files + * loadd_test.d and loadd_test.s: New files + * loadm_test.d and loadm_test.s: New files + * loadw_test.d and loadw_test.s: New files + * lpsp_test.d and lpsp_test.s: New files + * lsh_test.d and lsh_test.s: New files + * mov_test.d and mov_test.s: New files + * mul_test.d and mul_test.s: New files + * or_test.d and or_test.s: New files + * popret_test.d and popret_test.s: New files + * pop_test.d and pop_test.s: New files + * push_test.d and push_test.s: New files + * sbitb_test.d and sbitb_test.s: New files + * sbitw_test.d and sbitw_test.s: New files + * scc_test.d and scc_test.s: New files + * storb_test.d and storb_test.s: New files + * stord_test.d and stord_test.s: New files + * storm_test.d and storm_test.s: New files + * storw_test.d and storw_test.s: New files + * sub_test.d and sub_test.s: New files + * tbitb_test.d and tbitb_test.s: New files + * tbit_test.d and tbit_test.s: New files + * tbitw_test.d and tbitw_test.s: New files + * xor_test.d and xor_test.s: New files + +2007-06-26 Paul Brook + + * gas/arm/vfp1xD.d: Add new fmrx/fmxr tests. + * gas/arm/vfp1xD.s: Ditto. + * gas/arm/vfp1xD_t2.d: Ditto. + * gas/arm/vfp1xD_t2.s: Ditto. + +2007-06-24 Nick Clifton + + * gas/arm/backslash-at.d: Fix for non-ELF arm targets. + +2007-06-23 H.J. Lu + + PR binutils/4667 + * gas/i386/i386.exp: Run simd, simd-intel, x86-64-simd + and x86-64-simd-intel. + + * gas/i386/opcode-intel.d: Updated. + + * gas/i386/simd-intel.d: New. + * gas/i386/simd.d: Likewise. + * gas/i386/simd.s: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + * gas/i386/x86-64-simd.s: Likewise. + +2007-06-18 Kazu Hirata + + * gas/m68k/all.exp: Run mcf-wdebug. + * gas/testsuite/gas/m68k/mcf-wdebug.d, + gas/testsuite/gas/m68k/mcf-wdebug.s: New. + +2007-06-14 Paul Brook + + * gas/arm/thumb32.s: Add tests for shift instructions. + * gas/arm/thumb32.d: Ditto. + +2007-06-06 Paul Brook + + * gas/arm/thumb.d: Update expected output. + * gas/arm/thumb2_relax.d: Ditto. + +2007-06-05 Paul Brook + + * gas/arm/thumb32.d: Add writeback addressing mode tests. + * gas/arm/thumb32.s: Update expected output. + +2007-06-05 Nick Clifton + + PR gas/4587 + * gas/sparc/sparc.exp: Run pr4587 list test. + * gas/sparc/pr4587.s: New test case. + * gas/sparc/pr4587.l: Expected assembler output. + +2007-06-05 Nick Clifton + + * lib/gas-defs.exp (run_list_test): New proc. + * gas/alpha/alpha.exp: Delete proc run_list_test. + * gas/bfin/bfin.exp : Likewise. + * gas/cfi/cfi.exp : Likewise. + * gas/crx/allinsn.exp : Likewise. + * gas/d10v/d10v.exp : Likewise. + * gas/d30v/d30v.exp : Likewise. + * gas/frv/allinsn.exp : Likewise. + * gas/i386/i386.exp : Likewise. + * gas/i860.i860.exp : Likewise. + * gas/ia64/ia64.exp : Likewise. + * gas/lns/lns.exp : Likewise. + * gas/macros/macros.exp : Likewise. + * gas/maxq10/maxq10.exp : Likewise. + * gas/maxq20/maxq20.exp : Likewise. + * gas/mips/mips.exp : Likewise. + * gas/mmix/mmix-list.exp : Likewise. + * gas/mn10300/basic.exp : Likewise. + * gas/msp430/msp430.exp : Likewise. + * gas/pdp11/pdp11.exp : Likewise. + * gas/ppc/ppc.exp : Likewise. + * gas/s390/s390.exp : Likewise. + * gas/elf/elf.exp (proc run_list_test): Rename to run_elf_list_test. + +2007-05-29 Jakub Jelinek + + PR gas/4558 + * gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests. + * gas/sparc/v9branch1.d: New test. + * gas/sparc/v9branch1.s: New. + * gas/sparc/v9branch2.d: New test. + * gas/sparc/v9branch2.s: New. + * gas/sparc/v9branch3.d: New test. + * gas/sparc/v9branch3.s: New. + * gas/sparc/v9branch4.d: New test. + * gas/sparc/v9branch4.s: New. + * gas/sparc/v9branch5.d: New test. + * gas/sparc/v9branch5.s: New. + +2007-03-25 Paul Brook + + * gas/arm/thumb32.s: Add tests for subs pc, lr. + * gas/arm/thumb32.d: Change error-output: to stderr:. + Update expected output. + +2007-05-22 Paul Brook + + * gas/arm/backslash-at.d: Update expected output. + +2007-05-17 H.J. Lu + + 2003-06-05 Michal Ludvig + * gas/cfi/cfi-x86_64.s: Test new directives + and different writings of registers and numbers. + * gas/cfi/cfi-x86_64.d: Updated pattern to + match the above change. + +2007-05-15 Mark Shinwell + + * gas/arm/backslash-at.d: New. + * gas/arm/backslash-at.s: New. + +2007-05-15 Vincent Riviere + Nick Clifton + + PR gas/3041 + * gas/m68k/p3041.s: New test case. + * gas/m68k/p3041.d: New expected disassembly. + * gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains. + Only run arch-cpu-1 test for ELF based toolchains. + + Tidy ups for m68k-netbsd gas toolchain: + * gas/m68k/cpu32.d: Allow for extra text after expected + disassembly. + * gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics. + * gas/m68k/br-isab.d: Fix name of test. + * gas/m68k/br-isac.d: Fix name of test. + +2007-05-14 H.J. Lu + + PR binutils/4502 + * gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw". + +2007-05-04 Kazu Hirata + + * gas/m68k/all.exp: Skip fmoveml on fido. + +2007-05-03 H.J. Lu + + PR gas/4460 + * gas/i386/gotpc.s: Add a new test. + * gas/i386/reloc64.s: Likewise. + + * gas/i386/gotpc.d: Updated. + * gas/i386/reloc64.d: Likewise. + +2007-05-03 H.J. Lu + + * gas/i386/crc32-intel.d: Updated. + * gas/i386/crc32.d: Likewise. + * gas/i386/sse4_2.d: Likewise. + * gas/i386/x86-64-crc32-intel.d: Likewise. + * gas/i386/x86-64-crc32.d: Likewise. + * gas/i386/x86-64-sse4_2.d: Likewise. + + * gas/i386/crc32.s: Remove crc32 instructions with ambiguous + operand size and suffix in crc32 instructions in Intel mode. + * gas/i386/x86-64-crc32.s: Likewise. + + * gas/i386/sse4_2.s: Remove crc32 instructions with ambiguous + operand size. + * gas/i386/x86-64-sse4_2.s: Likewise. + + * gas/i386/i386.exp: Run inval-crc32 and x86-64-inval-crc32. + + * gas/i386/inval-crc32.l: New. + * gas/i386/inval-crc32.s: Likewise. + * gas/i386/x86-64-inval-crc32.l: Likewise. + * gas/i386/x86-64-inval-crc32.s: Likewise. + +2007-05-01 H.J. Lu + + * gas/i386/crc32-intel.d: New file. + * gas/i386/crc32.d:Likewise. + * gas/i386/crc32.s:Likewise. + * gas/i386/x86-64-crc32-intel.d:Likewise. + * gas/i386/x86-64-crc32.d:Likewise. + * gas/i386/x86-64-crc32.s:Likewise. + + * gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32 + and x86-64-crc32-intel. + +2007-04-26 H.J. Lu + + PR binutils/4430 + * gas/i386/amd.d: Updated. + * gas/i386/immed32.d: Likewise. + * gas/i386/intel.d: Likewise. + * gas/i386/intel16.d: Likewise. + * gas/i386/intelok.d: Likewise. + * gas/i386/jump16.d: Likewise. + * gas/i386/naked.d: Likewise. + * gas/i386/opcode-suffix.d: Likewise. + * gas/i386/opcode.d: Likewise. + * gas/i386/prescott.d: Likewise. + * gas/i386/ssemmx2.d: Likewise. + * gas/i386/tlsd.d: Likewise. + * gas/i386/tlspic.d: Likewise. + * gas/i386/x86-64-addr32.d: Likewise. + * gas/i386/x86-64-prescott.d: Likewise. + * gas/i386/x86-64-rip.d: Likewise. + * gas/i386/x86_64.d: Likewise. + +2007-04-26 H.J. Lu + + PR binutils/4429 + * gas/i386/i386.exp: Run "x86-64-addr32-intel" and + "x86-64-rip-intel". + + * gas/i386/intelok.d: Updated. + + * gas/i386/x86-64-addr32-intel.d: New file. + * gas/i386/x86-64-rip-intel.d: Likewise. + +2007-04-24 Andreas Krebbel + + * gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst. + * gas/s390/zarch-z9-ec.s: Likewise. + +2007-04-23 Nathan Sidwell + + * gas/m68k/br-isaa.s: New. + * gas/m68k/br-isaa.d: New. + * gas/m68k/br-isab.s: New. + * gas/m68k/br-isab.d: New. + * gas/m68k/br-isac.s: New. + * gas/m68k/br-isac.d: New. + * gas/m68k/all.exp: Adjust. + +2007-04-21 Richard Earnshaw + + * gas/arm/arch4t.d: Convert to unified syntax. + * gas/arm/archv6.d: Likewise. + * gas/arm/archv6t2.d: Likewise. + * gas/arm/arch3.d: Likewise. + * gas/arm/arch7dm.d: Likewise. + * gas/arm/arch7t.d: Likewise. + * gas/arm/archv1.d: Likewise. + * gas/arm/copro.d: Likewise. + * gas/arm/inst.d: Likewise. + * gas/arm/macro1.d: Likewise. + * gas/arm/tcompat.d: Likewise. + * gas/arm/wince_inst.d: Likewise. + * gas/arm/xscale.d: Likewise. + + * gas/arm/thumb.d: White space cleanup. + * gas/arm/thumb2_relax.d: Likewise. + * gas/arm/thumb32.d: Likewise. + +2007-04-20 Nathan Sidwell + + * gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New. + * gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New. + * gas/m68k/all.exp: Add them. + +2007-04-20 Alan Modra + + * gas/ppc/range64.s: New. + * gas/ppc/range64.l: New. + * gas/ppc/range.s: New. + * gas/ppc/range.l: New. + * gas/ppc/ppc.exp (run_list_test): New. Use to run new tests. + +2007-04-20 Richard Earnshaw + + * gas/arm/mapshort.s: Add a small .data section. + * gas/arm/mapshort-eabi.d: Check the data section doesn't confuse + disassembly. + * gas/arm/mapshort-elf.d: Likewise. + +2007-04-19 Paul Brook + + * gas/arm/thumb1_unified.d: New test. + * gas/arm/thumb1_unified.s: New test. + +2007-04-19 Nathan Froyd + + * gas/ppc/booke.s: Add tlbsx, tlbsxe. + * gas/ppc/booke.d: Update. + +2007-04-18 H.J. Lu + + * gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2. + + * gas/i386/sse4_2.d: New file. + * gas/i386/sse4_2.s: Likewise. + * gas/i386/x86-64-sse4_2.d: Likewise. + * gas/i386/x86-64-sse4_2.s: Likewise. + +2007-04-18 H.J. Lu + + * gas/i386/i386.exp: Add sse4.1 and x86-64-sse4.1. + + * gas/i386/sse4_1.d: New file. + * gas/i386/sse4_1.s: Likewise. + * gas/i386/x86-64-sse4_1.d: Likewise. + * gas/i386/x86-64-sse4_1.s: Likewise. + +2007-04-18 Paul Brook + + * gas/arm/thumb2_add.s: Add rsb #0 test. + * gas/arm/thumb2_add.d: Update expected output. + +2007-04-04 Paul Brook + + * gas/arm/neon-cov.s: Add new vext test. + * gas/arm/neon-cov.d: Ditto. + +2007-04-01 Christian Groessler + + * gas/z8k/calr.d: Fix for 64bit bfd. + * gas/z8k/djnz.d: Likewise. + * gas/z8k/inout.d: Likewise. + * gas/z8k/jmp-cc.d: Likewise. + * gas/z8k/jr-back.d: Likewise. + * gas/z8k/jr-forw.d: Likewise. + * gas/z8k/reglabel.d: Likewise. + * gas/z8k/ctrl-names.d: Fix name. Fix for 64bit bfd. + * gas/z8k/ret-cc.d: Likewise. + +2007-03-31 Alan Modra + + * gas/i386/nops-3.s: Don't use .align. + +2007-03-30 Paul Brook + + * gas/arm/thumb2_ldmstm.d: New test. + * gas/arm/thumb2_ldmstm.s: New test. + +2007-03-27 Alan Modra + + * gas/ppc/reloc.s: New. + * gas/ppc/reloc.d: New. + +2007-03-26 Julian Brown + + * gas/arm/neon-const.s: Use FP syntax for 0/-0. + * gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1. + * gas/arm/neon-cov.s: Use float syntax for FP immediate. + +2007-03-24 Paul Brook + Mark Shinwell + + * gas/arm/archv6.s: Add new SRS tests. + * gas/arm/archv6.d: Update expected output. + * gas/arm/thumb32.s: Add new SRS tests. + * gas/arm/thumb32.d: Update expected output. + * gas/arm/srs-t2.d: New. + * gas/arm/srs-t2.l: New. + * gas/arm/srs-t2.s: New. + * gas/arm/srs-arm.d: New. + * gas/arm/srs-arm.l: New. + * gas/arm/srs-arm.s: New. + +2007-03-23 H.J. Lu + + * gas/i386/rex.s: Add tests for rex.WRXB. + * gas/i386/rex.d: Updated. + + * gas/i386/rex.d: Replace rex64XYZ with rex.WRXB. + * gas/i386/x86-64-io-intel.d : Likewise. + * gas/i386/x86-64-io-suffix.d: Likewise. + * gas/i386/x86-64-io.d: Likewise. + * gas/i386/x86-64-opcode.d: Likewise. + +2007-03-21 H.J. Lu + + PR binutils/4218 + * gas/i386/nops.s: Add testcases for nop r/m. + * gas/i386/x86-64-nops.s: Likewise. + + * gas/i386/x86-64-opcode.s: Add testcases for xchg with %ax, + %eax and %rax. + + * gas/i386/nops.d: Updated. + * gas/i386/x86-64-nops.d: Likewise. + * gas/i386/x86-64-opcode.d: Likewise. + +2007-03-21 H.J. Lu + + * gas/i386/i386.exp: Run nops-3. + + * gas/i386/nops-3.d: New file. + * gas/i386/nops-3.s: Likewise. + +2007-03-20 Mark Shinwell + + * gas/arm/mul-overlap.s: Don't use %type. + * gas/arm/mul-overlap.l: Update line numbers. + * gas/arm/mul-overlap-v6.s: Don't use %type. + +2007-03-18 Mark Shinwell + + * gas/arm/mul-overlap.s: New. + * gas/arm/mul-overlap.d: New. + * gas/arm/mul-overlap.l: New. + * gas/arm/mul-overlap-v6.s: New. + * gas/arm/mul-overlap-v6.d: New. + +2007-03-14 Daniel Jacobowitz + + * gas/arm/thumbver.d, gas/arm/thumbver.s: New test. + +2007-03-14 Paul Brook + + * gas/arm/thumb2_add.d: Add tests using sp. + * gas/arm/thumb2_add.s: Ditto. + +2007-03-14 Alan Modra + + PR 4029 + * gas/all/relax.s: New. + * gas/all/relax.d: New. + * gas/all/gas.exp: Run it. + +2007-03-11 Hans-Peter Nilsson + + * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d: + Adjust for change in readelf output. + +2007-03-06 Andreas Krebbel + + * gas/s390/zarch-z9-ec.d: New file. + * gas/s390/zarch-z9-ec.s: New file. + * gas/s390/s390.exp: Run the z9-ec testcases. + +2007-03-05 H.J. Lu + + PR gas/3918 + * lib/gas-defs.exp (gas_started): New variable. Initialized to + 0. + (gas_start): Set gas_started to 1. + (gas_finish): Skip if gas_started is 0. Reset gas_started to 0. + +2007-03-02 Paul Brook + + * gas/arm/relax_branch_align.d: New test. + * gas/arm/relax_branch_align.s: New test. + +2007-02-28 Nick Clifton + + PR gas/3797 + * gas/lns/lns.exp: Do not run the lns-common test for the d10v + port. + * gas/d10v/address-002.l: Update expected assembler output. + * gas/d10v/address-003.l, gas/d10v/address-004.l, + gas/d10v/address-005.l, gas/d10v/address-006.l, + gas/d10v/address-007.l, gas/d10v/address-008.l, + gas/d10v/address-009.l, gas/d10v/address-010.l, + gas/d10v/address-011.l, gas/d10v/address-012.l, + gas/d10v/address-013.l, gas/d10v/address-014.l, + gas/d10v/address-015.l, gas/d10v/address-016.l, + gas/d10v/address-017.l, gas/d10v/address-018.l, + gas/d10v/address-019.l, gas/d10v/address-020.l, + gas/d10v/address-021.l, gas/d10v/address-022.l, + gas/d10v/address-023.l, gas/d10v/address-024.l, + gas/d10v/address-025.l, gas/d10v/address-026.l, + gas/d10v/address-027.l, gas/d10v/address-030.l, + gas/d10v/address-031.l, gas/d10v/address-032.l, + gas/d10v/address-033.l, gas/d10v/address-034.l, + gas/d10v/address-035.l, gas/d10v/address-036.l, + gas/d10v/address-037.l, gas/d10v/address-038.l, + gas/d10v/address-039.l, gas/d10v/address-040.l, + gas/d10v/address-041.l: Likewise. + +2007-02-28 Nick Clifton + + PR gas/3975 + * gas/arm/mapshort.d: Split into two new files... + * gas/arm/mapshort-eabi.d: The one and... + * gas/arm/mapshort-elf.d: This one. + * gas/arm/arch7.d: Remove 32-bit host expectation. + * gas/arm/arm7t.d: Replace ".word 0x00000000" with ".*" as some + arm targets will disassemble this value as an instruction. + * gas/arm/neon-ldst-rm.d: Likewise. + * gas/arm/thumb2_pool.d: Only run this test for ELF based arm + ports. + * gas/arm/thumbrel.d: Only run this test for EABI based arm + ports. + * gas/arm/wince_inst.d: Fix expected branch targets. + +2007-02-22 DJ Delorie + + * gas/s390/esa-g5.s: Adjust for corrected PKA syntax. + * gas/s390/esa-g5.d: Adjust for corrected PKA syntax. + +2007-02-20 Thiemo Seufer + Chao-Ying Fu + + * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for + DSP R2. + * gas/mips/mips.exp: Run new test. + +2007-02-19 Andreas Krebbel + + * gas/s390/esa-g5.d (cfxbr, cfebr, cfdbr): Exchanged floating + point and fixed point operands. + * gas/s390/esa-g5.s: Likewise. + * gas/s390/zarch-z900.d (cfdr, cfer, cfxr, cgdbr, cgebr, cgxbr, + cgdr, cger, cgxr): Likewise. + * gas/s390/zarch-z900.s: Likewise. + +2007-02-11 H.J. Lu + + PR gas/4027 + * gas/i386/opcode.s: Add more tests for "test". + * i386/opcode-intel.d: Updated. + * gas/i386/opcode-suffix.d: Likewise. + * gas/i386/opcode.d: Likewise. + +2007-02-06 Nick Clifton + + PR gas/3810 gas/3800 + * gas/elf/elf.exp: Expect the redef test to fail on targets which + do not convert fixups against ordinary symbols into relocs against + section symbols. + * gas/all/gas.exp: Likewise. + +2007-02-05 Dave Brolley + + * gas/mep/relocs-junk1.s: Add a .data section. + * gas/mep/relocs.d: Updated to match above. + +2007-02-04 H.J. Lu + + PR gas/3961 + * gas/i386/secrel.d: Support 64bit host. + +2007-02-02 Nick Clifton + + PR gas/3812 + * gas/v850/v850e1.d: Correct expected disassembly of cmov insn to + account for sign extension. + +2007-01-11 Paul Brook + + * gas/arm/thumb2_add.d: Add test for missing operand. + * gas/arm/thumb2_add.s: Ditto. + +2007-01-11 Nick Clifton + + * gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a + line comment character. + * gas/mcore/allinsn.d: Adjust expected disassembly to match real + output. + + * gas/lns/lns.exp: Run the alternative version of the lns-common-1 + test for the MCore target. + +2007-01-08 Kai Tietz + + * gas/all/gas.exp: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. + * gas/i386/i386.exp: Ditto. + +2007-01-04 Paul Brook + + * gas/arm/archv6.s: Add more cpsie tests. + * gas/arm/archv6.d: Ditto. + +2007-01-04 Andreas Schwab + + * gas/m68k/cpu32.[sd]: New test. + * gas/m68k/all.exp: Run it. + +2007-01-04 Julian Brown + + * gas/arm/neon-omit.d: Fix expected encodings for vshl, vqshl. + +2007-01-04 Paul Brook + + * gas/arm/neon-cov.d: Adjust expected output. + * gas/arm/neon-omit.s: Add tests for vcgt and vcle. Reorder vacle + and vacle. + * gas/arm/neon-omit.d: Adjust expected output. + +For older changes see ChangeLog-2006 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index 658e9cd81e..ccb34b71ef 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,1183 +1,4 @@ -2007-12-24 Hector Oron - - * genscripts.sh (LIB_PATH): Include both {target_alias} and - {TOOL_LIB} in the search paths for multilibbed targets. - -2007-12-15 Richard Sandiford - - * scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)). - (.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)). - * scripttempl/elf.sc: As for armbpabi.sc. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/mep.sc: Likewise. - -2007-11-07 Nathan Sidwell - - * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS, - OTHER_READWRITE_SECTIONS): Add TLS sections. - -2007-11-06 Kai Tietz - - * emultempl/pe.em: (init): Add __ImageBase symbol. - (MSIMAGEBASEOFF): New. - (set_pe_name): Keep __image_base and __ImageBase value synch. - (_set_symbols): Likewise. - * emultempl/pep.em: Likewise. - -2007-10-26 Alan Modra - - PR 5215 - * genscripts.sh: Move bash script to.. - * genscrba.sh: ..here. - -2007-10-25 Pedro Alves - - * pe-dll.c (autofilter_symbollist_generic) - (autofilter_symbollist_i386, autofilter_liblist) - (autofilter_objlist, autofilter_symbolprefixlist) - (autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with - NULL. - -2007-10-24 H.J. Lu - - * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. - * configure: Regenerated. - -2007-10-24 Alan Modra - - * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. - * configure.in: Invoke AC_GNU_SOURCE. - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-10-19 Nick Clifton - - * configure.tgt: Add support for am34-linux-gnu target. - -2007-10-17 Zack Weinberg - - * ldlang.c (lang_check_section_addresses): Also report size of - overflow for any overflowed memory regions. - (os_region_check): Diagnose an overflowed region only once per - region. Do not reset region->current on overflow. - -2007-10-04 Nick Clifton - - PR linker/4844 - * emultempl/pep.em (pep_find_data_imports): Issue a warning - message if auto importing is triggered without - --enable-auto-import having been specified on the command line. - * emultempl/pe.em (pe_find_data_imports): Likewise. - - PR linker/5097 - * emultempl/armelf.em (arm_elf_finish): Fix spelling typo. - -2007-10-01 Nick Clifton - - PR linker/4844 - * genscripts.sh: Add support for generating a .xa script for use - with the --auto-import option. - * ld.texinfo: Document the new behaviour of the --auto-import - option. - * ldint.texinfo: Document new script generation. - * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define. - * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define. - * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define. - * emultemp/pe.em (..._get_script): Support the use of the auto - import script. - * scripttempl/pe.sc: Put the .rdata input sections into the .data - output section when creating an auto import script. - * scripttempl/pep.sc: Likewise. - -2007-09-26 Brian Watt - - * emultempl/spu_ovl.S: Add debug printf code. - -2007-09-17 H.J. Lu - - PR binutils/3281 - PR binutils/5037 - * ldexp.h (ldexp_control): Add relro, relro_start_stat and - relro_end_stat. - - * ldexp.c (fold_binary): Set expld.dataseg.relro to - exp_dataseg_relro_start or exp_dataseg_relro_end when - seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END, - respectively. - - * ldlang.c (lang_size_sections_1): Properly set - expld.dataseg.relro_start_stat and - expld.dataseg.relro_end_stat. - (find_relro_section_callback): New function. - (lang_find_relro_sections_1): Likewise. - (lang_find_relro_sections): Likewise. - (lang_process): Call lang_find_relro_sections for - non-relocatable link. - -2007-09-17 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2007-09-16 H.J. Lu - - * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW. - -2007-09-15 Alan Modra - - PR ld/5025 - * emultempl/elf32.em (write_build_id_section): Correct test for - "missing" .note.gnu.build-id. Downgrade error to a warning if - it has been discarded. - -2007-09-08 Alan Modra - - * ldwrite.c (build_link_order ): Correct - condition under which we build a bfd_data_link_order. - -2007-08-31 Tristan Gingold - - * ldlang.c (lang_map): Increment lang_statement_iteration so that - DEFINED() expressions are correctly computed. - -2007-08-31 Alan Modra - - * ldlang.c (lang_record_phdrs): Give a fatal error if no sections - assigned to phdrs. Avoid multiple forward scans for a section - with phdr assignment. - -2007-08-28 Mark Shinwell - Joseph Myers - - * ldlang.c (sort_sections_by_lma): Sort by internal id after lma - for stable sort. - -2007-08-28 Robert Sebastian Gerus - - * configure.host: Add support for i[3-7]86-*-dragonfly*. - * configure.tgt: Likewise. - -2007-08-18 Alan Modra - - * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example. - -2007-08-17 Jakub Jelinek - - * configure.host: Handle sparcv*-*-linux-* the same as - sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*. - -2007-08-17 Alan Modra - - * emultempl/alphaelf.em: Format option help. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/avrelf.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/ia64elf.em: Likewise. - * emultempl/m68hc1xelf.em: Likewise. - * emultempl/ppc32elf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/scoreelf.em: Likewise. - * emultempl/spuelf.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vxworks.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - -2007-08-17 Alan Modra - - * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages. - * lexsup.c (ld_options): Don't use tabs in help text. - * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo. - * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo. - -2007-08-17 Alan Modra - - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. - -2007-08-15 Alan Modra - - PR 4923 - * emultempl/elf32.em (after_open): Return immediately when - non-ELF output. - -2007-08-12 Daniel Jacobowitz - - * configure.in (ALL_LINGUAS): Add fi. - * po/fi.po: New file. - * configure: Regenerated. - -2007-08-10 Nick Clifton - - * NEWS: Add a marker for the 2.18 features. - -2007-08-10 Nick Clifton - - * po/ga.po: Updated Irish translation. - * po/vi.po: Updated Vietnamese translation. - -2007-08-10 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-08-10 H.J. Lu - - PR ld/4875 - * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t - instead of u_int32_t. - - * sha1.h: Include bfd_stdint.h instead of . - -2007-08-09 Alan Modra - - PR 4515 - * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR. - * ldint.texinfo: Likewise. - * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete. - * emulparams/armaoutl.sh: Likewise. - * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete. - * emulparams/bfin.sh: Likewise - * emulparams/crisaout.sh: Likewise - * emulparams/elf32_sparc.sh: Likewise - * emulparams/elf32am33lin.sh: Likewise - * emulparams/elf32b4300.sh: Likewise - * emulparams/elf32bmip.sh: Likewise - * emulparams/elf32mcore.sh: Likewise - * emulparams/elf32xtensa.sh: Likewise - * emulparams/elf64_s390.sh: Likewise - * emulparams/elf64_sparc.sh: Likewise - * emulparams/elf64alpha.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_i386_vxworks.sh: Likewise - * emulparams/elf_s390.sh: Likewise - * emulparams/elf_x86_64.sh: Likewise - * emulparams/i386aout.sh: Likewise - * emulparams/i386moss.sh: Likewise - * emulparams/i386msdos.sh: Likewise - * emulparams/i386nto.sh: Likewise - * emulparams/i386nw.sh: Likewise - * emulparams/m68kaout.sh: Likewise - * emulparams/m68kelf.sh: Likewise - * emulparams/ppcnw.sh: Likewise - * emulparams/sun4.sh: Likewise - * emulparams/tic80coff.sh: Likewise - * emulparams/vaxnbsd.sh: Likewise - * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete. - (TEXT_START_ADDR): Set for -n, -N. - * emulparams/coff_sparc.sh: Likewise - * emulparams/elf32vax.sh: Likewise - * emulparams/i386bsd.sh: Likewise - * emulparams/i386go32.sh: Likewise - * emulparams/i386linux.sh: Likewise - * emulparams/i386lynx.sh: Likewise - * emulparams/i386mach.sh: Likewise - * emulparams/m68k4knbsd.sh: Likewise - * emulparams/m68klinux.sh: Likewise - * emulparams/m68knbsd.sh: Likewise - * emulparams/ns32knbsd.sh: Likewise - * emulparams/pc532macha.sh: Likewise - * emulparams/ppclynx.sh: Likewise - * emulparams/scoreelf.sh: Likewise - * emulparams/sparcaout.sh: Likewise - * emulparams/sparclinux.sh: Likewise - * emulparams/sun3.sh: Likewise - * emulparams/vsta.sh: Likewise - -2007-08-07 Ralf Corsépius - - * configure.tgt: Add bfin-*rtems*. - -2007-08-06 Kai Tietz - - * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1. - (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of - shared objects. - * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 - mingw target. - -2007-08-01 Nick Clifton - - * po/ga.po: Updated Irish translation. - -2007-07-29 Alan Modra - - * ldlang.c (lang_insert_orphan): When searching through linker - script to place an orphan, don't stop on statements that appear - outside of SECTIONS. - * emultempl/elf32.em (output_rel_find): Prefer read-only alloc - sections over read/write alloc sections. - -2007-07-28 Jakub Jelinek - - * scripttempl/elf.sc: Add .note.gnu.build-id. - -2007-07-25 Nick Clifton - - PR 4824 - * ld.texinfo (Options): Extend the description of the -O command - line option. - -2007-07-24 Kai Tietz - - * pep.sc: Correct ctor/dtor sentinels for 64-bit targets. - -2007-07-21 Nick Clifton - - * sha1.h: Change to use version 3 of the GNU General Public - License and tidy up formatting. - * sha1.c: Likewise. - -2007-07-19 Roland McGrath - - * genscripts.sh (source_em, fragment): New sh functions. - Truncate e${EMULATION_NAME}.c file before .em script fills it. - Use source_em in place of . for the .em script. - * emultempl/generic.em: Use fragment and source_em functions. - * emultempl/aix.em: Likewise. - * emultempl/alphaelf.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/avrelf.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/cr16elf.em: Likewise. - * emultempl/crxelf.em: Likewise. - * emultempl/elf-generic.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/genelf.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/ia64elf.em: Likewise. - * emultempl/irix.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/pep.em: Likewise. - * emultempl/ppc32elf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/scoreelf.em: Likewise. - * emultempl/sh64elf.em: Likewise. - * emultempl/spuelf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/vxworks.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - * emultempl/z80.em: Likewise. - -2007-07-18 Roland McGrath - - * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section): - Use ASEC->contents for CONTENTS when missing, and allocate - ASEC->size if needed. - -2007-07-13 Roland McGrath - - * emultempl/elf32.em (struct build_id_info): New type. - (gld${EMULATION_NAME}_id_note_section_size): New function. - (gld${EMULATION_NAME}_write_build_id_section): New function. - (gld${EMULATION_NAME}_after_open): Use them. - (DEFAULT_BUILD_ID_STYLE): Change to "sha1". - * ld.texinfo (Options): Mention --build-id=sha1. - - * sha1.h: New file (from gnulib). - * sha1.c: New file (from gnulib). - * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them. - (sha1.o): New target. - * Makefile.in: Regenerated. - -2007-07-13 Alan Modra - - * ldlang.c (strip_excluded_output_sections): Don't ignore sections - with update_dot_tree. - -2007-07-12 Nathan Sidwell - - * scripttempl/pe.sc: Don't include .gcc_except_table and - .eh_frame on partial links. - * scripttempl/pep.sc: Likewise. - -2007-07-12 Alan Modra - - PR 4782 - * ldlang.c (lang_size_sections_1 ): Only - use expld.result when valid. - -2007-07-12 Alan Modra - - * emultempl/spuelf.em (embedded_spu_file): Test for NULL path - before calling base_name, not after. - -2007-07-10 Alan Modra - - * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add - .gnu.debuglink. - * scripttempl/armbpabi.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/mep.sc: Likewise. - -2007-07-09 Roland McGrath - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id. - (gld${EMULATION_NAME}_handle_option): Handle --build-id. - (gld${EMULATION_NAME}_list_options): List --build-id. - (gld${EMULATION_NAME}_after_open): If --build-id was given, - synthesize a ".note.gnu.build-id" section and cache it in elf_tdata. - * ld.texinfo (Options): Describe --build-id. - * NEWS: Mention --build-id. - -2007-07-06 Nick Clifton - - * deffile.h: Update copyright notice to refer to GPLv3. - * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, - ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c, - ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c, - ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c, - mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in, - sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, - emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em, - emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em, - emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em, - emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em, - emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em, - emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em, - emultempl/m68kcoff.em, emultempl/m68kelf.em, - emultempl/mipsecoff.em, emultempl/mipself.em, - emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em, - emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em, - emultempl/ppc32elf.em, emultempl/ppc64elf.em, - emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em, - emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em, - emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise. - * genscripts.sh: Add copyright notice. - * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em: - Likewise. - * NEWS: Mention that the sources are now under GPLv3. - * configure: Regenerate. - -2007-07-05 Danny Smith - - * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'. - (--stack): Likewise. - -2007-07-03 Matthias Klose - - * emultempl/spuelf.em (base_name): Correct backslash quoting. - -2007-07-02 Alan Modra - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/ld.pot: Regenerate. - -2007-06-30 H.J. Lu - - * aclocal.m4: Regenerated. - * Makefile.in: Likewise. - -2007-06-29 H.J. Lu - - * NEWS: Remove a line with '*' only. - -2007-06-29 Joseph Myers - - * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes. - (ATTRS_SECTIONS): Define. - * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc, - scripttempl/elf_chaos.sc, scripttempl/elfi370.sc, - scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS. - -2007-06-29 M R Swami Reddy - - * scripttemp/elf32cr16.sc: Default linker script. - * emulparams/elf32cr16.sh: Emulation script. - * emultempl/cr16elf.em: Emulation script. - * Makefile.am: Add entry to make cr16 target. - * Makefile.in: Regenerate. - * configure.tgt: Specify default and other emulation parameters - for cr16. - * ChangeLog: Added CR16 target entry. - * NEWS: Announce the support for the CR16 new target. - -2007-06-27 Alan Modra - - * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout. - -2007-06-20 Alan Modra - - * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name. - -2007-06-18 Nathan Sidwell - - * ldlex.l, ldgram.y: Add ALIGNOF. - * ldexp.c (exp_print_token, foldname): Likewise. - * ld.texinfo: Likewise. - -2007-06-18 Alan Modra - - * Makefile.am: Add eelf32_spu.o rule. - * Makefile.in: Regenerate. - * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU - defined in Makefile for embedspu name. - -2007-06-18 Alan Modra - - * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program - name prefix from that of ld. - -2007-06-14 H.J. Lu - - * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. - - * acinclude.m4: Removed. - - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - -2007-06-14 Alan Modra - - * emultempl/spu_ovl.S: Don't trash lr on tail call from one - overlay to another. - * emultempl/spu_ovl.o: Regenerate. - -2007-06-11 Bob Wilson - - * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO - for .xt_except_table. - (OTHER_RELRO_SECTIONS): New. - -2007-06-11 Sterling Augustine - Bob Wilson - - * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed - XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. - -2007-06-01 Noah Misch - Alan Modra - - * ldlang.c (ldlang_add_file): Use input_bfds_tail. - * ldmain.c (main): Init input_bfds_tail. Sort link_info - initialization. - -2007-05-29 Alan Modra - - * emultempl/spuelf.em (base_name): New function, split out from.. - (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu - invocation if we deduce a shared lib or position independent - executable build by looking at ctrbegin* linker input files. - -2007-05-29 Alan Modra - - * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol - types and sizes. - * emultempl/spu_ovl.o: Regenerate. - -2007-05-24 Steve Ellcey - - * Makefile.in: Regnerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - -2007-05-24 Nathan Sidwell - - * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot - contain commas in EXP env. - * ldgram.y (extern_name_list): Push to EXP env, move body to ... - (extern_name_list_body): ... here. - (script_file, ifile_list): Reformat. - (statement): Add ASSERT. - -2007-05-22 Nick Clifton - - * ld.texinfo: Use @copying around the copyright notice. - * ldint.texinfo: Likewise. - -2007-05-18 Richard Sandiford - - * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS) - (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections. - -2007-05-16 Richard Sandiford - - * configure.in: Allow sysroots to be relocated under $prefix as - well as $exec_prefix. - * configure: Regenerate. - -2007-05-14 Andreas Schwab - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): - Handle null pattern. - -2007-05-11 Alan Modra - - * emultempl/ppc32elf.em (plt_style): New variable. - (old_plt): Delete. - (ppc_after_open): Adjust ppc_elf_select_plt_layout call. - (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber - OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT. - * ld.texinfo (--secure-plt): Document. - -2007-05-08 Alan Modra - - * ld.h (args_type, ld_config_type): Reorder fields. - * ldmain.c (main): Don't initialise a bunch of vars we know are - zero already. - -2007-05-05 Anatoly Sokolov - - * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for - "--pmem-wrap-around". - (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around". - -2007-05-03 Bob Wilson - - * scripttempl/elfxtensa.sc: Merge changes from elf.sc. - -2007-05-03 Alan Modra - - * ld.texinfo (--no-warn-search-mismatch): Document. - * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping - incompatible libraries if --no-warn-search-mismatch. - * ld.h (args_type): Add warn_search_mismatch. - * ldmain.c (main): Init it. - * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH. - (ld_options): Add entry for --no-warn-search-mismatch. - (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH. - -2007-05-03 Alan Modra - - * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges. - -2007-05-01 Robert Millan - - * ldlang.c (lang_check): Error on architecture mismatch. - -2007-04-30 Alan Modra - - * ldmain.c (link_callbacks): Init info and minfo fields. - * ldmisc.c (minfo): Do nothing if no map file. - * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars. - (spu_after_open): Adjust spu_elf_create_sections call. - (spu_before_allocation): Likewise for spu_elf_size_stubs. - (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define. - (PARSE_AND_LIST_LONGOPTS): Add new entries. - (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. - * gen-doc.texi: Add @set for SPU and other missing targets. - * ld.texinfo: Update man page selection to match gen-doc.texi. - Document SPU features. - -2007-04-28 Alan Modra - - * ldcref.c (struct cref_hash_entry): Make "demangled" const. - (cref_fill_array): Adjust for changed demangler. - * ldlang.c (lang_one_common): Likewise. - -2007-04-27 Nathan Froyd - - * emulparams/elf32_sparc.sh: Update comments. - * emulparams/elf32bmip.sh: Likewise. - * emulparams/elf32ppc.sh: Likewise. - * emulparams/vxworks.sh: Likewise. - -2007-04-27 Alan Modra - - Many files: Include sysdep.h first. Remove duplicate headers. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-24 Alan Modra - - * Makefile.in: Regenerate. - -2007-04-19 Alan Modra - - * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle. - * ldlang.c (lang_one_common): Likewise. - * ldmisc.c (vfinfo): Likewise. - (demangle): Delete. - * ldmisc.h (demangle): Delete. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-18 Alan Modra - - * ldlang.h (enum section_type): Add overlay_section. - * ldlang.c (lang_add_section): Handle flags for overlay_section - as per normal_section. - (lang_size_sections_1): When setting lma, detect overlays by - os->sectype rather than by looking for overlapping vmas. - (lang_enter_overlay_section): Use overlay_section type. - (lang_leave_overlay): Set first overlay section to normal. - -2007-04-14 Steve Ellcey - - * Makefile.am: Add ACLOCAL_AMFLAGS. - * Makefile.in: Regenerate. - -2007-04-12 Bob Wilson - - * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections. - -2007-04-10 Richard Henderson - - * ldlang.c (relax_sections): Initialize and increment - link_info.relax_trip. - -2007-04-04 Paul Brook - - * configure.tgt: Loosen checks for arm uclinux eabi targets. - -2007-04-02 H.J. Lu - - PR ld/4090 - * ldexp.h (node_type): Add lineno. - * ldexp.c: Include "ldlex.h". - (exp_intop): Set the lineno field from lineno. - (exp_bigintop): Likewise. - (exp_relop): Likewise. - (exp_nameop): Likewise. - (exp_binop): Set the lineno field from lineno of lhs. - (exp_trinop): Likewise. - (exp_unop): Set the lineno field from lineno of child. - (exp_assop): Set the lineno field from lineno of src. - (exp_provide): Likewise. - (exp_assert): Set the lineno field from lineno of exp. - (exp_get_abs_int): Set lineno from lineno of nonconstant - expression when report problem. - -2007-03-29 Richard Sandiford - Daniel Jacobowitz - - * NEWS: Mention -l:foo. - * ld.texinfo: Document it. - * ldlang.c (new_afile): If a lang_input_file_is_l_enum - entry as a name beginning with a coloh, convert it to a - lang_input_file_is_search_file_enum entry without the colon. - -2007-03-28 Richard Sandiford - - * ld.h (ld_config_type): Add rpath_separator. - * ldmain.c (main): Initialize it. - * lexsup.c (parse_args): Honor config.rpath_separator. - * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise. - (gld${EMULATION_NAME}_add_sysroot): Likewise. - (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator - rather than ':' when building the path. - * emultempl/vxworks.em (vxworks_before_parse): New function. - Override config.rpath_separator. - (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been - set to gld${EMULATION_NAME}_after_open; #define that identifier - to vxworks_foo instead. - (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN. - -2007-03-28 Richard Sandiford - Phil Edwards - - * ld.texinfo: Put the contents after the title page rather - than at the end of the document. - -2007-03-26 Alan Modra - - * Makefile.am: Add dependency on ldemul-list.h for powerpc and - spu target emul files. - * configure.in: Check for mkstemp and waitpid. - * Makefile.in: Regenerate. - * configure: Regenerate. - * config.in: Regenerate. - * ldlang.c (input_file_chain): Make global. - (lang_add_input_file): Don't set lang_has_input_file here. - * ldlang.h (input_file_chain): Declare. - * emultempl/ppc32elf.em (ppc_recognized_file): New function. - (LDEMUL_RECOGNIZED_FILE): Define. - * emultempl/ppc64elf.em (ppc64_recognized_file): New function. - (LDEMUL_RECOGNIZED_FILE): Define. - * emultempl/spuelf.em (struct tflist): New. - (tmp_file_list): New var. - (clean_tmp, embedded_spu_file): New functions. - -2007-03-24 Alan Modra - - * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms - rather than defining unconditionally. - (lang_leave_overlay_section): Likewise. - * ld.texinfo (Overlay Description): Update description and examples - for start/stop syms. - -2007-03-22 Joseph Myers - - * ld.texinfo: Include VERSION_PACKAGE when reporting version. - -2007-03-20 Paul Brook - - * emultempl/armelf.em (pic_veneer): New variable. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER. - (PARSE_AND_LIST_ARGS_CASES): Ditto. - (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer". - (PARSE_AND_LIST_OPTIONS): Ditto. - * ld.texinfo: Document --pic-veneer. - -2007-03-18 Mark Shinwell - - * ld.texinfo: Document --no-enum-size-warning. - * emultempl/armelf.em (no_enum_size_warning): New. - (arm_elf_create_output_section_statements): Correct typo - in comment. Pass no_enum_size_warning to - bfd_elf32_arm_set_target_relocs. - (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING. - (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning. - (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING - case. - -2007-03-19 Bernd Schmidt - - * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath. - (bfin-*-linux-uclibc*): New target. - -2007-03-16 Kai Tietz - - * pe-dll.c (make_one): Use pc-relative relocation instead of an - absolute relocation for x86_64-pc-mingw32 target. - -2007-03-15 H.J. Lu - - * Makefile.am (ld_TEXINFOS): Remove ldver.texi. - (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. - (TEXI2DVI): Likewise. - (REPORT_BUGS_TO): Removed. - (INCLUDES): Remove -DREPORT_BUGS_TO. - (ldver.texi): Likewise. - (ld.1): Don't depend on ldver.texi. - (MOSTLYCLEANFILES): Remove ldver.texi. - * Makefile.in: Regenerated. - - * configure.in (--with-bugurl): Removed. - * configure: Regenerated. - - * lexsup.c: Include bfdver.h. - - * ld.texinfo: Include bfdver.texi instead of ldver.texi. - -2007-03-11 Hans-Peter Nilsson - - * emultempl/mmixelf.em: Remove incorrect '#line' directive. - -2007-03-08 Alan Modra - - * ldlang.c (lang_size_sections_1): Correct backwards dot move - test to not trigger on overlays. Only warn on backwards move - if non-default lma. - -2007-03-07 Joseph Myers - - * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of - bug-reporting URL. - * Makefile.am (ldver.texi): Define BUGURL. - * ld.texinfo: Use BUGURL. - * Makefile.in, configure: Regenerate. - -2007-03-07 Nick Clifton - - PR ld/4023 - * emultempl/aix.em (..._before_allocation): Strip sysroot prefix - from any paths being inserted into the output binary's DT_RPATH. - -2007-03-02 Nathan Sidwell - - * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit. - -2007-03-01 Joseph Myers - - * ldver.c (ldversion): Remove word "version" from output. Update - copyright date. - -2007-02-28 Nathan Sidwell - - * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o - (eshelf_uclinux.c): New target. - * Makefile.in: Rebuilt. - * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. - * emulparams/shelf_uclinux.sh: New. - -2007-02-28 Alan Modra - - * configure.tgt: Fix type last change. - * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles. - -2007-02-27 Alan Modra - - * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o. - (eelf32_spu.c): Adjust dependencies. - * Makefile.in: Regenerate. - * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o - code using bin2c. - (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete. - (ovl_mgr_stream): Update. - * emultempl/spu_inc.s: Delete. - * emultempl/spu_none.s: Delete. - -2007-02-26 Alan Modra - - * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename - to _binary_spu_ovl_o_start. - (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end. - (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager. - * emultempl/spu_inc.s: Rename symbols. - * emultempl/spu_none.s: New file. - * emultempl/spu_ovl.S: Update copyright. - * Makefile.am (spu_inc.o): Try building with ld -r first, then - gas incbin, then build without overlay manager. - * Makefile.in: Regenerate. - -2007-02-22 Joseph Myers - - * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*, - mips*el-*-linux-*, mips*-*-linux-*): Set - targ_extra_libpath=$targ_extra_emuls. - -2007-02-21 Nick Clifton - - * ldlang.c (ldlang_override_segment_assignment): New function. - * ldlang.h (ldlang_override_segment_assignment): Prototype. - * ldmain.c (link_callbacks): Add - ldlang_override_segment_assignment. - -2007-02-20 Alan Modra - - * ldexp.c (fold_name ): Ensure result is always absolute. - -2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus - - * configure.in (--with-bugurl): New option. - * configure: Regenerate. - * Makefile.am (REPORT_BUGS_TO): Define. - (INCLUDES): Define REPORT_BUGS_TO. - Regenerate dependencies. - * Makefile.in: Regenerate. - * ld.h: Remove include of bin-bugs.h. - * lexsup.c (help): Don't print empty REPORT_BUGS_TO. - -2007-02-17 Alan Modra - - * ldcref.c (check_reloc_refs): Compare section for local syms. - -2007-02-13 Alan Modra - - * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size. - (__ovly_load_event): Define. - (size): Rename to osize. - * emultempl/spu_ovl.o: Regenerate. - -2007-02-13 Alan Modra - - * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt". - * emultempl/ppc64elf.em (ppc_add_stub_section): Create without - SEC_RELOC flag set. - -2007-02-09 H.J. Lu - - * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if - want64 is true. - (targ_extra_libpath): Add $targ64_extra_libpath if want64 is - true - * configure: Regenerated. - - * configure.tgt (targ_extra_libpath): Initialize. - (targ64_extra_emuls): New. Document. Initialize. - (targ64_extra_libpath): Likewise. - (i[3-7]86-*-linux-*): Set targ64_extra_emuls and - targ64_extra_libpath. - (powerpc*-*-linux*): Likewise. - (s390-*-linux*): Likewise. - -2007-02-07 Paul Brook - - * configure.tgt: Add arm*-*-uclinux-*eabi. - -2007-02-06 H.J. Lu - - * ldlang.c (lang_size_sections_1): Add a missing `)'. - -2007-02-06 Alan Modra - - PR ld/3966 - * ldlang.c (lang_size_sections_1): Don't warn on backwards dot - move unless section size is non-zero. - -2007-02-05 Dave Brolley - - * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP. - * configure.tgt: Likewise. - * scripttempl/mep.sc: New file. - * emulparams/elf32mep.sh: New file. - * Makefile.in: Regenerate. - -2006-01-29 Julian Brown - - * NEWS: Mention --vfp11-denorm-fix option. - * ld.texinfo: Document above. - * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add - .vfp11_veneer section. - * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise. - * emultempl/armelf.em (vfp11_denorm_fix): New static variable. - (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix, - bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan. - (arm_elf_after_allocation): New function. Call - bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements. - (arm_elf_create_output_section_statements): Pass vfp11 fix command - line option to BFD. - (OPTION_VFP11_DENORM_FIX): New option. - (PARSE_AND_LIST_LONGOPTS): Handle new option. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (LDEMUL_AFTER_ALLOCATION): Define. - -2007-01-24 H.J. Lu - - * ldgram.y (SIZEOF_HEADERS): Remove duplicated one. - (DEFSYMEND): Likewise. - (NAME): Likewise. - (LNAME): Likewise. - -2007-01-19 Murali Vemulapati - - * pe-dll.c: (make_one) Conditionally include jump stubs. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify - redundant jump stubs from import libraries and exclude them from - link. - -2007-01-19 H.J. Lu - - * ld.h (args_type): Add new symbolic and dynamic_list fields. - - * ld.texinfo: Update -Bsymbolic-functions. - - * ldmain.c (main): Initialize command_line.symbolic to - symbolic_unset and command_line.dynamic_list to - dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and - --dynamic-list* before setting link_info.symbolic, - link_info.dynamic and link_info.dynamic_data. - - * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS. - (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with - -Bsymbolic-functions. - (parse_args): Handle -Bsymbolic-functions. Don't set - link_info.dynamic, link_info.dynamic_data and link_info.symbolic - here. Set command_line.symbolic for -Bsymbolic. Set - command_line.dynamic_list and command_line.symbolic for - --dynamic-list-data, --dynamic-list-cpp-new, - --dynamic-list-cpp-typeinfo and --dynamic-list. - -2007-01-19 Jakub Jelinek - H.J. Lu - - * emultempl/elf32.em (handle_option): Make sure -z max-page-size - or -z common-page-size argument is a power of 2. Call - bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. - -2007-01-19 H.J. Lu - - * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor - bfd_emul_set_commonpagesize. - -2007-01-19 H.J. Lu - - * NEWS: Mention --default-script/-dT. - - * ld.h (args_type): Add a default_script field. - - * ld.texinfo: Document --default-script/-dT. - - * ldmain.c (main): Handle command_line.default_script. - - * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT. - (ld_options): Add entries for --default-script and -dT. - (parse_args): Handle --default-script/-dT. - -2007-01-16 H.J. Lu - - PR ld/3831 - * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and - --dynamic-list-cpp-new. - - * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data - and --dynamic-list-cpp-new. - - * ldlang.c (lang_append_dynamic_list_cpp_new): New. - (lang_process): Change link_info.dynamic to - link_info.dynamic_list. - (lang_append_dynamic_list): Likewise. - * ldmain.c (main): Likewise. Initialize link_info.dynamic and - link_info.dynamic_data to FALSE. - - * ldlang.h (lang_append_dynamic_list_cpp_new): New. - - * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and - OPTION_DYNAMIC_LIST_CPP_NEW. - (ld_options): Add entries for -Bsymbolic-functions, - --dynamic-list-data and --dynamic-list-cpp-new. Make - -Bsymbolic-functions an alias of --dynamic-list-data. - (parse_args): Change link_info.dynamic to link_info.dynamic_list. - Set link_info.dynamic to TRUE for --dynamic-list and - --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and - --dynamic-list-cpp-new. - -2007-01-11 Nathan Sidwell - - * emultempl/elf-generic.em (gdl_map_segments): Only allow header - shrinkage for the first few iterations. - -2007-01-08 Kai Tietz - - * configure.tgt: Renamed target x86_64-*-mingw64 to - x86_64-*-mingw*. - -2007-01-08 Pedro Alves - - * configure.host: Add i[3-7]86-*-mingw* case. - -2007-01-08 Nick Clifton - - * pep-dll.h (pep_bfd_is_dll): Add prototype. - -2007-01-08 Aurelien Jarno - - PR ld/3843 - * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and - tdir_elf_i386_fbsd. - -2007-01-06 Nathan Sidwell - - * ldexp.c (fold_name): Issue error on undefined sections. - -2007-01-02 Alan Modra - - * pe-dll.c: Include pe-dll.h. - * pep-dll.c (pe_bfd_is_dll): Define. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/ld/ChangeLog-2007 b/ld/ChangeLog-2007 new file mode 100644 index 0000000000..658e9cd81e --- /dev/null +++ b/ld/ChangeLog-2007 @@ -0,0 +1,1187 @@ +2007-12-24 Hector Oron + + * genscripts.sh (LIB_PATH): Include both {target_alias} and + {TOOL_LIB} in the search paths for multilibbed targets. + +2007-12-15 Richard Sandiford + + * scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)). + (.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)). + * scripttempl/elf.sc: As for armbpabi.sc. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/mep.sc: Likewise. + +2007-11-07 Nathan Sidwell + + * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS, + OTHER_READWRITE_SECTIONS): Add TLS sections. + +2007-11-06 Kai Tietz + + * emultempl/pe.em: (init): Add __ImageBase symbol. + (MSIMAGEBASEOFF): New. + (set_pe_name): Keep __image_base and __ImageBase value synch. + (_set_symbols): Likewise. + * emultempl/pep.em: Likewise. + +2007-10-26 Alan Modra + + PR 5215 + * genscripts.sh: Move bash script to.. + * genscrba.sh: ..here. + +2007-10-25 Pedro Alves + + * pe-dll.c (autofilter_symbollist_generic) + (autofilter_symbollist_i386, autofilter_liblist) + (autofilter_objlist, autofilter_symbolprefixlist) + (autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with + NULL. + +2007-10-24 H.J. Lu + + * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. + * configure: Regenerated. + +2007-10-24 Alan Modra + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * configure.in: Invoke AC_GNU_SOURCE. + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-10-19 Nick Clifton + + * configure.tgt: Add support for am34-linux-gnu target. + +2007-10-17 Zack Weinberg + + * ldlang.c (lang_check_section_addresses): Also report size of + overflow for any overflowed memory regions. + (os_region_check): Diagnose an overflowed region only once per + region. Do not reset region->current on overflow. + +2007-10-04 Nick Clifton + + PR linker/4844 + * emultempl/pep.em (pep_find_data_imports): Issue a warning + message if auto importing is triggered without + --enable-auto-import having been specified on the command line. + * emultempl/pe.em (pe_find_data_imports): Likewise. + + PR linker/5097 + * emultempl/armelf.em (arm_elf_finish): Fix spelling typo. + +2007-10-01 Nick Clifton + + PR linker/4844 + * genscripts.sh: Add support for generating a .xa script for use + with the --auto-import option. + * ld.texinfo: Document the new behaviour of the --auto-import + option. + * ldint.texinfo: Document new script generation. + * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define. + * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define. + * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define. + * emultemp/pe.em (..._get_script): Support the use of the auto + import script. + * scripttempl/pe.sc: Put the .rdata input sections into the .data + output section when creating an auto import script. + * scripttempl/pep.sc: Likewise. + +2007-09-26 Brian Watt + + * emultempl/spu_ovl.S: Add debug printf code. + +2007-09-17 H.J. Lu + + PR binutils/3281 + PR binutils/5037 + * ldexp.h (ldexp_control): Add relro, relro_start_stat and + relro_end_stat. + + * ldexp.c (fold_binary): Set expld.dataseg.relro to + exp_dataseg_relro_start or exp_dataseg_relro_end when + seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END, + respectively. + + * ldlang.c (lang_size_sections_1): Properly set + expld.dataseg.relro_start_stat and + expld.dataseg.relro_end_stat. + (find_relro_section_callback): New function. + (lang_find_relro_sections_1): Likewise. + (lang_find_relro_sections): Likewise. + (lang_process): Call lang_find_relro_sections for + non-relocatable link. + +2007-09-17 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2007-09-16 H.J. Lu + + * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW. + +2007-09-15 Alan Modra + + PR ld/5025 + * emultempl/elf32.em (write_build_id_section): Correct test for + "missing" .note.gnu.build-id. Downgrade error to a warning if + it has been discarded. + +2007-09-08 Alan Modra + + * ldwrite.c (build_link_order ): Correct + condition under which we build a bfd_data_link_order. + +2007-08-31 Tristan Gingold + + * ldlang.c (lang_map): Increment lang_statement_iteration so that + DEFINED() expressions are correctly computed. + +2007-08-31 Alan Modra + + * ldlang.c (lang_record_phdrs): Give a fatal error if no sections + assigned to phdrs. Avoid multiple forward scans for a section + with phdr assignment. + +2007-08-28 Mark Shinwell + Joseph Myers + + * ldlang.c (sort_sections_by_lma): Sort by internal id after lma + for stable sort. + +2007-08-28 Robert Sebastian Gerus + + * configure.host: Add support for i[3-7]86-*-dragonfly*. + * configure.tgt: Likewise. + +2007-08-18 Alan Modra + + * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example. + +2007-08-17 Jakub Jelinek + + * configure.host: Handle sparcv*-*-linux-* the same as + sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*. + +2007-08-17 Alan Modra + + * emultempl/alphaelf.em: Format option help. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf.em: Likewise. + * emultempl/avrelf.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/ia64elf.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/ppc32elf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/scoreelf.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vxworks.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2007-08-17 Alan Modra + + * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages. + * lexsup.c (ld_options): Don't use tabs in help text. + * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo. + * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-15 Alan Modra + + PR 4923 + * emultempl/elf32.em (after_open): Return immediately when + non-ELF output. + +2007-08-12 Daniel Jacobowitz + + * configure.in (ALL_LINGUAS): Add fi. + * po/fi.po: New file. + * configure: Regenerated. + +2007-08-10 Nick Clifton + + * NEWS: Add a marker for the 2.18 features. + +2007-08-10 Nick Clifton + + * po/ga.po: Updated Irish translation. + * po/vi.po: Updated Vietnamese translation. + +2007-08-10 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-08-10 H.J. Lu + + PR ld/4875 + * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t + instead of u_int32_t. + + * sha1.h: Include bfd_stdint.h instead of . + +2007-08-09 Alan Modra + + PR 4515 + * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR. + * ldint.texinfo: Likewise. + * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete. + * emulparams/armaoutl.sh: Likewise. + * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete. + * emulparams/bfin.sh: Likewise + * emulparams/crisaout.sh: Likewise + * emulparams/elf32_sparc.sh: Likewise + * emulparams/elf32am33lin.sh: Likewise + * emulparams/elf32b4300.sh: Likewise + * emulparams/elf32bmip.sh: Likewise + * emulparams/elf32mcore.sh: Likewise + * emulparams/elf32xtensa.sh: Likewise + * emulparams/elf64_s390.sh: Likewise + * emulparams/elf64_sparc.sh: Likewise + * emulparams/elf64alpha.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_i386_vxworks.sh: Likewise + * emulparams/elf_s390.sh: Likewise + * emulparams/elf_x86_64.sh: Likewise + * emulparams/i386aout.sh: Likewise + * emulparams/i386moss.sh: Likewise + * emulparams/i386msdos.sh: Likewise + * emulparams/i386nto.sh: Likewise + * emulparams/i386nw.sh: Likewise + * emulparams/m68kaout.sh: Likewise + * emulparams/m68kelf.sh: Likewise + * emulparams/ppcnw.sh: Likewise + * emulparams/sun4.sh: Likewise + * emulparams/tic80coff.sh: Likewise + * emulparams/vaxnbsd.sh: Likewise + * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete. + (TEXT_START_ADDR): Set for -n, -N. + * emulparams/coff_sparc.sh: Likewise + * emulparams/elf32vax.sh: Likewise + * emulparams/i386bsd.sh: Likewise + * emulparams/i386go32.sh: Likewise + * emulparams/i386linux.sh: Likewise + * emulparams/i386lynx.sh: Likewise + * emulparams/i386mach.sh: Likewise + * emulparams/m68k4knbsd.sh: Likewise + * emulparams/m68klinux.sh: Likewise + * emulparams/m68knbsd.sh: Likewise + * emulparams/ns32knbsd.sh: Likewise + * emulparams/pc532macha.sh: Likewise + * emulparams/ppclynx.sh: Likewise + * emulparams/scoreelf.sh: Likewise + * emulparams/sparcaout.sh: Likewise + * emulparams/sparclinux.sh: Likewise + * emulparams/sun3.sh: Likewise + * emulparams/vsta.sh: Likewise + +2007-08-07 Ralf Corsépius + + * configure.tgt: Add bfin-*rtems*. + +2007-08-06 Kai Tietz + + * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1. + (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of + shared objects. + * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 + mingw target. + +2007-08-01 Nick Clifton + + * po/ga.po: Updated Irish translation. + +2007-07-29 Alan Modra + + * ldlang.c (lang_insert_orphan): When searching through linker + script to place an orphan, don't stop on statements that appear + outside of SECTIONS. + * emultempl/elf32.em (output_rel_find): Prefer read-only alloc + sections over read/write alloc sections. + +2007-07-28 Jakub Jelinek + + * scripttempl/elf.sc: Add .note.gnu.build-id. + +2007-07-25 Nick Clifton + + PR 4824 + * ld.texinfo (Options): Extend the description of the -O command + line option. + +2007-07-24 Kai Tietz + + * pep.sc: Correct ctor/dtor sentinels for 64-bit targets. + +2007-07-21 Nick Clifton + + * sha1.h: Change to use version 3 of the GNU General Public + License and tidy up formatting. + * sha1.c: Likewise. + +2007-07-19 Roland McGrath + + * genscripts.sh (source_em, fragment): New sh functions. + Truncate e${EMULATION_NAME}.c file before .em script fills it. + Use source_em in place of . for the .em script. + * emultempl/generic.em: Use fragment and source_em functions. + * emultempl/aix.em: Likewise. + * emultempl/alphaelf.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf.em: Likewise. + * emultempl/avrelf.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/cr16elf.em: Likewise. + * emultempl/crxelf.em: Likewise. + * emultempl/elf-generic.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/genelf.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/ia64elf.em: Likewise. + * emultempl/irix.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/pep.em: Likewise. + * emultempl/ppc32elf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/scoreelf.em: Likewise. + * emultempl/sh64elf.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/vxworks.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + * emultempl/z80.em: Likewise. + +2007-07-18 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section): + Use ASEC->contents for CONTENTS when missing, and allocate + ASEC->size if needed. + +2007-07-13 Roland McGrath + + * emultempl/elf32.em (struct build_id_info): New type. + (gld${EMULATION_NAME}_id_note_section_size): New function. + (gld${EMULATION_NAME}_write_build_id_section): New function. + (gld${EMULATION_NAME}_after_open): Use them. + (DEFAULT_BUILD_ID_STYLE): Change to "sha1". + * ld.texinfo (Options): Mention --build-id=sha1. + + * sha1.h: New file (from gnulib). + * sha1.c: New file (from gnulib). + * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them. + (sha1.o): New target. + * Makefile.in: Regenerated. + +2007-07-13 Alan Modra + + * ldlang.c (strip_excluded_output_sections): Don't ignore sections + with update_dot_tree. + +2007-07-12 Nathan Sidwell + + * scripttempl/pe.sc: Don't include .gcc_except_table and + .eh_frame on partial links. + * scripttempl/pep.sc: Likewise. + +2007-07-12 Alan Modra + + PR 4782 + * ldlang.c (lang_size_sections_1 ): Only + use expld.result when valid. + +2007-07-12 Alan Modra + + * emultempl/spuelf.em (embedded_spu_file): Test for NULL path + before calling base_name, not after. + +2007-07-10 Alan Modra + + * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add + .gnu.debuglink. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/mep.sc: Likewise. + +2007-07-09 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id. + (gld${EMULATION_NAME}_handle_option): Handle --build-id. + (gld${EMULATION_NAME}_list_options): List --build-id. + (gld${EMULATION_NAME}_after_open): If --build-id was given, + synthesize a ".note.gnu.build-id" section and cache it in elf_tdata. + * ld.texinfo (Options): Describe --build-id. + * NEWS: Mention --build-id. + +2007-07-06 Nick Clifton + + * deffile.h: Update copyright notice to refer to GPLv3. + * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, + ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c, + ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c, + ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c, + mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in, + sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, + emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em, + emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em, + emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em, + emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em, + emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em, + emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em, + emultempl/m68kcoff.em, emultempl/m68kelf.em, + emultempl/mipsecoff.em, emultempl/mipself.em, + emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em, + emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em, + emultempl/ppc32elf.em, emultempl/ppc64elf.em, + emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em, + emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em, + emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise. + * genscripts.sh: Add copyright notice. + * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em: + Likewise. + * NEWS: Mention that the sources are now under GPLv3. + * configure: Regenerate. + +2007-07-05 Danny Smith + + * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'. + (--stack): Likewise. + +2007-07-03 Matthias Klose + + * emultempl/spuelf.em (base_name): Correct backslash quoting. + +2007-07-02 Alan Modra + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/ld.pot: Regenerate. + +2007-06-30 H.J. Lu + + * aclocal.m4: Regenerated. + * Makefile.in: Likewise. + +2007-06-29 H.J. Lu + + * NEWS: Remove a line with '*' only. + +2007-06-29 Joseph Myers + + * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes. + (ATTRS_SECTIONS): Define. + * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc, + scripttempl/elf_chaos.sc, scripttempl/elfi370.sc, + scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS. + +2007-06-29 M R Swami Reddy + + * scripttemp/elf32cr16.sc: Default linker script. + * emulparams/elf32cr16.sh: Emulation script. + * emultempl/cr16elf.em: Emulation script. + * Makefile.am: Add entry to make cr16 target. + * Makefile.in: Regenerate. + * configure.tgt: Specify default and other emulation parameters + for cr16. + * ChangeLog: Added CR16 target entry. + * NEWS: Announce the support for the CR16 new target. + +2007-06-27 Alan Modra + + * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout. + +2007-06-20 Alan Modra + + * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name. + +2007-06-18 Nathan Sidwell + + * ldlex.l, ldgram.y: Add ALIGNOF. + * ldexp.c (exp_print_token, foldname): Likewise. + * ld.texinfo: Likewise. + +2007-06-18 Alan Modra + + * Makefile.am: Add eelf32_spu.o rule. + * Makefile.in: Regenerate. + * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU + defined in Makefile for embedspu name. + +2007-06-18 Alan Modra + + * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program + name prefix from that of ld. + +2007-06-14 H.J. Lu + + * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. + + * acinclude.m4: Removed. + + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + +2007-06-14 Alan Modra + + * emultempl/spu_ovl.S: Don't trash lr on tail call from one + overlay to another. + * emultempl/spu_ovl.o: Regenerate. + +2007-06-11 Bob Wilson + + * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO + for .xt_except_table. + (OTHER_RELRO_SECTIONS): New. + +2007-06-11 Sterling Augustine + Bob Wilson + + * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed + XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. + +2007-06-01 Noah Misch + Alan Modra + + * ldlang.c (ldlang_add_file): Use input_bfds_tail. + * ldmain.c (main): Init input_bfds_tail. Sort link_info + initialization. + +2007-05-29 Alan Modra + + * emultempl/spuelf.em (base_name): New function, split out from.. + (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu + invocation if we deduce a shared lib or position independent + executable build by looking at ctrbegin* linker input files. + +2007-05-29 Alan Modra + + * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol + types and sizes. + * emultempl/spu_ovl.o: Regenerate. + +2007-05-24 Steve Ellcey + + * Makefile.in: Regnerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + +2007-05-24 Nathan Sidwell + + * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot + contain commas in EXP env. + * ldgram.y (extern_name_list): Push to EXP env, move body to ... + (extern_name_list_body): ... here. + (script_file, ifile_list): Reformat. + (statement): Add ASSERT. + +2007-05-22 Nick Clifton + + * ld.texinfo: Use @copying around the copyright notice. + * ldint.texinfo: Likewise. + +2007-05-18 Richard Sandiford + + * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS) + (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections. + +2007-05-16 Richard Sandiford + + * configure.in: Allow sysroots to be relocated under $prefix as + well as $exec_prefix. + * configure: Regenerate. + +2007-05-14 Andreas Schwab + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): + Handle null pattern. + +2007-05-11 Alan Modra + + * emultempl/ppc32elf.em (plt_style): New variable. + (old_plt): Delete. + (ppc_after_open): Adjust ppc_elf_select_plt_layout call. + (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber + OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT. + * ld.texinfo (--secure-plt): Document. + +2007-05-08 Alan Modra + + * ld.h (args_type, ld_config_type): Reorder fields. + * ldmain.c (main): Don't initialise a bunch of vars we know are + zero already. + +2007-05-05 Anatoly Sokolov + + * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for + "--pmem-wrap-around". + (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around". + +2007-05-03 Bob Wilson + + * scripttempl/elfxtensa.sc: Merge changes from elf.sc. + +2007-05-03 Alan Modra + + * ld.texinfo (--no-warn-search-mismatch): Document. + * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping + incompatible libraries if --no-warn-search-mismatch. + * ld.h (args_type): Add warn_search_mismatch. + * ldmain.c (main): Init it. + * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH. + (ld_options): Add entry for --no-warn-search-mismatch. + (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH. + +2007-05-03 Alan Modra + + * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges. + +2007-05-01 Robert Millan + + * ldlang.c (lang_check): Error on architecture mismatch. + +2007-04-30 Alan Modra + + * ldmain.c (link_callbacks): Init info and minfo fields. + * ldmisc.c (minfo): Do nothing if no map file. + * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars. + (spu_after_open): Adjust spu_elf_create_sections call. + (spu_before_allocation): Likewise for spu_elf_size_stubs. + (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define. + (PARSE_AND_LIST_LONGOPTS): Add new entries. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. + * gen-doc.texi: Add @set for SPU and other missing targets. + * ld.texinfo: Update man page selection to match gen-doc.texi. + Document SPU features. + +2007-04-28 Alan Modra + + * ldcref.c (struct cref_hash_entry): Make "demangled" const. + (cref_fill_array): Adjust for changed demangler. + * ldlang.c (lang_one_common): Likewise. + +2007-04-27 Nathan Froyd + + * emulparams/elf32_sparc.sh: Update comments. + * emulparams/elf32bmip.sh: Likewise. + * emulparams/elf32ppc.sh: Likewise. + * emulparams/vxworks.sh: Likewise. + +2007-04-27 Alan Modra + + Many files: Include sysdep.h first. Remove duplicate headers. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-24 Alan Modra + + * Makefile.in: Regenerate. + +2007-04-19 Alan Modra + + * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle. + * ldlang.c (lang_one_common): Likewise. + * ldmisc.c (vfinfo): Likewise. + (demangle): Delete. + * ldmisc.h (demangle): Delete. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-18 Alan Modra + + * ldlang.h (enum section_type): Add overlay_section. + * ldlang.c (lang_add_section): Handle flags for overlay_section + as per normal_section. + (lang_size_sections_1): When setting lma, detect overlays by + os->sectype rather than by looking for overlapping vmas. + (lang_enter_overlay_section): Use overlay_section type. + (lang_leave_overlay): Set first overlay section to normal. + +2007-04-14 Steve Ellcey + + * Makefile.am: Add ACLOCAL_AMFLAGS. + * Makefile.in: Regenerate. + +2007-04-12 Bob Wilson + + * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections. + +2007-04-10 Richard Henderson + + * ldlang.c (relax_sections): Initialize and increment + link_info.relax_trip. + +2007-04-04 Paul Brook + + * configure.tgt: Loosen checks for arm uclinux eabi targets. + +2007-04-02 H.J. Lu + + PR ld/4090 + * ldexp.h (node_type): Add lineno. + * ldexp.c: Include "ldlex.h". + (exp_intop): Set the lineno field from lineno. + (exp_bigintop): Likewise. + (exp_relop): Likewise. + (exp_nameop): Likewise. + (exp_binop): Set the lineno field from lineno of lhs. + (exp_trinop): Likewise. + (exp_unop): Set the lineno field from lineno of child. + (exp_assop): Set the lineno field from lineno of src. + (exp_provide): Likewise. + (exp_assert): Set the lineno field from lineno of exp. + (exp_get_abs_int): Set lineno from lineno of nonconstant + expression when report problem. + +2007-03-29 Richard Sandiford + Daniel Jacobowitz + + * NEWS: Mention -l:foo. + * ld.texinfo: Document it. + * ldlang.c (new_afile): If a lang_input_file_is_l_enum + entry as a name beginning with a coloh, convert it to a + lang_input_file_is_search_file_enum entry without the colon. + +2007-03-28 Richard Sandiford + + * ld.h (ld_config_type): Add rpath_separator. + * ldmain.c (main): Initialize it. + * lexsup.c (parse_args): Honor config.rpath_separator. + * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise. + (gld${EMULATION_NAME}_add_sysroot): Likewise. + (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator + rather than ':' when building the path. + * emultempl/vxworks.em (vxworks_before_parse): New function. + Override config.rpath_separator. + (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been + set to gld${EMULATION_NAME}_after_open; #define that identifier + to vxworks_foo instead. + (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN. + +2007-03-28 Richard Sandiford + Phil Edwards + + * ld.texinfo: Put the contents after the title page rather + than at the end of the document. + +2007-03-26 Alan Modra + + * Makefile.am: Add dependency on ldemul-list.h for powerpc and + spu target emul files. + * configure.in: Check for mkstemp and waitpid. + * Makefile.in: Regenerate. + * configure: Regenerate. + * config.in: Regenerate. + * ldlang.c (input_file_chain): Make global. + (lang_add_input_file): Don't set lang_has_input_file here. + * ldlang.h (input_file_chain): Declare. + * emultempl/ppc32elf.em (ppc_recognized_file): New function. + (LDEMUL_RECOGNIZED_FILE): Define. + * emultempl/ppc64elf.em (ppc64_recognized_file): New function. + (LDEMUL_RECOGNIZED_FILE): Define. + * emultempl/spuelf.em (struct tflist): New. + (tmp_file_list): New var. + (clean_tmp, embedded_spu_file): New functions. + +2007-03-24 Alan Modra + + * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms + rather than defining unconditionally. + (lang_leave_overlay_section): Likewise. + * ld.texinfo (Overlay Description): Update description and examples + for start/stop syms. + +2007-03-22 Joseph Myers + + * ld.texinfo: Include VERSION_PACKAGE when reporting version. + +2007-03-20 Paul Brook + + * emultempl/armelf.em (pic_veneer): New variable. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER. + (PARSE_AND_LIST_ARGS_CASES): Ditto. + (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer". + (PARSE_AND_LIST_OPTIONS): Ditto. + * ld.texinfo: Document --pic-veneer. + +2007-03-18 Mark Shinwell + + * ld.texinfo: Document --no-enum-size-warning. + * emultempl/armelf.em (no_enum_size_warning): New. + (arm_elf_create_output_section_statements): Correct typo + in comment. Pass no_enum_size_warning to + bfd_elf32_arm_set_target_relocs. + (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING. + (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning. + (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING + case. + +2007-03-19 Bernd Schmidt + + * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath. + (bfin-*-linux-uclibc*): New target. + +2007-03-16 Kai Tietz + + * pe-dll.c (make_one): Use pc-relative relocation instead of an + absolute relocation for x86_64-pc-mingw32 target. + +2007-03-15 H.J. Lu + + * Makefile.am (ld_TEXINFOS): Remove ldver.texi. + (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. + (TEXI2DVI): Likewise. + (REPORT_BUGS_TO): Removed. + (INCLUDES): Remove -DREPORT_BUGS_TO. + (ldver.texi): Likewise. + (ld.1): Don't depend on ldver.texi. + (MOSTLYCLEANFILES): Remove ldver.texi. + * Makefile.in: Regenerated. + + * configure.in (--with-bugurl): Removed. + * configure: Regenerated. + + * lexsup.c: Include bfdver.h. + + * ld.texinfo: Include bfdver.texi instead of ldver.texi. + +2007-03-11 Hans-Peter Nilsson + + * emultempl/mmixelf.em: Remove incorrect '#line' directive. + +2007-03-08 Alan Modra + + * ldlang.c (lang_size_sections_1): Correct backwards dot move + test to not trigger on overlays. Only warn on backwards move + if non-default lma. + +2007-03-07 Joseph Myers + + * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of + bug-reporting URL. + * Makefile.am (ldver.texi): Define BUGURL. + * ld.texinfo: Use BUGURL. + * Makefile.in, configure: Regenerate. + +2007-03-07 Nick Clifton + + PR ld/4023 + * emultempl/aix.em (..._before_allocation): Strip sysroot prefix + from any paths being inserted into the output binary's DT_RPATH. + +2007-03-02 Nathan Sidwell + + * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit. + +2007-03-01 Joseph Myers + + * ldver.c (ldversion): Remove word "version" from output. Update + copyright date. + +2007-02-28 Nathan Sidwell + + * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o + (eshelf_uclinux.c): New target. + * Makefile.in: Rebuilt. + * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. + * emulparams/shelf_uclinux.sh: New. + +2007-02-28 Alan Modra + + * configure.tgt: Fix type last change. + * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles. + +2007-02-27 Alan Modra + + * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o. + (eelf32_spu.c): Adjust dependencies. + * Makefile.in: Regenerate. + * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o + code using bin2c. + (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete. + (ovl_mgr_stream): Update. + * emultempl/spu_inc.s: Delete. + * emultempl/spu_none.s: Delete. + +2007-02-26 Alan Modra + + * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename + to _binary_spu_ovl_o_start. + (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end. + (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager. + * emultempl/spu_inc.s: Rename symbols. + * emultempl/spu_none.s: New file. + * emultempl/spu_ovl.S: Update copyright. + * Makefile.am (spu_inc.o): Try building with ld -r first, then + gas incbin, then build without overlay manager. + * Makefile.in: Regenerate. + +2007-02-22 Joseph Myers + + * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*, + mips*el-*-linux-*, mips*-*-linux-*): Set + targ_extra_libpath=$targ_extra_emuls. + +2007-02-21 Nick Clifton + + * ldlang.c (ldlang_override_segment_assignment): New function. + * ldlang.h (ldlang_override_segment_assignment): Prototype. + * ldmain.c (link_callbacks): Add + ldlang_override_segment_assignment. + +2007-02-20 Alan Modra + + * ldexp.c (fold_name ): Ensure result is always absolute. + +2007-02-17 Mark Mitchell + Nathan Sidwell + Vladimir Prus + + * configure.in (--with-bugurl): New option. + * configure: Regenerate. + * Makefile.am (REPORT_BUGS_TO): Define. + (INCLUDES): Define REPORT_BUGS_TO. + Regenerate dependencies. + * Makefile.in: Regenerate. + * ld.h: Remove include of bin-bugs.h. + * lexsup.c (help): Don't print empty REPORT_BUGS_TO. + +2007-02-17 Alan Modra + + * ldcref.c (check_reloc_refs): Compare section for local syms. + +2007-02-13 Alan Modra + + * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size. + (__ovly_load_event): Define. + (size): Rename to osize. + * emultempl/spu_ovl.o: Regenerate. + +2007-02-13 Alan Modra + + * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt". + * emultempl/ppc64elf.em (ppc_add_stub_section): Create without + SEC_RELOC flag set. + +2007-02-09 H.J. Lu + + * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if + want64 is true. + (targ_extra_libpath): Add $targ64_extra_libpath if want64 is + true + * configure: Regenerated. + + * configure.tgt (targ_extra_libpath): Initialize. + (targ64_extra_emuls): New. Document. Initialize. + (targ64_extra_libpath): Likewise. + (i[3-7]86-*-linux-*): Set targ64_extra_emuls and + targ64_extra_libpath. + (powerpc*-*-linux*): Likewise. + (s390-*-linux*): Likewise. + +2007-02-07 Paul Brook + + * configure.tgt: Add arm*-*-uclinux-*eabi. + +2007-02-06 H.J. Lu + + * ldlang.c (lang_size_sections_1): Add a missing `)'. + +2007-02-06 Alan Modra + + PR ld/3966 + * ldlang.c (lang_size_sections_1): Don't warn on backwards dot + move unless section size is non-zero. + +2007-02-05 Dave Brolley + + * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP. + * configure.tgt: Likewise. + * scripttempl/mep.sc: New file. + * emulparams/elf32mep.sh: New file. + * Makefile.in: Regenerate. + +2006-01-29 Julian Brown + + * NEWS: Mention --vfp11-denorm-fix option. + * ld.texinfo: Document above. + * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add + .vfp11_veneer section. + * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise. + * emultempl/armelf.em (vfp11_denorm_fix): New static variable. + (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix, + bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan. + (arm_elf_after_allocation): New function. Call + bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements. + (arm_elf_create_output_section_statements): Pass vfp11 fix command + line option to BFD. + (OPTION_VFP11_DENORM_FIX): New option. + (PARSE_AND_LIST_LONGOPTS): Handle new option. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (LDEMUL_AFTER_ALLOCATION): Define. + +2007-01-24 H.J. Lu + + * ldgram.y (SIZEOF_HEADERS): Remove duplicated one. + (DEFSYMEND): Likewise. + (NAME): Likewise. + (LNAME): Likewise. + +2007-01-19 Murali Vemulapati + + * pe-dll.c: (make_one) Conditionally include jump stubs. + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify + redundant jump stubs from import libraries and exclude them from + link. + +2007-01-19 H.J. Lu + + * ld.h (args_type): Add new symbolic and dynamic_list fields. + + * ld.texinfo: Update -Bsymbolic-functions. + + * ldmain.c (main): Initialize command_line.symbolic to + symbolic_unset and command_line.dynamic_list to + dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and + --dynamic-list* before setting link_info.symbolic, + link_info.dynamic and link_info.dynamic_data. + + * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS. + (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with + -Bsymbolic-functions. + (parse_args): Handle -Bsymbolic-functions. Don't set + link_info.dynamic, link_info.dynamic_data and link_info.symbolic + here. Set command_line.symbolic for -Bsymbolic. Set + command_line.dynamic_list and command_line.symbolic for + --dynamic-list-data, --dynamic-list-cpp-new, + --dynamic-list-cpp-typeinfo and --dynamic-list. + +2007-01-19 Jakub Jelinek + H.J. Lu + + * emultempl/elf32.em (handle_option): Make sure -z max-page-size + or -z common-page-size argument is a power of 2. Call + bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. + +2007-01-19 H.J. Lu + + * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor + bfd_emul_set_commonpagesize. + +2007-01-19 H.J. Lu + + * NEWS: Mention --default-script/-dT. + + * ld.h (args_type): Add a default_script field. + + * ld.texinfo: Document --default-script/-dT. + + * ldmain.c (main): Handle command_line.default_script. + + * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT. + (ld_options): Add entries for --default-script and -dT. + (parse_args): Handle --default-script/-dT. + +2007-01-16 H.J. Lu + + PR ld/3831 + * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and + --dynamic-list-cpp-new. + + * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data + and --dynamic-list-cpp-new. + + * ldlang.c (lang_append_dynamic_list_cpp_new): New. + (lang_process): Change link_info.dynamic to + link_info.dynamic_list. + (lang_append_dynamic_list): Likewise. + * ldmain.c (main): Likewise. Initialize link_info.dynamic and + link_info.dynamic_data to FALSE. + + * ldlang.h (lang_append_dynamic_list_cpp_new): New. + + * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and + OPTION_DYNAMIC_LIST_CPP_NEW. + (ld_options): Add entries for -Bsymbolic-functions, + --dynamic-list-data and --dynamic-list-cpp-new. Make + -Bsymbolic-functions an alias of --dynamic-list-data. + (parse_args): Change link_info.dynamic to link_info.dynamic_list. + Set link_info.dynamic to TRUE for --dynamic-list and + --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and + --dynamic-list-cpp-new. + +2007-01-11 Nathan Sidwell + + * emultempl/elf-generic.em (gdl_map_segments): Only allow header + shrinkage for the first few iterations. + +2007-01-08 Kai Tietz + + * configure.tgt: Renamed target x86_64-*-mingw64 to + x86_64-*-mingw*. + +2007-01-08 Pedro Alves + + * configure.host: Add i[3-7]86-*-mingw* case. + +2007-01-08 Nick Clifton + + * pep-dll.h (pep_bfd_is_dll): Add prototype. + +2007-01-08 Aurelien Jarno + + PR ld/3843 + * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and + tdir_elf_i386_fbsd. + +2007-01-06 Nathan Sidwell + + * ldexp.c (fold_name): Issue error on undefined sections. + +2007-01-02 Alan Modra + + * pe-dll.c: Include pe-dll.h. + * pep-dll.c (pe_bfd_is_dll): Define. + +For older changes see ChangeLog-2006 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 24457ff583..676fdaca26 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -3,1862 +3,7 @@ * m88k-dis.c (instructions): Fix fcvt.* instructions. From Miod Vallat. -2007-12-31 H.J. Lu - - * i386-dis.c (prefix_table): Use "%LQ" on cvtsi2ss/cvtsi2sd. - (putop): Handle '%' and "LQ". - - * i386-opc.tbl: Remove IgnoreSize from cvtsi2ss/cvtsi2sd. - * i386-tbl.h: Regenerated. - -2007-12-28 H.J. Lu - - * i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to - CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS. - (cpu_flags): Add CpuSSE4_1_Or_5. - - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - - * i386-opc.h (CpuSSE4_1_Or_5): New. - (CpuLM): Updated. - (i386_cpu_flags): Add cpusse4_1_or_5. - - * i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5 - on ptest roundpd, roundps, roundsd and roundss. - -2007-12-23 H.J. Lu - - * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and - IntelMnemonic. - - * i386-opc.h (OldGcc): New. - (ATTMnemonic): Likewise. - (IntelMnemonic): Likewise. - (Opcode_Modifier_Max): Updated. - (i386_opcode_modifier): Add oldgcc, attmnemonic and - intelmnemonic. - - * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul, - fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and - IntelMnemonic. - * i386-tbl.h: Regeneratd. - -2007-12-22 H.J. Lu - - * i386-dis.c (intel_mnemonic): New. - (print_i386_disassembler_options): Display att-mnemonic and - intel-mnemonic options. - (print_insn): Handle att-mnemonic and intel-mnemonic. - (float_reg): Replace SYSV386_COMPAT with "!M" and "M". - (putop): Handle "!M" and "M". - -2007-12-21 H.J. Lu - - * Makefile.am (i386-gen.o): Also depend on - $(srcdir)/../include/opcode/i386.h. - * Makefile.in: Regenerated. - -2007-11-29 Mark Shinwell - - * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F - entries. - * mips-opc.c (IL2E): New. - (IL2F): New. - (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. - Allow movz and movn for Loongson-2E and -2F. Add movnz entry. - Move coprocessor encodings to the end of the table. Allow - certain MIPS V .ps instructions on the Loongson-2E and -2F. - -2007-11-29 Mark Shinwell - - * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New. - (mips_builtin_opcodes): Use these new I* values. - -2007-11-27 Andreas Krebbel - - * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt", - "tgxt"): Removed. - ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. - -2007-11-14 H.J. Lu - - * ia64-ic.tbl: Updated for Itanium 9100 series. - * ia64-raw.tbl: Likewise. - * ia64-waw.tbl: Likewise. - * ia64-asmtab.c: Regenerated. - -2007-11-14 Tristan Gingold - - * ia64-dis.c (print_insn_ia64): Handle ar.ruc. - * ia64-gen.c (lookup_regindex): Likewise. - -2007-11-07 Jens Arnold - - PR gas/5228 - * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with - parallel loads. - -2007-11-07 Tristan Gingold - - * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr - registers instead of register number. - -2007-11-07 David O'Brien - - * arm-dis.c (arm_opcodes): Remove superflous escapes of percent - operators. - -2007-11-06 Peter Bergner - - * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes - which are not included in the "Preliminary Decimal Floating-Point - Architecture" document. - -2007-11-01 H.J. Lu - - * i386-gen.c (opcode_modifiers): Replace No_xSuf with - No_ldSuf. - * i386-opc.tbl: Likewise. - - * i386-opc.h (No_xSuf): Renamed to ... - (No_ldSuf): This. - (FWait): Updated. - -2007-11-01 H.J. Lu - - * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword, - ToQword and AddrPrefixOp0. - - * i386-opc.h (ByteOkIntel): New. - (ToDword): Likewise. - (ToQword): Likewise. - (AddrPrefixOp0): Likewise. - (IsPrefix): Updated. - (i386_opcode_modifier): Add byteokintel, todword, toqword - and addrprefixop0. - - * i386-opc.tbl (cvtss2si): Add ToQword. - (cvttss2si): Likewise. - (cvtsd2si): Add ToDword. - (cvttsd2si): Likewise. - (monitor): Add AddrPrefixOp0. - (invlpga): Likewise. - (vmload): Likewise. - (vmrun): Likewise. - (vmsave): Likewise. - (pextrb): Add ByteOkIntel. - (pinsrb): Likewise. - * i386-tbl.h: Regenerated. - -2007-10-31 H.J. Lu - - * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1. - (USE_REG_TABLE): Likewise. - (USE_MOD_TABLE): Likewise. - (USE_RM_TABLE): Likewise. - (USE_PREFIX_TABLE): Likewise. - (USE_X86_64_TABLE): Likewise. - (USE_3BYTE_TABLE): Likewise. - -2007-10-26 H.J. Lu - - * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New. - (MOD_0F51): Likewise. - (MOD_0FD7): Likewise. - (MOD_0FE7_PREFIX_2): Likewise. - (MOD_0F382A_PREFIX_2): Likewise. - (MOD_0F71_REG_2): Updated. - (MOD_0FF0_PREFIX_3): Likewise. - (MOD_62_32BIT): Likewise. - (dis386_twobyte): Use MOD_0F51 and MOD_0FD7. - (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3, - MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2. - (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3, - MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2. - -2007-10-26 Nick Clifton - - * arm-dis.c (print_insn): Check for a symtab that exists but is - empty. - -2007-10-24 Alan Modra - - * po/POTFILES.in: Regenerate. - -2007-10-23 H.J. Lu - - * i386-dis.c (OP_SIMD_Suffix): Renamed to ... - (CMP_Fixup): This. Rewrite. - (OPSIMD): Renamed to ... - (CMP): This. Updated. - (prefix_table): Update PREFIX_0FC2 entry. - -2007-10-22 H.J. Lu - - * i386-dis.c (prefix_table): Reordered by opcode. - (mod_table): Likewise. - -2007-10-19 H.J. Lu - - * i386-dis.c (prefix_table): Use XS on psrldq and pslldq. - -2007-10-17 Nathan Sidwell - - * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for - coldfire. - -2007-10-15 Peter Bergner - - * ppc-opc.c (powerpc_opcodes): Fix the first two operands of - dquaiq. to use the TE and FRT macros. - -2007-10-15 Peter Bergner - - * ppc-opc.c (TE): Correct signedness. - (powerpc_opcodes): Sort psq_st and psq_stu according to major - opcode number. - -2007-10-15 H.J. Lu - - * i386-dis.c (dis386_twobyte): Reformat. - (prefix_table): Likewise. - (three_byte_table): Likewise. - -2007-10-15 Alan Modra - - * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against - macro expansion. - -2007-10-12 H.J. Lu - - * i386-gen.c (opcode_modifiers): Add FirstXmm0. - - * i386-opc.h (FirstXmm0): New. - (IsPrefix): Updated. - (i386_opcode_modifier): Add firstxmm0. - - * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0. - (blendvps): Likewise. - (pblendvb): Likewise. - * i386-tbl.h: Regenerated. - -2007-10-12 H.J. Lu - - * i386-dis.c (prefix_table): Reformat pblendvb and blendvps. - -2007-10-10 H.J. Lu - - * i386-dis.c (v_mode): Defined as previous one + 1. - (w_mode): Likewise. - (d_mode): Likewise. - (q_mode): Likewise. - (t_mode): Likewise. - (x_mode): Likewise. - (m_mode): Likewise. - (cond_jump_mode): Likewise. - (loop_jcxz_mode): Likewise. - (dq_mode): Likewise. - (dqw_mode): Likewise. - (f_mode): Likewise. - (const_1_mode): Likewise. - (stack_v_mode): Likewise. - (z_mode): Likewise. - (o_mode): Likewise. - (dqb_mode): Likewise. - (dqd_mode): Likewise. - (es_reg): Likewise. - (cs_reg): Likewise. - (ss_reg): Likewise. - (ds_reg): Likewise. - (fs_reg): Likewise. - (gs_reg): Likewise. - (eAX_reg): Likewise. - (eCX_reg): Likewise. - (eDX_reg): Likewise. - (eBX_reg): Likewise. - (eSP_reg): Likewise. - (eBP_reg): Likewise. - (eSI_reg): Likewise. - (eDI_reg): Likewise. - (al_reg): Likewise. - (cl_reg): Likewise. - (dl_reg): Likewise. - (bl_reg): Likewise. - (ah_reg): Likewise. - (ch_reg): Likewise. - (dh_reg): Likewise. - (bh_reg): Likewise. - (ax_reg): Likewise. - (cx_reg): Likewise. - (dx_reg): Likewise. - (bx_reg): Likewise. - (sp_reg): Likewise. - (bp_reg): Likewise. - (si_reg): Likewise. - (di_reg): Likewise. - (rAX_reg): Likewise. - (rCX_reg): Likewise. - (rDX_reg): Likewise. - (rBX_reg): Likewise. - (rSP_reg): Likewise. - (rBP_reg): Likewise. - (rSI_reg): Likewise. - (rDI_reg): Likewise. - (z_mode_ax_reg): Likewise. - (indir_dx_reg): Likewise. - (DREX_OC1): Updated. - (DREX_NO_OC0): Likewise. - (DREX_MASK): Likewise. - (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not - less than DREX_OC1. - -2007-10-08 H.J. Lu - - * i386-dis.c: Updated comments for 'Y'. - (putop): Don't add 'q' for 'Y' if suffix_always isn't true. - -2007-10-08 Maciej W. Rozycki - - * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition. - (mips_cp0_names_r4000): Likewise. - (mips_arch_choices): Link to the above as appropriate. - -2007-10-08 Nick Clifton - - * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency - to be ../bfd/libbfd.la. - * configure: Regenerate. - -2007-10-05 H.J. Lu - - * i386-dis.c (dis386_twobyte): Add getsec. - - * i386-gen.c (cpu_flags): Add CpuSMX. - - * i386-opc.h (CpuSMX): New. - (CpuSSSE3): Updated. - (i386_cpu_flags): Add cpusmx. - - * i386-opc.tbl: Add getsec. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2007-10-05 H.J. Lu - - * i386-dis.c (reg_table): Use "{ XX }" on "(bad)". - (prefix_table): Likewise. - -2007-10-04 H.J. Lu - - * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on - unpckhpX and unpckhpX. - -2007-10-04 David Daney - - * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S - registers. - -2007-10-04 H.J. Lu - - * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps" - instead of "movlpX" and "movhlpX", respectively. - (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of - "movhpX" and "movlhpX", respectively. - -2007-10-04 Nick Clifton - - * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS. - (WIN32LIBADD): Rename to SHARED_LIBADD - (SHARED_DEPENDENCIES): New exported variable. - (enable_shared): Add dependency upon libbfd.la for non-cygwin - based shared library builds. - * Makefile.am (libopcodes_la_DEPENDENCIES): Append - SHARED_DEPENDENCIES. - (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD. - (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS. - * configure: Regenerate. - * Makefile.in: Regenerate. - - PR gas/5100 - * arc-opc.c (insert_offset): Fix spelling mistake in error - message. - -2007-10-03 H.J. Lu - - * i386-dis.c (OP_REG): Set add to 0 only when needed. - (OP_C): Likewise. - (OP_D): Likewise. - (OP_MMX): Likewise. - (OP_XMM): Likewise. - (OP_EM): Likewise. - (OP_MXC): Likewise. - (OP_EX): Likewise. - -2007-10-03 H.J. Lu - - * i386-opc.tbl: Update SSE comments. - -2007-10-01 H.J. Lu - - * i386-dis.c (THREE_BYTE_0FBA): Renamed to ... - (THREE_BYTE_0F7B): This. - (dis386_twobyte): Updated. - (three_byte_table): Updated comments. - -2007-10-01 M R Swami Reddy - - * cr16-opc.c: Updated the branch on condition instructions with - RELAXABLE flag. - -2007-09-30 H.J. Lu - - * 386-dis.c (prefix_table): Reformat comment. - -2007-09-29 H.J. Lu - - * 386-dis.c (USE_GROUPS): Renamed to ... - (USE_REG_TABLE): This. - (USE_OPC_EXT_TABLE): Renamed to ... - (USE_MOD_TABLE): This. - (USE_OPC_EXT_RM_TABLE): Renamed to ... - (USE_RM_TABLE): This. - (USE_XXX_TABLE): Reordered. - (GRP): Renamed to ... - (REG_TABLE): This. - (OPC_EXT_TABLE): Renamed to ... - (MOD_TABLE): This. - (OPC_EXT_RM_TABLE): Renamed to ... - (RM_TABLE): This. - (GRP_XXX): Renamed to ... - (REG_XXX): This. - (PREGRP_XXX): Renamed to ... - (PREFIX_XXX): This. - (OPC_EXT_XXX): Renamed to ... - (MOD_XXX): This. - (OPC_EXT_RM_XXX): Renamed to ... - (RM_XXX): This. - (grps): Renamed to ... - (reg_table): This - (prefix_user_table): Renamed to ... - (prefix_table): This - (opc_ext_table): Renamed to ... - (mod_table): This - (opc_ext_rm_table): Renamed to ... - (rm_table): This - (OPC_EXT_RM_XXX): Likewise. - (dis386): Updated. - (dis386_twobyte): Likewise. - (reg_table): Likewise. - (prefix_table): Likewise. - (x86_64_table): Likewise. - (three_byte_table): Likewise. - (mod_table): Likewise. - (rm_table): Likewise. - (get_valid_dis386): Likewise. - -2007-09-28 H.J. Lu - - * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ... - (USE_PREFIX_TABLE): This. - (X86_64_SPECIAL): Renamed to ... - (USE_X86_64_TABLE): This. - (IS_3BYTE_OPCODE): Renamed to ... - (USE_3BYTE_TABLE): This. - (GRPXXX): Removed. - (PREGRPXXX): Likewise. - (X86_64_XXX): Likewise. - (THREE_BYTE_XXX): Likewise. - (OPC_EXT_XXX): Likewise. - (OPC_EXT_RM_XXX): Likewise. - (DIS386): New. - (GRP): Likewise. - (PREGRP): Likewise. - (X86_64_TABLE): Likewise. - (THREE_BYTE_TABLE): Likewise. - (OPC_EXT_TABLE): Likewise. - (OPC_EXT_RM_TABLE): Likewise. - (GRP_XXX): Likewise. - (PREGRP_XXX): Likewise. - (X86_64_XXX): Likewise. - (THREE_BYTE_XXX): Likewise. - (OPC_EXT_XXX): Likewise. - (OPC_EXT_RM_XXX): Likewise. - (dis386): Updated. - (dis386_twobyte): Likewise. - (grps): Likewise. - (prefix_user_table): Likewise. - (x86_64_table): Likewise. - (three_byte_table): Likewise. - (opc_ext_table): Likewise. - (opc_ext_rm_table): Likewise. - (get_valid_dis386): Likewise. - -2007-09-27 H.J. Lu - - * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2. - (x86_64_table): Likewise. - (opc_ext_table): Likewise. - -2007-09-27 H.J. Lu - - PR binutils/5072 - * i386-dis.c: Update comments on '{', '}' and '|' to support - only AT&T and Intel modes. - (X86_64_4...X86_64_27): New. - (dis386): Updated. Use X86_64_4...X86_64_21. - (dis386_twobyte): Updated. - (float_mem): Likewise. - (x86_64_table): Add X86_64_4...X86_64_27. - (opc_ext_table): Updated. Use X86_64_22...X86_64_27. - (putop): Updated handling of '{', '}' and '|' to support only - AT&T and Intel modes. - -2007-09-27 Kazu Hirata - - * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb. - -2007-09-26 James E. Wilson - - * ia64-gen.c (print_dependency_table): Fix typo in last patch. - -2007-09-26 Nick Clifton - - * mt-asm.c (parse_imm16): Reword error message in order to allow - it to be translated properly. - * ia64-gen.c (print_dependency_table): Likewise. - * mips-dis.c (print_insn_args): Likewise. - -2007-09-26 Jan Beulich - - * i386-dis.c (OP_E_extended): Distinguish rip- and eip- - relative addressing. Update used_prefixes based on whether any - base or index register was printed. - -2007-09-26 Jan Beulich - - * i386-opc.h (RegEip): Define. - (RegEiz): Adjust. - * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64. - * i386-tbl.h: Re-generate. - -2007-09-25 H.J. Lu - - * i386-gen.c (process_i386_opcodes): Process opcode_length. - - * i386-opc.h (template): Add opcode_length. - * 386-opc.tbl: Likewise. - * i386-tbl.h: Regenerated. - -2007-09-21 H.J. Lu - - * i386-opc.h: Adjust whitespaces. - -2007-09-21 Dave Brolley - - * mep-desc.c: Regenerated. - -2007-09-20 H.J. Lu - - * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset]. - -2007-09-20 H.J. Lu - - PR 658 - * 386-dis.c (index64): New. - (index32): Likewise. - (intel_index64): Likewise. - (intel_index32): Likewise. - (att_index64): Likewise. - (att_index32): Likewise. - (print_insn): Set index64 and index32. - (OP_E_extended): Use index64/index32 for index register for - SIB with INDEX == 4. - - * i386-opc.h (RegEiz): New. - (RegRiz): Likewise. - - * i386-reg.tbl: Add eiz and riz. - * i386-tbl.h: Regenerated. - -2007-09-19 H.J. Lu - - * i386-dis.c (OP_E_extended): Always display scale for memory. - -2007-09-17 H.J. Lu - - * i386-opc.h (RegRip): New. - - * i386-reg.tbl (rip): Use RegRip for reg_num. - * i386-tbl.h: Regenerated. - -2007-09-17 Nick Clifton - - * po/es.po: Updated Spanish translation. - -2007-09-14 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-09-14 Michael Meissner - Dwarakanath Rajagopal - Tony Linthicum - - * i386-opc.h (CpuSSE5): New macro. - (i386_cpu_flags): Add Drex, Drexv and Drexc. - - * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS. - (operand_type_init): Add CpuSSE5. - (opcode_modifiers): Add Drex, Drexv and Drexc. - (i386_opcode_modifier): Ditto. - - * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5 - instructions here. - (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto. - (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto. - (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto. - (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto. - (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto. - (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto. - (phaddbw,phaddbd,phaddbq,phaddwd): Ditto. - (phaddwq,phadddq,phaddubw,phaddubd): Ditto. - (phaddubq,phadduwd,phadduwq,phaddudq): Ditto. - (phsubbw,phsubwd,phsubdq): Ditto. - (pcmov,pperm,permps,permpd): Ditto. - (protb,protw,protd,protq): Ditto. - (pshlb,pshlw,pshld,pshlq): Ditto. - (pshab,pshaw,pshad,pshaq): Ditto. - (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto. - (comunordps,comneps,comneqps,comnltps,comugeps): Ditto. - (comnleps,comugtps,comordps,comueqps,comultps): Ditto. - (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto. - (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto. - (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto. - (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto. - (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto. - (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto. - (comunlepd,comgtpd,comtruepd): Ditto. - (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto. - (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto. - (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto. - (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto. - (comunless,comgtss,comtruess): Ditto. - (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto. - (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto. - (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto. - (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto. - (comunlesd,comgtsd,comtruesd): Ditto. - (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto. - (pcomnequb,pcomneub): Ditto. - (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto. - (pcomnequw,pcomneuw): Ditto. - (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto. - (pcomnequd,pcomneud): Ditto. - (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto. - (pcomnequq,pcomneuq): Ditto. - (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto. - (pcomneqb,pcomneb): Ditto. - (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto. - (pcomneqw,pcomnew): Ditto. - (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto. - (pcomneqd,pcomned): Ditto. - (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto. - (pcomeqq,pcomneqq,pcomneq): Ditto. - (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto. - (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto. - (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto. - (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto. - (frczps,frczpd,frczss,frczsd): Ditto. - (cvtph2ps,cvtps2ph): Ditto. - - * i386-tbl.h: Regenerate from i386-opc.tbl. - * i386-init.h: Likewise. - - * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE. - (dis386_move_test): New disassembly support for move from test - register instruction that overlaps with SSE5 instructions. - (print_insn): Add support for special casing the i386/i486 move - from test register instruction that overlaps with the SSE5 - 0x0f24 4 operand instructions. - (OP_DREX_ICMP): New macros for SSE5 DREX handling. - (OP_DREX_FCMP): Ditto. - (OP_E_extended): Rename from OP_E, add additional argument to skip - the DREX byte. - (OP_E): Call OP_E_extended. - (DREX_REG_MEMORY): New macros for drex handling. - (DREX_REG_UNKNOWN): Ditto. - (DREX4_OC1): Ditto. - (DREX4_NO_OC0): Ditto. - (DREX4_MASK): Ditto. - (three_byte_table): Add SSE5 instructions. - (print_drex_arg): New function to print a DREX register or memory - reference. - (OP_DREX4): New function for handling DREX 4 argument ops. - (OP_DREX3): New function for handling DREX 3 argument ops. - (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte. - (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3 - byte opcode support for SSE5 instructions. - (dis386_twobyte): Add SSE5 24/25/7a/7b support. - (three_byte_table): Add rows for describing SSE5 instructions. - -2007-09-13 H.J. Lu - - * i386-dis.c (get_valid_dis386): Take a pointer to - disassemble_info. Handle IS_3BYTE_OPCODE. - (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here. - -2007-09-12 H.J. Lu - - * i386-opc.h (CpuUnused): Defined with CpuMax. - (OTUnused): Defined with OTMax. - -2007-09-12 Jan Beulich - - * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and - pblendvb. - * i386-tbl.h: Regenerate. - -2007-09-09 H.J. Lu - - * i386-gen.c (main): Remove the local variable, unused. - -2007-09-08 H.J. Lu - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-09-08 H.J. Lu - - * configure.in (AC_CHECK_HEADERS): Add limits.h. - * configure: Regenerated. - * config.in: Likewise. - - * i386-gen.c: Include "sysdep.h" instead of and - . Use xstrerror instead of strerror. - (initializer): New. - (cpu_flag_init): Likewise. - (bitfield): Likewise. - (BITFIELD): New. - (cpu_flags): Likewise. - (opcode_modifiers): Likewise. - (operand_types): Likewise. - (compare): Likewise. - (set_cpu_flags): Likewise. - (output_cpu_flags): Likewise. - (process_i386_cpu_flags): Likewise. - (output_opcode_modifier): Likewise. - (process_i386_opcode_modifier): Likewise. - (output_operand_type): Likewise. - (process_i386_operand_type): Likewise. - (set_bitfield): Likewise. - (operand_type_init): Likewise. - (process_i386_initializers): Likewise. - (process_i386_opcodes): Call process_i386_opcode_modifier to - process opcode_modifier. Call process_i386_operand_type to - process operand_types. - (process_i386_registers): Call process_i386_operand_type to - process reg_type. - (main): Check unused bits in i386_cpu_flags and i386_operand_type. - Sort cpu_flags, opcode_modifiers and operand_types. Call - process_i386_initializers. - - * i386-init.h: New. - * i386-tbl.h: Regenerated. - - * i386-opc.h: Include . - (CHAR_BIT): Define as 8 if not defined. - (Cpu186): Changed to position of bitfiled. - (Cpu286): Likewise. - (Cpu386): Likewise. - (Cpu486): Likewise. - (Cpu586): Likewise. - (Cpu686): Likewise. - (CpuP4): Likewise. - (CpuK6): Likewise. - (CpuK8): Likewise. - (CpuMMX): Likewise. - (CpuMMX2): Likewise. - (CpuSSE): Likewise. - (CpuSSE2): Likewise. - (Cpu3dnow): Likewise. - (Cpu3dnowA): Likewise. - (CpuSSE3): Likewise. - (CpuPadLock): Likewise. - (CpuSVME): Likewise. - (CpuVMX): Likewise. - (CpuSSSE3): Likewise. - (CpuSSE4a): Likewise. - (CpuABM): Likewise. - (CpuSSE4_1): Likewise. - (CpuSSE4_2): Likewise. - (Cpu64): Likewise. - (CpuNo64): Likewise. - (D): Likewise. - (W): Likewise. - (Modrm): Likewise. - (ShortForm): Likewise. - (Jump): Likewise. - (JumpDword): Likewise. - (JumpByte): Likewise. - (JumpInterSegment): Likewise. - (FloatMF): Likewise. - (FloatR): Likewise. - (FloatD): Likewise. - (Size16): Likewise. - (Size32): Likewise. - (Size64): Likewise. - (IgnoreSize): Likewise. - (DefaultSize): Likewise. - (No_bSuf): Likewise. - (No_wSuf): Likewise. - (No_lSuf): Likewise. - (No_sSuf): Likewise. - (No_qSuf): Likewise. - (No_xSuf): Likewise. - (FWait): Likewise. - (IsString): Likewise. - (RegKludge): Likewise. - (IsPrefix): Likewise. - (ImmExt): Likewise. - (NoRex64): Likewise. - (Rex64): Likewise. - (Ugh): Likewise. - (Reg8): Likewise. - (Reg16): Likewise. - (Reg32): Likewise. - (Reg64): Likewise. - (FloatReg): Likewise. - (RegMMX): Likewise. - (RegXMM): Likewise. - (Imm8): Likewise. - (Imm8S): Likewise. - (Imm16): Likewise. - (Imm32): Likewise. - (Imm32S): Likewise. - (Imm64): Likewise. - (Imm1): Likewise. - (BaseIndex): Likewise. - (Disp8): Likewise. - (Disp16): Likewise. - (Disp32): Likewise. - (Disp32S): Likewise. - (Disp64): Likewise. - (InOutPortReg): Likewise. - (ShiftCount): Likewise. - (Control): Likewise. - (Debug): Likewise. - (Test): Likewise. - (SReg2): Likewise. - (SReg3): Likewise. - (Acc): Likewise. - (FloatAcc): Likewise. - (JumpAbsolute): Likewise. - (EsSeg): Likewise. - (RegMem): Likewise. - (OTMax): Likewise. - (Reg): Commented out. - (WordReg): Likewise. - (ImplicitRegister): Likewise. - (Imm): Likewise. - (EncImm): Likewise. - (Disp): Likewise. - (AnyMem): Likewise. - (LLongMem): Likewise. - (LongMem): Likewise. - (ShortMem): Likewise. - (WordMem): Likewise. - (ByteMem): Likewise. - (CpuMax): New - (CpuLM): Likewise. - (CpuNumOfUints): Likewise. - (CpuNumOfBits): Likewise. - (CpuUnused): Likewise. - (OTNumOfUints): Likewise. - (OTNumOfBits): Likewise. - (OTUnused): Likewise. - (i386_cpu_flags): New type. - (i386_operand_type): Likewise. - (i386_opcode_modifier): Likewise. - (CpuSledgehammer): Removed. - (CpuSSE4): Likewise. - (CpuUnknownFlags): Likewise. - (Reg): Likewise. - (WordReg): Likewise. - (ImplicitRegister): Likewise. - (Imm): Likewise. - (EncImm): Likewise. - (Disp): Likewise. - (AnyMem): Likewise. - (LLongMem): Likewise. - (LongMem): Likewise. - (ShortMem): Likewise. - (WordMem): Likewise. - (ByteMem): Likewise. - (template): Use i386_cpu_flags for cpu_flags, use - i386_opcode_modifier for opcode_modifier, use - i386_operand_type for operand_types. - (reg_entry): Use i386_operand_type for reg_type. - - * Makefile.am (HFILES): Add i386-init.h. - ($(srcdir)/i386-init.h): New rule. - ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h - instead. - * Makefile.in: Regenerated. - -2007-09-06 H.J. Lu - - * i386-gen.c (next_field): Updated to take a separator. - (process_i386_opcodes): Updated. - (process_i386_registers): Likewise. - -2007-09-06 H.J. Lu - - * i386-gen.c (table): Moved ... - (main): Here. Call process_copyright to output copyright. - (process_copyright): New. - (process_i386_opcodes): Take FILE *table. - (process_i386_registers): Likewise. - -2007-09-06 H.J. Lu - - * i386-gen.c (table): New. - (process_i386_opcodes): Report errno when faied to open - i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl - before return. - (process_i386_registers): Report errno when faied to open - i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl - before return. - (main): Open i386-tbl.h for output. - - * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@". - * Makefile.in: Regenerated. - -2007-09-06 H.J. Lu - - * i386-opc.tbl: Correct SVME instructions to allow 32bit register - operand in 64bit mode. - * i386-tbl.h: Regenerated. - -2007-08-31 H.J. Lu - - * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. - (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. - (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45. - -2007-08-31 H.J. Lu - - * i386-dis.c (SVME_Fixup): Removed. - (OPC_EXT_39): New. - (OPC_EXT_RM_6): Likewise. - (grps): Use OPC_EXT_39. - (opc_ext_table): Add OPC_EXT_39. - (opc_ext_rm_table): Add OPC_EXT_RM_6. - - * i386-opc.tbl: Correct SVME instructions to take register - operand only. - * i386-tbl.h: Regenerated. - -2007-08-31 H.J. Lu - - * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. - * Makefile.in: Regenerated. - - * configure.in (AC_GNU_SOURCE): Added. - (AC_PROG_CC): Moved before AC_GNU_SOURCE. - (AC_CHECK_DECLS): Add stpcpy. - * configure: Regenerated. - * config.in: Likewise. - - * i386-dis.c: Include "sysdep.h" before "dis-asm.h". - - * sysdep.h (stpcpy): New. - -2007-08-30 H.J. Lu - - * i386-dis.c (INVLPG_Fixup): Removed. - (OPC_EXT_38): New. - (OPC_EXT_RM_5): Likewise. - (grps): Use OPC_EXT_38. - (opc_ext_table): Add OPC_EXT_38. - (opc_ext_rm_table): Add OPC_EXT_RM_5. - -2007-08-29 H.J. Lu - - * i386-dis.c (SIMD_Fixup): Removed. - (OPC_EXT_34...OPC_EXT_37): New. - (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35. - (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37. - (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37. - -2007-08-29 H.J. Lu - - * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New. - (dis386): Use OPC_EXT_0...OPC_EXT_2. - (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5. - (grps): Updated to use OPC_EXT_6...OPC_EXT_31. - (prefix_user_table): Use OPC_EXT_32. - (x86_64_table): Use OPC_EXT_33. - (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33. - -2007-08-29 H.J. Lu - - * i386-dis.c (prefix_user_table): Fix comment. - -2007-08-29 H.J. Lu - - * i386-dis.c (OP_Skip_MODRM): New. - (OP_Monitor): Likewise. - (OP_Mwait): Likewise. - (Mb): Likewise. - (Skip_MODRM): Likewise. - (USE_OPC_EXT_TABLE): Likewise. - (USE_OPC_EXT_RM_TABLE): Likewise. - (PREGRP98...PREGRP100): Likewise. - (OPC_EXT_0...OPC_EXT_24): Likewise. - (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise. - (lock_prefix): Likewise. - (data_prefix): Likewise. - (addr_prefix): Likewise. - (repz_prefix): Likewise. - (repnz_prefix): Likewise. - (opc_ext_table): Likewise. - (opc_ext_rm_table): Likewise. - (get_valid_dis386): Likewise. - (OP_VMX): Removed. - (OP_0fae): Likewise. - (PNI_Fixup): Likewise. - (VMX_Fixup): Likewise. - (VM): Likewise. - (twobyte_uses_DATA_prefix): Likewise. - (twobyte_uses_REPNZ_prefix): Likewise. - (twobyte_uses_REPZ_prefix): Likewise. - (threebyte_0x38_uses_DATA_prefix): Likewise. - (threebyte_0x38_uses_REPNZ_prefix): Likewise. - (threebyte_0x38_uses_REPZ_prefix): Likewise. - (threebyte_0x3a_uses_DATA_prefix): Likewise. - (threebyte_0x3a_uses_REPNZ_prefix): Likewise. - (threebyte_0x3a_uses_REPZ_prefix): Likewise. - (grps): Use OPC_EXT_0...OPC_EXT_24. - (prefix_user_table): Add PREGRP98...PREGRP100. - (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix, - uses_REPNZ_prefix and uses_REPZ_prefix. Initialize - repz_prefix, repnz_prefix, lock_prefix, addr_prefix and - data_prefix based on prefixes. Call get_valid_dis386 to - get a pointer to the valid dis386. Print out prefixes if - they aren't NULL. - (OP_C): Clear lock_prefix if PREFIX_LOCK is used. - (REP_Fixup): Set repz_prefix to "rep " when seeing - PREFIX_REPZ. - -2007-08-28 Daniel Jacobowitz - - * po/nl.po: Updated translation. - -2007-08-28 H.J. Lu - - * i386-dis.c (Md): New. - (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use - Md on ldmxcsr and stmxcsr. Use b_mode on clflush. - (OP_0fae): Clear bytemode for sfence. - -2007-08-22 Ben Elliston - - * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New. - (XOPS, XOPS_MASK, XW, XW_MASK): Likewise. - (PPCPS): Likewise. - (powerpc_opcodes): Add all pair singles instructions. - * ppc-dis.c (powerpc_dialect): Handle "ppcps". - (print_ppc_disassembler_options): Document -Mppcps. - -2007-08-21 Andreas Krebbel - - * s390-mkopc.c (struct s390_cond_ext_format): New global struct. - (s390_cond_ext_format): New global variable. - (expandConditionalJump): New function. - (main): Invoke expandConditionalJump for mnemonics containing '*'. - * s390-opc.txt: Replace mnemonics with conditional - mask extensions with instructions using the newly introduced '*' tag. - -2007-08-17 Alan Modra - - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. - -2007-08-10 Nick Clifton - - * po/fi.po: Updated Finnish translation. - * po/ga.po: Updated Irish translation. - * po/vi.po: Updated Vietnamese translation. - -2007-08-09 H.J. Lu - - * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq, - pmovzxbw, pmovzxwd, pmovzxdq and roundsd. - * i386-tbl.h: Regenerated. - -2007-08-03 James E. Wilson - - * ia64-gen.c: (main): Add missing newline to copyright message. - * ia64-ic.tbl (fp-non-arith): Add xmpy. - * ia64-asmtab.c: Regenerate. - -2007-08-01 Michael Snyder - - * i386-dis.c (print_insn): Guard against NULL. - -2007-07-29 H.J. Lu - - PR binutils/4834 - * i386-dis.c (EXw): New. - (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4 - instructions when appropriated. - -2007-07-28 H.J. Lu - - PR binutils/4834 - * i386-dis.c (Eq): New. - (EMC): Renamed to ... - (EMCq): This. Use q_mode instead of v_mode. - (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq - when appropriated. - -2007-07-28 H.J. Lu - - * i386-dis.c (dis386_twobyte): Change "movd" to "movK". - (prefix_user_table): Likewise. Use EXq instead of EXx on - "movq". - -2007-07-27 Nathan Sidwell - - * ppc-opc (PPC7450): New. - (powerpc_opcodes): Use it in dcba. - -2007-07-24 H.J. Lu - - * i386-gen.c (main): Print a newline after copyright notice. - -2007-07-19 Nick Clifton - - PR binutils/4801 - * maxq-dis.c (get_reg_name): Fix the scan of the - mem_access_syntax_table. - -2007-07-16 H.J. Lu - - * i386-dis.c (EMq): Removed. - (EMx): New. - (prefix_user_table): Replace EMq with EMx. - -2007-07-16 Nick Clifton - - * po/nl.po: Updated translation. - -2007-07-12 Nick Clifton - - * po/vi.po: Updated translation. - * po/nl.po: Updated translation. - -2007-07-06 Mark Kettenis - H.J. Lu - - * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target. - (ia64-asmtab.c): Likewise. - * Makefile.in: Regenerate. - -2007-07-05 H.J. Lu - - * aclocal.m4: Regenerated. - -2007-07-04 Nick Clifton - - * alpha-dis.c: Update copyright notice to refer to GPLv3. - * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h, - arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c, - cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in, - cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c, - cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c, - d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c, - dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c, - h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c, - i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c, - ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, - ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c, - ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c, - m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c, - m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c, - mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c, - mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c, - or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c, - ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c, - score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h, - sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c, - spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c, - tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, - vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c, - z8k-dis.c, z8kgen.c: Likewise. - * i386-opc.tbl, i386-reg.tbl: Add copyright notice. - * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h, - fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c, - frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c, - frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c, - ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, - iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, - iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c, - m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c, - m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, - m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c, - mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c, - mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c, - mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c, - openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c, - openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h, - xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h, - xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, - xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, - xstormy16-opc.h, z8k-opc.h: Regenerated - -2007-07-04 M R Swami Reddy - - * cr16-dis.c (getcinvstring): Add const qualifier to char * - parameter. - (print_insn_cr16): Remove cast to char *. - -2007-07-03 Nathan Sidwell - - * m68k-dis.c (fetch_arg): Add E. Replace length switch with - direct masking. - (print_ins_arg): Add j & K operand types. - (match_insn_m68k): Check and skip initial '.' arg character. - (m68k_scan_mask): Likewise. - * m68k-opc.c (m68k_opcodes): Add coprocessor instructions. - -2007-07-02 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2007-06-30 H.J. Lu - - * aclocal.m4: Regenerated. - * Makefile.in: Likewise. - -2007-06-29 H.J. Lu - - * i386-reg.tbl: Remove spaces before comments. - -2007-06-29 M R Swami Reddy - - * cr16-opc.c: New file. - * cr16-dis.c: New file. - * Makefile.am: Entries for cr16. - * Makefile.in: Regenerate. - * cofigure.in: Add cr16 target information. - * configure : Regenerate. - * disassemble.c: Add cr16 target information. - -2007-06-28 H.J. Lu - - * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h. - (CFILES): Add i386-gen.c. - (i386-gen): New rule. - (i386-gen.o): Likewise. - (i386-tbl.h): Likewise. - Run "make dep-am". - * Makefile.in: Regenerated. - - * i386-gen.c: New file. - * i386-opc.tbl: Likewise. - * i386-reg.tbl: Likewise. - * i386-tbl.h: Likewise. - - * i386-opc.c: Include "i386-tbl.h". - (i386_optab): Removed. - (i386_regtab): Likewise. - (i386_regtab_size): Likewise. - -2007-06-26 Paul Brook - - * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1. - -2007-06-25 H.J. Lu - - * i386-opc.h (regKludge): Renamed to ... - (RegKludge): This. - - * i386-opc.c (i386_optab): Replace regKludge with RegKludge. - -2007-06-23 H.J. Lu - - PR binutils/4667 - * i386-dis.c (EX): Removed. - (EMd): New. - (EMq): Likewise. - (EXd): Likewise. - (EXq): Likewise. - (EXx): Likewise. - (PREGRP93...PREGRP97): Likewise. - (dis386_twobyte): Updated. - (prefix_user_table): Updated. Add PREGRP93...PREGRP97. - (OP_EX): Remove Intel syntax handling. - -2007-06-18 Nathan Sidwell - - * m68k-opc.c (m68k_opcodes): Add wdebugl variants. - -2007-06-14 H.J. Lu - - * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. - - * acinclude.m4: Removed. - - * Makefile.in: Regenerated. - * doc/Makefile.in: Likewise. - * aclocal.m4: Likewise. - * configure: Likewise. - -2007-06-05 Paul Brook - - * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses. - -2007-05-24 Steve Ellcey - - * Makefile.in: Regnerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - -2007-05-18 Alan Modra - - * ppc-dis.c (print_insn_powerpc): Don't skip all operands - after setting skip_optional. - -2007-05-16 Peter Bergner - - * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New. - (print_insn_powerpc): Use the new operand_value_powerpc and - skip_optional_operands functions to omit or print all optional - operands as a group. - * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New. - (XFL_MASK): Delete L and W bits from the mask. - (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK - with XWRA_MASK. Use W. - (mtfsf, mtfsf.): Use XFL_L and W. - -2007-05-14 H.J. Lu - - PR binutils/4502 - * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw". - -2007-05-10 H.J. Lu - - * i386-opc.h (ShortForm): Redefined. - (Jump): Likewise. - (JumpDword): Likewise. - (JumpByte): Likewise. - (JumpInterSegment): Likewise. - (FloatMF): Likewise. - (FloatR): Likewise. - (FloatD): Likewise. - (Size16): Likewise. - (Size32): Likewise. - (Size64): Likewise. - (IgnoreSize): Likewise. - (DefaultSize): Likewise. - (No_bSuf): Likewise. - (No_wSuf): Likewise. - (No_lSuf): Likewise. - (No_sSuf): Likewise. - (No_qSuf): Likewise. - (No_xSuf): Likewise. - (FWait): Likewise. - (IsString): Likewise. - (regKludge): Likewise. - (IsPrefix): Likewise. - (ImmExt): Likewise. - (NoRex64): Likewise. - (Rex64): Likewise. - (Ugh): Likewise. - -2007-05-07 H.J. Lu - - * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries - for some SSE4 instructions. - (threebyte_0x3a_uses_DATA_prefix): Likewise. - -2007-05-03 H.J. Lu - - * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode. - - * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand - type for crc32. - -2007-05-01 H.J. Lu - - * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and - check data size prefix in 16bit mode. - - * i386-opc.c (i386_optab): Default crc32 to non-8bit and - support Intel mode. - -2007-04-30 Mark Salter - - * frv-desc.c: Regenerate. - * frv-desc.h: Regenerate. - -2007-04-30 Alan Modra - - PR 4436 - * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE. - -2007-04-27 H.J. Lu - - * i386-dis.c (modrm): Put reg before rm. - -2007-04-26 H.J. Lu - - PR binutils/4430 - * i386-dis.c (print_displacement): New. - (OP_E): Call print_displacement instead of print_operand_value - to output displacement when either base or index exist. Print - the explicit zero displacement in 16bit mode. - -2007-04-26 H.J. Lu - - PR binutils/4429 - * i386-dis.c (print_insn): Also swap the order of op_riprel - when swapping op_index. Break when the RIP relative address - is printed. - (OP_E): Properly handle RIP relative addressing and print the - explicit zero displacement for Intel mode. - -2007-04-27 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * ns32k-dis.c: Include sysdep.h first. - -2007-04-24 Andreas Krebbel - - * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the - opcode. - * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions. - -2007-04-24 Nick Clifton - - * arm-dis.c (print_insn): Initialise type. - -2007-04-24 Alan Modra - - * cgen-types.h: Include bfd_stdint.h, not stdint.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-04-23 Nathan Sidwell - - * m68k-opc.c: Mark mcfisa_c instructions. - -2007-04-21 Richard Earnshaw - - * arm-dis.c (arm_opcodes): Disassemble to unified syntax. - (thumb_opcodes): Add missing white space in adr. - (arm_decode_shift): New parameter, print_shift. Only decode the - shift parameter if set. Adjust callers. - (print_insn_arm): Support for operand type q with no shift decode. - -2007-04-21 Alan Modra - - * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete. - Move contents to.. - (i386_regtab): ..here. - * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete. - - * ppc-opc.c (powerpc_operands): Delete duplicate entries. - (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete. - (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete. - (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L. - -2007-04-20 Nathan Sidwell - - * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as - rambar1. - -2007-04-20 Alan Modra - - * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand - change. - * ppc-opc.c (powerpc_operands): Replace bit count with bit mask - in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove - references to following deleted functions. - (insert_bd, extract_bd, insert_dq, extract_dq): Delete. - (insert_ds, extract_ds, insert_de, extract_de): Delete. - (insert_des, extract_des, insert_li, extract_li): Delete. - (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete. - (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete. - (num_powerpc_operands): New constant. - (XSPRG_MASK): Remove entire SPRG field. - (powerpc_opcodes ): Use XLBB_MASK not XLYBB_MASK. - -2007-04-20 Alan Modra - - * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift. - (Z2_MASK): Define. - (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand. - -2007-04-20 Richard Earnshaw - - * arm-dis.c (print_insn): Only look for a mapping symbol in the section - being disassembled. - -2007-04-19 Alan Modra - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-04-19 Alan Modra - - * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc, - db10cyc, db12cyc, db16cyc. - -2007-04-19 Nathan Froyd - - * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe. - -2007-04-18 H.J. Lu - - * i386-dis.c (CRC32_Fixup): New. - (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90, - PREGRP91): New. - (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2. - (threebyte_0x3a_uses_DATA_prefix): Likewise. - (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87, - PREGRP88, PREGRP89, PREGRP90 and PREGRP91. - (three_byte_table): Likewise. - - * i386-opc.c (i386_optab): Add SSE4.2 opcodes. - - * i386-opc.h (CpuSSE4_2): New. - (CpuSSE4): Likewise. - (CpuUnknownFlags): Add CpuSSE4_2. - -2007-04-18 H.J. Lu - - * i386-dis.c (XMM_Fixup): New. - (Edqb): New. - (Edqd): New. - (XMM0): New. - (dqb_mode): New. - (dqd_mode): New. - (PREGRP39 ... PREGRP85): New. - (threebyte_0x38_uses_DATA_prefix): Updated for SSE4. - (threebyte_0x3a_uses_DATA_prefix): Likewise. - (prefix_user_table): Add PREGRP39 ... PREGRP85. - (three_byte_table): Likewise. - (putop): Handle 'K'. - (intel_operand_size): Handle dqb_mode, dqd_mode): - (OP_E): Likewise. - (OP_G): Likewise. - - * i386-opc.c (i386_optab): Add SSE4.1 opcodes. - - * i386-opc.h (CpuSSE4_1): New. - (CpuUnknownFlags): Add CpuSSE4_1. - (regKludge): Update comment. - -2007-04-18 Matthias Klose - - * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion. - * Makefile.in: Regenerate. - -2007-04-14 Steve Ellcey - - * Makefile.am: Add ACLOCAL_AMFLAGS. - * Makefile.in: Regenerate. - -2007-04-13 H.J. Lu - - * i386-dis.c: Remove trailing white spaces. - * i386-opc.c: Likewise. - * i386-opc.h: Likewise. - -2007-04-11 H.J. Lu - - PR binutils/4333 - * i386-dis.c (GRP1a): New. - (GRP1b ... GRPPADLCK2): Update index. - (dis386): Use GRP1a for entry 0x8f. - (mod, rm, reg): Removed. Replaced by ... - (modrm): This. - (grps): Add GRP1a. - -2007-04-09 Kazu Hirata - - * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and - info->print_address_func if longjmp is called. - -2007-03-29 DJ Delorie - - * m32c-desc.c: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-opc.c: Regenerate. - -2007-03-28 H.J. Lu - - * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and - movq. Remove InvMem from sldt, smsw and str. - - * i386-opc.h (InvMem): Renamed to ... - (RegMem): Update comments. - (AnyMem): Remove InvMem. - -2007-03-27 Paul Brook - - * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??). - -2007-03-24 Paul Brook - - * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x. - (print_insn_coprocessor): Handle %x. - -2007-03-24 Paul Brook - Mark Shinwell - - * arm-dis.c (arm_opcodes): Print SRS base register. - -2007-03-23 H.J. Lu - - * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB. - - * i386-opc.c (i386_optab): Add rex.wrxb. - -2007-03-21 H.J. Lu - - * i386-dis.c (REX_MODE64): Remove definition. - (REX_EXTX): Likewise. - (REX_EXTY): Likewise. - (REX_EXTZ): Likewise. - (USED_REX): Use REX_OPCODE instead of 0x40. - Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W, - REX_R, REX_X and REX_B respectively. - -2007-03-21 H.J. Lu - - PR binutils/4218 - * i386-dis.c (PREGRP38): New. - (dis386): Use PREGRP38 for 0x90. - (prefix_user_table): Add PREGRP38. - (print_insn): Set uses_REPZ_prefix to 1 for pause. - (NOP_Fixup1): Properly handle REX bits. - (NOP_Fixup2): Likewise. - - * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit. - Allow register with nop. - -2007-03-20 DJ Delorie - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.h: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2007-03-15 H.J. Lu - - * i386-opc.c: Include "libiberty.h". - (i386_regtab): Remove the last entry. - (i386_regtab_size): New. - (i386_float_regtab_size): Likewise. - - * i386-opc.h (i386_regtab_size): New. - (i386_float_regtab_size): Likewise. - -2007-03-15 H.J. Lu - - * Makefile.am (CFILES): Add i386-opc.c. - (ALL_MACHINES): Add i386-opc.lo. - Run "make dep-am". - * Makefile.in: Regenerated. - - * configure.in: Add i386-opc.lo for bfd_i386_arch. - * configure: Regenerated. - - * i386-dis.c: Include "opcode/i386.h". - (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition. - (FWAIT_OPCODE): Remove definition. - (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition. - (MAX_OPERANDS): Remove definition. - - * i386-opc.c: New file. - * i386-opc.h: Likewise. - -2007-03-15 H.J. Lu - - * Makefile.in: Regenerated. - -2007-03-09 H.J. Lu - - * i386-dis.c (OP_Rd): Renamed to ... - (OP_R): This. - (Rd): Updated. - (Rm): Likewise. - -2007-03-08 Alan Modra - - * fr30-asm.c: Regenerate. - * frv-asm.c: Regenerate. - * ip2k-asm.c: Regenerate. - * iq2000-asm.c: Regenerate. - * m32c-asm.c: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-dis.c: Regenerate. - * mt-asm.c: Regenerate. - * mt-ibld.c: Regenerate. - * mt-opc.c: Regenerate. - * openrisc-asm.c: Regenerate. - * xc16x-asm.c: Regenerate. - * xstormy16-asm.c: Regenerate. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2007-03-06 Andreas Krebbel - - * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, - INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New - instruction formats added. - (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, - MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format - masks added. - * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point - instructions added. - * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. - (main): z9-ec cpu type option added. - * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. - -2007-02-22 DJ Delorie - - * s390-opc.c (INSTR_SS_L2RDRD): New. - (MASK_SS_L2RDRD): New. - * s390-opc.txt (pka): Use it. - -2007-02-20 Thiemo Seufer - Chao-Ying Fu - - * mips-dis.c (mips_arch_choices): Add DSP R2 support. - (print_insn_args): Add support for balign instruction. - * mips-opc.c (D33): New shortcut for DSP R2 instructions. - (mips_builtin_opcodes): Add DSP R2 instructions. - -2007-02-19 Andreas Krebbel - - * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed. - (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added. - * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr, - cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF. - -2007-02-19 Andreas Krebbel - - * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type. - * s390-opc.c (s390_operands): Add RO_28 as optional gpr. - (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc - and sfpc. - -2007-02-16 Nick Clifton - - PR binutils/4045 - * avr-dis.c (comment_start): New variable, contains the prefix to - use when printing addresses in comments. - (print_insn_avr): Set comment_start to an empty space if there is - no symbol table available as the generic address printing code - will prefix the numeric value of the address with 0x. - -2007-02-13 H.J. Lu - - * i386-dis.c: Updated to use an array of MAX_OPERANDS operands - in struct dis386. - -2007-02-05 Dave Brolley - Richard Sandiford - DJ Delorie - Graydon Hoare - Frank Ch. Eigler - Ben Elliston - - * Makefile.am (HFILES): Add mep-desc.h mep-opc.h. - (CFILES): Add mep-*.c - (ALL_MACHINES): Add mep-*.lo. - (CLEANFILES): Add stamp-mep. - (CGEN_CPUS): Add mep. - (MEP_DEPS): New variable. - (mep-*): New targets. - * configure.in: Handle bfd_mep_arch. - * disassemble.c (ARCH_mep): New macro. - (disassembler): Handle bfd_arch_mep. - (disassemble_init_for_target): Likewise. - * mep-*: New files for Toshiba Media Processor (MeP). - * Makefile.in: Regenerated. - * configure: Regenerated. - -2007-02-05 H.J. Lu - - * i386-dis.c (OP_J): Undo the last change. Properly handle 64K - wrap around within the same segment in 16bit mode. - -2007-02-02 H.J. Lu - - * i386-dis.c (OP_J): Mask to 16bit only if there is a data16 - prefix. - -2007-02-02 H.J. Lu - - * avr-dis.c (avr_operand): Correct PR number in comment. - -2007-02-02 H.J. Lu - - * disassemble.c (disassembler_usage): Call - print_i386_disassembler_options for i386 disassembler. - - * i386-dis.c (print_i386_disassembler_options): New. - (print_insn): Support the new addr64 option. - -2007-02-02 Hiroki Kaminaga - - * ppc-dis.c (powerpc_dialect): Handle ppc440. - * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can - be used. - -2007-02-02 Alan Modra - - * ppc-opc.c (insert_bdm): -Many comment. - (valid_bo): Add "extract" param. Accept both powerpc and power4 - BO fields when disassembling with -Many. - (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call. - -2007-01-08 Kazu Hirata - - * m68k-opc.c (m68k_opcodes): Replace cpu32 with - cpu32 | fido_a except on tbl instructions. - -2007-01-04 Paul Brook - - * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries. - -2007-01-04 Andreas Schwab - - * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns. - -2007-01-04 Julian Brown - - * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl, - vqrshl instructions. - -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2007 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-2007 b/opcodes/ChangeLog-2007 new file mode 100644 index 0000000000..50cd4bdf0b --- /dev/null +++ b/opcodes/ChangeLog-2007 @@ -0,0 +1,1863 @@ +2007-12-31 H.J. Lu + + * i386-dis.c (prefix_table): Use "%LQ" on cvtsi2ss/cvtsi2sd. + (putop): Handle '%' and "LQ". + + * i386-opc.tbl: Remove IgnoreSize from cvtsi2ss/cvtsi2sd. + * i386-tbl.h: Regenerated. + +2007-12-28 H.J. Lu + + * i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to + CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS. + (cpu_flags): Add CpuSSE4_1_Or_5. + + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + + * i386-opc.h (CpuSSE4_1_Or_5): New. + (CpuLM): Updated. + (i386_cpu_flags): Add cpusse4_1_or_5. + + * i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5 + on ptest roundpd, roundps, roundsd and roundss. + +2007-12-23 H.J. Lu + + * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and + IntelMnemonic. + + * i386-opc.h (OldGcc): New. + (ATTMnemonic): Likewise. + (IntelMnemonic): Likewise. + (Opcode_Modifier_Max): Updated. + (i386_opcode_modifier): Add oldgcc, attmnemonic and + intelmnemonic. + + * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul, + fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and + IntelMnemonic. + * i386-tbl.h: Regeneratd. + +2007-12-22 H.J. Lu + + * i386-dis.c (intel_mnemonic): New. + (print_i386_disassembler_options): Display att-mnemonic and + intel-mnemonic options. + (print_insn): Handle att-mnemonic and intel-mnemonic. + (float_reg): Replace SYSV386_COMPAT with "!M" and "M". + (putop): Handle "!M" and "M". + +2007-12-21 H.J. Lu + + * Makefile.am (i386-gen.o): Also depend on + $(srcdir)/../include/opcode/i386.h. + * Makefile.in: Regenerated. + +2007-11-29 Mark Shinwell + + * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F + entries. + * mips-opc.c (IL2E): New. + (IL2F): New. + (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. + Allow movz and movn for Loongson-2E and -2F. Add movnz entry. + Move coprocessor encodings to the end of the table. Allow + certain MIPS V .ps instructions on the Loongson-2E and -2F. + +2007-11-29 Mark Shinwell + + * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New. + (mips_builtin_opcodes): Use these new I* values. + +2007-11-27 Andreas Krebbel + + * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt", + "tgxt"): Removed. + ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. + +2007-11-14 H.J. Lu + + * ia64-ic.tbl: Updated for Itanium 9100 series. + * ia64-raw.tbl: Likewise. + * ia64-waw.tbl: Likewise. + * ia64-asmtab.c: Regenerated. + +2007-11-14 Tristan Gingold + + * ia64-dis.c (print_insn_ia64): Handle ar.ruc. + * ia64-gen.c (lookup_regindex): Likewise. + +2007-11-07 Jens Arnold + + PR gas/5228 + * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with + parallel loads. + +2007-11-07 Tristan Gingold + + * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr + registers instead of register number. + +2007-11-07 David O'Brien + + * arm-dis.c (arm_opcodes): Remove superflous escapes of percent + operators. + +2007-11-06 Peter Bergner + + * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes + which are not included in the "Preliminary Decimal Floating-Point + Architecture" document. + +2007-11-01 H.J. Lu + + * i386-gen.c (opcode_modifiers): Replace No_xSuf with + No_ldSuf. + * i386-opc.tbl: Likewise. + + * i386-opc.h (No_xSuf): Renamed to ... + (No_ldSuf): This. + (FWait): Updated. + +2007-11-01 H.J. Lu + + * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword, + ToQword and AddrPrefixOp0. + + * i386-opc.h (ByteOkIntel): New. + (ToDword): Likewise. + (ToQword): Likewise. + (AddrPrefixOp0): Likewise. + (IsPrefix): Updated. + (i386_opcode_modifier): Add byteokintel, todword, toqword + and addrprefixop0. + + * i386-opc.tbl (cvtss2si): Add ToQword. + (cvttss2si): Likewise. + (cvtsd2si): Add ToDword. + (cvttsd2si): Likewise. + (monitor): Add AddrPrefixOp0. + (invlpga): Likewise. + (vmload): Likewise. + (vmrun): Likewise. + (vmsave): Likewise. + (pextrb): Add ByteOkIntel. + (pinsrb): Likewise. + * i386-tbl.h: Regenerated. + +2007-10-31 H.J. Lu + + * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1. + (USE_REG_TABLE): Likewise. + (USE_MOD_TABLE): Likewise. + (USE_RM_TABLE): Likewise. + (USE_PREFIX_TABLE): Likewise. + (USE_X86_64_TABLE): Likewise. + (USE_3BYTE_TABLE): Likewise. + +2007-10-26 H.J. Lu + + * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New. + (MOD_0F51): Likewise. + (MOD_0FD7): Likewise. + (MOD_0FE7_PREFIX_2): Likewise. + (MOD_0F382A_PREFIX_2): Likewise. + (MOD_0F71_REG_2): Updated. + (MOD_0FF0_PREFIX_3): Likewise. + (MOD_62_32BIT): Likewise. + (dis386_twobyte): Use MOD_0F51 and MOD_0FD7. + (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3, + MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2. + (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3, + MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2. + +2007-10-26 Nick Clifton + + * arm-dis.c (print_insn): Check for a symtab that exists but is + empty. + +2007-10-24 Alan Modra + + * po/POTFILES.in: Regenerate. + +2007-10-23 H.J. Lu + + * i386-dis.c (OP_SIMD_Suffix): Renamed to ... + (CMP_Fixup): This. Rewrite. + (OPSIMD): Renamed to ... + (CMP): This. Updated. + (prefix_table): Update PREFIX_0FC2 entry. + +2007-10-22 H.J. Lu + + * i386-dis.c (prefix_table): Reordered by opcode. + (mod_table): Likewise. + +2007-10-19 H.J. Lu + + * i386-dis.c (prefix_table): Use XS on psrldq and pslldq. + +2007-10-17 Nathan Sidwell + + * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for + coldfire. + +2007-10-15 Peter Bergner + + * ppc-opc.c (powerpc_opcodes): Fix the first two operands of + dquaiq. to use the TE and FRT macros. + +2007-10-15 Peter Bergner + + * ppc-opc.c (TE): Correct signedness. + (powerpc_opcodes): Sort psq_st and psq_stu according to major + opcode number. + +2007-10-15 H.J. Lu + + * i386-dis.c (dis386_twobyte): Reformat. + (prefix_table): Likewise. + (three_byte_table): Likewise. + +2007-10-15 Alan Modra + + * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against + macro expansion. + +2007-10-12 H.J. Lu + + * i386-gen.c (opcode_modifiers): Add FirstXmm0. + + * i386-opc.h (FirstXmm0): New. + (IsPrefix): Updated. + (i386_opcode_modifier): Add firstxmm0. + + * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0. + (blendvps): Likewise. + (pblendvb): Likewise. + * i386-tbl.h: Regenerated. + +2007-10-12 H.J. Lu + + * i386-dis.c (prefix_table): Reformat pblendvb and blendvps. + +2007-10-10 H.J. Lu + + * i386-dis.c (v_mode): Defined as previous one + 1. + (w_mode): Likewise. + (d_mode): Likewise. + (q_mode): Likewise. + (t_mode): Likewise. + (x_mode): Likewise. + (m_mode): Likewise. + (cond_jump_mode): Likewise. + (loop_jcxz_mode): Likewise. + (dq_mode): Likewise. + (dqw_mode): Likewise. + (f_mode): Likewise. + (const_1_mode): Likewise. + (stack_v_mode): Likewise. + (z_mode): Likewise. + (o_mode): Likewise. + (dqb_mode): Likewise. + (dqd_mode): Likewise. + (es_reg): Likewise. + (cs_reg): Likewise. + (ss_reg): Likewise. + (ds_reg): Likewise. + (fs_reg): Likewise. + (gs_reg): Likewise. + (eAX_reg): Likewise. + (eCX_reg): Likewise. + (eDX_reg): Likewise. + (eBX_reg): Likewise. + (eSP_reg): Likewise. + (eBP_reg): Likewise. + (eSI_reg): Likewise. + (eDI_reg): Likewise. + (al_reg): Likewise. + (cl_reg): Likewise. + (dl_reg): Likewise. + (bl_reg): Likewise. + (ah_reg): Likewise. + (ch_reg): Likewise. + (dh_reg): Likewise. + (bh_reg): Likewise. + (ax_reg): Likewise. + (cx_reg): Likewise. + (dx_reg): Likewise. + (bx_reg): Likewise. + (sp_reg): Likewise. + (bp_reg): Likewise. + (si_reg): Likewise. + (di_reg): Likewise. + (rAX_reg): Likewise. + (rCX_reg): Likewise. + (rDX_reg): Likewise. + (rBX_reg): Likewise. + (rSP_reg): Likewise. + (rBP_reg): Likewise. + (rSI_reg): Likewise. + (rDI_reg): Likewise. + (z_mode_ax_reg): Likewise. + (indir_dx_reg): Likewise. + (DREX_OC1): Updated. + (DREX_NO_OC0): Likewise. + (DREX_MASK): Likewise. + (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not + less than DREX_OC1. + +2007-10-08 H.J. Lu + + * i386-dis.c: Updated comments for 'Y'. + (putop): Don't add 'q' for 'Y' if suffix_always isn't true. + +2007-10-08 Maciej W. Rozycki + + * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition. + (mips_cp0_names_r4000): Likewise. + (mips_arch_choices): Link to the above as appropriate. + +2007-10-08 Nick Clifton + + * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency + to be ../bfd/libbfd.la. + * configure: Regenerate. + +2007-10-05 H.J. Lu + + * i386-dis.c (dis386_twobyte): Add getsec. + + * i386-gen.c (cpu_flags): Add CpuSMX. + + * i386-opc.h (CpuSMX): New. + (CpuSSSE3): Updated. + (i386_cpu_flags): Add cpusmx. + + * i386-opc.tbl: Add getsec. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2007-10-05 H.J. Lu + + * i386-dis.c (reg_table): Use "{ XX }" on "(bad)". + (prefix_table): Likewise. + +2007-10-04 H.J. Lu + + * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on + unpckhpX and unpckhpX. + +2007-10-04 David Daney + + * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S + registers. + +2007-10-04 H.J. Lu + + * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps" + instead of "movlpX" and "movhlpX", respectively. + (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of + "movhpX" and "movlhpX", respectively. + +2007-10-04 Nick Clifton + + * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS. + (WIN32LIBADD): Rename to SHARED_LIBADD + (SHARED_DEPENDENCIES): New exported variable. + (enable_shared): Add dependency upon libbfd.la for non-cygwin + based shared library builds. + * Makefile.am (libopcodes_la_DEPENDENCIES): Append + SHARED_DEPENDENCIES. + (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD. + (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS. + * configure: Regenerate. + * Makefile.in: Regenerate. + + PR gas/5100 + * arc-opc.c (insert_offset): Fix spelling mistake in error + message. + +2007-10-03 H.J. Lu + + * i386-dis.c (OP_REG): Set add to 0 only when needed. + (OP_C): Likewise. + (OP_D): Likewise. + (OP_MMX): Likewise. + (OP_XMM): Likewise. + (OP_EM): Likewise. + (OP_MXC): Likewise. + (OP_EX): Likewise. + +2007-10-03 H.J. Lu + + * i386-opc.tbl: Update SSE comments. + +2007-10-01 H.J. Lu + + * i386-dis.c (THREE_BYTE_0FBA): Renamed to ... + (THREE_BYTE_0F7B): This. + (dis386_twobyte): Updated. + (three_byte_table): Updated comments. + +2007-10-01 M R Swami Reddy + + * cr16-opc.c: Updated the branch on condition instructions with + RELAXABLE flag. + +2007-09-30 H.J. Lu + + * 386-dis.c (prefix_table): Reformat comment. + +2007-09-29 H.J. Lu + + * 386-dis.c (USE_GROUPS): Renamed to ... + (USE_REG_TABLE): This. + (USE_OPC_EXT_TABLE): Renamed to ... + (USE_MOD_TABLE): This. + (USE_OPC_EXT_RM_TABLE): Renamed to ... + (USE_RM_TABLE): This. + (USE_XXX_TABLE): Reordered. + (GRP): Renamed to ... + (REG_TABLE): This. + (OPC_EXT_TABLE): Renamed to ... + (MOD_TABLE): This. + (OPC_EXT_RM_TABLE): Renamed to ... + (RM_TABLE): This. + (GRP_XXX): Renamed to ... + (REG_XXX): This. + (PREGRP_XXX): Renamed to ... + (PREFIX_XXX): This. + (OPC_EXT_XXX): Renamed to ... + (MOD_XXX): This. + (OPC_EXT_RM_XXX): Renamed to ... + (RM_XXX): This. + (grps): Renamed to ... + (reg_table): This + (prefix_user_table): Renamed to ... + (prefix_table): This + (opc_ext_table): Renamed to ... + (mod_table): This + (opc_ext_rm_table): Renamed to ... + (rm_table): This + (OPC_EXT_RM_XXX): Likewise. + (dis386): Updated. + (dis386_twobyte): Likewise. + (reg_table): Likewise. + (prefix_table): Likewise. + (x86_64_table): Likewise. + (three_byte_table): Likewise. + (mod_table): Likewise. + (rm_table): Likewise. + (get_valid_dis386): Likewise. + +2007-09-28 H.J. Lu + + * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ... + (USE_PREFIX_TABLE): This. + (X86_64_SPECIAL): Renamed to ... + (USE_X86_64_TABLE): This. + (IS_3BYTE_OPCODE): Renamed to ... + (USE_3BYTE_TABLE): This. + (GRPXXX): Removed. + (PREGRPXXX): Likewise. + (X86_64_XXX): Likewise. + (THREE_BYTE_XXX): Likewise. + (OPC_EXT_XXX): Likewise. + (OPC_EXT_RM_XXX): Likewise. + (DIS386): New. + (GRP): Likewise. + (PREGRP): Likewise. + (X86_64_TABLE): Likewise. + (THREE_BYTE_TABLE): Likewise. + (OPC_EXT_TABLE): Likewise. + (OPC_EXT_RM_TABLE): Likewise. + (GRP_XXX): Likewise. + (PREGRP_XXX): Likewise. + (X86_64_XXX): Likewise. + (THREE_BYTE_XXX): Likewise. + (OPC_EXT_XXX): Likewise. + (OPC_EXT_RM_XXX): Likewise. + (dis386): Updated. + (dis386_twobyte): Likewise. + (grps): Likewise. + (prefix_user_table): Likewise. + (x86_64_table): Likewise. + (three_byte_table): Likewise. + (opc_ext_table): Likewise. + (opc_ext_rm_table): Likewise. + (get_valid_dis386): Likewise. + +2007-09-27 H.J. Lu + + * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2. + (x86_64_table): Likewise. + (opc_ext_table): Likewise. + +2007-09-27 H.J. Lu + + PR binutils/5072 + * i386-dis.c: Update comments on '{', '}' and '|' to support + only AT&T and Intel modes. + (X86_64_4...X86_64_27): New. + (dis386): Updated. Use X86_64_4...X86_64_21. + (dis386_twobyte): Updated. + (float_mem): Likewise. + (x86_64_table): Add X86_64_4...X86_64_27. + (opc_ext_table): Updated. Use X86_64_22...X86_64_27. + (putop): Updated handling of '{', '}' and '|' to support only + AT&T and Intel modes. + +2007-09-27 Kazu Hirata + + * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb. + +2007-09-26 James E. Wilson + + * ia64-gen.c (print_dependency_table): Fix typo in last patch. + +2007-09-26 Nick Clifton + + * mt-asm.c (parse_imm16): Reword error message in order to allow + it to be translated properly. + * ia64-gen.c (print_dependency_table): Likewise. + * mips-dis.c (print_insn_args): Likewise. + +2007-09-26 Jan Beulich + + * i386-dis.c (OP_E_extended): Distinguish rip- and eip- + relative addressing. Update used_prefixes based on whether any + base or index register was printed. + +2007-09-26 Jan Beulich + + * i386-opc.h (RegEip): Define. + (RegEiz): Adjust. + * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64. + * i386-tbl.h: Re-generate. + +2007-09-25 H.J. Lu + + * i386-gen.c (process_i386_opcodes): Process opcode_length. + + * i386-opc.h (template): Add opcode_length. + * 386-opc.tbl: Likewise. + * i386-tbl.h: Regenerated. + +2007-09-21 H.J. Lu + + * i386-opc.h: Adjust whitespaces. + +2007-09-21 Dave Brolley + + * mep-desc.c: Regenerated. + +2007-09-20 H.J. Lu + + * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset]. + +2007-09-20 H.J. Lu + + PR 658 + * 386-dis.c (index64): New. + (index32): Likewise. + (intel_index64): Likewise. + (intel_index32): Likewise. + (att_index64): Likewise. + (att_index32): Likewise. + (print_insn): Set index64 and index32. + (OP_E_extended): Use index64/index32 for index register for + SIB with INDEX == 4. + + * i386-opc.h (RegEiz): New. + (RegRiz): Likewise. + + * i386-reg.tbl: Add eiz and riz. + * i386-tbl.h: Regenerated. + +2007-09-19 H.J. Lu + + * i386-dis.c (OP_E_extended): Always display scale for memory. + +2007-09-17 H.J. Lu + + * i386-opc.h (RegRip): New. + + * i386-reg.tbl (rip): Use RegRip for reg_num. + * i386-tbl.h: Regenerated. + +2007-09-17 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2007-09-14 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-09-14 Michael Meissner + Dwarakanath Rajagopal + Tony Linthicum + + * i386-opc.h (CpuSSE5): New macro. + (i386_cpu_flags): Add Drex, Drexv and Drexc. + + * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS. + (operand_type_init): Add CpuSSE5. + (opcode_modifiers): Add Drex, Drexv and Drexc. + (i386_opcode_modifier): Ditto. + + * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5 + instructions here. + (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto. + (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto. + (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto. + (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto. + (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto. + (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto. + (phaddbw,phaddbd,phaddbq,phaddwd): Ditto. + (phaddwq,phadddq,phaddubw,phaddubd): Ditto. + (phaddubq,phadduwd,phadduwq,phaddudq): Ditto. + (phsubbw,phsubwd,phsubdq): Ditto. + (pcmov,pperm,permps,permpd): Ditto. + (protb,protw,protd,protq): Ditto. + (pshlb,pshlw,pshld,pshlq): Ditto. + (pshab,pshaw,pshad,pshaq): Ditto. + (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto. + (comunordps,comneps,comneqps,comnltps,comugeps): Ditto. + (comnleps,comugtps,comordps,comueqps,comultps): Ditto. + (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto. + (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto. + (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto. + (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto. + (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto. + (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto. + (comunlepd,comgtpd,comtruepd): Ditto. + (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto. + (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto. + (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto. + (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto. + (comunless,comgtss,comtruess): Ditto. + (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto. + (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto. + (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto. + (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto. + (comunlesd,comgtsd,comtruesd): Ditto. + (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto. + (pcomnequb,pcomneub): Ditto. + (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto. + (pcomnequw,pcomneuw): Ditto. + (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto. + (pcomnequd,pcomneud): Ditto. + (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto. + (pcomnequq,pcomneuq): Ditto. + (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto. + (pcomneqb,pcomneb): Ditto. + (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto. + (pcomneqw,pcomnew): Ditto. + (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto. + (pcomneqd,pcomned): Ditto. + (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto. + (pcomeqq,pcomneqq,pcomneq): Ditto. + (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto. + (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto. + (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto. + (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto. + (frczps,frczpd,frczss,frczsd): Ditto. + (cvtph2ps,cvtps2ph): Ditto. + + * i386-tbl.h: Regenerate from i386-opc.tbl. + * i386-init.h: Likewise. + + * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE. + (dis386_move_test): New disassembly support for move from test + register instruction that overlaps with SSE5 instructions. + (print_insn): Add support for special casing the i386/i486 move + from test register instruction that overlaps with the SSE5 + 0x0f24 4 operand instructions. + (OP_DREX_ICMP): New macros for SSE5 DREX handling. + (OP_DREX_FCMP): Ditto. + (OP_E_extended): Rename from OP_E, add additional argument to skip + the DREX byte. + (OP_E): Call OP_E_extended. + (DREX_REG_MEMORY): New macros for drex handling. + (DREX_REG_UNKNOWN): Ditto. + (DREX4_OC1): Ditto. + (DREX4_NO_OC0): Ditto. + (DREX4_MASK): Ditto. + (three_byte_table): Add SSE5 instructions. + (print_drex_arg): New function to print a DREX register or memory + reference. + (OP_DREX4): New function for handling DREX 4 argument ops. + (OP_DREX3): New function for handling DREX 3 argument ops. + (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte. + (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3 + byte opcode support for SSE5 instructions. + (dis386_twobyte): Add SSE5 24/25/7a/7b support. + (three_byte_table): Add rows for describing SSE5 instructions. + +2007-09-13 H.J. Lu + + * i386-dis.c (get_valid_dis386): Take a pointer to + disassemble_info. Handle IS_3BYTE_OPCODE. + (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here. + +2007-09-12 H.J. Lu + + * i386-opc.h (CpuUnused): Defined with CpuMax. + (OTUnused): Defined with OTMax. + +2007-09-12 Jan Beulich + + * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and + pblendvb. + * i386-tbl.h: Regenerate. + +2007-09-09 H.J. Lu + + * i386-gen.c (main): Remove the local variable, unused. + +2007-09-08 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-09-08 H.J. Lu + + * configure.in (AC_CHECK_HEADERS): Add limits.h. + * configure: Regenerated. + * config.in: Likewise. + + * i386-gen.c: Include "sysdep.h" instead of and + . Use xstrerror instead of strerror. + (initializer): New. + (cpu_flag_init): Likewise. + (bitfield): Likewise. + (BITFIELD): New. + (cpu_flags): Likewise. + (opcode_modifiers): Likewise. + (operand_types): Likewise. + (compare): Likewise. + (set_cpu_flags): Likewise. + (output_cpu_flags): Likewise. + (process_i386_cpu_flags): Likewise. + (output_opcode_modifier): Likewise. + (process_i386_opcode_modifier): Likewise. + (output_operand_type): Likewise. + (process_i386_operand_type): Likewise. + (set_bitfield): Likewise. + (operand_type_init): Likewise. + (process_i386_initializers): Likewise. + (process_i386_opcodes): Call process_i386_opcode_modifier to + process opcode_modifier. Call process_i386_operand_type to + process operand_types. + (process_i386_registers): Call process_i386_operand_type to + process reg_type. + (main): Check unused bits in i386_cpu_flags and i386_operand_type. + Sort cpu_flags, opcode_modifiers and operand_types. Call + process_i386_initializers. + + * i386-init.h: New. + * i386-tbl.h: Regenerated. + + * i386-opc.h: Include . + (CHAR_BIT): Define as 8 if not defined. + (Cpu186): Changed to position of bitfiled. + (Cpu286): Likewise. + (Cpu386): Likewise. + (Cpu486): Likewise. + (Cpu586): Likewise. + (Cpu686): Likewise. + (CpuP4): Likewise. + (CpuK6): Likewise. + (CpuK8): Likewise. + (CpuMMX): Likewise. + (CpuMMX2): Likewise. + (CpuSSE): Likewise. + (CpuSSE2): Likewise. + (Cpu3dnow): Likewise. + (Cpu3dnowA): Likewise. + (CpuSSE3): Likewise. + (CpuPadLock): Likewise. + (CpuSVME): Likewise. + (CpuVMX): Likewise. + (CpuSSSE3): Likewise. + (CpuSSE4a): Likewise. + (CpuABM): Likewise. + (CpuSSE4_1): Likewise. + (CpuSSE4_2): Likewise. + (Cpu64): Likewise. + (CpuNo64): Likewise. + (D): Likewise. + (W): Likewise. + (Modrm): Likewise. + (ShortForm): Likewise. + (Jump): Likewise. + (JumpDword): Likewise. + (JumpByte): Likewise. + (JumpInterSegment): Likewise. + (FloatMF): Likewise. + (FloatR): Likewise. + (FloatD): Likewise. + (Size16): Likewise. + (Size32): Likewise. + (Size64): Likewise. + (IgnoreSize): Likewise. + (DefaultSize): Likewise. + (No_bSuf): Likewise. + (No_wSuf): Likewise. + (No_lSuf): Likewise. + (No_sSuf): Likewise. + (No_qSuf): Likewise. + (No_xSuf): Likewise. + (FWait): Likewise. + (IsString): Likewise. + (RegKludge): Likewise. + (IsPrefix): Likewise. + (ImmExt): Likewise. + (NoRex64): Likewise. + (Rex64): Likewise. + (Ugh): Likewise. + (Reg8): Likewise. + (Reg16): Likewise. + (Reg32): Likewise. + (Reg64): Likewise. + (FloatReg): Likewise. + (RegMMX): Likewise. + (RegXMM): Likewise. + (Imm8): Likewise. + (Imm8S): Likewise. + (Imm16): Likewise. + (Imm32): Likewise. + (Imm32S): Likewise. + (Imm64): Likewise. + (Imm1): Likewise. + (BaseIndex): Likewise. + (Disp8): Likewise. + (Disp16): Likewise. + (Disp32): Likewise. + (Disp32S): Likewise. + (Disp64): Likewise. + (InOutPortReg): Likewise. + (ShiftCount): Likewise. + (Control): Likewise. + (Debug): Likewise. + (Test): Likewise. + (SReg2): Likewise. + (SReg3): Likewise. + (Acc): Likewise. + (FloatAcc): Likewise. + (JumpAbsolute): Likewise. + (EsSeg): Likewise. + (RegMem): Likewise. + (OTMax): Likewise. + (Reg): Commented out. + (WordReg): Likewise. + (ImplicitRegister): Likewise. + (Imm): Likewise. + (EncImm): Likewise. + (Disp): Likewise. + (AnyMem): Likewise. + (LLongMem): Likewise. + (LongMem): Likewise. + (ShortMem): Likewise. + (WordMem): Likewise. + (ByteMem): Likewise. + (CpuMax): New + (CpuLM): Likewise. + (CpuNumOfUints): Likewise. + (CpuNumOfBits): Likewise. + (CpuUnused): Likewise. + (OTNumOfUints): Likewise. + (OTNumOfBits): Likewise. + (OTUnused): Likewise. + (i386_cpu_flags): New type. + (i386_operand_type): Likewise. + (i386_opcode_modifier): Likewise. + (CpuSledgehammer): Removed. + (CpuSSE4): Likewise. + (CpuUnknownFlags): Likewise. + (Reg): Likewise. + (WordReg): Likewise. + (ImplicitRegister): Likewise. + (Imm): Likewise. + (EncImm): Likewise. + (Disp): Likewise. + (AnyMem): Likewise. + (LLongMem): Likewise. + (LongMem): Likewise. + (ShortMem): Likewise. + (WordMem): Likewise. + (ByteMem): Likewise. + (template): Use i386_cpu_flags for cpu_flags, use + i386_opcode_modifier for opcode_modifier, use + i386_operand_type for operand_types. + (reg_entry): Use i386_operand_type for reg_type. + + * Makefile.am (HFILES): Add i386-init.h. + ($(srcdir)/i386-init.h): New rule. + ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h + instead. + * Makefile.in: Regenerated. + +2007-09-06 H.J. Lu + + * i386-gen.c (next_field): Updated to take a separator. + (process_i386_opcodes): Updated. + (process_i386_registers): Likewise. + +2007-09-06 H.J. Lu + + * i386-gen.c (table): Moved ... + (main): Here. Call process_copyright to output copyright. + (process_copyright): New. + (process_i386_opcodes): Take FILE *table. + (process_i386_registers): Likewise. + +2007-09-06 H.J. Lu + + * i386-gen.c (table): New. + (process_i386_opcodes): Report errno when faied to open + i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl + before return. + (process_i386_registers): Report errno when faied to open + i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl + before return. + (main): Open i386-tbl.h for output. + + * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@". + * Makefile.in: Regenerated. + +2007-09-06 H.J. Lu + + * i386-opc.tbl: Correct SVME instructions to allow 32bit register + operand in 64bit mode. + * i386-tbl.h: Regenerated. + +2007-08-31 H.J. Lu + + * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. + (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. + (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45. + +2007-08-31 H.J. Lu + + * i386-dis.c (SVME_Fixup): Removed. + (OPC_EXT_39): New. + (OPC_EXT_RM_6): Likewise. + (grps): Use OPC_EXT_39. + (opc_ext_table): Add OPC_EXT_39. + (opc_ext_rm_table): Add OPC_EXT_RM_6. + + * i386-opc.tbl: Correct SVME instructions to take register + operand only. + * i386-tbl.h: Regenerated. + +2007-08-31 H.J. Lu + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * Makefile.in: Regenerated. + + * configure.in (AC_GNU_SOURCE): Added. + (AC_PROG_CC): Moved before AC_GNU_SOURCE. + (AC_CHECK_DECLS): Add stpcpy. + * configure: Regenerated. + * config.in: Likewise. + + * i386-dis.c: Include "sysdep.h" before "dis-asm.h". + + * sysdep.h (stpcpy): New. + +2007-08-30 H.J. Lu + + * i386-dis.c (INVLPG_Fixup): Removed. + (OPC_EXT_38): New. + (OPC_EXT_RM_5): Likewise. + (grps): Use OPC_EXT_38. + (opc_ext_table): Add OPC_EXT_38. + (opc_ext_rm_table): Add OPC_EXT_RM_5. + +2007-08-29 H.J. Lu + + * i386-dis.c (SIMD_Fixup): Removed. + (OPC_EXT_34...OPC_EXT_37): New. + (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35. + (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37. + (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37. + +2007-08-29 H.J. Lu + + * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New. + (dis386): Use OPC_EXT_0...OPC_EXT_2. + (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5. + (grps): Updated to use OPC_EXT_6...OPC_EXT_31. + (prefix_user_table): Use OPC_EXT_32. + (x86_64_table): Use OPC_EXT_33. + (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33. + +2007-08-29 H.J. Lu + + * i386-dis.c (prefix_user_table): Fix comment. + +2007-08-29 H.J. Lu + + * i386-dis.c (OP_Skip_MODRM): New. + (OP_Monitor): Likewise. + (OP_Mwait): Likewise. + (Mb): Likewise. + (Skip_MODRM): Likewise. + (USE_OPC_EXT_TABLE): Likewise. + (USE_OPC_EXT_RM_TABLE): Likewise. + (PREGRP98...PREGRP100): Likewise. + (OPC_EXT_0...OPC_EXT_24): Likewise. + (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise. + (lock_prefix): Likewise. + (data_prefix): Likewise. + (addr_prefix): Likewise. + (repz_prefix): Likewise. + (repnz_prefix): Likewise. + (opc_ext_table): Likewise. + (opc_ext_rm_table): Likewise. + (get_valid_dis386): Likewise. + (OP_VMX): Removed. + (OP_0fae): Likewise. + (PNI_Fixup): Likewise. + (VMX_Fixup): Likewise. + (VM): Likewise. + (twobyte_uses_DATA_prefix): Likewise. + (twobyte_uses_REPNZ_prefix): Likewise. + (twobyte_uses_REPZ_prefix): Likewise. + (threebyte_0x38_uses_DATA_prefix): Likewise. + (threebyte_0x38_uses_REPNZ_prefix): Likewise. + (threebyte_0x38_uses_REPZ_prefix): Likewise. + (threebyte_0x3a_uses_DATA_prefix): Likewise. + (threebyte_0x3a_uses_REPNZ_prefix): Likewise. + (threebyte_0x3a_uses_REPZ_prefix): Likewise. + (grps): Use OPC_EXT_0...OPC_EXT_24. + (prefix_user_table): Add PREGRP98...PREGRP100. + (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix, + uses_REPNZ_prefix and uses_REPZ_prefix. Initialize + repz_prefix, repnz_prefix, lock_prefix, addr_prefix and + data_prefix based on prefixes. Call get_valid_dis386 to + get a pointer to the valid dis386. Print out prefixes if + they aren't NULL. + (OP_C): Clear lock_prefix if PREFIX_LOCK is used. + (REP_Fixup): Set repz_prefix to "rep " when seeing + PREFIX_REPZ. + +2007-08-28 Daniel Jacobowitz + + * po/nl.po: Updated translation. + +2007-08-28 H.J. Lu + + * i386-dis.c (Md): New. + (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use + Md on ldmxcsr and stmxcsr. Use b_mode on clflush. + (OP_0fae): Clear bytemode for sfence. + +2007-08-22 Ben Elliston + + * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New. + (XOPS, XOPS_MASK, XW, XW_MASK): Likewise. + (PPCPS): Likewise. + (powerpc_opcodes): Add all pair singles instructions. + * ppc-dis.c (powerpc_dialect): Handle "ppcps". + (print_ppc_disassembler_options): Document -Mppcps. + +2007-08-21 Andreas Krebbel + + * s390-mkopc.c (struct s390_cond_ext_format): New global struct. + (s390_cond_ext_format): New global variable. + (expandConditionalJump): New function. + (main): Invoke expandConditionalJump for mnemonics containing '*'. + * s390-opc.txt: Replace mnemonics with conditional + mask extensions with instructions using the newly introduced '*' tag. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-10 Nick Clifton + + * po/fi.po: Updated Finnish translation. + * po/ga.po: Updated Irish translation. + * po/vi.po: Updated Vietnamese translation. + +2007-08-09 H.J. Lu + + * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq, + pmovzxbw, pmovzxwd, pmovzxdq and roundsd. + * i386-tbl.h: Regenerated. + +2007-08-03 James E. Wilson + + * ia64-gen.c: (main): Add missing newline to copyright message. + * ia64-ic.tbl (fp-non-arith): Add xmpy. + * ia64-asmtab.c: Regenerate. + +2007-08-01 Michael Snyder + + * i386-dis.c (print_insn): Guard against NULL. + +2007-07-29 H.J. Lu + + PR binutils/4834 + * i386-dis.c (EXw): New. + (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4 + instructions when appropriated. + +2007-07-28 H.J. Lu + + PR binutils/4834 + * i386-dis.c (Eq): New. + (EMC): Renamed to ... + (EMCq): This. Use q_mode instead of v_mode. + (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq + when appropriated. + +2007-07-28 H.J. Lu + + * i386-dis.c (dis386_twobyte): Change "movd" to "movK". + (prefix_user_table): Likewise. Use EXq instead of EXx on + "movq". + +2007-07-27 Nathan Sidwell + + * ppc-opc (PPC7450): New. + (powerpc_opcodes): Use it in dcba. + +2007-07-24 H.J. Lu + + * i386-gen.c (main): Print a newline after copyright notice. + +2007-07-19 Nick Clifton + + PR binutils/4801 + * maxq-dis.c (get_reg_name): Fix the scan of the + mem_access_syntax_table. + +2007-07-16 H.J. Lu + + * i386-dis.c (EMq): Removed. + (EMx): New. + (prefix_user_table): Replace EMq with EMx. + +2007-07-16 Nick Clifton + + * po/nl.po: Updated translation. + +2007-07-12 Nick Clifton + + * po/vi.po: Updated translation. + * po/nl.po: Updated translation. + +2007-07-06 Mark Kettenis + H.J. Lu + + * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target. + (ia64-asmtab.c): Likewise. + * Makefile.in: Regenerate. + +2007-07-05 H.J. Lu + + * aclocal.m4: Regenerated. + +2007-07-04 Nick Clifton + + * alpha-dis.c: Update copyright notice to refer to GPLv3. + * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h, + arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c, + cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in, + cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c, + cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c, + d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c, + dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c, + h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c, + i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c, + ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, + ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c, + ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c, + m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c, + m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c, + mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c, + mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c, + or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c, + ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c, + score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h, + sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c, + spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c, + tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, + vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c, + z8k-dis.c, z8kgen.c: Likewise. + * i386-opc.tbl, i386-reg.tbl: Add copyright notice. + * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h, + fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c, + frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c, + frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c, + ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, + iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, + iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c, + m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c, + m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, + m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c, + mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c, + mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c, + mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c, + openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c, + openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h, + xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h, + xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, + xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, + xstormy16-opc.h, z8k-opc.h: Regenerated + +2007-07-04 M R Swami Reddy + + * cr16-dis.c (getcinvstring): Add const qualifier to char * + parameter. + (print_insn_cr16): Remove cast to char *. + +2007-07-03 Nathan Sidwell + + * m68k-dis.c (fetch_arg): Add E. Replace length switch with + direct masking. + (print_ins_arg): Add j & K operand types. + (match_insn_m68k): Check and skip initial '.' arg character. + (m68k_scan_mask): Likewise. + * m68k-opc.c (m68k_opcodes): Add coprocessor instructions. + +2007-07-02 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2007-06-30 H.J. Lu + + * aclocal.m4: Regenerated. + * Makefile.in: Likewise. + +2007-06-29 H.J. Lu + + * i386-reg.tbl: Remove spaces before comments. + +2007-06-29 M R Swami Reddy + + * cr16-opc.c: New file. + * cr16-dis.c: New file. + * Makefile.am: Entries for cr16. + * Makefile.in: Regenerate. + * cofigure.in: Add cr16 target information. + * configure : Regenerate. + * disassemble.c: Add cr16 target information. + +2007-06-28 H.J. Lu + + * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h. + (CFILES): Add i386-gen.c. + (i386-gen): New rule. + (i386-gen.o): Likewise. + (i386-tbl.h): Likewise. + Run "make dep-am". + * Makefile.in: Regenerated. + + * i386-gen.c: New file. + * i386-opc.tbl: Likewise. + * i386-reg.tbl: Likewise. + * i386-tbl.h: Likewise. + + * i386-opc.c: Include "i386-tbl.h". + (i386_optab): Removed. + (i386_regtab): Likewise. + (i386_regtab_size): Likewise. + +2007-06-26 Paul Brook + + * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1. + +2007-06-25 H.J. Lu + + * i386-opc.h (regKludge): Renamed to ... + (RegKludge): This. + + * i386-opc.c (i386_optab): Replace regKludge with RegKludge. + +2007-06-23 H.J. Lu + + PR binutils/4667 + * i386-dis.c (EX): Removed. + (EMd): New. + (EMq): Likewise. + (EXd): Likewise. + (EXq): Likewise. + (EXx): Likewise. + (PREGRP93...PREGRP97): Likewise. + (dis386_twobyte): Updated. + (prefix_user_table): Updated. Add PREGRP93...PREGRP97. + (OP_EX): Remove Intel syntax handling. + +2007-06-18 Nathan Sidwell + + * m68k-opc.c (m68k_opcodes): Add wdebugl variants. + +2007-06-14 H.J. Lu + + * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. + + * acinclude.m4: Removed. + + * Makefile.in: Regenerated. + * doc/Makefile.in: Likewise. + * aclocal.m4: Likewise. + * configure: Likewise. + +2007-06-05 Paul Brook + + * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses. + +2007-05-24 Steve Ellcey + + * Makefile.in: Regnerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + +2007-05-18 Alan Modra + + * ppc-dis.c (print_insn_powerpc): Don't skip all operands + after setting skip_optional. + +2007-05-16 Peter Bergner + + * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New. + (print_insn_powerpc): Use the new operand_value_powerpc and + skip_optional_operands functions to omit or print all optional + operands as a group. + * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New. + (XFL_MASK): Delete L and W bits from the mask. + (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK + with XWRA_MASK. Use W. + (mtfsf, mtfsf.): Use XFL_L and W. + +2007-05-14 H.J. Lu + + PR binutils/4502 + * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw". + +2007-05-10 H.J. Lu + + * i386-opc.h (ShortForm): Redefined. + (Jump): Likewise. + (JumpDword): Likewise. + (JumpByte): Likewise. + (JumpInterSegment): Likewise. + (FloatMF): Likewise. + (FloatR): Likewise. + (FloatD): Likewise. + (Size16): Likewise. + (Size32): Likewise. + (Size64): Likewise. + (IgnoreSize): Likewise. + (DefaultSize): Likewise. + (No_bSuf): Likewise. + (No_wSuf): Likewise. + (No_lSuf): Likewise. + (No_sSuf): Likewise. + (No_qSuf): Likewise. + (No_xSuf): Likewise. + (FWait): Likewise. + (IsString): Likewise. + (regKludge): Likewise. + (IsPrefix): Likewise. + (ImmExt): Likewise. + (NoRex64): Likewise. + (Rex64): Likewise. + (Ugh): Likewise. + +2007-05-07 H.J. Lu + + * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries + for some SSE4 instructions. + (threebyte_0x3a_uses_DATA_prefix): Likewise. + +2007-05-03 H.J. Lu + + * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode. + + * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand + type for crc32. + +2007-05-01 H.J. Lu + + * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and + check data size prefix in 16bit mode. + + * i386-opc.c (i386_optab): Default crc32 to non-8bit and + support Intel mode. + +2007-04-30 Mark Salter + + * frv-desc.c: Regenerate. + * frv-desc.h: Regenerate. + +2007-04-30 Alan Modra + + PR 4436 + * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE. + +2007-04-27 H.J. Lu + + * i386-dis.c (modrm): Put reg before rm. + +2007-04-26 H.J. Lu + + PR binutils/4430 + * i386-dis.c (print_displacement): New. + (OP_E): Call print_displacement instead of print_operand_value + to output displacement when either base or index exist. Print + the explicit zero displacement in 16bit mode. + +2007-04-26 H.J. Lu + + PR binutils/4429 + * i386-dis.c (print_insn): Also swap the order of op_riprel + when swapping op_index. Break when the RIP relative address + is printed. + (OP_E): Properly handle RIP relative addressing and print the + explicit zero displacement for Intel mode. + +2007-04-27 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * ns32k-dis.c: Include sysdep.h first. + +2007-04-24 Andreas Krebbel + + * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the + opcode. + * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions. + +2007-04-24 Nick Clifton + + * arm-dis.c (print_insn): Initialise type. + +2007-04-24 Alan Modra + + * cgen-types.h: Include bfd_stdint.h, not stdint.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-04-23 Nathan Sidwell + + * m68k-opc.c: Mark mcfisa_c instructions. + +2007-04-21 Richard Earnshaw + + * arm-dis.c (arm_opcodes): Disassemble to unified syntax. + (thumb_opcodes): Add missing white space in adr. + (arm_decode_shift): New parameter, print_shift. Only decode the + shift parameter if set. Adjust callers. + (print_insn_arm): Support for operand type q with no shift decode. + +2007-04-21 Alan Modra + + * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete. + Move contents to.. + (i386_regtab): ..here. + * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete. + + * ppc-opc.c (powerpc_operands): Delete duplicate entries. + (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete. + (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete. + (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L. + +2007-04-20 Nathan Sidwell + + * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as + rambar1. + +2007-04-20 Alan Modra + + * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand + change. + * ppc-opc.c (powerpc_operands): Replace bit count with bit mask + in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove + references to following deleted functions. + (insert_bd, extract_bd, insert_dq, extract_dq): Delete. + (insert_ds, extract_ds, insert_de, extract_de): Delete. + (insert_des, extract_des, insert_li, extract_li): Delete. + (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete. + (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete. + (num_powerpc_operands): New constant. + (XSPRG_MASK): Remove entire SPRG field. + (powerpc_opcodes ): Use XLBB_MASK not XLYBB_MASK. + +2007-04-20 Alan Modra + + * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift. + (Z2_MASK): Define. + (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand. + +2007-04-20 Richard Earnshaw + + * arm-dis.c (print_insn): Only look for a mapping symbol in the section + being disassembled. + +2007-04-19 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-04-19 Alan Modra + + * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc, + db10cyc, db12cyc, db16cyc. + +2007-04-19 Nathan Froyd + + * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe. + +2007-04-18 H.J. Lu + + * i386-dis.c (CRC32_Fixup): New. + (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90, + PREGRP91): New. + (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2. + (threebyte_0x3a_uses_DATA_prefix): Likewise. + (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87, + PREGRP88, PREGRP89, PREGRP90 and PREGRP91. + (three_byte_table): Likewise. + + * i386-opc.c (i386_optab): Add SSE4.2 opcodes. + + * i386-opc.h (CpuSSE4_2): New. + (CpuSSE4): Likewise. + (CpuUnknownFlags): Add CpuSSE4_2. + +2007-04-18 H.J. Lu + + * i386-dis.c (XMM_Fixup): New. + (Edqb): New. + (Edqd): New. + (XMM0): New. + (dqb_mode): New. + (dqd_mode): New. + (PREGRP39 ... PREGRP85): New. + (threebyte_0x38_uses_DATA_prefix): Updated for SSE4. + (threebyte_0x3a_uses_DATA_prefix): Likewise. + (prefix_user_table): Add PREGRP39 ... PREGRP85. + (three_byte_table): Likewise. + (putop): Handle 'K'. + (intel_operand_size): Handle dqb_mode, dqd_mode): + (OP_E): Likewise. + (OP_G): Likewise. + + * i386-opc.c (i386_optab): Add SSE4.1 opcodes. + + * i386-opc.h (CpuSSE4_1): New. + (CpuUnknownFlags): Add CpuSSE4_1. + (regKludge): Update comment. + +2007-04-18 Matthias Klose + + * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion. + * Makefile.in: Regenerate. + +2007-04-14 Steve Ellcey + + * Makefile.am: Add ACLOCAL_AMFLAGS. + * Makefile.in: Regenerate. + +2007-04-13 H.J. Lu + + * i386-dis.c: Remove trailing white spaces. + * i386-opc.c: Likewise. + * i386-opc.h: Likewise. + +2007-04-11 H.J. Lu + + PR binutils/4333 + * i386-dis.c (GRP1a): New. + (GRP1b ... GRPPADLCK2): Update index. + (dis386): Use GRP1a for entry 0x8f. + (mod, rm, reg): Removed. Replaced by ... + (modrm): This. + (grps): Add GRP1a. + +2007-04-09 Kazu Hirata + + * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and + info->print_address_func if longjmp is called. + +2007-03-29 DJ Delorie + + * m32c-desc.c: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-opc.c: Regenerate. + +2007-03-28 H.J. Lu + + * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and + movq. Remove InvMem from sldt, smsw and str. + + * i386-opc.h (InvMem): Renamed to ... + (RegMem): Update comments. + (AnyMem): Remove InvMem. + +2007-03-27 Paul Brook + + * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??). + +2007-03-24 Paul Brook + + * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x. + (print_insn_coprocessor): Handle %x. + +2007-03-24 Paul Brook + Mark Shinwell + + * arm-dis.c (arm_opcodes): Print SRS base register. + +2007-03-23 H.J. Lu + + * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB. + + * i386-opc.c (i386_optab): Add rex.wrxb. + +2007-03-21 H.J. Lu + + * i386-dis.c (REX_MODE64): Remove definition. + (REX_EXTX): Likewise. + (REX_EXTY): Likewise. + (REX_EXTZ): Likewise. + (USED_REX): Use REX_OPCODE instead of 0x40. + Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W, + REX_R, REX_X and REX_B respectively. + +2007-03-21 H.J. Lu + + PR binutils/4218 + * i386-dis.c (PREGRP38): New. + (dis386): Use PREGRP38 for 0x90. + (prefix_user_table): Add PREGRP38. + (print_insn): Set uses_REPZ_prefix to 1 for pause. + (NOP_Fixup1): Properly handle REX bits. + (NOP_Fixup2): Likewise. + + * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit. + Allow register with nop. + +2007-03-20 DJ Delorie + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.h: Regenerate. + * m32c-ibld.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2007-03-15 H.J. Lu + + * i386-opc.c: Include "libiberty.h". + (i386_regtab): Remove the last entry. + (i386_regtab_size): New. + (i386_float_regtab_size): Likewise. + + * i386-opc.h (i386_regtab_size): New. + (i386_float_regtab_size): Likewise. + +2007-03-15 H.J. Lu + + * Makefile.am (CFILES): Add i386-opc.c. + (ALL_MACHINES): Add i386-opc.lo. + Run "make dep-am". + * Makefile.in: Regenerated. + + * configure.in: Add i386-opc.lo for bfd_i386_arch. + * configure: Regenerated. + + * i386-dis.c: Include "opcode/i386.h". + (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition. + (FWAIT_OPCODE): Remove definition. + (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition. + (MAX_OPERANDS): Remove definition. + + * i386-opc.c: New file. + * i386-opc.h: Likewise. + +2007-03-15 H.J. Lu + + * Makefile.in: Regenerated. + +2007-03-09 H.J. Lu + + * i386-dis.c (OP_Rd): Renamed to ... + (OP_R): This. + (Rd): Updated. + (Rm): Likewise. + +2007-03-08 Alan Modra + + * fr30-asm.c: Regenerate. + * frv-asm.c: Regenerate. + * ip2k-asm.c: Regenerate. + * iq2000-asm.c: Regenerate. + * m32c-asm.c: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-dis.c: Regenerate. + * mt-asm.c: Regenerate. + * mt-ibld.c: Regenerate. + * mt-opc.c: Regenerate. + * openrisc-asm.c: Regenerate. + * xc16x-asm.c: Regenerate. + * xstormy16-asm.c: Regenerate. + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2007-03-06 Andreas Krebbel + + * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, + INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New + instruction formats added. + (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, + MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format + masks added. + * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point + instructions added. + * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. + (main): z9-ec cpu type option added. + * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. + +2007-02-22 DJ Delorie + + * s390-opc.c (INSTR_SS_L2RDRD): New. + (MASK_SS_L2RDRD): New. + * s390-opc.txt (pka): Use it. + +2007-02-20 Thiemo Seufer + Chao-Ying Fu + + * mips-dis.c (mips_arch_choices): Add DSP R2 support. + (print_insn_args): Add support for balign instruction. + * mips-opc.c (D33): New shortcut for DSP R2 instructions. + (mips_builtin_opcodes): Add DSP R2 instructions. + +2007-02-19 Andreas Krebbel + + * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed. + (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added. + * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr, + cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF. + +2007-02-19 Andreas Krebbel + + * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type. + * s390-opc.c (s390_operands): Add RO_28 as optional gpr. + (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc + and sfpc. + +2007-02-16 Nick Clifton + + PR binutils/4045 + * avr-dis.c (comment_start): New variable, contains the prefix to + use when printing addresses in comments. + (print_insn_avr): Set comment_start to an empty space if there is + no symbol table available as the generic address printing code + will prefix the numeric value of the address with 0x. + +2007-02-13 H.J. Lu + + * i386-dis.c: Updated to use an array of MAX_OPERANDS operands + in struct dis386. + +2007-02-05 Dave Brolley + Richard Sandiford + DJ Delorie + Graydon Hoare + Frank Ch. Eigler + Ben Elliston + + * Makefile.am (HFILES): Add mep-desc.h mep-opc.h. + (CFILES): Add mep-*.c + (ALL_MACHINES): Add mep-*.lo. + (CLEANFILES): Add stamp-mep. + (CGEN_CPUS): Add mep. + (MEP_DEPS): New variable. + (mep-*): New targets. + * configure.in: Handle bfd_mep_arch. + * disassemble.c (ARCH_mep): New macro. + (disassembler): Handle bfd_arch_mep. + (disassemble_init_for_target): Likewise. + * mep-*: New files for Toshiba Media Processor (MeP). + * Makefile.in: Regenerated. + * configure: Regenerated. + +2007-02-05 H.J. Lu + + * i386-dis.c (OP_J): Undo the last change. Properly handle 64K + wrap around within the same segment in 16bit mode. + +2007-02-02 H.J. Lu + + * i386-dis.c (OP_J): Mask to 16bit only if there is a data16 + prefix. + +2007-02-02 H.J. Lu + + * avr-dis.c (avr_operand): Correct PR number in comment. + +2007-02-02 H.J. Lu + + * disassemble.c (disassembler_usage): Call + print_i386_disassembler_options for i386 disassembler. + + * i386-dis.c (print_i386_disassembler_options): New. + (print_insn): Support the new addr64 option. + +2007-02-02 Hiroki Kaminaga + + * ppc-dis.c (powerpc_dialect): Handle ppc440. + * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can + be used. + +2007-02-02 Alan Modra + + * ppc-opc.c (insert_bdm): -Many comment. + (valid_bo): Add "extract" param. Accept both powerpc and power4 + BO fields when disassembling with -Many. + (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call. + +2007-01-08 Kazu Hirata + + * m68k-opc.c (m68k_opcodes): Replace cpu32 with + cpu32 | fido_a except on tbl instructions. + +2007-01-04 Paul Brook + + * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries. + +2007-01-04 Andreas Schwab + + * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns. + +2007-01-04 Julian Brown + + * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl, + vqrshl instructions. + +For older changes see ChangeLog-2006 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: