diff options
-rw-r--r-- | bfd/ChangeLog | 3556 | ||||
-rw-r--r-- | bfd/ChangeLog-2010 | 3562 | ||||
-rw-r--r-- | binutils/ChangeLog | 1071 | ||||
-rw-r--r-- | binutils/ChangeLog-2010 | 1077 | ||||
-rw-r--r-- | gprof/ChangeLog | 93 | ||||
-rw-r--r-- | gprof/ChangeLog-2010 | 99 | ||||
-rw-r--r-- | ld/ChangeLog | 1369 | ||||
-rw-r--r-- | ld/ChangeLog-2010 | 1375 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 1306 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2010 | 1312 | ||||
-rw-r--r-- | opcodes/ChangeLog | 1006 | ||||
-rw-r--r-- | opcodes/ChangeLog-2010 | 1012 |
12 files changed, 8443 insertions, 8395 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c486f58..db99369 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3558 +1,4 @@ -2010-12-31 Robert Millan <rmh@gnu.org> - - * config.bfd: Recognize mips-freebsd and mips-kfreebsd-gnu. - * configure.host: Likewise. - * configure.in: Support for `bfd_elf32_ntradbigmips_freebsd_vec', - `bfd_elf32_ntradlittlemips_freebsd_vec', - `bfd_elf32_tradbigmips_freebsd_vec', - `bfd_elf32_tradlittlemips_freebsd_vec', - `bfd_elf64_tradbigmips_freebsd_vec' and - `bfd_elf64_tradlittlemips_freebsd_vec'. - * configure: Regenerate. - * elf32-mips.c: New target for FreeBSD support - (same as traditional MIPS but overrides ELF_OSABI - with ELFOSABI_FREEBSD). - * elf64-mips.c: Likewise. - * elfn32-mips.c: Likewise. - * targets.c (_bfd_target_vector): Add - `bfd_elf32_ntradbigmips_freebsd_vec', - `bfd_elf32_ntradlittlemips_freebsd_vec', - `bfd_elf32_tradbigmips_freebsd_vec', - `bfd_elf32_tradlittlemips_freebsd_vec', - `bfd_elf64_tradbigmips_freebsd_vec' and - `bfd_elf64_tradlittlemips_freebsd_vec'. - -2010-12-30 H.J. Lu <hongjiu.lu@intel.com> - - * elfcode.h (NAME(elf,r_info)): New. - (NAME(elf,r_sym)): Likewise. - - * elflink.c (elf64_r_info): Removed. - (elf32_r_info): Likewise. - (elf64_r_sym): Likewise. - (elf32_r_sym): Likewise. - -2010-12-30 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_relocs_compatible): New. - (elf_backend_relocs_compatible): Defined to - elf_x86_64_relocs_compatible. - -2010-12-30 H.J. Lu <hongjiu.lu@intel.com> - - * archures.c (bfd_mach_x64_32): New. - (bfd_mach_x64_32_intel_syntax): Likewise. - * bfd-in2.h: Regenerated. - - * config.bfd (targ64_selvecs): Add bfd_elf32_x86_64_vec for - i[3-7]86-*-linux-*. - (targ_selvecs): Add bfd_elf32_x86_64_vec for x86_64-*-linux-*. - - * configure.in: Support bfd_elf32_x86_64_vec. - * configure: Regenerated. - - * cpu-i386.c (bfd_x64_32_arch_intel_syntax): New. - (bfd_x64_32_arch): Likewise. - - * elf-bfd.h (elf_append_rela): New prototype. - (elf_append_rel): Likewise. - (elf64_r_info): Likewise. - (elf32_r_info): Likewise. - (elf64_r_sym): Likewise. - (elf32_r_sym): Likewise. - - * elf64-x86-64.c (ABI_64_P): New. - (elf_x86_64_info_to_howto): Replace ELF64_R_TYPE with - ELF32_R_TYPE. Replace ELF64_ST_TYPE with ELF_ST_TYPE. - (elf_x86_64_check_tls_transition):Likewise. - (elf_x86_64_check_relocs): Likewise. - (elf_x86_64_gc_mark_hook):Likewise. - (elf_x86_64_gc_sweep_hook): Likewise. - (elf_x86_64_relocate_section): Likewise. - (elf_x86_64_reloc_type_class): Likewise. - (ELF_DYNAMIC_INTERPRETER): Renamed to ... - (ELF64_DYNAMIC_INTERPRETER): This. - (ELF32_DYNAMIC_INTERPRETER): New. - (elf_x86_64_link_hash_table): Add r_info, r_sym, swap_reloca_out, - dynamic_interpreter and dynamic_interpreter_size. - (elf_x86_64_get_local_sym_hash): Replace ELF64_R_SYM with - htab->r_sym. Replace ELF64_R_INFO with htab->r_info. - (elf_x86_64_get_local_sym_hash): Likewise. - (elf_x86_64_check_tls_transition):Likewise. - (elf_x86_64_check_relocs): Likewise. - (elf_x86_64_gc_mark_hook):Likewise. - (elf_x86_64_gc_sweep_hook): Likewise. - (elf_x86_64_relocate_section): Likewise. - (elf_x86_64_finish_dynamic_symbol): Likewise. - (elf_x86_64_finish_local_dynamic_symbol): Likewise. - (elf_x86_64_link_hash_table_create): Initialize r_info, r_sym, - swap_reloca_out, dynamic_interpreter and dynamic_interpreter_size. - (elf_x86_64_check_relocs): Check ABI_64_P when requesting for - PIC. - (elf_x86_64_relocate_section): Likewise. - (elf64_x86_64_adjust_dynamic_symbol): Replace sizeof - (Elf64_External_Rela) with bed->s->sizeof_rela. - (elf64_x86_64_allocate_dynrelocs): Likewise. - (elf64_x86_64_size_dynamic_sections): Likewise. - (elf64_x86_64_finish_dynamic_symbol): Likewise. - (elf64_x86_64_append_rela): Removed. - (elf32_x86_64_elf_object_p): New. - Add bfd_elf32_x86_64_vec. - - * elf64-x86-64.c (elf64_x86_64_xxx): Renamed to ... - (elf_x86_64_xxx): This. - - * elflink.c (bfd_elf_final_link): Check ELF file class on error. - (elf_append_rela): New. - (elf_append_rel): Likewise. - (elf64_r_info): Likewise. - (elf32_r_info): Likewise. - (elf64_r_sym): Likewise. - (elf32_r_sym): Likewise. - - * targets.c (bfd_elf32_x86_64_vec): New. - (_bfd_target_vector): Add bfd_elf32_x86_64_vec. - -2010-12-24 Alan Modra <amodra@gmail.com> - - * compress.c (decompress_contents): Style. - (bfd_get_full_section_contents): Do not decompress directly into - caller buffer or directly return cached section contents. - Check malloc return for compressed_buffer. - -2010-12-21 Kai Tietz <kai.tietz@onevision.com> - - * peXXigen.c (_bfd_XXi_final_link_postscript): Use - bfd_get_symbol_leading_char to determine "_tls_used" name. - -2010-12-21 Pierre Muller <muller@ics.u-strasbg.fr> - - * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size - for windows 64-bit TLS table size. - -2010-12-16 DJ Delorie <dj@redhat.com> - - * reloc.c (BFD_RELOC_RX_ABS16_REV): Add. - (BFD_RELOC_RX_ABS32_REV): Add. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-rx.c (rx_reloc_map): Add them. - -2010-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_new_section_hook): Special handling for - .init_array/.fini_array output sections. - -2010-12-13 Alan Modra <amodra@gmail.com> - - * aoutx.h (aout_link_check_ar_symbols): Formatting. - * cofflink.c (coff_link_check_ar_symbols): Likewise. - * elflink.c (elf_link_add_archive_symbols): Likewise. - * pdp11.c (aout_link_check_ar_symbols): Likewise. - * xcofflink.c (xcoff_link_check_dynamic_ar_symbols, - xcoff_link_check_dynamic_ar_symbols): Likewise. - - * aoutx.h (aout_link_check_archive_element): Simplify code dealing - with add_archive_element substitute BFD. - * cofflink.c (coff_link_check_archive_element): Likewise. - * ecoff.c (ecoff_link_check_archive_element): Likewise. - (ecoff_link_add_archive_symbols): Likewise. - * linker.c (generic_link_check_archive_element): Likewise. - * pdp11.c (aout_link_check_archive_element): Likewise. - * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise. - * xcofflink.c (xcoff_link_check_archive_element): Likewise. - - * aoutx.h (aout_link_check_archive_element): Free symbols from old - bfd if !keep_memory. - * cofflink.c (coff_link_check_archive_element): Likewise. - * pdp11.c (aout_link_check_archive_element): Likewise. - * xcofflink.c (xcoff_link_check_archive_element): Likewise. - -2010-12-13 Alan Modra <amodra@gmail.com> - - * plugin.c (bfd_plugin_mkobject): Delete. - (plugin_vec): Use bfd_false instead. - -2010-12-12 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_link_add_archive_symbols): Remove subsbfd. - -2010-12-12 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (special_sections_g): Add ".gnu.lto_". - -2010-12-10 Alan Modra <amodra@gmail.com> - - * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*. - Add aix5coff64_vec to powerpc ELF entries. - -2010-12-09 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR ld/12288 - * plugin.c (message): Add putchar for the trailing `\n'. - -2010-12-04 Mike Frysinger <vapier@gentoo.org> - - * Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing. - (PLUGINS/bfdinclude_HEADERS): Append plugin-api.h. - * Makefile.in: Regenerated. - -2010-12-04 Alan Modra <amodra@gmail.com> - - PR ld/12277 - * elflink.c (elf_link_output_extsym): Set bfd_error on symbol - and section errors. Allow better translation of error messages. - -2010-12-02 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt, - srelgot, splt, srelplt. - (create_got_section, elf32_arm_link_hash_table_create): Don't set them. - (elf32_arm_create_dynamic_sections): Likewise. Use htab->root - fields instead. - (arm_type_of_stub): Use the root fields instead of the removed ones. - (cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise. - (bfd_elf32_arm_process_before_allocation): Likewise. - (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. - (elf32_arm_size_dynamic_sections): Likewise. - (elf32_arm_output_arch_local_syms): Likewise. - (elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the - htab fields instead of looking them up by name. Consistently use - these local variables instead of htab fields. - (elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel. - Use srelbss instead of looking it up by name. - (elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt - instead of looking up the symbols by name. Use the root fields - instead of the removed ones. - -2010-12-02 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_relocs_copied): Delete. - (elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs. - (elf32_arm_link_hash_newfunc): Update accordingly. - (elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise. - (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. - (elf32_arm_readonly_dynrelocs): Likewise. - (elf32_arm_size_dynamic_sections): Likewise. - -2010-12-02 Paul Koning <ni1d@arrl.net> - - * pdp11.c (aout_link_add_symbols): Ignore debug symbols. - -2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> - - * config.bfd: Add sparc64-rtems. - -2010-11-25 Alan Modra <amodra@gmail.com> - - * po/es.po: Update. - * po/fi.po: Update. - * po/fr.po: Update. - * po/ja.po: Update. - * po/zh_CN.po: Update. - -2010-11-24 Joel Brobecker <brobecker@adacore.com> - - * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo. - (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c. - * Makefile.in: Regenerate. - -2010-11-24 Alan Modra <amodra@gmail.com> - - PR ld/12253 - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct - DW_EH_PE_datarel handling. Truncate .eh_frame_hdr address to - ptr_size. - -2010-11-23 Mingming Sun <mingm.sun@gmail.com> - - * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a - after bfd_mach_mips_sb1. - -2010-11-17 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_write_index): Add comments. - Partially revert previous patch. Free blocks later. - -2010-11-17 Nick Clifton <nickc@redhat.com> - - PR ld/12161 - * elf32-avr.c (elf32_avr_check_relocs): Delete. - (elf_backend_check_relocs): Delete. - -2010-11-16 Jie Zhang <jie.zhang@analog.com> - - * elf32-bfin.c (elf32_bfin_code_in_l1): New variable. - (elf32_bfin_data_in_l1): New variable. - (elf32_bfin_final_write_processing): New. - (elf_backend_final_write_processing): Define. - -2010-11-15 Mike Frysinger <vapier@gentoo.org> - - PR binutils/12177 - * elf32-bfin.c (_bfin_create_got_section): Drop unused flags code. - -2010-11-12 H.J. Lu <hongjiu.lu@intel.com> - - * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and - BFD_DECOMPRESS. - (bfd_openr_next_archived_file): Revert the last change. - -2010-11-11 Mingming Sun <mingm.sun@gmail.com> - - * archures.c (bfd_mach_mips_loongson_3a): Defined. - * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined. - * cpu-mips.c (I_loongson_3a): New add. - (arch_info_struct): Add loongson_3a. - * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a. - (mips_set_isa_flags): Add loongson_3a. - (mips_mach_extensions): Add loongson_3a in MIPS64 extensions. - -2010-11-10 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused - variables. - -2010-11-10 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - * po/ru.po: Updated Russian translation. - -2010-11-08 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2010-11-08 Alan Modra <amodra@gmail.com> - - * hash.c (bfd_hash_hash): Extract from.. - (bfd_hash_lookup): ..here. - (bfd_hash_rename): New function. - * section.c (bfd_rename_section): New function. - * bfd-in.h (bfd_hash_rename): Declare. - * bfd-in2.h: Regenerate. - * elf.c (_bfd_elf_make_section_from_shdr): Rename input sections - when compressing or decompressing. Don't assert name match. - * elf64-hppa.c (get_reloc_section): Don't assert name match. - * elfxx-ia64.c (get_reloc_section): Likewise. - -2010-11-05 Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New. - (elf32_tic6x_merge_attributes): Use - _bfd_elf_merge_unknown_attribute_low and - _bfd_elf_merge_unknown_attribute_list. - (elf_backend_obj_attrs_handle_unknown): Define. - -2010-11-05 Joseph Myers <joseph@codesourcery.com> - - * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low, - _bfd_elf_merge_unknown_attribute_list): Correct test for matching - string attributes. - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * po/bfd.pot: Regenerate - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * configure.in: Bump version to 2.21.51 - * configure: Regenerate. - -2010-11-04 Maciej W. Rozycki <macro@codesourcery.com> - - PR ld/10144 - * elfxx-mips.c (_bfd_mips_elf_check_relocs) - [R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from - SEC_DEBUGGING sections. - -2010-11-04 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_write_index): Fix thinko: reverse the loop. - Use bfd_zmalloc instead of bfd_malloc. Fix comment. - -2010-11-04 Kai Tietz <kai.tietz@onevision.com> - - * coffcode.h (GNU_LINKONCE_WT): New. - (sec_to_styp_flags): Add handling of new debug - section. - (styp_to_sec_flags): Likewise. - -2010-11-04 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (CFLAGS): Make badalias warnings informational. - * vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer. - -2010-11-04 Joseph Myers <joseph@codesourcery.com> - - * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low, - _bfd_elf_merge_unknown_attribute_list): New. - * elf-bfd.h (struct elf_backend_data): Add - obj_attrs_handle_unknown. - (_bfd_elf_merge_unknown_attribute_low, - _bfd_elf_merge_unknown_attribute_list): Declare. - * elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New. Split - out from elf32_arm_merge_eabi_attributes. - (elf32_arm_merge_eabi_attributes): Use - _bfd_elf_merge_unknown_attribute_low and - _bfd_elf_merge_unknown_attribute_list. - (elf_backend_obj_attrs_handle_unknown): Define. - * elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define. - (elfNN_bed): Update initializer. - -2010-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New. - * bfd-in2.h: Regenerated. - -2010-11-02 Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for - Tag_ABI_compatibility, treat odd tags as strings and even ones as - integers. - (elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment, - elf32_tic6x_array_alignment_to_tag): New. - (elf32_tic6x_merge_attributes): Handle more attributes. Set type - for merged attributes. - (elf_backend_obj_attrs_order): Define. - -2010-10-29 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo. - -2010-10-29 Pawel Sikora <pluto@pld-linux.org> - - PR binutils/12075 - * compress.c (bfd_compress_section_contents): Use uLong on - compressed_size. - -2010-10-29 Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check - Tag_ABI_compatibility not Tag_compatibility. - (elf32_tic6x_merge_attributes): Update compatibility attribute - name in comment. Return FALSE if merging common attributes fails. - -2010-10-29 Nick Clifton <nickc@redhat.com> - - PR bintils/6962 - * coffcode.h (handle_COMDAT): Only check the base type when - looking for a section symbol. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - Cary Coutant <ccoutant@google.com> - - * archive.c (bfd_openr_next_archived_file): Copy BFD_COMPRESS - and BFD_DECOMPRESS. - - * bfd.c (BFD_COMPRESS): New. - (BFD_DECOMPRESS): Likewise. - (BFD_FLAGS_SAVED): Likewise. - (bfd_preserve_save): Replace BFD_IN_MEMORY with BFD_FLAGS_SAVED. - - * compress.c (bfd_uncompress_section_contents): Removed. - (get_uncompressed_size): New. - (decompress_contents): Likewise. - (bfd_compress_section_contents): Likewise. - (bfd_get_full_section_contents): Likewise. - (bfd_is_section_compressed): Likewise. - (bfd_init_section_decompress_status): Likewise. - (bfd_init_section_compress_status): Likewise. - - * dwarf2.c (dwarf_debug_sections): New. - (dwarf_debug_section_enum): Likewise. - (read_section): Remove section_name and compressed_section_name. - Add dwarf_debug_section_enum. Try compressed debug section. - (read_indirect_string): Updated. - (read_abbrevs): Likewise. - (decode_line_info): Likewise. - (read_debug_ranges): Likewise. - (find_line): Updated. - - * ecoff.c (bfd_debug_section): Add compress_status and - compressed_size. - - * elf.c (_bfd_elf_make_section_from_shdr): Call - bfd_is_section_compressed to check if a DWARF debug section is - compressed. Call bfd_init_section_compress_status or - bfd_init_section_decompress_status if needed. - - * elflink.c (elf_link_input_bfd): Replace bfd_get_section_contents - with bfd_get_full_section_contents. - * merge.c (_bfd_add_merge_section): Likewise. - * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. - * simple.c (bfd_simple_get_relocated_section_contents): Likewise. - - * elfxx-target.h (TARGET_BIG_SYM): Allow BFD_COMPRESS and - BFD_DECOMPRESS. - (TARGET_LITTLE_SYM): Likewise. - - * libbfd-in.h (dwarf_debug_section): New. - (dwarf_debug_sections): Likewise. - - * libbfd.c (_bfd_generic_get_section_contents): Issue an error - when getting contents on compressed/decompressed section. - - * section.c (COMPRESS_SECTION_NONE): New. - (COMPRESS_SECTION_DONE): Likewise. - (DECOMPRESS_SECTION_SIZED): Likewise. - (BFD_FAKE_SECTION): Add compress_status and compressed_size. - (bfd_malloc_and_get_section): Replace bfd_get_section_contents - with bfd_get_full_section_contents. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - -2010-10-29 Bernd Schmidt <bernds@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch - of DSBT attributes. - -2010-10-25 Daniel Jacobowitz <dan@codesourcery.com> - - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call - _bfd_clear_contents. Pass it the input section. - * libbfd-in.h (_bfd_clear_contents): Add input_section argument. - * libbfd.h: Regenerate. - * reloc.c (_bfd_clear_contents): Take input_section argument. - Use non-zero for .debug_ranges. - (bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents - call. - - * elf32-arm.c (elf32_arm_relocate_section): Use - RELOC_AGAINST_DISCARDED_SECTION. - * 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 (bfin_relocate_section): Likewise. - (bfinfdpic_relocate_section): Likewise. - * elf32-cr16.c (elf32_cr16_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-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-lm32.c (lm32_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_relocate_section): 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-moxie.c (moxie_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-rx.c (rx_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. - * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf32-tic6x.c (elf32_tic6x_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-hppa.c (elf64_hppa_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. - * 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. - -2010-10-25 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-tic6x.c: Add attribution. - -2010-10-25 Alan Modra <amodra@gmail.com> - - * elf32-arm.c (find_stub_size_and_template): Avoid uninitialized - var warning at -O3. - -2010-10-25 Alan Modra <amodra@gmail.com> - - * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal. - * libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here. - * libbfd.h: Regenerate - * bfd-in2.h: Regenerate. - -2010-10-25 Alan Modra <amodra@gmail.com> - - * opncls.c (_bfd_id_counter): Rename to bfd_id_counter. - (bfd_reserved_id_counter, bfd_use_reserved_id): New vars. - (_bfd_new_bfd): Use negative id when bfd_use_reserved_id. - (bfd_create): Doc fix. - * bfd-in2.h: Regenerate. - -2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * elfxx-sparc.c (tpoff): Define bed, static_tls_size. - Consider static_tls_alignment. - - * elf32-sparc.c (TARGET_BIG_SYM): Redefine to - bfd_elf32_sparc_sol2_vec. - (TARGET_BIG_NAME): Redefine to elf32-sparc-sol2. - (elf32_bed): Redefine to elf32_sparc_sol2_bed. - (elf_backend_static_tls_alignment): Redefine to 8. - Include elf32-target.h. - (elf_backend_static_tls_alignment): Undef again for VxWorks. - - * elf64-sparc.c (TARGET_BIG_SYM): Redefine to - bfd_elf64_sparc_sol2_vec. - (TARGET_BIG_NAME): Redefine to elf64-sparc-sol2. - (ELF_OSABI): Undef. - (elf64_bed): Redefine to elf64_sparc_sol2_bed. - (elf_backend_static_tls_alignment): Redefine to 16. - Include elf64-target.h. - - * config.bfd (sparc-*-solaris2.[0-6]): Split from sparc-*-elf*. - Set targ_defvec to bfd_elf32_sparc_sol2_vec. - [BFD64] (sparc-*-solaris2*): Set targ_defvec to - bfd_elf32_sparc_sol2_vec. - Replace bfd_elf64_sparc_vec by bfd_elf64_sparc_sol2_vec in - targ_selvecs. - - * configure.in: Handle bfd_elf32_sparc_sol2_vec, - bfd_elf64_sparc_sol2_vec. - * configure: Regenerate. - - * targets.c (bfd_elf32_sparc_sol2_vec): Declare. - (bfd_elf64_sparc_sol2_vec): Declare. - (_bfd_target_vector): Add bfd_elf32_sparc_sol2_vec, - bfd_elf64_sparc_sol2_vec. - -2010-10-21 Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for - attribute renaming. - (elf_backend_obj_attrs_section): Change to ".c6xabi.attributes". - -2010-10-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * elf-bfd.h (struct elf_backend_data): New member - static_tls_alignment. - * elfxx-target.h (elf_backend_static_tls_alignment): Provide - default. - (elfNN_bed): Initialize static_tls_alignment. - * elflink.c (bfd_elf_final_link): Don't round end of TLS section - if static TLS has special alignment requirements. - * elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size. - Consider static_tls_alignment. - (elf_backend_static_tls_alignment): Redefine for Solaris 2. - Undef again for VxWorks. - * elf64-x86-64.c (elf64_x86_64_tpoff): Define bed, - static_tls_size. - Consider static_tls_alignment. - (elf_backend_static_tls_alignment): Redefine for Solaris 2. - Undef again for Intel L1OM. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 6/6). - * aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference - parameter and pass it when invoking add_archive_element callback. - (aout_link_check_archive_element): Handle substitute bfd if it - was set during add_archive_element callback in the above. - * cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference - parameter and pass it when invoking add_archive_element callback. - (coff_link_check_archive_element): Handle substitute bfd if it - was set during add_archive_element callback in the above. - * ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading - code factored-out from ecoff_link_check_archive_element. - (reread_ext_syms_and_strs): Clear old symbols and call it. - (ecoff_link_check_archive_element): Use the above. Handle substitute - BFD if one is set by add_archive_element callback. - (ecoff_link_add_archive_symbols): Likewise allow bfd substitution. - * elflink.c (elf_link_add_archive_symbols): Likewise. - * linker.c (generic_link_check_archive_element): Likewise. - * pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference - parameter and pass it when invoking add_archive_element callback. - (aout_link_check_archive_element): Handle substitute bfd if it was - set during add_archive_element callback in the above. - * vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute - BFD if one is set by add_archive_element callback. - * xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd" - reference parameter and pass it when invoking add_archive_element - callback. - (xcoff_link_check_ar_symbols): Likewise. - (xcoff_link_check_archive_element): Handle bfd substitution if it was - set by callback in the above. - -2010-10-11 Alan Modra <amodra@gmail.com> - - * elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms. - (elf32_frvfdpic_finish_dynamic_sections): Don't crash on - __ROFIXUP_END__ defined in shared lib. - -2010-10-11 Thomas Schwinge <thomas@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate) - (elf32_arm_relocate_section): Handle relocations against STN_UNDEF. - -2010-10-11 Dave Korn <dave.korn.cygwin@gmail.com> - - * elflink.c (_bfd_elf_link_output_relocs): Delete unused variable - "output_rel_hdr". - -2010-10-09 John Tytgat <john@bass-software.com> - - * reloc.c (BFD_RELOC_ARM_HVC): Add. - * libbfd.h: Regenerate. - -2010-10-08 Kai Tietz <kai.tietz@onevision.com> - - * pei-x86_64.c (find_next_xdata_or_end): Removed. - (pex64_dump_xdata): Remove arguments stop, onaline, - and pdata. New argument endx. Print term "none" - instead of misleading "CFA". - (sort_xdata_arr): New function. - (pex64_bfd_print_pdata): Use binary search/sort for unwind-RVAs - instead of searching quadratic. - -2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> - Alan Modra <amodra@gmail.com> - - Fix build with -DDEBUG=7 - * elf.c (_bfd_elf_symbol_from_bfd_symbol): Remove call - to deleted function elf_symbol_flags. Add typecast to avoid warning. - * elf32-rx.c (dump_symbol) : Rename to.. - (rx_dump_symbol): ..this to avoid link errors. - * elflink.c (elf_link_input_bfd): Add typecast to avoid warnings. - (bfd_elf_perform_complex_relocation): Likewise. - * elf32-xtensa.c (print_action_list): Likewise. - -2010-10-06 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic, - elf32_arm_stub_long_branch_any_arm_pic): Use a consistent name for - ip/r12. - (arm_type_of_stub): Remove superfluous braces. - -2010-10-04 Bernd Schmidt <bernds@codesourcery.com> - - * elf-bfd.h (struct bfd_elf_section_reloc_data): New structure. - (struct bfd_elf_section_data): New members REL and RELA; delete - members REL_HDR, REL_HDR2, REL_COUNT, REL_COUNT2, REL_IDX, - REL_IDX2, REL_HASHES. - (_bfd_elf_init_reloc_shdr): Adjust declaration. - (_bfd_elf_single_rel_hdr): Declare. - (RELOC_AGAINST_DISCARDED_SECTION): Use it. - * elf.c (bfd_section_from_shdr): Adjusted to match changes in - data structures. - (_bfd_elf_init_reloc_shdr): New arg RELDATA. Remove arg REL_HDR. - All callers changed. Allocate memory for the Elf_Internal_Shdr - structure. - (_bfd_elf_single_rel_hdr): New function. - (struct fake_section_arg): New structure. - (elf_fake_section): Expect to see a pointer to it in the third - argument. If doing a relocatable link, allocate both REL and RELA - sections as needed. - (assign_section_numbers): Adjusted to match changes in - data structures. - (_bfd_elf_compute_section_file_positions): Call elf_fake_sections - with a struct fake_section_args argument. - * elfcode.h (elf_write_relocs): Adjusted to match changes in - data structures. - (elf_slurp_reloc_table): Likewise. - * elflink.c (_bfd_elf_link_read_relocs): Likewise. - (_bfd_elf_link_size_reloc_section): Remove arg REL_HDR, replace with - RELDATA. Remove argument O. All callers changed. Remove code to - discover the right rel_hdr and count. - (_bfd_elf_link_output_relocs): Adjusted to match changes in - data structures. - (elf_link_adjust_relocs): Remove args REL_HDR, COUNT and REL_HASH; - replace with RELDATA. All callers changed. - (elf_link_input_bfd): Correctly generate rel_hash data when both - REL and RELA sections are present. - (elf_reloc_link_order): Adjusted to match changes in - data structures. - (bfd_elf_final_link): Simplify code to count relocs. Free the - hashes array for both REL and RELA. - (get_dynamic_reloc_section_name): Use _bfd_elf_single_reloc_hdr - * elf32-m32r.c (m32r_elf_fake_sections, elf_backend_fake_sections): - Delete. - * elf32-tic6x.c (elf32_tic6x_fake_sections, elf_backend_fake_sections): - Delete. - (elf32_tic6x_rel_relocation_p): Adjusted to match changes in - data structures. - * elf32-microblaze.c (microblaze_elf_check_relocs): Use - _bfd_elf_single_rel_hdr. - * elf32-ppc.c (ppc_elf_relax_section): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-hppa.c (get_reloc_section): Likewise. - * elf64-mips.c (mips_elf64_slurp_reloc_table): Adjusted to match - changes in data structures. - (mips_elf64_write_relocs): Use _bfd_elf_single_rel_hdr. - * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. - (ppc64_elf_edit_toc): Likewise. - (get_relocs): Adjusted to match changes in data structures. - Allocate an Elf_Internal_Shdr structure if necessary. - (ppc64_elf_finish_dynamic_sections): Use _bfd_elf_single_rel_hdr. - * elf64-sparc.c (elf64_sparc_slurp_reloc_table): Adjusted to match - changes in data structures. - * elfxx-ia64.c (get_reloc_section): Use _bfd_elf_single_rel_hdr. - * elfxx-mips.c (MIPS_RELOC_RELA_P): Remove macro. - (mips_elf_rel_relocation_p): Adjusted to match changes in data - structures. - (_bfd_mips_elf_relocate_section): Use mips_elf_rel_relocation_p rather - than MIPS_RELOC_RELOCA_P. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use - _bfd_elf_single_rel_hdr. - (_bfd_sparc_elf_relocate_section): Likewise. - -2010-10-01 Thomas Schwinge <thomas@codesourcery.com> - - * elf32-arm.c (elf32_arm_size_stubs): Don't choke on local symbols in - SHN_UNDEF, SHN_ABS, SHN_COMMON. - -2010-09-30 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11812 - * elf32-i386.c (elf_i386_size_dynamic_sections): Don't - allocate .got.plt section if there are no GOT nor PLT - entries and there is no refeence to _GLOBAL_OFFSET_TABLE_. - * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Li.kewise. - - * elflink.c (_bfd_elf_define_linkage_sym): Clear non_elf. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-09-24 Thomas Schwinge <thomas@codesourcery.com> - - * elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c, - elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c, - elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c, - elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h, - elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to - the zero symbol index. - - * elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index - to STN_UNDEF, not SHN_UNDEF. - -2010-09-23 Bernd Schmidt <bernds@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_fake_sections): New function. - (elf_backend_fake_sections): Define. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value. - -2010-09-23 Alan Modra <amodra@gmail.com> - - * cpu-d10v.c: Make bits_per_address 18 for all arch_info entries. - -2010-09-23 Alan Modra <amodra@gmail.com> - - * elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC - difference between input and output section. - -2010-09-22 Kai Tietz <kai.tietz@onevision.com> - - * coffcode.h (sec_to_styp_flags): Adjust debug - sections to be conform to pe-coff specification - and avoid marking them as excluded. - (styp_to_sec_flags): Doing reverse mapping. - - * peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for - setting IAT directory entry. - -2010-09-20 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_howto_table): Use bfd_elf_generic_reloc. - -2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls. - (mips_elf_link_hash_newfunc): Initialize it. - (mips_elf_record_global_got_symbol): Add a for_call parameter. - (mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather - than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls. - Try to remove .got entries in favour of .got.plt entries on VxWorks. - (_bfd_mips_elf_check_relocs): Do not try to avoid allocating - a global GOT entry for VxWorks calls. Update uses of - mips_elf_record_global_got_symbol. - (allocate_dynrelocs): Set got_only_for_calls to false if the GOT - entry is used for dynamic relocations. - -2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (mips_got_entry): Adjust commentary. - (mips_elf_create_local_got_entry): If given a symbol, check that it - has been assigned to the local part of the GOT. - (mips_elf_count_got_symbols): Take the bfd_link_info as argument - instead of the master GOT. Put all locally-binding symbols in - the local area. - (mips_elf_make_got_per_bfd): Use global_got_area to decide whether - a symbol lives in the local or global area. - (mips_elf_local_relocation_p): Remove check_forced argument and - retain only the !check_forced behavior. - (mips_elf_calculate_relocation): Adjust call accordingly. - Use global_got_area to decide whether an output relocation - should be local or global. Explicitly decay R_MIPS_GOT_PAGE - into R_MIPS_GOT_DISP where appropriate. Fix selection of - local vs. global semantics for R_MIPS*_26. Remove redundant - reevaluation of what is stored in was_local_p. - (mips_elf_create_dynamic_relocation): Use global_got_area to decide - whether the relocation should be against a global or local symbol. - (mips_elf_lay_out_got): Update the GOT traversal after the above - change to mips_elf_count_got_symbols. - (mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p. - (_bfd_mips_elf_relocate_section): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide - whether the symbol has a global got entry. - (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. - -2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (allocate_dynrelocs): Don't add relocation symbols - to the global GOT on VxWorks. - -2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks, - exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning - about HI/LO relocations in shared objects. - -2010-09-16 Alan Modra <amodra@gmail.com> - - * elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc - sections. - (spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and - set dynobj. - (spu_elf_finish_dynamic_sections): New function. - (elf_backend_finish_dynamic_sections): Define. - -2010-09-16 Alan Modra <amodra@gmail.com> - - * elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD. - * elflink.c (elf_link_input_bfd): Likewise. - -2010-09-15 Kai Tietz <kai.tietz@onevision.com> - - * pei-x86_64.c (pex64_get_unwind_info): Reorgnized. - (pex64_get_scope_entry): Removed. - (find_next_xdata_or_end): New helper. - (pex64_dump_xdata): Reworked. - (pex64_bfd_print_pdata): Add checking for - valid pdata sorting and values. Reworked - output. - -2010-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12004 - * plugin.c (bfd_plugin_object_p): Handle NULL iostream. - -2010-09-14 Kai Tietz <kai.tietz@onevision.com> - - * pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make - .rdata, .data, and .text partial matched section names. - * pei-x86_64.c: Likewise. - - * peXXigen.c (sort_x64_pdata): New helper. - (_bfd_XXi_final_link_postscript): Do pdata sorting. - -2010-09-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11998 - * elf.c (assign_file_positions_for_load_sections): Don't warn - zero LMA adjustment. - -2010-09-09 Bernd Schmidt <bernds@codesourcery.com> - - * elflink.c (bfd_elf_final_link): Correct calculation of - max_external_reloc_size. - -2010-09-07 Alan Modra <amodra@gmail.com> - Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> - - * peXXigen.c: Whitespace. - (pe_print_idata): Correct section limit calculations. Tidy array - indexing. - (_bfd_XX_print_ce_compressed_pdata): Don't leak memory. - -2010-09-02 Richard Henderson <rth@redhat.com> - - * config.bfd (x86_64-*-mingw*): Select 32-bit pei vectors too. - -2010-09-01 Pedro Alves <pedro@codesourcery.com> - - * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ... - (netbsd_core_file_pid): ... this. - -2010-09-01 Tristan Gingold <gingold@adacore.com> - - * coffcode.h (coff_slurp_line_table): Add a cast. - (coff_slurp_reloc_table): Ditto. - -2010-08-30 Gunther Nikl <gnikl@users.sourceforge.net> - - * cisco-core.c (cisco_core_file_pid): Define. - -2010-08-30 Alan Modra <amodra@gmail.com> - - PR binutils/11953 - * elf.c (copy_elf_program_header): Calculate map->header_size - from lowest_section, not first_section. Validate program - header p_paddr against section lma. Find lowest_section in - second loop over headers. - -2010-08-28 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_dynamic_symbol_p): Rename param. Make - common syms local. - (_bfd_elf_symbol_refs_local_p): Expand comment. - (elf_link_output_extsym): Fix style nit. - -2010-08-26 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link): Process stub sections - exactly once. - -2010-08-25 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11939 - * elflink.c (elf_link_add_object_symbols): Don't set - unique_global for non-ELF hash link table. - -2010-08-25 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11944 - * elf-bfd.h (elf_backend_data): Add target_id. - (bfd_elf_make_generic_object): Renamed to ... - (bfd_elf_make_object): This. - - * elf.c (bfd_elf_make_generic_object): Removed. - (bfd_elf_make_object): New. - (bfd_elf_mkcorefile): Really treat it as an object file. - - * elf-m10300.c (ELF_TARGET_ID): New. - * elf32-arm.c (ELF_TARGET_ID): Likewise. - * elf32-bfin.c (ELF_TARGET_ID): Likewise. - * elf32-cris.c (ELF_TARGET_ID): Likewise. - * elf32-frv.c (ELF_TARGET_ID): Likewise. - * elf32-i386.c (ELF_TARGET_ID): Likewise. - * elf32-lm32.c (ELF_TARGET_ID): Likewise. - * elf32-m32r.c (ELF_TARGET_ID): Likewise. - * elf32-m68hc11.c (ELF_TARGET_ID): Likewise. - * elf32-m68hc12.c (ELF_TARGET_ID): Likewise. - * elf32-m68k.c (ELF_TARGET_ID): Likewise. - * elf32-microblaze.c (ELF_TARGET_ID): Likewise. - * elf32-ppc.c (ELF_TARGET_ID): Likewise. - * elf32-s390.c (ELF_TARGET_ID): Likewise. - * elf32-sh.c (ELF_TARGET_ID): Likewise. - * elf32-sparc.c (ELF_TARGET_ID): Likewise. - * elf32-spu.c (ELF_TARGET_ID): Likewise. - * elf32-tic6x.c (ELF_TARGET_ID): Likewise. - * elf32-xtensa.c (ELF_TARGET_ID): Likewise. - * elf64-alpha.c (ELF_TARGET_ID): Likewise. - * elf64-hppa.c (ELF_TARGET_ID): Likewise. - * elf64-ppc.c (ELF_TARGET_ID): Likewise. - * elf64-s390.c (ELF_TARGET_ID): Likewise. - * elf64-x86-64.c (ELF_TARGET_ID): Likewise. - * elfxx-ia64.c (ELF_TARGET_ID): Likewise. - - * elf32-hppa.c (elf32_hppa_mkobject): Removed. - (bfd_elf32_mkobject): Likewise. - (ELF_TARGET_ID): New. - - * elf32-mips.c (ELF_TARGET_ID): New. - (bfd_elf32_mkobject): Removed. - - * elf64-mips.c (ELF_TARGET_ID): New. - (bfd_elf64_mkobject): Removed. - - * elfn32-mips.c (ELF_TARGET_ID): New. - (bfd_elf32_mkobject): Removed. - - * elfxx-mips.c (_bfd_mips_elf_mkobject): Removed. - * elfxx-mips.h (_bfd_mips_elf_mkobject): Likewise. - - * elfxx-target.h (bfd_elfNN_mkobject): Default to - bfd_elf_make_object. - (ELF_TARGET_ID): New. Default to GENERIC_ELF_DATA. - (elfNN_bed): Initialize target_id. - -2010-08-25 Julian Brown <julian@codesourcery.com> - - * elf32-arm.c (arm_stub_required_alignment): New. - (arm_build_one_stub): Use above to partition stubs. - (make_branch_to_a8_stub): Use arm_stub_a8_veneer_lwm not - arm_stub_a8_veneer_b_cond. - -2010-08-25 Alan Modra <amodra@gmail.com> - - * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. - * aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise. - * aoutx.h (NAME(aout,reloc_type_lookup)): Likewise. - * coff-arm.c (coff_arm_reloc_type_lookup): Likewise. - * elf-hppa.h (elf_hppa_reloc_final_type): Likewise. - * reloc.c (bfd_default_reloc_type_lookup): Likewise. - * riscix.c (riscix_reloc_type_lookup): Likewise. - -2010-08-25 Alan Modra <amodra@gmail.com> - - * elf.c (_bfd_elf_map_sections_to_segments): Don't load program - headers if any loaded section wraps the address space. Simplify - ~(m-1) to -m. Use lma rather than vma when determining whether - note sections are adjacent. - -2010-08-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11933 - * elflink.c (elf_link_add_object_symbols): Don't check relocation - if input ELF object ID doesn't match output. - -2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-08-20 H.J. Lu <hongjiu.lu@intel.com> - - * merge.c (sec_merge_emit): Revert the last checkin. - -2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> - - * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output - BFD. - -2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> - - * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT - options unless an m68k hash table has been found. - -2010-08-20 Nick Clifton <nickc@redhat.com> - - * merge.c (sec_merge_emit): Do not zero pad sections that do not - have an alignment. - -2010-08-18 Pedro Alves <pedro@codesourcery.com> - - PR corefile/8210 - - * bfd-in2.h: Regenerate. - * corefile.c (bfd_core_file_pid): New. - - * targets.c (BFD_JUMP_TABLE_CORE): Add NAME##_core_file_pid. - (struct bfd_target) <_core_file_pid>: New. - - * libbfd-in.h (_bfd_nocore_core_file_pid): Declare. - * libbfd.c (_bfd_nocore_core_file_pid): New. - - * elf-bfd.h (bfd_elf32_core_file_pid, bfd_elf64_core_file_pid): - Declare. - * elfcode.h (elf_core_file_pid): New define. - * elfcore.h (elf_core_file_pid): New function. - - * elf.c (elfcore_make_pid): Rewrite. - (elfcore_grok_prstatus): Only set core_pid if not set yet. - (elfcore_grok_prstatus) [!HAVE_PRSTATUS_T_PR_WHO]: Fallback to - getting the lwpid from prstat.pr_pid. - - * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - (elf64_x86_64_grok_psinfo): Extract the the main process's PID, - and store it in elf_tdata's core_pid field. - * elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - (elf_i386_grok_psinfo): Extract the the main process's PID, and - store it in elf_tdata's core_pid field. - - * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID - to elf_tdata's core_lwpid instead of to core_pid. - * elf32-arm.c (elf32_arm_nabi_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-cris.c (cris_elf_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-frv.c (elf32_frv_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-hppa.c (elf32_hppa_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-ppc.c (ppc_elf_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-s390.c (elf_s390_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-score.c (s3_bfd_score_elf_grok_prstatus): Write the LWPID - to elf_tdata's core_lwpid instead of to core_pid. - * elf32-score7.c (s7_bfd_score_elf_grok_prstatus): Write the LWPID - to elf_tdata's core_lwpid instead of to core_pid. - * elf32-sh.c (elf32_shlin_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf32-xtensa.c (elf_xtensa_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf64-hppa.c (elf64_hppa_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf64-mips.c (elf64_mips_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elf64-ppc.c (ppc64_elf_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - * elfn32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to - elf_tdata's core_lwpid instead of to core_pid. - - * plugin.c (bfd_plugin_core_file_pid): New function. - * aout-target.h (MY_core_file_pid): Define. - * aout-tic30.c (MY_core_file_pid, MY_core_file_p): New defines. - * coff-rs6000.c (coff_core_file_pid): New define. - (rs6000coff_vec, pmac_xcoff_vec): Use BFD_JUMP_TABLE_CORE. - * coff64-rs6000.c (coff_core_file_pid): New define. - (rs6000coff64_vec): Use BFD_JUMP_TABLE_CORE. - (xcoff64_core_file_pid): New define. - (aix5coff64_vec): Use BFD_JUMP_TABLE_CORE. - * mach-o-target.c (bfd_mach_o_core_file_pid): New define. - * aix386-core.c (aix386_core_file_pid): New define. - * hppabsd-core.c (hppabsd_core_core_file_pid): New define. - * hpux-core.c (hpux_core_core_file_pid): New define. - * irix-core.c (irix_core_core_file_pid): New define. - * lynx-core.c (lynx_core_file_pid): New define. - * osf-core.c (osf_core_core_file_pid): New define. - * ptrace-core.c (ptrace_unix_core_file_pid): New define. - * sco5-core.c (sco5_core_file_pid): New define. - * xcoff-target.h (coff_core_file_pid): New define. - * netbsd-core.c (netbsd_core_core_file_pid): New define. - -2010-08-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11913 - * elf32-i386.c (elf_i386_finish_dynamic_sections): Check if - .got.plt section is discarded. - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise. - -2010-08-13 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B - variant. - -2010-08-12 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11909 - * Makefile.am (coff-tic4x.lo): New. Disable -Werror. - (coff-tic54x.lo): Likewise. - * Makefile.in: Regenerated. - -2010-08-12 Todd Veldhuizen <todd.veldhuizen@logicblox.com> - - PR ld/11843 - * elflink.c (compute_bucket_count): Avoid futile long searches for - the best bucket size. - -2010-08-09 Richard Henderson <rth@redhat.com> - - PR ld/11891 - * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Disallow relaxing - to tlshi/lo until pos0 and pos1 are adjacent. Use the destination - register from the tldgd insn. - -2010-08-09 Catherine Moore <clm@codesourcery.com> - - * elfxx-mips.c (mips_elf_perform_relocation): Improve - interlinking error message. - -2010-08-06 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ha_reloc_match): Allow matches to other than r2. - (ppc64_elf_relocate_section): Nop out high part insn of large toc - code sequence when the high part of offset is zero. - -2010-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_build_fixups): Write the EICP. - (alpha_vms_bfd_final_link): Explicitly forbid relocatable links. - Clear the SEC_RELOC flag. - -2010-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_create_eisd_for_section): Make writable - sections with relocs. - (alpha_vms_add_fixup_lp): Set SEC_RELOC flag. - (alpha_vms_add_fixup_ca): Ditto. - (alpha_vms_add_fixup_qr): Ditto. - Add comments. - -2010-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make - CODE sections writable. - -2010-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_add_lw_fixup): Renamed to ... - (alpha_vms_add_fixup_lr): ... this for consistency. - (alpha_vms_add_qw_fixup): Removed. - Fix some comments. - (vms_get_symbol_info): Adjust type for unknown sections. - -2010-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_egsd): Use the canonical absolute - section for any absolute section. Remove some debugging code. - -2010-08-03 DJ Delorie <dj@redhat.com> - - * elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * vms-misc.c (vms_convert_to_var): Make it static. - (_bfd_vms_convert_to_var_unix_filename): Make it public. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (OBJS): Update list. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS - nor SEC_RELOC for empty sections. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (evax_section_flags): Fix flags for absolute - section. Remove useless parenthesis. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_lib_bread_raw): Change type of BUF argument. - (vms_lib_bread, vms_lib_bopen): Adjust. - -2010-08-02 Alan Modra <amodra@gmail.com> - - PR 11866 - * elf.c (assign_file_positions_for_load_sections): Use p_vaddr to - calculate off_adjust rather than first section vma. - -2010-07-30 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info. - -2010-07-30 Anthony Green <green@moxielogic.com> - - * config.bfd (targ_cpu): Add moxie-*-rtems support. - -2010-07-29 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Always adjust local syms in - .toc section, even when none are used in relocs. - -2010-07-27 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.h: Include "elf/mips.h". - (gprel16_reloc_p): New static inline function. - * elfxx-mips.c (_bfd_mips_elf_check_relocs) - [R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]: - Use got16_reloc_p. - (_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use - gprel16_reloc_p. - * elf32-mips.c (mips_info_to_howto_rel): Likewise. - * elfn32-mips.c (mips_info_to_howto_rel): Likewise. - -2010-07-27 Maciej W. Rozycki <macro@codesourcery.com> - - * elf64-mips.c (mips_elf64_howto_table_rela) - [R_MIPS_TLS_DTPMOD64]: Clear partial_inplace. - [R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. - [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. - [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise. - [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. - * elfn32-mips.c (elf_mips_howto_table_rela) - [R_MIPS_TLS_DTPMOD32]: Likewise. - [R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. - [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. - [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise. - [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. - -2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> - Ina Pandit <ina.pandit@kpitcummins.com> - - * archures.c (DESCRIPTION): Define bfd_mach_v850e2 and - bfd_mach_v850e2v3. - * reloc.c (bfd_architecture): Define bfd_mach_v850e2 and - bfd_mach_v850e2v3. - (BFD_RELOC_V850_16_PCREL, BFD_RELOC_V850_17_PCREL, - BFD_RELOC_V850_22_PCREL, BFD_RELOC_V850_23, - BFD_RELOC_V850_32_PCREL, BFD_RELOC_V850_32_ABS, - BFD_RELOC_V850_16_SPLIT_OFFSET, BFD_RELOC_V850_16_S1, - BFD_RELOC_V850_LO16_SPLIT_OFFSET, BFD_RELOC_V850_SDA_15_16_OFFSET, - BFD_RELOC_V850_ZDA_16_16_OFFSET, BFD_RELOC_V850_CALLT_15_16_OFFSET, - BFD_RELOC_V850_32_GOTPCREL, BFD_RELOC_V850_16_GOT, - BFD_RELOC_V850_32_GOT, BFD_RELOC_V850_22_PLT_PCREL, - BFD_RELOC_V850_32_PLT_PCREL, BFD_RELOC_V850_COPY, - BFD_RELOC_V850_GLOB_DAT, BFD_RELOC_V850_JMP_SLOT, - BFD_RELOC_V850_RELATIVE, BFD_RELOC_V850_16_GOTOFF, - BFD_RELOC_V850_32_GOTOFF, BFD_RELOC_V850_CODE, - BFD_RELOC_V850_DATA): New relocations for V850 target. - * config.bfd: Match all v850 targets. - * cpu-v850.c (arch_info_struct): Define V850e2 and V850e2v3. - * elf32-v850.c (v850_elf_check_relocs): Check the newly added - relocations. - (v850_elf_perform_relocation ): Update the newly added - relocations. - (v850_elf_howto_t): Update the specifications of added - relocations. - (v850_elf_reloc_map): Update the relocation mappings. - (v850_elf_final_link_relocate): Maps added relocation into the - appropriate howto structure. - (v850_elf_object_p): Add support for V850E2 and V850E2V3. - (v850_elf_final_write_processing): Likewise. - (v850_elf_merge_private_bfd_data): Likewise. - (v850_elf_print_private_bfd_data): Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2010-07-23 Alan Modra <amodra@gmail.com> - - * archive.c (_bfd_archive_bsd44_construct_extended_name_table): - Correct format specifier. - -2010-07-22 Alan Modra <amodra@gmail.com> - - * ecoff.c: Don't include aout/ranlib.h. - (_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs. - (_bfd_ecoff_write_armap): Output ar_date and ar_size using - _bfd_ar_spacepad. - -2010-07-22 Alan Modra <amodra@gmail.com> - - * aoutx.h (some_aout_object_p): Don't set EXEC_P for files with - relocs. - -2010-07-20 Alan Modra <amodra@gmail.com> - - * elf.c (assign_file_positions_for_load_sections): Check that - zero size sections are allocated in segments too. - (assign_file_positions_for_non_load_sections): Warn if zero - size alloc sections are found here. - (copy_elf_program_header): Don't drop zero size sections from - segment map. - (copy_private_bfd_data): Check for changes in zero size sections. - -2010-07-17 Alan Modra <amodra@gmail.com> - - * elf.c (_bfd_elf_map_sections_to_segments): Force new segment - for sections with overlapping LMAs. - (assign_file_positions_for_load_sections): Catch overlap for - sections that wrap around the address space. Replace a - warning that duplicates ld's --check-sections error with a - warning that lma has been adjusted for overlapping sections. - -2010-07-14 Cary Coutant <ccoutant@google.com> - - PR ld/11817 - * dwarf2.c (read_section): Revert patch for compressed debug sections. - (find_line): Likewise. - (read_and_uncompress_section): Remove. - -2010-07-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11812 - * elf32-i386.c (elf_i386_size_dynamic_sections): Don't - allocate .got.plt section if there are no GOT nor PLT - entries. - * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. - -2010-07-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11791 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support - garbage collection against STT_GNU_IFUNC symbols. - - * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set - elf.plt.offset/elf.got.offset to -1. - (elf_i386_tls_transition): Skip TLS transition for functions. - (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols. - - * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set - elf.plt.offset/elf.got.offset to -1. - (elf64_x86_64_tls_transition): Skip TLS transition for functions. - (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols. - -2010-07-12 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Re-indent. - (elf_i386_relocate_section): Likewise. - -2010-07-06 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf2.c (add_line_info): Initialize prev_line. - -2010-07-06 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_relax_section): Insert branch around - trampolines only for .init and .fini sections. - -2010-07-05 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c: Formatting. - (ppc_elf_finish_dynamic_sections): Don't make plt_entry var static. - -2010-07-03 Cary Coutant <ccoutant@google.com> - - * compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. - * dwarf2.c (read_and_uncompress_section): New function. - (read_section): Call it. - (find_line): Likewise. - -2010-07-01 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL rather - than SYMBOL_REFERENCES_LOCAL. - (ppc64_elf_relocate_section): Likewise. - -2010-07-01 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * cpu-maxq.c: Delete file. - * coff-maxq.c: Delete file. - * Makefile.am: Remove references to maxq. - * archures.c: Likewise. - * coffcode.h: Likewise. - * configure.in: Likewise. - * targets.c: Likewise. - * config.bfd: Move maxq from obsolete to removed. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2010-06-28 Alan Modra <amodra@gmail.com> - - * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSED - to silence gcc warning. - -2010-06-27 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (get_tls_mask): Don't segfault on NULL elf_section_data. - (group_sections): Likewise. - -2010-06-27 Alan Modra <amodra@gmail.com> - - * bout.c (aligncode): Delete set but unused variables. - * coff-mcore.c (coff_mcore_relocate_section): Likewise. - * coff-ppc.c (ppc_record_toc_entry): Likewise. - (coff_ppc_relocate_section): Likewise. - * coff-rs6000.c (xcoff_complain_overflow_bitfield_func): Likewise. - * elf-m10200.c (mn10200_elf_relax_delete_bytes): Likewise. - * elf-m10300.c (mn10300_elf_final_link_relocate): Likewise. - (mn10300_elf_relax_section): Likewise. - * elf32-arm.c (arm_build_one_stub, arm_size_one_stub): Likewise. - (record_vfp11_erratum_veneer): Likewise. - (bfd_elf32_arm_vfp11_erratum_scan): Likewise. - (elf32_arm_final_link_relocate): Likewise. - (elf32_arm_check_relocs, arm_map_one_stub): Likewise. - * elf32-avr.c (elf32_avr_relax_delete_bytes): Likewise. - (elf32_avr_relax_section): Likewise. - (avr_mark_stub_not_to_be_necessary): Likewise. - * elf32-bfin.c (_bfin_create_got_section): Likewise. - * elf32-cr16.c (cr16_elf_final_link_relocate): Likewise. - (elf32_cr16_relax_delete_bytes): Likewise. - * elf32-cr16c.c (cr16c_elf_final_link_relocate): Likewise. - * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. - * elf32-crx.c (elf32_crx_relax_delete_bytes): Likewise. - * elf32-h8300.c (elf32_h8_relax_section): Likewise. - (elf32_h8_relax_delete_bytes): Likewise. - * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. - * elf32-i370.c (i370_elf_check_relocs): Likewise. - (elf_relocate_section): Likewise. - * elf32-ip2k.c (adjust_all_relocations): Likewise. - (ip2k_elf_relax_section): Likewise. - * elf32-lm32.c (lm32_elf_relocate_section): Likewise. - (lm32_elf_check_relocs): Likewise. - (lm32_elf_finish_dynamic_sections): Likewise. - (lm32_elf_finish_dynamic_symbol): Likewise. - * elf32-m32c.c (m32c_offset_for_reloc): Likewise. - (m32c_elf_relax_delete_bytes): Likewise. - * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise. - (m32r_elf_finish_dynamic_sections): Likewise. - (m32r_elf_check_relocs, m32r_elf_fake_sections): Likewise. - * elf32-m68hc11.c (m68hc11_elf_relax_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. - * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. - (microblaze_elf_check_relocs): Likewise. - (microblaze_elf_finish_dynamic_symbol): Likewise. - * elf32-msp430.c (msp430_elf_relax_delete_bytes): Likewise. - * elf32-ppc.c (ppc_elf_tls_optimize): Likewise. - * elf32-rx.c (rx_elf_relocate_section): Likewise. - (elf32_rx_relax_delete_bytes, rx_offset_for_reloc): Likewise. - (elf32_rx_relax_section): Likewise. - * elf32-score.c (score_elf_got_offset_from_index): Likewise. - (score_elf_final_link_relocate): Likewise. - (s3_bfd_score_elf_relocate_section): Likewise. - * elf32-score7.c (score_elf_got_offset_from_index): Likewise. - (s7_bfd_score_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_check_relocs): Likewise. - (find_remembered_hi16s_reloc): Likewise. - * elf32-vax.c (elf32_vax_merge_private_bfd_data): Likewise. - (elf_vax_relocate_section): Likewise. - * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. - * elf32-xtensa.c (xlate_offset_with_removed_text): Likewise. - (move_literal): Likewise. - * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. - (elf64_hppa_check_relocs): Likewise. - (elf64_hppa_finish_dynamic_symbol): Likewise. - (elf64_hppa_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_reloc, mmix_elf_relax_section): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. - (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Likewise. - * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. - (elfNN_vms_section_from_shdr): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. - (_bfd_sparc_elf_relocate_section): Likewise. - * hp300hpux.c (slurp_symbol_table): Likewise. - * i386lynx.c (swap_std_reloc_out, swap_std_reloc_in): Likewise. - * mach-o.c (bfd_mach_o_write_thread): Likewise. - * mmo.c (mmo_scan, mmo_write_symbols_and_terminator): Likewise. - * nlm32-sparc.c (nlm_sparc_read_reloc): Likewise. - * pdp11.c (pdp11_aout_link_input_section): Likewise. - (aout_link_input_section, aout_link_input_bfd): Likewise. - * pe-mips.c (mips_swap_reloc_out): Likewise. - (coff_pe_mips_relocate_section): Likewise. - * som.c (som_bfd_ar_write_symbol_stuff): Likewise. - * vms-alpha.c (_bfd_vms_slurp_egsd): Likewise. - * xsym.c (bfd_sym_fetch_type_information_table_ent): Likewise. - - * coff-i860.c (i860_reloc_processing): Avoid set but unused warning. - * coffcode.h (coff_compute_section_file_positions): Likewise. - (coff_slurp_reloc_table): Likewise. - * cpu-arm.c (arm_check_note): Likewise. - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-bfin.c (elf32_bfin_merge_private_bfd_data): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-moxie.c (moxie_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-sh64.c (_bfd_sh_align_load_span): Likewise. - * ieee.c (parse_expression): Likewise. - (ieee_slurp_external_symbols, drop_int): Likewise. - * peXXigen.c (pe_print_pdata): Likewise. - * versados.c (process_esd): Likewise. - -2010-06-25 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_write_egsd): Check absolute section with - its flags. Create an absolute section if needed. - -2010-06-25 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_write_egsd): Set target_index field of - sections. Mark .vmsdebug section as SEC_DEBUGGING. Do not create - dummy psect anymore. Adjust. - (_bfd_vms_write_eeom): Adjust (use target_index instead of index) - (_bfd_vms_write_etir): Ditto. - (start_etir_or_etbt_record): Test for SEC_DEBUGGING instead of - section name. Adjust. - -2010-06-25 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_write_exec): Set linktime field. - -2010-06-25 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (toc_skip_enum): Define. - (ppc64_elf_edit_toc): Use two low bits of skip array as markers. - Optimize largetoc sequences. - (adjust_toc_syms): Update for skip array change. - (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT. - -2010-06-25 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (is_static_defined): New function. - (get_tls_mask, ppc_type_of_stub): Use it here. - (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input. - (ppc64_elf_tls_setup): Typo fix. - (adjust_toc_syms): Correctly handle symbols defined past the end - of the toc. Move syms on removed entries to next entry rather - than to start of toc. - (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to - edit ppc64 input. Allocate one extra word in skip array. - Honour info->keep_memory when reading relocs if we can. - Adjust toc relocs after adjusting symbols. - -2010-06-23 Nathan Sidwell <nathan@codesourcery.com> - - * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun - when scaning map. - -2010-06-17 Tristan Gingold <gingold@adacore.com> - - * Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ... - (BFD64_BACKENDS_CFILES): ... here. - (BFD32_BACKENDS): Move vms-alpha.lo to ... - (BFD64_BACKENDS): ... here. - * Makefile.in: Regenerate. - -2010-06-15 Joseph Myers <joseph@codesourcery.com> - - * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2. - * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type, - elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes, - elf32_tic6x_merge_private_bfd_data): New. - (bfd_elf32_bfd_merge_private_bfd_data, - elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section, - elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor): - Define. - * elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare. - -2010-06-15 Joseph Myers <joseph@codesourcery.com> - - * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define. - (struct elf_backend_data): Update comment on obj_attrs_order. - * elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents, - _bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE - instead of hardcoded 4. - * elf32-arm.c (elf32_arm_obj_attrs_order): Use - LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1 - instead of hardcoded 4 and 5. - (elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE - instead of hardcoded 4. - -2010-06-14 Kevin Buettner <kevinb@redhat.com> - - * elf32-h8300.c (elf_symbol_leading_char): Define. - -2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * vms-alpha.c (_bfd_vms_write_egsd): Make sname const. - -2010-06-11 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute - sections to 0. - -2010-06-11 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (evax_bfd_print_etir): Handle ETIR__C_STO_GBL_LW. - -2010-06-11 Tristan Gingold <gingold@adacore.com> - - * vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const. - Adjust cast. - (_bfd_vms_output_dump): Make DATA argument const, adjust cast. - * vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust. - * vms-alpha.c (evax_section_flags): Make it const. - (vms_secflag_by_name): Remove unused ABFD argument. - Make SECTION_FLAGS and NAME arguments const. Clarify comment. - (vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const. - (_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name. - (_bfd_vms_write_egsd): Remove useless cast. - -2010-06-10 Tristan Gingold <gingold@adacore.com> - - * config.bfd: Remove #if/#endif so that som can be compiled on any - host. - * targets.c (_bfd_target_vector): Remove #if/#endif so that som - can be used on any host. - -2010-06-10 Tristan Gingold <gingold@adacore.com> - - * som.c: Can now be compiled on any host. - Include bfd headers instead of system one. - (som_compute_checksum): Parameter is now a pointer to a - som_external_header structure. Adjust. - (struct section_to_type): Field section is now const. - (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional - definition. - (R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto. - (R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto. - (som_swap_clock_in, som_swap_clock_out): New functions. - (som_swap_header_in, som_swap_header_out): Likewise. - (som_swap_space_dictionary_in): Likewise. - (som_swap_space_dictionary_out): Likewise. - (som_swap_subspace_dictionary_in): Likewise. - (som_swap_subspace_dictionary_record_out): Likewise. - (som_swap_aux_id_in, som_swap_aux_id_out): Likewise. - (som_swap_string_auxhdr_out): Likewise. - (som_swap_compilation_unit_out): Likewise. - (som_swap_exec_auxhdr_in): Likewise. - (som_swap_exec_auxhdr_out): Likewise. - (som_swap_lst_header_in): Likewise. - (som_object_setup): Adjust parameter type using bfd types. - (setup_sections): Likewise. Ditto for object file types. - Use intermediate variables for external representation and use the - swap functions to convert. - (som_object_p): Ditto. Remove #ifdef/#endif on always defined - macros. - (som_prep_headers): Likewise. - (som_write_symbol_strings): Likewise. - (som_begin_writing): Likewise. - (som_finish_writing): Likewise. - (som_build_and_write_symbol_table): Likewise. - (bfd_section_from_som_symbol): Likewise. - (som_slurp_symbol_table): Likewise. - (som_bfd_print_private_bfd_data): Likewise. - (bfd_som_attach_aux_hdr): Likewise. Clear the padding. - (bfd_som_attach_compilation_unit): Likewise. - (som_bfd_count_ar_symbols): Likewise. - (som_bfd_fill_in_ar_symbols): Likewise. - (som_slurp_armap): Likewise. - (som_bfd_ar_write_symbol_stuff): Likewise. - (som_write_armap): Likewise. Use _bfd_ar_spacepad instead of - sprintf to write header fields. - * som.h: Include bfd headers instead of system one. - (FILE_HDR_SIZE, AUX_HDR_SIZE): Removed. - (struct somdata): Use bfd structures instead of system ones. - (struct som_section_data_struct): Likewise. - (struct som_subspace_dictionary_record): Removed (now in - include/som/internal.h) - -2010-06-10 Tristan Gingold <gingold@adacore.com> - - * targets.c (bfd_target_list): Remove hp/ux compiler work-around - as bfd requires an ANSI-C compiler. - -2010-06-09 Tristan Gingold <gingold@adacore.com> - - * bfdio.c (bfd_bread): Fix the code to prevent reading past the - end of archive members. - -2010-06-08 Tristan Gingold <gingold@adacore.com> - - * som.c (som_bfd_free_cached_info): Do not free relocations as - they were allocated with bfd_zalloc. - -2010-06-08 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment - for the first block. - -2010-06-08 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function. - * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare. - * libbfd.h: Regenerate. - * elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS. - (bfd_elfNN_mkarchive): Ditto. - -2010-06-02 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant. - -2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-06-01 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (struct vms_private_data_struct): Add - transfer_address field. Remove unused dst_info field. - (alpha_vms_write_exec): Use transfer_address. - (_bfd_vms_write_egsd): Add a comment about LIB$INITIALIZE. - (alpha_vms_bfd_final_link): Set transfer_address. - -2010-05-31 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (credat_lo, credat_hi): New fields. - (vms_read_block): Adjust comments. - (vms_write_block): New function. - (_bfd_vms_lib_archive_p): Decode majorid once. Replace some - hard-coded values with constants. Set credat_lo and credat_hi. - (_bfd_vms_lib_mkarchive): Add argument kind. - Set ver, mhd_size and type according to kind. - (_bfd_vms_lib_alpha_mkarchive): New function. - (struct lib_index): Renamed from struct vms_index - (lib_index_cmp): Renamed from vms_index_cmp. Adjusted. - (get_idxlen): Type of idx argument adjusted. Add is_elfidx - argument and handle it. - (vms_write_index): Adjust argument idx. Handle elf indexes. - (_bfd_vms_lib_build_map): Adjust type of arguments modules and res. - (_bfd_vms_lib_write_archive_contents): Add is_elfidx variable and - use it. Handle elf indexes. Set credat. - * libbfd-in.h (_bfd_vms_lib_mkarchive): Renamed to ... - (_bfd_vms_lib_alpha_mkarchive): ... this. - * libbfd.h: Regenerated. - * vms-alpha.c (vms_alpha_vec): Adjust after previous renaming. - -2010-05-28 Sterling Augustine <sterling@tensilica.com> - - * elf32-xtensa.c (elf_xtensa_relocate_section): Add a large amount - of code to change the bits in the instructions to match the changes - in the relocations. Declare dest_addr and sym_sec to help. - -2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com> - - Workaround GCC PR middle-end/4210. - * vms-misc.c (vms_time_t_to_vms_time): Use ternary operator for val[2] - and val[3]. - -2010-05-27 Tristan Gingold <gingold@adacore.com> - - * vms-misc.c: Define __NEW_STARLET. Remove trailing spaces. - (VMS_TIME_FACTOR, VMS_TIME_OFFSET): New macros. - (vms_time_to_time_t): Use them instead of local const. - (vms_time_t_to_vms_time): New function. - (vms_get_time): Likewise. - (vms_raw_get_time): Likewise. - * vms.h (vms_time_t_to_vms_time): New declaration. - (vms_get_time): Likewise. - (vms_raw_get_time): Likewise. - -2010-05-26 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c: Update comments. - (alpha_vms_write_exec): Set lnkflags. Write the GST. - (alpha_vms_link_output_symbol): New function. - (alpha_vms_bfd_final_link): Generate the VMS symbol table. - Set dst_section private field. - (alpha_vms_bfd_final_link): Remove code that set dst_section. - -2010-05-26 Tristan Gingold <gingold@adacore.com> - - * bfdio.c: Declare and define _bfd_memory_iovec. - (bfd_bread): Move code for BFD_IN_MEMORY... - (bfd_bwrite): ... Ditto ... - (bfd_tell): ... Ditto ... - (bfd_flush): ... Ditto ... - (bfd_stat): ... Ditto ... - (bfd_seek): ... Ditto ... - (bfd_get_size): ... Ditto ... - (bfd_mmap): ... Ditto ... - (memory_bread): ... to these new functions. - (memory_bwrite): Ditto. - (memory_btell): Ditto. - (memory_bseek): Ditto. - (memory_bflush): Ditto. - (memory_bstat): Ditto. - (memory_bmmap): Ditto. - (memory_bclose): New function. - * peicode.h (pe_ILF_build_a_bfd): Use BFD_IN_MEMORY. - * xcofflink.c (bfd_xcoff_link_generate_rtinit): Ditto. - * opncls.c (bfd_close): Do not handle BFD_IN_MEMORY case. - (bfd_make_writable): Use _bfd_memory_iovec. - * elfcode.h (bfd_from_remote_memory): Use _bfd_memory_iovec. - * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Use - _bfd_memory_iovec. - (alpha_ecoff_openr_next_archived_file): Use proxy_origin - instead of origin. - * libbfd.h: Regenerate. - -2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - Andrew Stubbs <ams@codesourcery.com> - - * config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add - bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs. - * configure.in: Handle FDPIC vectors. - * elf32-sh-relocs.h: Add FDPIC and movi20 relocations. - * elf32-sh.c (DEFAULT_STACK_SIZE): Define. - (SYMBOL_FUNCDESC_LOCAL): Define. Use it instead of - SYMBOL_REFERENCES_LOCAL for function descriptors. - (fdpic_object_p): New. - (sh_reloc_map): Add FDPIC and movi20 relocations. - (sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid - range. - (struct elf_sh_plt_info): Add got20 and short_plt. Update all - definitions. - (FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define. - (fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New. - (FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define. - (fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le) - (fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts): - New. - (get_plt_info): Handle FDPIC. - (MAX_SHORT_PLT): Define. - (get_plt_index, get_plt_offset): Handle short_plt. - (union gotref): New. - (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to - got_type and adjust all uses. Add GOT_FUNCDESC. - (struct sh_elf_obj_tdata): Add local_funcdesc. Rename - local_got_tls_type to local_got_type. - (sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type. All - users changed. - (sh_elf_local_funcdesc): Define. - (struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p, - and srofixup. - (sh_elf_link_hash_newfunc): Initialize new fields. - (sh_elf_link_hash_table_create): Set fdpic_p. - (sh_elf_omit_section_dynsym): New. - (create_got_section): Create .got.funcdesc, .rela.got.funcdesc - and .rofixup. - (allocate_dynrelocs): Allocate local function descriptors and space - for R_SH_FUNCDESC-related relocations, and for rofixups. - Handle GOT_FUNCDESC. Create fixups. Handle GOT entries which - require function descriptors. - (sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize. - (sh_elf_modify_program_headers): New. - (sh_elf_size_dynamic_sections): Allocate function descriptors for - local symbols. Allocate .got.funcdesc contents. Allocate rofixups. - Handle local GOT entries of type GOT_FUNCDESC. Create fixups for - local GOT entries. Ensure that FDPIC libraries always have a PLTGOT - entry in the .dynamic section. - (sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc) - (sh_elf_add_rofixup, sh_elf_osec_to_segment) - (sh_elf_osec_readonly_p, install_movi20_field): New functions. - (sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC, - R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC. Use sh_elf_got_offset - and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_. Add rofixup - read-only section warnings. Handle undefined weak symbols. Generate - fixups for R_SH_DIR32 and GOT entries. Check for cross-segment - relocations and clear EF_SH_PIC. Handle 20-bit relocations. - Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE. - (sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20, - R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC. - Handle 20-bit relocations. - (sh_elf_copy_indirect_symbol): Copy function descriptor reference - counts. - (sh_elf_check_relocs): Handle new relocations. Make symbols - dynamic for FDPIC relocs. Account for rofixups. Error for FDPIC - symbol mismatches. Allocate a GOT for R_SH_DIR32. Allocate fixups - for R_SH_DIR32. - (sh_elf_copy_private_data): Copy PT_GNU_STACK size. - (sh_elf_merge_private_data): Copy initial flags. Do not clobber - non-mach flags. Set EF_SH_PIC for FDPIC. Reject FDPIC mismatches. - (sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries - here. Rename sgot to sgotplt and srel to srelplt. Handle short_plt, - FDPIC descriptors, and got20. Create R_SH_FUNCDESC_VALUE for FDPIC. - Use install_movi20_field. Rename srel to srelgot. Always generate - R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE. - (sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup. - Do not fill in reserved GOT entries for FDPIC. Correct DT_PLTGOT. - Rename sgot to sgotplt. Assert that the right number of rofixups - and dynamic relocations were allocated. - (sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New. - (elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym. - (elf_backend_can_make_relative_eh_frame) - (elf_backend_can_make_lsda_relative_eh_frame) - (elf_backend_encode_eh_address): Define. - (TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM) - (TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed): - Redefine for FDPIC vector. - * reloc.c: Add SH FDPIC and movi20 relocations. - * targets.c (_bfd_target_vector): Add FDPIC vectors. - * configure, bfd-in2.h, libbfd.h: Regenerated. - -2010-05-25 Jay Krell <jay.krell@cornell.edu> - - PR ld/11624 - * archive.c (_bfd_calloc_wrapper): New function. - (_bfd_add_bfd_to_archive_cache): Use it. - - * configure.in: Add alpha*-*-*vms* to list of natives. - * configure: Regenerate. - - * vms-misc.c: Define globalref if necessary. - (vms_convert_to_var_unix_filename): Rename to - _bfd_vms_convert_to_var_unix_filename and export. - * vms.h: Add prototype for _bfd_vms_convert_to_var_unix_filename. - * vms-alpha.c (vms_close_and_cleanup): Update invocation of - vms_convert_to_var_unix_filename. - -2010-05-24 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (add_symbol_entry): New function extrated from ... - (add_symbol): ... adjusted. - -2010-05-24 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_egsd): Fix indentation. - (alpha_vms_write_exec): Add a comment. - (_bfd_vms_write_egsd): Ditto. - (alpha_vms_convert_symbol): Remove a blank line. - -2010-05-21 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section - for the GST. - -2010-05-21 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_eisd): Set SEC_HAS_CONTENTS and - SEC_LOAD if isect has data. - (vms_get_symbol_info): Refine the condition for 'T' type. - -2010-05-18 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_write_emh): New function. - (_bfd_vms_write_lmn): New function. - (_bfd_vms_write_eeom): Moved. - (hash_string): Likewise. - (_bfd_vms_length_hash_symbol): Likewise. - (_bfd_vms_write_ehdr): Code moved to _bfd_vms_write_emh - and _bfd_vms_write_lmn, and call these functions. - -2010-05-18 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (evax_bfd_print_dst): Handle INCR_LINUM_L. - Add details in the messages. - (evax_bfd_print_image): Change message. - -2010-05-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11600 - * elf.c (_bfd_elf_make_section_from_shdr): Handle SHF_EXCLUDE - (elf_fake_sections): Likewise. - - * elf32-i370.c (i370_elf_section_from_shdr): Don't handle - SHF_EXCLUDE here. - * elf32-ppc.c (ppc_elf_fake_sections): Likewise. - -2010-05-17 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c: Include esgps.h and eidc.h. - (_bfd_vms_slurp_egsd): Ignore SPSC and IDC sub-records. - (evax_bfd_print_egsd_flags): New function, extracted from ... - (evax_bfd_print_egsd): ..., calls evax_bfd_print_egsd_flags. Handles - EGSD__C_SPSC and EGSD__C_IDC. - -2010-05-14 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_object_p): Accept header size of 0. - (_bfd_vms_get_object_record): Handle align byte only in the - foreign case. - -2010-05-14 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_ia64_archive_p): New function. - * libbfd-in.h (_bfd_vms_lib_ia64_archive_p): Add prototype. - * libbfd.h: Regenerate. - * configure.in (havevecs): Define HAVE_all_vecs when - --enable-targets=all is set. Use AC_SUBST on it. - (tdefaults): Do not add havevecs. - (bfd_elf64_ia64_vms_vec): Add vms-lib.lo and vms-misc.lo - * configure: Regenerate. - * Makefile.am (HAVEVECS): New variable. - (INCLUDES): Add HAVEVECS. - * Makefile.in: Regenerate. - * elfxx-ia64.c (INCLUDE_IA64_VMS): New macro, defined if vms - target is selected. Add #ifdef/#endif around vms specific code. - (bfd_elfNN_archive_p, bfd_elfNN_archive_slurp_armap, - bfd_elfNN_archive_slurp_extended_name_table, - bfd_elfNN_archive_construct_extended_name_table, - bfd_elfNN_archive_truncate_arname, - bfd_elfNN_archive_write_armap, - bfd_elfNN_archive_read_ar_hdr, - bfd_elfNN_archive_write_ar_hdr, - bfd_elfNN_archive_openr_next_archived_file, - bfd_elfNN_archive_get_elt_at_index, - bfd_elfNN_archive_generic_stat_arch_elt, - bfd_elfNN_archive_update_armap_timestamp): Define to use vms archives. - -2010-05-11 Jie Zhang <jie@codesourcery.com> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge - Tag_ABI_HardFP_use correctly. - -2010-05-11 Alan Modra <amodra@gmail.com> - - * coffcode.h (coff_write_object_contents): Enclose all occurrences - of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE. - -2010-05-07 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (struct a8_erratum_reloc): Add hash member. Move - sym_name to improve packing. - (cortex_a8_erratum_scan): Check for PLT entries. - (elf32_arm_size_stubs): Save the target symbol for a8 relocs. - -2010-05-07 Tristan Gingold <gingold@adacore.com> - - * Makefile.in: Regenerate with automake 1.11.1. - * aclocal.m4: Ditto. - -2010-05-05 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2010-05-03 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_lib_bopen): Fix the size threshold to read - selective_search flag. - Add comments. - * vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section - before output_has_begun is set. - -2010-05-03 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c: Add comments. - (struct vms_private_data_struct): Remove image_autoextend field. - (dst_check_allocation): Removed. - (image_write): Remove call to dst_check_allocation. - (vms_slurp_debug): Do not set image_autoextend. Adjust section - size. - (_bfd_vms_slurp_object_records): Remove useless new_type variable. - (alpha_vms_write_exec): Use dst_section to get the dst section. - Write the dmt section. - (evax_bfd_print_image): Also print the dst size in hexa. Fix typo. - (alpha_vms_read_sections_content): Do not set image_autoextend. - (alpha_vms_bfd_final_link): Generate the dst. - -2010-05-03 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty - next array. - (vms_lib_dcx): Adjust for the above change. - -2010-04-30 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11542 - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New. - - * elf32-i386.c (elf_i386_relocate_section): Use it. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - -2010-04-30 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_read_block): New function. - (vms_traverse_index): Use vms_read_block. Handle long key names. - -2010-04-30 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms - and syms removed. - (struct carsym_mem): New structure. - (vms_add_index): New function. - (vms_add_indexes_from_list): New function. - (vms_traverse_index): Parameter carsym changed to carsym_mem. - Code adjusted to handle elfidx. - (vms_lib_read_index): Adjusted for vms_traverse_index changes. - Parameter NBREL is now a pointer. - (_bfd_vms_lib_archive_p): Adjust for above change. Handle ia64 - archives. - (_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata. - (_bfd_vms_lib_find_symbol): Ditto. - (vms_lib_bopen): Fix two typos: return FALSE in case of error, - check MHD id. - (_bfd_vms_lib_get_module): New function. - (_bfd_vms_lib_get_elt_at_index): Rewritten using the above - function. - (_bfd_vms_lib_openr_next_archived_file): Use _bfd_vms_lib_get_module. - (_bfd_vms_lib_generic_stat_arch_elt): Handle ia64 archives. - (vms_write_index): Adjust for structure renamed. - * vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for - changes of _bfd_vms_lib_find_symbol. - -2010-04-28 Kai Tietz <kai.tietz@onevision.com> - - * config.bfd: Correct accidential reverted patch - about vax*-*-*vms*. - -2010-04-27 Kai Tietz <kai.tietz@onevision.com> - - * pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent - to USE_MINGW64_LEADING_UNDERSCORES. - * pei-x86_64.c (TARGET_UNDERSCORE): Likewise. - * config.bfd: Change underscoring default for x64 mingw - to false. - * coffcode.h (coff_write_relocs): Add check that dereferenced - sym_ptr_ptr isn't NULL. - * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. - * configure: Regenerated. - * configure.in: Add option '--enable-leading-mingw64-underscores' - and define config.in variable USE_MINGW64_LEADING_UNDERSCORES. - -2010-04-27 Nick Clifton <nickc@redhat.com> - - PR binutils/11512 - * coffgen.c (coff_find_nearest_line): Incldue the section address - of function name symbols in address comparisons. - -2010-04-27 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2010-04-23 Alan Modra <amodra@gmail.com> - - * elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and - ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT - throughout file. - (assign_file_positions_for_load_sections): Modify section in - segment warning to ignore overlay vmas. - * elf32-spu.c (spu_elf_object_p): Replace use of - ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT. - -2010-04-22 Nick Clifton <nickc@redhat.com> - - * po/bfd.pot: Updated by the Translation project. - * po/vi.po: Updated Vietnamese translation. - -2010-04-22 Alan Modra <amodra@gmail.com> - - * elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29 - change. Tidy. Don't error on sections not allocated in segment. - -2010-04-15 Andrew Haley <aph@redhat.com> - - * bfd-in.h (elf32_arm_fix_exidx_coverage): Add new flag: - merge_exidx_entries. - * bfd-in2.h: Likewise. - * elf32-arm.c (elf32_arm_fix_exidx_coverage): Likewise. Use it to - control merging of exidx entries. - -2010-04-20 Joseph Myers <joseph@codesourcery.com> - - * elf32-tic6x.h: New. - * elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA. - * elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata, - elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel, - elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject, - elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p, - bfd_elf32_mkobject, bfd_elf32_new_section_hook): New. - (elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup, - elf32_tic6x_relocate_section): Handle REL relocations. - (elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel. - -2010-04-20 Jakub Jelinek <jakub@redhat.com> - - * dwarf2.c (find_abstract_instance_name, scan_unit_for_symbols): Treat - DW_AT_linkage_name the same as DW_AT_MIPS_linkage_name. - -2010-04-19 Nick Clifton <nickc@redhat.com> - - * archive64.c (bfd_elf64_archive_slurp_armap): Remove unused - arhdrpos variable. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Add unused - attribute to warned variable. Remove unused val, type and type2 - variables. - -2010-04-16 Andreas Schwab <schwab@redhat.com> - - * vms-alpha.c (alpha_vms_link_add_object_symbols): Avoid breaking - strict-aliasing rules. - -2010-04-16 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_slurp_eihd): Fix typo. - (_bfd_vms_get_object_record): Always assume there is a pad byte - for alignment. - - * vms-lib.c: Add a few comments. - -2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Support additions to - attributes in v2.08 of the ABI. - -2010-04-15 Alan Modra <amodra@gmail.com> - - * config.bfd (vax*-*-*vms*): Delete. - -2010-04-14 Tristan Gingold <gingold@adacore.com> - - * Makefile.am (BFD32_BACKENDS): Remove vms-gsd.lo, vms-hdr.lo, - vms-tir.lo, vms.lo and add vms-alpha.lo - (BFD32_BACKENDS_CFILES): Remove vms-gsd.c, vms-hdr.c, - vms-tir.c, vms.c and add vms-alpha.c - * Makefile.in: Regenerate. - * configure.in (TDEFINES): Adjust file list for vms_alpha_vec. - Remove vms_vax_vec. - * configure: Regenerate. - * targets.c (vms_vax_vec): Remove the declaration. - (_bfd_target_vector): Remove vms_vax_vec. - * vms-alpha.c: New file. - * vms-gsd.c: Removed, rewritten in vms-alpha.c - * vms-hdr.c: Ditto. - * vms-tir.c: Ditto. - * vms.c: Ditto. - * vms-misc.c: Fix indentation and comments. Replace most of - #if VMS_DEBUG/vms_debug with vms_debug2. - (_bfd_vms_hash_newfunc): Moved to vms-alpha.c - (hash_string): Ditto. - (_bfd_vms_length_hash_symbol): Ditto. - (maybe_adjust_record_pointer_for_object): Ditto. - (_bfd_vms_get_object_record): Ditto. - (vms_get_remaining_object_record): Ditto. - (_bfd_vms_push): Ditto. - (_bfd_vms_pop): Ditto. - (_bfd_vms_get_header_values): Removed. - (_bfd_vms_get_first_record): Removed. - (vms_get_remaining_image_record): Removed. - (new_symbol): Removed. - (_bfd_vms_enter_symbol): Removed. - (_bfd_vms_save_sized_string): Use memcpy instead of strncpy. - (_bfd_vms_output_begin): Remove rechead parameter. Replace bfd - parameter with struct vms_rec_wr. - (_bfd_vms_output_push): Removed and replaced by ... - (_bfd_vms_output_begin_subrec): ... new function. - (_bfd_vms_output_alignment): Replace bfd parameter with - struct vms_rec_wr, and adjust. - (_bfd_vms_output_check): Ditto - (_bfd_vms_output_byte): Ditto. - (_bfd_vms_output_short): Ditto. - (_bfd_vms_output_long): Ditto. - (_bfd_vms_output_quad): Ditto. - (_bfd_vms_output_counted): Ditto. - (_bfd_vms_output_dump): Ditto. - (_bfd_vms_output_fill): Ditto. - (_bfd_vms_output_pop): Removed and replaced by ... - (_bfd_vms_output_end_subrec): ... new function. - (_bfd_vms_output_flush): Removed. - (_bfd_vms_output_align): New function. - (_bfd_vms_output_end): Add recwr parameter. Adjust for this new - parameter. - (vms_convert_to_var): New function imported from vms.c - (vms_convert_to_var_1): Ditto. - (vms_convert_to_var_unix_filename): Ditto. - (vms_get_module_name): Ditto. - (get_vms_time_string): Ditto. - (vms_time_to_time_t): Ditto. - (vms_rawtime_to_time_t): Ditto. - * vms.h: All macros for the VMS file format are now in include/vms. - Prototypes for vms.c, vms-gsd.c, vms-misc.c, vms-hdr.c, vms-tir.c - have been removed. - (struct vms_symbol_struct, struct stack_struct): Moved to vms-alpha.c - (struct fileinfo, struct srecinfo, struct lineinfo): Ditto. - (struct funcinfo, struct vms_private_data_struct): Ditto. - (struct vms_section_data_struct): Ditto. - (struct vms_rec_rd, stryct vms_rec_wr): New declarations. - (vms_get_module_name, get_vms_time_string): New declarations. - (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. - (_bfd_vms_output_begin_subrec, _bfd_vms_output_end_subrec): Ditto. - (_bfd_vms_save_sized_string, _bfd_vms_save_counted_string): Adjusted. - (_bfd_vms_output_begin, _bfd_vms_output_alignment): Ditto. - (_bfd_vms_output_end,_bfd_vms_output_check): Ditto. - (_bfd_vms_output_byte, _bfd_vms_output_short): Ditto. - (_bfd_vms_output_long, _bfd_vms_output_quad): Ditto. - (_bfd_vms_output_counted, _bfd_vms_output_dump): Ditto. - (_bfd_vms_output_fill): Ditto. - (bfd_vms_set_section_flags): Ditto. - -2010-04-14 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early - exit due to merging the same weak symbol to test that the symbols are - actually weak. - -2010-04-13 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_relocate_section): Correct NOP location - when optimizing high got_tlsgd/ld insns. - -2010-04-10 H.J. Lu <hongjiu.lu@intel.com> - - * hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before - define. - (HAVE_PRSTATUS32_T): Likewise. - -2010-04-10 H.J. Lu <hongjiu.lu@intel.com> - - PR corefiles/11467 - * configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h - for x86_64-*-linux*. - * config.in: Regenerated. - * configure: Likewise. - - * elf.c: Include CORE_HEADER if it is defined. - -2010-04-10 H.J. Lu <hongjiu.lu@intel.com> - Jan Kratochvil <jan.kratochvil@redhat.com> - - * hosts/x86-64linux.h: New. - -2010-04-09 Nick Clifton <nickc@redhat.com> - - * aoutx.h (aout_link_input_bfd): Remove unused variable sym_count. - * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Remove unused - variables htab and hdr_info and mark info parameter as unused. - * elf.c (prep_headers): Remove unused variable i_phdrp. - (_bfd_elf_write_object_contents): Remove unused variable i_ehdrp. - * elf32-i386.c (elf_i386_relocate_section): Mark variabled warned - as unused. - * peXXigen.c (pe_print_reloc): Remove unused variable datasize. - * verilog.c (verilog_write_section): Remove unused variable - address. - -2010-04-07 Alan Modra <amodra@gmail.com> - - * warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above. - * configure: Regenerate. - -2010-04-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11434 - * elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally. - -2010-04-06 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags. - -2010-04-05 Jakub Jelinek <jakub@redhat.com> - - * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4 - provided that it has the expected address size and zero segment - length. - - * dwarf2.c (struct line_head): Add maximum_ops_per_insn field. - (struct line_info): Add op_index field, change end_sequence type to - unsigned char. - (new_line_sorts_after): For the same address compare op_index. - (add_line_info): Add op_index argument, store it into the structure. - (decode_line_info): Complain about unknown versions of .debug_line. - Initialize maximum_ops_per_insn. Add op_index state register and - track it. - -2010-04-01 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-ppc.c (apuinfo_set): New static var. - (ppc_elf_begin_write_processing): Set it here, always create an - APUinfo section if there were any in the inputs. - (ppc_elf_write_section): Check apuinfo_set. - (ppc_elf_final_write_processing): Likewise. - -2010-04-01 Tristan Gingold <gingold@adacore.com> - - * vms.h: Include time.h. Add prototypes for vms_get_module_name, - vms_time_to_time_t and vms_rawtime_to_time_t. - * vms.c (vms_alpha_vec): Add archives support. - * vms-misc.c: Include safe-ctype.h - (vms_get_module_name): New function. - (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. - * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the - vms_get_module_name function. Use this function. - * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector. - * libbfd-in.h: Add prototype for _bfd_append_relative_path. - Add prototypes for vms-lib.c - * libbfd.h: Regenerate. - * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add - vms-lib.lo to vms_alpha_vec. - * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*. - * configure: Regenerate. - * bfd.c: Add selective_search field. - * bfd-in2.h: Regenerate. - * archive.c (append_relative_path): Rename to - _bfd_append_relative_path and make it public. - (_bfd_get_elt_at_filepos): Adjust for above renaming. - * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo - (BFD32_BACKENDS_CFILES): Add vms-lib.c - * Makefile.in: Regenerate. - -2010-04-01 Jakub Jelinek <jakub@redhat.com> - - * dwarf2.c (read_attribute_value): Handle CU version 4 - for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc - and DW_FORM_flag_present. For unknown form value return NULL. - (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc - like DW_FORM_block. - (parse_comp_unit): Allow CU version 4. - -2010-04-01 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section): Correct first argument - to _bfd_elf_get_dynamic_reloc_section. - (elf_cris_discard_excess_dso_dynamics): Ditto. - -2010-03-31 Kai Tietz <kai.tietz@onevision.com> - - * coff-i386.c (in_reloc_p): Check also for R_SECREL32. - * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL. - -2010-03-31 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized - TPREL16_HI and TPREL16_HA insns. - -2010-03-31 Hans-Peter Nilsson <hp@axis.com> - - PR ld/11458 - * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid - assert of empty pcrel_relocs_copied on the direct symbol. Instead - of moving the list from the indirect symbol to the direct symbol, - merge into any existing list. - (cris_elf_check_relocs): Store the original section in the - pcrel_relocs_copied list, not the relocation section. - (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find - the relocation section, for reducing its size. Change the - BFD_ASSERT into a check for the section being read-only, and only - emit warnings and TEXTREL marker when there's an entry for a - read-only section. - -2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (using_thumb_only): Handle v6-M. - -2010-03-26 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative. - * bfd-in.h (elf_discarded_section): Clarify comment. - * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. - * bfd-in2.h: Regenerate. - -2010-03-26 Matt Rice <ratmice@gmail.com> - - * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged - as unique in the armap. - -2010-03-26 Alan Modra <amodra@gmail.com> - - PR ld/11375 - * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a - possible stub on branches. - -2010-03-25 Joseph Myers <joseph@codesourcery.com> - - * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo. - (ALL_MACHINES_CFILES): Add cpu-tic6x.c. - (BFD32_BACKENDS): Add elf32-tic6x.lo. - (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c. - * Makefile.in: Regenerate. - * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New. - (bfd_archures_list): Update. - * config.bfd (tic6x-*-elf): New. - * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): - New. - * configure: Regenerate. - * cpu-tic6x.c, elf32-tic6x.c: New. - * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12, - BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7, - BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16, - BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B, - BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W, - BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B, - BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W, - BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H, - BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W, - BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W, - BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31, - BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN, - BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New. - * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. - (_bfd_target_vector): Update. - * bfd-in2.h, libbfd.h: Regenerate. - -2010-03-24 H.J. Lu <hongjiu.lu@intel.com> - - * aout-target.h: Update copyright year. - * aout-tic30.c: Likewise. - * coff-alpha.c: Likewise. - * coff-rs6000.c: Likewise. - * coff64-rs6000.c: Likewise. - * elf64-mips.c: Likewise. - * ieee.c: Likewise. - * libecoff.h: Likewise. - * mach-o-target.c: Likewise. - * mach-o.c: Likewise. - * oasys.c: Likewise. - * targets.c: Likewise. - -2010-03-24 H.J. Lu <hongjiu.lu@intel.com> - - * libbfd-in.h: Update copyright year. - -2010-03-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11413 - * elflink.c (_bfd_elf_add_default_symbol): Check !executable - instead of shared. - -2010-03-19 Jie Zhang <jie@codesourcery.com> - - * elf32-arm.c (struct section_list): Remove. - (section_list): Remove typedef. - (record_section_with_arm_elf_section_data): Remove. - (find_arm_elf_section_entry): Remove. - (get_arm_elf_section_data): Use is_arm_elf. - (unrecord_section_with_arm_elf_section_data): Remove. - (elf32_arm_new_section_hook): Don't call - record_section_with_arm_elf_section_data. - (elf32_arm_write_section): Set mapcount to -1 when - the map has been used. Don't call - unrecord_section_with_arm_elf_section_data. - (unrecord_section_via_map_over_sections): Remove. - (elf32_arm_close_and_cleanup): Remove. - (elf32_arm_bfd_free_cached_info): Remove. - (bfd_elf32_close_and_cleanup): Don't define. - (bfd_elf32_bfd_free_cached_info): Don't define. - -2010-03-18 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11396 - * libcoff-in.h (pe_tdata): Add dont_strip_reloc. - * libcoff.h: Regenerated. - - * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG - if dont_strip_reloc is set. - (_bfd_XX_bfd_copy_private_bfd_data_common): Set - dont_strip_reloc on output if there is no .reloc and - IMAGE_FILE_RELOCS_STRIPPED isn't set in input. - -2010-03-18 Wei Guozhi <carrot@google.com> - - PR gas/11323 - * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to - R_ARM_GOT_PREL. - * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2010-03-17 H.J. Lu <hongjiu.lu@intel.com> - - * reloc.c (BFD_RELOC_SPU_PIC18): Removed. - (BFD_RELOC_SPU_STUB): Likewise. - -2010-03-17 Jie Zhang <jie@codesourcery.com> - - * elf.c (assign_file_positions_for_load_sections): Avoid - overflow. - -2010-03-17 Alan Modra <amodra@gmail.com> - - PR binutils/11382 - * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using - proper type. - -2010-03-17 Alan Modra <amodra@gmail.com> - - * elf32-arm.c (cortex_a8_erratum_scan): Warning fix. - -2010-03-16 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt. - (ppc64_elf_edit_toc): Set it here. - (ha_reloc_match): New function. - (ppc64_elf_relocate_section): Optimize bigtoc insn sequences. - -2010-03-15 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function. - * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare. - -2010-03-14 Alan Modra <amodra@gmail.com> - - PR ld/11378 - * elf64-ppc.h (ppc64_elf_check_init_fini): Declare. - * elf64-ppc.c (call_check_done): Define. - (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro. - (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise. - (ppc64_elf_finish_multitoc_partition): Remove unnecessary check. - (toc_adjusting_stub_needed): Use call_check_done rather than toc_off. - Simplify return logic. Iterate over all .init and .fini fragments - by recursion. Set makes_toc_func_call here.. - (ppc64_elf_next_input_section): ..rather than here. - (check_pasted_section, ppc64_elf_check_init_fini): New functions. - -2010-03-13 Alan Modra <amodra@gmail.com> - - PR ld/11375 - * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the - function descriptor symbol if there is one, not just for plt stubs. - (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls. - -2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base - version twice. - Skip it when constructing def.vd_next. - - * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to - bfd_elf32_i386_sol2_vec. - (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2. - (elf32_bed): Redefine to elf32_i386_sol2_bed. - (elf_backend_want_plt_sym): Redefine to 1. - - * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to - bfd_elf64_x86_64_sol2_vec. - (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2. - (elf64_bed): Redefine to elf64_x86_64_sol2_bed. - (elf_backend_want_plt_sym): Redefine to 1. - - * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to - bfd_elf32_i386_sol2_vec. - Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in - targ64_selvecs. - (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec. - Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in - targ_selvecs. - - * configure.in: Handle bfd_elf32_i386_sol2_vec, - bfd_elf64_x86_64_sol2_vec. - * configure: Regenerate. - - * targets.c (bfd_elf32_i386_sol2_vec): Declare. - (bfd_elf64_x86_64_sol2_vec): Declare. - (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec, - bfd_elf64_x86_64_sol2_vec. - -2010-03-04 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program - sections. - -2010-03-04 Alan Modra <amodra@gmail.com> - - PR 11302 - * dwarf2.c (read_abbrevs): Return NULL on alloc failures. - (read_attribute_value, decode_line_info): Likewise. - (add_line_info, read_rangelist): Return FALSE on alloc failures. - (arange_add, sort_line_sequences): Likewise. - (find_abstract_instance_name): Handle failures from called funcs. - (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise. - (find_line): Realloc to a temp, and handle alloc fail. - -2010-03-03 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add - a mapping symbol to an empty section. - -2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the - return value from the call to _bfd_elf_merge_object_attributes. - -2010-03-02 Christophe Lyon <christophe.lyon@st.com> - Alan Modra <amodra@gmail.com> - - * elf32-arm.c (a8_erratum_fix): Add st_type field to record the - destination mode of the a8 stub. - (elf32_arm_link_hash_table): Add top_id field. - (elf32_arm_link_hash_table_create): Initialize top_id. - (arm_type_of_stub): Update prototype, st_type can now be updated - by this function. Actual destination address in case of PLT is - computed here, to help factorizing code. - (elf32_arm_stub_name): Update prototype, use stub_type additional - parameter to build stub name. - (elf32_arm_get_stub_entry): Update prototype, use stub_type - additional parameter to build stub entry. - (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of - put_thumb_insn/put_arm_insn as BE8 encoding is now handled later. - Call elf32_arm_final_link_relocate to process all in-stub - relocations. - (elf32_arm_setup_section_lists): Update top_id. - (cortex_a8_erratum_scan): Record stub destination mode. - (elf32_arm_size_stubs): Update call to arm_type_of_stub according - to new prototype. - (elf32_arm_final_link_relocate): Enable processing of in-stub - REL32 relocations. Rely on arm_type_of_stub to detect if a stub is - needed, enabling code factorization. - (elf32_arm_final_link): Process stub sections. - (elf32_arm_output_map_sym): Add entry to code/data map. - -2010-03-01 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and - h->def_regular, set h->ref_regular. - (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries - and dynamic relocations if h->ref_regular. - - * elfxx-sparc.c (struct elf_reloc_map): Delete. - (sparc_reloc_map): Delete. - (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each - relocation type in switch statements. - -2010-02-25 Alan Modra <amodra@gmail.com> - - PR ld/11304 - * elf.c (_bfd_elf_init_private_section_data): Rename need_group - to final_link and invert. For final link allow some flags to - differ. Don't specially allow flags to be all zero. - -2010-02-24 Alan Modra <amodra@gmail.com> - - PR binutils/10858 - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise - SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol - table. - -2010-02-23 Andrew Zabolotny <anpaza@mail.ru> - - PR binutils/11297 - * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8. - (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8. - -2010-02-22 Alan Modra <amodra@gmail.com> - - * reloc.c (bfd_check_overflow): When forming addrmask, shift - fieldmask left by rightshift. - (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all - overflow checks. - -2010-02-20 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check - STT_GNU_IFUNC on large common symbol. - -2010-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_add_symbol_hook): Don't set - has_ifunc_symbols if the symbol comes from a shared library. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. - * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. - * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. - * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. - * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise. - -2010-02-19 Alan Modra <amodra@gmail.com> - - * elf.c (_bfd_elf_fixup_group_sections): New function, split out from.. - (_bfd_elf_copy_private_header_data): ..here. - * elflink.c (_bfd_elf_size_group_sections): New function. - (bfd_elf_size_dynamic_sections): Call it. - * elf-bfd.h (_bfd_elf_size_group_sections): Declare. - (_bfd_elf_fixup_group_sections): Declare. - -2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for - merging Tag_DIV_use, Tag_MPextension_use, and - Tag_MPextension_use_legacy tags. - -2010-02-18 Alan Modra <amodra@gmail.com> - - * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15 - commit. Don't write zeros for removed group members. - (_bfd_elf_copy_private_header_data): Adjust size of group section - when group members are removed by objcopy. - -2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com> - - PR binutils/11280 - * configure.host (*-*-solaris2.11): Add host define to select - valid default code page for windres/windmc on solaris. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-02-12 Daniel Gutson <dgutson@codesourcery.com> - - * elf32-arm.c (elf32_arm_output_arch_local_syms): add - missing mapping symbol to data only sections. - -2010-02-11 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22 - and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global - symbols. - (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for - these relocs on global symbols. - (gdopoff): New. - (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on - local symbol references which are not STT_GNU_IFUNC. Handle - relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively, - and deal with negative vs. non-negative values properly. - -2010-02-09 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for - non-external relocation. - -2010-02-09 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (merge_got_entries): Move earlier in file. - (allocate_dynrelocs): Merge got entries here if not doing multi-toc. - (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got. - (ppc64_elf_layout_multitoc): Don't resize if we have already - merged got entries. - -2010-02-09 Michael Holzheu <holzheu@de.ibm.com> - - * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp, - elfcore_write_s390_todpreg, elfcore_write_s390_ctrs, - elfcore_write_s390_prefix): New. - * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp, - elfcore_write_s390_todpreg, elfcore_write_s390_ctrs, - elfcore_write_s390_prefix): New. - (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP, - NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX. - (elfcore_write_register_note): Handle .reg-s390-timer, - .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs, - .reg-s390-prefix section. - -2010-02-09 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect - unsigned char. Update variables and code using them throughout file. - (struct ppc_link_hash_entry): Likewise for tls_mask. - - * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents. - - * elf64-ppc.c (has_small_toc_reloc): Don't define. - (makes_toc_func_call, call_check_in_progress): Shuffle flags. - (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update - code setting the flag. - (ppc64_elf_next_toc_section): Group big-toc sections in - 0x80008000 chunks. - -2010-02-08 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot, - srelgot, splt, srelplt, and sgotplt members in favor of generic copies. - - * elfxx-sparc.c (create_got_section): Delete. - (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic - section creator does that work for us. Use ->elf.foo instead of - ->foo where applicable. - (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo - where applicable. - (allocate_dynrelocs): Likewise. - (_bfd_sparc_elf_size_dynamic_sections): Likewise. - (_bfd_sparc_elf_relocate_section): Likewise. - (sparc_vxworks_build_plt_entry): Likewise. - (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. - (sparc_finish_dyn): Likewise. - (sparc_vxworks_finish_exec_plt): Likewise. - (sparc_vxworks_finish_shared_plt): Likewise. - (_bfd_sparc_elf_finish_dynamic_sections): Likewise. - - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_* - macros for visibilty and locality checks. - (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (_bfd_sparc_elf_relocate_section): Likewise. - (_bfd_sparc_elf_finish_dynamic_symbol):Likewise. - - * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set - but never used local var 'dynobj'. - - * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle - nocopyreloc. - - * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New. - (BFD_RELOC_SPARC_IRELATIVE): Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - - * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table - and loc_hash_memory. - (_bfd_sparc_elf_link_hash_table_free): Declare. - * elf32-sparc.c (elf32_sparc_add_symbol_hook): New. - (elf_backend_add_symbol_hook, elf_backend_post_process_headers, - bfd_elf32_bfd_link_hash_table_free): Define. - * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set - has_ifunc_symbols if STT_GNU_IFUNC. - (bfd_elf64_bfd_link_hash_table_free): Define. - (elf_backend_post_process_headers): Define always. - * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New. - (sparc_reloc_map): Add entries for new IFUNC relocs. - (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs. - (_bfd_sparc_elf_info_to_howto_ptr): Likewise. - (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq, - elf_sparc_get_local_sym_hash): New. - (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization - from here... - (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate - local hash table. - (_bfd_sparc_elf_link_hash_table_free): New. - (create_ifunc_sections): New. - (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj - and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols - cons up a fake local hash table entry for it. Unconditionally add - a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count - dyn relocs for ifunc. - (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc. - (allocate_dynrelocs): Unconditionally emit a PLT entry when - STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc. - (allocate_local_dynrelocs): New function. - (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash - table. Emit dynamic relocs to irelplt when not shared. Treat iplt - like splt. - (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand. - (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc - plt in iplt/irelplt. - -2010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating - max_contents_size, only consider sections whose contents must - be swapped in. - -2010-02-09 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here.. - (ppc64_elf_size_dynamic_sections): ..and here.. - (merge_got_entries): ..rather than here. - -2010-02-09 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc. - (has_small_toc_reloc): Define. - (ppc64_elf_check_relocs): Set the above flags. - (ppc64_elf_edit_opd): Delete obfd param. - (ppc64_elf_tls_optimize): Likewise. - (ppc64_elf_edit_toc): Likewise. - (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param. - * elf64-ppc.h: Update prototypes. - -2010-02-08 Alan Modra <amodra@gmail.com> - - * section.c (struct bfd_section): Delete has_tls_reloc, - has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done. - Add sec_flg0 thru sec_flg5. - (BFD_FAKE_SECTION): Update for changed flags. - * ecoff.c (bfd_debug_section): Likewise. - * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. - * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. - (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update. - * elf32-xtensa.c (reloc_done): Define. - * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update. - * bfd-in2.h: Regenerate. - -2010-02-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern - for non-scattered relocations. - -2010-02-08 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty - apuinfo sections, only scan input sections once and reuse the - buffer. - -2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> - - * archures.c (bfd_mach_ppc_titan): Define. - * bfd-in2.h: Regenerate. - * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. - -2010-02-08 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code. - -2010-02-05 Sterling Augustine <sterling@tensilica.com> - - * elf.c (assign_file_positions_for_load_sections) Update lma of - section if necessary. Fixes Bugzilla 11219. - -2010-02-05 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c: Remove trailing white spaces. - * elf64-x86-64.c: Likewise. - -2010-02-03 Nick Clifton <nickc@redhat.com> - - * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add - entries for other architectures. - (struct elf_link_hash_table): Add hash_table_id field. - (elf_hash_table_id): New accessor macro. - * elflink.c (_bfd_elf_link_hash_table_init): Add target_id - parameter. - * elf-m10300.c (elf32_mn10300_hash_table): Check table id before - returning cast pointer. - (elf32_mn10300_link_hash_table_create): Identify new table as - containing MN10300 extensions. - (mn10300_elf_relax_section): Check pointer returned by - elf32_mn10300_hash_table. - * elf32-arm.c: Likewise, except using ARM extensions. - * elf32-avr.c: Likewise, except using AVR extensions. - * elf32-bfin.c: Likewise, except using BFIN extensions. - * elf32-cris.c: Likewise, except using CRIS extensions. - * elf32-frv.c: Likewise, except using FRV extensions. - * elf32-hppa.c: Likewise, except using HPPA32 extensions. - * elf32-i386.c: Likewise, except using I386 extensions. - * elf32-lm32.c: Likewise, except using LM32 extensions. - * elf32-m32r.c: Likewise, except using M32RM extensions. - * elf32-m68hc11.c: Likewise, except using M68HC11 extensions. - * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions. - * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions. - * elf32-m68k.c: Likewise, except using M68K extensions. - * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions. - * elf32-ppc.c: Likewise, except using PPC32 extensions. - * elf32-s390.c: Likewise, except using S390 extensions. - * elf32-sh.c: Likewise, except using SH extensions. - * elf32-spu.c: Likewise, except using SPU extensions. - * elf32-xtensa.c: Likewise, except using XTENSA extensions. - * elf64-alpha.c: Likewise, except using ALPHA extensions. - * elf64-hppa.c: Likewise, except using HPPA64 extensions. - * elf64-ppc.c: Likewise, except using PPC64 extensions. - * elf64-s390.c: Likewise, except using S390 extensions. - * elf64-x86-64.c: Likewise, except using X86_64 extensions. - * elfxx-ia64.c: Likewise, except using IA64 extensions. - * elfxx-mips.c: Likewise, except using MIPS extensions. - * elfxx-sparc.c: Likewise, except using SPARC extensions. - * elfxx-sparc.h: Likewise, except using SPARC extensions. - * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete - redundant structure. - (elf32_cr16_hash_table): Delete unused macro. - (elf32_cr16_link_hash_traverse): Delete unused macro. - * elf32-score.c: Likewise. - * elf32-score7.c: Likewise. - * elf32-vax.c: Likewise. - * elf64-sh64.c: Likewise. - -2010-02-03 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct plt_entry): Move earlier in file. - (struct got_entry): Likewise. Add is_indirect and got.ent fields. - (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry. - Update all uses. - (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass. - Remove no_multi_toc. - (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect - when allocating a new struct got_entry. - (allocate_got): New function, extracted from.. - (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd. - (ppc64_elf_size_dynamic_sections): Track got relocs allocated in - .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries. - (ppc64_elf_setup_section_lists): Remove output_bfd param and - no_multi_toc, add add_stub_section and layout_sections_again. Stash - new params in htab. Extract some code to.. - (ppc64_elf_start_multitoc_partition): ..here. New function. - (ppc64_elf_next_toc_section): Check for linker script errors. Handle - second pass toc scan. - (merge_got_entries, merge_global_got, reallocate_got): New functions. - (ppc64_elf_reinit_toc): Rename to.. - (ppc64_elf_finish_multitoc_partition): ..this. - (ppc64_elf_layout_multitoc): New function. - (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and - layout_sections_again params. - (ppc64_elf_relocate_section): Handle indirect got entries. - * elf64-ppc.h: Update prototypes. Declare new functions. - -2010-02-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elfcore_write_xstatereg): New. - - * elf.c (elfcore_grok_xstatereg): New. - (elfcore_write_xstatereg): Likewise. - (elfcore_grok_note): Handle NT_X86_XSTATE. - (elfcore_write_register_note): Handle .reg-xstate section. - -2010-02-01 Tristan Gingold <gingold@adacore.com> - - * som.c (som_write_ar_hdr): Define this macro. - -2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, - R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the - linkage table pointer to use the global table pointer if not doing - a shared link. - -2010-01-29 Joel Brobecker <brobecker@adacore.com> - - * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal - if it has already been set. - -2010-01-27 Tristan Gingold <gingold@adacore.com> - - * vms.h: Remove trailing spaces. - (struct hdr_struct): Remove unused hdr_c_cpr field. - (enum file_format_enum): Add comments. - * vms.c (vms_bfd_print_private_bfd_data): New function that - replaces the macro. - Remove trailing spaces. - * vms-misc.c: Improve comments. - (_bfd_vms_get_object_record): Also handle files without pads. - * vms-hdr.c (_bfd_vms_write_dbg): Fix format string. - * vms-gsd.c (struct flagdescstruct): Make name field const. - (gsyflagdesc): Fix typo. - -2010-01-27 Alan Modra <amodra@gmail.com> - - PR ld/11217 - * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec. - (ppc64_elf_setup_section_lists): Init them. - (ppc64_elf_next_toc_section): Don't partition multi-toc between .got - and .toc on the same input file. - (ppc64_elf_relocate_section): Correct GOT entry offset. - -2010-01-26 Tristan Gingold <gingold@adacore.com> - - * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr. - (bfd_target): Add _bfd_write_ar_hdr_fn field. - * archive.c (is_bsd44_extended_name): New macro. - (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size. - (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended - name. - (_bfd_archive_bsd44_construct_extended_name_table): New function. - (_bfd_generic_write_ar_hdr): Ditto. - (_bfd_bsd44_write_ar_hdr): Ditto. - (_bfd_write_archive_contents): Call _bfd_write_ar_hdr. - (bsd_write_armap): Adjust firstreal computation. - * libbfd-in.h (struct areltdata): Add extra_size field. - (_bfd_generic_write_ar_hdr): Add prototype. - (_bfd_bsd44_write_ar_hdr): Ditto. - (_bfd_write_ar_hdr): Define. - (_bfd_noarchive_write_ar_hdr): Ditto. - (_bfd_archive_bsd_write_ar_hdr): Ditto. - (_bfd_archive_coff_write_ar_hdr): Ditto. - (_bfd_archive_bsd44_slurp_armap): Ditto. - (_bfd_archive_bsd44_slurp_extended_name_table): Ditto. - (_bfd_archive_bsd44_construct_extended_name_table): New prototype. - (_bfd_archive_bsd44_truncate_arname): Ditto. - (_bfd_archive_bsd44_write_armap): Ditto. - (_bfd_archive_bsd44_read_ar_hdr): Ditto. - (_bfd_archive_bsd44_write_ar_hdr): Ditto. - (_bfd_archive_bsd44_openr_next_archived_file): Ditto. - (_bfd_archive_bsd44_get_elt_at_index): Ditto. - (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto. - (_bfd_archive_bsd44_update_armap_timestamp): Ditto. - * libbfd.h: Regenerate. - * oasys.c (oasys_write_ar_hdr): Define. - * libecoff.h (_bfd_ecoff_write_ar_hdr): Define. - * ieee.c (ieee_write_ar_hdr): Define. - * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define. - * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field. - (bfd_pmac_xcoff_backend_data): Ditto. - * coff64-rs6000.c (rs6000coff64_vec): Ditto. - (bfd_xcoff_aix5_backend_data): Ditto. - * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define. - * aout-target.h (MY_write_ar_hdr): Define it if not defined. - * aout-tic30.c (MY_write_ar_hdr): Ditto. - * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive. - (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) - (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) - (bfd_mach_o_construct_extended_name_table) - (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) - (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) - (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c - * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) - (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) - (bfd_mach_o_construct_extended_name_table) - (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) - (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) - (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c - * bfd-in2.h: Regenerate. - -2010-01-26 Alan Modra <amodra@gmail.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11218 - * elflink.c (elf_link_output_extsym): Do not ignore undefined - symbols with ref_regular set when gc_sections is active. - -2010-01-25 Alan Modra <amodra@gmail.com> - - PR ld/11217 - * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences - with relocations against undefined weak symbols. - (ppc64_elf_relocate_section): Don't optimize calls to undefined - weak functions if the symbol is dynamic. - (ppc64_elf_relocate_section): Edit tprel tls sequences. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - (_bfd_elf_ppc_at_tprel_transform): New function. - * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. - * bfd-in2.h: Regenerate. - -2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. - (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE. - * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and - bitsize to 1. - (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE. - -2010-01-21 Nick Clifton <nickc@redhat.com> - - * elflink.c (elf_link_add_object_symbols): Look up name of - undefined symbol both before and after versioning has been - applied. Do not bother with symbols that are weakly undefined. - -2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. - (bfd_elf32_bfd_merge_private_bfd_data): New macro definition. - -2010-01-19 Cary Coutant <ccoutant@google.com> - - * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8. - -2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> - Alan Modra <amodra@gmail.com> - - * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. - (elf_object_p): Read e_phnum extension. - (elf_write_shdrs_and_ehdr): Write e_phnum extension. - * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check - that we can read last program header. - -2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of - R_ARM_THM_CALL entry. - (elf32_arm_final_link_relocate): Correct calculation of - reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22, - or R_ARM_THM_JUMP24 relocation. - -2010-01-18 Alan Modra <amodra@gmail.com> - - PR 11168 - * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C - block past vars in COFF_IMAGE_WITH_PE block. Report error on more - than 32k sections. - -2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix compilation warning on gcc-3.4. - * vms-tir.c (start_etir_record, sto_imm): Rename the prototype - parameter index to sec_index according to the function definition. - -2010-01-13 Chao-ying Fu <fu@mips.com> - - * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. - It is true for all CPUs. - (jal_reloc_p): New function. - (mips_elf_calculate_relocation): Rename require_jalxp to - cross_mode_jump_p. - Update comment for CROSS_MODE_JUMP_P. - Set up cross_mode_jump_p based on the mode change. - (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p. - Update comment for CROSS_MODE_JUMP_P. - Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx. - Use !cross_mode_jump_p to guard conversion. - Convert "jr t9" to "b", if possible. - (_bfd_mips_elf_relocate_section): Rename require_jalx to - cross_mode_jump_p. - Pass &cross_mode_jump_p to call mips_elf_calculate_relocation. - Pass cross_mode_jump_p to call mips_elf_perform_relocation. - -2010-01-13 Nick Clifton <nickc@redhat.com> - - * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for - "m32c" returns the m32c arch_info_struct and not the m16c - arch_info_struct. - (arch_info_struct): Use the new scan function. - (bfd_m32c_arch): Likewise. - -2010-01-13 Tristan Gingold <gingold@adacore.com> - - * config.bfd: Remove duplicated target vector for i386-*-darwin. - Appends new arch instead of overriding. - Use mach_o_x86_64_vec for x86_64-*-darwin. - * configure.in: Add mach_o_x86_64_vec. - * configure: Regenerate. - * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector. - * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo - (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c - * Makefile.in: Regenerate. - * mach-o-x86-64.c: New file. - -2010-01-13 Tristan Gingold <gingold@adacore.com> - - * reloc.c: Add MACH_O_X86_64 relocations. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2010-01-13 Tristan Gingold <gingold@adacore.com> - - * archive.c (normalize): Use lbasename. - (bfd_bsd_truncate_arname): Ditto. - (bfd_gnu_truncate_arname): Ditto. - -2010-01-12 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (CFLAGS): Turns warnings into informational messages. - -2010-01-11 Tristan Gingold <gingold@adacore.com> - - * mach-o.h: Add x86-64 relocation types. - -2010-01-11 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_backend_data): Add arch field. - (bfd_mach_o_set_arch_mach): New prototype. - * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject. - (bfd_mach_o_set_arch_mach): New function. - (bfd_mach_o_gen_mkobject): New function. - Set TARGET_ARCHITECTURE for the generic back-ends. - * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define. - Check that TARGET_ARCHITECTURE is defined. - Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure. - * mach-o-i386.c (TARGET_ARCHITECTURE): Define. - -2010-01-11 Tristan Gingold <gingold@adacore.com> - - * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap. - -2010-01-11 Nick Clifton <nickc@redhat.com> - - * elf32-v850.c (v850_elf_perform_relocation): Fix overflow - handling of R_V850_HI16_S relocation. - -2010-01-11 Alan Modra <amodra@gmail.com> - - PR 11103 - * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment. - -2010-01-11 Alan Modra <amodra@gmail.com> - - PR 6832 - * dwarf2.c (struct comp_unit): Add sec_info_ptr. - (find_abstract_instance_name): Use it. - (parse_comp_unit): Set it. - -2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in: Regenerate. - * configure: Regenerate. - -2010-01-08 Tristan Gingold <gingold@adacore.com> - - * archive.c: Remove bfd_special_undocumented_glue. - -2010-01-08 Alan Modra <amodra@gmail.com> - - PR ld/11133 - * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. - * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. - * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11138 - * elflink.c (elf_link_check_versioned_symbol): Don't abort if - a symbol referenced by DSO is is defined in a non-shared object - and forced local. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11133 - * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for - undefined __start_XXX/__stop_XXX in all input files and set - SEC_KEEP. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11143 - * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. - -2010-01-04 Daniel Gutson <dgutson@codesourcery.com> - - * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC - before including procfs.h. - (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise. - * configure.in: Added autoconf probe for the pr_fpreg member. - * configure: Regenerated. - * config.in: Regenerated. - * elf.c: Define _STRUCTURE_PROC before including procfs.h. - -2010-01-04 Joel Brobecker <brobecker@adacore.com> - - Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64). - * dwarf2.c (concat_filename): Rename dirname with dir_name - to void shadowing the dirname function. - Rename subdirname with subdir_name to stay consistent with - the new dir_name variable name. - -2010-01-04 Edmar Wienskoski <edmar@freescale.com> - - * archures.c: Add bfd_mach_ppc_e500mc64. - * bfd-in2.h: Regenerate. - * cpu-powerpc.c (bfd_powerpc_archs): Add entry for - bfd_mach_ppc_e500mc64. - -2010-01-01 Joel Brobecker <brobecker@adacore.com> - - Fix -Wshadow warnings (seen on ppc-aix) - * xcofflink.c: Replace finfo by flinfo throughout. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-2010 b/bfd/ChangeLog-2010 new file mode 100644 index 0000000..c486f58 --- /dev/null +++ b/bfd/ChangeLog-2010 @@ -0,0 +1,3562 @@ +2010-12-31 Robert Millan <rmh@gnu.org> + + * config.bfd: Recognize mips-freebsd and mips-kfreebsd-gnu. + * configure.host: Likewise. + * configure.in: Support for `bfd_elf32_ntradbigmips_freebsd_vec', + `bfd_elf32_ntradlittlemips_freebsd_vec', + `bfd_elf32_tradbigmips_freebsd_vec', + `bfd_elf32_tradlittlemips_freebsd_vec', + `bfd_elf64_tradbigmips_freebsd_vec' and + `bfd_elf64_tradlittlemips_freebsd_vec'. + * configure: Regenerate. + * elf32-mips.c: New target for FreeBSD support + (same as traditional MIPS but overrides ELF_OSABI + with ELFOSABI_FREEBSD). + * elf64-mips.c: Likewise. + * elfn32-mips.c: Likewise. + * targets.c (_bfd_target_vector): Add + `bfd_elf32_ntradbigmips_freebsd_vec', + `bfd_elf32_ntradlittlemips_freebsd_vec', + `bfd_elf32_tradbigmips_freebsd_vec', + `bfd_elf32_tradlittlemips_freebsd_vec', + `bfd_elf64_tradbigmips_freebsd_vec' and + `bfd_elf64_tradlittlemips_freebsd_vec'. + +2010-12-30 H.J. Lu <hongjiu.lu@intel.com> + + * elfcode.h (NAME(elf,r_info)): New. + (NAME(elf,r_sym)): Likewise. + + * elflink.c (elf64_r_info): Removed. + (elf32_r_info): Likewise. + (elf64_r_sym): Likewise. + (elf32_r_sym): Likewise. + +2010-12-30 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_relocs_compatible): New. + (elf_backend_relocs_compatible): Defined to + elf_x86_64_relocs_compatible. + +2010-12-30 H.J. Lu <hongjiu.lu@intel.com> + + * archures.c (bfd_mach_x64_32): New. + (bfd_mach_x64_32_intel_syntax): Likewise. + * bfd-in2.h: Regenerated. + + * config.bfd (targ64_selvecs): Add bfd_elf32_x86_64_vec for + i[3-7]86-*-linux-*. + (targ_selvecs): Add bfd_elf32_x86_64_vec for x86_64-*-linux-*. + + * configure.in: Support bfd_elf32_x86_64_vec. + * configure: Regenerated. + + * cpu-i386.c (bfd_x64_32_arch_intel_syntax): New. + (bfd_x64_32_arch): Likewise. + + * elf-bfd.h (elf_append_rela): New prototype. + (elf_append_rel): Likewise. + (elf64_r_info): Likewise. + (elf32_r_info): Likewise. + (elf64_r_sym): Likewise. + (elf32_r_sym): Likewise. + + * elf64-x86-64.c (ABI_64_P): New. + (elf_x86_64_info_to_howto): Replace ELF64_R_TYPE with + ELF32_R_TYPE. Replace ELF64_ST_TYPE with ELF_ST_TYPE. + (elf_x86_64_check_tls_transition):Likewise. + (elf_x86_64_check_relocs): Likewise. + (elf_x86_64_gc_mark_hook):Likewise. + (elf_x86_64_gc_sweep_hook): Likewise. + (elf_x86_64_relocate_section): Likewise. + (elf_x86_64_reloc_type_class): Likewise. + (ELF_DYNAMIC_INTERPRETER): Renamed to ... + (ELF64_DYNAMIC_INTERPRETER): This. + (ELF32_DYNAMIC_INTERPRETER): New. + (elf_x86_64_link_hash_table): Add r_info, r_sym, swap_reloca_out, + dynamic_interpreter and dynamic_interpreter_size. + (elf_x86_64_get_local_sym_hash): Replace ELF64_R_SYM with + htab->r_sym. Replace ELF64_R_INFO with htab->r_info. + (elf_x86_64_get_local_sym_hash): Likewise. + (elf_x86_64_check_tls_transition):Likewise. + (elf_x86_64_check_relocs): Likewise. + (elf_x86_64_gc_mark_hook):Likewise. + (elf_x86_64_gc_sweep_hook): Likewise. + (elf_x86_64_relocate_section): Likewise. + (elf_x86_64_finish_dynamic_symbol): Likewise. + (elf_x86_64_finish_local_dynamic_symbol): Likewise. + (elf_x86_64_link_hash_table_create): Initialize r_info, r_sym, + swap_reloca_out, dynamic_interpreter and dynamic_interpreter_size. + (elf_x86_64_check_relocs): Check ABI_64_P when requesting for + PIC. + (elf_x86_64_relocate_section): Likewise. + (elf64_x86_64_adjust_dynamic_symbol): Replace sizeof + (Elf64_External_Rela) with bed->s->sizeof_rela. + (elf64_x86_64_allocate_dynrelocs): Likewise. + (elf64_x86_64_size_dynamic_sections): Likewise. + (elf64_x86_64_finish_dynamic_symbol): Likewise. + (elf64_x86_64_append_rela): Removed. + (elf32_x86_64_elf_object_p): New. + Add bfd_elf32_x86_64_vec. + + * elf64-x86-64.c (elf64_x86_64_xxx): Renamed to ... + (elf_x86_64_xxx): This. + + * elflink.c (bfd_elf_final_link): Check ELF file class on error. + (elf_append_rela): New. + (elf_append_rel): Likewise. + (elf64_r_info): Likewise. + (elf32_r_info): Likewise. + (elf64_r_sym): Likewise. + (elf32_r_sym): Likewise. + + * targets.c (bfd_elf32_x86_64_vec): New. + (_bfd_target_vector): Add bfd_elf32_x86_64_vec. + +2010-12-24 Alan Modra <amodra@gmail.com> + + * compress.c (decompress_contents): Style. + (bfd_get_full_section_contents): Do not decompress directly into + caller buffer or directly return cached section contents. + Check malloc return for compressed_buffer. + +2010-12-21 Kai Tietz <kai.tietz@onevision.com> + + * peXXigen.c (_bfd_XXi_final_link_postscript): Use + bfd_get_symbol_leading_char to determine "_tls_used" name. + +2010-12-21 Pierre Muller <muller@ics.u-strasbg.fr> + + * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size + for windows 64-bit TLS table size. + +2010-12-16 DJ Delorie <dj@redhat.com> + + * reloc.c (BFD_RELOC_RX_ABS16_REV): Add. + (BFD_RELOC_RX_ABS32_REV): Add. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-rx.c (rx_reloc_map): Add them. + +2010-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_new_section_hook): Special handling for + .init_array/.fini_array output sections. + +2010-12-13 Alan Modra <amodra@gmail.com> + + * aoutx.h (aout_link_check_ar_symbols): Formatting. + * cofflink.c (coff_link_check_ar_symbols): Likewise. + * elflink.c (elf_link_add_archive_symbols): Likewise. + * pdp11.c (aout_link_check_ar_symbols): Likewise. + * xcofflink.c (xcoff_link_check_dynamic_ar_symbols, + xcoff_link_check_dynamic_ar_symbols): Likewise. + + * aoutx.h (aout_link_check_archive_element): Simplify code dealing + with add_archive_element substitute BFD. + * cofflink.c (coff_link_check_archive_element): Likewise. + * ecoff.c (ecoff_link_check_archive_element): Likewise. + (ecoff_link_add_archive_symbols): Likewise. + * linker.c (generic_link_check_archive_element): Likewise. + * pdp11.c (aout_link_check_archive_element): Likewise. + * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise. + * xcofflink.c (xcoff_link_check_archive_element): Likewise. + + * aoutx.h (aout_link_check_archive_element): Free symbols from old + bfd if !keep_memory. + * cofflink.c (coff_link_check_archive_element): Likewise. + * pdp11.c (aout_link_check_archive_element): Likewise. + * xcofflink.c (xcoff_link_check_archive_element): Likewise. + +2010-12-13 Alan Modra <amodra@gmail.com> + + * plugin.c (bfd_plugin_mkobject): Delete. + (plugin_vec): Use bfd_false instead. + +2010-12-12 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_add_archive_symbols): Remove subsbfd. + +2010-12-12 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (special_sections_g): Add ".gnu.lto_". + +2010-12-10 Alan Modra <amodra@gmail.com> + + * config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*. + Add aix5coff64_vec to powerpc ELF entries. + +2010-12-09 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR ld/12288 + * plugin.c (message): Add putchar for the trailing `\n'. + +2010-12-04 Mike Frysinger <vapier@gentoo.org> + + * Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing. + (PLUGINS/bfdinclude_HEADERS): Append plugin-api.h. + * Makefile.in: Regenerated. + +2010-12-04 Alan Modra <amodra@gmail.com> + + PR ld/12277 + * elflink.c (elf_link_output_extsym): Set bfd_error on symbol + and section errors. Allow better translation of error messages. + +2010-12-02 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt, + srelgot, splt, srelplt. + (create_got_section, elf32_arm_link_hash_table_create): Don't set them. + (elf32_arm_create_dynamic_sections): Likewise. Use htab->root + fields instead. + (arm_type_of_stub): Use the root fields instead of the removed ones. + (cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise. + (bfd_elf32_arm_process_before_allocation): Likewise. + (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. + (elf32_arm_size_dynamic_sections): Likewise. + (elf32_arm_output_arch_local_syms): Likewise. + (elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the + htab fields instead of looking them up by name. Consistently use + these local variables instead of htab fields. + (elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel. + Use srelbss instead of looking it up by name. + (elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt + instead of looking up the symbols by name. Use the root fields + instead of the removed ones. + +2010-12-02 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_relocs_copied): Delete. + (elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs. + (elf32_arm_link_hash_newfunc): Update accordingly. + (elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise. + (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. + (elf32_arm_readonly_dynrelocs): Likewise. + (elf32_arm_size_dynamic_sections): Likewise. + +2010-12-02 Paul Koning <ni1d@arrl.net> + + * pdp11.c (aout_link_add_symbols): Ignore debug symbols. + +2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> + + * config.bfd: Add sparc64-rtems. + +2010-11-25 Alan Modra <amodra@gmail.com> + + * po/es.po: Update. + * po/fi.po: Update. + * po/fr.po: Update. + * po/ja.po: Update. + * po/zh_CN.po: Update. + +2010-11-24 Joel Brobecker <brobecker@adacore.com> + + * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo. + (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c. + * Makefile.in: Regenerate. + +2010-11-24 Alan Modra <amodra@gmail.com> + + PR ld/12253 + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct + DW_EH_PE_datarel handling. Truncate .eh_frame_hdr address to + ptr_size. + +2010-11-23 Mingming Sun <mingm.sun@gmail.com> + + * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a + after bfd_mach_mips_sb1. + +2010-11-17 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_write_index): Add comments. + Partially revert previous patch. Free blocks later. + +2010-11-17 Nick Clifton <nickc@redhat.com> + + PR ld/12161 + * elf32-avr.c (elf32_avr_check_relocs): Delete. + (elf_backend_check_relocs): Delete. + +2010-11-16 Jie Zhang <jie.zhang@analog.com> + + * elf32-bfin.c (elf32_bfin_code_in_l1): New variable. + (elf32_bfin_data_in_l1): New variable. + (elf32_bfin_final_write_processing): New. + (elf_backend_final_write_processing): Define. + +2010-11-15 Mike Frysinger <vapier@gentoo.org> + + PR binutils/12177 + * elf32-bfin.c (_bfin_create_got_section): Drop unused flags code. + +2010-11-12 H.J. Lu <hongjiu.lu@intel.com> + + * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and + BFD_DECOMPRESS. + (bfd_openr_next_archived_file): Revert the last change. + +2010-11-11 Mingming Sun <mingm.sun@gmail.com> + + * archures.c (bfd_mach_mips_loongson_3a): Defined. + * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined. + * cpu-mips.c (I_loongson_3a): New add. + (arch_info_struct): Add loongson_3a. + * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a. + (mips_set_isa_flags): Add loongson_3a. + (mips_mach_extensions): Add loongson_3a in MIPS64 extensions. + +2010-11-10 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused + variables. + +2010-11-10 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + * po/ru.po: Updated Russian translation. + +2010-11-08 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2010-11-08 Alan Modra <amodra@gmail.com> + + * hash.c (bfd_hash_hash): Extract from.. + (bfd_hash_lookup): ..here. + (bfd_hash_rename): New function. + * section.c (bfd_rename_section): New function. + * bfd-in.h (bfd_hash_rename): Declare. + * bfd-in2.h: Regenerate. + * elf.c (_bfd_elf_make_section_from_shdr): Rename input sections + when compressing or decompressing. Don't assert name match. + * elf64-hppa.c (get_reloc_section): Don't assert name match. + * elfxx-ia64.c (get_reloc_section): Likewise. + +2010-11-05 Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New. + (elf32_tic6x_merge_attributes): Use + _bfd_elf_merge_unknown_attribute_low and + _bfd_elf_merge_unknown_attribute_list. + (elf_backend_obj_attrs_handle_unknown): Define. + +2010-11-05 Joseph Myers <joseph@codesourcery.com> + + * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low, + _bfd_elf_merge_unknown_attribute_list): Correct test for matching + string attributes. + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * po/bfd.pot: Regenerate + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * configure.in: Bump version to 2.21.51 + * configure: Regenerate. + +2010-11-04 Maciej W. Rozycki <macro@codesourcery.com> + + PR ld/10144 + * elfxx-mips.c (_bfd_mips_elf_check_relocs) + [R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from + SEC_DEBUGGING sections. + +2010-11-04 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_write_index): Fix thinko: reverse the loop. + Use bfd_zmalloc instead of bfd_malloc. Fix comment. + +2010-11-04 Kai Tietz <kai.tietz@onevision.com> + + * coffcode.h (GNU_LINKONCE_WT): New. + (sec_to_styp_flags): Add handling of new debug + section. + (styp_to_sec_flags): Likewise. + +2010-11-04 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (CFLAGS): Make badalias warnings informational. + * vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer. + +2010-11-04 Joseph Myers <joseph@codesourcery.com> + + * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low, + _bfd_elf_merge_unknown_attribute_list): New. + * elf-bfd.h (struct elf_backend_data): Add + obj_attrs_handle_unknown. + (_bfd_elf_merge_unknown_attribute_low, + _bfd_elf_merge_unknown_attribute_list): Declare. + * elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New. Split + out from elf32_arm_merge_eabi_attributes. + (elf32_arm_merge_eabi_attributes): Use + _bfd_elf_merge_unknown_attribute_low and + _bfd_elf_merge_unknown_attribute_list. + (elf_backend_obj_attrs_handle_unknown): Define. + * elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define. + (elfNN_bed): Update initializer. + +2010-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New. + * bfd-in2.h: Regenerated. + +2010-11-02 Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for + Tag_ABI_compatibility, treat odd tags as strings and even ones as + integers. + (elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment, + elf32_tic6x_array_alignment_to_tag): New. + (elf32_tic6x_merge_attributes): Handle more attributes. Set type + for merged attributes. + (elf_backend_obj_attrs_order): Define. + +2010-10-29 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo. + +2010-10-29 Pawel Sikora <pluto@pld-linux.org> + + PR binutils/12075 + * compress.c (bfd_compress_section_contents): Use uLong on + compressed_size. + +2010-10-29 Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check + Tag_ABI_compatibility not Tag_compatibility. + (elf32_tic6x_merge_attributes): Update compatibility attribute + name in comment. Return FALSE if merging common attributes fails. + +2010-10-29 Nick Clifton <nickc@redhat.com> + + PR bintils/6962 + * coffcode.h (handle_COMDAT): Only check the base type when + looking for a section symbol. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + Cary Coutant <ccoutant@google.com> + + * archive.c (bfd_openr_next_archived_file): Copy BFD_COMPRESS + and BFD_DECOMPRESS. + + * bfd.c (BFD_COMPRESS): New. + (BFD_DECOMPRESS): Likewise. + (BFD_FLAGS_SAVED): Likewise. + (bfd_preserve_save): Replace BFD_IN_MEMORY with BFD_FLAGS_SAVED. + + * compress.c (bfd_uncompress_section_contents): Removed. + (get_uncompressed_size): New. + (decompress_contents): Likewise. + (bfd_compress_section_contents): Likewise. + (bfd_get_full_section_contents): Likewise. + (bfd_is_section_compressed): Likewise. + (bfd_init_section_decompress_status): Likewise. + (bfd_init_section_compress_status): Likewise. + + * dwarf2.c (dwarf_debug_sections): New. + (dwarf_debug_section_enum): Likewise. + (read_section): Remove section_name and compressed_section_name. + Add dwarf_debug_section_enum. Try compressed debug section. + (read_indirect_string): Updated. + (read_abbrevs): Likewise. + (decode_line_info): Likewise. + (read_debug_ranges): Likewise. + (find_line): Updated. + + * ecoff.c (bfd_debug_section): Add compress_status and + compressed_size. + + * elf.c (_bfd_elf_make_section_from_shdr): Call + bfd_is_section_compressed to check if a DWARF debug section is + compressed. Call bfd_init_section_compress_status or + bfd_init_section_decompress_status if needed. + + * elflink.c (elf_link_input_bfd): Replace bfd_get_section_contents + with bfd_get_full_section_contents. + * merge.c (_bfd_add_merge_section): Likewise. + * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. + * simple.c (bfd_simple_get_relocated_section_contents): Likewise. + + * elfxx-target.h (TARGET_BIG_SYM): Allow BFD_COMPRESS and + BFD_DECOMPRESS. + (TARGET_LITTLE_SYM): Likewise. + + * libbfd-in.h (dwarf_debug_section): New. + (dwarf_debug_sections): Likewise. + + * libbfd.c (_bfd_generic_get_section_contents): Issue an error + when getting contents on compressed/decompressed section. + + * section.c (COMPRESS_SECTION_NONE): New. + (COMPRESS_SECTION_DONE): Likewise. + (DECOMPRESS_SECTION_SIZED): Likewise. + (BFD_FAKE_SECTION): Add compress_status and compressed_size. + (bfd_malloc_and_get_section): Replace bfd_get_section_contents + with bfd_get_full_section_contents. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + +2010-10-29 Bernd Schmidt <bernds@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch + of DSBT attributes. + +2010-10-25 Daniel Jacobowitz <dan@codesourcery.com> + + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call + _bfd_clear_contents. Pass it the input section. + * libbfd-in.h (_bfd_clear_contents): Add input_section argument. + * libbfd.h: Regenerate. + * reloc.c (_bfd_clear_contents): Take input_section argument. + Use non-zero for .debug_ranges. + (bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents + call. + + * elf32-arm.c (elf32_arm_relocate_section): Use + RELOC_AGAINST_DISCARDED_SECTION. + * 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 (bfin_relocate_section): Likewise. + (bfinfdpic_relocate_section): Likewise. + * elf32-cr16.c (elf32_cr16_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-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-lm32.c (lm32_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_relocate_section): 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-moxie.c (moxie_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-rx.c (rx_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. + * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-spu.c (spu_elf_relocate_section): Likewise. + * elf32-tic6x.c (elf32_tic6x_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-hppa.c (elf64_hppa_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. + * 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. + +2010-10-25 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-tic6x.c: Add attribution. + +2010-10-25 Alan Modra <amodra@gmail.com> + + * elf32-arm.c (find_stub_size_and_template): Avoid uninitialized + var warning at -O3. + +2010-10-25 Alan Modra <amodra@gmail.com> + + * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal. + * libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here. + * libbfd.h: Regenerate + * bfd-in2.h: Regenerate. + +2010-10-25 Alan Modra <amodra@gmail.com> + + * opncls.c (_bfd_id_counter): Rename to bfd_id_counter. + (bfd_reserved_id_counter, bfd_use_reserved_id): New vars. + (_bfd_new_bfd): Use negative id when bfd_use_reserved_id. + (bfd_create): Doc fix. + * bfd-in2.h: Regenerate. + +2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * elfxx-sparc.c (tpoff): Define bed, static_tls_size. + Consider static_tls_alignment. + + * elf32-sparc.c (TARGET_BIG_SYM): Redefine to + bfd_elf32_sparc_sol2_vec. + (TARGET_BIG_NAME): Redefine to elf32-sparc-sol2. + (elf32_bed): Redefine to elf32_sparc_sol2_bed. + (elf_backend_static_tls_alignment): Redefine to 8. + Include elf32-target.h. + (elf_backend_static_tls_alignment): Undef again for VxWorks. + + * elf64-sparc.c (TARGET_BIG_SYM): Redefine to + bfd_elf64_sparc_sol2_vec. + (TARGET_BIG_NAME): Redefine to elf64-sparc-sol2. + (ELF_OSABI): Undef. + (elf64_bed): Redefine to elf64_sparc_sol2_bed. + (elf_backend_static_tls_alignment): Redefine to 16. + Include elf64-target.h. + + * config.bfd (sparc-*-solaris2.[0-6]): Split from sparc-*-elf*. + Set targ_defvec to bfd_elf32_sparc_sol2_vec. + [BFD64] (sparc-*-solaris2*): Set targ_defvec to + bfd_elf32_sparc_sol2_vec. + Replace bfd_elf64_sparc_vec by bfd_elf64_sparc_sol2_vec in + targ_selvecs. + + * configure.in: Handle bfd_elf32_sparc_sol2_vec, + bfd_elf64_sparc_sol2_vec. + * configure: Regenerate. + + * targets.c (bfd_elf32_sparc_sol2_vec): Declare. + (bfd_elf64_sparc_sol2_vec): Declare. + (_bfd_target_vector): Add bfd_elf32_sparc_sol2_vec, + bfd_elf64_sparc_sol2_vec. + +2010-10-21 Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for + attribute renaming. + (elf_backend_obj_attrs_section): Change to ".c6xabi.attributes". + +2010-10-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * elf-bfd.h (struct elf_backend_data): New member + static_tls_alignment. + * elfxx-target.h (elf_backend_static_tls_alignment): Provide + default. + (elfNN_bed): Initialize static_tls_alignment. + * elflink.c (bfd_elf_final_link): Don't round end of TLS section + if static TLS has special alignment requirements. + * elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size. + Consider static_tls_alignment. + (elf_backend_static_tls_alignment): Redefine for Solaris 2. + Undef again for VxWorks. + * elf64-x86-64.c (elf64_x86_64_tpoff): Define bed, + static_tls_size. + Consider static_tls_alignment. + (elf_backend_static_tls_alignment): Redefine for Solaris 2. + Undef again for Intel L1OM. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 6/6). + * aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference + parameter and pass it when invoking add_archive_element callback. + (aout_link_check_archive_element): Handle substitute bfd if it + was set during add_archive_element callback in the above. + * cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference + parameter and pass it when invoking add_archive_element callback. + (coff_link_check_archive_element): Handle substitute bfd if it + was set during add_archive_element callback in the above. + * ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading + code factored-out from ecoff_link_check_archive_element. + (reread_ext_syms_and_strs): Clear old symbols and call it. + (ecoff_link_check_archive_element): Use the above. Handle substitute + BFD if one is set by add_archive_element callback. + (ecoff_link_add_archive_symbols): Likewise allow bfd substitution. + * elflink.c (elf_link_add_archive_symbols): Likewise. + * linker.c (generic_link_check_archive_element): Likewise. + * pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference + parameter and pass it when invoking add_archive_element callback. + (aout_link_check_archive_element): Handle substitute bfd if it was + set during add_archive_element callback in the above. + * vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute + BFD if one is set by add_archive_element callback. + * xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd" + reference parameter and pass it when invoking add_archive_element + callback. + (xcoff_link_check_ar_symbols): Likewise. + (xcoff_link_check_archive_element): Handle bfd substitution if it was + set by callback in the above. + +2010-10-11 Alan Modra <amodra@gmail.com> + + * elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms. + (elf32_frvfdpic_finish_dynamic_sections): Don't crash on + __ROFIXUP_END__ defined in shared lib. + +2010-10-11 Thomas Schwinge <thomas@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate) + (elf32_arm_relocate_section): Handle relocations against STN_UNDEF. + +2010-10-11 Dave Korn <dave.korn.cygwin@gmail.com> + + * elflink.c (_bfd_elf_link_output_relocs): Delete unused variable + "output_rel_hdr". + +2010-10-09 John Tytgat <john@bass-software.com> + + * reloc.c (BFD_RELOC_ARM_HVC): Add. + * libbfd.h: Regenerate. + +2010-10-08 Kai Tietz <kai.tietz@onevision.com> + + * pei-x86_64.c (find_next_xdata_or_end): Removed. + (pex64_dump_xdata): Remove arguments stop, onaline, + and pdata. New argument endx. Print term "none" + instead of misleading "CFA". + (sort_xdata_arr): New function. + (pex64_bfd_print_pdata): Use binary search/sort for unwind-RVAs + instead of searching quadratic. + +2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> + Alan Modra <amodra@gmail.com> + + Fix build with -DDEBUG=7 + * elf.c (_bfd_elf_symbol_from_bfd_symbol): Remove call + to deleted function elf_symbol_flags. Add typecast to avoid warning. + * elf32-rx.c (dump_symbol) : Rename to.. + (rx_dump_symbol): ..this to avoid link errors. + * elflink.c (elf_link_input_bfd): Add typecast to avoid warnings. + (bfd_elf_perform_complex_relocation): Likewise. + * elf32-xtensa.c (print_action_list): Likewise. + +2010-10-06 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic, + elf32_arm_stub_long_branch_any_arm_pic): Use a consistent name for + ip/r12. + (arm_type_of_stub): Remove superfluous braces. + +2010-10-04 Bernd Schmidt <bernds@codesourcery.com> + + * elf-bfd.h (struct bfd_elf_section_reloc_data): New structure. + (struct bfd_elf_section_data): New members REL and RELA; delete + members REL_HDR, REL_HDR2, REL_COUNT, REL_COUNT2, REL_IDX, + REL_IDX2, REL_HASHES. + (_bfd_elf_init_reloc_shdr): Adjust declaration. + (_bfd_elf_single_rel_hdr): Declare. + (RELOC_AGAINST_DISCARDED_SECTION): Use it. + * elf.c (bfd_section_from_shdr): Adjusted to match changes in + data structures. + (_bfd_elf_init_reloc_shdr): New arg RELDATA. Remove arg REL_HDR. + All callers changed. Allocate memory for the Elf_Internal_Shdr + structure. + (_bfd_elf_single_rel_hdr): New function. + (struct fake_section_arg): New structure. + (elf_fake_section): Expect to see a pointer to it in the third + argument. If doing a relocatable link, allocate both REL and RELA + sections as needed. + (assign_section_numbers): Adjusted to match changes in + data structures. + (_bfd_elf_compute_section_file_positions): Call elf_fake_sections + with a struct fake_section_args argument. + * elfcode.h (elf_write_relocs): Adjusted to match changes in + data structures. + (elf_slurp_reloc_table): Likewise. + * elflink.c (_bfd_elf_link_read_relocs): Likewise. + (_bfd_elf_link_size_reloc_section): Remove arg REL_HDR, replace with + RELDATA. Remove argument O. All callers changed. Remove code to + discover the right rel_hdr and count. + (_bfd_elf_link_output_relocs): Adjusted to match changes in + data structures. + (elf_link_adjust_relocs): Remove args REL_HDR, COUNT and REL_HASH; + replace with RELDATA. All callers changed. + (elf_link_input_bfd): Correctly generate rel_hash data when both + REL and RELA sections are present. + (elf_reloc_link_order): Adjusted to match changes in + data structures. + (bfd_elf_final_link): Simplify code to count relocs. Free the + hashes array for both REL and RELA. + (get_dynamic_reloc_section_name): Use _bfd_elf_single_reloc_hdr + * elf32-m32r.c (m32r_elf_fake_sections, elf_backend_fake_sections): + Delete. + * elf32-tic6x.c (elf32_tic6x_fake_sections, elf_backend_fake_sections): + Delete. + (elf32_tic6x_rel_relocation_p): Adjusted to match changes in + data structures. + * elf32-microblaze.c (microblaze_elf_check_relocs): Use + _bfd_elf_single_rel_hdr. + * elf32-ppc.c (ppc_elf_relax_section): Likewise. + * elf32-spu.c (spu_elf_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-hppa.c (get_reloc_section): Likewise. + * elf64-mips.c (mips_elf64_slurp_reloc_table): Adjusted to match + changes in data structures. + (mips_elf64_write_relocs): Use _bfd_elf_single_rel_hdr. + * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. + (ppc64_elf_edit_toc): Likewise. + (get_relocs): Adjusted to match changes in data structures. + Allocate an Elf_Internal_Shdr structure if necessary. + (ppc64_elf_finish_dynamic_sections): Use _bfd_elf_single_rel_hdr. + * elf64-sparc.c (elf64_sparc_slurp_reloc_table): Adjusted to match + changes in data structures. + * elfxx-ia64.c (get_reloc_section): Use _bfd_elf_single_rel_hdr. + * elfxx-mips.c (MIPS_RELOC_RELA_P): Remove macro. + (mips_elf_rel_relocation_p): Adjusted to match changes in data + structures. + (_bfd_mips_elf_relocate_section): Use mips_elf_rel_relocation_p rather + than MIPS_RELOC_RELOCA_P. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use + _bfd_elf_single_rel_hdr. + (_bfd_sparc_elf_relocate_section): Likewise. + +2010-10-01 Thomas Schwinge <thomas@codesourcery.com> + + * elf32-arm.c (elf32_arm_size_stubs): Don't choke on local symbols in + SHN_UNDEF, SHN_ABS, SHN_COMMON. + +2010-09-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11812 + * elf32-i386.c (elf_i386_size_dynamic_sections): Don't + allocate .got.plt section if there are no GOT nor PLT + entries and there is no refeence to _GLOBAL_OFFSET_TABLE_. + * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Li.kewise. + + * elflink.c (_bfd_elf_define_linkage_sym): Clear non_elf. + +2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-09-24 Thomas Schwinge <thomas@codesourcery.com> + + * elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c, + elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c, + elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c, + elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h, + elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to + the zero symbol index. + + * elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index + to STN_UNDEF, not SHN_UNDEF. + +2010-09-23 Bernd Schmidt <bernds@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_fake_sections): New function. + (elf_backend_fake_sections): Define. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value. + +2010-09-23 Alan Modra <amodra@gmail.com> + + * cpu-d10v.c: Make bits_per_address 18 for all arch_info entries. + +2010-09-23 Alan Modra <amodra@gmail.com> + + * elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC + difference between input and output section. + +2010-09-22 Kai Tietz <kai.tietz@onevision.com> + + * coffcode.h (sec_to_styp_flags): Adjust debug + sections to be conform to pe-coff specification + and avoid marking them as excluded. + (styp_to_sec_flags): Doing reverse mapping. + + * peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for + setting IAT directory entry. + +2010-09-20 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_howto_table): Use bfd_elf_generic_reloc. + +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls. + (mips_elf_link_hash_newfunc): Initialize it. + (mips_elf_record_global_got_symbol): Add a for_call parameter. + (mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather + than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls. + Try to remove .got entries in favour of .got.plt entries on VxWorks. + (_bfd_mips_elf_check_relocs): Do not try to avoid allocating + a global GOT entry for VxWorks calls. Update uses of + mips_elf_record_global_got_symbol. + (allocate_dynrelocs): Set got_only_for_calls to false if the GOT + entry is used for dynamic relocations. + +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (mips_got_entry): Adjust commentary. + (mips_elf_create_local_got_entry): If given a symbol, check that it + has been assigned to the local part of the GOT. + (mips_elf_count_got_symbols): Take the bfd_link_info as argument + instead of the master GOT. Put all locally-binding symbols in + the local area. + (mips_elf_make_got_per_bfd): Use global_got_area to decide whether + a symbol lives in the local or global area. + (mips_elf_local_relocation_p): Remove check_forced argument and + retain only the !check_forced behavior. + (mips_elf_calculate_relocation): Adjust call accordingly. + Use global_got_area to decide whether an output relocation + should be local or global. Explicitly decay R_MIPS_GOT_PAGE + into R_MIPS_GOT_DISP where appropriate. Fix selection of + local vs. global semantics for R_MIPS*_26. Remove redundant + reevaluation of what is stored in was_local_p. + (mips_elf_create_dynamic_relocation): Use global_got_area to decide + whether the relocation should be against a global or local symbol. + (mips_elf_lay_out_got): Update the GOT traversal after the above + change to mips_elf_count_got_symbols. + (mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p. + (_bfd_mips_elf_relocate_section): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide + whether the symbol has a global got entry. + (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. + +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (allocate_dynrelocs): Don't add relocation symbols + to the global GOT on VxWorks. + +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks, + exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning + about HI/LO relocations in shared objects. + +2010-09-16 Alan Modra <amodra@gmail.com> + + * elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc + sections. + (spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and + set dynobj. + (spu_elf_finish_dynamic_sections): New function. + (elf_backend_finish_dynamic_sections): Define. + +2010-09-16 Alan Modra <amodra@gmail.com> + + * elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD. + * elflink.c (elf_link_input_bfd): Likewise. + +2010-09-15 Kai Tietz <kai.tietz@onevision.com> + + * pei-x86_64.c (pex64_get_unwind_info): Reorgnized. + (pex64_get_scope_entry): Removed. + (find_next_xdata_or_end): New helper. + (pex64_dump_xdata): Reworked. + (pex64_bfd_print_pdata): Add checking for + valid pdata sorting and values. Reworked + output. + +2010-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12004 + * plugin.c (bfd_plugin_object_p): Handle NULL iostream. + +2010-09-14 Kai Tietz <kai.tietz@onevision.com> + + * pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make + .rdata, .data, and .text partial matched section names. + * pei-x86_64.c: Likewise. + + * peXXigen.c (sort_x64_pdata): New helper. + (_bfd_XXi_final_link_postscript): Do pdata sorting. + +2010-09-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11998 + * elf.c (assign_file_positions_for_load_sections): Don't warn + zero LMA adjustment. + +2010-09-09 Bernd Schmidt <bernds@codesourcery.com> + + * elflink.c (bfd_elf_final_link): Correct calculation of + max_external_reloc_size. + +2010-09-07 Alan Modra <amodra@gmail.com> + Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> + + * peXXigen.c: Whitespace. + (pe_print_idata): Correct section limit calculations. Tidy array + indexing. + (_bfd_XX_print_ce_compressed_pdata): Don't leak memory. + +2010-09-02 Richard Henderson <rth@redhat.com> + + * config.bfd (x86_64-*-mingw*): Select 32-bit pei vectors too. + +2010-09-01 Pedro Alves <pedro@codesourcery.com> + + * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ... + (netbsd_core_file_pid): ... this. + +2010-09-01 Tristan Gingold <gingold@adacore.com> + + * coffcode.h (coff_slurp_line_table): Add a cast. + (coff_slurp_reloc_table): Ditto. + +2010-08-30 Gunther Nikl <gnikl@users.sourceforge.net> + + * cisco-core.c (cisco_core_file_pid): Define. + +2010-08-30 Alan Modra <amodra@gmail.com> + + PR binutils/11953 + * elf.c (copy_elf_program_header): Calculate map->header_size + from lowest_section, not first_section. Validate program + header p_paddr against section lma. Find lowest_section in + second loop over headers. + +2010-08-28 Alan Modra <amodra@gmail.com> + + * elflink.c (_bfd_elf_dynamic_symbol_p): Rename param. Make + common syms local. + (_bfd_elf_symbol_refs_local_p): Expand comment. + (elf_link_output_extsym): Fix style nit. + +2010-08-26 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link): Process stub sections + exactly once. + +2010-08-25 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11939 + * elflink.c (elf_link_add_object_symbols): Don't set + unique_global for non-ELF hash link table. + +2010-08-25 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11944 + * elf-bfd.h (elf_backend_data): Add target_id. + (bfd_elf_make_generic_object): Renamed to ... + (bfd_elf_make_object): This. + + * elf.c (bfd_elf_make_generic_object): Removed. + (bfd_elf_make_object): New. + (bfd_elf_mkcorefile): Really treat it as an object file. + + * elf-m10300.c (ELF_TARGET_ID): New. + * elf32-arm.c (ELF_TARGET_ID): Likewise. + * elf32-bfin.c (ELF_TARGET_ID): Likewise. + * elf32-cris.c (ELF_TARGET_ID): Likewise. + * elf32-frv.c (ELF_TARGET_ID): Likewise. + * elf32-i386.c (ELF_TARGET_ID): Likewise. + * elf32-lm32.c (ELF_TARGET_ID): Likewise. + * elf32-m32r.c (ELF_TARGET_ID): Likewise. + * elf32-m68hc11.c (ELF_TARGET_ID): Likewise. + * elf32-m68hc12.c (ELF_TARGET_ID): Likewise. + * elf32-m68k.c (ELF_TARGET_ID): Likewise. + * elf32-microblaze.c (ELF_TARGET_ID): Likewise. + * elf32-ppc.c (ELF_TARGET_ID): Likewise. + * elf32-s390.c (ELF_TARGET_ID): Likewise. + * elf32-sh.c (ELF_TARGET_ID): Likewise. + * elf32-sparc.c (ELF_TARGET_ID): Likewise. + * elf32-spu.c (ELF_TARGET_ID): Likewise. + * elf32-tic6x.c (ELF_TARGET_ID): Likewise. + * elf32-xtensa.c (ELF_TARGET_ID): Likewise. + * elf64-alpha.c (ELF_TARGET_ID): Likewise. + * elf64-hppa.c (ELF_TARGET_ID): Likewise. + * elf64-ppc.c (ELF_TARGET_ID): Likewise. + * elf64-s390.c (ELF_TARGET_ID): Likewise. + * elf64-x86-64.c (ELF_TARGET_ID): Likewise. + * elfxx-ia64.c (ELF_TARGET_ID): Likewise. + + * elf32-hppa.c (elf32_hppa_mkobject): Removed. + (bfd_elf32_mkobject): Likewise. + (ELF_TARGET_ID): New. + + * elf32-mips.c (ELF_TARGET_ID): New. + (bfd_elf32_mkobject): Removed. + + * elf64-mips.c (ELF_TARGET_ID): New. + (bfd_elf64_mkobject): Removed. + + * elfn32-mips.c (ELF_TARGET_ID): New. + (bfd_elf32_mkobject): Removed. + + * elfxx-mips.c (_bfd_mips_elf_mkobject): Removed. + * elfxx-mips.h (_bfd_mips_elf_mkobject): Likewise. + + * elfxx-target.h (bfd_elfNN_mkobject): Default to + bfd_elf_make_object. + (ELF_TARGET_ID): New. Default to GENERIC_ELF_DATA. + (elfNN_bed): Initialize target_id. + +2010-08-25 Julian Brown <julian@codesourcery.com> + + * elf32-arm.c (arm_stub_required_alignment): New. + (arm_build_one_stub): Use above to partition stubs. + (make_branch_to_a8_stub): Use arm_stub_a8_veneer_lwm not + arm_stub_a8_veneer_b_cond. + +2010-08-25 Alan Modra <amodra@gmail.com> + + * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. + * aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise. + * aoutx.h (NAME(aout,reloc_type_lookup)): Likewise. + * coff-arm.c (coff_arm_reloc_type_lookup): Likewise. + * elf-hppa.h (elf_hppa_reloc_final_type): Likewise. + * reloc.c (bfd_default_reloc_type_lookup): Likewise. + * riscix.c (riscix_reloc_type_lookup): Likewise. + +2010-08-25 Alan Modra <amodra@gmail.com> + + * elf.c (_bfd_elf_map_sections_to_segments): Don't load program + headers if any loaded section wraps the address space. Simplify + ~(m-1) to -m. Use lma rather than vma when determining whether + note sections are adjacent. + +2010-08-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11933 + * elflink.c (elf_link_add_object_symbols): Don't check relocation + if input ELF object ID doesn't match output. + +2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-08-20 H.J. Lu <hongjiu.lu@intel.com> + + * merge.c (sec_merge_emit): Revert the last checkin. + +2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> + + * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output + BFD. + +2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> + + * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT + options unless an m68k hash table has been found. + +2010-08-20 Nick Clifton <nickc@redhat.com> + + * merge.c (sec_merge_emit): Do not zero pad sections that do not + have an alignment. + +2010-08-18 Pedro Alves <pedro@codesourcery.com> + + PR corefile/8210 + + * bfd-in2.h: Regenerate. + * corefile.c (bfd_core_file_pid): New. + + * targets.c (BFD_JUMP_TABLE_CORE): Add NAME##_core_file_pid. + (struct bfd_target) <_core_file_pid>: New. + + * libbfd-in.h (_bfd_nocore_core_file_pid): Declare. + * libbfd.c (_bfd_nocore_core_file_pid): New. + + * elf-bfd.h (bfd_elf32_core_file_pid, bfd_elf64_core_file_pid): + Declare. + * elfcode.h (elf_core_file_pid): New define. + * elfcore.h (elf_core_file_pid): New function. + + * elf.c (elfcore_make_pid): Rewrite. + (elfcore_grok_prstatus): Only set core_pid if not set yet. + (elfcore_grok_prstatus) [!HAVE_PRSTATUS_T_PR_WHO]: Fallback to + getting the lwpid from prstat.pr_pid. + + * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + (elf64_x86_64_grok_psinfo): Extract the the main process's PID, + and store it in elf_tdata's core_pid field. + * elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + (elf_i386_grok_psinfo): Extract the the main process's PID, and + store it in elf_tdata's core_pid field. + + * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID + to elf_tdata's core_lwpid instead of to core_pid. + * elf32-arm.c (elf32_arm_nabi_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-cris.c (cris_elf_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-frv.c (elf32_frv_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-hppa.c (elf32_hppa_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-ppc.c (ppc_elf_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-s390.c (elf_s390_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-score.c (s3_bfd_score_elf_grok_prstatus): Write the LWPID + to elf_tdata's core_lwpid instead of to core_pid. + * elf32-score7.c (s7_bfd_score_elf_grok_prstatus): Write the LWPID + to elf_tdata's core_lwpid instead of to core_pid. + * elf32-sh.c (elf32_shlin_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf32-xtensa.c (elf_xtensa_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf64-hppa.c (elf64_hppa_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf64-mips.c (elf64_mips_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elf64-ppc.c (ppc64_elf_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + * elfn32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to + elf_tdata's core_lwpid instead of to core_pid. + + * plugin.c (bfd_plugin_core_file_pid): New function. + * aout-target.h (MY_core_file_pid): Define. + * aout-tic30.c (MY_core_file_pid, MY_core_file_p): New defines. + * coff-rs6000.c (coff_core_file_pid): New define. + (rs6000coff_vec, pmac_xcoff_vec): Use BFD_JUMP_TABLE_CORE. + * coff64-rs6000.c (coff_core_file_pid): New define. + (rs6000coff64_vec): Use BFD_JUMP_TABLE_CORE. + (xcoff64_core_file_pid): New define. + (aix5coff64_vec): Use BFD_JUMP_TABLE_CORE. + * mach-o-target.c (bfd_mach_o_core_file_pid): New define. + * aix386-core.c (aix386_core_file_pid): New define. + * hppabsd-core.c (hppabsd_core_core_file_pid): New define. + * hpux-core.c (hpux_core_core_file_pid): New define. + * irix-core.c (irix_core_core_file_pid): New define. + * lynx-core.c (lynx_core_file_pid): New define. + * osf-core.c (osf_core_core_file_pid): New define. + * ptrace-core.c (ptrace_unix_core_file_pid): New define. + * sco5-core.c (sco5_core_file_pid): New define. + * xcoff-target.h (coff_core_file_pid): New define. + * netbsd-core.c (netbsd_core_core_file_pid): New define. + +2010-08-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11913 + * elf32-i386.c (elf_i386_finish_dynamic_sections): Check if + .got.plt section is discarded. + * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise. + +2010-08-13 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B + variant. + +2010-08-12 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11909 + * Makefile.am (coff-tic4x.lo): New. Disable -Werror. + (coff-tic54x.lo): Likewise. + * Makefile.in: Regenerated. + +2010-08-12 Todd Veldhuizen <todd.veldhuizen@logicblox.com> + + PR ld/11843 + * elflink.c (compute_bucket_count): Avoid futile long searches for + the best bucket size. + +2010-08-09 Richard Henderson <rth@redhat.com> + + PR ld/11891 + * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Disallow relaxing + to tlshi/lo until pos0 and pos1 are adjacent. Use the destination + register from the tldgd insn. + +2010-08-09 Catherine Moore <clm@codesourcery.com> + + * elfxx-mips.c (mips_elf_perform_relocation): Improve + interlinking error message. + +2010-08-06 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ha_reloc_match): Allow matches to other than r2. + (ppc64_elf_relocate_section): Nop out high part insn of large toc + code sequence when the high part of offset is zero. + +2010-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_build_fixups): Write the EICP. + (alpha_vms_bfd_final_link): Explicitly forbid relocatable links. + Clear the SEC_RELOC flag. + +2010-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_create_eisd_for_section): Make writable + sections with relocs. + (alpha_vms_add_fixup_lp): Set SEC_RELOC flag. + (alpha_vms_add_fixup_ca): Ditto. + (alpha_vms_add_fixup_qr): Ditto. + Add comments. + +2010-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make + CODE sections writable. + +2010-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_add_lw_fixup): Renamed to ... + (alpha_vms_add_fixup_lr): ... this for consistency. + (alpha_vms_add_qw_fixup): Removed. + Fix some comments. + (vms_get_symbol_info): Adjust type for unknown sections. + +2010-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_egsd): Use the canonical absolute + section for any absolute section. Remove some debugging code. + +2010-08-03 DJ Delorie <dj@redhat.com> + + * elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * vms-misc.c (vms_convert_to_var): Make it static. + (_bfd_vms_convert_to_var_unix_filename): Make it public. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (OBJS): Update list. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS + nor SEC_RELOC for empty sections. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (evax_section_flags): Fix flags for absolute + section. Remove useless parenthesis. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_lib_bread_raw): Change type of BUF argument. + (vms_lib_bread, vms_lib_bopen): Adjust. + +2010-08-02 Alan Modra <amodra@gmail.com> + + PR 11866 + * elf.c (assign_file_positions_for_load_sections): Use p_vaddr to + calculate off_adjust rather than first section vma. + +2010-07-30 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info. + +2010-07-30 Anthony Green <green@moxielogic.com> + + * config.bfd (targ_cpu): Add moxie-*-rtems support. + +2010-07-29 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Always adjust local syms in + .toc section, even when none are used in relocs. + +2010-07-27 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.h: Include "elf/mips.h". + (gprel16_reloc_p): New static inline function. + * elfxx-mips.c (_bfd_mips_elf_check_relocs) + [R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]: + Use got16_reloc_p. + (_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use + gprel16_reloc_p. + * elf32-mips.c (mips_info_to_howto_rel): Likewise. + * elfn32-mips.c (mips_info_to_howto_rel): Likewise. + +2010-07-27 Maciej W. Rozycki <macro@codesourcery.com> + + * elf64-mips.c (mips_elf64_howto_table_rela) + [R_MIPS_TLS_DTPMOD64]: Clear partial_inplace. + [R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. + [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. + [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise. + [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. + * elfn32-mips.c (elf_mips_howto_table_rela) + [R_MIPS_TLS_DTPMOD32]: Likewise. + [R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. + [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. + [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise. + [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. + +2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> + Ina Pandit <ina.pandit@kpitcummins.com> + + * archures.c (DESCRIPTION): Define bfd_mach_v850e2 and + bfd_mach_v850e2v3. + * reloc.c (bfd_architecture): Define bfd_mach_v850e2 and + bfd_mach_v850e2v3. + (BFD_RELOC_V850_16_PCREL, BFD_RELOC_V850_17_PCREL, + BFD_RELOC_V850_22_PCREL, BFD_RELOC_V850_23, + BFD_RELOC_V850_32_PCREL, BFD_RELOC_V850_32_ABS, + BFD_RELOC_V850_16_SPLIT_OFFSET, BFD_RELOC_V850_16_S1, + BFD_RELOC_V850_LO16_SPLIT_OFFSET, BFD_RELOC_V850_SDA_15_16_OFFSET, + BFD_RELOC_V850_ZDA_16_16_OFFSET, BFD_RELOC_V850_CALLT_15_16_OFFSET, + BFD_RELOC_V850_32_GOTPCREL, BFD_RELOC_V850_16_GOT, + BFD_RELOC_V850_32_GOT, BFD_RELOC_V850_22_PLT_PCREL, + BFD_RELOC_V850_32_PLT_PCREL, BFD_RELOC_V850_COPY, + BFD_RELOC_V850_GLOB_DAT, BFD_RELOC_V850_JMP_SLOT, + BFD_RELOC_V850_RELATIVE, BFD_RELOC_V850_16_GOTOFF, + BFD_RELOC_V850_32_GOTOFF, BFD_RELOC_V850_CODE, + BFD_RELOC_V850_DATA): New relocations for V850 target. + * config.bfd: Match all v850 targets. + * cpu-v850.c (arch_info_struct): Define V850e2 and V850e2v3. + * elf32-v850.c (v850_elf_check_relocs): Check the newly added + relocations. + (v850_elf_perform_relocation ): Update the newly added + relocations. + (v850_elf_howto_t): Update the specifications of added + relocations. + (v850_elf_reloc_map): Update the relocation mappings. + (v850_elf_final_link_relocate): Maps added relocation into the + appropriate howto structure. + (v850_elf_object_p): Add support for V850E2 and V850E2V3. + (v850_elf_final_write_processing): Likewise. + (v850_elf_merge_private_bfd_data): Likewise. + (v850_elf_print_private_bfd_data): Likewise. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2010-07-23 Alan Modra <amodra@gmail.com> + + * archive.c (_bfd_archive_bsd44_construct_extended_name_table): + Correct format specifier. + +2010-07-22 Alan Modra <amodra@gmail.com> + + * ecoff.c: Don't include aout/ranlib.h. + (_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs. + (_bfd_ecoff_write_armap): Output ar_date and ar_size using + _bfd_ar_spacepad. + +2010-07-22 Alan Modra <amodra@gmail.com> + + * aoutx.h (some_aout_object_p): Don't set EXEC_P for files with + relocs. + +2010-07-20 Alan Modra <amodra@gmail.com> + + * elf.c (assign_file_positions_for_load_sections): Check that + zero size sections are allocated in segments too. + (assign_file_positions_for_non_load_sections): Warn if zero + size alloc sections are found here. + (copy_elf_program_header): Don't drop zero size sections from + segment map. + (copy_private_bfd_data): Check for changes in zero size sections. + +2010-07-17 Alan Modra <amodra@gmail.com> + + * elf.c (_bfd_elf_map_sections_to_segments): Force new segment + for sections with overlapping LMAs. + (assign_file_positions_for_load_sections): Catch overlap for + sections that wrap around the address space. Replace a + warning that duplicates ld's --check-sections error with a + warning that lma has been adjusted for overlapping sections. + +2010-07-14 Cary Coutant <ccoutant@google.com> + + PR ld/11817 + * dwarf2.c (read_section): Revert patch for compressed debug sections. + (find_line): Likewise. + (read_and_uncompress_section): Remove. + +2010-07-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11812 + * elf32-i386.c (elf_i386_size_dynamic_sections): Don't + allocate .got.plt section if there are no GOT nor PLT + entries. + * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. + +2010-07-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11791 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support + garbage collection against STT_GNU_IFUNC symbols. + + * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set + elf.plt.offset/elf.got.offset to -1. + (elf_i386_tls_transition): Skip TLS transition for functions. + (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols. + + * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set + elf.plt.offset/elf.got.offset to -1. + (elf64_x86_64_tls_transition): Skip TLS transition for functions. + (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols. + +2010-07-12 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Re-indent. + (elf_i386_relocate_section): Likewise. + +2010-07-06 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2.c (add_line_info): Initialize prev_line. + +2010-07-06 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_relax_section): Insert branch around + trampolines only for .init and .fini sections. + +2010-07-05 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c: Formatting. + (ppc_elf_finish_dynamic_sections): Don't make plt_entry var static. + +2010-07-03 Cary Coutant <ccoutant@google.com> + + * compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. + * dwarf2.c (read_and_uncompress_section): New function. + (read_section): Call it. + (find_line): Likewise. + +2010-07-01 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL rather + than SYMBOL_REFERENCES_LOCAL. + (ppc64_elf_relocate_section): Likewise. + +2010-07-01 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * cpu-maxq.c: Delete file. + * coff-maxq.c: Delete file. + * Makefile.am: Remove references to maxq. + * archures.c: Likewise. + * coffcode.h: Likewise. + * configure.in: Likewise. + * targets.c: Likewise. + * config.bfd: Move maxq from obsolete to removed. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2010-06-28 Alan Modra <amodra@gmail.com> + + * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSED + to silence gcc warning. + +2010-06-27 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (get_tls_mask): Don't segfault on NULL elf_section_data. + (group_sections): Likewise. + +2010-06-27 Alan Modra <amodra@gmail.com> + + * bout.c (aligncode): Delete set but unused variables. + * coff-mcore.c (coff_mcore_relocate_section): Likewise. + * coff-ppc.c (ppc_record_toc_entry): Likewise. + (coff_ppc_relocate_section): Likewise. + * coff-rs6000.c (xcoff_complain_overflow_bitfield_func): Likewise. + * elf-m10200.c (mn10200_elf_relax_delete_bytes): Likewise. + * elf-m10300.c (mn10300_elf_final_link_relocate): Likewise. + (mn10300_elf_relax_section): Likewise. + * elf32-arm.c (arm_build_one_stub, arm_size_one_stub): Likewise. + (record_vfp11_erratum_veneer): Likewise. + (bfd_elf32_arm_vfp11_erratum_scan): Likewise. + (elf32_arm_final_link_relocate): Likewise. + (elf32_arm_check_relocs, arm_map_one_stub): Likewise. + * elf32-avr.c (elf32_avr_relax_delete_bytes): Likewise. + (elf32_avr_relax_section): Likewise. + (avr_mark_stub_not_to_be_necessary): Likewise. + * elf32-bfin.c (_bfin_create_got_section): Likewise. + * elf32-cr16.c (cr16_elf_final_link_relocate): Likewise. + (elf32_cr16_relax_delete_bytes): Likewise. + * elf32-cr16c.c (cr16c_elf_final_link_relocate): Likewise. + * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. + * elf32-crx.c (elf32_crx_relax_delete_bytes): Likewise. + * elf32-h8300.c (elf32_h8_relax_section): Likewise. + (elf32_h8_relax_delete_bytes): Likewise. + * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. + * elf32-i370.c (i370_elf_check_relocs): Likewise. + (elf_relocate_section): Likewise. + * elf32-ip2k.c (adjust_all_relocations): Likewise. + (ip2k_elf_relax_section): Likewise. + * elf32-lm32.c (lm32_elf_relocate_section): Likewise. + (lm32_elf_check_relocs): Likewise. + (lm32_elf_finish_dynamic_sections): Likewise. + (lm32_elf_finish_dynamic_symbol): Likewise. + * elf32-m32c.c (m32c_offset_for_reloc): Likewise. + (m32c_elf_relax_delete_bytes): Likewise. + * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise. + (m32r_elf_finish_dynamic_sections): Likewise. + (m32r_elf_check_relocs, m32r_elf_fake_sections): Likewise. + * elf32-m68hc11.c (m68hc11_elf_relax_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. + * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. + (microblaze_elf_check_relocs): Likewise. + (microblaze_elf_finish_dynamic_symbol): Likewise. + * elf32-msp430.c (msp430_elf_relax_delete_bytes): Likewise. + * elf32-ppc.c (ppc_elf_tls_optimize): Likewise. + * elf32-rx.c (rx_elf_relocate_section): Likewise. + (elf32_rx_relax_delete_bytes, rx_offset_for_reloc): Likewise. + (elf32_rx_relax_section): Likewise. + * elf32-score.c (score_elf_got_offset_from_index): Likewise. + (score_elf_final_link_relocate): Likewise. + (s3_bfd_score_elf_relocate_section): Likewise. + * elf32-score7.c (score_elf_got_offset_from_index): Likewise. + (s7_bfd_score_elf_relocate_section): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf32-spu.c (spu_elf_relocate_section): Likewise. + * elf32-v850.c (v850_elf_check_relocs): Likewise. + (find_remembered_hi16s_reloc): Likewise. + * elf32-vax.c (elf32_vax_merge_private_bfd_data): Likewise. + (elf_vax_relocate_section): Likewise. + * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. + * elf32-xtensa.c (xlate_offset_with_removed_text): Likewise. + (move_literal): Likewise. + * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. + (elf64_hppa_check_relocs): Likewise. + (elf64_hppa_finish_dynamic_symbol): Likewise. + (elf64_hppa_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_reloc, mmix_elf_relax_section): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. + (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Likewise. + * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. + (elfNN_vms_section_from_shdr): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + (_bfd_sparc_elf_relocate_section): Likewise. + * hp300hpux.c (slurp_symbol_table): Likewise. + * i386lynx.c (swap_std_reloc_out, swap_std_reloc_in): Likewise. + * mach-o.c (bfd_mach_o_write_thread): Likewise. + * mmo.c (mmo_scan, mmo_write_symbols_and_terminator): Likewise. + * nlm32-sparc.c (nlm_sparc_read_reloc): Likewise. + * pdp11.c (pdp11_aout_link_input_section): Likewise. + (aout_link_input_section, aout_link_input_bfd): Likewise. + * pe-mips.c (mips_swap_reloc_out): Likewise. + (coff_pe_mips_relocate_section): Likewise. + * som.c (som_bfd_ar_write_symbol_stuff): Likewise. + * vms-alpha.c (_bfd_vms_slurp_egsd): Likewise. + * xsym.c (bfd_sym_fetch_type_information_table_ent): Likewise. + + * coff-i860.c (i860_reloc_processing): Avoid set but unused warning. + * coffcode.h (coff_compute_section_file_positions): Likewise. + (coff_slurp_reloc_table): Likewise. + * cpu-arm.c (arm_check_note): Likewise. + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-bfin.c (elf32_bfin_merge_private_bfd_data): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-moxie.c (moxie_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-sh64.c (_bfd_sh_align_load_span): Likewise. + * ieee.c (parse_expression): Likewise. + (ieee_slurp_external_symbols, drop_int): Likewise. + * peXXigen.c (pe_print_pdata): Likewise. + * versados.c (process_esd): Likewise. + +2010-06-25 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_egsd): Check absolute section with + its flags. Create an absolute section if needed. + +2010-06-25 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_egsd): Set target_index field of + sections. Mark .vmsdebug section as SEC_DEBUGGING. Do not create + dummy psect anymore. Adjust. + (_bfd_vms_write_eeom): Adjust (use target_index instead of index) + (_bfd_vms_write_etir): Ditto. + (start_etir_or_etbt_record): Test for SEC_DEBUGGING instead of + section name. Adjust. + +2010-06-25 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_write_exec): Set linktime field. + +2010-06-25 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (toc_skip_enum): Define. + (ppc64_elf_edit_toc): Use two low bits of skip array as markers. + Optimize largetoc sequences. + (adjust_toc_syms): Update for skip array change. + (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT. + +2010-06-25 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (is_static_defined): New function. + (get_tls_mask, ppc_type_of_stub): Use it here. + (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input. + (ppc64_elf_tls_setup): Typo fix. + (adjust_toc_syms): Correctly handle symbols defined past the end + of the toc. Move syms on removed entries to next entry rather + than to start of toc. + (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to + edit ppc64 input. Allocate one extra word in skip array. + Honour info->keep_memory when reading relocs if we can. + Adjust toc relocs after adjusting symbols. + +2010-06-23 Nathan Sidwell <nathan@codesourcery.com> + + * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun + when scaning map. + +2010-06-17 Tristan Gingold <gingold@adacore.com> + + * Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ... + (BFD64_BACKENDS_CFILES): ... here. + (BFD32_BACKENDS): Move vms-alpha.lo to ... + (BFD64_BACKENDS): ... here. + * Makefile.in: Regenerate. + +2010-06-15 Joseph Myers <joseph@codesourcery.com> + + * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2. + * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type, + elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes, + elf32_tic6x_merge_private_bfd_data): New. + (bfd_elf32_bfd_merge_private_bfd_data, + elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section, + elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor): + Define. + * elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare. + +2010-06-15 Joseph Myers <joseph@codesourcery.com> + + * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define. + (struct elf_backend_data): Update comment on obj_attrs_order. + * elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents, + _bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE + instead of hardcoded 4. + * elf32-arm.c (elf32_arm_obj_attrs_order): Use + LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1 + instead of hardcoded 4 and 5. + (elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE + instead of hardcoded 4. + +2010-06-14 Kevin Buettner <kevinb@redhat.com> + + * elf32-h8300.c (elf_symbol_leading_char): Define. + +2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * vms-alpha.c (_bfd_vms_write_egsd): Make sname const. + +2010-06-11 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute + sections to 0. + +2010-06-11 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (evax_bfd_print_etir): Handle ETIR__C_STO_GBL_LW. + +2010-06-11 Tristan Gingold <gingold@adacore.com> + + * vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const. + Adjust cast. + (_bfd_vms_output_dump): Make DATA argument const, adjust cast. + * vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust. + * vms-alpha.c (evax_section_flags): Make it const. + (vms_secflag_by_name): Remove unused ABFD argument. + Make SECTION_FLAGS and NAME arguments const. Clarify comment. + (vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const. + (_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name. + (_bfd_vms_write_egsd): Remove useless cast. + +2010-06-10 Tristan Gingold <gingold@adacore.com> + + * config.bfd: Remove #if/#endif so that som can be compiled on any + host. + * targets.c (_bfd_target_vector): Remove #if/#endif so that som + can be used on any host. + +2010-06-10 Tristan Gingold <gingold@adacore.com> + + * som.c: Can now be compiled on any host. + Include bfd headers instead of system one. + (som_compute_checksum): Parameter is now a pointer to a + som_external_header structure. Adjust. + (struct section_to_type): Field section is now const. + (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional + definition. + (R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto. + (R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto. + (som_swap_clock_in, som_swap_clock_out): New functions. + (som_swap_header_in, som_swap_header_out): Likewise. + (som_swap_space_dictionary_in): Likewise. + (som_swap_space_dictionary_out): Likewise. + (som_swap_subspace_dictionary_in): Likewise. + (som_swap_subspace_dictionary_record_out): Likewise. + (som_swap_aux_id_in, som_swap_aux_id_out): Likewise. + (som_swap_string_auxhdr_out): Likewise. + (som_swap_compilation_unit_out): Likewise. + (som_swap_exec_auxhdr_in): Likewise. + (som_swap_exec_auxhdr_out): Likewise. + (som_swap_lst_header_in): Likewise. + (som_object_setup): Adjust parameter type using bfd types. + (setup_sections): Likewise. Ditto for object file types. + Use intermediate variables for external representation and use the + swap functions to convert. + (som_object_p): Ditto. Remove #ifdef/#endif on always defined + macros. + (som_prep_headers): Likewise. + (som_write_symbol_strings): Likewise. + (som_begin_writing): Likewise. + (som_finish_writing): Likewise. + (som_build_and_write_symbol_table): Likewise. + (bfd_section_from_som_symbol): Likewise. + (som_slurp_symbol_table): Likewise. + (som_bfd_print_private_bfd_data): Likewise. + (bfd_som_attach_aux_hdr): Likewise. Clear the padding. + (bfd_som_attach_compilation_unit): Likewise. + (som_bfd_count_ar_symbols): Likewise. + (som_bfd_fill_in_ar_symbols): Likewise. + (som_slurp_armap): Likewise. + (som_bfd_ar_write_symbol_stuff): Likewise. + (som_write_armap): Likewise. Use _bfd_ar_spacepad instead of + sprintf to write header fields. + * som.h: Include bfd headers instead of system one. + (FILE_HDR_SIZE, AUX_HDR_SIZE): Removed. + (struct somdata): Use bfd structures instead of system ones. + (struct som_section_data_struct): Likewise. + (struct som_subspace_dictionary_record): Removed (now in + include/som/internal.h) + +2010-06-10 Tristan Gingold <gingold@adacore.com> + + * targets.c (bfd_target_list): Remove hp/ux compiler work-around + as bfd requires an ANSI-C compiler. + +2010-06-09 Tristan Gingold <gingold@adacore.com> + + * bfdio.c (bfd_bread): Fix the code to prevent reading past the + end of archive members. + +2010-06-08 Tristan Gingold <gingold@adacore.com> + + * som.c (som_bfd_free_cached_info): Do not free relocations as + they were allocated with bfd_zalloc. + +2010-06-08 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment + for the first block. + +2010-06-08 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function. + * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare. + * libbfd.h: Regenerate. + * elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS. + (bfd_elfNN_mkarchive): Ditto. + +2010-06-02 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant. + +2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-06-01 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (struct vms_private_data_struct): Add + transfer_address field. Remove unused dst_info field. + (alpha_vms_write_exec): Use transfer_address. + (_bfd_vms_write_egsd): Add a comment about LIB$INITIALIZE. + (alpha_vms_bfd_final_link): Set transfer_address. + +2010-05-31 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (credat_lo, credat_hi): New fields. + (vms_read_block): Adjust comments. + (vms_write_block): New function. + (_bfd_vms_lib_archive_p): Decode majorid once. Replace some + hard-coded values with constants. Set credat_lo and credat_hi. + (_bfd_vms_lib_mkarchive): Add argument kind. + Set ver, mhd_size and type according to kind. + (_bfd_vms_lib_alpha_mkarchive): New function. + (struct lib_index): Renamed from struct vms_index + (lib_index_cmp): Renamed from vms_index_cmp. Adjusted. + (get_idxlen): Type of idx argument adjusted. Add is_elfidx + argument and handle it. + (vms_write_index): Adjust argument idx. Handle elf indexes. + (_bfd_vms_lib_build_map): Adjust type of arguments modules and res. + (_bfd_vms_lib_write_archive_contents): Add is_elfidx variable and + use it. Handle elf indexes. Set credat. + * libbfd-in.h (_bfd_vms_lib_mkarchive): Renamed to ... + (_bfd_vms_lib_alpha_mkarchive): ... this. + * libbfd.h: Regenerated. + * vms-alpha.c (vms_alpha_vec): Adjust after previous renaming. + +2010-05-28 Sterling Augustine <sterling@tensilica.com> + + * elf32-xtensa.c (elf_xtensa_relocate_section): Add a large amount + of code to change the bits in the instructions to match the changes + in the relocations. Declare dest_addr and sym_sec to help. + +2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com> + + Workaround GCC PR middle-end/4210. + * vms-misc.c (vms_time_t_to_vms_time): Use ternary operator for val[2] + and val[3]. + +2010-05-27 Tristan Gingold <gingold@adacore.com> + + * vms-misc.c: Define __NEW_STARLET. Remove trailing spaces. + (VMS_TIME_FACTOR, VMS_TIME_OFFSET): New macros. + (vms_time_to_time_t): Use them instead of local const. + (vms_time_t_to_vms_time): New function. + (vms_get_time): Likewise. + (vms_raw_get_time): Likewise. + * vms.h (vms_time_t_to_vms_time): New declaration. + (vms_get_time): Likewise. + (vms_raw_get_time): Likewise. + +2010-05-26 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c: Update comments. + (alpha_vms_write_exec): Set lnkflags. Write the GST. + (alpha_vms_link_output_symbol): New function. + (alpha_vms_bfd_final_link): Generate the VMS symbol table. + Set dst_section private field. + (alpha_vms_bfd_final_link): Remove code that set dst_section. + +2010-05-26 Tristan Gingold <gingold@adacore.com> + + * bfdio.c: Declare and define _bfd_memory_iovec. + (bfd_bread): Move code for BFD_IN_MEMORY... + (bfd_bwrite): ... Ditto ... + (bfd_tell): ... Ditto ... + (bfd_flush): ... Ditto ... + (bfd_stat): ... Ditto ... + (bfd_seek): ... Ditto ... + (bfd_get_size): ... Ditto ... + (bfd_mmap): ... Ditto ... + (memory_bread): ... to these new functions. + (memory_bwrite): Ditto. + (memory_btell): Ditto. + (memory_bseek): Ditto. + (memory_bflush): Ditto. + (memory_bstat): Ditto. + (memory_bmmap): Ditto. + (memory_bclose): New function. + * peicode.h (pe_ILF_build_a_bfd): Use BFD_IN_MEMORY. + * xcofflink.c (bfd_xcoff_link_generate_rtinit): Ditto. + * opncls.c (bfd_close): Do not handle BFD_IN_MEMORY case. + (bfd_make_writable): Use _bfd_memory_iovec. + * elfcode.h (bfd_from_remote_memory): Use _bfd_memory_iovec. + * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Use + _bfd_memory_iovec. + (alpha_ecoff_openr_next_archived_file): Use proxy_origin + instead of origin. + * libbfd.h: Regenerate. + +2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Andrew Stubbs <ams@codesourcery.com> + + * config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add + bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs. + * configure.in: Handle FDPIC vectors. + * elf32-sh-relocs.h: Add FDPIC and movi20 relocations. + * elf32-sh.c (DEFAULT_STACK_SIZE): Define. + (SYMBOL_FUNCDESC_LOCAL): Define. Use it instead of + SYMBOL_REFERENCES_LOCAL for function descriptors. + (fdpic_object_p): New. + (sh_reloc_map): Add FDPIC and movi20 relocations. + (sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid + range. + (struct elf_sh_plt_info): Add got20 and short_plt. Update all + definitions. + (FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define. + (fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New. + (FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define. + (fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le) + (fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts): + New. + (get_plt_info): Handle FDPIC. + (MAX_SHORT_PLT): Define. + (get_plt_index, get_plt_offset): Handle short_plt. + (union gotref): New. + (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to + got_type and adjust all uses. Add GOT_FUNCDESC. + (struct sh_elf_obj_tdata): Add local_funcdesc. Rename + local_got_tls_type to local_got_type. + (sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type. All + users changed. + (sh_elf_local_funcdesc): Define. + (struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p, + and srofixup. + (sh_elf_link_hash_newfunc): Initialize new fields. + (sh_elf_link_hash_table_create): Set fdpic_p. + (sh_elf_omit_section_dynsym): New. + (create_got_section): Create .got.funcdesc, .rela.got.funcdesc + and .rofixup. + (allocate_dynrelocs): Allocate local function descriptors and space + for R_SH_FUNCDESC-related relocations, and for rofixups. + Handle GOT_FUNCDESC. Create fixups. Handle GOT entries which + require function descriptors. + (sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize. + (sh_elf_modify_program_headers): New. + (sh_elf_size_dynamic_sections): Allocate function descriptors for + local symbols. Allocate .got.funcdesc contents. Allocate rofixups. + Handle local GOT entries of type GOT_FUNCDESC. Create fixups for + local GOT entries. Ensure that FDPIC libraries always have a PLTGOT + entry in the .dynamic section. + (sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc) + (sh_elf_add_rofixup, sh_elf_osec_to_segment) + (sh_elf_osec_readonly_p, install_movi20_field): New functions. + (sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC, + R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC. Use sh_elf_got_offset + and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_. Add rofixup + read-only section warnings. Handle undefined weak symbols. Generate + fixups for R_SH_DIR32 and GOT entries. Check for cross-segment + relocations and clear EF_SH_PIC. Handle 20-bit relocations. + Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE. + (sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20, + R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC. + Handle 20-bit relocations. + (sh_elf_copy_indirect_symbol): Copy function descriptor reference + counts. + (sh_elf_check_relocs): Handle new relocations. Make symbols + dynamic for FDPIC relocs. Account for rofixups. Error for FDPIC + symbol mismatches. Allocate a GOT for R_SH_DIR32. Allocate fixups + for R_SH_DIR32. + (sh_elf_copy_private_data): Copy PT_GNU_STACK size. + (sh_elf_merge_private_data): Copy initial flags. Do not clobber + non-mach flags. Set EF_SH_PIC for FDPIC. Reject FDPIC mismatches. + (sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries + here. Rename sgot to sgotplt and srel to srelplt. Handle short_plt, + FDPIC descriptors, and got20. Create R_SH_FUNCDESC_VALUE for FDPIC. + Use install_movi20_field. Rename srel to srelgot. Always generate + R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE. + (sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup. + Do not fill in reserved GOT entries for FDPIC. Correct DT_PLTGOT. + Rename sgot to sgotplt. Assert that the right number of rofixups + and dynamic relocations were allocated. + (sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New. + (elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym. + (elf_backend_can_make_relative_eh_frame) + (elf_backend_can_make_lsda_relative_eh_frame) + (elf_backend_encode_eh_address): Define. + (TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM) + (TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed): + Redefine for FDPIC vector. + * reloc.c: Add SH FDPIC and movi20 relocations. + * targets.c (_bfd_target_vector): Add FDPIC vectors. + * configure, bfd-in2.h, libbfd.h: Regenerated. + +2010-05-25 Jay Krell <jay.krell@cornell.edu> + + PR ld/11624 + * archive.c (_bfd_calloc_wrapper): New function. + (_bfd_add_bfd_to_archive_cache): Use it. + + * configure.in: Add alpha*-*-*vms* to list of natives. + * configure: Regenerate. + + * vms-misc.c: Define globalref if necessary. + (vms_convert_to_var_unix_filename): Rename to + _bfd_vms_convert_to_var_unix_filename and export. + * vms.h: Add prototype for _bfd_vms_convert_to_var_unix_filename. + * vms-alpha.c (vms_close_and_cleanup): Update invocation of + vms_convert_to_var_unix_filename. + +2010-05-24 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (add_symbol_entry): New function extrated from ... + (add_symbol): ... adjusted. + +2010-05-24 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_egsd): Fix indentation. + (alpha_vms_write_exec): Add a comment. + (_bfd_vms_write_egsd): Ditto. + (alpha_vms_convert_symbol): Remove a blank line. + +2010-05-21 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section + for the GST. + +2010-05-21 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_eisd): Set SEC_HAS_CONTENTS and + SEC_LOAD if isect has data. + (vms_get_symbol_info): Refine the condition for 'T' type. + +2010-05-18 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_emh): New function. + (_bfd_vms_write_lmn): New function. + (_bfd_vms_write_eeom): Moved. + (hash_string): Likewise. + (_bfd_vms_length_hash_symbol): Likewise. + (_bfd_vms_write_ehdr): Code moved to _bfd_vms_write_emh + and _bfd_vms_write_lmn, and call these functions. + +2010-05-18 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (evax_bfd_print_dst): Handle INCR_LINUM_L. + Add details in the messages. + (evax_bfd_print_image): Change message. + +2010-05-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11600 + * elf.c (_bfd_elf_make_section_from_shdr): Handle SHF_EXCLUDE + (elf_fake_sections): Likewise. + + * elf32-i370.c (i370_elf_section_from_shdr): Don't handle + SHF_EXCLUDE here. + * elf32-ppc.c (ppc_elf_fake_sections): Likewise. + +2010-05-17 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c: Include esgps.h and eidc.h. + (_bfd_vms_slurp_egsd): Ignore SPSC and IDC sub-records. + (evax_bfd_print_egsd_flags): New function, extracted from ... + (evax_bfd_print_egsd): ..., calls evax_bfd_print_egsd_flags. Handles + EGSD__C_SPSC and EGSD__C_IDC. + +2010-05-14 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_object_p): Accept header size of 0. + (_bfd_vms_get_object_record): Handle align byte only in the + foreign case. + +2010-05-14 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_ia64_archive_p): New function. + * libbfd-in.h (_bfd_vms_lib_ia64_archive_p): Add prototype. + * libbfd.h: Regenerate. + * configure.in (havevecs): Define HAVE_all_vecs when + --enable-targets=all is set. Use AC_SUBST on it. + (tdefaults): Do not add havevecs. + (bfd_elf64_ia64_vms_vec): Add vms-lib.lo and vms-misc.lo + * configure: Regenerate. + * Makefile.am (HAVEVECS): New variable. + (INCLUDES): Add HAVEVECS. + * Makefile.in: Regenerate. + * elfxx-ia64.c (INCLUDE_IA64_VMS): New macro, defined if vms + target is selected. Add #ifdef/#endif around vms specific code. + (bfd_elfNN_archive_p, bfd_elfNN_archive_slurp_armap, + bfd_elfNN_archive_slurp_extended_name_table, + bfd_elfNN_archive_construct_extended_name_table, + bfd_elfNN_archive_truncate_arname, + bfd_elfNN_archive_write_armap, + bfd_elfNN_archive_read_ar_hdr, + bfd_elfNN_archive_write_ar_hdr, + bfd_elfNN_archive_openr_next_archived_file, + bfd_elfNN_archive_get_elt_at_index, + bfd_elfNN_archive_generic_stat_arch_elt, + bfd_elfNN_archive_update_armap_timestamp): Define to use vms archives. + +2010-05-11 Jie Zhang <jie@codesourcery.com> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge + Tag_ABI_HardFP_use correctly. + +2010-05-11 Alan Modra <amodra@gmail.com> + + * coffcode.h (coff_write_object_contents): Enclose all occurrences + of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE. + +2010-05-07 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (struct a8_erratum_reloc): Add hash member. Move + sym_name to improve packing. + (cortex_a8_erratum_scan): Check for PLT entries. + (elf32_arm_size_stubs): Save the target symbol for a8 relocs. + +2010-05-07 Tristan Gingold <gingold@adacore.com> + + * Makefile.in: Regenerate with automake 1.11.1. + * aclocal.m4: Ditto. + +2010-05-05 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2010-05-03 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_lib_bopen): Fix the size threshold to read + selective_search flag. + Add comments. + * vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section + before output_has_begun is set. + +2010-05-03 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c: Add comments. + (struct vms_private_data_struct): Remove image_autoextend field. + (dst_check_allocation): Removed. + (image_write): Remove call to dst_check_allocation. + (vms_slurp_debug): Do not set image_autoextend. Adjust section + size. + (_bfd_vms_slurp_object_records): Remove useless new_type variable. + (alpha_vms_write_exec): Use dst_section to get the dst section. + Write the dmt section. + (evax_bfd_print_image): Also print the dst size in hexa. Fix typo. + (alpha_vms_read_sections_content): Do not set image_autoextend. + (alpha_vms_bfd_final_link): Generate the dst. + +2010-05-03 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty + next array. + (vms_lib_dcx): Adjust for the above change. + +2010-04-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11542 + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New. + + * elf32-i386.c (elf_i386_relocate_section): Use it. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + +2010-04-30 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_read_block): New function. + (vms_traverse_index): Use vms_read_block. Handle long key names. + +2010-04-30 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms + and syms removed. + (struct carsym_mem): New structure. + (vms_add_index): New function. + (vms_add_indexes_from_list): New function. + (vms_traverse_index): Parameter carsym changed to carsym_mem. + Code adjusted to handle elfidx. + (vms_lib_read_index): Adjusted for vms_traverse_index changes. + Parameter NBREL is now a pointer. + (_bfd_vms_lib_archive_p): Adjust for above change. Handle ia64 + archives. + (_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata. + (_bfd_vms_lib_find_symbol): Ditto. + (vms_lib_bopen): Fix two typos: return FALSE in case of error, + check MHD id. + (_bfd_vms_lib_get_module): New function. + (_bfd_vms_lib_get_elt_at_index): Rewritten using the above + function. + (_bfd_vms_lib_openr_next_archived_file): Use _bfd_vms_lib_get_module. + (_bfd_vms_lib_generic_stat_arch_elt): Handle ia64 archives. + (vms_write_index): Adjust for structure renamed. + * vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for + changes of _bfd_vms_lib_find_symbol. + +2010-04-28 Kai Tietz <kai.tietz@onevision.com> + + * config.bfd: Correct accidential reverted patch + about vax*-*-*vms*. + +2010-04-27 Kai Tietz <kai.tietz@onevision.com> + + * pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent + to USE_MINGW64_LEADING_UNDERSCORES. + * pei-x86_64.c (TARGET_UNDERSCORE): Likewise. + * config.bfd: Change underscoring default for x64 mingw + to false. + * coffcode.h (coff_write_relocs): Add check that dereferenced + sym_ptr_ptr isn't NULL. + * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. + * configure: Regenerated. + * configure.in: Add option '--enable-leading-mingw64-underscores' + and define config.in variable USE_MINGW64_LEADING_UNDERSCORES. + +2010-04-27 Nick Clifton <nickc@redhat.com> + + PR binutils/11512 + * coffgen.c (coff_find_nearest_line): Incldue the section address + of function name symbols in address comparisons. + +2010-04-27 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2010-04-23 Alan Modra <amodra@gmail.com> + + * elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and + ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT + throughout file. + (assign_file_positions_for_load_sections): Modify section in + segment warning to ignore overlay vmas. + * elf32-spu.c (spu_elf_object_p): Replace use of + ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT. + +2010-04-22 Nick Clifton <nickc@redhat.com> + + * po/bfd.pot: Updated by the Translation project. + * po/vi.po: Updated Vietnamese translation. + +2010-04-22 Alan Modra <amodra@gmail.com> + + * elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29 + change. Tidy. Don't error on sections not allocated in segment. + +2010-04-15 Andrew Haley <aph@redhat.com> + + * bfd-in.h (elf32_arm_fix_exidx_coverage): Add new flag: + merge_exidx_entries. + * bfd-in2.h: Likewise. + * elf32-arm.c (elf32_arm_fix_exidx_coverage): Likewise. Use it to + control merging of exidx entries. + +2010-04-20 Joseph Myers <joseph@codesourcery.com> + + * elf32-tic6x.h: New. + * elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA. + * elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata, + elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel, + elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject, + elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p, + bfd_elf32_mkobject, bfd_elf32_new_section_hook): New. + (elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup, + elf32_tic6x_relocate_section): Handle REL relocations. + (elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel. + +2010-04-20 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.c (find_abstract_instance_name, scan_unit_for_symbols): Treat + DW_AT_linkage_name the same as DW_AT_MIPS_linkage_name. + +2010-04-19 Nick Clifton <nickc@redhat.com> + + * archive64.c (bfd_elf64_archive_slurp_armap): Remove unused + arhdrpos variable. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Add unused + attribute to warned variable. Remove unused val, type and type2 + variables. + +2010-04-16 Andreas Schwab <schwab@redhat.com> + + * vms-alpha.c (alpha_vms_link_add_object_symbols): Avoid breaking + strict-aliasing rules. + +2010-04-16 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_slurp_eihd): Fix typo. + (_bfd_vms_get_object_record): Always assume there is a pad byte + for alignment. + + * vms-lib.c: Add a few comments. + +2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Support additions to + attributes in v2.08 of the ABI. + +2010-04-15 Alan Modra <amodra@gmail.com> + + * config.bfd (vax*-*-*vms*): Delete. + +2010-04-14 Tristan Gingold <gingold@adacore.com> + + * Makefile.am (BFD32_BACKENDS): Remove vms-gsd.lo, vms-hdr.lo, + vms-tir.lo, vms.lo and add vms-alpha.lo + (BFD32_BACKENDS_CFILES): Remove vms-gsd.c, vms-hdr.c, + vms-tir.c, vms.c and add vms-alpha.c + * Makefile.in: Regenerate. + * configure.in (TDEFINES): Adjust file list for vms_alpha_vec. + Remove vms_vax_vec. + * configure: Regenerate. + * targets.c (vms_vax_vec): Remove the declaration. + (_bfd_target_vector): Remove vms_vax_vec. + * vms-alpha.c: New file. + * vms-gsd.c: Removed, rewritten in vms-alpha.c + * vms-hdr.c: Ditto. + * vms-tir.c: Ditto. + * vms.c: Ditto. + * vms-misc.c: Fix indentation and comments. Replace most of + #if VMS_DEBUG/vms_debug with vms_debug2. + (_bfd_vms_hash_newfunc): Moved to vms-alpha.c + (hash_string): Ditto. + (_bfd_vms_length_hash_symbol): Ditto. + (maybe_adjust_record_pointer_for_object): Ditto. + (_bfd_vms_get_object_record): Ditto. + (vms_get_remaining_object_record): Ditto. + (_bfd_vms_push): Ditto. + (_bfd_vms_pop): Ditto. + (_bfd_vms_get_header_values): Removed. + (_bfd_vms_get_first_record): Removed. + (vms_get_remaining_image_record): Removed. + (new_symbol): Removed. + (_bfd_vms_enter_symbol): Removed. + (_bfd_vms_save_sized_string): Use memcpy instead of strncpy. + (_bfd_vms_output_begin): Remove rechead parameter. Replace bfd + parameter with struct vms_rec_wr. + (_bfd_vms_output_push): Removed and replaced by ... + (_bfd_vms_output_begin_subrec): ... new function. + (_bfd_vms_output_alignment): Replace bfd parameter with + struct vms_rec_wr, and adjust. + (_bfd_vms_output_check): Ditto + (_bfd_vms_output_byte): Ditto. + (_bfd_vms_output_short): Ditto. + (_bfd_vms_output_long): Ditto. + (_bfd_vms_output_quad): Ditto. + (_bfd_vms_output_counted): Ditto. + (_bfd_vms_output_dump): Ditto. + (_bfd_vms_output_fill): Ditto. + (_bfd_vms_output_pop): Removed and replaced by ... + (_bfd_vms_output_end_subrec): ... new function. + (_bfd_vms_output_flush): Removed. + (_bfd_vms_output_align): New function. + (_bfd_vms_output_end): Add recwr parameter. Adjust for this new + parameter. + (vms_convert_to_var): New function imported from vms.c + (vms_convert_to_var_1): Ditto. + (vms_convert_to_var_unix_filename): Ditto. + (vms_get_module_name): Ditto. + (get_vms_time_string): Ditto. + (vms_time_to_time_t): Ditto. + (vms_rawtime_to_time_t): Ditto. + * vms.h: All macros for the VMS file format are now in include/vms. + Prototypes for vms.c, vms-gsd.c, vms-misc.c, vms-hdr.c, vms-tir.c + have been removed. + (struct vms_symbol_struct, struct stack_struct): Moved to vms-alpha.c + (struct fileinfo, struct srecinfo, struct lineinfo): Ditto. + (struct funcinfo, struct vms_private_data_struct): Ditto. + (struct vms_section_data_struct): Ditto. + (struct vms_rec_rd, stryct vms_rec_wr): New declarations. + (vms_get_module_name, get_vms_time_string): New declarations. + (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. + (_bfd_vms_output_begin_subrec, _bfd_vms_output_end_subrec): Ditto. + (_bfd_vms_save_sized_string, _bfd_vms_save_counted_string): Adjusted. + (_bfd_vms_output_begin, _bfd_vms_output_alignment): Ditto. + (_bfd_vms_output_end,_bfd_vms_output_check): Ditto. + (_bfd_vms_output_byte, _bfd_vms_output_short): Ditto. + (_bfd_vms_output_long, _bfd_vms_output_quad): Ditto. + (_bfd_vms_output_counted, _bfd_vms_output_dump): Ditto. + (_bfd_vms_output_fill): Ditto. + (bfd_vms_set_section_flags): Ditto. + +2010-04-14 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early + exit due to merging the same weak symbol to test that the symbols are + actually weak. + +2010-04-13 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_relocate_section): Correct NOP location + when optimizing high got_tlsgd/ld insns. + +2010-04-10 H.J. Lu <hongjiu.lu@intel.com> + + * hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before + define. + (HAVE_PRSTATUS32_T): Likewise. + +2010-04-10 H.J. Lu <hongjiu.lu@intel.com> + + PR corefiles/11467 + * configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h + for x86_64-*-linux*. + * config.in: Regenerated. + * configure: Likewise. + + * elf.c: Include CORE_HEADER if it is defined. + +2010-04-10 H.J. Lu <hongjiu.lu@intel.com> + Jan Kratochvil <jan.kratochvil@redhat.com> + + * hosts/x86-64linux.h: New. + +2010-04-09 Nick Clifton <nickc@redhat.com> + + * aoutx.h (aout_link_input_bfd): Remove unused variable sym_count. + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Remove unused + variables htab and hdr_info and mark info parameter as unused. + * elf.c (prep_headers): Remove unused variable i_phdrp. + (_bfd_elf_write_object_contents): Remove unused variable i_ehdrp. + * elf32-i386.c (elf_i386_relocate_section): Mark variabled warned + as unused. + * peXXigen.c (pe_print_reloc): Remove unused variable datasize. + * verilog.c (verilog_write_section): Remove unused variable + address. + +2010-04-07 Alan Modra <amodra@gmail.com> + + * warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above. + * configure: Regenerate. + +2010-04-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11434 + * elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally. + +2010-04-06 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags. + +2010-04-05 Jakub Jelinek <jakub@redhat.com> + + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4 + provided that it has the expected address size and zero segment + length. + + * dwarf2.c (struct line_head): Add maximum_ops_per_insn field. + (struct line_info): Add op_index field, change end_sequence type to + unsigned char. + (new_line_sorts_after): For the same address compare op_index. + (add_line_info): Add op_index argument, store it into the structure. + (decode_line_info): Complain about unknown versions of .debug_line. + Initialize maximum_ops_per_insn. Add op_index state register and + track it. + +2010-04-01 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (apuinfo_set): New static var. + (ppc_elf_begin_write_processing): Set it here, always create an + APUinfo section if there were any in the inputs. + (ppc_elf_write_section): Check apuinfo_set. + (ppc_elf_final_write_processing): Likewise. + +2010-04-01 Tristan Gingold <gingold@adacore.com> + + * vms.h: Include time.h. Add prototypes for vms_get_module_name, + vms_time_to_time_t and vms_rawtime_to_time_t. + * vms.c (vms_alpha_vec): Add archives support. + * vms-misc.c: Include safe-ctype.h + (vms_get_module_name): New function. + (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto. + * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the + vms_get_module_name function. Use this function. + * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector. + * libbfd-in.h: Add prototype for _bfd_append_relative_path. + Add prototypes for vms-lib.c + * libbfd.h: Regenerate. + * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add + vms-lib.lo to vms_alpha_vec. + * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*. + * configure: Regenerate. + * bfd.c: Add selective_search field. + * bfd-in2.h: Regenerate. + * archive.c (append_relative_path): Rename to + _bfd_append_relative_path and make it public. + (_bfd_get_elt_at_filepos): Adjust for above renaming. + * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo + (BFD32_BACKENDS_CFILES): Add vms-lib.c + * Makefile.in: Regenerate. + +2010-04-01 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.c (read_attribute_value): Handle CU version 4 + for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc + and DW_FORM_flag_present. For unknown form value return NULL. + (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc + like DW_FORM_block. + (parse_comp_unit): Allow CU version 4. + +2010-04-01 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section): Correct first argument + to _bfd_elf_get_dynamic_reloc_section. + (elf_cris_discard_excess_dso_dynamics): Ditto. + +2010-03-31 Kai Tietz <kai.tietz@onevision.com> + + * coff-i386.c (in_reloc_p): Check also for R_SECREL32. + * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL. + +2010-03-31 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized + TPREL16_HI and TPREL16_HA insns. + +2010-03-31 Hans-Peter Nilsson <hp@axis.com> + + PR ld/11458 + * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid + assert of empty pcrel_relocs_copied on the direct symbol. Instead + of moving the list from the indirect symbol to the direct symbol, + merge into any existing list. + (cris_elf_check_relocs): Store the original section in the + pcrel_relocs_copied list, not the relocation section. + (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find + the relocation section, for reducing its size. Change the + BFD_ASSERT into a check for the section being read-only, and only + emit warnings and TEXTREL marker when there's an entry for a + read-only section. + +2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (using_thumb_only): Handle v6-M. + +2010-03-26 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative. + * bfd-in.h (elf_discarded_section): Clarify comment. + * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. + * bfd-in2.h: Regenerate. + +2010-03-26 Matt Rice <ratmice@gmail.com> + + * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged + as unique in the armap. + +2010-03-26 Alan Modra <amodra@gmail.com> + + PR ld/11375 + * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a + possible stub on branches. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo. + (ALL_MACHINES_CFILES): Add cpu-tic6x.c. + (BFD32_BACKENDS): Add elf32-tic6x.lo. + (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c. + * Makefile.in: Regenerate. + * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New. + (bfd_archures_list): Update. + * config.bfd (tic6x-*-elf): New. + * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): + New. + * configure: Regenerate. + * cpu-tic6x.c, elf32-tic6x.c: New. + * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12, + BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7, + BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16, + BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B, + BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W, + BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B, + BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W, + BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H, + BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W, + BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W, + BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31, + BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN, + BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New. + * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. + (_bfd_target_vector): Update. + * bfd-in2.h, libbfd.h: Regenerate. + +2010-03-24 H.J. Lu <hongjiu.lu@intel.com> + + * aout-target.h: Update copyright year. + * aout-tic30.c: Likewise. + * coff-alpha.c: Likewise. + * coff-rs6000.c: Likewise. + * coff64-rs6000.c: Likewise. + * elf64-mips.c: Likewise. + * ieee.c: Likewise. + * libecoff.h: Likewise. + * mach-o-target.c: Likewise. + * mach-o.c: Likewise. + * oasys.c: Likewise. + * targets.c: Likewise. + +2010-03-24 H.J. Lu <hongjiu.lu@intel.com> + + * libbfd-in.h: Update copyright year. + +2010-03-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11413 + * elflink.c (_bfd_elf_add_default_symbol): Check !executable + instead of shared. + +2010-03-19 Jie Zhang <jie@codesourcery.com> + + * elf32-arm.c (struct section_list): Remove. + (section_list): Remove typedef. + (record_section_with_arm_elf_section_data): Remove. + (find_arm_elf_section_entry): Remove. + (get_arm_elf_section_data): Use is_arm_elf. + (unrecord_section_with_arm_elf_section_data): Remove. + (elf32_arm_new_section_hook): Don't call + record_section_with_arm_elf_section_data. + (elf32_arm_write_section): Set mapcount to -1 when + the map has been used. Don't call + unrecord_section_with_arm_elf_section_data. + (unrecord_section_via_map_over_sections): Remove. + (elf32_arm_close_and_cleanup): Remove. + (elf32_arm_bfd_free_cached_info): Remove. + (bfd_elf32_close_and_cleanup): Don't define. + (bfd_elf32_bfd_free_cached_info): Don't define. + +2010-03-18 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11396 + * libcoff-in.h (pe_tdata): Add dont_strip_reloc. + * libcoff.h: Regenerated. + + * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG + if dont_strip_reloc is set. + (_bfd_XX_bfd_copy_private_bfd_data_common): Set + dont_strip_reloc on output if there is no .reloc and + IMAGE_FILE_RELOCS_STRIPPED isn't set in input. + +2010-03-18 Wei Guozhi <carrot@google.com> + + PR gas/11323 + * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to + R_ARM_GOT_PREL. + * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2010-03-17 H.J. Lu <hongjiu.lu@intel.com> + + * reloc.c (BFD_RELOC_SPU_PIC18): Removed. + (BFD_RELOC_SPU_STUB): Likewise. + +2010-03-17 Jie Zhang <jie@codesourcery.com> + + * elf.c (assign_file_positions_for_load_sections): Avoid + overflow. + +2010-03-17 Alan Modra <amodra@gmail.com> + + PR binutils/11382 + * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using + proper type. + +2010-03-17 Alan Modra <amodra@gmail.com> + + * elf32-arm.c (cortex_a8_erratum_scan): Warning fix. + +2010-03-16 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt. + (ppc64_elf_edit_toc): Set it here. + (ha_reloc_match): New function. + (ppc64_elf_relocate_section): Optimize bigtoc insn sequences. + +2010-03-15 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function. + * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare. + +2010-03-14 Alan Modra <amodra@gmail.com> + + PR ld/11378 + * elf64-ppc.h (ppc64_elf_check_init_fini): Declare. + * elf64-ppc.c (call_check_done): Define. + (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro. + (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise. + (ppc64_elf_finish_multitoc_partition): Remove unnecessary check. + (toc_adjusting_stub_needed): Use call_check_done rather than toc_off. + Simplify return logic. Iterate over all .init and .fini fragments + by recursion. Set makes_toc_func_call here.. + (ppc64_elf_next_input_section): ..rather than here. + (check_pasted_section, ppc64_elf_check_init_fini): New functions. + +2010-03-13 Alan Modra <amodra@gmail.com> + + PR ld/11375 + * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the + function descriptor symbol if there is one, not just for plt stubs. + (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls. + +2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base + version twice. + Skip it when constructing def.vd_next. + + * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to + bfd_elf32_i386_sol2_vec. + (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2. + (elf32_bed): Redefine to elf32_i386_sol2_bed. + (elf_backend_want_plt_sym): Redefine to 1. + + * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to + bfd_elf64_x86_64_sol2_vec. + (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2. + (elf64_bed): Redefine to elf64_x86_64_sol2_bed. + (elf_backend_want_plt_sym): Redefine to 1. + + * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to + bfd_elf32_i386_sol2_vec. + Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in + targ64_selvecs. + (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec. + Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in + targ_selvecs. + + * configure.in: Handle bfd_elf32_i386_sol2_vec, + bfd_elf64_x86_64_sol2_vec. + * configure: Regenerate. + + * targets.c (bfd_elf32_i386_sol2_vec): Declare. + (bfd_elf64_x86_64_sol2_vec): Declare. + (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec, + bfd_elf64_x86_64_sol2_vec. + +2010-03-04 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program + sections. + +2010-03-04 Alan Modra <amodra@gmail.com> + + PR 11302 + * dwarf2.c (read_abbrevs): Return NULL on alloc failures. + (read_attribute_value, decode_line_info): Likewise. + (add_line_info, read_rangelist): Return FALSE on alloc failures. + (arange_add, sort_line_sequences): Likewise. + (find_abstract_instance_name): Handle failures from called funcs. + (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise. + (find_line): Realloc to a temp, and handle alloc fail. + +2010-03-03 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add + a mapping symbol to an empty section. + +2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the + return value from the call to _bfd_elf_merge_object_attributes. + +2010-03-02 Christophe Lyon <christophe.lyon@st.com> + Alan Modra <amodra@gmail.com> + + * elf32-arm.c (a8_erratum_fix): Add st_type field to record the + destination mode of the a8 stub. + (elf32_arm_link_hash_table): Add top_id field. + (elf32_arm_link_hash_table_create): Initialize top_id. + (arm_type_of_stub): Update prototype, st_type can now be updated + by this function. Actual destination address in case of PLT is + computed here, to help factorizing code. + (elf32_arm_stub_name): Update prototype, use stub_type additional + parameter to build stub name. + (elf32_arm_get_stub_entry): Update prototype, use stub_type + additional parameter to build stub entry. + (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of + put_thumb_insn/put_arm_insn as BE8 encoding is now handled later. + Call elf32_arm_final_link_relocate to process all in-stub + relocations. + (elf32_arm_setup_section_lists): Update top_id. + (cortex_a8_erratum_scan): Record stub destination mode. + (elf32_arm_size_stubs): Update call to arm_type_of_stub according + to new prototype. + (elf32_arm_final_link_relocate): Enable processing of in-stub + REL32 relocations. Rely on arm_type_of_stub to detect if a stub is + needed, enabling code factorization. + (elf32_arm_final_link): Process stub sections. + (elf32_arm_output_map_sym): Add entry to code/data map. + +2010-03-01 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and + h->def_regular, set h->ref_regular. + (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries + and dynamic relocations if h->ref_regular. + + * elfxx-sparc.c (struct elf_reloc_map): Delete. + (sparc_reloc_map): Delete. + (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each + relocation type in switch statements. + +2010-02-25 Alan Modra <amodra@gmail.com> + + PR ld/11304 + * elf.c (_bfd_elf_init_private_section_data): Rename need_group + to final_link and invert. For final link allow some flags to + differ. Don't specially allow flags to be all zero. + +2010-02-24 Alan Modra <amodra@gmail.com> + + PR binutils/10858 + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise + SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol + table. + +2010-02-23 Andrew Zabolotny <anpaza@mail.ru> + + PR binutils/11297 + * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8. + (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8. + +2010-02-22 Alan Modra <amodra@gmail.com> + + * reloc.c (bfd_check_overflow): When forming addrmask, shift + fieldmask left by rightshift. + (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all + overflow checks. + +2010-02-20 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check + STT_GNU_IFUNC on large common symbol. + +2010-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_add_symbol_hook): Don't set + has_ifunc_symbols if the symbol comes from a shared library. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. + * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. + * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. + * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise. + +2010-02-19 Alan Modra <amodra@gmail.com> + + * elf.c (_bfd_elf_fixup_group_sections): New function, split out from.. + (_bfd_elf_copy_private_header_data): ..here. + * elflink.c (_bfd_elf_size_group_sections): New function. + (bfd_elf_size_dynamic_sections): Call it. + * elf-bfd.h (_bfd_elf_size_group_sections): Declare. + (_bfd_elf_fixup_group_sections): Declare. + +2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for + merging Tag_DIV_use, Tag_MPextension_use, and + Tag_MPextension_use_legacy tags. + +2010-02-18 Alan Modra <amodra@gmail.com> + + * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15 + commit. Don't write zeros for removed group members. + (_bfd_elf_copy_private_header_data): Adjust size of group section + when group members are removed by objcopy. + +2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com> + + PR binutils/11280 + * configure.host (*-*-solaris2.11): Add host define to select + valid default code page for windres/windmc on solaris. + +2010-02-15 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-02-12 Daniel Gutson <dgutson@codesourcery.com> + + * elf32-arm.c (elf32_arm_output_arch_local_syms): add + missing mapping symbol to data only sections. + +2010-02-11 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22 + and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global + symbols. + (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for + these relocs on global symbols. + (gdopoff): New. + (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on + local symbol references which are not STT_GNU_IFUNC. Handle + relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively, + and deal with negative vs. non-negative values properly. + +2010-02-09 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for + non-external relocation. + +2010-02-09 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (merge_got_entries): Move earlier in file. + (allocate_dynrelocs): Merge got entries here if not doing multi-toc. + (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got. + (ppc64_elf_layout_multitoc): Don't resize if we have already + merged got entries. + +2010-02-09 Michael Holzheu <holzheu@de.ibm.com> + + * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp, + elfcore_write_s390_todpreg, elfcore_write_s390_ctrs, + elfcore_write_s390_prefix): New. + * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp, + elfcore_write_s390_todpreg, elfcore_write_s390_ctrs, + elfcore_write_s390_prefix): New. + (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP, + NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX. + (elfcore_write_register_note): Handle .reg-s390-timer, + .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs, + .reg-s390-prefix section. + +2010-02-09 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect + unsigned char. Update variables and code using them throughout file. + (struct ppc_link_hash_entry): Likewise for tls_mask. + + * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents. + + * elf64-ppc.c (has_small_toc_reloc): Don't define. + (makes_toc_func_call, call_check_in_progress): Shuffle flags. + (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update + code setting the flag. + (ppc64_elf_next_toc_section): Group big-toc sections in + 0x80008000 chunks. + +2010-02-08 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot, + srelgot, splt, srelplt, and sgotplt members in favor of generic copies. + + * elfxx-sparc.c (create_got_section): Delete. + (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic + section creator does that work for us. Use ->elf.foo instead of + ->foo where applicable. + (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo + where applicable. + (allocate_dynrelocs): Likewise. + (_bfd_sparc_elf_size_dynamic_sections): Likewise. + (_bfd_sparc_elf_relocate_section): Likewise. + (sparc_vxworks_build_plt_entry): Likewise. + (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. + (sparc_finish_dyn): Likewise. + (sparc_vxworks_finish_exec_plt): Likewise. + (sparc_vxworks_finish_shared_plt): Likewise. + (_bfd_sparc_elf_finish_dynamic_sections): Likewise. + + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_* + macros for visibilty and locality checks. + (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (_bfd_sparc_elf_relocate_section): Likewise. + (_bfd_sparc_elf_finish_dynamic_symbol):Likewise. + + * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set + but never used local var 'dynobj'. + + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle + nocopyreloc. + + * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New. + (BFD_RELOC_SPARC_IRELATIVE): Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + + * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table + and loc_hash_memory. + (_bfd_sparc_elf_link_hash_table_free): Declare. + * elf32-sparc.c (elf32_sparc_add_symbol_hook): New. + (elf_backend_add_symbol_hook, elf_backend_post_process_headers, + bfd_elf32_bfd_link_hash_table_free): Define. + * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set + has_ifunc_symbols if STT_GNU_IFUNC. + (bfd_elf64_bfd_link_hash_table_free): Define. + (elf_backend_post_process_headers): Define always. + * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New. + (sparc_reloc_map): Add entries for new IFUNC relocs. + (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs. + (_bfd_sparc_elf_info_to_howto_ptr): Likewise. + (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq, + elf_sparc_get_local_sym_hash): New. + (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization + from here... + (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate + local hash table. + (_bfd_sparc_elf_link_hash_table_free): New. + (create_ifunc_sections): New. + (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj + and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols + cons up a fake local hash table entry for it. Unconditionally add + a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count + dyn relocs for ifunc. + (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc. + (allocate_dynrelocs): Unconditionally emit a PLT entry when + STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc. + (allocate_local_dynrelocs): New function. + (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash + table. Emit dynamic relocs to irelplt when not shared. Treat iplt + like splt. + (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand. + (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc + plt in iplt/irelplt. + +2010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating + max_contents_size, only consider sections whose contents must + be swapped in. + +2010-02-09 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here.. + (ppc64_elf_size_dynamic_sections): ..and here.. + (merge_got_entries): ..rather than here. + +2010-02-09 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc. + (has_small_toc_reloc): Define. + (ppc64_elf_check_relocs): Set the above flags. + (ppc64_elf_edit_opd): Delete obfd param. + (ppc64_elf_tls_optimize): Likewise. + (ppc64_elf_edit_toc): Likewise. + (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param. + * elf64-ppc.h: Update prototypes. + +2010-02-08 Alan Modra <amodra@gmail.com> + + * section.c (struct bfd_section): Delete has_tls_reloc, + has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done. + Add sec_flg0 thru sec_flg5. + (BFD_FAKE_SECTION): Update for changed flags. + * ecoff.c (bfd_debug_section): Likewise. + * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. + * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. + (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update. + * elf32-xtensa.c (reloc_done): Define. + * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update. + * bfd-in2.h: Regenerate. + +2010-02-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern + for non-scattered relocations. + +2010-02-08 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty + apuinfo sections, only scan input sections once and reuse the + buffer. + +2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> + + * archures.c (bfd_mach_ppc_titan): Define. + * bfd-in2.h: Regenerate. + * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. + +2010-02-08 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code. + +2010-02-05 Sterling Augustine <sterling@tensilica.com> + + * elf.c (assign_file_positions_for_load_sections) Update lma of + section if necessary. Fixes Bugzilla 11219. + +2010-02-05 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c: Remove trailing white spaces. + * elf64-x86-64.c: Likewise. + +2010-02-03 Nick Clifton <nickc@redhat.com> + + * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add + entries for other architectures. + (struct elf_link_hash_table): Add hash_table_id field. + (elf_hash_table_id): New accessor macro. + * elflink.c (_bfd_elf_link_hash_table_init): Add target_id + parameter. + * elf-m10300.c (elf32_mn10300_hash_table): Check table id before + returning cast pointer. + (elf32_mn10300_link_hash_table_create): Identify new table as + containing MN10300 extensions. + (mn10300_elf_relax_section): Check pointer returned by + elf32_mn10300_hash_table. + * elf32-arm.c: Likewise, except using ARM extensions. + * elf32-avr.c: Likewise, except using AVR extensions. + * elf32-bfin.c: Likewise, except using BFIN extensions. + * elf32-cris.c: Likewise, except using CRIS extensions. + * elf32-frv.c: Likewise, except using FRV extensions. + * elf32-hppa.c: Likewise, except using HPPA32 extensions. + * elf32-i386.c: Likewise, except using I386 extensions. + * elf32-lm32.c: Likewise, except using LM32 extensions. + * elf32-m32r.c: Likewise, except using M32RM extensions. + * elf32-m68hc11.c: Likewise, except using M68HC11 extensions. + * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions. + * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions. + * elf32-m68k.c: Likewise, except using M68K extensions. + * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions. + * elf32-ppc.c: Likewise, except using PPC32 extensions. + * elf32-s390.c: Likewise, except using S390 extensions. + * elf32-sh.c: Likewise, except using SH extensions. + * elf32-spu.c: Likewise, except using SPU extensions. + * elf32-xtensa.c: Likewise, except using XTENSA extensions. + * elf64-alpha.c: Likewise, except using ALPHA extensions. + * elf64-hppa.c: Likewise, except using HPPA64 extensions. + * elf64-ppc.c: Likewise, except using PPC64 extensions. + * elf64-s390.c: Likewise, except using S390 extensions. + * elf64-x86-64.c: Likewise, except using X86_64 extensions. + * elfxx-ia64.c: Likewise, except using IA64 extensions. + * elfxx-mips.c: Likewise, except using MIPS extensions. + * elfxx-sparc.c: Likewise, except using SPARC extensions. + * elfxx-sparc.h: Likewise, except using SPARC extensions. + * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete + redundant structure. + (elf32_cr16_hash_table): Delete unused macro. + (elf32_cr16_link_hash_traverse): Delete unused macro. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-vax.c: Likewise. + * elf64-sh64.c: Likewise. + +2010-02-03 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct plt_entry): Move earlier in file. + (struct got_entry): Likewise. Add is_indirect and got.ent fields. + (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry. + Update all uses. + (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass. + Remove no_multi_toc. + (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect + when allocating a new struct got_entry. + (allocate_got): New function, extracted from.. + (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd. + (ppc64_elf_size_dynamic_sections): Track got relocs allocated in + .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries. + (ppc64_elf_setup_section_lists): Remove output_bfd param and + no_multi_toc, add add_stub_section and layout_sections_again. Stash + new params in htab. Extract some code to.. + (ppc64_elf_start_multitoc_partition): ..here. New function. + (ppc64_elf_next_toc_section): Check for linker script errors. Handle + second pass toc scan. + (merge_got_entries, merge_global_got, reallocate_got): New functions. + (ppc64_elf_reinit_toc): Rename to.. + (ppc64_elf_finish_multitoc_partition): ..this. + (ppc64_elf_layout_multitoc): New function. + (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and + layout_sections_again params. + (ppc64_elf_relocate_section): Handle indirect got entries. + * elf64-ppc.h: Update prototypes. Declare new functions. + +2010-02-02 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elfcore_write_xstatereg): New. + + * elf.c (elfcore_grok_xstatereg): New. + (elfcore_write_xstatereg): Likewise. + (elfcore_grok_note): Handle NT_X86_XSTATE. + (elfcore_write_register_note): Handle .reg-xstate section. + +2010-02-01 Tristan Gingold <gingold@adacore.com> + + * som.c (som_write_ar_hdr): Define this macro. + +2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, + R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the + linkage table pointer to use the global table pointer if not doing + a shared link. + +2010-01-29 Joel Brobecker <brobecker@adacore.com> + + * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal + if it has already been set. + +2010-01-27 Tristan Gingold <gingold@adacore.com> + + * vms.h: Remove trailing spaces. + (struct hdr_struct): Remove unused hdr_c_cpr field. + (enum file_format_enum): Add comments. + * vms.c (vms_bfd_print_private_bfd_data): New function that + replaces the macro. + Remove trailing spaces. + * vms-misc.c: Improve comments. + (_bfd_vms_get_object_record): Also handle files without pads. + * vms-hdr.c (_bfd_vms_write_dbg): Fix format string. + * vms-gsd.c (struct flagdescstruct): Make name field const. + (gsyflagdesc): Fix typo. + +2010-01-27 Alan Modra <amodra@gmail.com> + + PR ld/11217 + * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec. + (ppc64_elf_setup_section_lists): Init them. + (ppc64_elf_next_toc_section): Don't partition multi-toc between .got + and .toc on the same input file. + (ppc64_elf_relocate_section): Correct GOT entry offset. + +2010-01-26 Tristan Gingold <gingold@adacore.com> + + * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr. + (bfd_target): Add _bfd_write_ar_hdr_fn field. + * archive.c (is_bsd44_extended_name): New macro. + (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size. + (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended + name. + (_bfd_archive_bsd44_construct_extended_name_table): New function. + (_bfd_generic_write_ar_hdr): Ditto. + (_bfd_bsd44_write_ar_hdr): Ditto. + (_bfd_write_archive_contents): Call _bfd_write_ar_hdr. + (bsd_write_armap): Adjust firstreal computation. + * libbfd-in.h (struct areltdata): Add extra_size field. + (_bfd_generic_write_ar_hdr): Add prototype. + (_bfd_bsd44_write_ar_hdr): Ditto. + (_bfd_write_ar_hdr): Define. + (_bfd_noarchive_write_ar_hdr): Ditto. + (_bfd_archive_bsd_write_ar_hdr): Ditto. + (_bfd_archive_coff_write_ar_hdr): Ditto. + (_bfd_archive_bsd44_slurp_armap): Ditto. + (_bfd_archive_bsd44_slurp_extended_name_table): Ditto. + (_bfd_archive_bsd44_construct_extended_name_table): New prototype. + (_bfd_archive_bsd44_truncate_arname): Ditto. + (_bfd_archive_bsd44_write_armap): Ditto. + (_bfd_archive_bsd44_read_ar_hdr): Ditto. + (_bfd_archive_bsd44_write_ar_hdr): Ditto. + (_bfd_archive_bsd44_openr_next_archived_file): Ditto. + (_bfd_archive_bsd44_get_elt_at_index): Ditto. + (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto. + (_bfd_archive_bsd44_update_armap_timestamp): Ditto. + * libbfd.h: Regenerate. + * oasys.c (oasys_write_ar_hdr): Define. + * libecoff.h (_bfd_ecoff_write_ar_hdr): Define. + * ieee.c (ieee_write_ar_hdr): Define. + * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define. + * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field. + (bfd_pmac_xcoff_backend_data): Ditto. + * coff64-rs6000.c (rs6000coff64_vec): Ditto. + (bfd_xcoff_aix5_backend_data): Ditto. + * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define. + * aout-target.h (MY_write_ar_hdr): Define it if not defined. + * aout-tic30.c (MY_write_ar_hdr): Ditto. + * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive. + (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) + (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) + (bfd_mach_o_construct_extended_name_table) + (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) + (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) + (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c + * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr) + (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table) + (bfd_mach_o_construct_extended_name_table) + (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap) + (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt) + (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c + * bfd-in2.h: Regenerate. + +2010-01-26 Alan Modra <amodra@gmail.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11218 + * elflink.c (elf_link_output_extsym): Do not ignore undefined + symbols with ref_regular set when gc_sections is active. + +2010-01-25 Alan Modra <amodra@gmail.com> + + PR ld/11217 + * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences + with relocations against undefined weak symbols. + (ppc64_elf_relocate_section): Don't optimize calls to undefined + weak functions if the symbol is dynamic. + (ppc64_elf_relocate_section): Edit tprel tls sequences. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + (_bfd_elf_ppc_at_tprel_transform): New function. + * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. + * bfd-in2.h: Regenerate. + +2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. + (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE. + * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and + bitsize to 1. + (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE. + +2010-01-21 Nick Clifton <nickc@redhat.com> + + * elflink.c (elf_link_add_object_symbols): Look up name of + undefined symbol both before and after versioning has been + applied. Do not bother with symbols that are weakly undefined. + +2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. + (bfd_elf32_bfd_merge_private_bfd_data): New macro definition. + +2010-01-19 Cary Coutant <ccoutant@google.com> + + * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8. + +2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> + Alan Modra <amodra@gmail.com> + + * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. + (elf_object_p): Read e_phnum extension. + (elf_write_shdrs_and_ehdr): Write e_phnum extension. + * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check + that we can read last program header. + +2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of + R_ARM_THM_CALL entry. + (elf32_arm_final_link_relocate): Correct calculation of + reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22, + or R_ARM_THM_JUMP24 relocation. + +2010-01-18 Alan Modra <amodra@gmail.com> + + PR 11168 + * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C + block past vars in COFF_IMAGE_WITH_PE block. Report error on more + than 32k sections. + +2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix compilation warning on gcc-3.4. + * vms-tir.c (start_etir_record, sto_imm): Rename the prototype + parameter index to sec_index according to the function definition. + +2010-01-13 Chao-ying Fu <fu@mips.com> + + * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. + It is true for all CPUs. + (jal_reloc_p): New function. + (mips_elf_calculate_relocation): Rename require_jalxp to + cross_mode_jump_p. + Update comment for CROSS_MODE_JUMP_P. + Set up cross_mode_jump_p based on the mode change. + (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p. + Update comment for CROSS_MODE_JUMP_P. + Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx. + Use !cross_mode_jump_p to guard conversion. + Convert "jr t9" to "b", if possible. + (_bfd_mips_elf_relocate_section): Rename require_jalx to + cross_mode_jump_p. + Pass &cross_mode_jump_p to call mips_elf_calculate_relocation. + Pass cross_mode_jump_p to call mips_elf_perform_relocation. + +2010-01-13 Nick Clifton <nickc@redhat.com> + + * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for + "m32c" returns the m32c arch_info_struct and not the m16c + arch_info_struct. + (arch_info_struct): Use the new scan function. + (bfd_m32c_arch): Likewise. + +2010-01-13 Tristan Gingold <gingold@adacore.com> + + * config.bfd: Remove duplicated target vector for i386-*-darwin. + Appends new arch instead of overriding. + Use mach_o_x86_64_vec for x86_64-*-darwin. + * configure.in: Add mach_o_x86_64_vec. + * configure: Regenerate. + * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector. + * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo + (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c + * Makefile.in: Regenerate. + * mach-o-x86-64.c: New file. + +2010-01-13 Tristan Gingold <gingold@adacore.com> + + * reloc.c: Add MACH_O_X86_64 relocations. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2010-01-13 Tristan Gingold <gingold@adacore.com> + + * archive.c (normalize): Use lbasename. + (bfd_bsd_truncate_arname): Ditto. + (bfd_gnu_truncate_arname): Ditto. + +2010-01-12 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (CFLAGS): Turns warnings into informational messages. + +2010-01-11 Tristan Gingold <gingold@adacore.com> + + * mach-o.h: Add x86-64 relocation types. + +2010-01-11 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (bfd_mach_o_backend_data): Add arch field. + (bfd_mach_o_set_arch_mach): New prototype. + * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject. + (bfd_mach_o_set_arch_mach): New function. + (bfd_mach_o_gen_mkobject): New function. + Set TARGET_ARCHITECTURE for the generic back-ends. + * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define. + Check that TARGET_ARCHITECTURE is defined. + Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure. + * mach-o-i386.c (TARGET_ARCHITECTURE): Define. + +2010-01-11 Tristan Gingold <gingold@adacore.com> + + * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap. + +2010-01-11 Nick Clifton <nickc@redhat.com> + + * elf32-v850.c (v850_elf_perform_relocation): Fix overflow + handling of R_V850_HI16_S relocation. + +2010-01-11 Alan Modra <amodra@gmail.com> + + PR 11103 + * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment. + +2010-01-11 Alan Modra <amodra@gmail.com> + + PR 6832 + * dwarf2.c (struct comp_unit): Add sec_info_ptr. + (find_abstract_instance_name): Use it. + (parse_comp_unit): Set it. + +2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.in: Regenerate. + * configure: Regenerate. + +2010-01-08 Tristan Gingold <gingold@adacore.com> + + * archive.c: Remove bfd_special_undocumented_glue. + +2010-01-08 Alan Modra <amodra@gmail.com> + + PR ld/11133 + * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. + * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. + * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11138 + * elflink.c (elf_link_check_versioned_symbol): Don't abort if + a symbol referenced by DSO is is defined in a non-shared object + and forced local. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11133 + * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for + undefined __start_XXX/__stop_XXX in all input files and set + SEC_KEEP. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11143 + * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. + +2010-01-04 Daniel Gutson <dgutson@codesourcery.com> + + * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC + before including procfs.h. + (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise. + * configure.in: Added autoconf probe for the pr_fpreg member. + * configure: Regenerated. + * config.in: Regenerated. + * elf.c: Define _STRUCTURE_PROC before including procfs.h. + +2010-01-04 Joel Brobecker <brobecker@adacore.com> + + Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64). + * dwarf2.c (concat_filename): Rename dirname with dir_name + to void shadowing the dirname function. + Rename subdirname with subdir_name to stay consistent with + the new dir_name variable name. + +2010-01-04 Edmar Wienskoski <edmar@freescale.com> + + * archures.c: Add bfd_mach_ppc_e500mc64. + * bfd-in2.h: Regenerate. + * cpu-powerpc.c (bfd_powerpc_archs): Add entry for + bfd_mach_ppc_e500mc64. + +2010-01-01 Joel Brobecker <brobecker@adacore.com> + + Fix -Wshadow warnings (seen on ppc-aix) + * xcofflink.c: Replace finfo by flinfo throughout. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5c495c1..db99369 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,1073 +1,4 @@ -2010-12-15 Kai Tietz <kai.tietz@onevision.com> - - * dwarf.c (display_gdb_index): Fix printf types for - used formatters. - -2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de> - - PR binutils/12306 - * doc/binutils.texi: Fix typos in elfedit documentation. - -2010-12-10 Alan Modra <amodra@gmail.com> - - * binemul.h (do_ar_emul_append): Declare. - * binemul.c (any_ok): New function. - (do_ar_emul_append): Rename from do_ar_emul_default_append. Make - global, add check arg. Adjust callers. - (ar_emul_default_replace): Tidy. - * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use - bin_aix_emulation. - * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete. - (ar_emul_aix5_append, ar_emul_aix5_replace): Delete. - (check_aix): New function. - (ar_emul_aix_append, ar_emul_aix_replace): Rewrite. - -2010-12-09 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-12-08 Alan Modra <amodra@gmail.com> - - * ar.c: Formatting. - (usage): Correct help strings. - (decode_options): Correct getopt_long short options. Remove - duplicate non-handled option message. - (main): Don't handle -M specially. - -2010-12-08 Arnaud Lacombe <lacombar@gmail.com> - - * ar.c (long_options): Add target. - (decode_options): Handle the --target option. - (open_inarch): Check for plugin's target, default to --target - (replace_members): Use generic `target'. - - * ar.c (operation): New global variable. - (show_version): Likewise. - (show_help): Likewise. - (long_options): Likewise. - (usage): Fix help string argument order. - (decode_options): New. - (ranlib_main): Use getopt_long. - (main): Use decode_options. - - * ar.c (main): Split ranlib path. - (ranlib_usage): New - (ranlib_main): New - -2010-12-03 Doug Evans <dje@google.com> - - * dwarf.c: #include "bfd_stdint.h". - (do_gdb_index): New global. - (display_gdb_index): New function. - (dwarf_select_sections_by_names) Add "gdb_index". - (dwarf_select_sections_all): Set do_gdb_index. - (debug_displays): Add .gdb_index. - * dwarf.h (do_gdb_index): Declare. - * objdump.c (usage): Add gdb_index. - * readelf.c (usage): Add gdb_index. - (process_section_headers): Process ".gdb_index". - * doc/binutils.texi (readelf): Document gdb_index dump. - (objdump): Ditto. - -2010-12-01 Kai Tietz <kai.tietz@onevision.com> - - PR binutils/11065 - * dlltool.c (dll_name_set_by_exp_name): New variable. - (def_name): Allow setting of dll_name by .def file. - (def_library): Likewise. - (main): Set dll_name_set_by_exp_name, if dll_name is - set indirect by exp_name. - -2010-11-26 Alan Modra <amodra@gmail.com> - - * dwarf.c (decode_location_expression, display_debug_frames): Move - code handling DW_EH_PE_pcrel into.. - (get_encoded_value): ..here. - -2010-11-26 Alan Modra <amodra@gmail.com> - - * po/ja.po: Update. - -2010-11-25 Alan Modra <amodra@gmail.com> - - * po/bg.po: Update. - * po/es.po: Update. - * po/fi.po: Update. - * po/ja.po: Update. - * po/ru.po: Update. - * po/zh_CN.po: Update. - -2010-11-21 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12235 - * elfcomm.c: New. - * elfcomm.h: Likewise. - - * Makefile.am (HFILES): Add elfcomm.h. - (CFILES): Add elfcomm.c. - (ELFLIBS): New. - (readelf_SOURCES): Add $(ELFLIBS). - (elfedit_SOURCES): Likewise. - (objdump_SOURCES): Likewise. - * Makefile.in: Regenerated. - - * dwarf.c: Include "elfcomm.h". - (byte_get): Removed. - (byte_get_little_endian): Likewise. - (byte_get_big_endian): Likewise. - (byte_get_signed): Likewise. - (error): Likewise. - (warn): Likewise. - - * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT. - (dwarf_size_type): Likewise. - (byte_get): Removed. - (byte_get_signed): Likewise. - (byte_get_little_endian): Likewise. - (byte_get_big_endian): Likewise. - (error): Likewise. - (warn): Likewise. - - * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h". - Call error () instead of non_fatal (). - (streq): Removed. - (strneq): Likewise. - (const_strneq): Likewise. - (non_fatal): Likewise. - (BYTE_GET): Likewise. - (BYTE_PUT): Likewise. - (byte_get): Likewise. - (byte_put): Likewise. - (byte_get_little_endian): Likewise. - (byte_get_big_endian): Likewise. - (byte_put_little_endian): Likewise. - (byte_put_big_endian): Likewise. - (adjust_relative_path): Likewise. - (archive_info): Likewise. - (setup_archive): Likewise. - (release_archive): Likewise. - (setup_nested_archive): Likewise. - (get_archive_member_name): Likewise. - (get_archive_member_name_at): Likewise. - (make_qualified_name): Likewise. - - * objdump.c: Include "elfcomm.h". - - * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h". - (BYTE_GET): Removed. - (BYTE_GET_SIGNED): Removed. - (streq): Likewise. - (strneq): Likewise. - (const_strneq): Likewise. - (byte_put): Likewise. - (byte_put_little_endian): Likewise. - (byte_put_big_endian): Likewise. - (adjust_relative_path): Likewise. - (archive_info): Likewise. - (setup_archive): Likewise. - (release_archive): Likewise. - (setup_nested_archive): Likewise. - (get_archive_member_name): Likewise. - (get_archive_member_name_at): Likewise. - (make_qualified_name): Likewise. - -2010-11-18 Alan Modra <amodra@gmail.com> - - PR binutils/11742 - * readelf.c (get_archive_member_name): Formatting. Properly - handle full size ar_name. - -2010-11-17 Alan Modra <amodra@gmail.com> - - * ar.c (print_contents): Don't internationalize strings without words. - * dwarf.c (process_extended_line_op): Likewise. - (process_debug_info): Likwise. - (display_debug_lines_raw): Likewise. - (display_debug_lines_decoded): Likewise. - (display_debug_abbrev): Likewise. - * readelf.c (process_file_header): Likewise. - (GET_OP): Likewise. - (decode_arm_unwind): Likewise. - (process_mips_specific): Likewise. - * resrc.c (run_cmd): Likewise. - (rcparse_warning): Likewise. - * objdump.c (dump_headers): Don't print "Pg". - -2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com> - - * windmc.c: ,%s' -> `%s' in a number of strings. - -2010-11-16 Jie Zhang <jie.zhang@analog.com> - - * readelf.c (get_machine_flags): Deal with Blackfin specific flags. - -2010-11-11 Mingming Sun <mingm.sun@gmail.com> - - * readelf.c (get_machine_flags): Add loongson-3a. - -2010-11-10 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - * po/fr.po: Updated French translation. - -2010-11-08 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2010-11-08 Alan Modra <amodra@gmail.com> - - * objcopy.c (copy_main): No need to rename sections when compressing - or decompressing. - -2010-11-05 Alan Modra <amodra@gmail.com> - - * bin2c.c: Remove internationalization and version report. - * Makefile.am: Update bin2c rule. - * Makefile.in: Regenerate. - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * po/binutils.pot: Regenerate - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.21. - -2010-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * objdump.c (dump_bfd_header): Don't display - BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags. - -2010-11-02 Joseph Myers <joseph@codesourcery.com> - - * readelf.c (display_tic6x_attribute): Handle more attributes. - -2010-10-30 Kai Tietz <kai.tietz@onevision.com> - - * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export - directives. - -2010-10-29 Joseph Myers <joseph@codesourcery.com> - - * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility - not hardcoded 32. Display name of this attribute. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * addr2line.c (process_file): Set BFD_DECOMPRESS. - - * objcopy.c (do_debug_sections): New. - (OPTION_COMPRESS_DEBUG_SECTIONS): New. - (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise. - (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and - OPTION_DECOMPRESS_DEBUG_SECTIONS. - (copy_usage): Add --compress-debug-sections and - --decompress-debug-sections. - (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS. - (copy_section): Replace bfd_get_section_contents with - bfd_get_full_section_contents. - (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and - OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to - rename DWARF debug sections. - - * objdump.c (load_specific_debug_section): Replace - bfd_get_section_contents with bfd_get_full_section_contents. - Remove bfd_uncompress_section_contents. - (dump_section): Replace bfd_get_section_contents with - bfd_get_full_section_contents. - (display_file): Set BFD_DECOMPRESS if needed. - - * readelf.c (uncompress_section_contents): Set buffer to NULL - to indiate decompression failure. - (load_specific_debug_section): Always call - uncompress_section_contents. - - * doc/binutils.texi: Document --compress-debug-sections and - --decompress-debug-sections. - -2010-10-29 Nick Clifton <nickc@redhat.com> - - PR binutils/12058 - * ar.c (usage): Revert previous change. Describe how 's' can be - used as a command letter. - * doc/binutils.texi (ar cmdline): Describe how 's' can be used as - a command letter. - -2010-10-29 Bernd Schmidt <bernds@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT. - -2010-10-28 Nick Clifton <nickc@redhat.com> - - PR binutils/12058 - * ar.c (usage): Remove spurious 's' from list of accepted command - letters. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze. - (is_32bit_pcrel_reloc): Support microblaze. - -2010-10-26 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese transaltion. - -2010-10-21 Joseph Myers <joseph@codesourcery.com> - - * readelf.c (display_tic6x_attribute): Update for attribute - renaming. - -2010-10-08 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf.c (byte_get_signed): Make it extern. - - * dwarf.h (byte_get_signed): New. - - * readelf.c (BYTE_GET_SIGNED): New. - (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend. - (dump_relocations): Properly dump r_addend. - -2010-10-08 Joseph Myers <joseph@codesourcery.com> - - * nm.c (value_format_64bit): Define appropriately for __MSVCRT__. - (set_print_radix): Update for __MSVCRT__ definition of - value_format_64bit. - -2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> - - Fix build with -DDEBUG=7 - * nlmheader.y (DEBUG token): Rename to DEBUG_K. - -2010-10-06 Alan Modra <amodra@gmail.com> - - * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno. - -2010-10-05 Alan Modra <amodra@gmail.com> - - * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr. - (bfd_nonfatal_message, report, list_matching_formats): Likewise. - (list_supported_targets): Tidy. - * objdump.c (free_only_list): Formatting. - (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic - object". - (update_source_path): Delete redundant check for NULL filename. - (disassemble_bytes): Error if disassemble_fn returns a value - that won't increment address. - (disassemble_data): Don't capitalize error message. - (read_section_stabs): Likewise. - (main): Return non-zero exit status on bad options. - -2010-10-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12088 - * nm.c (plugin_target): New. - (main): Set plugin_target to "plugin" for --plugin. - (display_file): Pass plugin_target to bfd_openr if target - isn't set. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * MAINTAINERS: Add self as ADI Blackfin maintainer. - -2010-09-17 H.J. Lu <hongjiu.lu@intel.com> - - * emul_aix.c (ar_emul_aix_append): Add a target argument - and ignore it if it is set. - (ar_emul_aix5_append): Likewise. - (ar_emul_aix_replace): Likewise. - (ar_emul_aix5_replace): Likewise. - -2010-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * ar.c (plugin_target): New. - (main): Set plugin_target to "plugin" for --plugin. - (open_inarch): Initialize target to plugin_target. - (replace_members): Pass plugin_target to ar_emul_replace - and ar_emul_append. - - * binemul.h (ar_emul_append): Add a target argument. - (ar_emul_default_append): Likewise. - (ar_emul_replace): Likewise. - (ar_emul_default_replace): Likewise. - (bin_emulation_xfer_struct): Add a target argument to - ar_append and ar_replace. - - * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr. - (do_ar_emul_default_append): Likewise. - (ar_emul_default_append): Likewise. - (ar_emul_replace): Likewise. - (ar_emul_default_replace): Likewise. - -2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca> - - * objcopy.c: Add --interleave-width option to allow interleaving - of more than one byte at a time. - (copy_width): New variable. - (copy_options): Add --interleave-width. - (copy_section): When interleaving copy in units of copy_width - bytes. - (copy_main): Parse the new option. - * doc/binutils: Document the new option. - * NEWS: Mention the new feature. - -2010-09-09 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (decode_location_expression): Fix data adjustment - for DW_OP_GNU_implicit_pointer in v3+. - -2010-09-09 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add entry to NEWS for hppa/som. - -2010-09-09 Jakub Jelinek <jakub@redhat.com> - - * dwarf.h (debug_info): Add offset_info and dwarf_version fields. - * dwarf.c (decode_location_expression): Add offset_size and - dwarf_version arguments. Prefix DIE offset with 0x for - DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size, - complain if in frame info section. Handle - DW_OP_GNU_implicit_pointer. - (read_and_display_attr_value, display_debug_loc, - display_debug_frames): Adjust decode_location_expression callers. - (process_debug_info): Save offset_size and dwarf_version values - into debug_information array. - -2010-09-07 Nick Clifton <nickc@redhat.com> - - * readelf.c (process_section_headers): Mention meaning of 'l' - section flag for x86-64 targets. - -2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (regname): New declaration. - (decode_location_expression): Print for registers also regname output. - -2010-09-02 Richard Henderson <rth@redhat.com> - - * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New. - (init_dwarf_regnames): Use them. - * dwarf.h: Declare them. - * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up - the regnames, rather than using elf_machine_code. - -2010-09-02 Richard Henderson <rth@redhat.com> - - * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address. - -2010-08-23 H.J. Lu <hongjiu.lu@intel.com> - - * elfedit.c (input_elf_osabi): New. - (output_elf_osbi): Likewise. - (osabis): Likewise. - (elf_osabi): Likewise. - (update_elf_header): Support updating ELF OSABI. - (make_qualified_name): Break long line. - (command_line_switch): Add OPTION_INPUT_OSABI and - OPTION_OUTPUT_OSABI. - (options): Likewise. - (usage): Add --input-osabi and --output-osabi. - (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. - - * doc/binutils.texi: Document --input-osabi and --output-osabi - for elfedit. - -2010-08-23 Maciej W. Rozycki <macro@codesourcery.com> - - * readelf.c (display_mips_gnu_attribute): Replace GCC options - with a textual description of a MIPS32r2 64-bit FPU. - -2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com> - - PR binutils/11889 - * readelf.c (get_32bit_elf_symbols): Check for a corrupt - sh_entsize. - (get_64bit_elf_symbols): Likewise. - (process_symbol_table): Likewise. - (process_section_groups): Check for corrupt headers. - (process_version_sections): Check for corrupt indicies. - (process_corefile_note_segment): Likewise. - -2010-08-13 Nathan Sidwell <nathan@codesourcery.com> - - * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B - variants. - -2010-08-13 Tom Tromey <tromey@redhat.com> - - * dwarf.c (process_debug_info): Don't subtract section address - when calculating location of cu abbrev within section. - -2010-08-12 Michael Haubenwallner <haubi@gentoo.org> - - PR binutils/11742 - * readelf.c (get_archive_member_name): Do not read beyond the end - of the ar_name field. - -2010-08-03 Tristan Gingold <gingold@adacore.com> - - * dwarf.c (display_debug_lines): Mark file argument unused. - Do not try to load .debug_info section. - -2010-08-02 Alan Modra <amodra@gmail.com> - - * readelf.c (apply_relocations): D30V is really REL. - -2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> - Ina Pandit <ina.pandit@kpitcummins.com> - - * binutils/readelf.c: Add support for V850E2 and V850E2V3. - -2010-07-22 Alan Modra <amodra@gmail.com> - - * readelf.c: Add Moxie support. - -2010-07-20 Alan Modra <amodra@gmail.com> - - * readelf.c (process_program_headers): Don't ignore all zero size - sections. - -2010-07-19 Andreas Schwab <schwab@redhat.com> - - * readelf.c (process_section_headers): Update key to flags. - -2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com> - - * objcopy.c (copy_usage): Tweak previous typofix. - -2010-07-17 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c (copy_usage): Fix a typo. - -2010-07-15 Kai Tietz <kai.tietz@onevision.com> - - * dllwrap.c (main): Make sure is_leading_underscore - gets initialized with correct default. - -2010-07-05 Alan Modra <amodra@gmail.com> - - * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning. - -2010-07-03 Cary Coutant <ccoutant@google.com> - - * objdump.c (load_specific_debug_section): Decompress section contents - before applying relocations. - * readelf.c (load_specific_debug_section): Update section size after - decompression. - -2010-06-29 Alan Modra <amodra@gmail.com> - - PR binutils/3166 - * objcopy.c (is_strip_section): Revert 2006-09-05. - (setup_section): Make SHT_GROUP section nobits. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2010-06-27 Alan Modra <amodra@gmail.com> - - * resbin.c (res_to_bin_accelerator): Delete set but unused variables. - -2010-06-17 Nick Clifton <nickc@redhat.com> - - PR binutils/11711 - * windres.c (enum option_values): New enum. - (long_options): Use separate option number for --include-dir - option. - (main): Separate backwards compatibility check from code to - implement --include-dir. Check to see if directory exists and do - not complain if it does. - -2010-06-15 Joseph Myers <joseph@codesourcery.com> - - * readelf.c (display_tic6x_attribute, process_tic6x_specific): - New. - (process_arch_specific): Call process_tic6x_specific for - EM_TI_C6000. - -2010-06-11 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long - for 0x%lx. - -2010-06-11 Tristan Gingold <gingold@adacore.com> - Doug Rupp <rupp@gnat.com> - - * readelf.c (is_ia64_vms): New function. - (dump_relocations): Use it. - (get_machine_flags): Display IA-64 OpenVMS flags. - (process_program_headers): No error on OpenVMS if no .dynamic section. - (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New - declarations. - (dump_ia64_vms_dynamic_fixups): New function. - (dump_ia64_vms_dynamic_relocs): Ditto. - (process_ia64_vms_dynamic_relocs): Ditto. - (process_relocs): Handle IA-64 OpenVMS relocs. - (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros. - (print_vms_time): New function. - (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and - DT_IA_64_VMS_LNKFLAGS. - (get_ia64_symbol_other): New function. - (get_symbol_other): Handle EM_IA_64. - -2010-06-11 Tristan Gingold <gingold@adacore.com> - - * unwind-ia64.c (unw_print_abreg): Add const to special_reg. - (UNW_DEC_ABI): Ditto for abiname. - (unw_decode_table): Make it const. - -2010-06-10 Tristan Gingold <gingold@adacore.com> - - * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are - not inplace. - -2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - Andrew Stubbs <ams@codesourcery.com> - - * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC. - -2010-05-25 Jay Krell <jay.krell@cornell.edu> - - PR ld/11621 - * Makefile.am: Replace all occurences of .o with .@OBJEXT@ - * Makefile.in: Regenerate. - -2010-05-24 Tristan Gingold <gingold@adacore.com> - - * readelf.c (usage): Add new trace sections for --debug-dump. - (process_section_headers): Handle dump of trace sections. - * objdump.c (usage): Add new trace sections for --dwarf. - * dwarf.h (do_trace_info, do_trace_abbrevs): New variables. - (do_trace_aranges): Ditto. - (enum dwarf_section_display_enum): Add trace_info, trace_abbrev - and trace_aranges literals. - * dwarf.c (do_trace_info, do_trace_abbrevs): New variables. - (do_trace_aranges): Ditto. - (process_debug_info): Add abbrev_sec argument and replace - abbrev with abbrev_sec. - (load_debug_info): Adjust call of process_debug_info. - (display_debug_info): Ditto. - (display_trace_info): New function. - (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs - and trace_aranges sections name. - (dwarf_select_sections_all): Also select trace sections. - (debug_displays): Reindent. Add entries for the trace sections. - * doc/binutils.texi (readelf): Document new --dwarf parameters. - (objdump): Ditto. - -2010-05-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11600 - * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a - generic flag. - -2010-05-07 Tristan Gingold <gingold@adacore.com> - - * Makefile.in: Regenerate with automake 1.11.1. - * aclocal.m4: Ditto. - * doc/Makefile.in: Ditto. - -2010-05-06 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. - * readelf.c (get_elf_section_flags): Likewise. - (process_section_headers): Likewise. - -2010-05-05 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2010-04-27 Kai Tietz <kai.tietz@onevision.com> - - * dlltool.c (main): Query for bfd's underscoring default for - default target case. - -2010-04-27 Nick Clifton <nickc@redhat.com> - - * po/ru.po: Updated Russian translation. - -2010-04-23 Alan Modra <amodra@gmail.com> - - * readelf.c (process_program_headers): Replace use of - ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT. - -2010-04-22 Nick Clifton <nickc@redhat.com> - - * po/binutils.pot: Updated by the Translation project. - * po/fi.po: Updated Finnish translation. - * po/vi.po: Updated Vietnamese translation. - * po/bg.po: New Bulgarian translation. - * configure.in (ALL_LINGUAS): Add bg. - * configure: Regenerate. - -2010-04-20 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated french translation. - -2010-04-20 Nick Clifton <nickc@redhat.com> - - * readelf.c: Add _() macros to constant strings that are - translatable. - - * readelf.c (display_mips_gnu_attribute): Replace GCC options - with a textual description of single and double precision float. - -2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch. - (arm_attr_tag_ABI_align8_needed): Remove. - (arm_attr_tag_ABI_align8_preserved): Remove. - (arm_attr_tag_ABI_HardFP_use): Update text strings. - (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags. - (display_arm_attribute): Add decoding of ABI v2.08 attributes. - -2010-04-13 Nick Clifton <nickc@redhat.com> - - PR binutils/11419 - * dwarf.c (process_debug_info): Initialise the signature array. - -2010-04-09 Nick Clifton <nickc@redhat.com> - - * dwarf.c (process_debug_info): Remove unused variable - cu_abbrev_offset_ptr. - (display_debug_lines_decoded): Remove unused variable prev_line. - * elfedit.c (process_archive): Remove unused variable - file_name_size. - * ieee.c (ieee_start_compilation_unit): Remove unused variable - nindx. - (ieee_set_type): Remove unused variables info, targetindx and - baseindx. - * objdump.c (disassmble_byte): Remove unused variable done_dot. - * rddbg.c (read_section_stabs_debugging_info): Remove unused - variable other. - * readelf.c (dump_section_as_strings): Remove unused variable - addr. - (process_archive): Remove unused variable file_name_size. - * stabs.c (parse_stab_string): Mark desc parameter as unused. - Remove unused variable lineno. - (parse_stab_struct_type): Remove unused variable orig. - (stab_demangle_type): Remove unused variables constp, volatilep - and hold. - -2010-04-07 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - -2010-04-06 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-04-05 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size - fields. - (display_debug_frames): Handle CIE version 4. - - * dwarf.c (struct State_Machine_Registers): Add op_index field, - change end_sequence type to unsigned char. - (reset_state_machine): Clear op_index. - (process_extended_line_op): For DW_LNE_set_address clear op_index. - (display_debug_lines_raw): Initialize li_max_ops_per_insn. - Track op_index state machine register and print it if - li_max_ops_per_insn is != 1. - (display_debug_lines_decoded): Likewise. - -2010-04-01 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (read_and_display_attr_value): Don't reject - dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present - and DW_FORM_exprloc. - (process_debug_info): Handle cu_version == 4. - (display_debug_lines_raw, display_debug_lines_decoded): Handle - li_version == 4. - -2010-03-30 Andreas Schwab <schwab@linux-m68k.org> - - * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. - * Makefile.in: Regenerate. - -2010-03-25 Joseph Myers <joseph@codesourcery.com> - - * MAINTAINERS: Add self as TI C6X maintainer. - * NEWS: Add news entry for TI C6X support. - * readelf.c: Include elf/tic6x.h. - (guess_is_rela): Handle EM_TI_C6000. - (dump_relocations): Likewise. - (get_tic6x_dynamic_type): New. - (get_dynamic_type): Call it. - (get_machine_flags): Handle EF_C6000_REL. - (get_osabi_name): Handle machine-specific values only for relevant - machines. Handle C6X values. - (get_tic6x_segment_type): New. - (get_segment_type): Call it. - (get_tic6x_section_type_name): New. - (get_section_type_name): Call it. - (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle - EM_TI_C6000. - -2010-03-25 Thomas Schwinge <thomas@codesourcery.com> - - * doc/binutils.texi (readelf) <unwind information>: Mention support for - ARM unwind tables. - -2010-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (decode_arm_unwind): Increase buf size to 9 byte. - -2010-03-17 Alan Modra <amodra@gmail.com> - - * readelf.c (dump_arm_unwind): Warning fix. - -2010-03-16 Daniel Jacobowitz <dan@codesourcery.com> - - * MAINTAINERS: Update my email address. List Tristan Gingold - as the release branch maintainer. - -2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * readelf.c (get_ver_flags): Handle VER_FLG_INFO. - -2010-03-02 Daniel Jacobowitz <dan@codesourcery.com> - - * NEWS: Document .ARM.exidx / .ARM.extab support. - - * dwarf.c (read_leb128): Make non-static. - * dwarf.h (read_leb128): Declare. - * readelf.c (REMOVE_ARCH_BITS): Define. - (find_section_by_address): New. - (read_uleb128): Move higher. Use read_leb128 from dwarf.c. - (find_symbol_for_address): Handle the Thumb bit for ARM, by - using REMOVE_ARCH_BITS. - (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name) - (arm_free_section, arm_section_get_word, decode_arm_unwind) - (dump_arm_unwind, arm_process_unwind): New. - (process_unwind): Handle ARM. - -2010-02-26 Jie Zhang <jie@codesourcery.com> - - * MAINTAINERS: Update my email address. - -2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de> - - PR binutils/11298 - * doc/binutils.texi (windmc): Fix synopsis and description of - ASCII options. - -2010-02-19 Alan Modra <amodra@gmail.com> - - * readelf.c (get_group_flags): Return empty string when flags zero. - Add space in other returned values. - (process_section_groups): Adjust format string. - -2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of - newly permitted attribute values. - (arm_attr_tag_Virtualization_use): Likewise. - (arm_attr_tag_DIV_use): Add description of new attribute. - (arm_attr_tag_MPextension_use_legacy): Likewise. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-02-09 Michael Holzheu <holzheu@de.ibm.com> - - * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP, - NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX. - -2010-02-08 Jim Blandy <jimb@red-bean.com> - - * dwarf.c (display_debug_frames): Skip the 'S' character in CFI - 'z' augmentation strings. - -2010-02-08 Christophe Lyon <christophe.lyon@st.com> - - * objdump.c (disassemble_bytes): Clear aux->reloc before printing - a new address, so as not to reuse a previous, non-related reloc. - -2010-02-02 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (get_note_type): Handle NT_X86_XSTATE. - -2010-02-01 Nathan Sidwell <nathan@codesourcery.com> - - * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding - sections. - -2010-01-28 Nick Clifton <nickc@redhat.com> - - PR 11225 - * objdump.c (only): Replace with linked list. - (only_size, only_used): Replace with only_list. - (process_section_p): Set seen field on matches sections. - (add_only): New function. - (free_only_list): New function. - (disassemble_section): Check only_list. - (main): Use add_only and free_only_list. - -2010-01-26 Tristan Gingold <gingold@adacore.com> - - * Makefile.am (bin2c): Add libintl dependance and library. - * Makefile.in: Regenerate. - -2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS. - -2010-01-19 Ian Lance Taylor <iant@google.com> - - * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work - with non-ordinary files like /dev/null. - -2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> - Alan Modra <amodra@gmail.com> - - * readelf.c (process_file_header): Handle e_phnum extension. - -2010-01-14 Tristan Gingold <gingold@adacore.com> - - * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type - and DW_AT_GNAT_descriptive_type. - -2010-01-13 Tristan Gingold <gingold@adacore.com> - - * ar.c (main): Use lbasename. - (normalize): Ditto. - * objdump.c (update_source_path): Ditto. - -2010-01-12 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (CFLAGS): Turns warnings into informational messages. - -2010-01-11 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11146 - * NEWS: Mention --dyn-syms for readelf. - - * readelf.c (do_dyn_syms): New. - (OPTION_DYN_SYMS): Likewise. - (options): Add "dyn-syms". - (usage): Add --dyn-syms. - (parse_args): Handle OPTION_DYN_SYMS. - (process_symbol_table): Handle do_dyn_syms. - (process_object): Likewise. - (process_archive): Likewise. - - * doc/binutils.texi: Document --dyn-syms for readelf. Mention - symbol hash tables for -D. - -2010-01-11 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention addition of elfedit. - - * po/fi.po: Updated Finnish translation. - -2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * version.c (print_version): Change to "Copyright 2010". - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * elfedit.c (input_elf_type): New. - (output_elf_type): Likewise. - (elf_type): Likewise. - (update_elf_header): Support updating ELF file type. - (command_line_switch): Add OPTION_INPUT_TYPE and - OPTION_OUTPUT_TYPE. - (options): Likewise. - (usage): Add --input-type and --output-type. - (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check - one of --output-mach and --output-type must be specified. - - * doc/binutils.texi: Document --input-type and --output-type - for elfedit. - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * doc/binutils.texi: Fix a typo. - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * elfedit.c (update_elf_header): Don't change input_elf_class - nor input_elf_machine if they are -1. - -2010-01-08 Tristan Gingold <gingold@adacore.com> - - * ar.c: Remove bfd_special_undocumented_glue prototype. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * elfedit.c (update_elf_header): Reformat. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (usage): Fix indent for --symbols. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * doc/binutils.texi: Replace -histogram with --histogram. - -2010-01-06 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11131 - * Makefile.am (ELFEDIT_PROG): New. - (bin_PROGRAMS): Add $(ELFEDIT_PROG). - (CFILES): Add elfedit.c. - (elfedit_DEPENDENCIES): New. - (elfedit_SOURCES): Likewise. - (elfedit_LDADD): Likewise. - * Makefile.in: Regenerated. - - * elfedit.c: New. - - * doc/binutils.texi: Document elfedit. - - * doc/Makefile.am (man_MANS): Add elfedit.1. - (elfedit.1): New. - * doc/Makefile.in: Regenerated. - -2010-01-06 Tristan Gingold <gingold@adacore.com> - - * nm.c (usage): Remove extra blanks. - -2010-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c: Update copyright. - * readelf.c: Likewise. - -2010-01-04 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11130 - * objcopy.c (copy_object): Remove "Warning: " from error - message. - -2010-01-04 Nick Clifton <nickc@redhat.com> - - PR 11128 - * readelf.c (dump_section_as_strings): Use two separate - invocations of printf() in order to work around bugs in - the Solaris 8 implementation. - -2010-01-04 Nick Clifton <nickc@redhat.com> - - * po/ru.po: Updated Russian translation. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-2010 b/binutils/ChangeLog-2010 new file mode 100644 index 0000000..5c495c1 --- /dev/null +++ b/binutils/ChangeLog-2010 @@ -0,0 +1,1077 @@ +2010-12-15 Kai Tietz <kai.tietz@onevision.com> + + * dwarf.c (display_gdb_index): Fix printf types for + used formatters. + +2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + PR binutils/12306 + * doc/binutils.texi: Fix typos in elfedit documentation. + +2010-12-10 Alan Modra <amodra@gmail.com> + + * binemul.h (do_ar_emul_append): Declare. + * binemul.c (any_ok): New function. + (do_ar_emul_append): Rename from do_ar_emul_default_append. Make + global, add check arg. Adjust callers. + (ar_emul_default_replace): Tidy. + * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use + bin_aix_emulation. + * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete. + (ar_emul_aix5_append, ar_emul_aix5_replace): Delete. + (check_aix): New function. + (ar_emul_aix_append, ar_emul_aix_replace): Rewrite. + +2010-12-09 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-12-08 Alan Modra <amodra@gmail.com> + + * ar.c: Formatting. + (usage): Correct help strings. + (decode_options): Correct getopt_long short options. Remove + duplicate non-handled option message. + (main): Don't handle -M specially. + +2010-12-08 Arnaud Lacombe <lacombar@gmail.com> + + * ar.c (long_options): Add target. + (decode_options): Handle the --target option. + (open_inarch): Check for plugin's target, default to --target + (replace_members): Use generic `target'. + + * ar.c (operation): New global variable. + (show_version): Likewise. + (show_help): Likewise. + (long_options): Likewise. + (usage): Fix help string argument order. + (decode_options): New. + (ranlib_main): Use getopt_long. + (main): Use decode_options. + + * ar.c (main): Split ranlib path. + (ranlib_usage): New + (ranlib_main): New + +2010-12-03 Doug Evans <dje@google.com> + + * dwarf.c: #include "bfd_stdint.h". + (do_gdb_index): New global. + (display_gdb_index): New function. + (dwarf_select_sections_by_names) Add "gdb_index". + (dwarf_select_sections_all): Set do_gdb_index. + (debug_displays): Add .gdb_index. + * dwarf.h (do_gdb_index): Declare. + * objdump.c (usage): Add gdb_index. + * readelf.c (usage): Add gdb_index. + (process_section_headers): Process ".gdb_index". + * doc/binutils.texi (readelf): Document gdb_index dump. + (objdump): Ditto. + +2010-12-01 Kai Tietz <kai.tietz@onevision.com> + + PR binutils/11065 + * dlltool.c (dll_name_set_by_exp_name): New variable. + (def_name): Allow setting of dll_name by .def file. + (def_library): Likewise. + (main): Set dll_name_set_by_exp_name, if dll_name is + set indirect by exp_name. + +2010-11-26 Alan Modra <amodra@gmail.com> + + * dwarf.c (decode_location_expression, display_debug_frames): Move + code handling DW_EH_PE_pcrel into.. + (get_encoded_value): ..here. + +2010-11-26 Alan Modra <amodra@gmail.com> + + * po/ja.po: Update. + +2010-11-25 Alan Modra <amodra@gmail.com> + + * po/bg.po: Update. + * po/es.po: Update. + * po/fi.po: Update. + * po/ja.po: Update. + * po/ru.po: Update. + * po/zh_CN.po: Update. + +2010-11-21 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12235 + * elfcomm.c: New. + * elfcomm.h: Likewise. + + * Makefile.am (HFILES): Add elfcomm.h. + (CFILES): Add elfcomm.c. + (ELFLIBS): New. + (readelf_SOURCES): Add $(ELFLIBS). + (elfedit_SOURCES): Likewise. + (objdump_SOURCES): Likewise. + * Makefile.in: Regenerated. + + * dwarf.c: Include "elfcomm.h". + (byte_get): Removed. + (byte_get_little_endian): Likewise. + (byte_get_big_endian): Likewise. + (byte_get_signed): Likewise. + (error): Likewise. + (warn): Likewise. + + * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT. + (dwarf_size_type): Likewise. + (byte_get): Removed. + (byte_get_signed): Likewise. + (byte_get_little_endian): Likewise. + (byte_get_big_endian): Likewise. + (error): Likewise. + (warn): Likewise. + + * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h". + Call error () instead of non_fatal (). + (streq): Removed. + (strneq): Likewise. + (const_strneq): Likewise. + (non_fatal): Likewise. + (BYTE_GET): Likewise. + (BYTE_PUT): Likewise. + (byte_get): Likewise. + (byte_put): Likewise. + (byte_get_little_endian): Likewise. + (byte_get_big_endian): Likewise. + (byte_put_little_endian): Likewise. + (byte_put_big_endian): Likewise. + (adjust_relative_path): Likewise. + (archive_info): Likewise. + (setup_archive): Likewise. + (release_archive): Likewise. + (setup_nested_archive): Likewise. + (get_archive_member_name): Likewise. + (get_archive_member_name_at): Likewise. + (make_qualified_name): Likewise. + + * objdump.c: Include "elfcomm.h". + + * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h". + (BYTE_GET): Removed. + (BYTE_GET_SIGNED): Removed. + (streq): Likewise. + (strneq): Likewise. + (const_strneq): Likewise. + (byte_put): Likewise. + (byte_put_little_endian): Likewise. + (byte_put_big_endian): Likewise. + (adjust_relative_path): Likewise. + (archive_info): Likewise. + (setup_archive): Likewise. + (release_archive): Likewise. + (setup_nested_archive): Likewise. + (get_archive_member_name): Likewise. + (get_archive_member_name_at): Likewise. + (make_qualified_name): Likewise. + +2010-11-18 Alan Modra <amodra@gmail.com> + + PR binutils/11742 + * readelf.c (get_archive_member_name): Formatting. Properly + handle full size ar_name. + +2010-11-17 Alan Modra <amodra@gmail.com> + + * ar.c (print_contents): Don't internationalize strings without words. + * dwarf.c (process_extended_line_op): Likewise. + (process_debug_info): Likwise. + (display_debug_lines_raw): Likewise. + (display_debug_lines_decoded): Likewise. + (display_debug_abbrev): Likewise. + * readelf.c (process_file_header): Likewise. + (GET_OP): Likewise. + (decode_arm_unwind): Likewise. + (process_mips_specific): Likewise. + * resrc.c (run_cmd): Likewise. + (rcparse_warning): Likewise. + * objdump.c (dump_headers): Don't print "Pg". + +2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com> + + * windmc.c: ,%s' -> `%s' in a number of strings. + +2010-11-16 Jie Zhang <jie.zhang@analog.com> + + * readelf.c (get_machine_flags): Deal with Blackfin specific flags. + +2010-11-11 Mingming Sun <mingm.sun@gmail.com> + + * readelf.c (get_machine_flags): Add loongson-3a. + +2010-11-10 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + * po/fr.po: Updated French translation. + +2010-11-08 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2010-11-08 Alan Modra <amodra@gmail.com> + + * objcopy.c (copy_main): No need to rename sections when compressing + or decompressing. + +2010-11-05 Alan Modra <amodra@gmail.com> + + * bin2c.c: Remove internationalization and version report. + * Makefile.am: Update bin2c rule. + * Makefile.in: Regenerate. + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * po/binutils.pot: Regenerate + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.21. + +2010-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * objdump.c (dump_bfd_header): Don't display + BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags. + +2010-11-02 Joseph Myers <joseph@codesourcery.com> + + * readelf.c (display_tic6x_attribute): Handle more attributes. + +2010-10-30 Kai Tietz <kai.tietz@onevision.com> + + * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export + directives. + +2010-10-29 Joseph Myers <joseph@codesourcery.com> + + * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility + not hardcoded 32. Display name of this attribute. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * addr2line.c (process_file): Set BFD_DECOMPRESS. + + * objcopy.c (do_debug_sections): New. + (OPTION_COMPRESS_DEBUG_SECTIONS): New. + (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise. + (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and + OPTION_DECOMPRESS_DEBUG_SECTIONS. + (copy_usage): Add --compress-debug-sections and + --decompress-debug-sections. + (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS. + (copy_section): Replace bfd_get_section_contents with + bfd_get_full_section_contents. + (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and + OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to + rename DWARF debug sections. + + * objdump.c (load_specific_debug_section): Replace + bfd_get_section_contents with bfd_get_full_section_contents. + Remove bfd_uncompress_section_contents. + (dump_section): Replace bfd_get_section_contents with + bfd_get_full_section_contents. + (display_file): Set BFD_DECOMPRESS if needed. + + * readelf.c (uncompress_section_contents): Set buffer to NULL + to indiate decompression failure. + (load_specific_debug_section): Always call + uncompress_section_contents. + + * doc/binutils.texi: Document --compress-debug-sections and + --decompress-debug-sections. + +2010-10-29 Nick Clifton <nickc@redhat.com> + + PR binutils/12058 + * ar.c (usage): Revert previous change. Describe how 's' can be + used as a command letter. + * doc/binutils.texi (ar cmdline): Describe how 's' can be used as + a command letter. + +2010-10-29 Bernd Schmidt <bernds@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT. + +2010-10-28 Nick Clifton <nickc@redhat.com> + + PR binutils/12058 + * ar.c (usage): Remove spurious 's' from list of accepted command + letters. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze. + (is_32bit_pcrel_reloc): Support microblaze. + +2010-10-26 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese transaltion. + +2010-10-21 Joseph Myers <joseph@codesourcery.com> + + * readelf.c (display_tic6x_attribute): Update for attribute + renaming. + +2010-10-08 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf.c (byte_get_signed): Make it extern. + + * dwarf.h (byte_get_signed): New. + + * readelf.c (BYTE_GET_SIGNED): New. + (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend. + (dump_relocations): Properly dump r_addend. + +2010-10-08 Joseph Myers <joseph@codesourcery.com> + + * nm.c (value_format_64bit): Define appropriately for __MSVCRT__. + (set_print_radix): Update for __MSVCRT__ definition of + value_format_64bit. + +2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> + + Fix build with -DDEBUG=7 + * nlmheader.y (DEBUG token): Rename to DEBUG_K. + +2010-10-06 Alan Modra <amodra@gmail.com> + + * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno. + +2010-10-05 Alan Modra <amodra@gmail.com> + + * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr. + (bfd_nonfatal_message, report, list_matching_formats): Likewise. + (list_supported_targets): Tidy. + * objdump.c (free_only_list): Formatting. + (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic + object". + (update_source_path): Delete redundant check for NULL filename. + (disassemble_bytes): Error if disassemble_fn returns a value + that won't increment address. + (disassemble_data): Don't capitalize error message. + (read_section_stabs): Likewise. + (main): Return non-zero exit status on bad options. + +2010-10-03 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12088 + * nm.c (plugin_target): New. + (main): Set plugin_target to "plugin" for --plugin. + (display_file): Pass plugin_target to bfd_openr if target + isn't set. + +2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * MAINTAINERS: Add self as ADI Blackfin maintainer. + +2010-09-17 H.J. Lu <hongjiu.lu@intel.com> + + * emul_aix.c (ar_emul_aix_append): Add a target argument + and ignore it if it is set. + (ar_emul_aix5_append): Likewise. + (ar_emul_aix_replace): Likewise. + (ar_emul_aix5_replace): Likewise. + +2010-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * ar.c (plugin_target): New. + (main): Set plugin_target to "plugin" for --plugin. + (open_inarch): Initialize target to plugin_target. + (replace_members): Pass plugin_target to ar_emul_replace + and ar_emul_append. + + * binemul.h (ar_emul_append): Add a target argument. + (ar_emul_default_append): Likewise. + (ar_emul_replace): Likewise. + (ar_emul_default_replace): Likewise. + (bin_emulation_xfer_struct): Add a target argument to + ar_append and ar_replace. + + * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr. + (do_ar_emul_default_append): Likewise. + (ar_emul_default_append): Likewise. + (ar_emul_replace): Likewise. + (ar_emul_default_replace): Likewise. + +2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca> + + * objcopy.c: Add --interleave-width option to allow interleaving + of more than one byte at a time. + (copy_width): New variable. + (copy_options): Add --interleave-width. + (copy_section): When interleaving copy in units of copy_width + bytes. + (copy_main): Parse the new option. + * doc/binutils: Document the new option. + * NEWS: Mention the new feature. + +2010-09-09 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (decode_location_expression): Fix data adjustment + for DW_OP_GNU_implicit_pointer in v3+. + +2010-09-09 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add entry to NEWS for hppa/som. + +2010-09-09 Jakub Jelinek <jakub@redhat.com> + + * dwarf.h (debug_info): Add offset_info and dwarf_version fields. + * dwarf.c (decode_location_expression): Add offset_size and + dwarf_version arguments. Prefix DIE offset with 0x for + DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size, + complain if in frame info section. Handle + DW_OP_GNU_implicit_pointer. + (read_and_display_attr_value, display_debug_loc, + display_debug_frames): Adjust decode_location_expression callers. + (process_debug_info): Save offset_size and dwarf_version values + into debug_information array. + +2010-09-07 Nick Clifton <nickc@redhat.com> + + * readelf.c (process_section_headers): Mention meaning of 'l' + section flag for x86-64 targets. + +2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (regname): New declaration. + (decode_location_expression): Print for registers also regname output. + +2010-09-02 Richard Henderson <rth@redhat.com> + + * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New. + (init_dwarf_regnames): Use them. + * dwarf.h: Declare them. + * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up + the regnames, rather than using elf_machine_code. + +2010-09-02 Richard Henderson <rth@redhat.com> + + * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address. + +2010-08-23 H.J. Lu <hongjiu.lu@intel.com> + + * elfedit.c (input_elf_osabi): New. + (output_elf_osbi): Likewise. + (osabis): Likewise. + (elf_osabi): Likewise. + (update_elf_header): Support updating ELF OSABI. + (make_qualified_name): Break long line. + (command_line_switch): Add OPTION_INPUT_OSABI and + OPTION_OUTPUT_OSABI. + (options): Likewise. + (usage): Add --input-osabi and --output-osabi. + (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. + + * doc/binutils.texi: Document --input-osabi and --output-osabi + for elfedit. + +2010-08-23 Maciej W. Rozycki <macro@codesourcery.com> + + * readelf.c (display_mips_gnu_attribute): Replace GCC options + with a textual description of a MIPS32r2 64-bit FPU. + +2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com> + + PR binutils/11889 + * readelf.c (get_32bit_elf_symbols): Check for a corrupt + sh_entsize. + (get_64bit_elf_symbols): Likewise. + (process_symbol_table): Likewise. + (process_section_groups): Check for corrupt headers. + (process_version_sections): Check for corrupt indicies. + (process_corefile_note_segment): Likewise. + +2010-08-13 Nathan Sidwell <nathan@codesourcery.com> + + * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B + variants. + +2010-08-13 Tom Tromey <tromey@redhat.com> + + * dwarf.c (process_debug_info): Don't subtract section address + when calculating location of cu abbrev within section. + +2010-08-12 Michael Haubenwallner <haubi@gentoo.org> + + PR binutils/11742 + * readelf.c (get_archive_member_name): Do not read beyond the end + of the ar_name field. + +2010-08-03 Tristan Gingold <gingold@adacore.com> + + * dwarf.c (display_debug_lines): Mark file argument unused. + Do not try to load .debug_info section. + +2010-08-02 Alan Modra <amodra@gmail.com> + + * readelf.c (apply_relocations): D30V is really REL. + +2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> + Ina Pandit <ina.pandit@kpitcummins.com> + + * binutils/readelf.c: Add support for V850E2 and V850E2V3. + +2010-07-22 Alan Modra <amodra@gmail.com> + + * readelf.c: Add Moxie support. + +2010-07-20 Alan Modra <amodra@gmail.com> + + * readelf.c (process_program_headers): Don't ignore all zero size + sections. + +2010-07-19 Andreas Schwab <schwab@redhat.com> + + * readelf.c (process_section_headers): Update key to flags. + +2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com> + + * objcopy.c (copy_usage): Tweak previous typofix. + +2010-07-17 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c (copy_usage): Fix a typo. + +2010-07-15 Kai Tietz <kai.tietz@onevision.com> + + * dllwrap.c (main): Make sure is_leading_underscore + gets initialized with correct default. + +2010-07-05 Alan Modra <amodra@gmail.com> + + * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning. + +2010-07-03 Cary Coutant <ccoutant@google.com> + + * objdump.c (load_specific_debug_section): Decompress section contents + before applying relocations. + * readelf.c (load_specific_debug_section): Update section size after + decompression. + +2010-06-29 Alan Modra <amodra@gmail.com> + + PR binutils/3166 + * objcopy.c (is_strip_section): Revert 2006-09-05. + (setup_section): Make SHT_GROUP section nobits. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2010-06-27 Alan Modra <amodra@gmail.com> + + * resbin.c (res_to_bin_accelerator): Delete set but unused variables. + +2010-06-17 Nick Clifton <nickc@redhat.com> + + PR binutils/11711 + * windres.c (enum option_values): New enum. + (long_options): Use separate option number for --include-dir + option. + (main): Separate backwards compatibility check from code to + implement --include-dir. Check to see if directory exists and do + not complain if it does. + +2010-06-15 Joseph Myers <joseph@codesourcery.com> + + * readelf.c (display_tic6x_attribute, process_tic6x_specific): + New. + (process_arch_specific): Call process_tic6x_specific for + EM_TI_C6000. + +2010-06-11 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long + for 0x%lx. + +2010-06-11 Tristan Gingold <gingold@adacore.com> + Doug Rupp <rupp@gnat.com> + + * readelf.c (is_ia64_vms): New function. + (dump_relocations): Use it. + (get_machine_flags): Display IA-64 OpenVMS flags. + (process_program_headers): No error on OpenVMS if no .dynamic section. + (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New + declarations. + (dump_ia64_vms_dynamic_fixups): New function. + (dump_ia64_vms_dynamic_relocs): Ditto. + (process_ia64_vms_dynamic_relocs): Ditto. + (process_relocs): Handle IA-64 OpenVMS relocs. + (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros. + (print_vms_time): New function. + (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and + DT_IA_64_VMS_LNKFLAGS. + (get_ia64_symbol_other): New function. + (get_symbol_other): Handle EM_IA_64. + +2010-06-11 Tristan Gingold <gingold@adacore.com> + + * unwind-ia64.c (unw_print_abreg): Add const to special_reg. + (UNW_DEC_ABI): Ditto for abiname. + (unw_decode_table): Make it const. + +2010-06-10 Tristan Gingold <gingold@adacore.com> + + * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are + not inplace. + +2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Andrew Stubbs <ams@codesourcery.com> + + * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC. + +2010-05-25 Jay Krell <jay.krell@cornell.edu> + + PR ld/11621 + * Makefile.am: Replace all occurences of .o with .@OBJEXT@ + * Makefile.in: Regenerate. + +2010-05-24 Tristan Gingold <gingold@adacore.com> + + * readelf.c (usage): Add new trace sections for --debug-dump. + (process_section_headers): Handle dump of trace sections. + * objdump.c (usage): Add new trace sections for --dwarf. + * dwarf.h (do_trace_info, do_trace_abbrevs): New variables. + (do_trace_aranges): Ditto. + (enum dwarf_section_display_enum): Add trace_info, trace_abbrev + and trace_aranges literals. + * dwarf.c (do_trace_info, do_trace_abbrevs): New variables. + (do_trace_aranges): Ditto. + (process_debug_info): Add abbrev_sec argument and replace + abbrev with abbrev_sec. + (load_debug_info): Adjust call of process_debug_info. + (display_debug_info): Ditto. + (display_trace_info): New function. + (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs + and trace_aranges sections name. + (dwarf_select_sections_all): Also select trace sections. + (debug_displays): Reindent. Add entries for the trace sections. + * doc/binutils.texi (readelf): Document new --dwarf parameters. + (objdump): Ditto. + +2010-05-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11600 + * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a + generic flag. + +2010-05-07 Tristan Gingold <gingold@adacore.com> + + * Makefile.in: Regenerate with automake 1.11.1. + * aclocal.m4: Ditto. + * doc/Makefile.in: Ditto. + +2010-05-06 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. + * readelf.c (get_elf_section_flags): Likewise. + (process_section_headers): Likewise. + +2010-05-05 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2010-04-27 Kai Tietz <kai.tietz@onevision.com> + + * dlltool.c (main): Query for bfd's underscoring default for + default target case. + +2010-04-27 Nick Clifton <nickc@redhat.com> + + * po/ru.po: Updated Russian translation. + +2010-04-23 Alan Modra <amodra@gmail.com> + + * readelf.c (process_program_headers): Replace use of + ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT. + +2010-04-22 Nick Clifton <nickc@redhat.com> + + * po/binutils.pot: Updated by the Translation project. + * po/fi.po: Updated Finnish translation. + * po/vi.po: Updated Vietnamese translation. + * po/bg.po: New Bulgarian translation. + * configure.in (ALL_LINGUAS): Add bg. + * configure: Regenerate. + +2010-04-20 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated french translation. + +2010-04-20 Nick Clifton <nickc@redhat.com> + + * readelf.c: Add _() macros to constant strings that are + translatable. + + * readelf.c (display_mips_gnu_attribute): Replace GCC options + with a textual description of single and double precision float. + +2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch. + (arm_attr_tag_ABI_align8_needed): Remove. + (arm_attr_tag_ABI_align8_preserved): Remove. + (arm_attr_tag_ABI_HardFP_use): Update text strings. + (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags. + (display_arm_attribute): Add decoding of ABI v2.08 attributes. + +2010-04-13 Nick Clifton <nickc@redhat.com> + + PR binutils/11419 + * dwarf.c (process_debug_info): Initialise the signature array. + +2010-04-09 Nick Clifton <nickc@redhat.com> + + * dwarf.c (process_debug_info): Remove unused variable + cu_abbrev_offset_ptr. + (display_debug_lines_decoded): Remove unused variable prev_line. + * elfedit.c (process_archive): Remove unused variable + file_name_size. + * ieee.c (ieee_start_compilation_unit): Remove unused variable + nindx. + (ieee_set_type): Remove unused variables info, targetindx and + baseindx. + * objdump.c (disassmble_byte): Remove unused variable done_dot. + * rddbg.c (read_section_stabs_debugging_info): Remove unused + variable other. + * readelf.c (dump_section_as_strings): Remove unused variable + addr. + (process_archive): Remove unused variable file_name_size. + * stabs.c (parse_stab_string): Mark desc parameter as unused. + Remove unused variable lineno. + (parse_stab_struct_type): Remove unused variable orig. + (stab_demangle_type): Remove unused variables constp, volatilep + and hold. + +2010-04-07 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + +2010-04-06 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-04-05 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size + fields. + (display_debug_frames): Handle CIE version 4. + + * dwarf.c (struct State_Machine_Registers): Add op_index field, + change end_sequence type to unsigned char. + (reset_state_machine): Clear op_index. + (process_extended_line_op): For DW_LNE_set_address clear op_index. + (display_debug_lines_raw): Initialize li_max_ops_per_insn. + Track op_index state machine register and print it if + li_max_ops_per_insn is != 1. + (display_debug_lines_decoded): Likewise. + +2010-04-01 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (read_and_display_attr_value): Don't reject + dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present + and DW_FORM_exprloc. + (process_debug_info): Handle cu_version == 4. + (display_debug_lines_raw, display_debug_lines_decoded): Handle + li_version == 4. + +2010-03-30 Andreas Schwab <schwab@linux-m68k.org> + + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. + * Makefile.in: Regenerate. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * MAINTAINERS: Add self as TI C6X maintainer. + * NEWS: Add news entry for TI C6X support. + * readelf.c: Include elf/tic6x.h. + (guess_is_rela): Handle EM_TI_C6000. + (dump_relocations): Likewise. + (get_tic6x_dynamic_type): New. + (get_dynamic_type): Call it. + (get_machine_flags): Handle EF_C6000_REL. + (get_osabi_name): Handle machine-specific values only for relevant + machines. Handle C6X values. + (get_tic6x_segment_type): New. + (get_segment_type): Call it. + (get_tic6x_section_type_name): New. + (get_section_type_name): Call it. + (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle + EM_TI_C6000. + +2010-03-25 Thomas Schwinge <thomas@codesourcery.com> + + * doc/binutils.texi (readelf) <unwind information>: Mention support for + ARM unwind tables. + +2010-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (decode_arm_unwind): Increase buf size to 9 byte. + +2010-03-17 Alan Modra <amodra@gmail.com> + + * readelf.c (dump_arm_unwind): Warning fix. + +2010-03-16 Daniel Jacobowitz <dan@codesourcery.com> + + * MAINTAINERS: Update my email address. List Tristan Gingold + as the release branch maintainer. + +2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * readelf.c (get_ver_flags): Handle VER_FLG_INFO. + +2010-03-02 Daniel Jacobowitz <dan@codesourcery.com> + + * NEWS: Document .ARM.exidx / .ARM.extab support. + + * dwarf.c (read_leb128): Make non-static. + * dwarf.h (read_leb128): Declare. + * readelf.c (REMOVE_ARCH_BITS): Define. + (find_section_by_address): New. + (read_uleb128): Move higher. Use read_leb128 from dwarf.c. + (find_symbol_for_address): Handle the Thumb bit for ARM, by + using REMOVE_ARCH_BITS. + (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name) + (arm_free_section, arm_section_get_word, decode_arm_unwind) + (dump_arm_unwind, arm_process_unwind): New. + (process_unwind): Handle ARM. + +2010-02-26 Jie Zhang <jie@codesourcery.com> + + * MAINTAINERS: Update my email address. + +2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + PR binutils/11298 + * doc/binutils.texi (windmc): Fix synopsis and description of + ASCII options. + +2010-02-19 Alan Modra <amodra@gmail.com> + + * readelf.c (get_group_flags): Return empty string when flags zero. + Add space in other returned values. + (process_section_groups): Adjust format string. + +2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of + newly permitted attribute values. + (arm_attr_tag_Virtualization_use): Likewise. + (arm_attr_tag_DIV_use): Add description of new attribute. + (arm_attr_tag_MPextension_use_legacy): Likewise. + +2010-02-15 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-02-09 Michael Holzheu <holzheu@de.ibm.com> + + * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP, + NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX. + +2010-02-08 Jim Blandy <jimb@red-bean.com> + + * dwarf.c (display_debug_frames): Skip the 'S' character in CFI + 'z' augmentation strings. + +2010-02-08 Christophe Lyon <christophe.lyon@st.com> + + * objdump.c (disassemble_bytes): Clear aux->reloc before printing + a new address, so as not to reuse a previous, non-related reloc. + +2010-02-02 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (get_note_type): Handle NT_X86_XSTATE. + +2010-02-01 Nathan Sidwell <nathan@codesourcery.com> + + * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding + sections. + +2010-01-28 Nick Clifton <nickc@redhat.com> + + PR 11225 + * objdump.c (only): Replace with linked list. + (only_size, only_used): Replace with only_list. + (process_section_p): Set seen field on matches sections. + (add_only): New function. + (free_only_list): New function. + (disassemble_section): Check only_list. + (main): Use add_only and free_only_list. + +2010-01-26 Tristan Gingold <gingold@adacore.com> + + * Makefile.am (bin2c): Add libintl dependance and library. + * Makefile.in: Regenerate. + +2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS. + +2010-01-19 Ian Lance Taylor <iant@google.com> + + * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work + with non-ordinary files like /dev/null. + +2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com> + Alan Modra <amodra@gmail.com> + + * readelf.c (process_file_header): Handle e_phnum extension. + +2010-01-14 Tristan Gingold <gingold@adacore.com> + + * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type + and DW_AT_GNAT_descriptive_type. + +2010-01-13 Tristan Gingold <gingold@adacore.com> + + * ar.c (main): Use lbasename. + (normalize): Ditto. + * objdump.c (update_source_path): Ditto. + +2010-01-12 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (CFLAGS): Turns warnings into informational messages. + +2010-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11146 + * NEWS: Mention --dyn-syms for readelf. + + * readelf.c (do_dyn_syms): New. + (OPTION_DYN_SYMS): Likewise. + (options): Add "dyn-syms". + (usage): Add --dyn-syms. + (parse_args): Handle OPTION_DYN_SYMS. + (process_symbol_table): Handle do_dyn_syms. + (process_object): Likewise. + (process_archive): Likewise. + + * doc/binutils.texi: Document --dyn-syms for readelf. Mention + symbol hash tables for -D. + +2010-01-11 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention addition of elfedit. + + * po/fi.po: Updated Finnish translation. + +2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * version.c (print_version): Change to "Copyright 2010". + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * elfedit.c (input_elf_type): New. + (output_elf_type): Likewise. + (elf_type): Likewise. + (update_elf_header): Support updating ELF file type. + (command_line_switch): Add OPTION_INPUT_TYPE and + OPTION_OUTPUT_TYPE. + (options): Likewise. + (usage): Add --input-type and --output-type. + (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check + one of --output-mach and --output-type must be specified. + + * doc/binutils.texi: Document --input-type and --output-type + for elfedit. + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * doc/binutils.texi: Fix a typo. + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * elfedit.c (update_elf_header): Don't change input_elf_class + nor input_elf_machine if they are -1. + +2010-01-08 Tristan Gingold <gingold@adacore.com> + + * ar.c: Remove bfd_special_undocumented_glue prototype. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * elfedit.c (update_elf_header): Reformat. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (usage): Fix indent for --symbols. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * doc/binutils.texi: Replace -histogram with --histogram. + +2010-01-06 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11131 + * Makefile.am (ELFEDIT_PROG): New. + (bin_PROGRAMS): Add $(ELFEDIT_PROG). + (CFILES): Add elfedit.c. + (elfedit_DEPENDENCIES): New. + (elfedit_SOURCES): Likewise. + (elfedit_LDADD): Likewise. + * Makefile.in: Regenerated. + + * elfedit.c: New. + + * doc/binutils.texi: Document elfedit. + + * doc/Makefile.am (man_MANS): Add elfedit.1. + (elfedit.1): New. + * doc/Makefile.in: Regenerated. + +2010-01-06 Tristan Gingold <gingold@adacore.com> + + * nm.c (usage): Remove extra blanks. + +2010-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c: Update copyright. + * readelf.c: Likewise. + +2010-01-04 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11130 + * objcopy.c (copy_object): Remove "Warning: " from error + message. + +2010-01-04 Nick Clifton <nickc@redhat.com> + + PR 11128 + * readelf.c (dump_section_as_strings): Use two separate + invocations of printf() in order to work around bugs in + the Solaris 8 implementation. + +2010-01-04 Nick Clifton <nickc@redhat.com> + + * po/ru.po: Updated Russian translation. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index d7ecd61..db99369 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,95 +1,4 @@ -2010-12-09 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-11-25 Alan Modra <amodra@gmail.com> - - * po/bg.po: Update. - * po/es.po: Update. - -2010-11-10 Nick Clifton <nickc@redhat.com> - - * po/ru.po: New Russian translation. - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * po/gprof.pot: Regenerate - -2010-10-29 Matthias Klose <doko@ubuntu.com> - - * gprof.texi (Deprecated Options): Move introduction out of the table. - -2010-10-28 Matthias Klose <doko@ubuntu.com> - - * gprof.texi: Add directory section for info document. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-07-16 James Blackburn <james.blackburn@broadcom.com> - - * corefile.c (core_sym_class): Fix handling of subprogram names - and add support for cloned function names. - -2010-06-15 Doug Semler <dougsemler@gmail.com> - - * gmon_io.c (gmon_out_read): Remove double fclose of input file. - -2010-06-08 Nick Clifton <nickc@redhat.com> - - * gprof.texi (Sampling Error): Note that call counts and basic - block counts are only reliable for multi-threaded applications if - the counting function itself is thread safe. - -2010-06-08 Nick Clifton <nickc@redhat.com> - - * gprof.texi: Replace abbreviated 20th century year numbers with - full versions. - -2010-05-07 Tristan Gingold <gingold@adacore.com> - - * Makefile.in: Regenerate with automake 1.11.1. - * aclocal.m4: Ditto. - -2010-05-05 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2010-04-27 Hongsheng Zhang <hongsheng611@gmail.com> - - PR gprof/11524 - * corefile.c (core_create_syms_from): Use correct size of buffer. - -2010-04-22 Nick Clifton <nickc@redhat.com> - - * po/gprof.pot: Updated by the Translation project. - * po/vi.po: Updated Vietnamese translation. - * po/bg.po: Updated Bulgarian translation. - -2010-04-07 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - -2010-03-30 Andreas Schwab <schwab@linux-m68k.org> - - * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. - * Makefile.in: Regenerate. - -2010-03-16 Segher Boessenkool <segher@kernel.crashing.org> - - * gmon_io.c (gmon_out_read): Close file when done. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in: Regenerate. - * configure: Regenerate. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/gprof/ChangeLog-2010 b/gprof/ChangeLog-2010 new file mode 100644 index 0000000..d7ecd61 --- /dev/null +++ b/gprof/ChangeLog-2010 @@ -0,0 +1,99 @@ +2010-12-09 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-11-25 Alan Modra <amodra@gmail.com> + + * po/bg.po: Update. + * po/es.po: Update. + +2010-11-10 Nick Clifton <nickc@redhat.com> + + * po/ru.po: New Russian translation. + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * po/gprof.pot: Regenerate + +2010-10-29 Matthias Klose <doko@ubuntu.com> + + * gprof.texi (Deprecated Options): Move introduction out of the table. + +2010-10-28 Matthias Klose <doko@ubuntu.com> + + * gprof.texi: Add directory section for info document. + +2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-07-16 James Blackburn <james.blackburn@broadcom.com> + + * corefile.c (core_sym_class): Fix handling of subprogram names + and add support for cloned function names. + +2010-06-15 Doug Semler <dougsemler@gmail.com> + + * gmon_io.c (gmon_out_read): Remove double fclose of input file. + +2010-06-08 Nick Clifton <nickc@redhat.com> + + * gprof.texi (Sampling Error): Note that call counts and basic + block counts are only reliable for multi-threaded applications if + the counting function itself is thread safe. + +2010-06-08 Nick Clifton <nickc@redhat.com> + + * gprof.texi: Replace abbreviated 20th century year numbers with + full versions. + +2010-05-07 Tristan Gingold <gingold@adacore.com> + + * Makefile.in: Regenerate with automake 1.11.1. + * aclocal.m4: Ditto. + +2010-05-05 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2010-04-27 Hongsheng Zhang <hongsheng611@gmail.com> + + PR gprof/11524 + * corefile.c (core_create_syms_from): Use correct size of buffer. + +2010-04-22 Nick Clifton <nickc@redhat.com> + + * po/gprof.pot: Updated by the Translation project. + * po/vi.po: Updated Vietnamese translation. + * po/bg.po: Updated Bulgarian translation. + +2010-04-07 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + +2010-03-30 Andreas Schwab <schwab@linux-m68k.org> + + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. + * Makefile.in: Regenerate. + +2010-03-16 Segher Boessenkool <segher@kernel.crashing.org> + + * gmon_io.c (gmon_out_read): Close file when done. + +2010-02-15 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.in: Regenerate. + * configure: Regenerate. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index 1a4d8fe..db99369 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,1371 +1,4 @@ -2010-12-31 Robert Millan <rmh@gnu.org> - Richard Sandiford <rdsandiford@googlemail.com> - - * configure.tgt: Recognize mips-freebsd and mips-kfreebsd-gnu. - - * emulparams/elf32btsmip_fbsd.sh: New file. - * emulparams/elf32btsmipn32_fbsd.sh: Likewise. - * emulparams/elf32ltsmip_fbsd.sh: Likewise. - * emulparams/elf32ltsmipn32_fbsd.sh: Likewise. - * emulparams/elf64btsmip_fbsd.sh: Likewise. - * emulparams/elf64ltsmip_fbsd.sh: Likewise. - - * Makefile.am: Add build rules for `eelf32btsmip_fbsd.c', - `eelf32btsmipn32_fbsd.c', `eelf32ltsmip_fbsd.c', - `eelf32ltsmipn32_fbsd.c', `eelf64btsmip_fbsd.c' and - `eelf64ltsmip_fbsd.c'. - * Makefile.in: Regenerate. - -2010-12-30 H.J. Lu <hongjiu.lu@intel.com> - - * emulparams/elf32_x86_64.sh: New. - - * configure.tgt (targ64_extra_emuls): Add elf32_x86_64 for - i[3-7]86-*-linux-*. - (targ_extra_libpath): Likewise. - (targ_extra_emuls): Add elf32_x86_64 for x86_64-*-linux-*. - (targ_extra_libpath): Likewise. - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64.c. - (eelf32_x86_64.c): New. - * Makefile.in: Regenerated. - -2010-12-20 Alan Modra <amodra@gmail.com> - - PR ld/12327 - * ld.texinfo (Expression Section): Describe treatment of numbers - and absolute symbols. - * ldemul.c (after_open_default): Look up __ld_compatibility. - * ldexp.c (fold_name): Convert absolute symbols to numbers when - inside output section definitions, or when __ld_compatibility >= 221. - (exp_fold_tree_1): Convert numbers to absolute when not in output - section definition and __ld_compatibility < 221. Don't always - convert values outside an output section definition to absolute. - * ldexp.h (uses_defined): Comment. - * ldlang.c (ld_compatibility): New variable. - * ldlang.h (ld_compatibility): Declare. - * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, - * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, - * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, - * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call - after_open_default from after_open function. - -2010-12-20 Alan Modra <amodra@gmail.com> - - PR ld/12001 - Revert 2010-11-03 Nick Clifton - * ldlang.c (ldlang_def_chain_list): Delete. - (insert_defined, ldlang_add_def, lang_place_defineds): Delete. - (lang_process): Don't call lang_place_defineds. - (lang_add_assignment): Don't do anything special for --defsym. - - * ldexp.h (struct ldexp_control): Add uses_defined. - (exp_fold_tree_no_dot): Declare. - * ldexp.c (exp_fold_tree): Clear uses_defined. - (exp_fold_tree_no_dot): Likewise. Make global. - (fold_name <DEFINED>): Set uses_defined. - (exp_fold_tree_1 <etree_assign>): Define symbol during first phase - even when the value being assigned isn't valid. - * ldlang.c (open_input_bfds): Process assignment statements. - (lang_process): Bump lang_statement_iteration. - (scan_for_self_assignment): Formatting. - (print_assignment): Style. - -2010-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. - - * NEWS: Mention SORT_BY_INIT_PRIORITY. - - * configure.in: Add AC_CANONICAL_BUILD. - Add --enable-initfini-array. - - * genscripts.sh (ENABLE_INITFINI_ARRAY): New. - - * ld.h (sort_type): Add by_init_priority. - - * ld.texinfo: Document SORT_BY_INIT_PRIORITY. - - * ldgram.y (SORT_BY_INIT_PRIORITY): New. - (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. - - * ldlang.c (get_init_priority): New. - (compare_section): Use get_init_priority for by_init_priority. - - * ldlex.l (SORT_BY_INIT_PRIORITY): New. - - * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. - - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * config.in: Likewise. - * configure: Likewise. - -2010-12-13 Alan Modra <amodra@gmail.com> - - * ldlang.c (load_symbols): Correct last change. - -2010-12-12 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (load_symbols): Optimize for add_archive_element. - -2010-12-09 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-12-06 H.J. Lu <hongjiu.lu@intel.com> - - * lexsup.c (ld_options): Add -flto and -flto-partition= for - GCC LTO option compatibility. - -2010-12-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12288 - * plugin.c (message): Don't add the trailing `\n' for - LDPL_ERROR. - -2010-12-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12288 - * testplug.c: Remove the trailing `\n' from TV_MESSAGE. - -2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR ld/12288 - * plugin.c (message): Use putchar for the trailing `\n'. - -2010-12-06 H.J. Lu <hongjiu.lu@intel.com> - Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR ld/12289 - * ldmain.c (main): Don't call plugin_call_cleanup. - - * plugin.c (plugin_call_cleanup): Make it static. - (message): Don't call plugin_call_cleanup. - (plugin_load_plugins): Call xatexit with plugin_call_cleanup. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12289 - * plugin.c (message): Call plugin_call_cleanup on fatal - error. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - * plugin.c (message): Add a space after `:' in error message. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - * plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n' - to einfo. - (get_symbols): Likewise. - (plugin_notice): Likewise. - (plugin_multiple_definition): Likewise. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12288 - * plugin.c (message): Add the trailing `\n'. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - * ldfile.c (ldfile_open_file_search): Check maybe_archive instead - of is_archive. - * emultempl/aix.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/pep.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/vms.em: Likewise. - - * ldlang.c (new_afile): Set maybe_archive instead of is_archive.. - - * ldlang.h (lang_input_statement_struct): Replace is_archive - with maybe_archive. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12277 - * plugin.c (asymbol_from_plugin_symbol): Properly convert LTO - plugin visibility to ELF visibility. - (is_visible_from_outside): Re-indent. - -2010-12-04 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_size_sections_1): Align lma using same alignment - as for vma. - -2010-12-03 H.J. Lu <hongjiu.lu@intel.com> - - * lexsup.c (ld_options): Fix a typo in comments. - -2010-12-01 H.J. Lu <hongjiu.lu@intel.com> - - * plugin.h: Re-indent. - -2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> - - * configure.tgt: Add sparc64-rtems. - -2010-11-26 Alan Modra <amodra@gmail.com> - - * po/ja.po: Update. - -2010-11-25 Alan Modra <amodra@gmail.com> - - * po/bg.po: Update. - * po/es.po: Update. - * po/fi.po: Update. - * po/ja.po: New. - * po/zh_CN.po: Update. - -2010-11-25 Jan Hubicka <hubicka@ucw.cz> - - * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot - sections. - -2010-11-23 Matthias Klose <doko@ubuntu.com> - - * configure.ac: For --enable-gold, handle value `default' instead of - `both*'. Always install ld as ld.gold, install as ld if gold is - the default. - * configure: Regenerate. - -2010-11-21 H.J. Lu <hongjiu.lu@intel.com> - - * ldfile.c: Re-indent plugin code. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * plugin.c: Likewise. - -2010-11-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12246 - * plugin.c (asymbol_from_plugin_symbol): Set alignment of - common symbol to 1 for For ELF targets. - -2010-11-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12247 - * lexsup.c (parse_args): Properly report loading plugin error. - -2010-11-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.c (is_visible_from_outside): New function. - (get_symbols): Use it. - -2010-11-16 Jie Zhang <jie.zhang@analog.com> - - * Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em. - * Makefile.in: Regenerated. - * emulparams/bfin.sh (EXTRA_EM_FILE): Set. - * emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise. - * emultempl/bfin.em: New. - -2010-11-16 Yasuaki Taniguchi <taniguchi.yasua@jp.fujitsu.com> - - * emultempl/pe.em (_list_options): Correct typo. - * emultempl/pep.em (_list_options): Likewise. - -2010-11-08 Thomas Schwinge <thomas@schwinge.name> - - * configure.host: Add stanza for *-*-gnu*. - -2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr> - - * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter. - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * po/ld.pot: Regenerate - * po/POTFILES.in: Regenerate - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.21. - -2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.h (plugin_active_plugins_p): New prototype. - (is_ir_dummy_bfd): Delete prototype. - * plugin.c: Fix formatting issues. - (is_ir_dummy_bfd): Make static. - (plugin_active_plugins_p): New function. - * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins - are loaded. Always close file descriptor after claim handler returns. - * ldmain.c (add_archive_element): Likewise. - -2010-11-05 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD. - (map_input_to_output_sections): Likewise. - (lang_size_sections_1): Likewise. - (IGNORE_SECTION): Don't test SEC_NEVER_LOAD. - (lang_check_section_addresses): Likewise. - -2010-11-04 Kai Tietz <kai.tietz@onevision.com> - - * scripttempl/pe.sc (.debug_types): New. - * scripttempl/pep.sc: Likewise. - -2010-11-04 Alan Modra <amodra@gmail.com> - - * plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd. - -2010-11-03 Nick Clifton <nickc@redhat.com> - - PR ld/12001 - * ldlang.c (ldlang_def_chain_list): New variable. Contains a list - of symbols defined via the --defsym command line option and - currently waiting assignment. - (insert_defined): Add a defined symbol to the symbol table. - (ldlang_add_def): Add a entry to the ldlang_def_chain_list. - (lang_place_defineds): Walk ldlang_def_chain_list defining the - symbols. - (lang_process): Call lang_place_defineds. - (lang_add_assignment): If the assignment has come from a --defsym - command line option then call lang_add_def. - -2010-11-03 Alan Modra <amodra@gmail.com> - - * Makefile.am (eelf64hppa.c): Correct dependencies. - * Makefile.in: Regenerate. - -2010-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/armbpabi.sc: Include compressed DWARF debug - sections. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf32cr16.sc: Likewise. - * scripttempl/elf32crx.sc: Likewise. - * scripttempl/elf32msp430.sc: Likewise. - * scripttempl/elf32msp430_3.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/ip2k.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/mmo.sc: Likewise. - * scripttempl/v850.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after - bfd_openr returns. - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise. - - * scripttempl/elf.sc: Include compressed DWARF debug sections. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR. - -2010-10-28 Matthias Klose <doko@ubuntu.com> - - * ld.texinfo: Add directory section for info document. - * ldint.texinfo: Likewise. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For - --no-undefined-version, don't report dot sym versions added by ld. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * ldlang.h (ldlang_add_undef): Add cmdline param. - * ldlang.c (undef_from_cmdline): New var. - (ldlang_add_undef): Add cmdline param. Set undef_from_cmdline. - (lang_end): Really require -e or -u from command line on - relocatable --gc-sections. - * ldemul.c (after_parse_default): Adjust ldlang_add_undef call. - * ldgram.y (extern_name_list_body): Likewise. - * lexsup.c (parse_args): Likewise. - * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. - -2010-10-25 Alan Modra <amodra@gmail.com> - - * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id. - Formatting. - -2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to - elf32-sparc-sol2. - * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to - elf64-sparc-sol2. - -2010-10-22 Alan Modra <amodra@gmail.com> - - * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't - output when section has no contents. - (build_link_order <lang_reloc_statement_enum>): Likewise. - -2010-10-21 Joseph Myers <joseph@codesourcery.com> - - * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use - .c6xabi.attributes, not __TI_build_attributes. - -2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.c (get_symbols): Check symbol type correctly. - -2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> - - * configure.in: If <dlfcn.h> can't be found, try for <Windows.h> - * configure: Regenerate. - * config.in: Likewise. - * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide - trival LoadLibrary-based replacement for Windows systems. - [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial - replacement based on GetProcAddress. - [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary. - * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS - anymore, use its own guard. - -2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.c (add_input_file): Take copy of input string. - (add_input_library): Likewise. - (set_extra_library_path): Likewise. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 6/6). - * ldlang.c (load_symbols): Handle bfd subsitution when calling the - add_archive_element callback. - * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive - member to the plugins and if claimed set "subsbfd" output parameter to - point to the dummy IR-only BFD. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 5/6). - * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd, - find the elf symbol data and set the visibility in the st_other field. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 4/6). - * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of - plugin_call_all_symbols_read to before setting of gc_sym_list, and - open any new input files that may have been added during it. - * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to - plugin_multiple_definition and let it have first say over what to do - with the clashing definitions. - * plugin.c (no_more_claiming): New boolean variable. - (plugin_cached_allow_multiple_defs): Likewise. - (add_input_file): Implement. - (add_input_library): Likewise. - (set_extra_library_path): Likewise. - (plugin_call_claim_file): Don't do anything when no_more_claiming set. - (plugin_call_all_symbols_read): Set it. Disable link info - "allow_multiple_definition" flag, but cache its value. - (plugin_multiple_definition): New function. - * plugin.h (plugin_multiple_definition): Add prototype. - * testplug.c (addfile_enum_t): New enumerated typedef. - (add_file_t): New struct typedef. - (addfiles_list): New variable. - (addfiles_tail_chain_ptr): Likewise. - (record_add_file): New function. - (parse_option): Parse "add:", "lib:" and "dir:" options and call it. - (onall_symbols_read): Iterate the list of new files, libs and dirs, - adding them. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 3/6). - * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice. - * plugin.c (non_ironly_hash): Add new bfd hash table. - (plugin_load_plugins): Exit early if no plugins to load. If plugins - do load successfully, set notice_all flag in link info. - (get_symbols): Implement. - (plugin_load_plugins): Exit early if no plugins to load, else after - loading plugins successfully enable notice_all mode. - (init_non_ironly_hash): Lazily init non_ironly_hash table. - (plugin_notice): Record symbols referenced from non-IR files in the - non_ironly_hash. Suppress tracing, cref generation and nocrossrefs - tracking for symbols from dummy IR bfds. - * plugin.h: Fix formatting. - (plugin_notice): Add prototype. - * testplug.c (dumpresolutions): New global var. - (parse_options): Accept "dumpresolutions". - (onall_symbols_read): Get syms and dump resolutions if it was given. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 2/6). - * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early - during compat checks if they pass, instead offer any successfully - opened and accepted file to the plugin claim file hooks chain. Create - a dummy bfd to accept symbols added by the plugin, if the plugin - claims the file. - * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols - read hook chain before ldemul_after_open. - * ldlang.h (struct lang_input_statement_struct): Add new single-bit - 'claimed' flag. - * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix. - (IRONLY_SUFFIX_LEN): Length of the above string. - (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used - to store symbols for ir-only files. - (is_ir_dummy_bfd): New function to check if a bfd is ir-only. - (asymbol_from_plugin_symbol): New function converts symbol formats. - (add_symbols): Call it to convert plugin syms to bfd syms and add - them to the dummy bfd. - * plugin.h: Add missing include guards. - (plugin_get_ir_dummy_bfd): Add prototype. - (is_ir_dummy_bfd): Likewise. - * testplug.c (TV_MESSAGE): New helper macro. - (struct claim_file): New struct. - (claim_file_t): New typedef. - (tag_names[]): Make static and const. - (claimfiles_list): New variable. - (claimfiles_tail_chain_ptr): Likewise. - (last_claimfile): Likewise. - (record_claim_file): Record a file to claim on a singly-linked list. - (parse_symdefstr): Parse an ASCII representation of a symbol from a - plugin option into the fields of a struct ld_plugin_symbol. - (record_claimed_file_symbol): Use it to parse plugin option for - adding a symbol. - (parse_option): Parse claim file and add symbol options. - (dump_tv_tag): Use TV_MESSAGE. - (onload): Likewise. - (onclaim_file): Make static. Use TV_MESSAGE. Scan list of files to - claim and claim this file if required, adding any symbols specified. - (onall_symbols_read): Make static and use TV_MESSAGE. - (oncleanup): Likewise. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 1/6). - * configure.in: Add AC_CHECKs for file io and dlfcn headers and - functions and AC_SEARCH for -ldl. - (enable_plugins): New shell variable set if above tests find dlopen - functionality. - (ENABLE_PLUGINS): Add related automake conditional. - * configure: Regenerate. - * config.in: Likewise. - * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional - on ENABLE_PLUGINS being defined. - (PLUGIN_H): Likewise for header file. - (PLUGIN_OBJECT): Likewise for object file. - (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support. - (AM_CPPFLAGS): Use PLUGIN_CFLAGS. - (CFILES): Use PLUGIN_C. - (HFILES): Use PLUGIN_H. - (OFILES): Use PLUGIN_OBJECT. - (ld_new_SOURCES): Use PLUGIN_C. - (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin. - (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition - for test plugin. - (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise. - (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise. - * Makefile.in: Regenerate. - * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or - sys/file.h where available. Include dlfcn.h when ENABLE_PLUGINS. - (O_RDONLY): Supply default definition likewise to bfd's sysdep.h - (O_WRONLY): Likewise. - (O_RDWR): Likewise. - (O_ACCMODE): Likewise. - (O_BINARY): Likewise. - (SEEK_SET): Likewise. - (SEEK_CUR): Likewise. - (SEEK_END): Likewise. - * ldmisc.c (vfinfo): Make non-static. Add %p format char. - * ldmisc.h (vfinfo): Declare extern prototype. - * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for - OPTION_PLUGIN and OPTION_PLUGIN_OPT. - (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two. - (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once - option parsing is complete. - * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just - after lang_finish. - * plugin.c: New source file. - * plugin.h: Likewise new header. - * testplug.c: New source file. - -2010-10-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed - basever_syms to global_syms. - Emit global_syms into .dynamic section for all executables and - shared objects. - (elf_solaris2_after_allocation): New function. - (LDEMUL_AFTER_ALLOCATION): Use it. - * emulparams/solaris2.sh: New file. - * emulparams/elf32_sparc_sol2.sh: Use it. - * emulparams/elf64_sparc_sol2.sh: Likewise. - * emulparams/elf_i386_sol2.sh: Likewise. - * emulparams/elf_x86_64_sol2.sh: Likewise. - * Makefile.am (eelf32_sparc_sol2.c): Depend on - $(srcdir)/emulparams/solaris2.sh. - (eelf64_sparc_sol2.c): Likewise. - (eelf_x86_64_sol2.c): Likewise. - (eelf_i386_sol2.c): Likewise. - * Makefile.in: Regenerate. - -2010-10-06 Nick Clifton <nickc@redhat.com> - - * ld.texinfo: Update description of computation of VMA and LMA - addresses for output sections. - -2010-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit. - * Makefile.in: Regenerate. - - * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ... - (ALL_EMULATION_SOURCES): ... this new variable. - (ALL_64_EMULATIONS): Rewrite in terms of ... - (ALL_64_EMULATION_SOURCES): ... this new variable. - (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES - variables. - (eelf32microblaze.c): Fix indentation. - * Makefile.in: Regenerate. - -2010-10-04 Bernd Schmidt <bernds@codesourcery.com> - - * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use - _bfd_elf_single_rel_hdr. - -2010-10-01 Alan Modra <amodra@gmail.com> - - PR ld/12066 - * ldexp.c (fold_name): Treat absolute symbols as plain numbers. - * ld.texinfo (Expression Section): Don't say absolute symbols - are addresses. - -2010-09-29 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load - section for orphans handled here. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com> - - * scripttempl/armcoff.sc: Revert 2010-09-22 change. - -2010-09-23 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input - to output section on a final link. - -2010-09-22 Kai Tietz <kai.tietz@onevision.com> - - * ldlang.c (lang_add_section): Allow for debugging - section to be marked as noload but to keep content. - (IGNORE_SECTION): Likewise. - (lang_check_section_addresses): Likewise. - * ldwrite.c (build_link_order): Likewise. - - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add - idata to orphan set. - * emultempl/pep.em: Likewise. - * scripttempl/armcoff.sc: Separate idata - and add __IAT_start__ and __IAT_end__ labels. - * scripttempl/pe.sc: Likewise. - * scripttempl/pep.sc: Likewise. - -2010-09-20 David S. Miller <davem@davemloft.net> - - * emulparams/elf32_sparc.sh: Set NOP to 0x01000000 - -2010-09-16 Alan Modra <amodra@gmail.com> - - * ld.texinfo (NOLOAD): Do not erroneously state that contents will - appear in output file. - * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload - unless SEC_COFF_SHARED_LIBRARY. - (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload - output sections. - (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding - to update dot in region. Ditto when setting SEC_ALLOC if dot - advanced due to assignment. - * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD. - -2010-09-15 Kai Tietz <kai.tietz@onevision.com> - - * scripttempl/pep.sc: Add .xdata segment and - put into .pdata all segments beginning with .pdata. - -2010-09-10 Alan Modra <amodra@gmail.com> - - PR ld/11931 - * ldlang.h (lang_for_each_statement_worker): Declare. - * ldlang.c (lang_for_each_statement_worker): Make global. Don't - recurse into children of output_section_statement with constraint - set to -1. - (print_assignment): Handle NULL output_section->bfd_section. - (lang_size_sections_1): Ignore output section statement address - when constraint is -1. - * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete. - -2010-09-09 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add a entry for alpha-vms. - -2010-09-07 Andrew Burgess <aburgess@broadcom.com> - - * ldwrite.c (clone_section): Call bfd_copy_private_section_data on - newly cloned section. - -2010-09-02 Richard Henderson <rth@redhat.com> - - * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too. - -2010-08-31 Nick Clifton <nickc@redhat.com> - - * ldlex.l (WILDCHAR): Add the caret and exclamation point - characters, so that they can be used inside globs. - -2010-08-31 Nick Clifton <nickc@redhat.com> - - * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in - a region's attributes. - -2010-08-31 Alan Modra <amodra@gmail.com> - - * scripttempl/mmo.sc: Move assignment to "Main" inside .text - output section statement. - -2010-08-25 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11946 - * emultempl/elf32.em (_before_allocation): Check audit entry - only on ELF input. - -2010-08-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11937 - * emultempl/elf32.em (_after_open): Find one .eh_frame section - for --eh-frame-hdr. - -2010-08-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11937 - * emultempl/elf32.em (_after_open): Find an ELF input for - --build-id and --eh-frame-hdr. - -2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> - - * Makefile.am (eshlelf_fd.c): Correct the name of the tool - directory. - * Makefile.in: Regenerate. - -2010-08-20 Nick Clifton <nickc@redhat.com> - - * emultempl/elf32.em (_after_open): Check for get_elf_backend_data - returning NULL. - -2010-08-19 Alan Modra <amodra@gmail.com> - - * NEWS: Mention change in linker script expression evaluation. - -2010-08-19 Alan Modra <amodra@gmail.com> - - * ld.texinfo (Expression Section): Detail expression evaluation. - (Builtin Functions <ADDR>): Correct. - (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally - the same as ADDR. - (Builtin Functions <SEGMENT_START>): Typo fix. - * ldexp.c (new_number): New function. - (make_abs, exp_get_abs_int): Cope with NULL expld.result.section. - (fold_unary <'~', '!', '-'>): Don't make_abs. - (fold_binary): Simplify result section logic. Return NULL section - for logical ops. - (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to - a consistent result. - (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs. - (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise. - (fold_name <NAME>): No need to handle absolute symbols differently - from relative ones. - (fold_name <ORIGIN>): Don't return valid result when - lang_first_phase_enum. Return new_rel_from_abs, not new_abs. - (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel. - (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning - a plain number to dot, assume the value is relative to expld.section. - Make terms not in an output section, absolute. - * ldlang.c (print_assignment): Fix style nit. - (lang_size_sections_1): Cope with NULL expld.result.section. - (lang_do_assignments_1): Likewise. - -2010-08-12 Alan Modra <amodra@gmail.com> - - * ldexp.c (new_rel): Remove "str". Update all call sites. - (exp_fold_tree_1): When assigning to dot, calculate nextdot - using expld.result.section rather than expld.section. - -2010-08-06 Alan Modra <amodra@gmail.com> - - PR ld/11887 - * ldlang.c (lang_add_vers_depend): Don't leave version_needed - uninitialised. - -2010-07-28 Alan Modra <amodra@gmail.com> - - * ldexp.c (exp_print_tree): Print function-like binary nodes as - functions rather than in-fix operators. Use fputs and fputc - where appropriate. - -2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> - Ina Pandit <ina.pandit@kpitcummins.com> - - * configure.tgt: Match all v850 targets. - -2010-07-20 Mike Frysinger <vapier@gentoo.org> - - * ld.texinfo (VERSION): Remove "int" from example script and add ";". - Declare the default language as C. - -2010-07-17 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_check_section_addresses): Catch overlap for - sections that wrap around the address space. - -2010-06-29 Nick Clifton <nickc@redhat.com> - - * scripttempl/xstormy16.sc (.gcc_except_table): Include sections - with the .gcc_except_table. prefix. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * emulparams/maxqcoff.sh: Delete file. - * scripttempl/maxqcoff.sc: Delete file. - * Makefile.am: Remove references to maxq. - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2010-06-27 Alan Modra <amodra@gmail.com> - - * pe-dll.c (fill_edata): Avoid set but unused warning. - (pe_walk_relocs_of_symbol): Delete set but unused variables. - (generate_reloc, pe_implied_import_dll): Likewise. - * emultempl/aix.em (open_dynamic_archive): Likewise. - * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise. - (xtensa_layout_wild): Likewise. - (xtensa_colocate_output_literals_callback): Likewise. - -2010-06-25 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (prelim_size_sections): New function. - (ppc_before_allocation): Use it. Size sections before toc edit too. - -2010-06-25 Alan Modra <amodra@gmail.com> - - * emultempl/elf32.em (find_exp_assignment): Handle etree_provided. - -2010-06-20 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make - auto-import and merge-rdata defaults same for i[3-7]86 and - x86_64 mingw. - -2010-06-15 Joseph Myers <joseph@codesourcery.com> - - * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. - -2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/11603 - * pe-dll.c (process_def_file_and_drectve): Reorder check for - forwarded export name after check for ordinary export. - -2010-06-08 Bernd Schmidt <bernds@codesourcery.com> - - * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. - -2010-06-08 Nick Clifton <nickc@redhat.com> - - * fdl.texi: Replace with v1.3 text. - * ld.texinfo: Replace abbreviated 20th century year numbers with - full versions. - * ldint.texinfo: Likewise. - Relicense under GFDL v1.3. Replace text of v1.1 FDL with an - include of the fdl.texi file. - -2010-06-01 Tristan Gingold <gingold@adacore.com> - - * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the - readonly output-section. Handle LIB$INITIALIZE and sections - created by gcc. - * emultempl/vms.em (vms_place_orphan): Add comments. - -2010-05-28 Nick Clifton <nickc@redhat.com> - - * Makefile.am (eshlelf_fd.c): Fix typo in rule. - * Makefile.in: Regenerate. - -2010-05-26 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11628 - * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't - multiple of maximum page size. - -2010-05-25 Nick Clifton <nickc@redhat.com> - - * Makefile.am: Fix typo. - * Makefile.in: Regenerate. - -2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - Andrew Stubbs <ams@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o. - (eshelf_fd.c, eshlelf_fd.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd - emulations. - * emulparams/shelf_fd.sh: New file. - * emulparams/shlelf_fd.sh: New file. - * emulparams/shlelf_linux.sh: Update comment. - -2010-05-25 Jay Krell <jay.krell@cornell.edu> - - PR ld/11621 - * Makefile.am: Replace all occurences of .o with .@OBJEXT@ - * Makefile.in: Regenerate. - -2010-05-25 Kai Tietz <kai.tietz@onevision.com> - - * deffilep.y (opt_name): Allow leading dot. - (dot_name): Likewise. - (anylang_id): Likewise. - * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by - default auto_import. - (gld${EMULATION_NAME}_handle_option): Warn about v1. - (pep_find_data_imports): Remove superflous warnings about - auto-import. - (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import - and active pseudo-relocation-v2 rdata into data section. - * emultempl/pe.em (default_merge_rdata): New shell variable. - (MERGE_RDATA_V2): New macro. - (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import - selected script. - -2010-05-15 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/pe.em (is_underscoring): New helper function. - (gld_${EMULATION_NAME}_before_parse): Replace code - for pe(p)_leading_underscore detection by is_underscoring. - (U): Likewise. - (GET_INIT_SYMBOL_NAME): Likewise. - (U_SIZE): Likewise. - (set_pe_name): - (set_entry_point): - (gld_${EMULATION_NAME}_set_symbols): - * emultempl/pep.em: Likewise. - * pe-dll.c (pe_detail_list): Set default - underscoring for x64 target. - (pe_dll_id_target): Add initialization of - pe(p)_leading_underscore. - -2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com> - - * pe-dll.c: Removed trailing whitespaces. - -2010-05-14 Alan Modra <amodra@gmail.com> - - PR ld/11583 - * ldexp.c (exp_fold_tree_1): If assignment source expression is - invalid, make the destination symbol undefined. - -2010-05-11 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): - Initialize pe(p)_leading_underscore variable. - (set_pe_name): Likewise. - * emultempl/pep.em: Likewise. - Additional change default to non-underscore for - pep_leading_underscore equal to -1. - -2010-05-07 Tristan Gingold <gingold@adacore.com> - - * Makefile.in: Regenerate with automake 1.11.1. - * aclocal.m4: Ditto. - -2010-05-05 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2010-04-27 Kai Tietz <kai.tietz@onevision.com> - - * pe-dll.c (_nm_-symbols): Use always underscored variant - for symbols. - (__imp_-symbols): Likewise. - (___imp_-symbols): Likewise. - * NEWS: Mention ABI change for x64 PE-COFF. - -2010-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (install-exec-local): Properly install ld as - default cross linker. - * Makefile.in: Regenerated. - -2010-04-27 H.J. Lu <hongjiu.lu@intel.com> - Nick Clifton <nickc@redhat.com> - - * configure.in (install_as_default): Define and set to true - unless --enable-gold=both/gold has been specified. - * configure: Regenerate. - - * Makefile.am (transform): Use ld.bfd as the default name of - the linker. - (install-exec-local): Also install the executable as a binary - named 'ld' if install_as_default is true. - * Makefile.in: Regenerate. - -2010-04-22 Nick Clifton <nickc@redhat.com> - - * po/ld.pot: Updated by the Translation project. - * po/vi.po: Updated Vietnamese translation. - * po/bg.po: Updated Bulgarian translation. - -2010-04-15 Andrew Haley <aph@redhat.com> - - * emultempl/armelf.em (merge_exidx_entries): New variable. - (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. - ("no-merge-exidx-entries"): New option. - * ld.texinfo (merge-exidx-entries): Document this option. - -2010-04-14 Tristan Gingold <gingold@adacore.com> - - * emulparams/alphavms.sh: New file. - * emultempl/vms.em: New file. - * scripttempl/alphavms.sc: New file. - * configure.tgt (alpha*-*-*vms*): Added. - * Makefile.am (ALL_EMULATIONS): Add ealphavms.o - (ealphavms.c): New target. - * Makefile.in: Regenerate. - -2010-04-09 Nick Clifton <nickc@redhat.com> - - * ldlang.c (wild_sort): Remove unused variable section_name. - -2010-04-07 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - -2010-04-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11434 - * ld/testsuite/ld-x86-64/unique1.d: New. - * ld/testsuite/ld-x86-64/unique1.s: Likewise. - - * ld-x86-64/x86-64.exp: Run unique1. - -2010-04-05 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/pep.em (U): Macro modified. - (U_SIZE): New helper macro. - (GET_INIT_SYMBOL_NAME): Likewise. - (enum options): Add OPTION_NO_LEADING_UNDERSCORE - and OPTION_LEADING_UNDERSCORE enumerator-values. - (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore - option. - (definfo): Add new member is_c_symbol. - (D): Add to macro underscore mode parameter. - (init): Add definition for is_c_symbol. - (gld_${EMULATION_NAME}_list_options): Display new options. - (set_pep_name): Adjust underscoring dependent fixed - symbol handling. - (gld_${EMULATION_NAME}_set_symbols): Likewise. - (saw_option): Likewise. - (gld_${EMULATION_NAME}_unrecognized_file): Likewise. - (set_entry_point): Initial initial_symbol_char dependent to - target's default and new option flag pep_leading_underscore. - * emultempl/pe.em (U): Macro modified. - (U_SIZE): New helper macro. - (GET_INIT_SYMBOL_NAME): Likewise. - (OPTION_LEADING_UNDERSCORE): Add new option define. - (OPTION_NO_LEADING_UNDERSCORE): Likewise. - (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore - option. - (definfo): Add new member is_c_symbol. - (D): Add to macro underscore mode parameter. - (init): Add definition for is_c_symbol. - (gld_${EMULATION_NAME}_list_options): Display new options. - (set_pep_name): Adjust underscoring dependent fixed - symbol handling. - (gld_${EMULATION_NAME}_set_symbols): Likewise. - (saw_option): Likewise. - (gld_${EMULATION_NAME}_unrecognized_file): Likewise. - (set_entry_point): Initial initial_symbol_char dependent to - target's default and new option flag pep_leading_underscore. - * pe-dll.c (pe_leading_underscore): New flag variable. - (pe_detail_list): Remove const to allow modify of - member underscore. - (pe_dll_id_target): Initialize pe_details' underscore variable - dependent to target's default and flag pe_leading_underscore. - * pe-dll.h (pe_leading_underscore): Add extern declaration of - option flag. - * pep-dll.c (pe_leading_underscore): Add alias define for - pep_leading_underscore. - * pep-dll.h (pep_leading_underscore) Add extern declaration of - option flag. - * ld.texinfo: Add documentation for --(no-)leading-underscore - option. - -2010-03-26 Alan Modra <amodra@gmail.com> - - PR ld/11426 - * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. - (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. - -2010-03-25 Joseph Myers <joseph@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and - eelf32_tic6x_le.o. - (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. - * NEWS: Add news entry for TI C6X support. - * configure.tgt (tic6x-*-*): New. - * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. - -2010-03-23 Joseph Myers <joseph@codesourcery.com> - - * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, - BSS_NAME): Define if not already defined. Use in place of some - hardcoded section names. - -2010-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/elf.sc (INIT_ARRAY): Re-indent. - -2010-03-18 Aymeric Vincent <vincent@labri.fr> - - PR ld/11384 - * emultempl/sh64elf.em: Add missing EOF. - -2010-03-18 Doug Semler <dougsemler@gmail.com> - - * pe-dll.c (make_one): Make text section readonly. - (make_one): Add *ABS* symbol @feat.00 with value 1 to tag - the jump stub on X86 as /SAFESEH compatible for - native toolchains. - -2010-03-17 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from - *prev instead. Update all callers. - -2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> - - * ldlang.c (lang_insert_orphan): Place loadable orphans in the same - region and phdrs as their placement section. - -2010-03-15 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. - (ppc_before_allocation): Call sort_toc_sections. - (no_toc_sort, OPTION_NO_TOC_SORT): New. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. - -2010-03-14 Alan Modra <amodra@gmail.com> - - PR ld/11378 - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call - ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. - -2010-03-11 George Gensure <werkt0@gmail.com> - - PR ld/11367 - * ldcref.c (handle_asneeded_cref): Correct copying of refs. - -2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, - eelf_i386_sol2.o. - (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. - (eelf32_sparc_sol2.c): New rule. - (eelf64_sparc_sol2.c): Likewise. - (eelf_x86_64_sol2.c): Likewise. - (eelf_i386_sol2.c): Likewise. - * Makefile.in: Regenerate. - * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to - elf_i386_sol2. - Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. - (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. - Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. - (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. - Add target_extra_emuls. - (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. - Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. - (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. - Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. - * emulparams/elf32_sparc_sol2.sh: New file. - * emulparams/elf64_sparc_sol2.sh: New file. - * emulparams/elf_i386_sol2.sh: New file. - * emulparams/elf_x86_64_sol2.sh: New file. - * emultempl/solaris2.em: New file. - -2010-02-27 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11330 - * ld.texinfo: Replace explicitely with explicitly. - -2010-02-27 Jie Zhang <jie@codesourcery.com> - - * scripttempl/armbpabi.sc: Don't combine .init_array.* or - .fini_array.* when do relocatable linking. - * scripttempl/elf.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - -2010-02-26 Alan Modra <amodra@gmail.com> - - * scripttempl/elf.sc (.fini_array): Place input .fini_array after - .fini_array.*. - * scripttempl/armbpabi.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - -2010-02-25 Alan Modra <amodra@gmail.com> - - PR ld/11304 - * ldlang.c (init_os): Remove isec param. Don't check for - bfd_section already set or call bfd_init_private_section_data - here. - (exp_init_os): Update init_os call. - (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE - flags. Call bfd_init_private_section_data here. - (map_input_to_output_sections): Tidy. Update init_os calls. - Use os->sectype to select sec flags for lang_data_statement. - -2010-02-23 Alan Modra <amodra@gmail.com> - - PR ld/11304 - * ldlang.c: Revert last patch. - -2010-02-23 Nick Clifton <nickc@redhat.com> - - * po/bg.po: Updated Bulgarian translation. - -2010-02-22 Alan Modra <amodra@gmail.com> - - PR ld/11304 - * ldlang.c (exp_init_os): Delete forward declaration. - (init_os): Don't check for bfd_section already created and don't - init addr_tree and load_base expressions here. - (map_input_to_output_sections): Only map input to output sections - and set constraints here, and as an exception, create output - sections which have their address set. Move all the other code to.. - (create_other_output_sections): ..here. New function. Handle init - of addr_tree and load_base here too. - (lang_process): Call create_other_output_sections. - -2010-02-19 Alan Modra <amodra@gmail.com> - - * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. - * Makefile.in: Regenerate. - -2010-02-19 Alan Modra <amodra@gmail.com> - - * ldlang.c (unique_section_p): Add os param. Allow group - sections to match /DISCARD/. Update all callers. - * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. - (LDEMUL_BEFORE_ALLOCATION): Define. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> - - * Makefile.am (CFILES): Add ldlex-wrapper.c. - (OFILES): Replace ldlex.c with ldlex-wrapper.c. - (ldlex.o): Replace with... - (ldlex-wrapper.o): ...this new rule. - (EXTRA_ld_new_SOURCES): Add ldlex.l. - (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. - * Makefile.in: Regenerate. - * ldlex.l (sysdep.h): Don't include here. - * ldlex-wrapper.c: New file. - -2010-02-09 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed - function parameters. - -2010-02-05 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LIBGUAS): Add bg. - * configure: Regenerate. - * po/bg.po: New Bulgarian translation. - -2010-02-05 Ryan Mansfield <rmansfield@qnx.com> - - * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for - --target1-abs and --target1-rel options. - -2010-02-03 Nick Clifton <nickc@redhat.com> - - * emultempl/alphaelf.em: Update value expected from elf_object_id. - * emultempl/hppaelf.em: Likewise. - * emultempl/mipself.em: Likewise. - * emultempl/ppc32elf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - -2010-02-03 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (build_toc_list): Report errors from - ppc64_elf_next_toc_section. - (after_allocation): Update for changed function names and params. - Run second pass of multitoc partitioning. - -2010-01-21 Jon Grant <jg@jguk.org> - Nick Clifton <nickc@redhat.com> - - PR 4437 - * ldfile.c: (ldfile_open_file): Do not stop link upon encountering - a missing file or library. Instead mark the entry as missing and - set the global flag to indicate that missing files were - encountered. - * ldlang.c (missing_files): New exported variable. - (load_symbols): Skip loading if the file is missing. - (open_input_bfds): Terminate link if any input files were - missing. - * ldlang.h (struct lang_input_statement_struct): Add missing_file - field. - Add export of missing_file variable. - -2010-01-13 DJ Delorie <dj@redhat.com> - - * emultempl/elf32.em (_place_orphan): If an input section doesn't - match an existing output section, but an unused output section - statement does match, use it. - * emultempl/pe.em (_place_orphan): Likewise. - * emultempl/pep.em (_place_orphan): Likewise. - -2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - * Makefile.in: Regenerate. - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * ldver.c (ldversion): Change to "Copyright 2010". - -2010-01-08 Alan Modra <amodra@gmail.com> - - PR 11107 - * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/ld/ChangeLog-2010 b/ld/ChangeLog-2010 new file mode 100644 index 0000000..1a4d8fe --- /dev/null +++ b/ld/ChangeLog-2010 @@ -0,0 +1,1375 @@ +2010-12-31 Robert Millan <rmh@gnu.org> + Richard Sandiford <rdsandiford@googlemail.com> + + * configure.tgt: Recognize mips-freebsd and mips-kfreebsd-gnu. + + * emulparams/elf32btsmip_fbsd.sh: New file. + * emulparams/elf32btsmipn32_fbsd.sh: Likewise. + * emulparams/elf32ltsmip_fbsd.sh: Likewise. + * emulparams/elf32ltsmipn32_fbsd.sh: Likewise. + * emulparams/elf64btsmip_fbsd.sh: Likewise. + * emulparams/elf64ltsmip_fbsd.sh: Likewise. + + * Makefile.am: Add build rules for `eelf32btsmip_fbsd.c', + `eelf32btsmipn32_fbsd.c', `eelf32ltsmip_fbsd.c', + `eelf32ltsmipn32_fbsd.c', `eelf64btsmip_fbsd.c' and + `eelf64ltsmip_fbsd.c'. + * Makefile.in: Regenerate. + +2010-12-30 H.J. Lu <hongjiu.lu@intel.com> + + * emulparams/elf32_x86_64.sh: New. + + * configure.tgt (targ64_extra_emuls): Add elf32_x86_64 for + i[3-7]86-*-linux-*. + (targ_extra_libpath): Likewise. + (targ_extra_emuls): Add elf32_x86_64 for x86_64-*-linux-*. + (targ_extra_libpath): Likewise. + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64.c. + (eelf32_x86_64.c): New. + * Makefile.in: Regenerated. + +2010-12-20 Alan Modra <amodra@gmail.com> + + PR ld/12327 + * ld.texinfo (Expression Section): Describe treatment of numbers + and absolute symbols. + * ldemul.c (after_open_default): Look up __ld_compatibility. + * ldexp.c (fold_name): Convert absolute symbols to numbers when + inside output section definitions, or when __ld_compatibility >= 221. + (exp_fold_tree_1): Convert numbers to absolute when not in output + section definition and __ld_compatibility < 221. Don't always + convert values outside an output section definition to absolute. + * ldexp.h (uses_defined): Comment. + * ldlang.c (ld_compatibility): New variable. + * ldlang.h (ld_compatibility): Declare. + * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, + * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, + * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, + * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call + after_open_default from after_open function. + +2010-12-20 Alan Modra <amodra@gmail.com> + + PR ld/12001 + Revert 2010-11-03 Nick Clifton + * ldlang.c (ldlang_def_chain_list): Delete. + (insert_defined, ldlang_add_def, lang_place_defineds): Delete. + (lang_process): Don't call lang_place_defineds. + (lang_add_assignment): Don't do anything special for --defsym. + + * ldexp.h (struct ldexp_control): Add uses_defined. + (exp_fold_tree_no_dot): Declare. + * ldexp.c (exp_fold_tree): Clear uses_defined. + (exp_fold_tree_no_dot): Likewise. Make global. + (fold_name <DEFINED>): Set uses_defined. + (exp_fold_tree_1 <etree_assign>): Define symbol during first phase + even when the value being assigned isn't valid. + * ldlang.c (open_input_bfds): Process assignment statements. + (lang_process): Bump lang_statement_iteration. + (scan_for_self_assignment): Formatting. + (print_assignment): Style. + +2010-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. + + * NEWS: Mention SORT_BY_INIT_PRIORITY. + + * configure.in: Add AC_CANONICAL_BUILD. + Add --enable-initfini-array. + + * genscripts.sh (ENABLE_INITFINI_ARRAY): New. + + * ld.h (sort_type): Add by_init_priority. + + * ld.texinfo: Document SORT_BY_INIT_PRIORITY. + + * ldgram.y (SORT_BY_INIT_PRIORITY): New. + (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. + + * ldlang.c (get_init_priority): New. + (compare_section): Use get_init_priority for by_init_priority. + + * ldlex.l (SORT_BY_INIT_PRIORITY): New. + + * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. + + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * config.in: Likewise. + * configure: Likewise. + +2010-12-13 Alan Modra <amodra@gmail.com> + + * ldlang.c (load_symbols): Correct last change. + +2010-12-12 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (load_symbols): Optimize for add_archive_element. + +2010-12-09 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + + * lexsup.c (ld_options): Add -flto and -flto-partition= for + GCC LTO option compatibility. + +2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12288 + * plugin.c (message): Don't add the trailing `\n' for + LDPL_ERROR. + +2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12288 + * testplug.c: Remove the trailing `\n' from TV_MESSAGE. + +2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR ld/12288 + * plugin.c (message): Use putchar for the trailing `\n'. + +2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR ld/12289 + * ldmain.c (main): Don't call plugin_call_cleanup. + + * plugin.c (plugin_call_cleanup): Make it static. + (message): Don't call plugin_call_cleanup. + (plugin_load_plugins): Call xatexit with plugin_call_cleanup. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12289 + * plugin.c (message): Call plugin_call_cleanup on fatal + error. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + * plugin.c (message): Add a space after `:' in error message. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + * plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n' + to einfo. + (get_symbols): Likewise. + (plugin_notice): Likewise. + (plugin_multiple_definition): Likewise. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12288 + * plugin.c (message): Add the trailing `\n'. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + * ldfile.c (ldfile_open_file_search): Check maybe_archive instead + of is_archive. + * emultempl/aix.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/pep.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/vms.em: Likewise. + + * ldlang.c (new_afile): Set maybe_archive instead of is_archive.. + + * ldlang.h (lang_input_statement_struct): Replace is_archive + with maybe_archive. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12277 + * plugin.c (asymbol_from_plugin_symbol): Properly convert LTO + plugin visibility to ELF visibility. + (is_visible_from_outside): Re-indent. + +2010-12-04 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_size_sections_1): Align lma using same alignment + as for vma. + +2010-12-03 H.J. Lu <hongjiu.lu@intel.com> + + * lexsup.c (ld_options): Fix a typo in comments. + +2010-12-01 H.J. Lu <hongjiu.lu@intel.com> + + * plugin.h: Re-indent. + +2010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com> + + * configure.tgt: Add sparc64-rtems. + +2010-11-26 Alan Modra <amodra@gmail.com> + + * po/ja.po: Update. + +2010-11-25 Alan Modra <amodra@gmail.com> + + * po/bg.po: Update. + * po/es.po: Update. + * po/fi.po: Update. + * po/ja.po: New. + * po/zh_CN.po: Update. + +2010-11-25 Jan Hubicka <hubicka@ucw.cz> + + * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot + sections. + +2010-11-23 Matthias Klose <doko@ubuntu.com> + + * configure.ac: For --enable-gold, handle value `default' instead of + `both*'. Always install ld as ld.gold, install as ld if gold is + the default. + * configure: Regenerate. + +2010-11-21 H.J. Lu <hongjiu.lu@intel.com> + + * ldfile.c: Re-indent plugin code. + * ldlang.c: Likewise. + * ldmain.c: Likewise. + * plugin.c: Likewise. + +2010-11-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12246 + * plugin.c (asymbol_from_plugin_symbol): Set alignment of + common symbol to 1 for For ELF targets. + +2010-11-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12247 + * lexsup.c (parse_args): Properly report loading plugin error. + +2010-11-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.c (is_visible_from_outside): New function. + (get_symbols): Use it. + +2010-11-16 Jie Zhang <jie.zhang@analog.com> + + * Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em. + * Makefile.in: Regenerated. + * emulparams/bfin.sh (EXTRA_EM_FILE): Set. + * emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise. + * emultempl/bfin.em: New. + +2010-11-16 Yasuaki Taniguchi <taniguchi.yasua@jp.fujitsu.com> + + * emultempl/pe.em (_list_options): Correct typo. + * emultempl/pep.em (_list_options): Likewise. + +2010-11-08 Thomas Schwinge <thomas@schwinge.name> + + * configure.host: Add stanza for *-*-gnu*. + +2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr> + + * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter. + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * po/ld.pot: Regenerate + * po/POTFILES.in: Regenerate + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.21. + +2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.h (plugin_active_plugins_p): New prototype. + (is_ir_dummy_bfd): Delete prototype. + * plugin.c: Fix formatting issues. + (is_ir_dummy_bfd): Make static. + (plugin_active_plugins_p): New function. + * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins + are loaded. Always close file descriptor after claim handler returns. + * ldmain.c (add_archive_element): Likewise. + +2010-11-05 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD. + (map_input_to_output_sections): Likewise. + (lang_size_sections_1): Likewise. + (IGNORE_SECTION): Don't test SEC_NEVER_LOAD. + (lang_check_section_addresses): Likewise. + +2010-11-04 Kai Tietz <kai.tietz@onevision.com> + + * scripttempl/pe.sc (.debug_types): New. + * scripttempl/pep.sc: Likewise. + +2010-11-04 Alan Modra <amodra@gmail.com> + + * plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd. + +2010-11-03 Nick Clifton <nickc@redhat.com> + + PR ld/12001 + * ldlang.c (ldlang_def_chain_list): New variable. Contains a list + of symbols defined via the --defsym command line option and + currently waiting assignment. + (insert_defined): Add a defined symbol to the symbol table. + (ldlang_add_def): Add a entry to the ldlang_def_chain_list. + (lang_place_defineds): Walk ldlang_def_chain_list defining the + symbols. + (lang_process): Call lang_place_defineds. + (lang_add_assignment): If the assignment has come from a --defsym + command line option then call lang_add_def. + +2010-11-03 Alan Modra <amodra@gmail.com> + + * Makefile.am (eelf64hppa.c): Correct dependencies. + * Makefile.in: Regenerate. + +2010-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/armbpabi.sc: Include compressed DWARF debug + sections. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after + bfd_openr returns. + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise. + + * scripttempl/elf.sc: Include compressed DWARF debug sections. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR. + +2010-10-28 Matthias Klose <doko@ubuntu.com> + + * ld.texinfo: Add directory section for info document. + * ldint.texinfo: Likewise. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For + --no-undefined-version, don't report dot sym versions added by ld. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * ldlang.h (ldlang_add_undef): Add cmdline param. + * ldlang.c (undef_from_cmdline): New var. + (ldlang_add_undef): Add cmdline param. Set undef_from_cmdline. + (lang_end): Really require -e or -u from command line on + relocatable --gc-sections. + * ldemul.c (after_parse_default): Adjust ldlang_add_undef call. + * ldgram.y (extern_name_list_body): Likewise. + * lexsup.c (parse_args): Likewise. + * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. + +2010-10-25 Alan Modra <amodra@gmail.com> + + * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id. + Formatting. + +2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to + elf32-sparc-sol2. + * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to + elf64-sparc-sol2. + +2010-10-22 Alan Modra <amodra@gmail.com> + + * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't + output when section has no contents. + (build_link_order <lang_reloc_statement_enum>): Likewise. + +2010-10-21 Joseph Myers <joseph@codesourcery.com> + + * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use + .c6xabi.attributes, not __TI_build_attributes. + +2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.c (get_symbols): Check symbol type correctly. + +2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> + + * configure.in: If <dlfcn.h> can't be found, try for <Windows.h> + * configure: Regenerate. + * config.in: Likewise. + * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide + trival LoadLibrary-based replacement for Windows systems. + [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial + replacement based on GetProcAddress. + [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary. + * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS + anymore, use its own guard. + +2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.c (add_input_file): Take copy of input string. + (add_input_library): Likewise. + (set_extra_library_path): Likewise. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 6/6). + * ldlang.c (load_symbols): Handle bfd subsitution when calling the + add_archive_element callback. + * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive + member to the plugins and if claimed set "subsbfd" output parameter to + point to the dummy IR-only BFD. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 5/6). + * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd, + find the elf symbol data and set the visibility in the st_other field. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 4/6). + * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of + plugin_call_all_symbols_read to before setting of gc_sym_list, and + open any new input files that may have been added during it. + * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to + plugin_multiple_definition and let it have first say over what to do + with the clashing definitions. + * plugin.c (no_more_claiming): New boolean variable. + (plugin_cached_allow_multiple_defs): Likewise. + (add_input_file): Implement. + (add_input_library): Likewise. + (set_extra_library_path): Likewise. + (plugin_call_claim_file): Don't do anything when no_more_claiming set. + (plugin_call_all_symbols_read): Set it. Disable link info + "allow_multiple_definition" flag, but cache its value. + (plugin_multiple_definition): New function. + * plugin.h (plugin_multiple_definition): Add prototype. + * testplug.c (addfile_enum_t): New enumerated typedef. + (add_file_t): New struct typedef. + (addfiles_list): New variable. + (addfiles_tail_chain_ptr): Likewise. + (record_add_file): New function. + (parse_option): Parse "add:", "lib:" and "dir:" options and call it. + (onall_symbols_read): Iterate the list of new files, libs and dirs, + adding them. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 3/6). + * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice. + * plugin.c (non_ironly_hash): Add new bfd hash table. + (plugin_load_plugins): Exit early if no plugins to load. If plugins + do load successfully, set notice_all flag in link info. + (get_symbols): Implement. + (plugin_load_plugins): Exit early if no plugins to load, else after + loading plugins successfully enable notice_all mode. + (init_non_ironly_hash): Lazily init non_ironly_hash table. + (plugin_notice): Record symbols referenced from non-IR files in the + non_ironly_hash. Suppress tracing, cref generation and nocrossrefs + tracking for symbols from dummy IR bfds. + * plugin.h: Fix formatting. + (plugin_notice): Add prototype. + * testplug.c (dumpresolutions): New global var. + (parse_options): Accept "dumpresolutions". + (onall_symbols_read): Get syms and dump resolutions if it was given. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 2/6). + * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early + during compat checks if they pass, instead offer any successfully + opened and accepted file to the plugin claim file hooks chain. Create + a dummy bfd to accept symbols added by the plugin, if the plugin + claims the file. + * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols + read hook chain before ldemul_after_open. + * ldlang.h (struct lang_input_statement_struct): Add new single-bit + 'claimed' flag. + * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix. + (IRONLY_SUFFIX_LEN): Length of the above string. + (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used + to store symbols for ir-only files. + (is_ir_dummy_bfd): New function to check if a bfd is ir-only. + (asymbol_from_plugin_symbol): New function converts symbol formats. + (add_symbols): Call it to convert plugin syms to bfd syms and add + them to the dummy bfd. + * plugin.h: Add missing include guards. + (plugin_get_ir_dummy_bfd): Add prototype. + (is_ir_dummy_bfd): Likewise. + * testplug.c (TV_MESSAGE): New helper macro. + (struct claim_file): New struct. + (claim_file_t): New typedef. + (tag_names[]): Make static and const. + (claimfiles_list): New variable. + (claimfiles_tail_chain_ptr): Likewise. + (last_claimfile): Likewise. + (record_claim_file): Record a file to claim on a singly-linked list. + (parse_symdefstr): Parse an ASCII representation of a symbol from a + plugin option into the fields of a struct ld_plugin_symbol. + (record_claimed_file_symbol): Use it to parse plugin option for + adding a symbol. + (parse_option): Parse claim file and add symbol options. + (dump_tv_tag): Use TV_MESSAGE. + (onload): Likewise. + (onclaim_file): Make static. Use TV_MESSAGE. Scan list of files to + claim and claim this file if required, adding any symbols specified. + (onall_symbols_read): Make static and use TV_MESSAGE. + (oncleanup): Likewise. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 1/6). + * configure.in: Add AC_CHECKs for file io and dlfcn headers and + functions and AC_SEARCH for -ldl. + (enable_plugins): New shell variable set if above tests find dlopen + functionality. + (ENABLE_PLUGINS): Add related automake conditional. + * configure: Regenerate. + * config.in: Likewise. + * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional + on ENABLE_PLUGINS being defined. + (PLUGIN_H): Likewise for header file. + (PLUGIN_OBJECT): Likewise for object file. + (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support. + (AM_CPPFLAGS): Use PLUGIN_CFLAGS. + (CFILES): Use PLUGIN_C. + (HFILES): Use PLUGIN_H. + (OFILES): Use PLUGIN_OBJECT. + (ld_new_SOURCES): Use PLUGIN_C. + (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin. + (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition + for test plugin. + (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise. + (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise. + * Makefile.in: Regenerate. + * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or + sys/file.h where available. Include dlfcn.h when ENABLE_PLUGINS. + (O_RDONLY): Supply default definition likewise to bfd's sysdep.h + (O_WRONLY): Likewise. + (O_RDWR): Likewise. + (O_ACCMODE): Likewise. + (O_BINARY): Likewise. + (SEEK_SET): Likewise. + (SEEK_CUR): Likewise. + (SEEK_END): Likewise. + * ldmisc.c (vfinfo): Make non-static. Add %p format char. + * ldmisc.h (vfinfo): Declare extern prototype. + * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for + OPTION_PLUGIN and OPTION_PLUGIN_OPT. + (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two. + (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once + option parsing is complete. + * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just + after lang_finish. + * plugin.c: New source file. + * plugin.h: Likewise new header. + * testplug.c: New source file. + +2010-10-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed + basever_syms to global_syms. + Emit global_syms into .dynamic section for all executables and + shared objects. + (elf_solaris2_after_allocation): New function. + (LDEMUL_AFTER_ALLOCATION): Use it. + * emulparams/solaris2.sh: New file. + * emulparams/elf32_sparc_sol2.sh: Use it. + * emulparams/elf64_sparc_sol2.sh: Likewise. + * emulparams/elf_i386_sol2.sh: Likewise. + * emulparams/elf_x86_64_sol2.sh: Likewise. + * Makefile.am (eelf32_sparc_sol2.c): Depend on + $(srcdir)/emulparams/solaris2.sh. + (eelf64_sparc_sol2.c): Likewise. + (eelf_x86_64_sol2.c): Likewise. + (eelf_i386_sol2.c): Likewise. + * Makefile.in: Regenerate. + +2010-10-06 Nick Clifton <nickc@redhat.com> + + * ld.texinfo: Update description of computation of VMA and LMA + addresses for output sections. + +2010-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit. + * Makefile.in: Regenerate. + + * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ... + (ALL_EMULATION_SOURCES): ... this new variable. + (ALL_64_EMULATIONS): Rewrite in terms of ... + (ALL_64_EMULATION_SOURCES): ... this new variable. + (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES + variables. + (eelf32microblaze.c): Fix indentation. + * Makefile.in: Regenerate. + +2010-10-04 Bernd Schmidt <bernds@codesourcery.com> + + * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use + _bfd_elf_single_rel_hdr. + +2010-10-01 Alan Modra <amodra@gmail.com> + + PR ld/12066 + * ldexp.c (fold_name): Treat absolute symbols as plain numbers. + * ld.texinfo (Expression Section): Don't say absolute symbols + are addresses. + +2010-09-29 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load + section for orphans handled here. + +2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com> + + * scripttempl/armcoff.sc: Revert 2010-09-22 change. + +2010-09-23 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input + to output section on a final link. + +2010-09-22 Kai Tietz <kai.tietz@onevision.com> + + * ldlang.c (lang_add_section): Allow for debugging + section to be marked as noload but to keep content. + (IGNORE_SECTION): Likewise. + (lang_check_section_addresses): Likewise. + * ldwrite.c (build_link_order): Likewise. + + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add + idata to orphan set. + * emultempl/pep.em: Likewise. + * scripttempl/armcoff.sc: Separate idata + and add __IAT_start__ and __IAT_end__ labels. + * scripttempl/pe.sc: Likewise. + * scripttempl/pep.sc: Likewise. + +2010-09-20 David S. Miller <davem@davemloft.net> + + * emulparams/elf32_sparc.sh: Set NOP to 0x01000000 + +2010-09-16 Alan Modra <amodra@gmail.com> + + * ld.texinfo (NOLOAD): Do not erroneously state that contents will + appear in output file. + * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload + unless SEC_COFF_SHARED_LIBRARY. + (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload + output sections. + (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding + to update dot in region. Ditto when setting SEC_ALLOC if dot + advanced due to assignment. + * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD. + +2010-09-15 Kai Tietz <kai.tietz@onevision.com> + + * scripttempl/pep.sc: Add .xdata segment and + put into .pdata all segments beginning with .pdata. + +2010-09-10 Alan Modra <amodra@gmail.com> + + PR ld/11931 + * ldlang.h (lang_for_each_statement_worker): Declare. + * ldlang.c (lang_for_each_statement_worker): Make global. Don't + recurse into children of output_section_statement with constraint + set to -1. + (print_assignment): Handle NULL output_section->bfd_section. + (lang_size_sections_1): Ignore output section statement address + when constraint is -1. + * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete. + +2010-09-09 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add a entry for alpha-vms. + +2010-09-07 Andrew Burgess <aburgess@broadcom.com> + + * ldwrite.c (clone_section): Call bfd_copy_private_section_data on + newly cloned section. + +2010-09-02 Richard Henderson <rth@redhat.com> + + * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too. + +2010-08-31 Nick Clifton <nickc@redhat.com> + + * ldlex.l (WILDCHAR): Add the caret and exclamation point + characters, so that they can be used inside globs. + +2010-08-31 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in + a region's attributes. + +2010-08-31 Alan Modra <amodra@gmail.com> + + * scripttempl/mmo.sc: Move assignment to "Main" inside .text + output section statement. + +2010-08-25 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11946 + * emultempl/elf32.em (_before_allocation): Check audit entry + only on ELF input. + +2010-08-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11937 + * emultempl/elf32.em (_after_open): Find one .eh_frame section + for --eh-frame-hdr. + +2010-08-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11937 + * emultempl/elf32.em (_after_open): Find an ELF input for + --build-id and --eh-frame-hdr. + +2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> + + * Makefile.am (eshlelf_fd.c): Correct the name of the tool + directory. + * Makefile.in: Regenerate. + +2010-08-20 Nick Clifton <nickc@redhat.com> + + * emultempl/elf32.em (_after_open): Check for get_elf_backend_data + returning NULL. + +2010-08-19 Alan Modra <amodra@gmail.com> + + * NEWS: Mention change in linker script expression evaluation. + +2010-08-19 Alan Modra <amodra@gmail.com> + + * ld.texinfo (Expression Section): Detail expression evaluation. + (Builtin Functions <ADDR>): Correct. + (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally + the same as ADDR. + (Builtin Functions <SEGMENT_START>): Typo fix. + * ldexp.c (new_number): New function. + (make_abs, exp_get_abs_int): Cope with NULL expld.result.section. + (fold_unary <'~', '!', '-'>): Don't make_abs. + (fold_binary): Simplify result section logic. Return NULL section + for logical ops. + (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to + a consistent result. + (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs. + (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise. + (fold_name <NAME>): No need to handle absolute symbols differently + from relative ones. + (fold_name <ORIGIN>): Don't return valid result when + lang_first_phase_enum. Return new_rel_from_abs, not new_abs. + (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel. + (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning + a plain number to dot, assume the value is relative to expld.section. + Make terms not in an output section, absolute. + * ldlang.c (print_assignment): Fix style nit. + (lang_size_sections_1): Cope with NULL expld.result.section. + (lang_do_assignments_1): Likewise. + +2010-08-12 Alan Modra <amodra@gmail.com> + + * ldexp.c (new_rel): Remove "str". Update all call sites. + (exp_fold_tree_1): When assigning to dot, calculate nextdot + using expld.result.section rather than expld.section. + +2010-08-06 Alan Modra <amodra@gmail.com> + + PR ld/11887 + * ldlang.c (lang_add_vers_depend): Don't leave version_needed + uninitialised. + +2010-07-28 Alan Modra <amodra@gmail.com> + + * ldexp.c (exp_print_tree): Print function-like binary nodes as + functions rather than in-fix operators. Use fputs and fputc + where appropriate. + +2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> + Ina Pandit <ina.pandit@kpitcummins.com> + + * configure.tgt: Match all v850 targets. + +2010-07-20 Mike Frysinger <vapier@gentoo.org> + + * ld.texinfo (VERSION): Remove "int" from example script and add ";". + Declare the default language as C. + +2010-07-17 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_check_section_addresses): Catch overlap for + sections that wrap around the address space. + +2010-06-29 Nick Clifton <nickc@redhat.com> + + * scripttempl/xstormy16.sc (.gcc_except_table): Include sections + with the .gcc_except_table. prefix. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * emulparams/maxqcoff.sh: Delete file. + * scripttempl/maxqcoff.sc: Delete file. + * Makefile.am: Remove references to maxq. + * configure.tgt: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2010-06-27 Alan Modra <amodra@gmail.com> + + * pe-dll.c (fill_edata): Avoid set but unused warning. + (pe_walk_relocs_of_symbol): Delete set but unused variables. + (generate_reloc, pe_implied_import_dll): Likewise. + * emultempl/aix.em (open_dynamic_archive): Likewise. + * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise. + (xtensa_layout_wild): Likewise. + (xtensa_colocate_output_literals_callback): Likewise. + +2010-06-25 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (prelim_size_sections): New function. + (ppc_before_allocation): Use it. Size sections before toc edit too. + +2010-06-25 Alan Modra <amodra@gmail.com> + + * emultempl/elf32.em (find_exp_assignment): Handle etree_provided. + +2010-06-20 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make + auto-import and merge-rdata defaults same for i[3-7]86 and + x86_64 mingw. + +2010-06-15 Joseph Myers <joseph@codesourcery.com> + + * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. + +2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/11603 + * pe-dll.c (process_def_file_and_drectve): Reorder check for + forwarded export name after check for ordinary export. + +2010-06-08 Bernd Schmidt <bernds@codesourcery.com> + + * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. + +2010-06-08 Nick Clifton <nickc@redhat.com> + + * fdl.texi: Replace with v1.3 text. + * ld.texinfo: Replace abbreviated 20th century year numbers with + full versions. + * ldint.texinfo: Likewise. + Relicense under GFDL v1.3. Replace text of v1.1 FDL with an + include of the fdl.texi file. + +2010-06-01 Tristan Gingold <gingold@adacore.com> + + * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the + readonly output-section. Handle LIB$INITIALIZE and sections + created by gcc. + * emultempl/vms.em (vms_place_orphan): Add comments. + +2010-05-28 Nick Clifton <nickc@redhat.com> + + * Makefile.am (eshlelf_fd.c): Fix typo in rule. + * Makefile.in: Regenerate. + +2010-05-26 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11628 + * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't + multiple of maximum page size. + +2010-05-25 Nick Clifton <nickc@redhat.com> + + * Makefile.am: Fix typo. + * Makefile.in: Regenerate. + +2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Andrew Stubbs <ams@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o. + (eshelf_fd.c, eshlelf_fd.c): New rules. + * Makefile.in: Regenerate. + * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd + emulations. + * emulparams/shelf_fd.sh: New file. + * emulparams/shlelf_fd.sh: New file. + * emulparams/shlelf_linux.sh: Update comment. + +2010-05-25 Jay Krell <jay.krell@cornell.edu> + + PR ld/11621 + * Makefile.am: Replace all occurences of .o with .@OBJEXT@ + * Makefile.in: Regenerate. + +2010-05-25 Kai Tietz <kai.tietz@onevision.com> + + * deffilep.y (opt_name): Allow leading dot. + (dot_name): Likewise. + (anylang_id): Likewise. + * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by + default auto_import. + (gld${EMULATION_NAME}_handle_option): Warn about v1. + (pep_find_data_imports): Remove superflous warnings about + auto-import. + (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import + and active pseudo-relocation-v2 rdata into data section. + * emultempl/pe.em (default_merge_rdata): New shell variable. + (MERGE_RDATA_V2): New macro. + (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import + selected script. + +2010-05-15 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/pe.em (is_underscoring): New helper function. + (gld_${EMULATION_NAME}_before_parse): Replace code + for pe(p)_leading_underscore detection by is_underscoring. + (U): Likewise. + (GET_INIT_SYMBOL_NAME): Likewise. + (U_SIZE): Likewise. + (set_pe_name): + (set_entry_point): + (gld_${EMULATION_NAME}_set_symbols): + * emultempl/pep.em: Likewise. + * pe-dll.c (pe_detail_list): Set default + underscoring for x64 target. + (pe_dll_id_target): Add initialization of + pe(p)_leading_underscore. + +2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com> + + * pe-dll.c: Removed trailing whitespaces. + +2010-05-14 Alan Modra <amodra@gmail.com> + + PR ld/11583 + * ldexp.c (exp_fold_tree_1): If assignment source expression is + invalid, make the destination symbol undefined. + +2010-05-11 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): + Initialize pe(p)_leading_underscore variable. + (set_pe_name): Likewise. + * emultempl/pep.em: Likewise. + Additional change default to non-underscore for + pep_leading_underscore equal to -1. + +2010-05-07 Tristan Gingold <gingold@adacore.com> + + * Makefile.in: Regenerate with automake 1.11.1. + * aclocal.m4: Ditto. + +2010-05-05 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2010-04-27 Kai Tietz <kai.tietz@onevision.com> + + * pe-dll.c (_nm_-symbols): Use always underscored variant + for symbols. + (__imp_-symbols): Likewise. + (___imp_-symbols): Likewise. + * NEWS: Mention ABI change for x64 PE-COFF. + +2010-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (install-exec-local): Properly install ld as + default cross linker. + * Makefile.in: Regenerated. + +2010-04-27 H.J. Lu <hongjiu.lu@intel.com> + Nick Clifton <nickc@redhat.com> + + * configure.in (install_as_default): Define and set to true + unless --enable-gold=both/gold has been specified. + * configure: Regenerate. + + * Makefile.am (transform): Use ld.bfd as the default name of + the linker. + (install-exec-local): Also install the executable as a binary + named 'ld' if install_as_default is true. + * Makefile.in: Regenerate. + +2010-04-22 Nick Clifton <nickc@redhat.com> + + * po/ld.pot: Updated by the Translation project. + * po/vi.po: Updated Vietnamese translation. + * po/bg.po: Updated Bulgarian translation. + +2010-04-15 Andrew Haley <aph@redhat.com> + + * emultempl/armelf.em (merge_exidx_entries): New variable. + (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. + ("no-merge-exidx-entries"): New option. + * ld.texinfo (merge-exidx-entries): Document this option. + +2010-04-14 Tristan Gingold <gingold@adacore.com> + + * emulparams/alphavms.sh: New file. + * emultempl/vms.em: New file. + * scripttempl/alphavms.sc: New file. + * configure.tgt (alpha*-*-*vms*): Added. + * Makefile.am (ALL_EMULATIONS): Add ealphavms.o + (ealphavms.c): New target. + * Makefile.in: Regenerate. + +2010-04-09 Nick Clifton <nickc@redhat.com> + + * ldlang.c (wild_sort): Remove unused variable section_name. + +2010-04-07 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + +2010-04-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11434 + * ld/testsuite/ld-x86-64/unique1.d: New. + * ld/testsuite/ld-x86-64/unique1.s: Likewise. + + * ld-x86-64/x86-64.exp: Run unique1. + +2010-04-05 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/pep.em (U): Macro modified. + (U_SIZE): New helper macro. + (GET_INIT_SYMBOL_NAME): Likewise. + (enum options): Add OPTION_NO_LEADING_UNDERSCORE + and OPTION_LEADING_UNDERSCORE enumerator-values. + (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore + option. + (definfo): Add new member is_c_symbol. + (D): Add to macro underscore mode parameter. + (init): Add definition for is_c_symbol. + (gld_${EMULATION_NAME}_list_options): Display new options. + (set_pep_name): Adjust underscoring dependent fixed + symbol handling. + (gld_${EMULATION_NAME}_set_symbols): Likewise. + (saw_option): Likewise. + (gld_${EMULATION_NAME}_unrecognized_file): Likewise. + (set_entry_point): Initial initial_symbol_char dependent to + target's default and new option flag pep_leading_underscore. + * emultempl/pe.em (U): Macro modified. + (U_SIZE): New helper macro. + (GET_INIT_SYMBOL_NAME): Likewise. + (OPTION_LEADING_UNDERSCORE): Add new option define. + (OPTION_NO_LEADING_UNDERSCORE): Likewise. + (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore + option. + (definfo): Add new member is_c_symbol. + (D): Add to macro underscore mode parameter. + (init): Add definition for is_c_symbol. + (gld_${EMULATION_NAME}_list_options): Display new options. + (set_pep_name): Adjust underscoring dependent fixed + symbol handling. + (gld_${EMULATION_NAME}_set_symbols): Likewise. + (saw_option): Likewise. + (gld_${EMULATION_NAME}_unrecognized_file): Likewise. + (set_entry_point): Initial initial_symbol_char dependent to + target's default and new option flag pep_leading_underscore. + * pe-dll.c (pe_leading_underscore): New flag variable. + (pe_detail_list): Remove const to allow modify of + member underscore. + (pe_dll_id_target): Initialize pe_details' underscore variable + dependent to target's default and flag pe_leading_underscore. + * pe-dll.h (pe_leading_underscore): Add extern declaration of + option flag. + * pep-dll.c (pe_leading_underscore): Add alias define for + pep_leading_underscore. + * pep-dll.h (pep_leading_underscore) Add extern declaration of + option flag. + * ld.texinfo: Add documentation for --(no-)leading-underscore + option. + +2010-03-26 Alan Modra <amodra@gmail.com> + + PR ld/11426 + * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. + (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and + eelf32_tic6x_le.o. + (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. + * NEWS: Add news entry for TI C6X support. + * configure.tgt (tic6x-*-*): New. + * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. + +2010-03-23 Joseph Myers <joseph@codesourcery.com> + + * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, + BSS_NAME): Define if not already defined. Use in place of some + hardcoded section names. + +2010-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/elf.sc (INIT_ARRAY): Re-indent. + +2010-03-18 Aymeric Vincent <vincent@labri.fr> + + PR ld/11384 + * emultempl/sh64elf.em: Add missing EOF. + +2010-03-18 Doug Semler <dougsemler@gmail.com> + + * pe-dll.c (make_one): Make text section readonly. + (make_one): Add *ABS* symbol @feat.00 with value 1 to tag + the jump stub on X86 as /SAFESEH compatible for + native toolchains. + +2010-03-17 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from + *prev instead. Update all callers. + +2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> + + * ldlang.c (lang_insert_orphan): Place loadable orphans in the same + region and phdrs as their placement section. + +2010-03-15 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. + (ppc_before_allocation): Call sort_toc_sections. + (no_toc_sort, OPTION_NO_TOC_SORT): New. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. + +2010-03-14 Alan Modra <amodra@gmail.com> + + PR ld/11378 + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call + ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. + +2010-03-11 George Gensure <werkt0@gmail.com> + + PR ld/11367 + * ldcref.c (handle_asneeded_cref): Correct copying of refs. + +2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, + eelf_i386_sol2.o. + (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. + (eelf32_sparc_sol2.c): New rule. + (eelf64_sparc_sol2.c): Likewise. + (eelf_x86_64_sol2.c): Likewise. + (eelf_i386_sol2.c): Likewise. + * Makefile.in: Regenerate. + * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to + elf_i386_sol2. + Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. + (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. + Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. + (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. + Add target_extra_emuls. + (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. + Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. + (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. + Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. + * emulparams/elf32_sparc_sol2.sh: New file. + * emulparams/elf64_sparc_sol2.sh: New file. + * emulparams/elf_i386_sol2.sh: New file. + * emulparams/elf_x86_64_sol2.sh: New file. + * emultempl/solaris2.em: New file. + +2010-02-27 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11330 + * ld.texinfo: Replace explicitely with explicitly. + +2010-02-27 Jie Zhang <jie@codesourcery.com> + + * scripttempl/armbpabi.sc: Don't combine .init_array.* or + .fini_array.* when do relocatable linking. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2010-02-26 Alan Modra <amodra@gmail.com> + + * scripttempl/elf.sc (.fini_array): Place input .fini_array after + .fini_array.*. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2010-02-25 Alan Modra <amodra@gmail.com> + + PR ld/11304 + * ldlang.c (init_os): Remove isec param. Don't check for + bfd_section already set or call bfd_init_private_section_data + here. + (exp_init_os): Update init_os call. + (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE + flags. Call bfd_init_private_section_data here. + (map_input_to_output_sections): Tidy. Update init_os calls. + Use os->sectype to select sec flags for lang_data_statement. + +2010-02-23 Alan Modra <amodra@gmail.com> + + PR ld/11304 + * ldlang.c: Revert last patch. + +2010-02-23 Nick Clifton <nickc@redhat.com> + + * po/bg.po: Updated Bulgarian translation. + +2010-02-22 Alan Modra <amodra@gmail.com> + + PR ld/11304 + * ldlang.c (exp_init_os): Delete forward declaration. + (init_os): Don't check for bfd_section already created and don't + init addr_tree and load_base expressions here. + (map_input_to_output_sections): Only map input to output sections + and set constraints here, and as an exception, create output + sections which have their address set. Move all the other code to.. + (create_other_output_sections): ..here. New function. Handle init + of addr_tree and load_base here too. + (lang_process): Call create_other_output_sections. + +2010-02-19 Alan Modra <amodra@gmail.com> + + * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. + * Makefile.in: Regenerate. + +2010-02-19 Alan Modra <amodra@gmail.com> + + * ldlang.c (unique_section_p): Add os param. Allow group + sections to match /DISCARD/. Update all callers. + * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. + (LDEMUL_BEFORE_ALLOCATION): Define. + +2010-02-15 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> + + * Makefile.am (CFILES): Add ldlex-wrapper.c. + (OFILES): Replace ldlex.c with ldlex-wrapper.c. + (ldlex.o): Replace with... + (ldlex-wrapper.o): ...this new rule. + (EXTRA_ld_new_SOURCES): Add ldlex.l. + (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. + * Makefile.in: Regenerate. + * ldlex.l (sysdep.h): Don't include here. + * ldlex-wrapper.c: New file. + +2010-02-09 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed + function parameters. + +2010-02-05 Nick Clifton <nickc@redhat.com> + + * configure.in (ALL_LIBGUAS): Add bg. + * configure: Regenerate. + * po/bg.po: New Bulgarian translation. + +2010-02-05 Ryan Mansfield <rmansfield@qnx.com> + + * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for + --target1-abs and --target1-rel options. + +2010-02-03 Nick Clifton <nickc@redhat.com> + + * emultempl/alphaelf.em: Update value expected from elf_object_id. + * emultempl/hppaelf.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/ppc32elf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + +2010-02-03 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (build_toc_list): Report errors from + ppc64_elf_next_toc_section. + (after_allocation): Update for changed function names and params. + Run second pass of multitoc partitioning. + +2010-01-21 Jon Grant <jg@jguk.org> + Nick Clifton <nickc@redhat.com> + + PR 4437 + * ldfile.c: (ldfile_open_file): Do not stop link upon encountering + a missing file or library. Instead mark the entry as missing and + set the global flag to indicate that missing files were + encountered. + * ldlang.c (missing_files): New exported variable. + (load_symbols): Skip loading if the file is missing. + (open_input_bfds): Terminate link if any input files were + missing. + * ldlang.h (struct lang_input_statement_struct): Add missing_file + field. + Add export of missing_file variable. + +2010-01-13 DJ Delorie <dj@redhat.com> + + * emultempl/elf32.em (_place_orphan): If an input section doesn't + match an existing output section, but an unused output section + statement does match, use it. + * emultempl/pe.em (_place_orphan): Likewise. + * emultempl/pep.em (_place_orphan): Likewise. + +2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + * Makefile.in: Regenerate. + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * ldver.c (ldversion): Change to "Copyright 2010". + +2010-01-08 Alan Modra <amodra@gmail.com> + + PR 11107 + * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a7da6fd..db99369 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,1308 +1,4 @@ -2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * ld-undefined/undefined.exp (testline): XFAIL hppa*64*-*-*. - - PR ld/12360 - * ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on - hppa*64*-*-*. - -2010-12-31 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/mips-elf-flags.exp: Handle FreeBSD targets. - * ld-mips-elf/mips-elf.exp: Likewise. - * ld-mips-elf/mips16-call-global.d: Accept any file format. - * ld-mips-elf/mips16-intermix.d: Likewise. - -2010-12-28 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12327 - * ld-scripts/defined4.d: New. - * ld-scripts/defined4.s: Likewise. - * ld-scripts/defined4.t: Likewise. - * ld-scripts/expr2.d: Likewise. - * ld-scripts/expr2.s: Likewise. - * ld-scripts/expr2.t: Likewise. - - * ld-scripts/defined.exp: Run defined4. - - * ld-scripts/expr.exp: Run expr2. - -2010-12-21 Kai Tietz <kai.tietz@onevision.com> - - * ld-pe/pe.exp: Add TLS directory test. - * ld-pe/tlssec.s: New. - * ld-pe/tlssec64.d: New. - * ld-pe/tlssec32.d: New. - -2010-12-20 Alan Modra <amodra@gmail.com> - - * ld-bootstrap/bootstrap.exp: Fix misplaced comment. - -2010-12-20 Alan Modra <amodra@gmail.com> - - PR ld/12001 - * ld-scripts/default-script2.d: Revert 2010-11-03 change. - -2010-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/elf.exp (array_tests): Add init-mixed. - (array_tests_static): Likewise. - Also delete tmpdir/init-mixed. - - * ld-elf/init-mixed.c: New. - * ld-elf/init-mixed.out: Likewise. - -2010-12-11 Alan Modra <amodra@gmail.com> - - * ld-elfvers/vers25a.dsym: Really include _? in match. - -2010-12-10 Mike Frysinger <vapier@gentoo.org> - - * ld-elfvers/vers.h: New file. - * ld-elfvers/vers1.c: Include vers.h. Change asm(.symver) to SYMVER(). - * ld-elfvers/vers4.c, ld-elfvers/vers5.c, ld-elfvers/vers6.c, - ld-elfvers/vers7a.c, ld-elfvers/vers9.c, ld-elfvers/vers15.c, - ld-elfvers/vers18.c, ld-elfvers/vers21.c, ld-elfvers/vers22a.c, - ld-elfvers/vers23a.c, ld-elfvers/vers24a.c, ld-elfvers/vers24c.c, - ld-elfvers/vers27d1.c: Likewise. - - * ld-elf/pr9676.rd: Include _? in symbol match - * ld-elf/pr9676.rd, ld-elf/pr9679.rd, ld-elfvers/vers1.dsym, - ld-elfvers/vers1.sym, ld-elfvers/vers15.dsym, ld-elfvers/vers15.sym, - ld-elfvers/vers16.dsym, ld-elfvers/vers16a.dsym, ld-elfvers/vers17.dsym, - ld-elfvers/vers18.dsym, ld-elfvers/vers18.sym, ld-elfvers/vers19.dsym, - ld-elfvers/vers2.dsym, ld-elfvers/vers20.dsym, ld-elfvers/vers21.dsym, - ld-elfvers/vers21.sym, ld-elfvers/vers22.dsym, ld-elfvers/vers22a.dsym, - ld-elfvers/vers22a.sym, ld-elfvers/vers22b.dsym, ld-elfvers/vers23.dsym, - ld-elfvers/vers23a.dsym, ld-elfvers/vers23a.sym, - ld-elfvers/vers23b.dsym, ld-elfvers/vers23d.dsym, - ld-elfvers/vers24.rd, ld-elfvers/vers25a.dsym, - ld-elfvers/vers26a.dsym, ld-elfvers/vers27a.dsym, - ld-elfvers/vers27d.dsym, ld-elfvers/vers27d.sym, - ld-elfvers/vers27d4.dsym, ld-elfvers/vers28b.dsym, - ld-elfvers/vers28c.dsym, ld-elfvers/vers29.dsym, ld-elfvers/vers3.dsym, - ld-elfvers/vers30.dsym, ld-elfvers/vers31.dsym, ld-elfvers/vers32a.dsym, - ld-elfvers/vers32b.dsym, ld-elfvers/vers4.sym, ld-elfvers/vers4a.dsym, - ld-elfvers/vers4a.sym, ld-elfvers/vers6.dsym, ld-elfvers/vers6.sym, - ld-elfvers/vers7a.dsym, ld-elfvers/vers7a.sym, ld-elfvers/vers9.dsym, - ld-elfvers/vers9.sym: Likewise. - -2010-12-05 H.J. Lu <hongjiu.lu@intel.com> - - * ld-plugin/plugin-vis-1.d: Updated. - -2010-12-04 H.J. Lu <hongjiu.lu@intel.com> - - * ld-selective/selective.exp: Don't pass -fvtable-gc to GCC - 3.4.0 or above. - -2010-12-04 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp: Replace -export-dynamic with - -Wl,-export-dynamic. - -2010-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-scripts/script.exp: Remove full path from REGION_ALIAS test - names. - -2010-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in - jump-reloc-veneers* tests with --section-start .text=0x8000. - -2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> - - * lib/ld-lib.exp (regexp_diff, simple_diff): Delete. - -2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> - - * lib/ld-lib.exp (load_common_lib): New function. Load - binutils-common.exp. - (is_elf_format, is_elf64, is_aout_format, is_pecoff_format): Delete. - -2010-11-18 Alan Modra <amodra@gmail.com> - - * ld-elf/binutils.exp: Correct x86 gnu target match. - * ld-i386/i386.exp: Likewise. - * ld-ifunc/binutils.exp: Likewise. - * ld-ifunc/ifunc.exp: Likewise. - * ld-discard/discard.exp: Remove unnecessary line continuations. - * ld-elfvers/vers.exp: Likewise. Simplify linuxaout and linuxoldld - test. - * ld-elfweak/elfweak.exp: Likewise. - -2010-11-17 Andreas Schwab <schwab@linux-m68k.org> - - * ld-gc/pr11218-2.c: Declare - unresolved_detected_at_runtime_not_at_linktime. - -2010-11-17 Alan Modra <amodra@gmail.com> - - * ld-plugin/plugin.exp: Define printf and puts as main. - -2010-11-08 Thomas Schwinge <thomas@schwinge.name> - - * lib/ld-lib.exp (is_elf_format): Consider for *-*-gnu*, too. - * ld-discard/discard.exp: Likewise. - * ld-elf/binutils.exp: Likewise. - * ld-elf/commonpage1.d (target): Likewise. - * ld-elf/compress1c.d (target): Likewise. - * ld-elf/discard1.d (target): Likewise. - * ld-elf/discard2.d (target): Likewise. - * ld-elf/discard3.d (target): Likewise. - * ld-elf/dynsym1.d (target): Likewise. - * ld-elf/eh6.d (target): Likewise. - * ld-elf/elf.exp: Likewise. - (array_tests): Move -static tests to... - (array_tests_static): ... here, and handle it accordingly. - * ld-elf/hash.d (target): Likewise. - * ld-elf/header.d (target): Likewise. - * ld-elf/loadaddr1.d (target): Likewise. - * ld-elf/loadaddr2.d (target): Likewise. - * ld-elf/loadaddr3a.d (target): Likewise. - * ld-elf/loadaddr3b.d (target): Likewise. - * ld-elf/local1.d (target): Likewise. - * ld-elf/maxpage1.d (target): Likewise. - * ld-elf/maxpage2.d (target): Likewise. - * ld-elf/maxpage3a.d (target): Likewise. - * ld-elf/multibss1.d (target): Likewise. - * ld-elf/noload-2.d (target): Likewise. - * ld-elf/seg.d (target): Likewise. - * ld-elf/textaddr1.d (target): Likewise. - * ld-elf/textaddr2.d (target): Likewise. - * ld-elf/textaddr3.d (target): Likewise. - * ld-elf/textaddr4.d (target): Likewise. - * ld-elf/textaddr5.d (target): Likewise. - * ld-elf/textaddr6.d (target): Likewise. - * ld-elf/textaddr7.d (target): Likewise. - * ld-elf/tls_common.exp: Likewise. - * ld-elf/unknown2.d (target): Likewise. - * ld-elfvers/vers.exp: Likewise. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - (setup_xfail_gnu_hurd): New function. Use it where appropriate. - * ld-gc/abi-note.d (target): Likewise. - * ld-gc/gc.exp: Likewise. - * ld-gc/pr11218.d (target): Likewise. - * ld-gc/start.d (target): Likewise. - * ld-i386/i386.exp: Likewise. - * ld-ifunc/binutils.exp: Likewise. - * ld-ifunc/ifunc.exp: Likewise. - * ld-linkonce/linkonce.exp: Likewise. - * ld-linkonce/zeroehl32.d (target): Likewise. - * ld-pie/pie.exp: Likewise. - * ld-scripts/phdrs2.exp: Likewise. - * ld-scripts/rgn-at5.d (target): Likewise. - * ld-shared/shared.exp: Likewise. - * ld-undefined/entry-3.d (target): Likewise. - * ld-undefined/entry-4.d (target): Likewise. - * ld-undefined/weak-undef.exp: Likewise. - -2010-11-06 Kirill A. Shutemov <kirill@shutemov.name> - - * ld-plugin/plugin-6.d: Relax file name match. - -2010-11-05 Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/attr-unknown-1.d, ld-tic6x/attr-unknown-1000-1.s, - ld-tic6x/attr-unknown-1000-2.s, ld-tic6x/attr-unknown-1024-1.s, - ld-tic6x/attr-unknown-2.d, ld-tic6x/attr-unknown-3.d, - ld-tic6x/attr-unknown-4.d, ld-tic6x/attr-unknown-5.d, - ld-tic6x/attr-unknown-54-1.s, ld-tic6x/attr-unknown-55-a.s, - ld-tic6x/attr-unknown-6.d, ld-tic6x/attr-unknown-7.d, - ld-tic6x/attr-unknown-71-a.s, ld-tic6x/attr-unknown-71-b.s: New - tests. - -2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-plugin/plugin.exp (testobjfiles): Dont use HOSTING_CRT0. - (testobjfiles_notext): Likewise. - (libs): Don't use HOSTING_LIBS; fill with default symbol defs instead. - * lib/ld-lib.exp (ld_simple_link_defsyms): Add cygming clause. - -2010-11-05 Alan Modra <amodra@gmail.com> - - * ld-elfvers/vers32c.dsym, * ld-elfvers/vers32c.ver: Delete. - * ld-elfvers/vers32d.ver: Delete. - * ld-elfvers/vers.exp: Don't run them. - -2010-11-03 Nick Clifton <nickc@redhat.com> - - PR ld/12001 - * ld-script/default-script2.d: Fix expected address for text - section. - -2010-11-02 Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d, - ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d, - ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d, - ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d, - ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d, - ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d, - ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s, - ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d, - ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d, - ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d, - ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d, - ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d, - ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d, - ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s, - ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d, - ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d, - ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d, - ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d, - ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d, - ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d, - ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s, - ld-tic6x/attr-conformance-10-10.d, - ld-tic6x/attr-conformance-10-11.d, - ld-tic6x/attr-conformance-10-none.d, - ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d, - ld-tic6x/attr-conformance-11-11.d, - ld-tic6x/attr-conformance-11-none.d, - ld-tic6x/attr-conformance-11.s, - ld-tic6x/attr-conformance-none-10.d, - ld-tic6x/attr-conformance-none-11.d, - ld-tic6x/attr-conformance-none-none.d, - ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s, - ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d, - ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d, - ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s, - ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d, - ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s, - ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d, - ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s, - ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d, - ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d, - ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d, - ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d, - ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d, - ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d, - ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d, - ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s, - ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d, - ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s, - ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d, - ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s, - ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d, - ld-tic6x/attr-wchar-22.d: New tests. - -2010-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/compress1a.d: Also check MIPS_DWARF. - * ld-elf/compress1b.d: Likewise. - * ld-elf/compress1c.d: Likewise. - -2010-10-29 Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/attr-compatibility-gnu-gnu.d, - ld-tic6x/attr-compatibility-gnu-other.d, - ld-tic6x/attr-compatibility-gnu.s, - ld-tic6x/attr-compatibility-other-gnu.d, - ld-tic6x/attr-compatibility-other-other.d, - ld-tic6x/attr-compatibility-other.s: New tests. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/compress1c.d: Only run for Linux targets. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/compress.exp: New. - * ld-elf/compress1.s: Likewise. - * ld-elf/compress1a.d: Likewise. - * ld-elf/compress1b.d: Likewise. - * ld-elf/compress1c.d: Likewise. - -2010-10-29 Bernd Schmidt <bernds@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d, - ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s, - ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests. - -2010-10-28 Thomas Schwinge <thomas@schwinge.name> - - * ld-scripts/script.exp: Sort all filename globs. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * ld-plugin/plugin.exp (libs): Remove $LIBS. - -2010-10-28 Alan Modra <amodra@gmail.com> - - * ld-elf/sec-to-seg.exp (B_test_same_seg): Clear for i960, - microblaze, moxie, and mt. - - * ld-elf/flags1.s: Use arm compatible .type syntax. - * ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k, - moxie, mt. - -2010-10-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * ld-s390/tlsbin.dd: bc 0,0 -> nop 0 and bcr 0,%r0 -> nopr %r0. - -2010-10-25 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-discard/zero-range.d, ld-discard/zero-range.s: New files. - -2010-10-23 Mark Mitchell <mark@codesourcery.com> - - * ld-elf/group10.d: Expect ".group" for the name of group - sections. - * ld-elf/group2.d: Likewise. - * ld-elf/group7.d: Likewise. - -2010-10-21 Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, - ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, - ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, - ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d, - ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d, - ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, - ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d, - ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d, - ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d, - ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, - ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, - ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, - ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d, - ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d, - ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, - ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d, - ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d, - ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d: - Update for attribute renaming. - -2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if - no suitable target compiler is available. - -2010-10-16 Kai Tietz <kai.tietz@onevision.com> - - * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl. - -2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-plugin/plugin.exp: Don't error out if there is no target compiler - available, make tests UNSUPPORTED instead. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 6/6). - * ld-plugin/plugin-10.d: New dump test control script. - * ld-plugin/plugin-11.d: Likewise. - * ld-plugin/plugin.exp: Run them. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 5/6). - * ld-plugin/plugin-ignore.d: New dump test control script. - * ld-plugin/plugin-vis-1.d: Likewise. - * ld-plugin/plugin.exp: Add list of ELF-only tests and run them if - testing on an ELF target. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 4/6). - * ld-plugin/plugin-9.d: New testcase. - * ld-plugin/plugin.exp: Invoke it. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 3/6). - * ld-plugin/plugin-8.d: New testcase. - * ld-plugin/plugin.exp: Invoke it. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 2/6). - * ld-plugin/plugin-3.d: Enable regexes for new functionality. - * ld-plugin/plugin-5.d: Likewise. - * ld-plugin/plugin-6.d: New testcase. - * ld-plugin/plugin-7.d: Likewise. - * ld-plugin/plugin.exp: Use 'nm' on compiled test objects to determine - whether symbols in plugin arguments need an underscore prefix. Add - new plugin-6.d and plugin-7.d testcases. - -2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> - - Apply LD plugin patch series (part 1/6). - * ld-bootstrap/bootstrap.exp: Skip static tests also if LD plugins - are enabled. - * lib/ld-lib.exp (proc regexp_diff): Extend verbose debug output. - (proc set_file_contents): Write a file with the supplied content. - (run_ld_link_tests): Add new 'ld' action to test linker output. - (proc check_plugin_api_available): Return true if linker under test - supports the plugin API. - * ld-plugin/func.c: New test source file. - * ld-plugin/main.c: Likewise. - * ld-plugin/text.c: Likewise. - * ld-plugin/plugin-1.d: New dump test output pattern script. - * ld-plugin/plugin-2.d: Likewise. - * ld-plugin/plugin-3.d: Likewise. - * ld-plugin/plugin-4.d: Likewise. - * ld-plugin/plugin-5.d: Likewise. - * ld-plugin/plugin.exp: New test control script. - -2010-10-11 Alan Modra <amodra@gmail.com> - - * ld-elf/orphan-region.d: xfail frv-*-*. - -2010-10-11 Alan Modra <amodra@gmail.com> - - * ld-mmix/sec-3.d: Adjust for 2010-09-29 orphan change. - * ld-mmix/sec-7m.d: Likewise. - -2010-10-06 Nick Clifton <nickc@redhat.com> - - * ld-scripts/rgn-at5.t: Add some more output sections. - * ld-scripts/rgn-at5.d: Update expected output. - -2010-09-30 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11812 - * ld-i386/nogot2.d: New - * ld-i386/nogot2.s: Likewise. - * ld-x86-64/nogot2.d: Likewise. - * ld-x86-64/nogot2.s: Likewise. - - * ld-i386/i386.exp: Run nogot2. - * ld-x86-64/x86-64.exp: Likewise. - -2010-09-29 Alan Modra <amodra@gmail.com> - - * ld-h8300/h8300.exp: Use is_elf_format. - - * lib/ld-lib.exp (is_elf_format): Merge with binutils and gas versions. - (is_aout_format): Update target list. - (is_pecoff_format): Remove unnecessary line continuation. - -2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * ld-s390/tlsbin.dd: bcr 0,%r7 -> nopr %r7. - * ld-s390/tlsbin_64.dd: Likewise. - * ld-s390/tlspic.dd: Likewise. - * ld-s390/tlspic_64.dd: Likewise. - -2010-09-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11812 - * ld-i386/nogot1.s: Don't use GOTOFF. - -2010-09-23 Bernd Schmidt <bernds@codesourcery.com> - - * ld-tic6x/pcrel-reloc-local-r-rel-rela.d: New test. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/attr-merge-6.attr: Update for Security Extensions. - * ld-arm/attr-merge-7.attr: Likewise. - -2010-09-23 Alan Modra <amodra@gmail.com> - - * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. - * ld-elf/group2.d: xfail xstormy. - * ld-elf/group4.d: Likewise. - * ld-elf/group5.d: Likewise. - * ld-elf/group6.d: Likewise. - * ld-elf/init-fini-arrays.d: xfail cr16 and crx. - * ld-elf/orphan2.d: xfail xstormy. - * ld-elf/sec64k.exp: Don't run on targets using generic linker. - Allow a larger range for ld -r expected bar_1 section. Don't run - final link test on a number of targets. Select avr6 for avr targets. - * ld-elfcomm/elfcomm.exp: Don't attempt on hpux. - - * ld-d10v/reloc-007.d: Don't error. - * ld-d10v/reloc-008.d: Likewise. - * ld-d10v/reloc-015.d: Likewise. - * ld-d10v/reloc-016.d: Likewise. - * ld-d10v/reloc-012.ld: Use a sane offset. - -2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/attr-merge-6.attr: Update test for change in canonical CPU - name. - * ld-arm/attr-merge-7.attr: Likewise. - * ld-arm/attr-merge-2.attr: Likewise. - * ld-arm/attr-merge-arch-2.attr: Likewise. - -2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/script-type.ld: Update to generate symbols in a section. - -2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries - and remove some duplication between the global and local GOT - entries. Adjust GP offsets accordingly. - * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise. - * ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update - GP offsets accordingly. - * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. - * ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to - the local GOT. - * ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly. - * ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for - smaller GOT sizes. - -2010-09-18 Alan Modra <amodra@gmail.com> - - * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. - * ld-discard/discard.exp: Move xfails from here.. - * ld-discard/extern.d: ..to here. - * ld-discard/start.d: ..and here. - * ld-discard/static.d: ..and here. - * ld-elf/binutils.exp: Don't run tbss1 and tbss2 tests on hppa64. - * ld-elf/empty2.d: Remove xfails. - * ld-elf/flags1.d: xfail hppa64. - * ld-elf/group1.d: Add comment. - * ld-elf/group2.d: xfail cr16 and crx. - * ld-elf/group3b.d: Correct xfail and add comment. - * ld-elf/group4.d: xfail cr16 and crx. - * ld-elf/group5.d: Likewise. - * ld-elf/group6.d: Likewise. - * ld-elf/group7.d: Likewise. - * ld-elf/group8a.d: Add more notarget and xfail entries. Comment. - * ld-elf/group8b.d: Likewise. - * ld-elf/group9a.d: Likewise. - * ld-elf/group9b.d: Likewise. - * ld-elf/linkonce2.d: Correct notarget and comment. - * ld-elf/merge2.d: Remove iq2000 from xfail. - * ld-elf/multibss1.d: xfail hppa64. - * ld-elf/nobits-1.d: Likewise. - * ld-elf/note-1.d: Likewise. - * ld-elf/note-2.d: Likewise. - * ld-elf/orphan-region.d: Add xfails. - * ld-elf/orphan-region.ld: Discard some sections. - * ld-elf/orphan.d: Add xfails. - * ld-elf/orphan.ld: Discard some sections. - * ld-elf/orphan3.d: Replace xfail frv-*-* with frv-*-elf. Remove - cr16, crx and d10v. - * ld-elf/pr349.d: Add xfails. - * ld-elf/warn2.d: Add xfails. Tweak symbol section for hppa64. - * ld-scripts/rgn-at5.t: Discard .reginfo. - -2010-09-16 Alan Modra <amodra@gmail.com> - - * ld-elf/orphan-region.d: xfail for spu. - * ld-elf/relocatable.d: xfail for hppa. - - * ld-elf/group3b.d: Disable for generic linker targets. - * ld-elf/linkonce2.d: Likewise. - * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld. - * ld-scripts/empty-address-2b.d: Likewise. - * ld-scripts/rgn-at5.s: Don't use .word. - * ld-scripts/rgn-at5.d: Update. - -2010-09-10 Alan Modra <amodra@gmail.com> - - * ld-gc/abi-note.d: Exclude aout and oldld targets. - * ld-gc/start.d: Likewise. - * ld-scripts/section-match-1.d: Likewise, and tic30. - -2010-09-10 Hans-Peter Nilsson <hp@axis.com> - - * ld-scripts/rgn-at5.d: Restrict to *-*-linux*. - -2010-09-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11998 - * ld-scripts/rgn-at5.d: New. - * ld-scripts/rgn-at5.s: Likewise. - * ld-scripts/rgn-at5.t: Likewise. - -2010-09-07 Andrew Burgess <aburgess@broadcom.com> - - * ld-x86-64/split-by-file.rd: New test. - * ld-x86-64/split-by-file1.s: New test source code. - * ld-x86-64/split-by-file2.s: New test source code. - * ld-x86-64/x86-64.exp: Run the new test. - -2010-08-31 Nick Clifton <nickc@redhat.com> - - * ld-scripts/section-match.exp: New file. Runs the - section-match-1 test. - * ld-scripts/section-match-1.d: New file. - * ld-scripts/section-match-1.s: New file. - * ld-scripts/section-match-1.t: New file. - -2010-08-25 Julian Brown <julian@codesourcery.com> - - * ld-arm/arm-elf.exp (armelftests): Add cortex-a8-fix-blx-bcond.s. - * ld-arm/cortex-a8-fix-blx-bcond.s: New. - * ld-arm/cortex-a8-fix-blx-bcond.d: New. - -2010-08-24 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/x86-64.exp: Fix typos. - -2010-08-23 Maciej W. Rozycki <macro@codesourcery.com> - - * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for - the new MIPS32r2 64-bit FPU description. - * ld-mips-elf/attr-gnu-4-40.d: Likewise. - * ld-mips-elf/attr-gnu-4-44.d: Likewise. - -2010-08-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11933 - * ld-x86-64/mixed1a.s: New. - * ld-x86-64/mixed1b.s: Likewise. - * ld-x86-64/mixed2a.s: Likewise. - * ld-x86-64/mixed2b.s: Likewise. - - * ld-x86-64/x86-64.exp: Test mixed x86_64 and i386 inputs. - -2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> - - * ld-sh/sh.exp: Add missing newline. - -2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> - - * ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP. - * ld-mips-elf/attr-gnu-4-02.d: Likewise. - * ld-mips-elf/attr-gnu-4-10.d: Likewise. - * ld-mips-elf/attr-gnu-4-11.d: Likewise. - * ld-mips-elf/attr-gnu-4-15.d: Likewise. - * ld-mips-elf/attr-gnu-4-20.d: Likewise. - * ld-mips-elf/attr-gnu-4-22.d: Likewise. - * ld-mips-elf/attr-gnu-4-25.d: Likewise. - -2010-08-19 Alan Modra <amodra@gmail.com> - - * ld-scripts/memory.t: Remove ORIGIN fudge. - -2010-08-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11913 - * ld-i386/discarded1.d: New. - * ld-i386/discarded1.s: Likewise. - * ld-i386/discarded1.t: Likewise. - * ld-x86-64/discarded1.d: Likewise. - * ld-x86-64/discarded1.s: Likewise. - * ld-x86-64/discarded1.t: Likewise. - - * ld-i386/i386.exp: Run discarded1. - * ld-x86-64/x86-64.exp: Likewise. - -2010-08-09 Catherine Moore <clm@codesourcery.com> - - * ld-mips-elf/mode-change-error-1.d: New. - * ld-mips-elf/mode-change-error-1a.s: New. - * ld-mips-elf/mode-change-error-1b.s: New. - * ld-mips-elf/mips-elf.exp: Run new test. - -2010-08-06 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test. - * ld-powerpc/powerpc.exp: Run it. - -2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> - Ina Pandit <ina.pandit@kpitcummins.com> - - * ld-v850/split-lo16.d: Update the "ld" instructions with a space - for second operand. - -2010-07-20 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2010-07-20 Alan Modra <amodra@gmail.com> - - * ld-powerpc/vxworks-relax.s: Add branches to match expected output. - * ld-powerpc/vxworks-relax-2.s: Likewise. - * ld-powerpc/vxworks1-lib.rd: Reorder reloc sections. - -2010-07-19 Andreas Schwab <schwab@redhat.com> - - * ld-mmix/bspec1.d: Ignore "Key to Flags" contents. - * ld-mmix/bspec2.d: Likewise. - * ld-mmix/local1.d: Likewise. - * ld-mmix/local3.d: Likewise. - * ld-mmix/local5.d: Likewise. - * ld-mmix/local7.d: Likewise. - * ld-mmix/undef-3.d: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - -2010-07-14 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11817 - * ld-i386/compressed1.s: New. - * ld-i386/compressed1.d: Likewise. - * ld-x86-64/compressed1.s: Likewise. - * ld-x86-64/compressed1.d: Likewise. - - * ld-i386/i386.exp: Run compressed1. - * ld-x86-64/x86-64.exp: Likewise. - -2010-07-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11812 - * ld-elf/exclude3b.d: Don't run on ia64-*-*. Replace .got with - .dynamic. - - * ld-elf/exclude3d.d: New. - * ld-i386/nogot1.d: Likewise. - * ld-i386/nogot1.s: Likewise. - * ld-x86-64/nogot1.d: Likewise. - * ld-x86-64/nogot1.s: Likewise. - - * ld-i386/i386.exp: Run nogot1. - * ld-x86-64/x86-64.exp: Likewise. - -2010-07-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/hidden2.d: Don't hard code expected output. - * ld-i386/protected3.d: Likewise. - * ld-x86-64/hidden2.d: Likewise. - * ld-x86-64/protected3.d: Likewise. - -2010-07-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11791 - * ld-ifunc/ifunc-10-i386.d: New. - * ld-ifunc/ifunc-10-i386.s: Likewise. - * ld-ifunc/ifunc-10-x86-64.d: Likewise. - * ld-ifunc/ifunc-10-x86-64.s: Likewise. - * ld-ifunc/ifunc-11-i386.d: Likewise. - * ld-ifunc/ifunc-11-i386.s: Likewise. - * ld-ifunc/ifunc-11-x86-64.d: Likewise. - * ld-ifunc/ifunc-11-x86-64.s: Likewise. - -2010-07-06 Alan Modra <amodra@gmail.com> - - * ld-powerpc/relax.s: Add branch back to _start. - * ld-powerpc/relax.d: Update. - * ld-powerpc/relaxr.d: Update. - -2010-07-01 Alan Modra <amodra@gmail.com> - - * lib/ld-lib.exp (default_ld_simple_link): Add $gcc_ld_flag before - any other options in $ld. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * ld-maxq/maxq.exp: Delete file. - * ld-maxq/addend.dd, * ld-maxq/addend.s, * ld-maxq/paddr.dd, - * ld-maxq/paddr.s, * ld-maxq/paddr1.dd, * ld-maxq/paddr1.s, - * ld-maxq/r32-1.s, * ld-maxq/r32-2.s, * ld-maxq/r32.dd: Likewise. - -2010-06-15 Joseph Myers <joseph@codesourcery.com> - - * ld-elf/orphan3.d: Allow section names starting '_'. - * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, - ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, - ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, - ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d, - ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d, - ld-tic6x/attr-arch-c64x+-c674x.d, - ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, - ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d, - ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d, - ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d, - ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s, - ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, - ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, - ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, - ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d, - ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d, - ld-tic6x/attr-arch-c67x+-c674x.d, - ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, - ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d, - ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d, - ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d, - ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New. - -2010-06-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/arm-call.d: Handle change in lsls/movs disassembly. - * ld-arm/farcall-thumb-arm-short.d: Likewise. - * ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb-blx.d: Likewise. - * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb-m.d: Likewise. - * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb.d: Likewise. - * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise. - * ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise. - * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. - * ld-arm/thumb2-bl-bad.d: Likewise. - -2010-05-26 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11628 - * ld-elf/textaddr3.d: New. - * ld-elf/textaddr4.d: Likewise. - * ld-elf/textaddr5.d: Likewise. - * ld-elf/textaddr6.d: Likewise. - * ld-elf/textaddr7.d: Likewise. - -2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - Andrew Stubbs <ams@codesourcery.com> - - * ld-sh/sh.exp: Handle uClinux like Linux. - * lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*. - * ld-sh/fdpic-funcdesc-shared.d: New file. - * ld-sh/fdpic-funcdesc-shared.s: New file. - * ld-sh/fdpic-funcdesc-static.d: New file. - * ld-sh/fdpic-funcdesc-static.s: New file. - * ld-sh/fdpic-gotfuncdesc-shared.d: New file. - * ld-sh/fdpic-gotfuncdesc-shared.s: New file. - * ld-sh/fdpic-gotfuncdesc-static.d: New file. - * ld-sh/fdpic-gotfuncdesc-static.s: New file. - * ld-sh/fdpic-gotfuncdesci20-shared.d: New file. - * ld-sh/fdpic-gotfuncdesci20-shared.s: New file. - * ld-sh/fdpic-gotfuncdesci20-static.d: New file. - * ld-sh/fdpic-gotfuncdesci20-static.s: New file. - * ld-sh/fdpic-goti20-shared.d: New file. - * ld-sh/fdpic-goti20-shared.s: New file. - * ld-sh/fdpic-goti20-static.d: New file. - * ld-sh/fdpic-goti20-static.s: New file. - * ld-sh/fdpic-gotofffuncdesc-shared.d: New file. - * ld-sh/fdpic-gotofffuncdesc-shared.s: New file. - * ld-sh/fdpic-gotofffuncdesc-static.d: New file. - * ld-sh/fdpic-gotofffuncdesc-static.s: New file. - * ld-sh/fdpic-gotofffuncdesci20-shared.d: New file. - * ld-sh/fdpic-gotofffuncdesci20-shared.s: New file. - * ld-sh/fdpic-gotofffuncdesci20-static.d: New file. - * ld-sh/fdpic-gotofffuncdesci20-static.s: New file. - * ld-sh/fdpic-gotoffi20-shared.d: New file. - * ld-sh/fdpic-gotoffi20-shared.s: New file. - * ld-sh/fdpic-gotoffi20-static.d: New file. - * ld-sh/fdpic-gotoffi20-static.s: New file. - * ld-sh/fdpic-plt-be.d: New file. - * ld-sh/fdpic-plt-le.d: New file. - * ld-sh/fdpic-plt.s: New file. - * ld-sh/fdpic-plti20-be.d: New file. - * ld-sh/fdpic-plti20-le.d: New file. - * ld-sh/fdpic-stack-default.d: New file. - * ld-sh/fdpic-stack-size.d: New file. - * ld-sh/fdpic-stack.s: New file. - -2010-05-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11600 - * ld-elf/exclude3.s: New. - * ld-elf/exclude3a.d: Likewise. - * ld-elf/exclude3b.d: Likewise. - * ld-elf/exclude3c.d: Likewise. - -2010-05-11 Andrew Stubbs <ams@codesourcery.com> - - * ld-arm/attr-merge-2.attr: Add Tag_DIV_use. - * ld-arm/attr-merge-2a.s: Likewise. - * ld-arm/attr-merge-2b.s: Likewise. - * ld-arm/attr-merge-3a.s: Likewise. - * ld-arm/attr-merge-3b.s: Likewise. - * ld-arm/attr-merge-4.attr: Likewise. - * ld-arm/attr-merge-5.attr: Likewise. - * ld-arm/attr-merge-6.attr: Likewise. - * ld-arm/attr-merge-7.attr: Likewise. - * ld-arm/attr-merge-arch-1.attr: Likewise. - * ld-arm/attr-merge-arch-2.attr: Likewise. - * ld-arm/attr-merge-unknown-2.d: Likewise. - * ld-arm/attr-merge-unknown-2r.d: Likewise. - * ld-arm/attr-merge-unknown-3.d: Likewise. - * ld-arm/attr-merge-vfp-1.d: Likewise. - * ld-arm/attr-merge-vfp-1r.d: Likewise. - * ld-arm/attr-merge-vfp-2.d: Likewise. - * ld-arm/attr-merge-vfp-2r.d: Likewise. - * ld-arm/attr-merge-vfp-3.d: Likewise. - * ld-arm/attr-merge-vfp-3r.d: Likewise. - * ld-arm/attr-merge-vfp-4.d: Likewise. - * ld-arm/attr-merge-vfp-4r.d: Likewise. - * ld-arm/attr-merge-vfp-5.d: Likewise. - * ld-arm/attr-merge-vfp-5r.d: Likewise. - * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-00.d: Likewise. - * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-02.d: Likewise. - * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-04.d: Likewise. - * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-20.d: Likewise. - * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-22.d: Likewise. - * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40.d: Likewise. - * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44.d: Likewise. - * ld-arm/attr-merge.attr: Likewise. - -2010-05-11 Jie Zhang <jie@codesourcery.com> - - * ld-arm/attr-merge-vfp-6.d: New test. - * ld-arm/attr-merge-vfp-6r.d: New test. - * ld-arm/attr-merge-vfpv3xd.s: New test. - * ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r. - -2010-05-07 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/cortex-a8-fix-bl-rel-plt.d: New file. - * ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d. - -2010-05-06 Joseph Myers <joseph@codesourcery.com> - - * ld-elf/orphan-region.d: Use ld -N. - -2010-04-30 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11542 - * ld-elf/discard.ld: New. - * ld-elf/discard1.d: Likewise. - * ld-elf/discard1.s: Likewise. - * ld-elf/discard2.d: Likewise. - * ld-elf/discard2.s: Likewise. - * ld-elf/discard3.d: Likewise. - -2010-04-22 Alan Modra <amodra@gmail.com> - - * ld-elf/extract-symbol-1sec.d: Update lma. - * ld-i386/alloc.d: Expect a warning, not an error. - -2010-04-20 Joseph Myers <joseph@codesourcery.com> - - * ld-tic6x/data-reloc-global-rel.d, - ld-tic6x/data-reloc-global-rel.s, - ld-tic6x/data-reloc-local-r-rel.d, - ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d, - ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s, - ld-tic6x/mvk-reloc-local-2-rel.s, - ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d, - ld-tic6x/pcrel-reloc-global-rel.d, - ld-tic6x/pcrel-reloc-local-r-rel.d, - ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d, - ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s, - ld-tic6x/sbr-reloc-local-2-rel.s, - ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d: - New. - -2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/attr-merge-2.attr: Update for changes in attribute output. - * ld-arm/attr-merge-3.attr: Likewise. - * ld-arm/attr-merge-vfp-1.d: Likewise. - * ld-arm/attr-merge-vfp-1r.d: Likewise. - * ld-arm/attr-merge-vfp-2.d: Likewise. - * ld-arm/attr-merge-vfp-2r.d: Likewise. - * ld-arm/attr-merge-vfp-3.d: Likewise. - * ld-arm/attr-merge-vfp-3r.d: Likewise. - * ld-arm/attr-merge-vfp-4.d: Likeiwse. - * ld-arm/attr-merge-vfp-4r.d: Likewise. - * ld-arm/attr-merge-vfp-5.d: Likewise. - * ld-arm/attr-merge-vfp-5r.d: Likewise. - * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-00.d: Likewise. - * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-02.d: Likewise. - * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-04.d: Likewise. - * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-20.d: Likewise. - * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-22.d: Likewise. - * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40.d: Likewise. - * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44.d: Likewise. - * ld-arm/attr-merge.attr: Likewise. - -2010-04-06 David S. Miller <davem@davemloft.net> - - * ld-elfvers/vers.exp: Pass -Av9a to assembler on sparc-*-* - -2010-04-05 Kai Tietz <kai.tietz@onevision.com> - - * ld-pe/orphan_nu.d: New test for --no-leading-underscore. - * ld-pe/orphana_nu.s: New file. - * ld-pe/pe.exp: Add orphan_nu test. - -2010-04-01 Nathan Sidwell <nathan@codesourcery.com> - - * ld-powerpc/apuinfo-nul.rd: New. - * ld-powerpc/apuinfo-nul1.s: New. - * ld-powerpc/powerpc.exp: Add it. - -2010-03-31 Kai TIetz <kai.tietz@onevision.com> - - * ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc - before string compare. - -2010-03-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/script-type.sym: Fix test. - -2010-03-31 Kai TIetz <kai.tietz@onevision.com> - - * ld-pe/basefile1.s: New. - * ld-pe/pe-compile.exp: Add base-file test. - -2010-03-31 Hans-Peter Nilsson <hp@axis.com> - - PR ld/11458 - * ld-cris/pcrelcp-1.d, ld-cris/pcrelcp-1.s: New test. - - * lib/ld-lib.exp (run_dump_test): When checking linker message and - return code, when success with no message is expected, don't - continue if we have an abnormal exit with a message. Check output - of inspection program and fail if it had output or an abnormal - exit code. Include "warning" and "error" among the directives - where multiples are allowed and append to previous values. - - * ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply - "file rootname", not "file tail", before applying runtest_file_p. - -2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test. - -2010-03-25 Joseph Myers <joseph@codesourcery.com> - - * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*. - * ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*. - * ld-tic6x: New directory and testcases. - -2010-03-19 Jie Zhang <jie@codesourcery.com> - - PR ld/11304 - * ld-elf/pr11304.d: New test. - * ld-elf/pr11304a.s: New test. - * ld-elf/pr11304b.s: New test. - * lib/ld-lib.exp (regexp_diff): Add support for #failif. - -2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-elf/orphan-region.d, ld-elf/orphan-region.ld, - ld-elf/orphan-region.s: New files. - -2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/arm-merge-incompatible.d: New test. - * ld-arm/arm-merge-incompatiblea.s: Likewise. - * ld-arm/arm-merge-incompatibleb.s: Likewise. - * ld-arm/arm-elf.exp: Run the new test. - -2010-03-02 Christophe Lyon <christophe.lyon@st.com> - Alan Modra <amodra@gmail.com> - - * ld-arm/arm-elf.exp: Change .text start address for - farcall-thumb-arm tests. Add v4t variant for farcall-mixed-lib - test. - * ld-arm/farcall-mixed-lib-v4t.d: New test. - * ld-arm/farcall-mixed-lib1.s: Don't force armv5t. - * ld-arm/farcall-mixed-lib2.s: Likewise. - * ld-arm/arm-call.d: Update expected results. - * ld-arm/cortex-a8-far.d: Likewise. - * ld-arm/farcall-group-size2.d: Likewise. - * ld-arm/farcall-group.d: Likewise. - * ld-arm/farcall-mix.d: Likewise. - * ld-arm/farcall-mix2.d: Likewise. - * ld-arm/farcall-mixed-app-v5.d: Likewise. - * ld-arm/farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - * ld-arm/farcall-thumb-arm.d: Likewise. - * ld-arm/farcall-thumb-arm-blx.d: Likewise. - * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-arm.s: Update test. Add a new call to - potentially generate different types of stubs. - -2010-02-27 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/init-fini-arrays.d: Pass --wide to readelf. - -2010-02-27 Jie Zhang <jie@codesourcery.com> - - * ld-elf/init-fini-arrays.s: New test. - * ld-elf/init-fini-arrays.d: New test. - -2010-02-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/group-relocs.s: Mark code sections as executable. - * ld-arm/arm-elf.exp (armelftests): Only dump executable sections in - group-relocs test. - * ld-arm/reloc-boundaries.d: Fix test to work on Linux targets. - -2010-02-23 Nick Clifton <nickc@redhat.com> - - * ld-elf/orphan4.d: Allow for other sections to be present in the - output. - -2010-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic - ifunc-using executable. - -2010-02-19 Alan Modra <amodra@gmail.com> - - * ld-elf/group.ld: Discard .dropme sections. - * ld-elf/group10.d, * ld-elf/group10.s: New test. - -2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/attr-merge-6.attr: Add new test. Missed off last commit. - -2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/attr-merge-3.attr: Fix test for new attribute values. - * ld-arm/attr-merge-3b.s: Likewise. - * ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised - attribute ID. - * ld-arm/attr-merge-unknown-1.s: Likewise. - * ld-arm/attr-merge-6.attr: New test. - * ld-arm/attr-merge-6a.s: Likewise. - * ld-arm/attr-merge-6b.s: Likewise. - * ld-arm/attr-merge-7.attr: Likewise. - * ld-arm/attr-merge-7a.s: Likewise. - * ld-arm/attr-merge-7b.s: Likewise. - * ld-arm/arm-elf.exp: Run the new tests. - -2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/jump-reloc-veneers-long.d: Correct testcase for - arm-none-eabi target. - * ld-arm/jump-reloc-veneers-short1.d: Likewise - * ld-arm/jump-reloc-veneers-short2.d: Likewise - -2010-02-12 Daniel Gutson <dgutson@codesourcery.com> - - * ld-arm/arm-elf.exp (armelftests): New test case added. - * ld-arm/data-only-map.s: New file. - * ld-arm/data-only-map.d: New file. - * ld-arm/data-only-map.ld: New file. - -2010-02-11 David S. Miller <davem@davemloft.net> - - * ld-sparc/gotop32.s: Add local symbol case. - * ld-sparc/gotop64.s: Likewise. - * ld-sparc/gotop32.rd: Adjust expected results. - * ld-sparc/gotop32.td: Likewise. - * ld-sparc/gotop64.dd: Likewise. - * ld-sparc/gotop64.rd: Likewise. - * ld-sparc/gotop64.td: Likewise. - -2010-02-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*. - * ld-shared/shared.exp: Likewise. - -2010-02-08 David S. Miller <davem@davemloft.net> - - * ld-ifunc/ifunc.exp: Run for sparc. - -2010-02-08 Nathan Sidwell <nathan@codesourcery.com> - - * ld-powerpc/apuinfo-nul.s: New. - * ld-powerpc/apuinfo.rd: Add it. - * ld-powerpc/powerpc.exp: Likewise. - -2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/jump-reloc-veneers-long.d: New test. - * ld-arm/jump-reloc-veneers-short1.d: Likewise. - * ld-arm/jump-reloc-veneers-short2.d: Likewise. - * ld-arm/jump-reloc-veneers.s: Likewise. - * ld-arm/arm-elf.exp (armelftests): Run them. - -2010-01-28 Nick Clifton <nickc@redhat.com> - - PR 11225 - * ld-sh/refdbg-0-dso.d: Dump all sections. - -2010-01-26 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11218 - * ld-gc/dummy.s: New. - * ld-gc/pr11218-1.c: Likewise. - * ld-gc/pr11218-2.c: Likewise. - * ld-gc/pr11218.d: Likewise. - -2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od, - ld-powerpc/aix-ref-1.s: New tests. - * ld-powerpc/aix52.exp: Run them. - -2010-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/orphan4.d: Support 64bit targets. - -2010-01-13 DJ Delorie <dj@redhat.com> - - * ld-elf/orphan4.d: New. - * ld-elf/orphan4.ld: New. - * ld-elf/orphan4.s: New. - -2010-01-13 Chao-ying Fu <fu@mips.com> - - * ld-mips-elf/jr-to-b-1.d, ld-mips-elf/jr-to-b-2.d: New tests. - * ld-mips-elf/jr-to-b-1.s, ld-mips-elf/jr-to-b-2.s: Source. - * ld-mips-elf/mips-elf.exp: Run new tests. - -2010-01-13 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/arm-elf.exp (armelftests): Assemble Cortex-A8 tests with - -mcpu=cortex-a8. - -2010-01-13 Nick Clifton <nickc@redhat.com> - - * ld-scrips/sort.exp: Skip these tests when the target is the - h8300. - -2010-01-11 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11146 - * ld-elf/dynsym1.d: New. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11138 - * ld-elf/pr11138-1.c: New. - * ld-elf/pr11138-1.map: Likewise. - * ld-elf/pr11138-2.c: Likewise. - * ld-elf/pr11138-2.map: Likewise. - * ld-elf/pr11138.out: Likewise. - - * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and - libpr11138-2.o. - (run_tests): Add 2 tests for PR ld/11138. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11133 - * ld-gc/gc.exp: Run start. - - * ld-gc/start.d: New. - * ld-gc/start.s: Likewise. - -2010-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/11143 - * ld-gc/gc.exp: Run abi-note. - - * ld-gc/abi-note.d: New. - * ld-gc/abi-note.s: Likewise. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/ld/testsuite/ChangeLog-2010 b/ld/testsuite/ChangeLog-2010 new file mode 100644 index 0000000..a7da6fd --- /dev/null +++ b/ld/testsuite/ChangeLog-2010 @@ -0,0 +1,1312 @@ +2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * ld-undefined/undefined.exp (testline): XFAIL hppa*64*-*-*. + + PR ld/12360 + * ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on + hppa*64*-*-*. + +2010-12-31 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/mips-elf-flags.exp: Handle FreeBSD targets. + * ld-mips-elf/mips-elf.exp: Likewise. + * ld-mips-elf/mips16-call-global.d: Accept any file format. + * ld-mips-elf/mips16-intermix.d: Likewise. + +2010-12-28 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12327 + * ld-scripts/defined4.d: New. + * ld-scripts/defined4.s: Likewise. + * ld-scripts/defined4.t: Likewise. + * ld-scripts/expr2.d: Likewise. + * ld-scripts/expr2.s: Likewise. + * ld-scripts/expr2.t: Likewise. + + * ld-scripts/defined.exp: Run defined4. + + * ld-scripts/expr.exp: Run expr2. + +2010-12-21 Kai Tietz <kai.tietz@onevision.com> + + * ld-pe/pe.exp: Add TLS directory test. + * ld-pe/tlssec.s: New. + * ld-pe/tlssec64.d: New. + * ld-pe/tlssec32.d: New. + +2010-12-20 Alan Modra <amodra@gmail.com> + + * ld-bootstrap/bootstrap.exp: Fix misplaced comment. + +2010-12-20 Alan Modra <amodra@gmail.com> + + PR ld/12001 + * ld-scripts/default-script2.d: Revert 2010-11-03 change. + +2010-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/elf.exp (array_tests): Add init-mixed. + (array_tests_static): Likewise. + Also delete tmpdir/init-mixed. + + * ld-elf/init-mixed.c: New. + * ld-elf/init-mixed.out: Likewise. + +2010-12-11 Alan Modra <amodra@gmail.com> + + * ld-elfvers/vers25a.dsym: Really include _? in match. + +2010-12-10 Mike Frysinger <vapier@gentoo.org> + + * ld-elfvers/vers.h: New file. + * ld-elfvers/vers1.c: Include vers.h. Change asm(.symver) to SYMVER(). + * ld-elfvers/vers4.c, ld-elfvers/vers5.c, ld-elfvers/vers6.c, + ld-elfvers/vers7a.c, ld-elfvers/vers9.c, ld-elfvers/vers15.c, + ld-elfvers/vers18.c, ld-elfvers/vers21.c, ld-elfvers/vers22a.c, + ld-elfvers/vers23a.c, ld-elfvers/vers24a.c, ld-elfvers/vers24c.c, + ld-elfvers/vers27d1.c: Likewise. + + * ld-elf/pr9676.rd: Include _? in symbol match + * ld-elf/pr9676.rd, ld-elf/pr9679.rd, ld-elfvers/vers1.dsym, + ld-elfvers/vers1.sym, ld-elfvers/vers15.dsym, ld-elfvers/vers15.sym, + ld-elfvers/vers16.dsym, ld-elfvers/vers16a.dsym, ld-elfvers/vers17.dsym, + ld-elfvers/vers18.dsym, ld-elfvers/vers18.sym, ld-elfvers/vers19.dsym, + ld-elfvers/vers2.dsym, ld-elfvers/vers20.dsym, ld-elfvers/vers21.dsym, + ld-elfvers/vers21.sym, ld-elfvers/vers22.dsym, ld-elfvers/vers22a.dsym, + ld-elfvers/vers22a.sym, ld-elfvers/vers22b.dsym, ld-elfvers/vers23.dsym, + ld-elfvers/vers23a.dsym, ld-elfvers/vers23a.sym, + ld-elfvers/vers23b.dsym, ld-elfvers/vers23d.dsym, + ld-elfvers/vers24.rd, ld-elfvers/vers25a.dsym, + ld-elfvers/vers26a.dsym, ld-elfvers/vers27a.dsym, + ld-elfvers/vers27d.dsym, ld-elfvers/vers27d.sym, + ld-elfvers/vers27d4.dsym, ld-elfvers/vers28b.dsym, + ld-elfvers/vers28c.dsym, ld-elfvers/vers29.dsym, ld-elfvers/vers3.dsym, + ld-elfvers/vers30.dsym, ld-elfvers/vers31.dsym, ld-elfvers/vers32a.dsym, + ld-elfvers/vers32b.dsym, ld-elfvers/vers4.sym, ld-elfvers/vers4a.dsym, + ld-elfvers/vers4a.sym, ld-elfvers/vers6.dsym, ld-elfvers/vers6.sym, + ld-elfvers/vers7a.dsym, ld-elfvers/vers7a.sym, ld-elfvers/vers9.dsym, + ld-elfvers/vers9.sym: Likewise. + +2010-12-05 H.J. Lu <hongjiu.lu@intel.com> + + * ld-plugin/plugin-vis-1.d: Updated. + +2010-12-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-selective/selective.exp: Don't pass -fvtable-gc to GCC + 3.4.0 or above. + +2010-12-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp: Replace -export-dynamic with + -Wl,-export-dynamic. + +2010-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-scripts/script.exp: Remove full path from REGION_ALIAS test + names. + +2010-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in + jump-reloc-veneers* tests with --section-start .text=0x8000. + +2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> + + * lib/ld-lib.exp (regexp_diff, simple_diff): Delete. + +2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> + + * lib/ld-lib.exp (load_common_lib): New function. Load + binutils-common.exp. + (is_elf_format, is_elf64, is_aout_format, is_pecoff_format): Delete. + +2010-11-18 Alan Modra <amodra@gmail.com> + + * ld-elf/binutils.exp: Correct x86 gnu target match. + * ld-i386/i386.exp: Likewise. + * ld-ifunc/binutils.exp: Likewise. + * ld-ifunc/ifunc.exp: Likewise. + * ld-discard/discard.exp: Remove unnecessary line continuations. + * ld-elfvers/vers.exp: Likewise. Simplify linuxaout and linuxoldld + test. + * ld-elfweak/elfweak.exp: Likewise. + +2010-11-17 Andreas Schwab <schwab@linux-m68k.org> + + * ld-gc/pr11218-2.c: Declare + unresolved_detected_at_runtime_not_at_linktime. + +2010-11-17 Alan Modra <amodra@gmail.com> + + * ld-plugin/plugin.exp: Define printf and puts as main. + +2010-11-08 Thomas Schwinge <thomas@schwinge.name> + + * lib/ld-lib.exp (is_elf_format): Consider for *-*-gnu*, too. + * ld-discard/discard.exp: Likewise. + * ld-elf/binutils.exp: Likewise. + * ld-elf/commonpage1.d (target): Likewise. + * ld-elf/compress1c.d (target): Likewise. + * ld-elf/discard1.d (target): Likewise. + * ld-elf/discard2.d (target): Likewise. + * ld-elf/discard3.d (target): Likewise. + * ld-elf/dynsym1.d (target): Likewise. + * ld-elf/eh6.d (target): Likewise. + * ld-elf/elf.exp: Likewise. + (array_tests): Move -static tests to... + (array_tests_static): ... here, and handle it accordingly. + * ld-elf/hash.d (target): Likewise. + * ld-elf/header.d (target): Likewise. + * ld-elf/loadaddr1.d (target): Likewise. + * ld-elf/loadaddr2.d (target): Likewise. + * ld-elf/loadaddr3a.d (target): Likewise. + * ld-elf/loadaddr3b.d (target): Likewise. + * ld-elf/local1.d (target): Likewise. + * ld-elf/maxpage1.d (target): Likewise. + * ld-elf/maxpage2.d (target): Likewise. + * ld-elf/maxpage3a.d (target): Likewise. + * ld-elf/multibss1.d (target): Likewise. + * ld-elf/noload-2.d (target): Likewise. + * ld-elf/seg.d (target): Likewise. + * ld-elf/textaddr1.d (target): Likewise. + * ld-elf/textaddr2.d (target): Likewise. + * ld-elf/textaddr3.d (target): Likewise. + * ld-elf/textaddr4.d (target): Likewise. + * ld-elf/textaddr5.d (target): Likewise. + * ld-elf/textaddr6.d (target): Likewise. + * ld-elf/textaddr7.d (target): Likewise. + * ld-elf/tls_common.exp: Likewise. + * ld-elf/unknown2.d (target): Likewise. + * ld-elfvers/vers.exp: Likewise. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + (setup_xfail_gnu_hurd): New function. Use it where appropriate. + * ld-gc/abi-note.d (target): Likewise. + * ld-gc/gc.exp: Likewise. + * ld-gc/pr11218.d (target): Likewise. + * ld-gc/start.d (target): Likewise. + * ld-i386/i386.exp: Likewise. + * ld-ifunc/binutils.exp: Likewise. + * ld-ifunc/ifunc.exp: Likewise. + * ld-linkonce/linkonce.exp: Likewise. + * ld-linkonce/zeroehl32.d (target): Likewise. + * ld-pie/pie.exp: Likewise. + * ld-scripts/phdrs2.exp: Likewise. + * ld-scripts/rgn-at5.d (target): Likewise. + * ld-shared/shared.exp: Likewise. + * ld-undefined/entry-3.d (target): Likewise. + * ld-undefined/entry-4.d (target): Likewise. + * ld-undefined/weak-undef.exp: Likewise. + +2010-11-06 Kirill A. Shutemov <kirill@shutemov.name> + + * ld-plugin/plugin-6.d: Relax file name match. + +2010-11-05 Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/attr-unknown-1.d, ld-tic6x/attr-unknown-1000-1.s, + ld-tic6x/attr-unknown-1000-2.s, ld-tic6x/attr-unknown-1024-1.s, + ld-tic6x/attr-unknown-2.d, ld-tic6x/attr-unknown-3.d, + ld-tic6x/attr-unknown-4.d, ld-tic6x/attr-unknown-5.d, + ld-tic6x/attr-unknown-54-1.s, ld-tic6x/attr-unknown-55-a.s, + ld-tic6x/attr-unknown-6.d, ld-tic6x/attr-unknown-7.d, + ld-tic6x/attr-unknown-71-a.s, ld-tic6x/attr-unknown-71-b.s: New + tests. + +2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-plugin/plugin.exp (testobjfiles): Dont use HOSTING_CRT0. + (testobjfiles_notext): Likewise. + (libs): Don't use HOSTING_LIBS; fill with default symbol defs instead. + * lib/ld-lib.exp (ld_simple_link_defsyms): Add cygming clause. + +2010-11-05 Alan Modra <amodra@gmail.com> + + * ld-elfvers/vers32c.dsym, * ld-elfvers/vers32c.ver: Delete. + * ld-elfvers/vers32d.ver: Delete. + * ld-elfvers/vers.exp: Don't run them. + +2010-11-03 Nick Clifton <nickc@redhat.com> + + PR ld/12001 + * ld-script/default-script2.d: Fix expected address for text + section. + +2010-11-02 Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d, + ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d, + ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d, + ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d, + ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d, + ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d, + ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s, + ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d, + ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d, + ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d, + ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d, + ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d, + ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d, + ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s, + ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d, + ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d, + ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d, + ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d, + ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d, + ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d, + ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s, + ld-tic6x/attr-conformance-10-10.d, + ld-tic6x/attr-conformance-10-11.d, + ld-tic6x/attr-conformance-10-none.d, + ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d, + ld-tic6x/attr-conformance-11-11.d, + ld-tic6x/attr-conformance-11-none.d, + ld-tic6x/attr-conformance-11.s, + ld-tic6x/attr-conformance-none-10.d, + ld-tic6x/attr-conformance-none-11.d, + ld-tic6x/attr-conformance-none-none.d, + ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s, + ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d, + ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d, + ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s, + ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d, + ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s, + ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d, + ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s, + ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d, + ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d, + ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d, + ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d, + ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d, + ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d, + ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d, + ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s, + ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d, + ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s, + ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d, + ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s, + ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d, + ld-tic6x/attr-wchar-22.d: New tests. + +2010-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/compress1a.d: Also check MIPS_DWARF. + * ld-elf/compress1b.d: Likewise. + * ld-elf/compress1c.d: Likewise. + +2010-10-29 Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/attr-compatibility-gnu-gnu.d, + ld-tic6x/attr-compatibility-gnu-other.d, + ld-tic6x/attr-compatibility-gnu.s, + ld-tic6x/attr-compatibility-other-gnu.d, + ld-tic6x/attr-compatibility-other-other.d, + ld-tic6x/attr-compatibility-other.s: New tests. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/compress1c.d: Only run for Linux targets. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/compress.exp: New. + * ld-elf/compress1.s: Likewise. + * ld-elf/compress1a.d: Likewise. + * ld-elf/compress1b.d: Likewise. + * ld-elf/compress1c.d: Likewise. + +2010-10-29 Bernd Schmidt <bernds@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d, + ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s, + ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests. + +2010-10-28 Thomas Schwinge <thomas@schwinge.name> + + * ld-scripts/script.exp: Sort all filename globs. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * ld-plugin/plugin.exp (libs): Remove $LIBS. + +2010-10-28 Alan Modra <amodra@gmail.com> + + * ld-elf/sec-to-seg.exp (B_test_same_seg): Clear for i960, + microblaze, moxie, and mt. + + * ld-elf/flags1.s: Use arm compatible .type syntax. + * ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k, + moxie, mt. + +2010-10-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * ld-s390/tlsbin.dd: bc 0,0 -> nop 0 and bcr 0,%r0 -> nopr %r0. + +2010-10-25 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-discard/zero-range.d, ld-discard/zero-range.s: New files. + +2010-10-23 Mark Mitchell <mark@codesourcery.com> + + * ld-elf/group10.d: Expect ".group" for the name of group + sections. + * ld-elf/group2.d: Likewise. + * ld-elf/group7.d: Likewise. + +2010-10-21 Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, + ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, + ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, + ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d, + ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d, + ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, + ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d, + ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d, + ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d, + ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, + ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, + ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, + ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d, + ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d, + ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, + ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d, + ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d, + ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d: + Update for attribute renaming. + +2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if + no suitable target compiler is available. + +2010-10-16 Kai Tietz <kai.tietz@onevision.com> + + * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl. + +2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-plugin/plugin.exp: Don't error out if there is no target compiler + available, make tests UNSUPPORTED instead. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 6/6). + * ld-plugin/plugin-10.d: New dump test control script. + * ld-plugin/plugin-11.d: Likewise. + * ld-plugin/plugin.exp: Run them. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 5/6). + * ld-plugin/plugin-ignore.d: New dump test control script. + * ld-plugin/plugin-vis-1.d: Likewise. + * ld-plugin/plugin.exp: Add list of ELF-only tests and run them if + testing on an ELF target. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 4/6). + * ld-plugin/plugin-9.d: New testcase. + * ld-plugin/plugin.exp: Invoke it. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 3/6). + * ld-plugin/plugin-8.d: New testcase. + * ld-plugin/plugin.exp: Invoke it. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 2/6). + * ld-plugin/plugin-3.d: Enable regexes for new functionality. + * ld-plugin/plugin-5.d: Likewise. + * ld-plugin/plugin-6.d: New testcase. + * ld-plugin/plugin-7.d: Likewise. + * ld-plugin/plugin.exp: Use 'nm' on compiled test objects to determine + whether symbols in plugin arguments need an underscore prefix. Add + new plugin-6.d and plugin-7.d testcases. + +2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> + + Apply LD plugin patch series (part 1/6). + * ld-bootstrap/bootstrap.exp: Skip static tests also if LD plugins + are enabled. + * lib/ld-lib.exp (proc regexp_diff): Extend verbose debug output. + (proc set_file_contents): Write a file with the supplied content. + (run_ld_link_tests): Add new 'ld' action to test linker output. + (proc check_plugin_api_available): Return true if linker under test + supports the plugin API. + * ld-plugin/func.c: New test source file. + * ld-plugin/main.c: Likewise. + * ld-plugin/text.c: Likewise. + * ld-plugin/plugin-1.d: New dump test output pattern script. + * ld-plugin/plugin-2.d: Likewise. + * ld-plugin/plugin-3.d: Likewise. + * ld-plugin/plugin-4.d: Likewise. + * ld-plugin/plugin-5.d: Likewise. + * ld-plugin/plugin.exp: New test control script. + +2010-10-11 Alan Modra <amodra@gmail.com> + + * ld-elf/orphan-region.d: xfail frv-*-*. + +2010-10-11 Alan Modra <amodra@gmail.com> + + * ld-mmix/sec-3.d: Adjust for 2010-09-29 orphan change. + * ld-mmix/sec-7m.d: Likewise. + +2010-10-06 Nick Clifton <nickc@redhat.com> + + * ld-scripts/rgn-at5.t: Add some more output sections. + * ld-scripts/rgn-at5.d: Update expected output. + +2010-09-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11812 + * ld-i386/nogot2.d: New + * ld-i386/nogot2.s: Likewise. + * ld-x86-64/nogot2.d: Likewise. + * ld-x86-64/nogot2.s: Likewise. + + * ld-i386/i386.exp: Run nogot2. + * ld-x86-64/x86-64.exp: Likewise. + +2010-09-29 Alan Modra <amodra@gmail.com> + + * ld-h8300/h8300.exp: Use is_elf_format. + + * lib/ld-lib.exp (is_elf_format): Merge with binutils and gas versions. + (is_aout_format): Update target list. + (is_pecoff_format): Remove unnecessary line continuation. + +2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * ld-s390/tlsbin.dd: bcr 0,%r7 -> nopr %r7. + * ld-s390/tlsbin_64.dd: Likewise. + * ld-s390/tlspic.dd: Likewise. + * ld-s390/tlspic_64.dd: Likewise. + +2010-09-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11812 + * ld-i386/nogot1.s: Don't use GOTOFF. + +2010-09-23 Bernd Schmidt <bernds@codesourcery.com> + + * ld-tic6x/pcrel-reloc-local-r-rel-rela.d: New test. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/attr-merge-6.attr: Update for Security Extensions. + * ld-arm/attr-merge-7.attr: Likewise. + +2010-09-23 Alan Modra <amodra@gmail.com> + + * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. + * ld-elf/group2.d: xfail xstormy. + * ld-elf/group4.d: Likewise. + * ld-elf/group5.d: Likewise. + * ld-elf/group6.d: Likewise. + * ld-elf/init-fini-arrays.d: xfail cr16 and crx. + * ld-elf/orphan2.d: xfail xstormy. + * ld-elf/sec64k.exp: Don't run on targets using generic linker. + Allow a larger range for ld -r expected bar_1 section. Don't run + final link test on a number of targets. Select avr6 for avr targets. + * ld-elfcomm/elfcomm.exp: Don't attempt on hpux. + + * ld-d10v/reloc-007.d: Don't error. + * ld-d10v/reloc-008.d: Likewise. + * ld-d10v/reloc-015.d: Likewise. + * ld-d10v/reloc-016.d: Likewise. + * ld-d10v/reloc-012.ld: Use a sane offset. + +2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/attr-merge-6.attr: Update test for change in canonical CPU + name. + * ld-arm/attr-merge-7.attr: Likewise. + * ld-arm/attr-merge-2.attr: Likewise. + * ld-arm/attr-merge-arch-2.attr: Likewise. + +2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/script-type.ld: Update to generate symbols in a section. + +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries + and remove some duplication between the global and local GOT + entries. Adjust GP offsets accordingly. + * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update + GP offsets accordingly. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + * ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to + the local GOT. + * ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly. + * ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for + smaller GOT sizes. + +2010-09-18 Alan Modra <amodra@gmail.com> + + * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. + * ld-discard/discard.exp: Move xfails from here.. + * ld-discard/extern.d: ..to here. + * ld-discard/start.d: ..and here. + * ld-discard/static.d: ..and here. + * ld-elf/binutils.exp: Don't run tbss1 and tbss2 tests on hppa64. + * ld-elf/empty2.d: Remove xfails. + * ld-elf/flags1.d: xfail hppa64. + * ld-elf/group1.d: Add comment. + * ld-elf/group2.d: xfail cr16 and crx. + * ld-elf/group3b.d: Correct xfail and add comment. + * ld-elf/group4.d: xfail cr16 and crx. + * ld-elf/group5.d: Likewise. + * ld-elf/group6.d: Likewise. + * ld-elf/group7.d: Likewise. + * ld-elf/group8a.d: Add more notarget and xfail entries. Comment. + * ld-elf/group8b.d: Likewise. + * ld-elf/group9a.d: Likewise. + * ld-elf/group9b.d: Likewise. + * ld-elf/linkonce2.d: Correct notarget and comment. + * ld-elf/merge2.d: Remove iq2000 from xfail. + * ld-elf/multibss1.d: xfail hppa64. + * ld-elf/nobits-1.d: Likewise. + * ld-elf/note-1.d: Likewise. + * ld-elf/note-2.d: Likewise. + * ld-elf/orphan-region.d: Add xfails. + * ld-elf/orphan-region.ld: Discard some sections. + * ld-elf/orphan.d: Add xfails. + * ld-elf/orphan.ld: Discard some sections. + * ld-elf/orphan3.d: Replace xfail frv-*-* with frv-*-elf. Remove + cr16, crx and d10v. + * ld-elf/pr349.d: Add xfails. + * ld-elf/warn2.d: Add xfails. Tweak symbol section for hppa64. + * ld-scripts/rgn-at5.t: Discard .reginfo. + +2010-09-16 Alan Modra <amodra@gmail.com> + + * ld-elf/orphan-region.d: xfail for spu. + * ld-elf/relocatable.d: xfail for hppa. + + * ld-elf/group3b.d: Disable for generic linker targets. + * ld-elf/linkonce2.d: Likewise. + * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld. + * ld-scripts/empty-address-2b.d: Likewise. + * ld-scripts/rgn-at5.s: Don't use .word. + * ld-scripts/rgn-at5.d: Update. + +2010-09-10 Alan Modra <amodra@gmail.com> + + * ld-gc/abi-note.d: Exclude aout and oldld targets. + * ld-gc/start.d: Likewise. + * ld-scripts/section-match-1.d: Likewise, and tic30. + +2010-09-10 Hans-Peter Nilsson <hp@axis.com> + + * ld-scripts/rgn-at5.d: Restrict to *-*-linux*. + +2010-09-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11998 + * ld-scripts/rgn-at5.d: New. + * ld-scripts/rgn-at5.s: Likewise. + * ld-scripts/rgn-at5.t: Likewise. + +2010-09-07 Andrew Burgess <aburgess@broadcom.com> + + * ld-x86-64/split-by-file.rd: New test. + * ld-x86-64/split-by-file1.s: New test source code. + * ld-x86-64/split-by-file2.s: New test source code. + * ld-x86-64/x86-64.exp: Run the new test. + +2010-08-31 Nick Clifton <nickc@redhat.com> + + * ld-scripts/section-match.exp: New file. Runs the + section-match-1 test. + * ld-scripts/section-match-1.d: New file. + * ld-scripts/section-match-1.s: New file. + * ld-scripts/section-match-1.t: New file. + +2010-08-25 Julian Brown <julian@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): Add cortex-a8-fix-blx-bcond.s. + * ld-arm/cortex-a8-fix-blx-bcond.s: New. + * ld-arm/cortex-a8-fix-blx-bcond.d: New. + +2010-08-24 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/x86-64.exp: Fix typos. + +2010-08-23 Maciej W. Rozycki <macro@codesourcery.com> + + * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for + the new MIPS32r2 64-bit FPU description. + * ld-mips-elf/attr-gnu-4-40.d: Likewise. + * ld-mips-elf/attr-gnu-4-44.d: Likewise. + +2010-08-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11933 + * ld-x86-64/mixed1a.s: New. + * ld-x86-64/mixed1b.s: Likewise. + * ld-x86-64/mixed2a.s: Likewise. + * ld-x86-64/mixed2b.s: Likewise. + + * ld-x86-64/x86-64.exp: Test mixed x86_64 and i386 inputs. + +2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> + + * ld-sh/sh.exp: Add missing newline. + +2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> + + * ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP. + * ld-mips-elf/attr-gnu-4-02.d: Likewise. + * ld-mips-elf/attr-gnu-4-10.d: Likewise. + * ld-mips-elf/attr-gnu-4-11.d: Likewise. + * ld-mips-elf/attr-gnu-4-15.d: Likewise. + * ld-mips-elf/attr-gnu-4-20.d: Likewise. + * ld-mips-elf/attr-gnu-4-22.d: Likewise. + * ld-mips-elf/attr-gnu-4-25.d: Likewise. + +2010-08-19 Alan Modra <amodra@gmail.com> + + * ld-scripts/memory.t: Remove ORIGIN fudge. + +2010-08-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11913 + * ld-i386/discarded1.d: New. + * ld-i386/discarded1.s: Likewise. + * ld-i386/discarded1.t: Likewise. + * ld-x86-64/discarded1.d: Likewise. + * ld-x86-64/discarded1.s: Likewise. + * ld-x86-64/discarded1.t: Likewise. + + * ld-i386/i386.exp: Run discarded1. + * ld-x86-64/x86-64.exp: Likewise. + +2010-08-09 Catherine Moore <clm@codesourcery.com> + + * ld-mips-elf/mode-change-error-1.d: New. + * ld-mips-elf/mode-change-error-1a.s: New. + * ld-mips-elf/mode-change-error-1b.s: New. + * ld-mips-elf/mips-elf.exp: Run new test. + +2010-08-06 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test. + * ld-powerpc/powerpc.exp: Run it. + +2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> + Ina Pandit <ina.pandit@kpitcummins.com> + + * ld-v850/split-lo16.d: Update the "ld" instructions with a space + for second operand. + +2010-07-20 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2010-07-20 Alan Modra <amodra@gmail.com> + + * ld-powerpc/vxworks-relax.s: Add branches to match expected output. + * ld-powerpc/vxworks-relax-2.s: Likewise. + * ld-powerpc/vxworks1-lib.rd: Reorder reloc sections. + +2010-07-19 Andreas Schwab <schwab@redhat.com> + + * ld-mmix/bspec1.d: Ignore "Key to Flags" contents. + * ld-mmix/bspec2.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/undef-3.d: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + +2010-07-14 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11817 + * ld-i386/compressed1.s: New. + * ld-i386/compressed1.d: Likewise. + * ld-x86-64/compressed1.s: Likewise. + * ld-x86-64/compressed1.d: Likewise. + + * ld-i386/i386.exp: Run compressed1. + * ld-x86-64/x86-64.exp: Likewise. + +2010-07-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11812 + * ld-elf/exclude3b.d: Don't run on ia64-*-*. Replace .got with + .dynamic. + + * ld-elf/exclude3d.d: New. + * ld-i386/nogot1.d: Likewise. + * ld-i386/nogot1.s: Likewise. + * ld-x86-64/nogot1.d: Likewise. + * ld-x86-64/nogot1.s: Likewise. + + * ld-i386/i386.exp: Run nogot1. + * ld-x86-64/x86-64.exp: Likewise. + +2010-07-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/hidden2.d: Don't hard code expected output. + * ld-i386/protected3.d: Likewise. + * ld-x86-64/hidden2.d: Likewise. + * ld-x86-64/protected3.d: Likewise. + +2010-07-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11791 + * ld-ifunc/ifunc-10-i386.d: New. + * ld-ifunc/ifunc-10-i386.s: Likewise. + * ld-ifunc/ifunc-10-x86-64.d: Likewise. + * ld-ifunc/ifunc-10-x86-64.s: Likewise. + * ld-ifunc/ifunc-11-i386.d: Likewise. + * ld-ifunc/ifunc-11-i386.s: Likewise. + * ld-ifunc/ifunc-11-x86-64.d: Likewise. + * ld-ifunc/ifunc-11-x86-64.s: Likewise. + +2010-07-06 Alan Modra <amodra@gmail.com> + + * ld-powerpc/relax.s: Add branch back to _start. + * ld-powerpc/relax.d: Update. + * ld-powerpc/relaxr.d: Update. + +2010-07-01 Alan Modra <amodra@gmail.com> + + * lib/ld-lib.exp (default_ld_simple_link): Add $gcc_ld_flag before + any other options in $ld. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * ld-maxq/maxq.exp: Delete file. + * ld-maxq/addend.dd, * ld-maxq/addend.s, * ld-maxq/paddr.dd, + * ld-maxq/paddr.s, * ld-maxq/paddr1.dd, * ld-maxq/paddr1.s, + * ld-maxq/r32-1.s, * ld-maxq/r32-2.s, * ld-maxq/r32.dd: Likewise. + +2010-06-15 Joseph Myers <joseph@codesourcery.com> + + * ld-elf/orphan3.d: Allow section names starting '_'. + * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, + ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, + ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, + ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d, + ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d, + ld-tic6x/attr-arch-c64x+-c674x.d, + ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, + ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d, + ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d, + ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d, + ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s, + ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, + ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, + ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, + ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d, + ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d, + ld-tic6x/attr-arch-c67x+-c674x.d, + ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, + ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d, + ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d, + ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d, + ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New. + +2010-06-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/arm-call.d: Handle change in lsls/movs disassembly. + * ld-arm/farcall-thumb-arm-short.d: Likewise. + * ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb-blx.d: Likewise. + * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb-m.d: Likewise. + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb.d: Likewise. + * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise. + * ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise. + * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. + * ld-arm/thumb2-bl-bad.d: Likewise. + +2010-05-26 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11628 + * ld-elf/textaddr3.d: New. + * ld-elf/textaddr4.d: Likewise. + * ld-elf/textaddr5.d: Likewise. + * ld-elf/textaddr6.d: Likewise. + * ld-elf/textaddr7.d: Likewise. + +2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Andrew Stubbs <ams@codesourcery.com> + + * ld-sh/sh.exp: Handle uClinux like Linux. + * lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*. + * ld-sh/fdpic-funcdesc-shared.d: New file. + * ld-sh/fdpic-funcdesc-shared.s: New file. + * ld-sh/fdpic-funcdesc-static.d: New file. + * ld-sh/fdpic-funcdesc-static.s: New file. + * ld-sh/fdpic-gotfuncdesc-shared.d: New file. + * ld-sh/fdpic-gotfuncdesc-shared.s: New file. + * ld-sh/fdpic-gotfuncdesc-static.d: New file. + * ld-sh/fdpic-gotfuncdesc-static.s: New file. + * ld-sh/fdpic-gotfuncdesci20-shared.d: New file. + * ld-sh/fdpic-gotfuncdesci20-shared.s: New file. + * ld-sh/fdpic-gotfuncdesci20-static.d: New file. + * ld-sh/fdpic-gotfuncdesci20-static.s: New file. + * ld-sh/fdpic-goti20-shared.d: New file. + * ld-sh/fdpic-goti20-shared.s: New file. + * ld-sh/fdpic-goti20-static.d: New file. + * ld-sh/fdpic-goti20-static.s: New file. + * ld-sh/fdpic-gotofffuncdesc-shared.d: New file. + * ld-sh/fdpic-gotofffuncdesc-shared.s: New file. + * ld-sh/fdpic-gotofffuncdesc-static.d: New file. + * ld-sh/fdpic-gotofffuncdesc-static.s: New file. + * ld-sh/fdpic-gotofffuncdesci20-shared.d: New file. + * ld-sh/fdpic-gotofffuncdesci20-shared.s: New file. + * ld-sh/fdpic-gotofffuncdesci20-static.d: New file. + * ld-sh/fdpic-gotofffuncdesci20-static.s: New file. + * ld-sh/fdpic-gotoffi20-shared.d: New file. + * ld-sh/fdpic-gotoffi20-shared.s: New file. + * ld-sh/fdpic-gotoffi20-static.d: New file. + * ld-sh/fdpic-gotoffi20-static.s: New file. + * ld-sh/fdpic-plt-be.d: New file. + * ld-sh/fdpic-plt-le.d: New file. + * ld-sh/fdpic-plt.s: New file. + * ld-sh/fdpic-plti20-be.d: New file. + * ld-sh/fdpic-plti20-le.d: New file. + * ld-sh/fdpic-stack-default.d: New file. + * ld-sh/fdpic-stack-size.d: New file. + * ld-sh/fdpic-stack.s: New file. + +2010-05-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11600 + * ld-elf/exclude3.s: New. + * ld-elf/exclude3a.d: Likewise. + * ld-elf/exclude3b.d: Likewise. + * ld-elf/exclude3c.d: Likewise. + +2010-05-11 Andrew Stubbs <ams@codesourcery.com> + + * ld-arm/attr-merge-2.attr: Add Tag_DIV_use. + * ld-arm/attr-merge-2a.s: Likewise. + * ld-arm/attr-merge-2b.s: Likewise. + * ld-arm/attr-merge-3a.s: Likewise. + * ld-arm/attr-merge-3b.s: Likewise. + * ld-arm/attr-merge-4.attr: Likewise. + * ld-arm/attr-merge-5.attr: Likewise. + * ld-arm/attr-merge-6.attr: Likewise. + * ld-arm/attr-merge-7.attr: Likewise. + * ld-arm/attr-merge-arch-1.attr: Likewise. + * ld-arm/attr-merge-arch-2.attr: Likewise. + * ld-arm/attr-merge-unknown-2.d: Likewise. + * ld-arm/attr-merge-unknown-2r.d: Likewise. + * ld-arm/attr-merge-unknown-3.d: Likewise. + * ld-arm/attr-merge-vfp-1.d: Likewise. + * ld-arm/attr-merge-vfp-1r.d: Likewise. + * ld-arm/attr-merge-vfp-2.d: Likewise. + * ld-arm/attr-merge-vfp-2r.d: Likewise. + * ld-arm/attr-merge-vfp-3.d: Likewise. + * ld-arm/attr-merge-vfp-3r.d: Likewise. + * ld-arm/attr-merge-vfp-4.d: Likewise. + * ld-arm/attr-merge-vfp-4r.d: Likewise. + * ld-arm/attr-merge-vfp-5.d: Likewise. + * ld-arm/attr-merge-vfp-5r.d: Likewise. + * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-00.d: Likewise. + * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-02.d: Likewise. + * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-04.d: Likewise. + * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-20.d: Likewise. + * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-22.d: Likewise. + * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40.d: Likewise. + * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44.d: Likewise. + * ld-arm/attr-merge.attr: Likewise. + +2010-05-11 Jie Zhang <jie@codesourcery.com> + + * ld-arm/attr-merge-vfp-6.d: New test. + * ld-arm/attr-merge-vfp-6r.d: New test. + * ld-arm/attr-merge-vfpv3xd.s: New test. + * ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r. + +2010-05-07 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/cortex-a8-fix-bl-rel-plt.d: New file. + * ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d. + +2010-05-06 Joseph Myers <joseph@codesourcery.com> + + * ld-elf/orphan-region.d: Use ld -N. + +2010-04-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11542 + * ld-elf/discard.ld: New. + * ld-elf/discard1.d: Likewise. + * ld-elf/discard1.s: Likewise. + * ld-elf/discard2.d: Likewise. + * ld-elf/discard2.s: Likewise. + * ld-elf/discard3.d: Likewise. + +2010-04-22 Alan Modra <amodra@gmail.com> + + * ld-elf/extract-symbol-1sec.d: Update lma. + * ld-i386/alloc.d: Expect a warning, not an error. + +2010-04-20 Joseph Myers <joseph@codesourcery.com> + + * ld-tic6x/data-reloc-global-rel.d, + ld-tic6x/data-reloc-global-rel.s, + ld-tic6x/data-reloc-local-r-rel.d, + ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d, + ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s, + ld-tic6x/mvk-reloc-local-2-rel.s, + ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d, + ld-tic6x/pcrel-reloc-global-rel.d, + ld-tic6x/pcrel-reloc-local-r-rel.d, + ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d, + ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s, + ld-tic6x/sbr-reloc-local-2-rel.s, + ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d: + New. + +2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/attr-merge-2.attr: Update for changes in attribute output. + * ld-arm/attr-merge-3.attr: Likewise. + * ld-arm/attr-merge-vfp-1.d: Likewise. + * ld-arm/attr-merge-vfp-1r.d: Likewise. + * ld-arm/attr-merge-vfp-2.d: Likewise. + * ld-arm/attr-merge-vfp-2r.d: Likewise. + * ld-arm/attr-merge-vfp-3.d: Likewise. + * ld-arm/attr-merge-vfp-3r.d: Likewise. + * ld-arm/attr-merge-vfp-4.d: Likeiwse. + * ld-arm/attr-merge-vfp-4r.d: Likewise. + * ld-arm/attr-merge-vfp-5.d: Likewise. + * ld-arm/attr-merge-vfp-5r.d: Likewise. + * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-00.d: Likewise. + * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-02.d: Likewise. + * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-04.d: Likewise. + * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-20.d: Likewise. + * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-22.d: Likewise. + * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40.d: Likewise. + * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44.d: Likewise. + * ld-arm/attr-merge.attr: Likewise. + +2010-04-06 David S. Miller <davem@davemloft.net> + + * ld-elfvers/vers.exp: Pass -Av9a to assembler on sparc-*-* + +2010-04-05 Kai Tietz <kai.tietz@onevision.com> + + * ld-pe/orphan_nu.d: New test for --no-leading-underscore. + * ld-pe/orphana_nu.s: New file. + * ld-pe/pe.exp: Add orphan_nu test. + +2010-04-01 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/apuinfo-nul.rd: New. + * ld-powerpc/apuinfo-nul1.s: New. + * ld-powerpc/powerpc.exp: Add it. + +2010-03-31 Kai TIetz <kai.tietz@onevision.com> + + * ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc + before string compare. + +2010-03-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/script-type.sym: Fix test. + +2010-03-31 Kai TIetz <kai.tietz@onevision.com> + + * ld-pe/basefile1.s: New. + * ld-pe/pe-compile.exp: Add base-file test. + +2010-03-31 Hans-Peter Nilsson <hp@axis.com> + + PR ld/11458 + * ld-cris/pcrelcp-1.d, ld-cris/pcrelcp-1.s: New test. + + * lib/ld-lib.exp (run_dump_test): When checking linker message and + return code, when success with no message is expected, don't + continue if we have an abnormal exit with a message. Check output + of inspection program and fail if it had output or an abnormal + exit code. Include "warning" and "error" among the directives + where multiples are allowed and append to previous values. + + * ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply + "file rootname", not "file tail", before applying runtest_file_p. + +2010-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*. + * ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*. + * ld-tic6x: New directory and testcases. + +2010-03-19 Jie Zhang <jie@codesourcery.com> + + PR ld/11304 + * ld-elf/pr11304.d: New test. + * ld-elf/pr11304a.s: New test. + * ld-elf/pr11304b.s: New test. + * lib/ld-lib.exp (regexp_diff): Add support for #failif. + +2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-elf/orphan-region.d, ld-elf/orphan-region.ld, + ld-elf/orphan-region.s: New files. + +2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/arm-merge-incompatible.d: New test. + * ld-arm/arm-merge-incompatiblea.s: Likewise. + * ld-arm/arm-merge-incompatibleb.s: Likewise. + * ld-arm/arm-elf.exp: Run the new test. + +2010-03-02 Christophe Lyon <christophe.lyon@st.com> + Alan Modra <amodra@gmail.com> + + * ld-arm/arm-elf.exp: Change .text start address for + farcall-thumb-arm tests. Add v4t variant for farcall-mixed-lib + test. + * ld-arm/farcall-mixed-lib-v4t.d: New test. + * ld-arm/farcall-mixed-lib1.s: Don't force armv5t. + * ld-arm/farcall-mixed-lib2.s: Likewise. + * ld-arm/arm-call.d: Update expected results. + * ld-arm/cortex-a8-far.d: Likewise. + * ld-arm/farcall-group-size2.d: Likewise. + * ld-arm/farcall-group.d: Likewise. + * ld-arm/farcall-mix.d: Likewise. + * ld-arm/farcall-mix2.d: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/farcall-thumb-arm.d: Likewise. + * ld-arm/farcall-thumb-arm-blx.d: Likewise. + * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-arm.s: Update test. Add a new call to + potentially generate different types of stubs. + +2010-02-27 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/init-fini-arrays.d: Pass --wide to readelf. + +2010-02-27 Jie Zhang <jie@codesourcery.com> + + * ld-elf/init-fini-arrays.s: New test. + * ld-elf/init-fini-arrays.d: New test. + +2010-02-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/group-relocs.s: Mark code sections as executable. + * ld-arm/arm-elf.exp (armelftests): Only dump executable sections in + group-relocs test. + * ld-arm/reloc-boundaries.d: Fix test to work on Linux targets. + +2010-02-23 Nick Clifton <nickc@redhat.com> + + * ld-elf/orphan4.d: Allow for other sections to be present in the + output. + +2010-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic + ifunc-using executable. + +2010-02-19 Alan Modra <amodra@gmail.com> + + * ld-elf/group.ld: Discard .dropme sections. + * ld-elf/group10.d, * ld-elf/group10.s: New test. + +2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/attr-merge-6.attr: Add new test. Missed off last commit. + +2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/attr-merge-3.attr: Fix test for new attribute values. + * ld-arm/attr-merge-3b.s: Likewise. + * ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised + attribute ID. + * ld-arm/attr-merge-unknown-1.s: Likewise. + * ld-arm/attr-merge-6.attr: New test. + * ld-arm/attr-merge-6a.s: Likewise. + * ld-arm/attr-merge-6b.s: Likewise. + * ld-arm/attr-merge-7.attr: Likewise. + * ld-arm/attr-merge-7a.s: Likewise. + * ld-arm/attr-merge-7b.s: Likewise. + * ld-arm/arm-elf.exp: Run the new tests. + +2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/jump-reloc-veneers-long.d: Correct testcase for + arm-none-eabi target. + * ld-arm/jump-reloc-veneers-short1.d: Likewise + * ld-arm/jump-reloc-veneers-short2.d: Likewise + +2010-02-12 Daniel Gutson <dgutson@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): New test case added. + * ld-arm/data-only-map.s: New file. + * ld-arm/data-only-map.d: New file. + * ld-arm/data-only-map.ld: New file. + +2010-02-11 David S. Miller <davem@davemloft.net> + + * ld-sparc/gotop32.s: Add local symbol case. + * ld-sparc/gotop64.s: Likewise. + * ld-sparc/gotop32.rd: Adjust expected results. + * ld-sparc/gotop32.td: Likewise. + * ld-sparc/gotop64.dd: Likewise. + * ld-sparc/gotop64.rd: Likewise. + * ld-sparc/gotop64.td: Likewise. + +2010-02-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*. + * ld-shared/shared.exp: Likewise. + +2010-02-08 David S. Miller <davem@davemloft.net> + + * ld-ifunc/ifunc.exp: Run for sparc. + +2010-02-08 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/apuinfo-nul.s: New. + * ld-powerpc/apuinfo.rd: Add it. + * ld-powerpc/powerpc.exp: Likewise. + +2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/jump-reloc-veneers-long.d: New test. + * ld-arm/jump-reloc-veneers-short1.d: Likewise. + * ld-arm/jump-reloc-veneers-short2.d: Likewise. + * ld-arm/jump-reloc-veneers.s: Likewise. + * ld-arm/arm-elf.exp (armelftests): Run them. + +2010-01-28 Nick Clifton <nickc@redhat.com> + + PR 11225 + * ld-sh/refdbg-0-dso.d: Dump all sections. + +2010-01-26 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11218 + * ld-gc/dummy.s: New. + * ld-gc/pr11218-1.c: Likewise. + * ld-gc/pr11218-2.c: Likewise. + * ld-gc/pr11218.d: Likewise. + +2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od, + ld-powerpc/aix-ref-1.s: New tests. + * ld-powerpc/aix52.exp: Run them. + +2010-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/orphan4.d: Support 64bit targets. + +2010-01-13 DJ Delorie <dj@redhat.com> + + * ld-elf/orphan4.d: New. + * ld-elf/orphan4.ld: New. + * ld-elf/orphan4.s: New. + +2010-01-13 Chao-ying Fu <fu@mips.com> + + * ld-mips-elf/jr-to-b-1.d, ld-mips-elf/jr-to-b-2.d: New tests. + * ld-mips-elf/jr-to-b-1.s, ld-mips-elf/jr-to-b-2.s: Source. + * ld-mips-elf/mips-elf.exp: Run new tests. + +2010-01-13 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): Assemble Cortex-A8 tests with + -mcpu=cortex-a8. + +2010-01-13 Nick Clifton <nickc@redhat.com> + + * ld-scrips/sort.exp: Skip these tests when the target is the + h8300. + +2010-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11146 + * ld-elf/dynsym1.d: New. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11138 + * ld-elf/pr11138-1.c: New. + * ld-elf/pr11138-1.map: Likewise. + * ld-elf/pr11138-2.c: Likewise. + * ld-elf/pr11138-2.map: Likewise. + * ld-elf/pr11138.out: Likewise. + + * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and + libpr11138-2.o. + (run_tests): Add 2 tests for PR ld/11138. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11133 + * ld-gc/gc.exp: Run start. + + * ld-gc/start.d: New. + * ld-gc/start.s: Likewise. + +2010-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11143 + * ld-gc/gc.exp: Run abi-note. + + * ld-gc/abi-note.d: New. + * ld-gc/abi-note.s: Likewise. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 34a8d30..db99369 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,1008 +1,4 @@ -2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR gas/11395 - * hppa-dis.c (compare_cond_64_names): Change never condition to ",*". - (add_cond_64_names): Likewise. - (logical_cond_64_names): Likewise. - (unit_cond_64_names): Likewise. - -2010-12-30 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (print_insn): Support bfd_mach_x64_32 and - bfd_mach_x64_32_intel_syntax. - -2010-12-18 Mingjie Xing <mingjie.xing@gmail.com> - - * mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define. - (mips_builtin_opcodes): Add loongson3a specific instructions. - * mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z. - -2010-12-11 Mingming Sun <mingm.sun@gmail.com> - - * mips-opc.c: (mips_builtin_opcodes): Add loongson3a mul/div and - fixed point instructions. - -2010-12-09 Mike Frysinger <vapier@gentoo.org> - - * .gitignore: New file. - -2010-11-25 Alan Modra <amodra@gmail.com> - - * po/es.po: Update. - * po/fr.po: Update. - * po/nl.po: Update. - * po/zh_CN.po: Update. - -2010-11-11 Mingming Sun <mingm.sun@gmail.com> - - * mips-dis.c (mips_arch_choices): Add loongson3a. - * mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A. - (mips_builtin_opcodes): Modify some instructions' membership from - IL2F to IL2F|IL3A. - -2010-11-10 Nick Clifton <nickc@redhat.com> - - * po/fi.po: Updated Finnish translation. - -2010-11-05 Tristan Gingold <gingold@adacore.com> - - * po/opcodes.pot: Regenerate - -2010-10-28 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-opc.c (mips_builtin_opcodes): Fix formatting of "ld". - -2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-opc.txt: cfxr, cfdr and cfer z900 -> g5. - -2010-10-25 Chao-ying Fu <fu@mips.com> - - * mips-opc.c (madd, maddu, msub, msubu, mult, multu): Change D33 to D32. - -2010-10-25 Nathan Sidwell <nathan@codesourcery.com> - - * tic6x-dis.c: Add attribution. - -2010-10-22 Alan Modra <amodra@gmail.com> - - * Makefile.am (CLEANFILES): Add stamp-lm32. Sort. - * Makefile.in: Regenerate. - -2010-10-18 Maciej W. Rozycki <macro@linux-mips.org> - - * mips-opc.c (mips_builtin_opcodes): Move M_LD_OB and M_SD_OB - macros before their corresponding MIPS III hardware instructions. - -2010-10-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (cpu_flag_init): Add CpuNop to CPU_GENERIC64_FLAGS. - - * i386-init.h: Regenerated. - -2010-10-15 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_dsp32alu_0): Call imm5d() for BYTEOP2M. - -2010-10-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Remove CheckRegSize from movq. - * i386-tbl.h: Regenerated. - -2010-10-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Remove CheckRegSize from instructions with - 0, 1 or fixed operands. - * i386-tbl.h: Regenerated. - -2010-10-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Add CheckRegSize. - - * i386-opc.h (CheckRegSize): New. - (i386_opcode_modifier): Add checkregsize. - - * i386-opc.tbl: Add CheckRegSize to instructions which - require register size check. - * i386-tbl.h: Regenerated. - -2010-10-12 Andreas Schwab <schwab@linux-m68k.org> - - * m68k-opc.c (m68k_opcodes): Move fnop before fbf. - -2010-10-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-opc.c: Make the instruction masks for the load/store on - condition instructions to cover the condition code mask as well. - * s390-opc.txt: lgoc -> locg and stgoc -> stocg. - -2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com> - Jiang Jilin <freephp@gmail.com> - - * Makefile.am (libopcodes_a_SOURCES): New as empty. - * Makefile.in: Regenerate. - -2010-10-09 Matt Rice <ratmice@gmail.com> - - * fr30-desc.h: Regenerate. - * frv-desc.h: Regenerate. - * ip2k-desc.h: Regenerate. - * iq2000-desc.h: Regenerate. - * lm32-desc.h: Regenerate. - * m32c-desc.h: Regenerate. - * m32r-desc.h: Regenerate. - * mep-desc.h: Regenerate. - * mep-opc.c: Regenerate. - * mt-desc.h: Regenerate. - * openrisc-desc.h: Regenerate. - * xc16x-desc.h: Regenerate. - * xstormy16-desc.h: Regenerate. - -2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> - - Fix build with -DDEBUG=7 - * frv-opc.c: Regenerate. - * or32-dis.c (DEBUG): Don't redefine. - (find_bytes_big, or32_extract, or32_opcode_match, or32_print_register): - Adapt DEBUG code to some type changes throughout. - * or32-opc.c (or32_extract): Likewise. - -2010-10-07 Bernd Schmidt <bernds@codesourcery.com> - - * tic6x-dis.c (print_insn_tic6x): Correct decoding of fstg field - in SPKERNEL instructions. - -2010-10-02 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12076 - * i386-dis.c (RMAL): Remove duplicate. - -2010-09-30 Pierre Muller <muller@ics.u-strasbg.fr> - - * s390-mkopc.c (main): Exit with error 1 if sscanf fails - to parse all 6 parameters. - -2010-09-28 Pierre Muller <muller@ics.u-strasbg.fr> - - * s390-mkopc.c (main): Change description array size to 80. - Add maximum length of 79 to description parsing. - -2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196. - (main): Recognize the new CPU string. - * s390-opc.c: Add new instruction formats and masks. - * s390-opc.txt: Add new z196 instructions. - -2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-dis.c (print_insn_s390): Pick instruction with most - specific mask. - * s390-opc.c: Add unused bits to the insn mask. - * s390-opc.txt: Reorder some instructions to prefer more recent - versions. - -2010-09-27 Tejas Belagod <tejas.belagod@arm.com> - - * arm_dis.c (print_insn_coprocessor): Apply off-by-alignment - correction to unaligned PCs while printing comment. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (arm_opcodes): Add Virtualiztion Extensions support. - (thumb32_opcodes): Likewise. - (banked_regname): New function. - (print_insn_arm): Add Virtualization Extensions support. - (print_insn_thumb32): Likewise. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (arm_opcodes): Support disassembly of UDIV and SDIV in - ARM state. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (arm_opcodes): SMC implies Security Extensions. - (thumb32_opcodes): Likewise. - -2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (arm_opcodes): Add support for pldw. - (thumb32_opcodes): Likewise. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (fmtconst): Cast address to 32bits. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_REGMV_0): Rewrite valid combo checks. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (decode_ProgCtrl_0): Check for parallel insns. - Reject P6/P7 to TESTSET. - (decode_PushPopReg_0): Check for parallel insns. Reject pushing - SP onto the stack. - (decode_PushPopMultiple_0): Check for parallel insns. Make sure - P/D fields match all the time. - (decode_CCflag_0): Check for parallel insns. Verify x/y fields - are 0 for accumulator compares. - (decode_CC2stat_0): Check for parallel insns. Reject CC<op>CC. - (decode_CaCTRL_0, decode_ccMV_0, decode_CC2dreg_0, decode_BRCC_0, - decode_UJUMP_0, decode_LOGI2op_0, decode_COMPI2opD_0, - decode_COMPI2opP_0, decode_LoopSetup_0, decode_LDIMMhalf_0, - decode_CALLa_0, decode_linkage_0, decode_pseudoDEBUG_0, - decode_pseudoOChar_0, decode_pseudodbg_assert_0): Check for parallel - insns. - (decode_dagMODim_0): Verify br field for IREG ops. - (decode_LDST_0): Reject preg load into same preg. - (_print_insn_bfin): Handle returns for ILLEGAL decodes. - (print_insn_bfin): Likewise. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_PushPopMultiple_0): Return 0 when pr > 5. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (decode_dsp32shiftimm_0): Add missing "S" flag. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_CC2stat_0): Decode all ASTAT bits. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (IS_DREG, IS_PREG, IS_GENREG, IS_DAGREG): Reject - register values greater than 8. - (IS_RESERVEDREG, allreg, mostreg): New helpers. - (decode_ProgCtrl_0): Call IS_DREG/IS_PREG as appropriate. - (decode_PushPopReg_0): Call mostreg/allreg as appropriate. - (decode_CC2dreg_0): Check valid CC register number. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (decode_pseudoDEBUG_0): Add space after DBG. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (machine_registers): Add AC0_COPY, V_COPY, and RND_MOD. - (reg_names): Likewise. - (decode_statbits): Likewise; while reformatting to make manageable. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_pseudoDEBUG_0): Add space after OUTC. - (decode_pseudoOChar_0): New function. - (_print_insn_bfin): Remove #if 0 and call new decode_pseudoOChar_0. - -2010-09-22 Robin Getz <robin.getz@analog.com> - - * bfin-dis.c (decode_dsp32shift_0): Decode sub opcodes 2/2 as - LSHIFT instead of SHIFT. - -2010-09-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (constant_formats): Constify the whole structure. - (fmtconst): Add const to return value. - (reg_names): Mark const. - (decode_multfunc): Mark s0/s1 as const. - (decode_macfunc): Mark a/sop as const. - -2010-09-17 Tejas Belagod <tejas.belagod@arm.com> - - * arm_dis.c (coprocessor_opcodes): Add MRC entry for APSR_nzcv. - -2010-09-14 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-opc.c (mips_builtin_opcodes): Add "sync_acquire", - "sync_mb", "sync_release", "sync_rmb" and "sync_wmb". - -2010-09-10 Pierre Muller <muller@ics.u-strasbg.fr> - - * src/opcodes/dlx-dis.c (print_insn_dlx): Use dlx_insn type for - dlx_insn_type array. - -2010-08-31 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11960 - * i386-dis.c (sIv): New. - (dis386): Replace Iq with sIv on "pushT". - (reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT. - (x86_64_table): Replace {T|}/{P|} with P. - (putop): Add 'w' to 'T'/'P' if needed for Intel syntax. - (OP_sI): Update v_mode. Remove w_mode. - -2010-08-27 Nathan Froyd <froydnj@codesourcery.com> - - * ppc-opc.c (powerpc_opcodes) [lswx,lswi,stswx,stswi]: Deprecate - on E500 and E500MC. - -2010-08-17 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (reg_table): Replace Eb with Mb on prefetch and - prefetchw. - -2010-08-06 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Define CpuNop extension flag, add - to processor flags for PENTIUMPRO processors and later. - * i386-opc.h (enum): Add CpuNop. - (i386_cpu_flags): Add cpunop bit. - * i386-opc.tbl: Change nop cpu_flags. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2010-08-06 Quentin Neill <quentin.neill@amd.com> - - * i386-opc.h (enum): Fix typos in comments. - -2010-08-06 Alan Modra <amodra@gmail.com> - - * disassemble.c: Formatting. - (disassemble_init_for_target <ARCH_m32c>): Comment on endian. - -2010-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Add Cpu186 to ud1/ud2/ud2a/ud2b. - * i386-tbl.h: Regenerated. - -2010-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (dis386_twobyte): Replace ud2a/ud2b with ud2/ud1. - - * i386-opc.tbl: Add ud1. Remove Cpu686 from ud2/ud2a/ud2b. - * i386-tbl.h: Regenerated. - -2010-07-29 DJ Delorie <dj@redhat.com> - - * rx-decode.opc (SRR): New. - (rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov - r0,r0) and NOP3 (max r0,r0) special cases. - * rx-decode.c: Regenerate. - -2010-07-28 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c: Add 0F to VEX opcode enums. - -2010-07-27 DJ Delorie <dj@redhat.com> - - * rx-decode.opc (store_flags): Remove, replace with F_* macros. - (rx_decode_opcode): Likewise. - * rx-decode.c: Regenerate. - -2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> - Ina Pandit <ina.pandit@kpitcummins.com> - - * v850-dis.c (v850_sreg_names): Updated structure for system - registers. - (float_cc_names): new structure for condition codes. - (print_value): Update the function that prints value. - (get_operand_value): New function to get the operand value. - (disassemble): Updated to handle the disassembly of instructions. - (print_insn_v850): Updated function to print instruction for different - families. - * opcodes/v850-opc.c (v850_msg_is_out_of_range, insert_i5div1, - extract_i5div1, insert_i5div2, extract_i5div2, insert_i5div3, - extract_i5div3, insert_d5_4, extract_d5_4, extract_d8_6, - insert_d8_7, extract_d8_7, insert_v8, extract_v8, insert_u16_loop, - extract_u16_loop, insert_d16_15, extract_d16_15, insert_d16_16, - extract_d16_16, nsert_d17_16, extract_d17_16, insert_d22, - extract_d22, insert_d23, extract_d23, insert_i9, extract_i9, - insert_u9, extract_u9, extract_spe, insert_r4, extract_r4): New. - (insert_d8_7, insert_d5_4, insert_i5div): Remove. - (v850_operands): Update with the relocation name. Also update - the instructions with specific set of processors. - -2010-07-08 Tejas Belagod <tejas.belagod@arm.com> - - * arm-dis.c (print_insn_arm): Add cases for printing more - symbolic operands. - (print_insn_thumb32): Likewise. - -2010-07-06 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-dis.c (print_insn_mips): Correct branch instruction type - determination. - -2010-07-06 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-dis.c (print_mips16_insn_arg): Remove branch instruction - type and delay slot determination. - (print_insn_mips16): Extend branch instruction type and delay - slot determination to cover all instructions. - * mips16-opc.c (BR): Remove macro. - (UBR, CBR): New macros. - (mips16_opcodes): Update branch annotation for "b", "beqz", - "bnez", "bteqz" and "btnez". Add branch annotation for "jalrc" - and "jrc". - -2010-07-05 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2010) - * i386-dis.c (mod_table): Replace rdrnd with rdrand. - * i386-opc.tbl: Likewise. - * i386-tbl.h: Regenerated. - -2010-07-05 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h (CpuFSGSBase): Fix a typo in comments. - -2010-07-03 Andreas Schwab <schwab@linux-m68k.org> - - * ppc-dis.c (powerpc_init_dialect): Cast PPC_OPCODE_xxx to - ppc_cpu_t before inverting. - (ppc_parse_cpu): Likewise. - (print_insn_powerpc): Likewise. - -2010-07-03 Alan Modra <amodra@gmail.com> - - * ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags. - * ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete. - (PPC64, MFDEC2): Update. - (NON32, NO371): Define. - (powerpc_opcode): Update to not use old opcode flags, and avoid - -m601 duplicates. - -2010-07-03 DJ Delorie <dj@delorie.com> - - * m32c-ibld.c: Regenerate. - -2010-07-03 Alan Modra <amodra@gmail.com> - - * ppc-opc.c (PWR2COM): Define. - (PPCPWR2): Add PPC_OPCODE_COMMON. - (powerpc_opcodes): Add "subc", "subco", "subco.", "fcir", "fcir.", - "fcirz", "fcirz." to -mcom opcodes. Remove "mfsri", "dclst", - "rac" from -mcom. - -2010-07-01 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2010) - * i386-dis.c (PREFIX_0FAE_REG_0): New. - (PREFIX_0FAE_REG_1): Likewise. - (PREFIX_0FAE_REG_2): Likewise. - (PREFIX_0FAE_REG_3): Likewise. - (PREFIX_VEX_3813): Likewise. - (PREFIX_VEX_3A1D): Likewise. - (prefix_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, - PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3, PREFIX_VEX_3813 and - PREFIX_VEX_3A1D. - (vex_table): Add PREFIX_VEX_3813 and PREFIX_VEX_3A1D. - (mod_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, - PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3 xsaveopt and rdrnd. - - * i386-gen.c (cpu_flag_init): Add CPU_XSAVEOPT_FLAGS, - CPU_FSGSBASE_FLAGS, CPU_RDRND_FLAGS and CPU_F16C_FLAGS. - (cpu_flags): Add CpuXsaveopt, CpuFSGSBase, CpuRdRnd and CpuF16C. - - * i386-opc.h (CpuXsaveopt): New. - (CpuFSGSBase): Likewise. - (CpuRdRnd): Likewise. - (CpuF16C): Likewise. - (i386_cpu_flags): Add cpuxsaveopt, cpufsgsbase, cpurdrnd and - cpuf16c. - - * i386-opc.tbl: Add xsaveopt, rdfsbase, rdgsbase, rdrnd, - wrfsbase, wrgsbase, vcvtph2ps and vcvtps2ph. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2010-07-01 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - - * ppc-opc.c (powerpc_opcodes): Revert deprecation of mfocrf, mtcrf - and mtocrf on EFS. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * maxq-dis.c: Delete file. - * Makefile.am: Remove references to maxq. - * configure.in: Likewise. - * disassemble.c: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2010-06-29 Alan Modra <amodra@gmail.com> - - * mep-dis.c: Regenerate. - -2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-disc.c (parse_insn_neon): Fix Neon alignment syntax. - -2010-06-27 Alan Modra <amodra@gmail.com> - - * arc-dis.c (arc_sprintf): Delete set but unused variables. - (decodeInstr): Likewise. - * dlx-dis.c (print_insn_dlx): Likewise. - * h8300-dis.c (bfd_h8_disassemble_init): Likewise. - * maxq-dis.c (check_move, print_insn): Likewise. - * mep-dis.c (mep_examine_ivc2_insns): Likewise. - * msp430-dis.c (msp430_branchinstr): Likewise. - * bfin-dis.c (_print_insn_bfin): Avoid set but unused warning. - * cgen-asm.in (parse_insn_normal, _cgen_assemble_insn): Likewise. - * sparc-dis.c (print_insn_sparc): Likewise. - * fr30-asm.c: Regenerate. - * frv-asm.c: Regenerate. - * ip2k-asm.c: Regenerate. - * iq2000-asm.c: Regenerate. - * lm32-asm.c: Regenerate. - * m32c-asm.c: Regenerate. - * m32r-asm.c: Regenerate. - * mep-asm.c: Regenerate. - * mt-asm.c: Regenerate. - * openrisc-asm.c: Regenerate. - * xc16x-asm.c: Regenerate. - * xstormy16-asm.c: Regenerate. - -2010-06-16 Vincent Rivière <vincent.riviere@freesbee.fr> - - PR gas/11673 - * m68k-opc.c (m68k_opcodes): Remove move.l for isab and later. - -2010-06-16 Vincent Rivière <vincent.riviere@freesbee.fr> - - PR binutils/11676 - * m68k-dis.c (print_insn_arg): Prefix float constants with #0e. - -2010-06-14 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - - * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_E500MC from e500 and - e500x2. Add PPC_OPCODE_E500 to e500 and e500x2 - * ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which - touch floating point regs and are enabled by COM, PPC or PPCCOM. - Treat sync as msync on e500. Treat eieio as mbar 1 on e500. - Treat lwsync as msync on e500. - -2010-06-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (thumb-opcodes): Add disassembly for movs. - -2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (print_insn_neon): Ensure disassembly of Neon - constants is the same on 32-bit and 64-bit hosts. - -2010-05-27 Jason Duerstock <jason.duerstock+binutils@gmail.com> - - * m68k-dis.c (print_insn_m68k): Emit undefined instructions as - .short directives so that they can be reassembled. - -2010-05-26 Catherine Moore <clm@codesourcery.com> - David Ung <davidu@mips.com> - - * mips-opc.c: Change membership to I1 for instructions ssnop and - ehb. - -2010-05-26 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (sib): New. - (get_sib): Likewise. - (print_insn): Call get_sib. - OP_E_memory): Use sib. - -2010-05-26 Catherine Moore <clm@codesoourcery.com> - - * mips-dis.c (mips_arch): Remove INSN_MIPS16. - * mips-opc.c (I16): Remove. - (mips_builtin_op): Reclassify jalx. - -2010-05-19 Alan Modra <amodra@gmail.com> - - * ppc-opc.c (powerpc_opcodes): Enable divdeu, devweu, divde, - divwe, divdeuo, divweuo, divdeo, divweo for A2. Add icswepx. - -2010-05-13 Alan Modra <amodra@gmail.com> - - * ppc-opc.c (powerpc_opcodes): Correct wclr encoding. - -2010-05-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W - format. - (print_insn_thumb16): Add support for new %W format. - -2010-05-07 Tristan Gingold <gingold@adacore.com> - - * Makefile.in: Regenerate with automake 1.11.1. - * aclocal.m4: Ditto. - -2010-05-05 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2010-04-22 Nick Clifton <nickc@redhat.com> - - * po/opcodes.pot: Updated by the Translation project. - * po/vi.po: Updated Vietnamese translation. - -2010-04-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (get_valid_dis386): Return bad_opcode on unknown - bits in opcode. - -2010-04-09 Nick Clifton <nickc@redhat.com> - - * i386-dis.c (print_insn): Remove unused variable op. - (OP_sI): Remove unused variable mask. - -2010-04-07 Alan Modra <amodra@gmail.com> - - * configure: Regenerate. - -2010-04-06 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (RBOPT): New define. - ("dccci"): Enable for PPCA2. Make operands optional. - ("iccci"): Likewise. Do not deprecate for PPC476. - -2010-04-02 Masaki Muranaka <monaka@monami-software.com> - - * cr16-opc.c (cr16_instruction): Fix typo in comment. - -2010-03-25 Joseph Myers <joseph@codesourcery.com> - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c. - * Makefile.in: Regenerate. - * configure.in (bfd_tic6x_arch): New. - * configure: Regenerate. - * disassemble.c (ARCH_tic6x): Define if ARCH_all. - (disassembler): Handle TI C6X. - * tic6x-dis.c: New. - -2010-03-24 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_regs_hi): Change REG_LH2 typo to REG_MH2. - -2010-03-23 Joseph Myers <joseph@codesourcery.com> - - * dis-buf.c (buffer_read_memory): Give error for reading just - before the start of memory. - -2010-03-22 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * i386-dis.c (OP_LWP_I): Removed. - (reg_table): Do not use OP_LWP_I, use Iq. - (OP_LWPCB_E): Remove use of names16. - (OP_LWP_E): Same. - * i386-opc.tbl: Removed 16bit LWP insns. 32bit LWP insns - should not set the Vex.length bit. - * i386-tbl.h: Regenerated. - -2010-02-25 Edmar Wienskoski <edmar@freescale.com> - - * ppc-dis.c (ppc_opts): Add PPC_OPCODE_E500MC for "e500mc64". - -2010-02-24 Nick Clifton <nickc@redhat.com> - - PR binutils/6773 - * arm-dis.c (arm_opcodes): Replace <prefix>addsubx with - <prefix>asx. Replace <prefix>subaddx with <prefix>sax. - (thumb32_opcodes): Likewise. - -2010-02-15 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2010-02-12 Doug Evans <dje@sebabeach.org> - - * lm32-opinst.c: Regenerate. - -2010-02-11 Doug Evans <dje@sebabeach.org> - - * cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL. - (print_address): Delete CGEN_PRINT_ADDRESS. - * fr30-dis.c, * frv-dis.c, * ip2k-dis.c, * iq2000-dis.c, - * lm32-dis.c, * m32c-dis.c, * m32r-desc.c, * m32r-desc.h, - * m32r-dis.c, * mep-dis.c, * mt-dis.c, * openrisc-dis.c, - * xc16x-dis.c, * xstormy16-dis.c: Regenerate. - - * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, - * frv-desc.c, * frv-desc.h, * frv-opc.c, - * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, - * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, - * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c, - * m32c-desc.c, * m32c-desc.h, * m32c-opc.c, - * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c, - * mep-desc.c, * mep-desc.h, * mep-opc.c, - * mt-desc.c, * mt-desc.h, * mt-opc.c, - * openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c, - * xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c, - * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate. - -2010-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c: Update copyright. - * i386-gen.c: Likewise. - * i386-opc.h: Likewise. - * i386-opc.tbl: Likewise. - -2010-02-10 Quentin Neill <quentin.neill@amd.com> - Sebastian Pop <sebastian.pop@amd.com> - - * i386-dis.c (OP_EX_VexImmW): Reintroduced - function to handle 5th imm8 operand. - (PREFIX_VEX_3A48): Added. - (PREFIX_VEX_3A49): Added. - (VEX_W_3A48_P_2): Added. - (VEX_W_3A49_P_2): Added. - (prefix table): Added entries for PREFIX_VEX_3A48 - and PREFIX_VEX_3A49. - (vex table): Added entries for VEX_W_3A48_P_2 and - and VEX_W_3A49_P_2. - * i386-gen.c (operand_type_init): Added OPERAND_TYPE_VEC_IMM4 - for Vec_Imm4 operands. - * i386-opc.h (enum): Added Vec_Imm4. - (i386_operand_type): Added vec_imm4. - * i386-opc.tbl: Add entries for vpermilp[ds]. - * i386-init.h: Regenerated. - * i386-tbl.h: Regenerated. - -2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ppc-dis.c (ppc_opts): Add "pwr4", "pwr5", "pwr5x", "pwr6" - and "pwr7". Move "a2" into alphabetical order. - -2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> - - * ppc-dis.c (ppc_opts): Add titan entry. - * ppc-opc.c (TITAN, MULHW): Define. - (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). - -2010-02-03 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Rename CPU_AMDFAM15_FLAGS - to CPU_BDVER1_FLAGS - * i386-init.h: Regenerated. - -2010-02-03 Anthony Green <green@moxielogic.com> - - * moxie-opc.c (moxie_form1_opc_info): Move "nop" from 0x00 to - 0x0f, and make 0x00 an illegal instruction. - -2010-01-29 Daniel Jacobowitz <dan@codesourcery.com> - - * opcodes/arm-dis.c (struct arm_private_data): New. - (print_insn_coprocessor, print_insn_arm): Update to use struct - arm_private_data. - (is_mapping_symbol, get_map_sym_type): New functions. - (get_sym_code_type): Check the symbol's section. Do not check - mapping symbols. - (print_insn): Default to disassembling ARM mode code. Check - for mapping symbols separately from other symbols. Use - struct arm_private_data. - -2010-01-28 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (EXVexWdqScalar): New. - (vex_scalar_w_dq_mode): Likewise. - (prefix_table): Update entries for PREFIX_VEX_3899, - PREFIX_VEX_389B, PREFIX_VEX_389D, PREFIX_VEX_389F, - PREFIX_VEX_38A9, PREFIX_VEX_38AB, PREFIX_VEX_38AD, - PREFIX_VEX_38AF, PREFIX_VEX_38B9, PREFIX_VEX_38BB, - PREFIX_VEX_38BD and PREFIX_VEX_38BF. - (intel_operand_size): Handle vex_scalar_w_dq_mode. - (OP_EX): Likewise. - -2010-01-27 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (XMScalar): New. - (EXdScalar): Likewise. - (EXqScalar): Likewise. - (EXqScalarS): Likewise. - (VexScalar): Likewise. - (EXdVexScalarS): Likewise. - (EXqVexScalarS): Likewise. - (XMVexScalar): Likewise. - (scalar_mode): Likewise. - (d_scalar_mode): Likewise. - (d_scalar_swap_mode): Likewise. - (q_scalar_mode): Likewise. - (q_scalar_swap_mode): Likewise. - (vex_scalar_mode): Likewise. - (vex_len_table): Duplcate entries for VEX_LEN_10_P_1, - VEX_LEN_10_P_3, VEX_LEN_11_P_1, VEX_LEN_11_P_3, VEX_LEN_2A_P_1, - VEX_LEN_2A_P_3, VEX_LEN_2C_P_3, VEX_LEN_2D_P_1, VEX_LEN_2E_P_0, - VEX_LEN_2E_P_2, VEX_LEN_2F_P_2, VEX_LEN_51_P_1, VEX_LEN_51_P_3, - VEX_LEN_52_P_1, VEX_LEN_53_P_1, VEX_LEN_58_P_1, VEX_LEN_58_P_3, - VEX_LEN_59_P_1, VEX_LEN_5A_P_1, VEX_LEN_5A_P_3, VEX_LEN_5C_P_1, - VEX_LEN_5C_P_3, VEX_LEN_5D_P_1, VEX_LEN_5D_P_3, VEX_LEN_5E_P_1, - VEX_LEN_5E_P_3, VEX_LEN_5F_P_1, VEX_LEN_5F_P_3, VEX_LEN_6E_P_2, - VEX_LEN_7E_P_1, VEX_LEN_7E_P_2, VEX_LEN_D6_P_2, VEX_LEN_C2_P_1, - VEX_LEN_C2_P_3, VEX_LEN_3A0A_P_2 and VEX_LEN_3A0B_P_2. - (vex_w_table): Update entries for VEX_W_10_P_1, VEX_W_10_P_3, - VEX_W_11_P_1, VEX_W_11_P_3, VEX_W_2E_P_0, VEX_W_2E_P_2, - VEX_W_2F_P_0, VEX_W_2F_P_2, VEX_W_51_P_1, VEX_W_51_P_3, - VEX_W_52_P_1, VEX_W_53_P_1, VEX_W_58_P_1, VEX_W_58_P_3, - VEX_W_59_P_1, VEX_W_59_P_3, VEX_W_5A_P_1, VEX_W_5A_P_3, - VEX_W_5C_P_1, VEX_W_5C_P_3, VEX_W_5D_P_1, VEX_W_5D_P_3, - VEX_W_5E_P_1, VEX_W_5E_P_3, VEX_W_5F_P_1, VEX_W_5F_P_3, - VEX_W_7E_P_1, VEX_W_D6_P_2 VEX_W_C2_P_1, VEX_W_C2_P_3, - VEX_W_3A0A_P_2 and VEX_W_3A0B_P_2. - (intel_operand_size): Handle d_scalar_mode, d_scalar_swap_mode, - q_scalar_mode, q_scalar_swap_mode. - (OP_XMM): Handle scalar_mode. - (OP_EX): Handle d_scalar_mode, d_scalar_swap_mode, q_scalar_mode - and q_scalar_swap_mode. - (OP_VEX): Handle vex_scalar_mode. - -2010-01-24 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }. - -2010-01-24 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_len_table): Remove trailing { Bad_Opcode }. - -2010-01-24 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }. - -2010-01-24 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (Bad_Opcode): New. - (bad_opcode): Likewise. - (dis386): Replace { "(bad)", { XX } } with { Bad_Opcode }. - (dis386_twobyte): Likewise. - (reg_table): Likewise. - (prefix_table): Likewise. - (x86_64_table): Likewise. - (vex_len_table): Likewise. - (vex_w_table): Likewise. - (mod_table): Likewise. - (rm_table): Likewise. - (float_reg): Likewise. - (reg_table): Remove trailing "(bad)" entries. - (prefix_table): Likewise. - (x86_64_table): Likewise. - (vex_len_table): Likewise. - (vex_w_table): Likewise. - (mod_table): Likewise. - (rm_table): Likewise. - (get_valid_dis386): Handle bytemode 0. - -2010-01-23 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h (VEXScalar): New. - - * i386-opc.tbl: Replace "Vex" with "Vex=3" on AVX scalar - instructions. - * i386-tbl.h: Regenerated. - -2010-01-21 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (mod_table): Use FXSAVE on xsave and xrstor. - - * i386-opc.tbl: Add xsave64 and xrstor64. - * i386-tbl.h: Regenerated. - -2010-01-20 Nick Clifton <nickc@redhat.com> - - PR 11170 - * arm-dis.c (print_arm_address): Do not ignore negative bit in PC - based post-indexed addressing. - -2010-01-15 Sebastian Pop <sebastian.pop@amd.com> - - * i386-opc.tbl: Support all the possible aliases for VPCOM* insns. - * i386-tbl.h: Regenerated. - -2010-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h (VexVVVV): Replace VEX.DNS with VEX.NDS in - comments. - -2010-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (names_mm): New. - (intel_names_mm): Likewise. - (att_names_mm): Likewise. - (names_xmm): Likewise. - (intel_names_xmm): Likewise. - (att_names_xmm): Likewise. - (names_ymm): Likewise. - (intel_names_ymm): Likewise. - (att_names_ymm): Likewise. - (print_insn): Set names_mm, names_xmm and names_ymm. - (OP_MMX): Use names_mm, names_xmm and names_ymm. - (OP_XMM): Likewise. - (OP_EM): Likewise. - (OP_EMC): Likewise. - (OP_MXC): Likewise. - (OP_EX): Likewise. - (XMM_Fixup): Likewise. - (OP_VEX): Likewise. - (OP_EX_VexReg): Likewise. - (OP_Vex_2src): Likewise. - (OP_Vex_2src_1): Likewise. - (OP_Vex_2src_2): Likewise. - (OP_REG_VexI4): Likewise. - -2010-01-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (print_insn): Update comments. - -2010-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (rex_original): Removed. - (ckprefix): Remove rex_original. - (print_insn): Update comments. - -2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.in: Regenerate. - * configure: Regenerate. - -2010-01-07 Doug Evans <dje@sebabeach.org> - - * cgen-ibld.in (insert_normal, extract_normal): Minor cleanup. - * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, - * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, - * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, - * xstormy16-ibld.c: Regenerate. - -2010-01-06 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Add new CPU_AMDFAM15_FLAGS. - * i386-init.h: Regenerated. - -2010-01-06 Daniel Gutson <dgutson@codesourcery.com> - - * arm-dis.c (print_insn): Fixed search for next symbol and data - dumping condition, and the initial mapping symbol state. - -2010-01-05 Doug Evans <dje@sebabeach.org> - - * cgen-ibld.in: #include "cgen/basic-modes.h". - * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, - * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, - * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, - * xstormy16-ibld.c: Regenerate. - -2010-01-04 Nick Clifton <nickc@redhat.com> - - PR 11123 - * arm-dis.c (print_insn_coprocessor): Initialise value. - -2010-01-04 Edmar Wienskoski <edmar@freescale.com> - - * ppc-dis.c (ppc_opts): Add entry for "e500mc64". - -2010-01-02 Doug Evans <dje@sebabeach.org> - - * cgen-asm.in: Update copyright year. - * cgen-dis.in: Update copyright year. - * cgen-ibld.in: Update copyright year. - * 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, - * 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, * lm32-asm.c, * lm32-desc.c, - * lm32-desc.h, * lm32-dis.c, * lm32-ibld.c, * lm32-opc.c, * lm32-opc.h, - * lm32-opinst.c, * 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: Regenerate. - -For older changes see ChangeLog-2009 +For older changes see ChangeLog-2010 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-2010 b/opcodes/ChangeLog-2010 new file mode 100644 index 0000000..34a8d30 --- /dev/null +++ b/opcodes/ChangeLog-2010 @@ -0,0 +1,1012 @@ +2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR gas/11395 + * hppa-dis.c (compare_cond_64_names): Change never condition to ",*". + (add_cond_64_names): Likewise. + (logical_cond_64_names): Likewise. + (unit_cond_64_names): Likewise. + +2010-12-30 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (print_insn): Support bfd_mach_x64_32 and + bfd_mach_x64_32_intel_syntax. + +2010-12-18 Mingjie Xing <mingjie.xing@gmail.com> + + * mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define. + (mips_builtin_opcodes): Add loongson3a specific instructions. + * mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z. + +2010-12-11 Mingming Sun <mingm.sun@gmail.com> + + * mips-opc.c: (mips_builtin_opcodes): Add loongson3a mul/div and + fixed point instructions. + +2010-12-09 Mike Frysinger <vapier@gentoo.org> + + * .gitignore: New file. + +2010-11-25 Alan Modra <amodra@gmail.com> + + * po/es.po: Update. + * po/fr.po: Update. + * po/nl.po: Update. + * po/zh_CN.po: Update. + +2010-11-11 Mingming Sun <mingm.sun@gmail.com> + + * mips-dis.c (mips_arch_choices): Add loongson3a. + * mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A. + (mips_builtin_opcodes): Modify some instructions' membership from + IL2F to IL2F|IL3A. + +2010-11-10 Nick Clifton <nickc@redhat.com> + + * po/fi.po: Updated Finnish translation. + +2010-11-05 Tristan Gingold <gingold@adacore.com> + + * po/opcodes.pot: Regenerate + +2010-10-28 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-opc.c (mips_builtin_opcodes): Fix formatting of "ld". + +2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-opc.txt: cfxr, cfdr and cfer z900 -> g5. + +2010-10-25 Chao-ying Fu <fu@mips.com> + + * mips-opc.c (madd, maddu, msub, msubu, mult, multu): Change D33 to D32. + +2010-10-25 Nathan Sidwell <nathan@codesourcery.com> + + * tic6x-dis.c: Add attribution. + +2010-10-22 Alan Modra <amodra@gmail.com> + + * Makefile.am (CLEANFILES): Add stamp-lm32. Sort. + * Makefile.in: Regenerate. + +2010-10-18 Maciej W. Rozycki <macro@linux-mips.org> + + * mips-opc.c (mips_builtin_opcodes): Move M_LD_OB and M_SD_OB + macros before their corresponding MIPS III hardware instructions. + +2010-10-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (cpu_flag_init): Add CpuNop to CPU_GENERIC64_FLAGS. + + * i386-init.h: Regenerated. + +2010-10-15 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_dsp32alu_0): Call imm5d() for BYTEOP2M. + +2010-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Remove CheckRegSize from movq. + * i386-tbl.h: Regenerated. + +2010-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Remove CheckRegSize from instructions with + 0, 1 or fixed operands. + * i386-tbl.h: Regenerated. + +2010-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Add CheckRegSize. + + * i386-opc.h (CheckRegSize): New. + (i386_opcode_modifier): Add checkregsize. + + * i386-opc.tbl: Add CheckRegSize to instructions which + require register size check. + * i386-tbl.h: Regenerated. + +2010-10-12 Andreas Schwab <schwab@linux-m68k.org> + + * m68k-opc.c (m68k_opcodes): Move fnop before fbf. + +2010-10-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-opc.c: Make the instruction masks for the load/store on + condition instructions to cover the condition code mask as well. + * s390-opc.txt: lgoc -> locg and stgoc -> stocg. + +2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com> + Jiang Jilin <freephp@gmail.com> + + * Makefile.am (libopcodes_a_SOURCES): New as empty. + * Makefile.in: Regenerate. + +2010-10-09 Matt Rice <ratmice@gmail.com> + + * fr30-desc.h: Regenerate. + * frv-desc.h: Regenerate. + * ip2k-desc.h: Regenerate. + * iq2000-desc.h: Regenerate. + * lm32-desc.h: Regenerate. + * m32c-desc.h: Regenerate. + * m32r-desc.h: Regenerate. + * mep-desc.h: Regenerate. + * mep-opc.c: Regenerate. + * mt-desc.h: Regenerate. + * openrisc-desc.h: Regenerate. + * xc16x-desc.h: Regenerate. + * xstormy16-desc.h: Regenerate. + +2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr> + + Fix build with -DDEBUG=7 + * frv-opc.c: Regenerate. + * or32-dis.c (DEBUG): Don't redefine. + (find_bytes_big, or32_extract, or32_opcode_match, or32_print_register): + Adapt DEBUG code to some type changes throughout. + * or32-opc.c (or32_extract): Likewise. + +2010-10-07 Bernd Schmidt <bernds@codesourcery.com> + + * tic6x-dis.c (print_insn_tic6x): Correct decoding of fstg field + in SPKERNEL instructions. + +2010-10-02 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12076 + * i386-dis.c (RMAL): Remove duplicate. + +2010-09-30 Pierre Muller <muller@ics.u-strasbg.fr> + + * s390-mkopc.c (main): Exit with error 1 if sscanf fails + to parse all 6 parameters. + +2010-09-28 Pierre Muller <muller@ics.u-strasbg.fr> + + * s390-mkopc.c (main): Change description array size to 80. + Add maximum length of 79 to description parsing. + +2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196. + (main): Recognize the new CPU string. + * s390-opc.c: Add new instruction formats and masks. + * s390-opc.txt: Add new z196 instructions. + +2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-dis.c (print_insn_s390): Pick instruction with most + specific mask. + * s390-opc.c: Add unused bits to the insn mask. + * s390-opc.txt: Reorder some instructions to prefer more recent + versions. + +2010-09-27 Tejas Belagod <tejas.belagod@arm.com> + + * arm_dis.c (print_insn_coprocessor): Apply off-by-alignment + correction to unaligned PCs while printing comment. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (arm_opcodes): Add Virtualiztion Extensions support. + (thumb32_opcodes): Likewise. + (banked_regname): New function. + (print_insn_arm): Add Virtualization Extensions support. + (print_insn_thumb32): Likewise. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (arm_opcodes): Support disassembly of UDIV and SDIV in + ARM state. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (arm_opcodes): SMC implies Security Extensions. + (thumb32_opcodes): Likewise. + +2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (arm_opcodes): Add support for pldw. + (thumb32_opcodes): Likewise. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (fmtconst): Cast address to 32bits. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_REGMV_0): Rewrite valid combo checks. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (decode_ProgCtrl_0): Check for parallel insns. + Reject P6/P7 to TESTSET. + (decode_PushPopReg_0): Check for parallel insns. Reject pushing + SP onto the stack. + (decode_PushPopMultiple_0): Check for parallel insns. Make sure + P/D fields match all the time. + (decode_CCflag_0): Check for parallel insns. Verify x/y fields + are 0 for accumulator compares. + (decode_CC2stat_0): Check for parallel insns. Reject CC<op>CC. + (decode_CaCTRL_0, decode_ccMV_0, decode_CC2dreg_0, decode_BRCC_0, + decode_UJUMP_0, decode_LOGI2op_0, decode_COMPI2opD_0, + decode_COMPI2opP_0, decode_LoopSetup_0, decode_LDIMMhalf_0, + decode_CALLa_0, decode_linkage_0, decode_pseudoDEBUG_0, + decode_pseudoOChar_0, decode_pseudodbg_assert_0): Check for parallel + insns. + (decode_dagMODim_0): Verify br field for IREG ops. + (decode_LDST_0): Reject preg load into same preg. + (_print_insn_bfin): Handle returns for ILLEGAL decodes. + (print_insn_bfin): Likewise. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_PushPopMultiple_0): Return 0 when pr > 5. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (decode_dsp32shiftimm_0): Add missing "S" flag. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_CC2stat_0): Decode all ASTAT bits. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (IS_DREG, IS_PREG, IS_GENREG, IS_DAGREG): Reject + register values greater than 8. + (IS_RESERVEDREG, allreg, mostreg): New helpers. + (decode_ProgCtrl_0): Call IS_DREG/IS_PREG as appropriate. + (decode_PushPopReg_0): Call mostreg/allreg as appropriate. + (decode_CC2dreg_0): Check valid CC register number. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (decode_pseudoDEBUG_0): Add space after DBG. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (machine_registers): Add AC0_COPY, V_COPY, and RND_MOD. + (reg_names): Likewise. + (decode_statbits): Likewise; while reformatting to make manageable. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_pseudoDEBUG_0): Add space after OUTC. + (decode_pseudoOChar_0): New function. + (_print_insn_bfin): Remove #if 0 and call new decode_pseudoOChar_0. + +2010-09-22 Robin Getz <robin.getz@analog.com> + + * bfin-dis.c (decode_dsp32shift_0): Decode sub opcodes 2/2 as + LSHIFT instead of SHIFT. + +2010-09-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (constant_formats): Constify the whole structure. + (fmtconst): Add const to return value. + (reg_names): Mark const. + (decode_multfunc): Mark s0/s1 as const. + (decode_macfunc): Mark a/sop as const. + +2010-09-17 Tejas Belagod <tejas.belagod@arm.com> + + * arm_dis.c (coprocessor_opcodes): Add MRC entry for APSR_nzcv. + +2010-09-14 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-opc.c (mips_builtin_opcodes): Add "sync_acquire", + "sync_mb", "sync_release", "sync_rmb" and "sync_wmb". + +2010-09-10 Pierre Muller <muller@ics.u-strasbg.fr> + + * src/opcodes/dlx-dis.c (print_insn_dlx): Use dlx_insn type for + dlx_insn_type array. + +2010-08-31 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11960 + * i386-dis.c (sIv): New. + (dis386): Replace Iq with sIv on "pushT". + (reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT. + (x86_64_table): Replace {T|}/{P|} with P. + (putop): Add 'w' to 'T'/'P' if needed for Intel syntax. + (OP_sI): Update v_mode. Remove w_mode. + +2010-08-27 Nathan Froyd <froydnj@codesourcery.com> + + * ppc-opc.c (powerpc_opcodes) [lswx,lswi,stswx,stswi]: Deprecate + on E500 and E500MC. + +2010-08-17 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (reg_table): Replace Eb with Mb on prefetch and + prefetchw. + +2010-08-06 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Define CpuNop extension flag, add + to processor flags for PENTIUMPRO processors and later. + * i386-opc.h (enum): Add CpuNop. + (i386_cpu_flags): Add cpunop bit. + * i386-opc.tbl: Change nop cpu_flags. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2010-08-06 Quentin Neill <quentin.neill@amd.com> + + * i386-opc.h (enum): Fix typos in comments. + +2010-08-06 Alan Modra <amodra@gmail.com> + + * disassemble.c: Formatting. + (disassemble_init_for_target <ARCH_m32c>): Comment on endian. + +2010-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Add Cpu186 to ud1/ud2/ud2a/ud2b. + * i386-tbl.h: Regenerated. + +2010-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (dis386_twobyte): Replace ud2a/ud2b with ud2/ud1. + + * i386-opc.tbl: Add ud1. Remove Cpu686 from ud2/ud2a/ud2b. + * i386-tbl.h: Regenerated. + +2010-07-29 DJ Delorie <dj@redhat.com> + + * rx-decode.opc (SRR): New. + (rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov + r0,r0) and NOP3 (max r0,r0) special cases. + * rx-decode.c: Regenerate. + +2010-07-28 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c: Add 0F to VEX opcode enums. + +2010-07-27 DJ Delorie <dj@redhat.com> + + * rx-decode.opc (store_flags): Remove, replace with F_* macros. + (rx_decode_opcode): Likewise. + * rx-decode.c: Regenerate. + +2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> + Ina Pandit <ina.pandit@kpitcummins.com> + + * v850-dis.c (v850_sreg_names): Updated structure for system + registers. + (float_cc_names): new structure for condition codes. + (print_value): Update the function that prints value. + (get_operand_value): New function to get the operand value. + (disassemble): Updated to handle the disassembly of instructions. + (print_insn_v850): Updated function to print instruction for different + families. + * opcodes/v850-opc.c (v850_msg_is_out_of_range, insert_i5div1, + extract_i5div1, insert_i5div2, extract_i5div2, insert_i5div3, + extract_i5div3, insert_d5_4, extract_d5_4, extract_d8_6, + insert_d8_7, extract_d8_7, insert_v8, extract_v8, insert_u16_loop, + extract_u16_loop, insert_d16_15, extract_d16_15, insert_d16_16, + extract_d16_16, nsert_d17_16, extract_d17_16, insert_d22, + extract_d22, insert_d23, extract_d23, insert_i9, extract_i9, + insert_u9, extract_u9, extract_spe, insert_r4, extract_r4): New. + (insert_d8_7, insert_d5_4, insert_i5div): Remove. + (v850_operands): Update with the relocation name. Also update + the instructions with specific set of processors. + +2010-07-08 Tejas Belagod <tejas.belagod@arm.com> + + * arm-dis.c (print_insn_arm): Add cases for printing more + symbolic operands. + (print_insn_thumb32): Likewise. + +2010-07-06 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-dis.c (print_insn_mips): Correct branch instruction type + determination. + +2010-07-06 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-dis.c (print_mips16_insn_arg): Remove branch instruction + type and delay slot determination. + (print_insn_mips16): Extend branch instruction type and delay + slot determination to cover all instructions. + * mips16-opc.c (BR): Remove macro. + (UBR, CBR): New macros. + (mips16_opcodes): Update branch annotation for "b", "beqz", + "bnez", "bteqz" and "btnez". Add branch annotation for "jalrc" + and "jrc". + +2010-07-05 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2010) + * i386-dis.c (mod_table): Replace rdrnd with rdrand. + * i386-opc.tbl: Likewise. + * i386-tbl.h: Regenerated. + +2010-07-05 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h (CpuFSGSBase): Fix a typo in comments. + +2010-07-03 Andreas Schwab <schwab@linux-m68k.org> + + * ppc-dis.c (powerpc_init_dialect): Cast PPC_OPCODE_xxx to + ppc_cpu_t before inverting. + (ppc_parse_cpu): Likewise. + (print_insn_powerpc): Likewise. + +2010-07-03 Alan Modra <amodra@gmail.com> + + * ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags. + * ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete. + (PPC64, MFDEC2): Update. + (NON32, NO371): Define. + (powerpc_opcode): Update to not use old opcode flags, and avoid + -m601 duplicates. + +2010-07-03 DJ Delorie <dj@delorie.com> + + * m32c-ibld.c: Regenerate. + +2010-07-03 Alan Modra <amodra@gmail.com> + + * ppc-opc.c (PWR2COM): Define. + (PPCPWR2): Add PPC_OPCODE_COMMON. + (powerpc_opcodes): Add "subc", "subco", "subco.", "fcir", "fcir.", + "fcirz", "fcirz." to -mcom opcodes. Remove "mfsri", "dclst", + "rac" from -mcom. + +2010-07-01 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2010) + * i386-dis.c (PREFIX_0FAE_REG_0): New. + (PREFIX_0FAE_REG_1): Likewise. + (PREFIX_0FAE_REG_2): Likewise. + (PREFIX_0FAE_REG_3): Likewise. + (PREFIX_VEX_3813): Likewise. + (PREFIX_VEX_3A1D): Likewise. + (prefix_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, + PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3, PREFIX_VEX_3813 and + PREFIX_VEX_3A1D. + (vex_table): Add PREFIX_VEX_3813 and PREFIX_VEX_3A1D. + (mod_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, + PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3 xsaveopt and rdrnd. + + * i386-gen.c (cpu_flag_init): Add CPU_XSAVEOPT_FLAGS, + CPU_FSGSBASE_FLAGS, CPU_RDRND_FLAGS and CPU_F16C_FLAGS. + (cpu_flags): Add CpuXsaveopt, CpuFSGSBase, CpuRdRnd and CpuF16C. + + * i386-opc.h (CpuXsaveopt): New. + (CpuFSGSBase): Likewise. + (CpuRdRnd): Likewise. + (CpuF16C): Likewise. + (i386_cpu_flags): Add cpuxsaveopt, cpufsgsbase, cpurdrnd and + cpuf16c. + + * i386-opc.tbl: Add xsaveopt, rdfsbase, rdgsbase, rdrnd, + wrfsbase, wrgsbase, vcvtph2ps and vcvtps2ph. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2010-07-01 Sebastian Andrzej Siewior <bigeasy@linutronix.de> + + * ppc-opc.c (powerpc_opcodes): Revert deprecation of mfocrf, mtcrf + and mtocrf on EFS. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * maxq-dis.c: Delete file. + * Makefile.am: Remove references to maxq. + * configure.in: Likewise. + * disassemble.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2010-06-29 Alan Modra <amodra@gmail.com> + + * mep-dis.c: Regenerate. + +2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-disc.c (parse_insn_neon): Fix Neon alignment syntax. + +2010-06-27 Alan Modra <amodra@gmail.com> + + * arc-dis.c (arc_sprintf): Delete set but unused variables. + (decodeInstr): Likewise. + * dlx-dis.c (print_insn_dlx): Likewise. + * h8300-dis.c (bfd_h8_disassemble_init): Likewise. + * maxq-dis.c (check_move, print_insn): Likewise. + * mep-dis.c (mep_examine_ivc2_insns): Likewise. + * msp430-dis.c (msp430_branchinstr): Likewise. + * bfin-dis.c (_print_insn_bfin): Avoid set but unused warning. + * cgen-asm.in (parse_insn_normal, _cgen_assemble_insn): Likewise. + * sparc-dis.c (print_insn_sparc): Likewise. + * fr30-asm.c: Regenerate. + * frv-asm.c: Regenerate. + * ip2k-asm.c: Regenerate. + * iq2000-asm.c: Regenerate. + * lm32-asm.c: Regenerate. + * m32c-asm.c: Regenerate. + * m32r-asm.c: Regenerate. + * mep-asm.c: Regenerate. + * mt-asm.c: Regenerate. + * openrisc-asm.c: Regenerate. + * xc16x-asm.c: Regenerate. + * xstormy16-asm.c: Regenerate. + +2010-06-16 Vincent Rivière <vincent.riviere@freesbee.fr> + + PR gas/11673 + * m68k-opc.c (m68k_opcodes): Remove move.l for isab and later. + +2010-06-16 Vincent Rivière <vincent.riviere@freesbee.fr> + + PR binutils/11676 + * m68k-dis.c (print_insn_arg): Prefix float constants with #0e. + +2010-06-14 Sebastian Andrzej Siewior <bigeasy@linutronix.de> + + * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_E500MC from e500 and + e500x2. Add PPC_OPCODE_E500 to e500 and e500x2 + * ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which + touch floating point regs and are enabled by COM, PPC or PPCCOM. + Treat sync as msync on e500. Treat eieio as mbar 1 on e500. + Treat lwsync as msync on e500. + +2010-06-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (thumb-opcodes): Add disassembly for movs. + +2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (print_insn_neon): Ensure disassembly of Neon + constants is the same on 32-bit and 64-bit hosts. + +2010-05-27 Jason Duerstock <jason.duerstock+binutils@gmail.com> + + * m68k-dis.c (print_insn_m68k): Emit undefined instructions as + .short directives so that they can be reassembled. + +2010-05-26 Catherine Moore <clm@codesourcery.com> + David Ung <davidu@mips.com> + + * mips-opc.c: Change membership to I1 for instructions ssnop and + ehb. + +2010-05-26 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (sib): New. + (get_sib): Likewise. + (print_insn): Call get_sib. + OP_E_memory): Use sib. + +2010-05-26 Catherine Moore <clm@codesoourcery.com> + + * mips-dis.c (mips_arch): Remove INSN_MIPS16. + * mips-opc.c (I16): Remove. + (mips_builtin_op): Reclassify jalx. + +2010-05-19 Alan Modra <amodra@gmail.com> + + * ppc-opc.c (powerpc_opcodes): Enable divdeu, devweu, divde, + divwe, divdeuo, divweuo, divdeo, divweo for A2. Add icswepx. + +2010-05-13 Alan Modra <amodra@gmail.com> + + * ppc-opc.c (powerpc_opcodes): Correct wclr encoding. + +2010-05-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W + format. + (print_insn_thumb16): Add support for new %W format. + +2010-05-07 Tristan Gingold <gingold@adacore.com> + + * Makefile.in: Regenerate with automake 1.11.1. + * aclocal.m4: Ditto. + +2010-05-05 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2010-04-22 Nick Clifton <nickc@redhat.com> + + * po/opcodes.pot: Updated by the Translation project. + * po/vi.po: Updated Vietnamese translation. + +2010-04-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (get_valid_dis386): Return bad_opcode on unknown + bits in opcode. + +2010-04-09 Nick Clifton <nickc@redhat.com> + + * i386-dis.c (print_insn): Remove unused variable op. + (OP_sI): Remove unused variable mask. + +2010-04-07 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + +2010-04-06 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (RBOPT): New define. + ("dccci"): Enable for PPCA2. Make operands optional. + ("iccci"): Likewise. Do not deprecate for PPC476. + +2010-04-02 Masaki Muranaka <monaka@monami-software.com> + + * cr16-opc.c (cr16_instruction): Fix typo in comment. + +2010-03-25 Joseph Myers <joseph@codesourcery.com> + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c. + * Makefile.in: Regenerate. + * configure.in (bfd_tic6x_arch): New. + * configure: Regenerate. + * disassemble.c (ARCH_tic6x): Define if ARCH_all. + (disassembler): Handle TI C6X. + * tic6x-dis.c: New. + +2010-03-24 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_regs_hi): Change REG_LH2 typo to REG_MH2. + +2010-03-23 Joseph Myers <joseph@codesourcery.com> + + * dis-buf.c (buffer_read_memory): Give error for reading just + before the start of memory. + +2010-03-22 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * i386-dis.c (OP_LWP_I): Removed. + (reg_table): Do not use OP_LWP_I, use Iq. + (OP_LWPCB_E): Remove use of names16. + (OP_LWP_E): Same. + * i386-opc.tbl: Removed 16bit LWP insns. 32bit LWP insns + should not set the Vex.length bit. + * i386-tbl.h: Regenerated. + +2010-02-25 Edmar Wienskoski <edmar@freescale.com> + + * ppc-dis.c (ppc_opts): Add PPC_OPCODE_E500MC for "e500mc64". + +2010-02-24 Nick Clifton <nickc@redhat.com> + + PR binutils/6773 + * arm-dis.c (arm_opcodes): Replace <prefix>addsubx with + <prefix>asx. Replace <prefix>subaddx with <prefix>sax. + (thumb32_opcodes): Likewise. + +2010-02-15 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2010-02-12 Doug Evans <dje@sebabeach.org> + + * lm32-opinst.c: Regenerate. + +2010-02-11 Doug Evans <dje@sebabeach.org> + + * cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL. + (print_address): Delete CGEN_PRINT_ADDRESS. + * fr30-dis.c, * frv-dis.c, * ip2k-dis.c, * iq2000-dis.c, + * lm32-dis.c, * m32c-dis.c, * m32r-desc.c, * m32r-desc.h, + * m32r-dis.c, * mep-dis.c, * mt-dis.c, * openrisc-dis.c, + * xc16x-dis.c, * xstormy16-dis.c: Regenerate. + + * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, + * frv-desc.c, * frv-desc.h, * frv-opc.c, + * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, + * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, + * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c, + * m32c-desc.c, * m32c-desc.h, * m32c-opc.c, + * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c, + * mep-desc.c, * mep-desc.h, * mep-opc.c, + * mt-desc.c, * mt-desc.h, * mt-opc.c, + * openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c, + * xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c, + * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate. + +2010-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c: Update copyright. + * i386-gen.c: Likewise. + * i386-opc.h: Likewise. + * i386-opc.tbl: Likewise. + +2010-02-10 Quentin Neill <quentin.neill@amd.com> + Sebastian Pop <sebastian.pop@amd.com> + + * i386-dis.c (OP_EX_VexImmW): Reintroduced + function to handle 5th imm8 operand. + (PREFIX_VEX_3A48): Added. + (PREFIX_VEX_3A49): Added. + (VEX_W_3A48_P_2): Added. + (VEX_W_3A49_P_2): Added. + (prefix table): Added entries for PREFIX_VEX_3A48 + and PREFIX_VEX_3A49. + (vex table): Added entries for VEX_W_3A48_P_2 and + and VEX_W_3A49_P_2. + * i386-gen.c (operand_type_init): Added OPERAND_TYPE_VEC_IMM4 + for Vec_Imm4 operands. + * i386-opc.h (enum): Added Vec_Imm4. + (i386_operand_type): Added vec_imm4. + * i386-opc.tbl: Add entries for vpermilp[ds]. + * i386-init.h: Regenerated. + * i386-tbl.h: Regenerated. + +2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ppc-dis.c (ppc_opts): Add "pwr4", "pwr5", "pwr5x", "pwr6" + and "pwr7". Move "a2" into alphabetical order. + +2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> + + * ppc-dis.c (ppc_opts): Add titan entry. + * ppc-opc.c (TITAN, MULHW): Define. + (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). + +2010-02-03 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Rename CPU_AMDFAM15_FLAGS + to CPU_BDVER1_FLAGS + * i386-init.h: Regenerated. + +2010-02-03 Anthony Green <green@moxielogic.com> + + * moxie-opc.c (moxie_form1_opc_info): Move "nop" from 0x00 to + 0x0f, and make 0x00 an illegal instruction. + +2010-01-29 Daniel Jacobowitz <dan@codesourcery.com> + + * opcodes/arm-dis.c (struct arm_private_data): New. + (print_insn_coprocessor, print_insn_arm): Update to use struct + arm_private_data. + (is_mapping_symbol, get_map_sym_type): New functions. + (get_sym_code_type): Check the symbol's section. Do not check + mapping symbols. + (print_insn): Default to disassembling ARM mode code. Check + for mapping symbols separately from other symbols. Use + struct arm_private_data. + +2010-01-28 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (EXVexWdqScalar): New. + (vex_scalar_w_dq_mode): Likewise. + (prefix_table): Update entries for PREFIX_VEX_3899, + PREFIX_VEX_389B, PREFIX_VEX_389D, PREFIX_VEX_389F, + PREFIX_VEX_38A9, PREFIX_VEX_38AB, PREFIX_VEX_38AD, + PREFIX_VEX_38AF, PREFIX_VEX_38B9, PREFIX_VEX_38BB, + PREFIX_VEX_38BD and PREFIX_VEX_38BF. + (intel_operand_size): Handle vex_scalar_w_dq_mode. + (OP_EX): Likewise. + +2010-01-27 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (XMScalar): New. + (EXdScalar): Likewise. + (EXqScalar): Likewise. + (EXqScalarS): Likewise. + (VexScalar): Likewise. + (EXdVexScalarS): Likewise. + (EXqVexScalarS): Likewise. + (XMVexScalar): Likewise. + (scalar_mode): Likewise. + (d_scalar_mode): Likewise. + (d_scalar_swap_mode): Likewise. + (q_scalar_mode): Likewise. + (q_scalar_swap_mode): Likewise. + (vex_scalar_mode): Likewise. + (vex_len_table): Duplcate entries for VEX_LEN_10_P_1, + VEX_LEN_10_P_3, VEX_LEN_11_P_1, VEX_LEN_11_P_3, VEX_LEN_2A_P_1, + VEX_LEN_2A_P_3, VEX_LEN_2C_P_3, VEX_LEN_2D_P_1, VEX_LEN_2E_P_0, + VEX_LEN_2E_P_2, VEX_LEN_2F_P_2, VEX_LEN_51_P_1, VEX_LEN_51_P_3, + VEX_LEN_52_P_1, VEX_LEN_53_P_1, VEX_LEN_58_P_1, VEX_LEN_58_P_3, + VEX_LEN_59_P_1, VEX_LEN_5A_P_1, VEX_LEN_5A_P_3, VEX_LEN_5C_P_1, + VEX_LEN_5C_P_3, VEX_LEN_5D_P_1, VEX_LEN_5D_P_3, VEX_LEN_5E_P_1, + VEX_LEN_5E_P_3, VEX_LEN_5F_P_1, VEX_LEN_5F_P_3, VEX_LEN_6E_P_2, + VEX_LEN_7E_P_1, VEX_LEN_7E_P_2, VEX_LEN_D6_P_2, VEX_LEN_C2_P_1, + VEX_LEN_C2_P_3, VEX_LEN_3A0A_P_2 and VEX_LEN_3A0B_P_2. + (vex_w_table): Update entries for VEX_W_10_P_1, VEX_W_10_P_3, + VEX_W_11_P_1, VEX_W_11_P_3, VEX_W_2E_P_0, VEX_W_2E_P_2, + VEX_W_2F_P_0, VEX_W_2F_P_2, VEX_W_51_P_1, VEX_W_51_P_3, + VEX_W_52_P_1, VEX_W_53_P_1, VEX_W_58_P_1, VEX_W_58_P_3, + VEX_W_59_P_1, VEX_W_59_P_3, VEX_W_5A_P_1, VEX_W_5A_P_3, + VEX_W_5C_P_1, VEX_W_5C_P_3, VEX_W_5D_P_1, VEX_W_5D_P_3, + VEX_W_5E_P_1, VEX_W_5E_P_3, VEX_W_5F_P_1, VEX_W_5F_P_3, + VEX_W_7E_P_1, VEX_W_D6_P_2 VEX_W_C2_P_1, VEX_W_C2_P_3, + VEX_W_3A0A_P_2 and VEX_W_3A0B_P_2. + (intel_operand_size): Handle d_scalar_mode, d_scalar_swap_mode, + q_scalar_mode, q_scalar_swap_mode. + (OP_XMM): Handle scalar_mode. + (OP_EX): Handle d_scalar_mode, d_scalar_swap_mode, q_scalar_mode + and q_scalar_swap_mode. + (OP_VEX): Handle vex_scalar_mode. + +2010-01-24 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }. + +2010-01-24 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_len_table): Remove trailing { Bad_Opcode }. + +2010-01-24 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }. + +2010-01-24 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (Bad_Opcode): New. + (bad_opcode): Likewise. + (dis386): Replace { "(bad)", { XX } } with { Bad_Opcode }. + (dis386_twobyte): Likewise. + (reg_table): Likewise. + (prefix_table): Likewise. + (x86_64_table): Likewise. + (vex_len_table): Likewise. + (vex_w_table): Likewise. + (mod_table): Likewise. + (rm_table): Likewise. + (float_reg): Likewise. + (reg_table): Remove trailing "(bad)" entries. + (prefix_table): Likewise. + (x86_64_table): Likewise. + (vex_len_table): Likewise. + (vex_w_table): Likewise. + (mod_table): Likewise. + (rm_table): Likewise. + (get_valid_dis386): Handle bytemode 0. + +2010-01-23 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h (VEXScalar): New. + + * i386-opc.tbl: Replace "Vex" with "Vex=3" on AVX scalar + instructions. + * i386-tbl.h: Regenerated. + +2010-01-21 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (mod_table): Use FXSAVE on xsave and xrstor. + + * i386-opc.tbl: Add xsave64 and xrstor64. + * i386-tbl.h: Regenerated. + +2010-01-20 Nick Clifton <nickc@redhat.com> + + PR 11170 + * arm-dis.c (print_arm_address): Do not ignore negative bit in PC + based post-indexed addressing. + +2010-01-15 Sebastian Pop <sebastian.pop@amd.com> + + * i386-opc.tbl: Support all the possible aliases for VPCOM* insns. + * i386-tbl.h: Regenerated. + +2010-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h (VexVVVV): Replace VEX.DNS with VEX.NDS in + comments. + +2010-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (names_mm): New. + (intel_names_mm): Likewise. + (att_names_mm): Likewise. + (names_xmm): Likewise. + (intel_names_xmm): Likewise. + (att_names_xmm): Likewise. + (names_ymm): Likewise. + (intel_names_ymm): Likewise. + (att_names_ymm): Likewise. + (print_insn): Set names_mm, names_xmm and names_ymm. + (OP_MMX): Use names_mm, names_xmm and names_ymm. + (OP_XMM): Likewise. + (OP_EM): Likewise. + (OP_EMC): Likewise. + (OP_MXC): Likewise. + (OP_EX): Likewise. + (XMM_Fixup): Likewise. + (OP_VEX): Likewise. + (OP_EX_VexReg): Likewise. + (OP_Vex_2src): Likewise. + (OP_Vex_2src_1): Likewise. + (OP_Vex_2src_2): Likewise. + (OP_REG_VexI4): Likewise. + +2010-01-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (print_insn): Update comments. + +2010-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (rex_original): Removed. + (ckprefix): Remove rex_original. + (print_insn): Update comments. + +2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.in: Regenerate. + * configure: Regenerate. + +2010-01-07 Doug Evans <dje@sebabeach.org> + + * cgen-ibld.in (insert_normal, extract_normal): Minor cleanup. + * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, + * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, + * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, + * xstormy16-ibld.c: Regenerate. + +2010-01-06 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Add new CPU_AMDFAM15_FLAGS. + * i386-init.h: Regenerated. + +2010-01-06 Daniel Gutson <dgutson@codesourcery.com> + + * arm-dis.c (print_insn): Fixed search for next symbol and data + dumping condition, and the initial mapping symbol state. + +2010-01-05 Doug Evans <dje@sebabeach.org> + + * cgen-ibld.in: #include "cgen/basic-modes.h". + * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, + * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, + * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, + * xstormy16-ibld.c: Regenerate. + +2010-01-04 Nick Clifton <nickc@redhat.com> + + PR 11123 + * arm-dis.c (print_insn_coprocessor): Initialise value. + +2010-01-04 Edmar Wienskoski <edmar@freescale.com> + + * ppc-dis.c (ppc_opts): Add entry for "e500mc64". + +2010-01-02 Doug Evans <dje@sebabeach.org> + + * cgen-asm.in: Update copyright year. + * cgen-dis.in: Update copyright year. + * cgen-ibld.in: Update copyright year. + * 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, + * 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, * lm32-asm.c, * lm32-desc.c, + * lm32-desc.h, * lm32-dis.c, * lm32-ibld.c, * lm32-opc.c, * lm32-opc.h, + * lm32-opinst.c, * 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: Regenerate. + +For older changes see ChangeLog-2009 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |