bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 7919e9537edaa8e3ec15b491a7dedb1987c7e289..1f8d8f090bbbf5f6bf136bb655346769d7db8cb7 100644 (file)
@@ -1,3 +1,109 @@
+2006-10-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * section.c (SEC_KEEP): Update comment.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (bfd_elf_gc_sections): Ignore SEC_EXCLUDE sections.
+       * merge.c (_bfd_merge_sections): Set SEC_KEEP on excluded sections.
+       * stabs.c (_bfd_discard_section_stabs): Likewise.
+       (_bfd_link_section_stabs): Likewise.  Simplify abs_section check.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
+
+       * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
+       * targets.c (find_target): Remove extraneous break.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
+       (struct maxq_reloc_map): Unused; remove.
+       (maxq_reloc_map): Likewise.
+       (maxq_reloc_type_lookup): Remove loop over maxq_reloc_map.
+
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * elf.c (bfd_elf_set_dyn_lib_class): Change second argument type
+       from int to enum dynamic_lib_link_class lib_class.
+       * bfd-in.h (bfd_elf_set_dyn_lib_class): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2006-10-25  Alan Modra  <amodra@bigpond.net.au>
+           Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
+           Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
+           Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
+
+       * cpu-spu.c: New file.
+       * elf32-spu.c: New file.
+       * elf32-spu.h: New file.
+       * archures.c: Add SPU support.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * reloc.c: Likewise.
+       * targets.c: Likewise.
+       * Makefile.am: Likewise.  Run "make dep-am".
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-score.c: Formatting.
+       (elf_backend_omit_section_dynsym): Define.
+       (score_elf_create_dynamic_relocation): Remove code copied from mips.
+       Don't use section syms in dynamic relocs.  Remove unused param.
+       (score_elf_final_link_relocate): Remove unused param.
+
+2006-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (fix_syms): Choose best of previous and next
+       section based on section flags and vma.
+
+2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh64.c (sh64_elf_merge_symbol_attribute): Do merging
+       only when the non visibility part of st_other is non-zero.
+       * elf64-sh64.c (sh64_elf64_merge_symbol_attribute): Likewise.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't extend
+       PT_DYNAMIC on GNU/Linux targets.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make the
+       size of .rel.dyn reflect the value of DT_RELSZ.
+
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
+       a PT_NULL header for dynamic objects.
+       (_bfd_mips_elf_modify_segment_map): Add it.
+
+2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * elf32-score.c (score_elf_rel_dyn_section): Replace
+       bfd_make_section with bfd_make_section_with_flags.
+       (_bfd_score_elf_create_dynamic_sections): Ditto.
+       (score_elf_create_got_section): Ditto.
+       (score_elf_final_link_relocate): Delete referrence to
+       EF_SCORE_HASENTRY.
+
+2006-10-19  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
+       same symbol by increasing r_offset.
+       (sort_dynamic_relocs_64): Likewise.  Fix comparisons between very
+       large and very small symbol indexes.
+
 2006-10-19  Richard Sandiford  <richard@codesourcery.com>
 
        * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
 
 2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
 
