* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 921e6794ccbf9fed9365a2263af730cddd63b020..76665c3cb7d5844187a286abc6fbce4d9732d6b5 100644 (file)
@@ -1,3 +1,225 @@
+2012-07-24  Sean Keys  <skeys@ipdatasys.com>
+
+        * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code
+       that enables the linker to offset addresses, when linking against
+        symbols from the XGATE processor and vice versa.
+
+2012-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * cisco-core.c (cisco_core_file_failing_command): Make static.
+       (cisco_core_file_failing_signal): Make static.
+
+2012-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in2.h: Regenerated.
+
+2012-07-18  Nicolàs Alejandro Di Risio <sheeva@tiscali.it>
+
+       PR binutils/14335
+       * section.c: Fix a typo in comments.
+
+2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf64-s390.c: Include elf-s390-common.c.
+       (R_390_IRELATIVE): New reloc.
+       (elf_s390_reloc_type_lookup): Support R_390_IRELATIVE.
+       (RELA_ENTRY_SIZE): New macro.
+       (elf_s390_link_hash_entry): New fields ifunc_resolver_address and
+       *ifunc_resolver_section.
+       (struct plt_entry): New struct.
+       (struct elf_s390_obj_tdata): New field local_plt.
+       (elf_s390_local_plt): New macro.
+       (struct elf_s390_link_hash_table): New field irelifunc.
+       (ELF64): New macro.
+       (link_hash_newfunc): Initialize new fields.
+       (elf_s390_check_relocs): Handle IFUNC symbols.
+       (elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC
+       symbols.
+       (allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for
+       IFUNC symbols.
+       (elf_s390_size_dynamic_sections): Handle IFUNC symbols.
+       (elf_s390_relocate_section): Likewise.
+       (elf_s390_finish_dynamic_symbol): Likewise.
+       (elf_s390_finish_dynamic_sections): Handle local IFUNC symbols.
+       (elf_s390_finish_ifunc_symbol): New function.
+       (elf_s390_gc_sweep_hook): Handle local plt entries.
+       (elf_backend_add_symbol_hook): Define.
+       * elf32-s390.c: See elf64-s390.c changes.
+       * elf-s390-common.c: New file.
+       * bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field.
+       * libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for
+       BFD_RELOC_390_IRELATIVE.
+       * reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation.
+
+2012-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * aix386-core.c: Remove use of PTR and PARAMS macros.
+       * archive.c: Likewise.
+       * cache.c: Likewise.
+       * cisco-core.c: Likewise.
+       * coff-alpha.c: Likewise.
+       * coff-apollo.c: Likewise.
+       * coff-aux.c: Likewise.
+       * coff-h8300.c: Likewise.
+       * coff-h8500.c: Likewise.
+       * coff-i386.c: Likewise.
+       * coff-i960.c: Likewise.
+       * coff-ia64.c: Likewise.
+       * coff-m68k.c: Likewise.
+       * coff-m88k.c: Likewise.
+       * coff-mcore.c: Likewise.
+       * coff-mips.c: Likewise.
+       * coff-or32.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * coff-rs6000.c: Likewise.
+       * coff-sh.c: Likewise.
+       * coff-sparc.c: Likewise.
+       * coff-stgo32.c: Likewise.
+       * coff-tic30.c: Likewise.
+       * coff-tic4x.c: Likewise.
+       * coff-tic54x.c: Likewise.
+       * coff-tic80.c: Likewise.
+       * coff-w65.c: Likewise.
+       * cofflink.c: Likewise.
+       * cpu-arc.c: Likewise.
+       * cpu-cris.c: Likewise.
+       * cpu-h8500.c: Likewise.
+       * cpu-i960.c: Likewise.
+       * cpu-msp430.c: Likewise.
+       * cpu-ns32k.c: Likewise.
+       * cpu-powerpc.c: Likewise.
+       * cpu-rs6000.c: Likewise.
+       * cpu-tic4x.c: Likewise.
+       * cpu-w65.c: Likewise.
+       * ecoff.c: Likewise.
+       * ecofflink.c: Likewise.
+       * elf-m10200.c: Likewise.
+       * elf32-bfin.c: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-crx.c: Likewise.
+       * elf32-fr30.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-h8300.c: Likewise.
+       * elf32-i960.c: Likewise.
+       * elf32-m32c.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-rl78.c: Likewise.
+       * elf32-rx.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elfnn-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-sparc.c: Likewise.
+       * hash.c: Likewise.
+       * hp300hpux.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * hpux-core.c: Likewise.
+       * i386dynix.c: Likewise.
+       * i386linux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * i386mach3.c: Likewise.
+       * i386msdos.c: Likewise.
+       * i386os9k.c: Likewise.
+       * irix-core.c: Likewise.
+       * lynx-core.c: Likewise.
+       * m68klinux.c: Likewise.
+       * mach-o.h: Likewise.
+       * mipsbsd.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * nlm32-i386.c: Likewise.
+       * osf-core.c: Likewise.
+       * pc532-mach.c: Likewise.
+       * pef.c: Likewise.
+       * ppcboot.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * reloc16.c: Likewise.
+       * sco5-core.c: Likewise.
+       * som.h: Likewise.
+       * sparclinux.c: Likewise.
+       * sparclynx.c: Likewise.
+       * ticoff.h: Likewise.
+       * trad-core.c: Likewise.
+       * vms-lib.c: Likewise.
+       * xsym.h: Likewise.
+
+2012-07-09  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14323
+       * elflink.c (elf_sort_symbol): Sort by size too.
+       (elf_link_add_object_symbols <weakdefs>): Simplify binary search.
+       Do not depend on ordering of symbol aliases.  Match largest size.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_section_numbers): Check if number of sections
+       >= SHN_LORESERVE.
+       * elfcode.h (elf_object_p): Likewise.
+
+2012-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * archive.c (bsd_write_armap): Catch attempts to create an archive
+       with indicies bigger than 4Gb.
+       (coff_write_armap): Likewise.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14319
+       * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty
+       debug section.
+
+2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3351
+       * elflink.c (_bfd_elf_update_dynamic_flags): New.
+       (_bfd_elf_merge_symbol): Update both real and indirect symbol
+       dynamic flags.
+       (_bfd_elf_add_default_symbol): Make the real symbol dynamic if
+       the indirect symbol is defined in a shared library.
+       (elf_link_add_object_symbols): Likewise.  If the indirect
+       symbol has been forced local, don't make the real symbol
+       dynamic.
+       (elf_link_check_versioned_symbol): Check indirect symbol.
+       (elf_link_output_extsym): Use real symbol definition when
+       reporting indirect symbol error.  Check version info for
+       dynamic versioned symbol.
+
+2012-07-03  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14207
+       * elf.c (assign_file_positions_for_load_sections): Remove assertions
+       that only PT_LOAD headers include file header and section headers.
+       (assign_file_positions_for_non_load_sections): Similarly don't
+       assert PT_GNU_RELRO header does not include file and section headers.
+       Compare first section vma rather than PT_LOAD p_vaddr against
+       relro_start when looking for PT_LOAD covering PT_GNU_RELRO.  Replace
+       abort with assertion.
+
+2012-07-02  Alan Modra  <amodra@gmail.com>
+
+       * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section
+       "anyway" variant when creating .plt.
+       (m32c_elf_relax_plt_section): Remove redundant test and unused param.
+       (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling
+       m32c_elf_relax_plt_section.
+       * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant
+       when creating .got and .got.plt.
+       (_bfd_mips_elf_final_link): Likewise for .rtproc, and use
+       bfd_get_linker_section.
+       * sunos.c: Similarly throughout.
+
+2012-07-01  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error
+       message.
+
 2012-06-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE
This page took 0.030482 seconds and 4 git commands to generate.