OSDN Git Service

* bfd/elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early
[pf3gnuchains/pf3gnuchains4x.git] / bfd / ChangeLog
index 97bf5a4..3ec74f2 100644 (file)
@@ -1,3 +1,156 @@
+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.