-        * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
-        R_THM_CALL to 25 and remove FIXME comment.
-        (using_thumb2): New function.
-        (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
+       * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
+       R_THM_CALL to 25 and remove FIXME comment.
+       (using_thumb2): New function.
+       (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
 
 2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
 
 
        PR ld/3314
        * elf.c (assign_file_positions_for_non_load_sections): Don't
-       page align empty SHF_ALLOC sections.  
+       page align empty SHF_ALLOC sections.
 
 2006-10-13  Jakub Jelinek  <jakub@redhat.com>
 
        PR 3276
        * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
        alignment for .data$, .rdata$ and .text$ sections so that sse
-       and sse2 code will work for linkonce sections too. 
+       and sse2 code will work for linkonce sections too.
        * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
 
 2006-09-28  Alan Modra  <amodra@bigpond.net.au>
        (copy_elf_program_header): Likewise.
 
 2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
-            Joseph Myers  <joseph@codesourcery.com>
-            Ian Lance Taylor  <ian@wasabisystems.com>
-            Ben Elliston  <bje@wasabisystems.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Ian Lance Taylor  <ian@wasabisystems.com>
+           Ben Elliston  <bje@wasabisystems.com>
 
        * archures.c: Add definition for bfd_mach_arm_iWMMXt2.
        * cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
 
 2006-09-04  Mark Shinwell  <shinwell@codesourcery.com>
 
-        * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
-        R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
-        (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
-        and R_ARM_THM_PC12 relocations.
+       * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
+       R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
+       (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
+       and R_ARM_THM_PC12 relocations.
 
 2006-08-24  Bob Wilson  <bob.wilson@acm.org>
 
        * pe-arm.c: Remove ARM_WINCE block. Rename
        bfd_arm_pe_allocate_interworking_sections,
        bfd_arm_pe_get_bfd_for_interworking, and
-       bfd_arm_pe_process_before_allocation to        
+       bfd_arm_pe_process_before_allocation to
        bfd_armpe_allocate_interworking_sections,
        bfd_armpe_get_bfd_for_interworking, and
        bfd_armpe_process_before_allocation. Move them before
        segment alignment to 1.
 
 2006-08-15  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
+           Nigel Stephens  <nigel@mips.com>
 
        * elf32-mips.c, elf64-mips.c, elfn32-mips.c
        (elf_backend_merge_symbol_attribute): Define.
        * elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.
 
 2006-08-15  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-            David Ung  <davidu@mips.com>
+           Nigel Stephens  <nigel@mips.com>
+           David Ung  <davidu@mips.com>
 
        * config.bfd: Add configurations for mips*el-sde-elf* and
        mips*-sde-elf*.
 
 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
            Randolph Chung  <tausq@debian.org>
-           
+
        * elf-hppa.h (reloc_hppa_howto_table): Check bitfield for
        TPREL21L/TPREL14R relocations. Handle LTOFF_TP14R relocations.
        Add handling for TLS relocations.
        (elf32_hppa_copy_indirect_symbol): Copy TLS information.
        (elf32_hppa_check_relocs): Call elf32_hppa_optimized_tls_reloc.
        Handle TLS relocs.
-       (elf32_hppa_gc_sweep_hook): Likewise. 
+       (elf32_hppa_gc_sweep_hook): Likewise.
        (allocate_dynrelocs): Handle TLS relocs.
        (elf32_hppa_size_dynamic_sections): Count space required by TLS
        relocs. Use hh_name macro.
        hh_name and eh_name macros.
        (elf32_hppa_reloc_type_clas): Handle TLS relocs.
 
-2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de> 
+2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
 
-        * archures.c: Add bfd_mach_avr6.
+       * archures.c: Add bfd_mach_avr6.
        * cpu-avr.c: Likewise.
        * reloc.c (BFD_RELOC_AVR_LO8_LDI_GS, BFD_RELOC_AVR_HI8_LDI_GS):
        New relocations.
-       * libbfd.h: Regenerate. 
+       * libbfd.h: Regenerate.
        * bfd-in2.h:Regenerate.
        * elf32-avr.h: New file.  Protoypes for functions accessed from ld.
        * elf32-avr.c: Add elf32-avr.h to include list.
        (debug_relax, debug_stubs): Add new global variables controlling
        debugging printout to stdout.
        (avr_pc_wrap_around): Change the type to bfd_vma.
-       (avr_replace_call_ret_sequences): Add a new variable controling 
+       (avr_replace_call_ret_sequences): Add a new variable controling
        linkrelax optimizations.
        (avr_stub_is_required_for_16_bit_reloc): New function.
-       (avr_final_link_relocate): 
+       (avr_final_link_relocate):
        Add linker hash table to parameter list. Use stub addr. if necessary.
        (elf32_avr_relocate_section):
        Add linker hashtable to parameter list of avr_final_link_relocate.
        (elf32_avr_relax_delete_bytes):
        Iterate over all sections of a bfd when adjusting relocs addends.
        (elf32_avr_relax_section):
-       Evaluate avr_replace_call_ret_sequences and recalculate the size of 
+       Evaluate avr_replace_call_ret_sequences and recalculate the size of
        stub section.
        (avr_stub_name): New function.
        (avr_get_stub_entry): New function.
        decode errors.  Replace call to insn_decode_len with inline code.
        Use can_narrow_instruction and can_widen_instruction.  Handle errors
        from call to xtensa_opcode_is_loop.
-       (relax_section): Adjust calls to narrow_instruction and 
+       (relax_section): Adjust calls to narrow_instruction and
        widen_instruction.
 
 2006-05-15  Alan Modra  <amodra@bigpond.net.au>
 
        * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
        local variable `dynobj'.
-       
+
 2006-05-05  Bjoern Haase  <bjoern.m.haase@web.de>
 
        * elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all
 
        * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
        in_list elements, not just the first.
-       
+
 2006-03-14  Richard Sandiford  <richard@codesourcery.com>
 
        * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
        mismatch.
        (elf32_m68k_print_private_bfd_data): Adjust.
        * ieee.c (ieee_write_processor): Adjust.
-       
+
 2006-03-06  Alan Modra  <amodra@bigpond.net.au>
 
        * dwarf2.c: Formatting.
 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
 
        * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
-       and R_AVR_MS8_LDI 
+       and R_AVR_MS8_LDI
        (bfd_elf_avr_final_write_processing): Set
        EF_AVR_LINKRELAX_PREPARED in e_flags field.
        (elf32_avr_relax_section): New function.
        (allocate_dynrelocs): Likewise.
        (elf_i386_size_dynamic_sections): Likewise.
        (elf_i386_relocate_section): Likewise.
-       
+
 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
        * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
        (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
        (ppc_elf_finish_dynamic_symbol): Likewise.
-       
+
 2006-02-24  DJ Delorie  <dj@redhat.com>
 
        * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
        * reloc.c: Add m32c relax relocs.
        * libbfd.h: Regenerate.
        * bfd-in2.h: Regenerate.
-       
+
 2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/2218
        * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
 
 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-            Anil Paranjape   <anilp1@kpitcummins.com>
-            Shilin Shakti    <shilins@kpitcummins.com>
+           Anil Paranjape  <anilp1@kpitcummins.com>
+           Shilin Shakti  <shilins@kpitcummins.com>
 
-       * Makefile.am: Add xc16x related entry 
-       * Makefile.in: Regenerate 
-       * archures.c: Add bfd_xc16x_arch 
+       * Makefile.am: Add xc16x related entry
+       * Makefile.in: Regenerate
+       * archures.c: Add bfd_xc16x_arch
        * bfd-in2.h: Regenerate
        * config.bfd: Add xc16x-*-elf
        * configure.in: Add bfd_elf32_xc16x_vec
        * cpu-xc16x.c: New file
        * reloc.c: Add new relocations specific to xc16x:
        BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
-       BFD_RELOC_XC16X_SOF     
+       BFD_RELOC_XC16X_SOF
        * elf32-xc16x.c: New file.
 
 2006-02-17  Alan Modra  <amodra@bigpond.net.au>
 
 2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
 
-       * coff-z80.c (r_imm24): New howto. 
+       * coff-z80.c (r_imm24): New howto.
        (rtype2howto): New case R_IMM24.
        (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
        (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
This page took 0.029566 seconds and 4 git commands to generate.