This commit was generated by cvs2svn to track changes on a CVS vendor
[binutils-gdb.git] / bfd / ChangeLog
index d7285ed91f8f423214b4127a89695330a7443c09..9528dde753433ff6e178a418770650c150ab7713 100644 (file)
+start-sanitize-vr4xxx
+1998-12-16  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * archures.c,bfd-in2.h (bfd_mach_mips4111): New.
+       * cpu-mips.c: Add support for and independent 4111.
+       * elf32-mips.c (elf_mips_mach): E_MIPS_MACH_4111 -> bfd_mach_mips4111.
+       (_bfd_mips_elf_final_write_processing): 
+       bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111.
+
+end-sanitize-vr4xxx
+1998-12-15  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * elf32-mips.c (elf_mips_abi_name): New.
+       (_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags.
+
+start-sanitize-vr4xxx
+1998-12-13  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * archures.c,bfd-in2.h (bfd_mach_mips4121): New.
+       * cpu-mips.c: Added vr4121.
+       * elf32-mips.c (elf_mips_mach): Same.
+       (_bfd_mips_elf_final_write_processing): Same.
+       
+start-sanitize-vr4xxx
+1998-12-12  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_final_write_processing): 
+       Handle bfd_mach_mips4300.
+
+start-sanitize-sky
+Sat Dec 12 08:52:41 1998  Doug Evans  <devans@charmed.cygnus.com>
+
+       Mon Aug 10 18:59:42 EDT 1998  Jim Lemke  <jlemke@cygnus.com>
+
+       * config.bfd (mips64el-skyb-elf): added new target
+
+end-sanitize-sky
+1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-i386.c: Remove leaked development code from patch
+       1998-12-10 by Richard Henderson.
+
+1998-12-10  Richard Henderson  <rth@cygnus.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Don't fail relocations
+       in debug sections for symbol defined externally.
+
+Thu Dec 10 10:58:38 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * targets.c (bfd_target_vector): Remove duplicate entry for
+       tekhex_vec.
+
+1998-12-09  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_elf_howto_table): Set src_mask fields to 0
+       since we are using RELAs.
+
+Tue Dec  8 22:15:48 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       SCO Open Server Release 5 core file support, from Jouke Numan
+       <jnuman@hiscom.nl>:
+       * sco5-core.c: New file.
+       * configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo.
+       (sco5-core.lo): Define SCO5_CORE in COREFLAG.
+       * Makefile.am: Rebuild dependencies.
+       (OPTIONAL_BACKENDS): Add sco5-core.lo.
+       (OPTIONAL_BACKENDS_CFILES): Add sco5-core.c.
+       * bfd.c (struct _bfd): Add sco5_core_data field to tdata.
+       * targets.c (sco5_core_vec): Add to target list if SCO5_CORE.
+       * bfd-in2.h, configure, Makefile.in: Rebuild.
+
+Tue Dec  8 19:38:42 1998  Mark Klein  <mklein@dis.com>
+
+       * config.bfd (hppa*-*-mpeix*): New target.
+       * configure.in: Add AC_HEADER_DIRENT.
+       (hppa*-*-mpeix*): New target.
+       * configure.host (hppa*-*-mpeix*): New host.
+       * hpux-core.c: Check HOST_HPPAMPEIX.  Use HAVE_DIRENT_H and
+       friends rather than just including <sys/dir.h>.
+       * som.h (struct som_symbol): Add hppa_priv_level and apto
+       tc_data.  Change all users.
+       (struct somdata): Add comp_unit field.
+       (obj_som_compilation_unit): Define.
+       (bfd_som_attach_compilation_unix): Declare.
+       * som.c: Check HOST_HPPAMPEIX.
+       (struct som_misc_symbol_info): Add new field priv_level.
+       (som_object_setup): Add current_offset parameter.  Change all
+       callers.
+       (setup_sections): Likewise.
+       (som_object_p): For EXECLIBMAGIC, read the lst header.
+       (som_write_symbol_strings): Add compilation_unit parameter.
+       Change all callers.
+       (som_finish_writing): Write out compilation_unit.
+       (som_bfd_derive_misc_symbol_info): Set priv_level.
+       (som_build_and_write_symbol_table): Set xleast field to 3.
+       (som_slurp_symbol_table): Set symbol priv_level.
+       (bfd_som_attach_compilation_unit): New function.
+       (som_bfd_ar_write_symbol_stuff): Set xleast field to 3.  Set
+       priv_level into symbol_value.
+       * configure, config.in: Rebuild.
+
+Tue Dec  8 16:21:35 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * hpux-core.c (hpux_core_core_file_p): Change call to nonexistent
+       warning function to call _bfd_error_handler instead.
+
+       * libbfd.c (COERCE32): Cast through unsigned long and long to
+       avoid bug in old version of gcc.
+
+       * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.
+       (elf_backend_additional_program_headers): Don't define.
+
+1998-12-08  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_final_link_relocate): Fix PC relative
+       relocations to include offset of 2 included in the insns, and the
+       offset of the relocs within the section.
+
+Wed Dec  2 15:03:59 1998  David Taylor  <taylor@texas.cygnus.com>
+
+       The following changes were made by David Taylor
+       <taylor@texas.cygnus.com>, Edith Epstein
+       <eepstein@sophia.cygnus.com>, Jim Blandy
+       <jimb@zwingli.cygnus.com>, and Elena Zannoni
+       <ezannoni@kwikemart.cygnus.com> as part of the project to merge in
+       changes originally made by HP; HP did not create ChangeLog
+       entries.
+
+       * aclocal.m4, configure, Makefile.in: Rebuilt using latest
+       automake macro library.
+
+       * hpux-core.c (hpux_core_core_file_p): this function now
+       understands HPUX 10.30 thread info. Yes, the thread stacks can be
+       found in the corefile! Also, in hpux_core_core_file_p, if we
+       encounter a section with an unknown type, don't punt.  Instead,
+       just skip it.  Also, count the number of sections of known type
+       that we encounter.  If we encounter at least one good one, then
+       we'll declare that the file is a core file.  If we encounter any
+       unknown ones but some known ones, then we'll issue a warning (but
+       still declare it to be a core file). Also, correctly decide when a
+       file is not a core.
+       (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
+       (CORE_ANON_SHMEM): define if not defined.
+       (hpux_core_struct): add members lwpid and user_tid.
+       (core_kernel_thread_id, core_user_thread_id): new macros.
+       (make_bfd_asection): use bfd_alloc to allocate room for a copy of
+       the name before storing it in the bfd.
+       (hpux_core_core_file_p): handle threads.
+
+       * libhppa.h (GET_FIELD): protect against redefinition.
+       (HPPA_WIDE): define.
+       (GET_FIELD): define.
+       (GET_BIT): define.
+       (MASK): define.
+       (CATENATE): define.
+       (ELEVEN): define.
+       (sign_extend): redefine.
+       (assemble_6): define.
+       (assemble_12): rewrite.
+       (assemble_16): define.
+       (assemble_16a): define.
+       (assemble_17): rewrite.
+       (assemble_22): define.
+
+1998-12-07  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_final_link_relocate): Using signed
+       relocations for signed values.
+
+Sun Dec  6 16:30:33 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * mipsbsd.c (MY(set_arch_mach)): Make static.
+       * aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use
+       bfd_mach_mips* macros rather than simple numbers.
+
+       COFF weak symbol support, based on patches from Mark Elbrecht
+       <snowball3@usa.net>:
+       * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT.
+       * coffgen.c (coff_renumber_symbols): Handle weak symbols.
+       (coff_write_alien_symbol): Likewise.
+       * cofflink.c (coff_link_check_ar_symbols): Likewise.
+       (coff_link_add_symbols): Likewise.
+       (_bfd_coff_link_input_bfd): Likewise.
+       (_bfd_coff_write_global_sym): Likewise.
+
+       * elf.c (copy_private_bfd_data): Always initialize the
+       includes_phdrs field.
+
+       * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF
+       file defines a symbol first mentioned in an ELF file.
+
+       * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if
+       possible, rather than only if BFD64.
+       * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT,
+       not __GNUC__.
+       * bfd-in2.h: Rebuild.
+
+       * srec.c (srec_set_section_contents): Correct test to avoid
+       switching to 4 byte addresses after seeing a second section which
+       requires 3 byte addresses.  From Joel Schantz
+       <joel.schantz@argosys.boeing.com>.
+
+       * config.bfd (m68*-*-gnu*): New target.  From Aymeric Vincent
+       <aymeric.vincent@emi.u-bordeaux.fr>.
+
+1998-12-04  Jim Blandy  <jimb@zwingli.cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Fix logic to
+       decide whether the output file is -mrelocatable-lib,
+       -mrelocatable, or neither.  (gdb.base/nodebug.exp)
+
+1998-12-03  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c: Add support for R_FR30_48 reloc.
+       * reloc.c: Add BFD_RELOC_FR30_48 relocation.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate
+
+Wed Dec  2 00:58:37 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
+       link against a dynamic symbol with no type or size.
+
+1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf32-i386.c (i386_check_relocs) [R_386_32]: Don't emit
+       relocation for section which does not get loaded.
+       (elf_i386_relocate_section) [R_386_32]: Likewise.
+
+Tue Dec  1 11:33:33 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size,
+       reloc_count and i long instead of unsigned long.  Handle error
+       return from bfd_canonicalize_reloc.
+
+1998-12-01  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_relocate_section): Detect the absence of
+       a hash table.
+
+Mon Nov 30 15:28:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * elf32-sh.c (elf/sh.h): Include.
+       sh_reloc_type: Delete.  Changed all references to elf_sh_reloc_type.
+       (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8.
+       (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8.
+       (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
+       * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h.
+
+Fri Nov 27 17:51:38 1998  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elflink.h (compute_bucket_count): Don't allow minsize==0, it
+       causes division by zero later on.
+
+Thu Nov 26 11:19:35 1998  Dave Brolley  <brolley@cygnus.com>
+
+       * elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not
+       needed.
+
+1998-11-25  DJ Delorie  <dj@cygnus.com>
+
+       * coff-i386.c (i3coff_object_p): Remove hack.  Use new emulation
+       hook now.
+
+Tue Nov 24 10:25:27 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_elf_relocate_section): Call
+       fr30_final_link_relocate.
+       (fr30_final_link_relocate): New function: Handle I20 and I32
+       relocs.
+       (fr30_elf_i32_reloc): New function: Handle I32 relocs.
+       (fr30_elf_pc9_reloc): New function: Handle 9_PCREL relocs.
+       (fr30_elf_pc12_reloc): New function: Handle 12_PCREL relocs.
+
+       * elf32-v850.c (v850_elf_relocate_section): Reset hi16s reloc
+       chain to empty.
+
+       The following changes are based on a patch submitted by Gianluca
+       Moro <glctr@abc.it>:
+
+       (v850_elf_perform_relocation): Only update a hi16s reloc if it has
+       not already been updated.
+       (find_remembered_hi16s_reloc): New parameter 'already_found'
+       returns state of remembered hi16s reloc.
+       (remember_hi16s_reloc): Set 'found' field to false.
+       (hi16s_location): Add 'found' field.
+
+1998-11-23  DJ Delorie  <dj@cygnus.com>
+
+       * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants
+       to see .DLL files as unrecognized.
+       (i3coff_object_p): Sorry, had to hack it to not recognize these
+       files (pei-i386) on request.
+
+1998-11-23  DJ Delorie  <dj@cygnus.com>
+
+       * opncls.c (bfd_make_readable): need more cleanup for symbols and
+       relents.  Call bfd_check_format to reinitialize.
+
+Fri Nov 20 14:21:36 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_elf_relocate_section): Remove spurious
+       warnings.
+
+Thu Nov 19 14:42:15 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * aclocal.m4: regenerate
+       * configure: regenerate
+
+Tue Nov 17 20:23:35 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size.
+       * elf.c (_bfd_elf_link_hash_newfunc): Clear it.
+       * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and
+       respect it as an upper bound on what memory to reference.
+       (elf_gc_smash_unused_vtentry_relocs): Likewise.
+       (elf_gc_record_vtentry): Handle as-yet undefined vtables.  Set and
+       update vtable_entries_size appropriately.
+
+Tue Nov 17 15:28:31 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-fr30.c (fr30_reloc_type_lookup): Used integers to hold
+       reloc number.
+
+Mon Nov 16 22:19:21 1998  DJ Delorie  <dj@cygnus.com>
+
+       * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
+       bfds; they have no "file" so we fake it.
+       * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen)
+       * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by
+       resizing the memory buffer.
+       * opncls.c (bfd_make_writable): New function; lets you write a
+       bfd_create'd bfd to an in-memory buffer.
+       (bfd_make_readable): New function; lets you read back that buffer
+       as if it were from bfd_openr.  Used to build generated archive
+       members (winsup's ld's dlltool)
+
+Mon Nov 16 19:15:19 1998  Dave Brolley  <brolley@cygnus.com>
+
+       * po/bfd.pot: Regenerated.
+
+Mon Nov 16 10:57:06 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (hi16s_location): Replaced fixed size array with
+       linked list.
+
+Sun Nov 15 20:28:25 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper
+       element of the gotentry list for local symbols too.
+       (elf64_alpha_relocate_section): Unify local and global handling.
+       Assert that gotent->use_count > 0.
+
+Sat Nov 14 15:16:01 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and
+       update for file name changes of July 2, 1998.
+       (vms_vax_vec): New.
+       * configure: Rebuild.
+
+Thu Nov 12 19:19:54 1998  Dave Brolley  <brolley@cygnus.com>
+
+       * po/bfd.pot: Regenerated.
+
+Tue Nov 10 16:17:06 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*.
+       * aclocal.m4, configure: regenerate
+
+Tue Nov 10 15:13:59 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf.c (prep_headers): Add support for bfd_arch_fr30.
+
 Tue Nov 10 13:37:36 1998  Felix Lee  <flee@cygnus.com>
 
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,
        BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value
        was cached.
        * aclocal.m4, configure: regenerated.
-       
+
 Tue Nov 10 14:31:01 1998  Catherine Moore  <clm@cygnus.com>
 
         * elf32-d10v.c (reloc_type):  Add R_D10V_GNU_VTINHERIT and
@@ -34,13 +407,13 @@ Wed Nov  4 15:58:48 1998  Nick Clifton  <nickc@cygnus.com>
        * config.bfd: Add support for FR30.
        * configure.in: Add support for FR30.
        * reloc.c: Add support for FR30 relocations.
-       * targets.c: Add support for FR30 relocations.  
+       * targets.c: Add support for FR30 relocations.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * libbfd.h:  Regenerate.
        * cpu-fr30.c: New file.
        * elf32-fr30.c: New file.
-       
+
 Mon Nov  2 14:59:33 1998  Geoffrey Noer  <noer@cygnus.com>
 
        * configure.in: detect cygwin* instead of cygwin32*