2001-06-07 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / bfd / ChangeLog
index bbaa444f0727101a343ce14f7d4ca7eb23512ff8..6323d6c6a4db4bed3dd2d40fa79e6bbee272f512 100644 (file)
@@ -1,3 +1,82 @@
+2001-06-07  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
+       for SGI only.
+
+       * config.bfd: Remove ecoff from Linux/mips.
+
+2001-06-07  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
+       assertion.
+       (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
+       alignment of 8 for .rela sections; handle further relocations.
+
+2001-06-06  Christian Groessler <cpg@aladdin.de>
+
+        * coff-z8k.c: Fix formatting.
+       Fix howtos: howto->size was always 1.
+
+2001-06-05  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
+
+       * configure.host (mips64*-*-linux*): Define.
+
+2001-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_discard_copies): Rename to
+       discard_copies, and use elf_link_hash_entry arg rather than
+       elf_i386_link_hash_entry.
+       (elf_i386_link_hash_traverse): Delete.
+       (elf_i386_size_dynamic_sections): Adjust call to discard_copies.
+       Tidy sizing of dynamic sections.
+       (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
+       possible .plt entries.
+       (elf_i386_gc_sweep_hook): Likewise.
+       (elf_i386_adjust_dynamic_symbol): Discard .plt entries for
+       everything with plt.refcount <= 0.
+
+       * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
+       .relgot space here.
+       (elf_i386_gc_sweep_hook): ..and no need to deallocate here..
+       (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
+       .rel.plt here..
+       (allocate_plt_and_got): ..instead do it all here.  New function.
+       (elf_i386_size_dynamic_sections): Allocate local .got space and
+       call allocate_plt_and_got.  No need to zap .relgot if not dynamic.
+       (bfd_elf32_bfd_final_link): Delete.  (ie. use regular final link
+       rather than gc variety).
+       (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+       (elf_i386_relocate_section): Use it here and correct handling of
+       R_386_GOT32.  Provide section and offset for "unresolvable
+       relocation" error message.
+       (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.
+
+       * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
+       sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
+       (elf_i386_link_hash_table_create): Init them.
+       (create_got_section): New function.
+       (elf_i386_create_dynamic_sections): New function.
+       (elf_backend_create_dynamic_sections): Set to above.
+       (elf_i386_check_relocs): Use shortcuts from hash table rather than
+       calling bfd_get_section_by_name.
+       (elf_i386_gc_sweep_hook): Likewise.
+       (elf_i386_adjust_dynamic_symbol): Likewise.
+       (elf_i386_size_dynamic_sections): Likewise.
+       (elf_i386_relocate_section): Likewise.
+       (elf_i386_finish_dynamic_sections): Likewise.
+
+       * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
+
+2001-06-02  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX
+       and ELFOSABI_HPUX.
+       * elf64-hppa.c (elf64_hppa_object_p): Likewise.
+
+2001-06-02  H.J. Lu  <hjl@gnu.org>
+
+       * aout-cris.c (MACHTYPE_OK): New. Defined.
+
 2001-06-02  Hans-Peter Nilsson  <hp@axis.com>
 
        * section.c (_bfd_strip_section_from_output): Handle NULL