X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=bfd%2FChangeLog;h=6a1d301b58453c08e6885ce2f34ec4d2c76a26d8;hb=dea514f51da1051f9f3cd7a746e3b68085aa1a72;hp=df818211b2b34cb77ef0dce4ddcbb69e2510263e;hpb=43cd72b9aa3a95b0345587974c14b6d237f79a5f;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index df818211b2..6a1d301b58 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4 +1,696 @@ +2004-11-30 Paul Brook + + * elf32-arm.c (struct elf32_arm_link_hash_table): Remove + no_pipeline_knowledge + (elf32_arm_link_hash_table_create): Ditto. + (bfd_elf32_arm_process_before_allocation): Ditto. + (elf32_arm_final_link_relocate): Ditto. Remove oabi relocation + handling. + * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update + prototype. + * bfd-in2.h: Regenerate. + +2004-11-30 Randolph Chung + + * elf32-hppa.c (elf32_hppa_grok_prstatus): New function. + (elf32_hppa_grok_psinfo): New function. + (elf_backend_grok_prstatus): Define. + (elf_backend_grok_psinfo): Define. + +2004-11-24 H.J. Lu + + PR 574: + * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. + +2004-11-24 Paul Brook + + * elf.c (assign_section_numbers): Number SHT_GROUP sections first. + +2004-11-24 Paul Brook + + * elf32-arm.c (elf32_arm_swap_symbol_in): New function. + (elf32_arm_swap_symbol_out): New function. + (elf32_arm_size_info): Add. + (elf_backend_size_info): Define. + +2004-11-20 John David Anglin + + * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to + make_bfd_asection. + +2004-11-19 Alan Modra + + * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix. + * elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. + * nlmcode.h (nlm_write_object_contents): Warning fix. + +2004-11-18 Bob Wilson + + * elf32-xtensa.c (ebb_propose_action): Fix argument order. + +2004-11-17 Daniel Jacobowitz + + * elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. + (elf32_arm_plt_thumb_stub): New. + (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount + and plt_got_offset. + (elf32_arm_link_hash_traverse): Fix typo. + (elf32_arm_link_hash_table): Add obfd. + (elf32_arm_link_hash_newfunc): Initialize new fields. + (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. + (elf32_arm_link_hash_table_create): Initialize obfd. + (record_arm_to_thumb_glue): Mark the glue as a local ARM function. + (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. + (bfd_elf32_arm_get_bfd_for_interworking): Verify that the + interworking BFD is not dynamic. + (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do + not emit glue for PLT references. + (elf32_arm_final_link_relocate): Handle Thumb functions. Do not + emit glue for PLT references. Support the Thumb PLT prefix. + (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and + plt_thumb_refcount. + (elf32_arm_check_relocs): Likewise. + (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and + plt_thumb_refcount. + (allocate_dynrelocs): Handle Thumb PLT references. + (elf32_arm_finish_dynamic_symbol): Likewise. + (elf32_arm_symbol_processing): New function. + (elf_backend_symbol_processing): Define. + +2004-11-16 Richard Sandiford + + * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and + add_fde_encoding. Remove need_relative. + * elf-eh-frame.c (extra_augmentation_string_bytes) + (extra_augmentation_data_bytes, size_of_output_cie_fde): New functions. + (_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding + in cases where the CIE has no existing 'R' augmentation. Use + size_of_output_cie_fde when assigning offsets. Use the final offset + as the new section size. + (_bfd_elf_eh_frame_section_offset): Remove need_relative handling. + Account for any extra augmentation bytes in the returned offset. + (_bfd_elf_write_section_eh_frame): Rework so that the entries are + moved before being modified. Pad growing entries with DW_CFA_nops. + Add 'z' and 'R' augmentations as directed by add_augmentation_size + and add_fde_encoding. + +2004-11-15 Mark Mitchell + + * elf32-arm.c (elf32_arm_relocate_section): Use + arm_real_reloc_type. + +2004-11-16 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early + for discard relocations; don't add an R_MIPS_NONE to the main body + of .rel.dyn. + +2004-11-04 Paul Brook + + * elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. + * elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. + (_bfd_elf_slurp_version_tables): Add extra argument. Create extra + default version definition for unversioned symbols. + * elfcode.h (elf_slurp_symbol_table): Pass extra argument. + * elflink.c (elf_link_add_object_symbols): Pass extra argument to + _bfd_elf_slurp_version_tables. Set default version for unversioned + imported symbols. + +2004-11-15 Paul Brook + + * elflink.c (elf_link_add_object_symbols): Don't assume version + indices are consecutive. + +2004-11-14 Richard Sandiford + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with + composite relocations against the personality data. + +2004-11-13 Paul Brook + + * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve + R_ARM_PREL31 relocations to PLT entries. + (elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. + (elf32_arm_check_relocs): Ditto. + +2004-11-12 Bob Wilson + + * xtensa-isa.c (xtensa_interface_class_id): New. + +2004-11-11 Bob Wilson + + * elf32-xtensa.c (property_table_compare): Remove assertion about + entries with the same address and non-zero size. + (xtensa_read_table_entries): Report such entries as errors. + +2004-11-11 Mark Mitchell + + * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for + R_ARM_RELATIVE on Symbian OS. + +2004-11-09 Mark Mitchell + + * som.c (som_bfd_print_private_bfd_data): New function. + (som_object_setup): Save the auxiliary header. Don't assume that + zero is an invalid entry point for a shared library. + (som_object_p): Allocate the auxiliary header on the heap. + + * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R + declaration. + (elf32_arm_symbian_modify_segment_map): Likewise. + +2004-11-09 Daniel Jacobowitz + + From David Poole : + * elf32-arm.c (elf32_arm_readonly_dynrelocs): New function. + (elf32_arm_size_dynamic_sections): Call it. + +2004-11-09 Alan Modra + + * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h. + (ALL_MACHINES_CFILES): Fix typo. + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2004-11-08 Mark Mitchell + + * elf32-arm.c (elf32_arm_final_link_relocate): When generating an + R_ARM_RELATIVE relocation for Symbian OS, mention the section + symbol in the relocation. + +2004-11-08 Inderpreet Singh + Vineet Sharma + + * coff-maxq.c: New File. + * cpu-maxq.c: New File. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.in (maxqcoff_vec): New target vector. + * Makefile.am: Add support for maxq target. + * configure.in: Likewise. + * archures.c:. Likewise. + * targets.c: Likewise. + * bfd_in2.h : Regenerated. + * Makefile.in: Regenerated. + * configure: Regenerated. + * doc/Makefile.in: Regenerated. + +2004-11-08 Aaron W. LaFramboise + + * coff-i386.c (coff_i386_reloc): Fix weak symbols. + * cofflink.c (_bfd_coff_link_input_bfd): Don't process + C_NT_WEAK aux entries. + (_bfd_coff_generic_relocate_section): Handle undefined + aliases. + +2004-11-07 Andreas Schwab + + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use + SYMBOL_CALLS_LOCAL and check for undefweak symbols with + non-default visibility. + +2004-11-01 Mark Mitchell + + * elf32-arm.c (elf32_arm_symbian_begin_write_processing): Clear + D_PAGED. + (elf32_arm_symbian_modify_segment_map): Don't + reset includes_filehdr and includes_phdrs here. + +2004-11-04 Daniel Jacobowitz + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace + elfarm-nabi with elf32-arm. Remove elfarm-oabi. + (elf32-arm.lo): Replace elfarm-nabi.lo rule. Remove elf32-arm.h + dependency. + * config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list + to a new removed list. Remove normal configuration stanzas. + * configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec) + (bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace + elfarm-nabi.lo with elf32-arm.lo. + (bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove. + * elf32-arm.c: Renamed from elfarm-nabi.c. Inline elf32-arm.h. + * elf32-arm.h: Remove. + * elfarm-oabi.c: Remove. + * targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec + and bfd_elf32_littlearm_oabi_vec. + * aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated. + +2004-11-04 Hans-Peter Nilsson + + * config.bfd: Support crisv32-*-* like cris-*-*. + * archures.c (bfd_mach_cris_v0_v10, bfd_mach_cris_v32) + (bfd_mach_cris_v10_v32): New macros. + * cpu-cris.c: Tweak formatting. + (get_compatible): New function. + (N): New macro. + (bfd_cris_arch_compat_v10_v32, bfd_cris_arch_v32): New + bfd_arch_info_type:s. + (bfd_cris_arch): Use bfd_mach_cris_v0_v10 for member mach, + get_compatible for member compatible and link bfd_cris_arch_v32 as + next. + * elf32-cris.c (cris_elf_pcrel_reloc) + (cris_elf_set_mach_from_flags): New functions. + (cris_elf_howto_table) + : Use cris_elf_pcrel_reloc. + (cris_elf_grok_prstatus, cris_elf_grok_psinfo): Give correct + numbers for bfd_mach_cris_v32. + (PLT_ENTRY_SIZE_V32): New macro. + (elf_cris_plt0_entry): Drop last comma in initializer. + (elf_cris_plt0_entry_v32, elf_cris_plt_entry_v32) + (elf_cris_pic_plt0_entry_v32, elf_cris_pic_plt_entry_v32): New + PLT initializers. + (cris_elf_relocate_section): Change all "%B(%A)" messages to + "%B, section %A". + (elf_cris_finish_dynamic_symbol): Do V32-specific PLT entries. + (elf_cris_finish_dynamic_sections): Similar. + (elf_cris_adjust_dynamic_symbol): Similar. + (cris_elf_check_relocs): Change all "%B(%A)" messages to "%B, + section %A". + : Emit error and return FALSE for + bfd_mach_cris_v10_v32. + : + Emit warning when generating textrel reloc. + (cris_elf_object_p): Call cris_elf_set_mach_from_flags. + (cris_elf_final_write_processing): Set flags according to mach. + (cris_elf_print_private_bfd_data): Display + EF_CRIS_VARIANT_COMMON_V10_V32 and EF_CRIS_VARIANT_V32. + (cris_elf_merge_private_bfd_data): Drop variables old_flags, + new_flags. Don't call cris_elf_final_write_processing. Don't + look at the actual elf header flags at all; use + bfd_get_symbol_leading_char to check ibfd, obfd. Trap difference + in bfd_get_mach for ibfd and obfd and handle merging of compatible + objects. + (bfd_elf32_bfd_copy_private_bfd_data): Define. + * reloc.c (BFD_RELOC_CRIS_SIGNED_8, BFD_RELOC_CRIS_UNSIGNED_8) + (BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_UNSIGNED_16) + (BFD_RELOC_CRIS_LAPCQ_OFFSET): New relocs. + * bfd-in2.h, libbfd.h: Regenerate. + +2004-11-04 Alan Modra + + * elf64-ppc.h (ppc64_elf_edit_toc): Declare. + * elf64-ppc.c (struct ppc_link_hash_entry ): Update + comment. + (struct adjust_toc_info): New. + (adjust_toc_syms, ppc64_elf_edit_toc): New functions. + +2004-11-03 Bob Wilson + + * elf.c (assign_file_positions_for_segments): Set next_file_pos even + if there are no segments. + +2004-11-02 Daniel Jacobowitz + + * config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete. + +2004-11-02 Nick Clifton + + * elf32-iq2000.c: Convert to ISO C90 formatting. + +2004-11-02 Hans-Peter Nilsson + + * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_. + +2004-10-28 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak + undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, + R_IA64_SECREL64MSB and R_IA64_SECREL64LSB. + +2004-10-28 Kaz Kojima + + * elf32-sh.c (tpoff): Take alignment into account. + +2004-10-28 Nick Clifton + + * elf32-iq2000.c (iq2000_elf_relocate_section): Do nothing when + performing a relocatable link. + (iq2000_elf_object_p): Do not set elf_bad_symtab. This is only + for MIPS ports under Irix. + +2004-10-27 Richard Earnshaw + + * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle + R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24. + (elf32_arm_final_link_relocate): Ditto. + (arm_add_to_rel, elf32_arm_relocate_section): Ditto. + (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto + (elf32_arm_adjust_dynamic_symbol): Ditto. + * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and + R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}... + (elf32_arm_r_howto): ... To here. + (elf32_arm_howto_from_type): Use elf32_arm_r_howto. + +2004-10-26 H.J. Lu + + PR 475 + * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct + R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB + and R_IA64_SECREL64LSB. + +2004-10-26 Paul Brook + + * elflink.c (elf_finalize_dynstr): Skip shared aux structure. + (bfd_elf_size_dynamic_sections): Create default version definition. + (elf_link_output_extsym): Adjust for default symbol version. + +2004-10-24 Hans-Peter Nilsson + + * mmo.c: Adjust to ISO C. + + * mmo.c (mmo_write_section_description): New function broken out + of mmo_internal_write_section. + (mmo_internal_write_section): For each of .text and .data, call + mmo_write_section_description before outputting contents if it has + nontrivially deducible vma or contents. + (mmo_has_leading_or_trailing_zero_tetra_p): New function. + (mmo_canonicalize_symtab): Adjust absolute symbols to .data + symbols if found within the .data address range. + +2004-10-24 Daniel Jacobowitz + + * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. + +2004-10-24 Hans-Peter Nilsson + + * mmo.c (File Layout): Correct place of misplaced blurb about + special data. + +2004-10-22 Mark Kettenis + + * config.bfd: Add mips64*-*-openbsd. + +2004-10-21 Bob Wilson + + * elf32-xtensa.c (ebb_propose_action): Put declarations before + statements. + +2004-10-21 H.J. Lu + + * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94. + * configure: Regenerate. + +2004-10-21 H.J. Lu + + PR 463 + * aoutx.h (aout_link_input_section_std): Pass proper hash entry + to linker reloc_overflow callback. + (aout_link_input_section_ext): Likewise. + (aout_link_reloc_link_order): Likewise. + * coff-a29k.c (coff_a29k_relocate_section): Likewise. + * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): + Likewise. + (alpha_relocate_section): Likewise. + * coff-arm.c (coff_arm_relocate_section): Likewise. + * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. + * coff-h8500.c (extra_case): Likewise. + * coff-i960.c (coff_i960_relocate_section): Likewise. + * coff-mcore.c (coff_mcore_relocate_section): Likewise. + * coff-mips.c (mips_relocate_section): Likewise. + * coff-or32.c (coff_or32_relocate_section): Likewise. + * coff-ppc.c (coff_ppc_relocate_section): Likewise. + * coff-rs6000.c (xcoff_ppc_relocate_section): Likewise. + * coff-sh.c (sh_relocate_section): Likewise. + * coff-tic80.c (coff_tic80_relocate_section): Likewise. + * coff-w65.c (w65_reloc16_extra_cases): Likewise. + * coff-z8k.c (extra_case): Likewise. + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. + * cofflink.c (_bfd_coff_reloc_link_order): Likewise. + (_bfd_coff_generic_relocate_section): Likewise. + * ecoff.c (ecoff_reloc_link_order): Likewise. + * elf-hppa.h (elf_hppa_relocate_section): Likewise. + * elf-m10200.c (mn10200_elf_relocate_section): Likewise. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.h (elf32_arm_relocate_section): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-crx.c (elf32_crx_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elflink.c (elf_reloc_link_order): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. + (_bfd_elf_mips_get_relocated_section_contents): Likewise. + * linker.c (_bfd_generic_reloc_link_order): Likewise. + * pdp11.c (pdp11_aout_link_input_section): Likewise. + (aout_link_reloc_link_order): Likewise. + * reloc.c (bfd_generic_get_relocated_section_contents): + Likewise. + * xcofflink.c (xcoff_reloc_link_order): Likewise. + * simple.c (simple_dummy_reloc_overflow): Updated. + +2004-10-20 Andreas Schwab + + * elf32-m68k.c (elf_m68k_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + +2004-10-19 Danny Smith + + * config.bfd: Set targ_underscore=yes for PE COFF targets + +2004-10-19 Alan Modra + + * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects. + (ppc64_elf_edit_opd): Likewise. + +2004-10-18 Mark Mitchell + + * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment. + * elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, + set SEC_ALLOC and SEC_LOAD. + +2004-10-18 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Compute + 'name' for relocs against both local and global symbols. + +2004-10-16 Daniel Jacobowitz + + * bfd-in2.h: Regenerate. + * bfd.c (struct bfd): Add no_export. + * elflink.c (elf_link_add_object_symbols): Handle no_export. + +2004-10-15 Alan Modra + + * config.bfd: Whitespace cleanup. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2004-10-15 Jakub Jelinek + + * elflink.c (struct already_linked_section): Removed. + (try_match_symbols_in_sections, already_linked): Removed. + (_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\. + prefix of section names when finding already_linked_table + chain. Compare section names. Instead of calling already_linked, + do it inline and only for sections in the same already_linked_list. + +2004-10-15 Alan Modra + + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info" + parameter. If called after _bfd_elf_write_section_eh_frame, + don't allow a -2 return unless need_* bit is already set, and + handle offsets adjusted for output_offset. + * elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype. + * elf.c (_bfd_elf_section_offset): Update call. + +2004-10-13 H.J. Lu + + PR 440 + * coffcode.h (coff_compute_section_file_positions): Cast to + bfd_vma when computing page alignment. + +2004-10-13 Mark Mitchell + + * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file + offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. + +2004-10-12 Mark Mitchell + + * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt + relocations use a virtual address, not a section offset. + +2004-10-12 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete. + (narrow_instruction, widen_instruction): Remove unnecessary calls to + xtensa_format_encode. + (ebb_propose_action): Inline call to ebb_add_proposed_action. + (ebb_add_proposed_action): Delete. + +2004-10-12 Bob Wilson + + * elf32-xtensa.c: Use ISO C90 formatting. + +2004-10-12 Paul Brook + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error + message. + +2004-10-12 Paul Brook + + * elf32-arm.h: Support EABI version 4 objects. + +2004-10-12 Alan Modra + + PR 325 + * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain. + Don't mark as default. + (bfd_x86_64_arch): Don't mark as default. + +2004-10-12 Alan Modra + + * elflink.c (enum action_discarded): New. + (elf_section_complain_discarded): Delete. + (elf_action_discarded): New function subsuming the above and also + controlling reloc behaviour. + (elf_link_input_bfd): Use it. + +2004-10-11 Jakub Jelinek + + * elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST. + (special_sections): Add .gnu.liblist and .gnu.conflict. + (assign_section_numbers): Handle SHT_GNU_LIBLIST. + +2004-10-11 Alan Modra + + PR 233 + * elflink.c (elf_link_input_bfd): Try harder to support + relocations against symbols in removed linkonce sections. + +2004-10-11 Alan Modra + + * elflink.c (elf_link_input_bfd): Revert PR 354 change. + + PR 354 + * elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC + sections do not reference symbols in non-SEC_ALLOC sections. + +2004-10-11 Alan Modra + + PR 437 + * elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections. + (_bfd_elf_link_omit_section_dynsym): Formatting. + +2004-10-10 Alan Modra + + * libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while. + * libbfd.h: Regnerate. + * elf32-cris.c: Add missing semicolon to BFD_ASSERTs. + * elf32-frv.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-ppc.c: Likewise. + * elf64-hppa.c: Likewise. + * elfxx-ia64.c: Likewise. + * opncls.c: Likewise. + +2004-10-10 Alan Modra + + * elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted. + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust + offsets stored in struct eh_cie_fde entries before doing other + work. + + * elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec. + (struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code + setting offsets for removed CIEs. Don't set "sec", instead set + cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a + CIE in hdr_info. Only set make_relative and make_lsda_relative + for CIEs. Use pointers rather than array indices. + (_bfd_elf_eh_frame_section_offset): Test/set make_relative, + make_lsda_relative, need_* on cie_inf for FDEs. + (_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for + section output_offset. Delete cie_offset, instead use cie_inf + pointer to CIE entry. Use need_relative and need_lsda_relative on + CIE entry for FDEs. Use pointers rather than array indices. + +2004-10-09 Alan Modra + + * coff-rs6000.c (rs6000coff_vec): Add initializer for + bfd_is_target_special_symbol. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + * som.c (som_bfd_is_target_special_symbol): Define. + +2004-10-08 Nick Clifton + + * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.93. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + * syms.c (bfd_is_target_special_symbol): New interface function. + Returns true when a symbol should be considered to be special. + * targets.c (bfd_target): Include bfd_is_target_special_symbol in + the symbol jump table. + * elf32-arm.h (elf32_arm_is_target_special_symbol): New function. + Return true iff the symbol is a mapping symbol. + (bfd_elf32_bfd_is_target_special_symbol): Define. + * elfxx-target.h: Provide a default definition for + bfd_is_target_special_symbol. + * aout-target.h: Likewise. + * aout-tic30.c: Likewise. + * binary.c: Likewise. + * coffcode.h: Likewise. + * i386msdos.c: Likewise. + * ieee.c: Likewise. + * ihex.c: Likewise. + * libaout.h: Likewise. + * libbfd-in.h: Likewise + * libecoff.h: Likewise. + * mach-o.c: Likewise. + * mmo.c: Likewise. + * nlm-target.h: Likewise. + * oasys.c: Likewise. + * pef.c: Likewise. + * ppcboot.c: Likewise. + * srec.c: Likewise. + * tekhex.c: Likewise. + * versados.c: Likewise. + * vms.c: Likewise. + * xcoff-target.h: Likewise. + * xsym.c: Likewise. + * libbfd.h: Regenerate. + +2004-10-08 Daniel Jacobowitz + + * config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*. + * elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function. + (elf_backend_section_from_shdr): Define. + +2004-10-08 Alan Modra + + * syms.c (bfd_is_local_label): Return false for file symbols. + 2004-10-07 Bob Wilson + David Heine * elf32-xtensa.c (elf32xtensa_size_opt): New global variable. (xtensa_default_isa): Global variable moved here from xtensa-isa.c. @@ -111,7 +803,7 @@ literals. Pass is_abs_literal flag to init_source_reloc. (is_resolvable_asm_expansion): Use bfd_get_section_limit. Check for CONST16 instructions. Adjust calls to r_reloc_init and - pcrel_reloc_fits. Handle weak symbols conservatively. + pcrel_reloc_fits. Handle weak symbols conservatively. (find_associated_l32r_irel): Add bfd parameter and pass it to is_l32r_relocation. (compute_text_actions, compute_ebb_proposed_actions, @@ -124,7 +816,7 @@ Call xtensa_read_table_entries to get the property table. Skip relocations other than R_XTENSA_32 and R_XTENSA_PLT. Use new is_removable_literal, remove_dead_literal, and - identify_literal_placement functions. + identify_literal_placement functions. (get_irel_at_offset): Rewrite to use bsearch on sorted relocations instead of linear search. (is_removable_literal, remove_dead_literal, @@ -2410,7 +3102,7 @@ 2004-05-11 Jakub Jelinek - * elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol + * elflink.c (bfd_elf_final_link): Don't output STT_SECTION symbol into .dynsym if elf_section_data (sec)->dynindx <= 0. Adjust counting of last_local. (_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections