* configure.ac (ia64*-*-*vms*): Add support for ld.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 634fba932e35d3efcca013fd9892ed4d69a58fad..f84e7584b018e2ee5201c36119b0d08735be6cad 100644 (file)
@@ -1,3 +1,189 @@
+2012-04-12  Tristan Gingold  <gingold@adacore.com>
+
+       * elflink.c (elf_link_output_extsym): Add a guard.
+       (bfd_elf_final_link): Remove assertion.
+       (bfd_elf_final_link): Add a guard.
+       * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
+       (elfNN_vms_section_from_shdr, elfNN_vms_object_p)
+       (elfNN_vms_post_process_headers, elfNN_vms_section_processing)
+       (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
+       Remove.
+       (elfNN-ia64-vms target): Move to ...
+       * elf64-ia64-vms.c: New file.
+       * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
+       * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
+       (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
+2012-04-11  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/13897
+       * elf64-ppc.c (opd_entry_value): When dealing with sections
+       without relocs, keep the last section loaded in order to avoid
+       unnecessary reloads.
+
+2012-04-09  Roland McGrath  <mcgrathr@google.com>
+
+       * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs.
+       * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs.
+       (nacl_modify_program_headers): Likewise.
+
+2012-04-03  Roland McGrath  <mcgrathr@google.com>
+
+       * elf-nacl.c: New file.
+       * elf-nacl.h: New file.
+       * elf32-i386.c (elf_backend_modify_segment_map): Define for
+       bfd_elf32_i386_nacl_vec.
+       (elf_backend_modify_program_headers): Likewise.
+       * elf64-x86-64.c (elf_backend_modify_segment_map): Define for
+       bfd_elf64_x86_64_nacl_vec and bfd_elf32_x86_64_nacl_vec.
+       (elf_backend_modify_program_headers): Likewise.
+       * Makefile.am (BFD32_BACKENDS, BFD64_BACKENDS): Add elf-nacl.lo here.
+       (BFD32_BACKENDS_CFILES, BFD64_BACKENDS_CFILES): Add elf-nacl.c here.
+       * Makefile.in: Regenerated.
+       * configure.in (bfd_elf64_x86_64_nacl_vec): Add elf-nacl.o to tb here.
+       (bfd_elf32_x86_64_nacl_vec): Likewise.
+       (bfd_elf64_x86_64_vec, bfd_elf32_x86_64_vec): Likewise.
+       (bfd_elf64_x86_64_freebsd_vec, bfd_elf64_x86_64_sol2_vec): Likewise.
+       (bfd_elf64_l1om_vec, bfd_elf64_l1om_freebsd_vec): Likewise.
+       (bfd_elf64_k1om_vec, bfd_elf64_k1om_freebsd_vec): Likewise.
+       (bfd_elf32_i386_nacl_vec): Likewise.
+       (bfd_elf32_i386_sol2_vec, bfd_elf32_i386_freebsd_vec): Likewise.
+       (bfd_elf32_i386_vxworks_vec, bfd_elf32_i386_vec): Likewise.
+       * configure: Regenerated.
+
+2012-03-31  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf32-m68k.c (elf_m68k_relocate_section): Allow
+       R_68K_TLS_LE{8,16,32} for PIE.
+
+2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf64-s390.c: Fix several comments regarding PLT entry
+       description.
+       * elf32-s390.c: Likewise.
+
+2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf64-s390.c: Use the section pointer shortcuts in
+       elf_link_hash_table and remove them from the target specific
+       variant.
+       * elf32-s390.c: Likewise.
+
+2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf64-s390.c (elf_s390x_plt_entry, elf_s390x_first_plt_entry):
+       New definitions.
+       (PLT_PIC_ENTRY_WORD*, PLT_PIC12_ENTRY_WORD*): Remove.
+       (elf_s390_finish_dynamic_symbol): Use memcpy instead of bfd_put_32.
+       (elf_s390_finish_dynamic_sections): Likewise.
+       * elf32-s390.c (elf_s390_plt_entry, elf_s390_plt_pic_entry)
+       (elf_s390_plt_pic12_entry, elf_s390_plt_pic16_entry)
+       (elf_s390_plt_first_entry, elf_s390_plt_pic_first_entry): New definitions.
+       (PLT_PIC16_ENTRY_WORD*, PLT_ENTRY_WORD*)
+       (PLT_PIC_FIRST_ENTRY_WORD*, PLT_FIRST_ENTRY_WORD*): Remove.
+
+2012-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf32-s390.c (struct elf_s390_dyn_relocs): Remove.
+       Rename all occurrences in the file to elf_dyn_relocs.
+       * elf64-s390.c: Likewise.
+
+2012-03-30  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic
+       libraries.
+
+2012-03-29  Alan Modra  <amodra@gmail.com>
+
+       * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete.
+       * bfd-in2.h: Regenerate.
+
+2012-03-23  Alan Modra  <amodra@gmail.com>
+
+       * elf.c (assign_file_positions_for_non_load_sections): Don't warn
+       on empty alloc sections.
+
+2012-03-23  Alan Modra  <amodra@gmail.com>
+
+       * linker.c (_bfd_nearby_section): New function, split out from..
+       (fix_syms): ..here.
+       * bfd-in.h (_bfd_nearby_section): Declare.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (elf_link_input_bfd): Don't use text_index_section or
+       data_index_section with ld -q or ld -r output relocs against
+       stripped output sections.  Instead use _bfd_nearby_section.
+
+2012-03-23  Alan Modra  <amodra@gmail.com>
+
+       PR binutils/13894
+       * elf64-ppc.c (opd_entry_value): Read full symbol table when
+       sym hashes unavailable.
+
+2012-03-21  Eliot Dresselhaus  <eliot@sonic.net>
+
+       * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE
+       for non-C6X objects.
+
+2012-03-20  Kai Tietz  <ktietz@redhat.com>
+
+       PR ld/12742
+       * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h.
+       * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined.
+       Add windows.h header include if HAVE_WINDOWS_H is defined.
+       (dlerror): New static function if windows variant is used instead
+       of dlfcn.h.
+       (dlclose): Likewise.
+       (dlopen): Likewise.
+       (dlsym): Likewise.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+
+2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13880
+       * elf32-i386.c (elf_i386_relocate_section): Don't issue an error
+       for R_386_GOTOFF relocation against protected function if
+       SYMBOLIC_BIND is true.
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an
+       error for R_X86_64_GOTOFF64 relocation against protected function
+       when building executable or SYMBOLIC_BIND is true.
+
+2012-03-16  Roland McGrath  <mcgrathr@google.com>
+
+       * config.bfd: Handle x86_64-*-nacl*.
+       * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza.
+       (bfd_elf32_x86_64_nacl_vec): Likewise.
+       * targets.c: Support them.
+       * configure.in: Likewise.
+       * configure: Regenerated.
+
+2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * elf32-arm.c (elf32_arm_attributes_accept_div): New function.
+       (elf32_arm_attributes_forbid_div): Likewise.
+       (elf32_arm_merge_eabi_attributes): Correct handling of
+       Tag_DIV_use.
+
+2012-03-15  Roland McGrath  <mcgrathr@google.com>
+
+       * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Use
+       elf_x86_64_backend_data parameters for plt_eh_frame.
+
+       * elf64-x86-64.c (struct elf_x86_64_backend_data): New type.
+       (get_elf_x86_64_backend_data, GET_PLT_ENTRY_SIZE): New macros.
+       (elf_x86_64_arch_bed): New variable.
+       (elf_backend_arch_data): New macro.
+       (elf_x86_64_adjust_dynamic_symbol): Use GET_PLT_ENTRY_SIZE.
+       (elf_x86_64_allocate_dynrelocs): Likewise.
+       (elf_x86_64_relocate_section): Likewise.
+       (elf_x86_64_plt_sym_val): Likewise.
+       (elf_x86_64_finish_dynamic_symbol): Use elf_x86_64_backend_data
+       parameters for PLT details.
+       (elf_x86_64_finish_dynamic_sections): Likewise.
+
 2012-03-14  Roland McGrath  <mcgrathr@google.com>
 
        * elf32-i386.c (elf_i386_nacl_pic_plt0_entry): Initialize up
This page took 0.027098 seconds and 4 git commands to generate.