From 05bf94229c3fa9d7c231596f26a9a7144abd6546 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 23 Oct 2006 03:20:56 +0000 Subject: [PATCH] * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment. --- bfd/ChangeLog | 84 ++++++++++++++++++++++++++----------------------- bfd/elf64-ppc.c | 2 +- 2 files changed, 45 insertions(+), 41 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7792d8bd9af..0dd9d97d758 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2006-10-23 Alan Modra + + * elf64-ppc.c (ppc64_elf_edit_opd): Clarify comment. + 2006-10-23 Alan Modra * elf32-score.c: Formatting. @@ -88,10 +92,10 @@ 2006-10-17 Mark Shinwell - * 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 @@ -161,7 +165,7 @@ 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 @@ -227,7 +231,7 @@ 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 @@ -345,9 +349,9 @@ (copy_elf_program_header): Likewise. 2006-09-26 Mark Shinwell - Joseph Myers - Ian Lance Taylor - Ben Elliston + Joseph Myers + Ian Lance Taylor + Ben Elliston * archures.c: Add definition for bfd_mach_arm_iWMMXt2. * cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2. @@ -561,10 +565,10 @@ 2006-09-04 Mark Shinwell - * 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 @@ -607,7 +611,7 @@ * 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 @@ -654,7 +658,7 @@ segment alignment to 1. 2006-08-15 Thiemo Seufer - Nigel Stephens + Nigel Stephens * elf32-mips.c, elf64-mips.c, elfn32-mips.c (elf_backend_merge_symbol_attribute): Define. @@ -663,8 +667,8 @@ * elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function. 2006-08-15 Thiemo Seufer - Nigel Stephens - David Ung + Nigel Stephens + David Ung * config.bfd: Add configurations for mips*el-sde-elf* and mips*-sde-elf*. @@ -1490,7 +1494,7 @@ 2006-05-24 Carlos O'Donell Randolph Chung - + * elf-hppa.h (reloc_hppa_howto_table): Check bitfield for TPREL21L/TPREL14R relocations. Handle LTOFF_TP14R relocations. Add handling for TLS relocations. @@ -1505,7 +1509,7 @@ (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. @@ -1519,13 +1523,13 @@ hh_name and eh_name macros. (elf32_hppa_reloc_type_clas): Handle TLS relocs. -2006-05-24 Bjoern Haase +2006-05-24 Bjoern Haase - * 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. @@ -1541,10 +1545,10 @@ (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. @@ -1553,7 +1557,7 @@ (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. @@ -1662,7 +1666,7 @@ 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 @@ -1720,7 +1724,7 @@ * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused local variable `dynobj'. - + 2006-05-05 Bjoern Haase * elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all @@ -2507,7 +2511,7 @@ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all in_list elements, not just the first. - + 2006-03-14 Richard Sandiford * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split @@ -2628,7 +2632,7 @@ mismatch. (elf32_m68k_print_private_bfd_data): Adjust. * ieee.c (ieee_write_processor): Adjust. - + 2006-03-06 Alan Modra * dwarf2.c: Formatting. @@ -2659,7 +2663,7 @@ 2006-03-03 Bjoern Haase * 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. @@ -2743,7 +2747,7 @@ (allocate_dynrelocs): Likewise. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. - + 2006-02-27 Jakub Jelinek * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag. @@ -2795,7 +2799,7 @@ * 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 * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs. @@ -2813,7 +2817,7 @@ * reloc.c: Add m32c relax relocs. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. - + 2006-02-24 H.J. Lu PR ld/2218 @@ -2863,12 +2867,12 @@ * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. 2006-02-17 Shrirang Khisti - Anil Paranjape - Shilin Shakti + Anil Paranjape + Shilin Shakti - * 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 @@ -2877,7 +2881,7 @@ * 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 @@ -2969,7 +2973,7 @@ 2006-02-05 Arnold Metselaar - * 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. diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index fcbc71e9e92..886f987d0a8 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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; -- 2.30.2