* elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 09e3eca6483bfcda9e462cfc85baff5bd6733b79..832bce529e1de36ac4dc1fa3553dff43ff04cb2f 100644 (file)
@@ -1,3 +1,194 @@
+2002-01-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
+       relocations with PC32 relocations for undefined or weak symbols.
+       * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
+       * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.
+
+2002-01-28  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * elfcore.h (elf_core_file_p): Improve comment for last change.
+
+2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure: Regenerated.
+
+2002-01-27  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * elfcore.h (elf_core_file_p): Set the machine architecture
+       before processing the program headers.
+
+2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.in <64-bit configuration>: If using gcc, check and
+       emit error for egcs-1.1.2.
+       * configure: Regenerate.
+
+       * doc/Makefile.am (install): Depend on install-info.
+       * doc/Makefile.in: Regenerate.
+
+2002-01-26  Egor Duda  <deo@logos-m.ru>
+
+       * elf.c (elfcore_grok_win32pstatus): Copy only as much information
+       as possible to avoid stack corruption.
+
+2002-01-26  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
+       for non-allocated sections.
+
+2002-01-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_write_prstatus): Make sure we pass the address of
+       prstat.pr_reg even if it is a struct.
+
+2002-01-25  Steve Ellcey <sje@cup.hp.com>
+
+       * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX.
+
+2002-01-25  Philipp Thomas  <pthomas@suse.de>
+
+       * coffgen.c (coff_print_symbol): Don't mark info message
+       for translation.
+
+2002-01-25  Nick Clifton <nickc@redhat.com>
+
+       * po/fr.po: Updated translation.
+       * po/es.po: Updated translation.
+
+2002-01-25  Philipp Thomas  <pthomas@suse.de>
+
+       * coff-alpha.c (alpha_relocate_section): Unify warning message
+       for GP relative relocations without GP defined.
+       * coff-mips.c (mips_relocate_section): Likewise.
+
+2002-01-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
+       unsigned overflow when new_offset < old_offset.
+
+2002-01-24  Philipp Thomas  <pthomas@suse.de>
+
+       * bfd.c (_bfd_abort): Fix typo.
+
+2002-01-23  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
+       plt entries for undefweak symbols.
+
+2002-01-23  Steve Ellcey <sje@cup.hp.com>
+
+       * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to
+       DEFAULT_VECTOR.
+       (bfd_elf64_ia64_hpux_big_vec): Ditto.
+       (bfd_elf32_h8300_vec): Ditto.
+
+2002-01-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c: Remove stale part of ABI comment.
+       (NO_OPD_RELOCS): Define.
+       (ppc64_elf_check_relocs): Use it.
+       (ppc64_elf_relocate_section): Here too.
+       (build_one_stub): Don't point function syms at the stub.  Instead,
+       hijack plt.offset.
+       (ppc64_elf_relocate_section): Check whether REL24 relocs should
+       really go to the stub.  Make all dynamic relocs in opd against
+       locals.
+       (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
+       plt.offset.
+
+2002-01-22  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
+
+2002-01-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
+       TOC_BASE_OFF adjustment.
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2002-01-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
+       host defines.
+
+2002-01-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
+       Check for and emit error if sgot is NULL at this point.
+
+2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.bfd (ia64*-*-netbsd*): New target.
+
+2002-01-21  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
+
+       * som.c (som_write_space_strings): Comment typo fix.
+
+2002-01-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
+       is_func_descriptor fields.
+       (link_hash_newfunc): Init them.
+       (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
+       dot are candidates for plt entries.  When processing .opd relocs,
+       set function descriptor strings to point inside function code
+       string, and set new ppc_link_hash_entry fields.
+       (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
+       (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
+       function descriptors.  It's now done in..
+       (func_desc_adjust): New.
+       (ppc64_elf_func_desc_adjust): New.
+       (define elf_backend_always_size_sections): Define.
+       (ppc64_elf_hide_symbol): New.
+       (define elf_backend_hide_symbol): Define.
+       (allocate_dynrelocs): Remove code looking up function descriptors
+       as that has been done earlier.
+       (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
+       table.
+       (ppc64_elf_finish_dynamic_symbol): Likewise.  Remove code looking
+       up function descriptor.
+       (build_one_stub): Look up the function code sym.  Check for
+       invalid plt offsets.
+       (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
+       Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
+
+       * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
+       boolean param.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Adjust call to
+       elf_backend_hide_symbol.
+       (elf_fix_symbol_flags): Likewise.
+       (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
+       than bfd_alloc.
+       * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
+       Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
+       * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
+       (clobber_millicode_symbols): Adjust to suit new hide_symbol.
+       * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
+       and adjust to suit.
+       * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
+       _bfd_elf_link_hash_hide_symbol rather than duplicating code.
+       * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
+
+2002-01-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
+       dynamic function descriptor symbol, not the associated function
+       symbol.
+
+2002-01-17  Eric Christopher  <echristo@redhat.com>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
+
+2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/bfd.pot: Regenerate.
+       * po/fr.po: Regenerate.
+
 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
This page took 0.025278 seconds and 4 git commands to generate.