* elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index dbf52756aeb41bc6fbe0b489e4f242dbed605636..edaf9c862e21b8bd6f8d599df98d445677e41a8e 100644 (file)
@@ -1,3 +1,217 @@
+2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
+       into addresses for relocation types that look at high bits.  Remove
+       special handling of relocation overflow warnings.
+
+2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the
+       control flow graph between fragments of a function.
+
+2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode,
+       generate only a 16-byte .toe section.
+       (spu_elf_build_stubs, spu_elf_auto_overlay): Likewise.
+
+2009-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_size_stubs): Split out section placement to..
+       (spu_elf_place_overlay_data): ..here.  New function.
+       * elf32-spu.h (spu_elf_place_overlay_data): Declare.
+
+2009-05-13  Andrew Jenner  <andrew@codesourcery.com>
+
+       * elf32-arm.c: Move sysdep.h to start of file.
+
+2009-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as
+       start of overlays.
+       (spu_elf_build_stubs): Don't define __icache_tagbase.  Define
+       __icache_tag_array and __icache_tag_array_size.
+
+2009-05-11  Masaki Muranaka  <monaka@monami-software.com>
+
+       * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary
+       ATTRIBUTE_UNUSED.
+       (bfinfdpic_link_omit_section_dynsym): Likewise.
+       (elf32_bfinfdpic_finish_dynamic_sections): Likewise.
+
+2009-05-05  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define.
+       (_arm_elf_section_data): Add text and exidx fields.
+       (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size,
+       insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31,
+       copy_exidx_entry): New functions.
+       (elf32_arm_write_section): Fixup .ARM.exidx contents.
+
+2009-05-05  Christophe lyon  <christophe.lyon@st.com>
+
+       * elf32-arm.c (DEF_STUBS): New helper define.
+       (DEF_STUB): Likewise.
+       (stub_def): New type.
+       (stub_definitions): New array, containing stub template pointers
+       and sizes.
+       (arm_size_one_stub): Make use of stub_definitions.
+
+2009-05-04  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * elflink.c (find_version_for_sym):  Remove from here, ...
+       * linker.c (bfd_find_version_for_sym):  ... rename, replace
+       here, make public and update all callers.
+       * bfd-in2.h:  Regenerate.
+
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
+       section pointer.
+       (struct elf_obj_data): Add has_ifunc_symbols boolean.
+       * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
+       into a STT_GNU_IFUNC symbol type.
+       (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
+       type.
+       (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
+       the binary contains ifunc symbols.
+       * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
+       symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
+       * elf32-i386.c (is_indirect_function): New function.
+       (elf_i386_check_relocs): Create an ifunc output section.
+       (allocate_dynrelocs): Create dynamic relocs in the ifunc output
+       section if necessary.
+       (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
+       if necessary.
+       (elf_i386_add_symbol_hook): New function. Set the
+       has_ifunc_symbols field of the elf_obj_data structure if an ifunc
+       symbol is encountered.
+       (elf_backend_post_process_headers): Define.
+       (elf_backend_add_symbol_hook): Define.
+       (elf_i386_post_process_headers): Rename to
+       elf_i388_fbsd_post_process_headers.
+       * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
+       (is_indirect_function): New function.
+       (elf64_x86_64_check_relocs): Create an ifunc output section.
+       (allocate_dynrelocs): Create dynamic relocs in the ifunc output
+       section if necessary.
+       (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
+       symbol if necessary.
+       (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
+       elf_obj_data structure if an ifunc symbol is encountered.
+       (elf_backend_post_process_headers): Define.
+       * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
+       if we have ifunc symbols to handle.
+       (get_ifunc_reloc_section_name): New function.  Computes the name
+       for an ifunc section.
+       (_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
+       section to hold ifunc relocs.
+       * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
+       (bfd_print_symbol_vandf): Handle ifunc symbols.
+       (bfd_decode_symclass): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2009-04-30  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
+       MOVW and MOVT relocations in a shared library link.
+
+2009-04-27  Anthony Green  <green@moxielogic.com>
+
+       * verilog.c: New file.
+       * Makefile.am (BFD32_LIBS): Add verilog.c.
+       (BFD32_LIBS_CFILES): Add verilog.c.
+       (verilog.lo): New build rule.
+       * Makefile.in: Rebuilt.
+       * targets.c: Add verilog support.
+       * bfd.c (tdata union): Add Verilog private data field.
+       * bfd-in2.h: Regenerate.
+
+2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
+       copy pe_opthdr.
+
+2009-04-23  Matthias Klose  <doko@ubuntu.com>
+
+       * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
+
+2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
+
+       PR9743
+       * elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
+       R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+       (elf32_arm_size_stubs): Likewise.
+       (record_thumb_to_arm_glue): Deleted unused function.
+       (bfd_elf32_arm_process_before_allocation): No longer handle
+       R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
+       (elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
+       R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+
+2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
+       (elf32_arm_write_section): Declare early.
+       (elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
+       (arm_allocate_glue_section_space): Exclude empty sections.
+       (ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
+       (bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
+       BFD.
+       (elf32_arm_output_glue_section, elf32_arm_final_link): New.
+       (elf32_arm_merge_eabi_attributes): Skip the stub BFD.
+       (elf32_arm_size_dynamic_sections): Allocate interworking
+       sections here.
+       (bfd_elf32_bfd_final_link): Define.
+
+2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
+       
+       * coffcode.h (coff_compute_section_file_positions): Clear
+       D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
+
+       * libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
+       force_minimum_alignment.
+
+       * libcoff.h: Regenerated.
+
+       * pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
+       (PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
+
+       * peicode.h (pe_mkobject): Don't set force_minimum_alignment
+       nor target_subsystem.
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
+       force_minimum_alignment nor target_subsystem.
+
+2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
+
+       * coff-x86_64.c (PEI_HEADERS): Protect includes.
+       (bfd_pe_print_pdata): Remove #ifdef PE variation.
+       * pei-x86_64.c (PEI_HEADERS): Define to prevent double
+       include in coff-x86_64.c of headers.
+       (PDATA_ROW_SIZE): New define.
+       (pex_regs[]): New static array.
+       (pex64_get_runtime_function): New static function.
+       (pex64_get_unwind_info): Likewise.
+       (pex64_get_scope_entry): Likewise.
+       (pex64_xdata_print_uwd_codes): Likewise.
+       (pex64_get_section_by_rva): Likewise.
+       (pex64_dump_xdata): Likewise.
+       (pex64_bfd_print_pdata): Likewise.
+       (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
+       * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
+       * libpei.h (_bfd_pex64_print_pdata): Removed declaration.
+
+2009-04-19  Peter O'Gorman  <binutils@mlists.thewrittenword.com>
+           Alan Modra  <amodra@bigpond.net.au>
+           Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
+       long names and non-NUL-terminated strings.
+
 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * bfd-in2.h: Regenerated.
            Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_*
-        macros for visibilty and locality checks.
+       macros for visibilty and locality checks.
        (elf_s390_adjust_dynamic_symbol): Likewise.
        (allocate_dynrelocs): Likewise.
        (elf_s390_relocate_section): Likewise.
This page took 0.026314 seconds and 4 git commands to generate.