2000-09-03 Philip Blundell <philb@gnu.org>
[external/binutils.git] / bfd / ChangeLog
index 5f3534c..191b5d2 100644 (file)
@@ -1,3 +1,205 @@
+2000-09-03  Philip Blundell  <philb@gnu.org>
+
+       * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate
+       references to undefined symbols in debugging sections.
+
+2000-09-02  H.J. Lu  <hjl@gnu.org>
+
+       * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
+       BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,
+       BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH
+       section.
+
+2000-09-02  Jason Eckhardt  <jle@cygnus.com>
+
+       * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.
+       (elf32_i860_is_local_label_name): New function and prototype.
+
+2000-09-02  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Increase version number to 2.10.91.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+       
+2000-09-02  Daniel Berlin <dberlin@redhat.com>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Add
+       .gnu.linkobce.wi. to the list of debug section names.
+
+2000-09-02  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2.c (find_debug_info): New function: Locate a section
+       containing dwarf2 debug information.
+       (bfd_dwarf2_find_nearest_line): Find all sections containing
+       debug information and include them in the stash.
+
+2000-09-01  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
+       R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
+       (sh_reloc_map): Add new relocs.
+       (sh_elf_check_relocs, sh_elf_link_hash_newfunc,
+       sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
+       sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
+       sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
+       functions.
+       (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
+       (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
+       elf_sh_plt_entry_be, elf_sh_plt_entry_le,
+       elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
+       New array constants.
+       (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
+       New variables.
+       (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
+       elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
+       elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
+       elf_sh_plt_reloc_offset): Define.
+       (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
+       elf_sh_link_hash_table): New structs.
+       (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
+       (sh_elf_relocate_section, sh_elf_check_relocs): Handle new
+       relocation types.
+       (elf_backend_create_dynamic_sections,
+       bfd_elf32_bfd_link_hash_table_create,
+       elf_backend_adjust_dynamic_symbol,
+       elf_backend_size_dynamic_sections,
+       elf_backend_finish_dynamic_symbol,
+       elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
+       elf_backend_plt_readonly, elf_backend_want_plt_sym,
+       elf_backend_got_header_size, elf_backend_plt_header_size):
+       Define.
+       * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
+       BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
+       New relocs.
+       * bfd-in2.h, libbfd.h: Rebuilt.
+
+2000-09-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27
+       change.
+
+Thu Aug 31 22:49:30 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
+       not initialized, set them to indicate the SH1 instruction set.
+
+2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * acinclude.m4: Include libtool and gettext macros from the
+       top level.
+       * aclocal.m4, configure: Rebuilt.
+
+2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * elf.c: Eliminate references to __sparcv9 macro; replace with
+       autoconf variables HAVE_PSINFO32_T etc.
+       * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
+       HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
+       * config.in: Ditto.
+       * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
+       detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
+       * aclocal.m4: Ditto.
+       * configure: Regenerate.
+
+2000-08-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied
+       for any shared link, not just shared -Bsymbolic.
+       (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on
+       any shared link, and pass link info to it.
+       (elf_i386_size_dynamic_sections): Update comment.
+       (elf_i386_discard_copies): Modify to discard relocs for symbols
+       that have been forced local.
+       (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols
+       that have been forced local.
+
+2000-08-24  Denis Chertykov  <denisc@overta.ru> & Nick Clifton  <nickc@redhat.com>
+
+       * elflink.h (elf_link_add_object_symbols): Allow common
+       symbols to have an alignment of 1 if explicitly requested, and
+       not overridden by other definitions.
+
+2000-08-22  Doug Kwan <dkwan@transmeta.com>
+
+       * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.
+       * coffcode.h (coff_set_flags): Add detection of w65 architecture.
+
+2000-08-22  H.J. Lu  <hjl@gnu.org>
+
+       * elf-bfd.h (elf_link_hash_table): Add runpath.
+
+       * bfd-in.h (bfd_elf_get_runpath_list): New prototype.
+       * bfd-in2.h: Rebuilt.
+
+       * elf.c (_bfd_elf_link_hash_table_init): Initialize the
+       "runpath" field to NULL.
+       (bfd_elf_get_runpath_list): New function.
+
+       * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
+       DT_RUNPATH entries.
+
+2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
+       R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
+       explicitly.  Improve validation of r_type.
+
+2000-08-21  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the
+       dynamic allocated content space.  Add a comment to remind us that
+       one day this ought to be fixed.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+
+2000-08-21  Jason Eckhardt  <jle@cygnus.com>
+
+       * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
+       field with the newly relocated value instead of adding it to the
+       existing immediate field.
+       (elf32_i860_relocate_splitn): Likewise.
+       (elf32_i860_relocate_highadj): Likewise.
+
+2000-08-16  Jason Eckhardt  <jle@cygnus.com>
+
+       * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
+       was previously just a stub).
+
+2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elflink.c (_bfd_elf_create_got_section): Don't abort().
+       Formatting fixes.
+       (_bfd_elf_create_dynamic_sections): Likewise.
+
+2000-08-16  Andrew Macleod  <amacleod@cygnus.com>
+
+       * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
+       for undefined symbols to be the beginning of the section.
+
+       * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
+       four extra entries at the beginning of the .rela.plt section.
+       (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
+       section to account for the four reserved entries in the .plt section.
+
+2000-08-15  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
+       to the list of NOPs we recognize after a branch-and-link.
+       Use the ori NOP when one is needed.
+
+       * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
+       for large archives.
+
+2000-08-14  Jim Wilson  <wilson@cygnus.com>
+
+       * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
+       EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
+       (elf64_ia64_print_private_bfd_data): Likewise.  Also handle
+       EF_IA_64_ABSOLUTE.
+
 2000-08-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.