* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 7b0f782f3ae33b5a67bc1bae7e67fea498ea3243..d3631b0e659b0a81ce02a679d319987a50cd6275 100644 (file)
@@ -1,3 +1,167 @@
+2002-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
+
+2002-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
+
+2002-08-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_copy_indirect_symbol): New.
+       (create_got_section, allocate_dynrelocs, readonly_dynrelocs):
+       Likewise.
+       (struct elf_sh_pcrel_relocs_copied): Removed.
+       (struct elf_sh_dyn_relocs): New.
+       (struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied
+       field with dyn_relocs.
+       (struct elf_sh_link_hash_table): Add short-cuts to get dynamic
+       sections and sym_sec.
+       (sh_elf_link_hash_newfunc): Clear dyn_relocs.
+       (sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec.
+       (sh_elf_create_dynamic_sections): Use create_got_section instead
+       of _bfd_elf_create_got_section.
+       (sh_elf_check_relocs): Likewise.
+       (sh_elf_create_dynamic_sections): Use short-cuts to the dynamic
+       sections.
+       (sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections,
+       sh_elf_relocate_section, sh_elf_check_relocs,
+       sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections):
+       Likewise.
+       (sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the
+       dynamic relocations and avoiding the copy relocation when we
+       didn't find any dynamic relocations in the section which has
+       contents or is read-only.
+       (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
+       (sh_elf_size_dynamic_sections): Don't reset the size of
+       .rela.got section even if dynamic_sections_created flag is off.
+       Don't use sh_elf_discard_copies. Scan all input bfd and use
+       allocate_dynrelocs. Call readonly_dynrelocs to determine
+       whether we need DT_TEXTREL.
+       (sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine
+       whether the symbol was never referred to.
+       (sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL.
+       (sh_elf_gc_sweep_hook): Fill with the real sweep function.
+       (sh_elf_check_relocs): Call create_got_section if the short-cut
+       to .got is null. Increment reference counters only instead of
+       allocating space on dynamic sections here. Don't conditionalize
+       uninitialized got.offset value when marking the symbol as a
+       global offset table entry. Keep relocations for symbols satisfied
+       by a dynamic library to avoid copy relocations for the symbol.
+       Set dynobj field of an elf hash table if needed.
+       (sh_elf_finish_dynamic_sections): Handle null section pointer
+       correctly.
+       (elf_backend_copy_indirect_symbol): Defined.
+       (elf_backend_can_refcount): Defined.
+
+2002-08-23  Nick Clifton  <nickc@redhat.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Undo
+       previous change.  Add comment explaining why.
+
+2002-08-23  Stephen Clarke <stephen.clarke@superh.com>
+
+       * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
+       contents of .got.plt[2] to tr0, not address of .got.plt.
+       (sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
+       patching absolute plt entry. For shmedia plt entry, set bottom bit
+       of branch to plt0 as this is a branch to an shmedia instruction.
+       * elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
+       Copy contents of .got.plt[2] to tr0, not address of .got.plt.
+       (elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
+       branch to plt0.
+       (sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
+       patching absolute plt entry. For shmedia plt entry, branch to
+       plt0 is now ptrel, so use relative offset.  Set bottom bit of
+       branch target as it is a branch to an shmedia instruction.
+
+2002-08-23  Stephen Clarke <stephen.clarke@superh.com>,
+           Richard Shann <richard.shann@superh.com>
+
+       * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
+       value if .init is an SHmedia function.  Similarly for DT_FINI.
+       * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.
+       
+2002-08-23  Stephen Clarke <stephen.clarke@superh.com>
+
+       * elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
+       dynamic section.
+       * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
+
+2002-08-22  Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use a simple
+       byte read when reading the return address register column. 
+
+2002-08-22  Nick Clifton  <nickc@redhat.com>
+
+       * config.bfd: Add powepc64-*-*bsd* target.
+
+2002-08-22  Graeme Peterson  <gp@qnx.com>
+
+       * Makefile.am: Add entries for elf32-shqnx.c
+       * Makefile.in: Regenerate.
+       * config.bfd: Add support sh-*-nto* target.
+       * configure.in: Add support for bfd_elf32_sh{l}qnx_vec.
+       * configure: Regenerate.
+       * elf32-qnx.h: Changed typo "elf_i386qnx_*" to "elf_qnx_*" .
+       * elf32-sh.c: Do not include elf32-target.h if
+       ELF32_SH_C_INCLUDED is defined.
+       * elf32-shqnx.c: New file: Support for QNX.
+       * targets.c: Add bfd_elf32_sh{l}qnx_vec.
+
+2002-08-22  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Updated Turkish translation.
+
+       * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the
+       symbols are not read.
+
+2002-08-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-m68hc11.c: Formatting fixes.
+       (elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
+       * elf32-m68hc12.c: Formatting fixes.
+       (elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
+
+2002-08-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
+       SEC_DATA.
+       (pmac_xcoff_vec): Likewise.
+       * coff64-rs6000.c (rs6000coff64_vec): Likewise.
+       (aix5coff64_vec): Likewise.
+
+2002-08-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
+       param to elf_backend_copy_indirect_symbol.
+       (_bfd_elf_link_hash_copy_indirect): Likewise.
+       * elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust
+       calls to copy_indirect_symbol.
+       * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
+       * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
+       * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
+       * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise.
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise.  Properly
+       test refcounts for "used" values.
+
+2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
+       argument declaration.
+
+2002-08-19  Elena Zannoni <ezannoni@redhat.com>
+        * archures.c (bfd_mach_ppc_e500): Added.
+        * bfd-in2.h: Rebuilt.
+       * cpu-powerpc.c (bfd_powerpc_archs): Added e500.
+
 2002-08-19  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-m68hc12.c (elf_backend_can_gc_sections): False.
This page took 0.025137 seconds and 4 git commands to generate.