* elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment.
authorAlan Modra <amodra@gmail.com>
Mon, 23 Oct 2006 03:20:56 +0000 (03:20 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Oct 2006 03:20:56 +0000 (03:20 +0000)
bfd/ChangeLog
bfd/elf64-ppc.c

index 7792d8b..0dd9d97 100644 (file)
@@ -1,5 +1,9 @@
 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.
 
 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.
index fcbc71e..886f987 100644 (file)
@@ -6608,7 +6608,7 @@ ppc64_elf_edit_opd (bfd *obfd, struct bfd_link_info *info,
              sec->contents = new_contents;
            }
 
-         /* Fudge the size too, as this is used later in
+         /* Fudge the header size too, as this is used later in
             elf_bfd_final_link if we are emitting relocs.  */
          elf_section_data (sec)->rel_hdr.sh_size
            = sec->reloc_count * elf_section_data (sec)->rel_hdr.sh_entsize;