+2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 574:
+ * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
+
+2004-11-24 Paul Brook <paul@codesourcery.com>
+
+ * elf.c (assign_section_numbers): Number SHT_GROUP sections first.
+
+2004-11-24 Paul Brook <paul@codesourcery.com>
+
+ * 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 <dave.anglin@nrc-cnrc.gc.ca>
+
+ * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
+ make_bfd_asection.
+
+2004-11-19 Alan Modra <amodra@bigpond.net.au>
+
+ * 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 <bob.wilson@acm.org>
+
+ * elf32-xtensa.c (ebb_propose_action): Fix argument order.
+
+2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * 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 <rsandifo@redhat.com>
+
+ * 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 <mark@codesourcery.com>
+
+ * elf32-arm.c (elf32_arm_relocate_section): Use
+ arm_real_reloc_type.
+
+2004-11-16 Richard Sandiford <rsandifo@redhat.com>
+
+ * 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 <paul@codesourcery.com>
+
+ * 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 <paul@codesourcery.com>
+
+ * elflink.c (elf_link_add_object_symbols): Don't assume version
+ indices are consecutive.
+
+2004-11-14 Richard Sandiford <rsandifo@redhat.com>
+
+ * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
+ composite relocations against the personality data.
+
+2004-11-13 Paul Brook <paul@codesourcery.com>
+
+ * 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 <bob.wilson@acm.org>
+
+ * xtensa-isa.c (xtensa_interface_class_id): New.
+
+2004-11-11 Bob Wilson <bob.wilson@acm.org>
+
+ * 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 <mark@codesourcery.com>
+
+ * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for
+ R_ARM_RELATIVE on Symbian OS.
+
+2004-11-09 Mark Mitchell <mark@codesourcery.com>
+
+ * 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 <dan@debian.org>
+
+ From David Poole <daveml@mbuf.com>:
+ * elf32-arm.c (elf32_arm_readonly_dynrelocs): New function.
+ (elf32_arm_size_dynamic_sections): Call it.
+
+2004-11-09 Alan Modra <amodra@bigpond.net.au>
+
+ * 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 <mark@codesourcery.com>
+
+ * 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 <inderpreetb@nioda.hcltech.com>
+ Vineet Sharma <vineets@noida.hcltech.com>
+
+ * 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 <aaron98wiridge9@aaronwl.com>
+
+ * 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 <schwab@suse.de>
+
+ * 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 <mark@codesourcery.com>
+
+ * 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 <dan@debian.org>
+
+ * 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 <hp@axis.com>
+
+ * 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) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
+ <R_CRIS_32_PCREL>: 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".
+ <switch with PIC relocs>: Emit error and return FALSE for
+ bfd_mach_cris_v10_v32.
+ <case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
+ 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 <amodra@bigpond.net.au>
+
+ * elf64-ppc.h (ppc64_elf_edit_toc): Declare.
+ * elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update
+ comment.
+ (struct adjust_toc_info): New.
+ (adjust_toc_syms, ppc64_elf_edit_toc): New functions.
+
+2004-11-03 Bob Wilson <bob.wilson@acm.org>
+
+ * elf.c (assign_file_positions_for_segments): Set next_file_pos even
+ if there are no segments.
+
2004-11-02 Daniel Jacobowitz <dan@debian.org>
* config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete.
2004-05-11 Jakub Jelinek <jakub@redhat.com>
- * 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