bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 8c386aa4e1591afde0a97d7a0bdcd46ccfcaa6df..aa4595a230716c28c263337bd5b817ca42e4b659 100644 (file)
@@ -1,3 +1,167 @@
+2013-11-13  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_howto_table): Use
+       R_AARCH64_TLS_DTPMOD64 instead of R_AARCH64_TLS_DTPMOD;
+       likewise for R_AARCH64_TLS_DTPREL and R_AARCH64_TLS_TPREL.
+
+2013-11-12  Matthew Leach  <Matthew.Leach@arm.comm>
+
+       * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded
+       size of struct elf_prstatus.
+
+2013-11-11  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
+
+2013-11-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL
+       here, not SYMBOL_CALLS_LOCAL.
+       (ppc64_elf_relocate_section): Likewise.
+       (size_global_entry_stubs): Set undefined symbols on their global
+       entry stubs here..
+       (build_global_entry_stubs): ..rather than here.
+       (ppc64_elf_build_stubs): Don't reset glink->size before calling
+       build_global_entry_stubs.
+
+2013-11-07  Roland McGrath  <mcgrathr@google.com>
+
+       * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't
+       collide with bfd_mach_l1om.
+       * bfd-in2.h: Regenerate.
+
+       * elf32-i386.c (elf32_i386_nacl_elf_object_p): New function.
+       (elf_backend_object_p): Use that in elf32-i386-nacl definition.
+       * elf64-x86-64.c (elf64_x86_64_nacl_elf_object_p): New function.
+       (elf_backend_object_p): Use that in elf64-x86-64-nacl definition.
+       (elf32_x86_64_nacl_elf_object_p): New function.
+       (elf_backend_object_p): Use that in elf32-x86-64-nacl definition.
+
+2013-11-05  DJ Delorie  <dj@redhat.com>
+
+       * elf32-rl78.c (elf32_rl78_relax_delete_bytes): Make sure relocs
+       are loaded before trying to use them.
+
+2013-11-05  H.J. Lu  <hongjiu.lu@intel.com>
+           Bernhard Rosenkränzer <bernhard.rosenkranzer@linaro.org>
+
+       PR ld/4409
+       * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add an argument for
+       error ignored.
+       * elf-m10200.c (mn10200_elf_relocate_section): Updated.
+       * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+       * elf32-arm.c (elf32_arm_relocate_section): Likewise.
+       * elf32-avr.c (elf32_avr_relocate_section): Likewise.
+       * elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+       (bfin_relocate_section): Likewise.
+       * elf32-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-epiphany.c (epiphany_elf_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-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-i860.c (elf32_i860_relocate_section): Likewise.
+       * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
+       * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
+       * elf32-lm32.c (lm32_elf_relocate_section): Likewise.
+       * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-metag.c (elf_metag_relocate_section): Likewise.
+       * elf32-microblaze.c (microblaze_elf_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-nios2.c (nios2_elf32_relocate_section): Likewise.
+       * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-rl78.c (rl78_elf_relocate_section): Likewise.
+       * elf32-rx.c (rx_elf_relocate_section): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
+       * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_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): Likewise.
+       * elf64-ia64-vms.c (elf64_ia64_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-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
+       * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise.
+       * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Likewise.
+
+       * elfnn-ia64.c (elfNN_ia64_relocate_section): Skip if error
+       from RELOC_FOR_GLOBAL_SYMBOL in executable is ignored.
+
+2013-11-05  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Make .TOC. defined and
+       hidden.
+       (ppc64_elf_set_toc): Adjust.
+
+2013-11-05  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (struct ppc_link_hash_table): Remove got, plt, relplt,
+       iplt, reliplt.  Update all references to use elf.sgot, elf.splt,
+       elf.srelplt, elf.iplt and elf.irelplt.
+
+2013-11-03  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * elf32-niso2.c (nios2_elf32_do_hi16_relocate): Remove incorrect
+       ATTRIBUTE_UNUSED from parameter.
+       (nios2_elf_do_lo16_relocate): Likewise.
+       (nios2_elf32_do_hiadj16_relocate): Likewise.
+       (nios2_elf32_do_pcrel_lo16_relocate): Likewise.
+       (nios2_elf32_do_pcrel_hiadj16_relocate): Likewise.
+       (nios2_elf32_do_pcrel16_relocate): Likewise.
+       (nios2_elf32_do_call26_relocate): Likewise.
+       (nios2_elf32_do_gprel_relocate): Likewise.
+       (nios2_elf32_do_ujmp_relocate): Likewise.
+       (nios2_elf32_do_cjmp_relocate): Likewise.
+       (nios2_elf32_do_callr_relocate): Likewise.
+       (nios2_elf32_gc_mark_hook): Likewise.
+
+2013-11-04  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry
+       prologue to non-PIC in non-PIC executables.
+
+2013-11-04  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Copy
+       pointer_equality_needed flag.
+       (ppc64_elf_check_relocs): For ELFv2 arrange to emit plt
+       entries for references to functions in shared libraries on
+       non-call relocs.
+       (readonly_dynrelocs): Split into function of the same name and..
+       (maybe_set_textrel): ..this new function.  Update call.
+       (ppc64_elf_adjust_dynamic_symbol): Don't emit dynrelocs for
+       ELFv2 in most cases if we have a plt entry.  Use new
+       readonly_relocs.
+       (allocate_dynrelocs): For ELFv2, don't allocate dynreloc space
+       for ifunc in static executables.
+       (size_global_entry_stubs): New function.
+       (ppc64_elf_size_dynamic_sections): Call size_global_entry_stubs.
+       Save end of glink branch table.
+       (ppc64_elf_hash_symbol): New function.
+       (build_global_entry_stubs): New function.
+       (ppc64_elf_build_stubs): Call build_global_entry_stubs.  Adjust
+       glink sizing.
+       (ppc64_elf_relocate_section): Tidy plt16/32/64 reloc code.
+       (ppc64_elf_finish_dynamic_symbol): For ELFv2, adjust symbols
+       defined on plt code.
+
 2013-11-02  Alan Modra  <amodra@gmail.com>
 
        * opncls.c (_bfd_new_bfd): Don't init vars already zeroed.
        (elfNN_aarch64_create_dynamic_sections): Do not define
        _GLOBAL_OFFSET_TABLE_; call aarch64_elf_create_got_section.
 
-2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
-
-       * ld-aarch64/emit-relocs-309-low.d: Adjust .text address.
-       * ld-aarch64/emit-relocs-309-up.d: Adjust .got address.
-       * ld-aarch64/emit-relocs-312.d: Adjust offsets into .got.
-       * ld-aarch64/tls-relax-all.d: Likewise.
-       * ld-aarch64/gc-got-relocs.d: Adjust expected .got content.
-       * ld-aarch64/gc-tls-relocs.d: Likewise.
-       * ld-aarch64/tls-relax-gd-ie.d: Likewise.
-       * ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
-       * ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
-
 2013-07-02  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for
 2013-04-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
 
        PR ld/12494
-       * bfd/elf32-avr.c: Consider all sections to determine if linker
+       * elf32-avr.c: Consider all sections to determine if linker
        relaxation can safely delete a ret after a call/jmp
 
 2013-04-09  Mingjie Xing  <mingjie.xing@gmail.com>
This page took 0.027965 seconds and 4 git commands to generate.