Several fixes related to ARC PIE support.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 84fceea4fac7cce9f21e0c5b8d605071ccf09666..1ce5ab1c9ab54707face2b7c62eb39e06860a279 100644 (file)
@@ -1,3 +1,97 @@
+2016-08-26  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * elf-bfd.h: Added ARC_ELF_DATA to enum elf_target_id.
+       * elf32-arc.c (struct elf_arc_link_hash_entry): Added.
+       (struct elf_arc_link_hash_table): Likewise.
+       (elf_arc_link_hash_newfunc): Likewise.
+       (elf_arc_link_hash_table_free): Likewise.
+       (arc_elf_link_hash_table_create): Likewise.
+       (elf_arc_relocate_section): Fixed conditions related to dynamic
+       (elf_arc_check_relocs): Likewise.
+       (arc_elf_create_dynamic_sections): Added
+       (elf_arc_adjust_dynamic_symbol): Changed access to .rela.bss to be done
+       through the hash table.
+
+2016-08-26  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-got.h (relocate_fix_got_relocs_for_got_info): Fixed addresses in
+       debug comments. Fixed address in .got related to TLS_IE_GOT dynamic
+       relocation.
+
+2016-08-26  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * reloc.c: Fixed type in ARC_SECTOFF relocations. Added ARC_SDA_12
+       relocation.
+       * bfd-in2.h: Regenerated from the previous changes.
+       * libbfd.h: Regenerated from the previous changes.
+
+2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add a new parameter for
+       the input import library bfd.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (struct elf32_arm_link_hash_table): New in_implib_bfd
+       and new_cmse_stub_offset fields.
+       (stub_hash_newfunc): Initialize stub_offset and stub_template_size to
+       -1.
+       (elf32_arm_add_stub): Likewise for stub_offset.
+       (arm_new_stubs_start_offset_ptr): New function.
+       (arm_build_one_stub): Only allocate a stub_offset if it is -1.  Allow
+       empty SG veneers to have zero relocations.
+       (arm_size_one_stub): Only initialize stub size and template
+       information for non empty veneers.  Do not update veneer section size
+       if veneer already has an offset.
+       (elf32_arm_create_stub): Return the stub entry pointer or NULL instead
+       of a boolean indicating success or failure.
+       (cmse_scan): Change stub_changed parameter into an integer pointer
+       parameter cmse_stub_created to count the number of stub created and
+       adapt to change of return value in elf32_arm_create_stub.
+       (cmse_entry_fct_p): New function.
+       (arm_list_new_cmse_stub): Likewise.
+       (set_cmse_veneer_addr_from_implib): Likewise.
+       (elf32_arm_size_stubs): Define cmse_stub_created, pass its address to
+       cmse_scan instead of that of cmse_stub_changed to compute the number
+       of stub created and use it to initialize stub_changed.  Call
+       set_cmse_veneer_addr_from_implib after all cmse_scan.  Adapt to change
+       of return value in elf32_arm_create_stub.  Use
+       arm_stub_section_start_offset () if not NULL to initialize size of
+       secure gateway veneers section.  Initialize stub_offset of Cortex-A8
+       erratum fix to -1.  Use ret to hold return value.
+       (elf32_arm_build_stubs): Use arm_stub_section_start_offset () if not
+       NULL to initialize size of secure gateway veneers section.  Adapt
+       comment to stress the importance of zeroing veneer section content.
+       (bfd_elf32_arm_set_target_relocs): Add new in_implib_bfd parameter to
+       initialize eponymous field in struct elf32_arm_link_hash_table.
+
+2016-08-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * elf32-s390.c (stdarg.h): New include.
+       (elf_s390_grok_psinfo): New function.
+       (elf_s390_write_core_note): New function.
+       (elf_backend_grok_psinfo): Declare backend hook.
+       (elf_backend_write_core_note): Likewise.
+       * elf64-s390.c (stdarg.h): New include.
+       (elf_s390_grok_prstatus): New function.
+       (elf_s390_grok_psinfo): New function.
+       (elf_s390_write_core_note): New function.
+       (elf_backend_grok_prstatus): Declare backend hook.
+       (elf_backend_grok_psinfo): Likewise.
+       (elf_backend_write_core_note): Likewise.
+
+2016-08-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * elf32-s390.c (allocate_dynrelocs): Fix indentation.
+       (elf_s390_finish_ifunc_symbol): Likewise.
+       (elf_s390_finish_dynamic_symbol): Likewise.
+       (elf_s390_finish_dynamic_sections): Likewise.
+       (elf_s390_grok_prstatus): Likewise.
+       * elf64-s390.c (elf_s390_hash_table): Fix indentation.
+       (elf_s390_finish_dynamic_symbol): Likewise.
+
+2016-08-24  Anton Kolesov  <Anton.Kolesov@synopsys.com>
+
+       * elf32-arc.c (elf32_arc_grok_prstatus): New function.
+
 2016-08-23  Nick Clifton  <nickc@redhat.com>
 
        * elf32-arm.c (elf32_arm_count_additional_relocs): Return zero if
This page took 0.034114 seconds and 4 git commands to generate.