Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>
[binutils-gdb.git] / bfd / ChangeLog
index 110729e53cc7b1650b2be370e85ba8309b9e1ffe..0fd25dd91c920e9da8a8f4555a70849969b2071d 100644 (file)
@@ -1,5 +1,217 @@
+Thu Aug  8 12:21:56 1996  Klaus Kaempf  <kkaempf@progis.de>
+
+       * evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup.
+       (evax_initialize): Remove evax_reloc_table.
+       (evax_close_and_cleanup): Ditto.
+       (reloc_nil): Ditto.
+       (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64
+       entries.
+       (evax_bfd_reloc_type_lookup): Ditto.
+       * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set
+       cooked_size == raw_size.
+       * evax-emh.c (_bfd_evax_register_filename): Remove.
+       * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands.
+       * evax-misc.c (add_new_contents): Malloc section at full size.
+       (_bfd_save_evax_section): Memcpy section contents directly.
+       * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove.
+       (evax_reloc_table): Remove.
+
+       * hosts/alphavms.h (O_ACCMODE): Define if needed.
+
+       * makefile.vms: Add better support for DEC C compilation
+       Add evax.h dependencies
+
+       * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc.
+       (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove.
+       (BFD_RELOC_ALPHA_BASEREG): Remove.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
+Thu Aug  8 08:17:32 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * archive.c (bsd_write_armap):  Ifdef around calls to getuid and
+       getgid if _WIN32 is defined.
+       * opncls.c (bfd_fdopenr):  Remove unnecessary WINGDB ifdef.
+
+Wed Aug  7 23:19:00 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c:
+       Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX
+       include file.
+       * libbfd.c:  Create dummy getpagesize() macro if HAVE_GETPAGESIZE
+       isn't defined.
+
+Wed Aug  7 14:11:44 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * configure.in: Call BFD_NEEDED_DECLARATION on strstr and
+       realloc.
+       * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
+       (NEED_DECLARATION_REALLOC): New macro.
+       * configure, config.in: Rebuild.
+       * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR.
+       (realloc): Declare if NEED_DECLARATION_REALLOC.
+
+       * aclocal.m4 (BFD_NEED_DECLARATION): Include <string.h> or
+       <strings.h> if they exist.
+
+       * ieee.c (ieee_set_section_contents): Cast bfd_alloc return.
+
+Wed Aug  7 12:12:03 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cpu-i386.c (i8086_arch): Architecture info for the i8086.
+
+       Based on patches from Eric Valette <valette@crf.canon.fr>:
+       * elf32-i386.c (enum reloc_type): Add FIRST_INVALID_RELOC,
+       LAST_INVALID_RELOC, R_386_16, R_386_PC16, R_386_8, R_386_PC8.
+       (elf_howto_table): Add entries for new relocs.
+       (elf_i386_reloc_type_lookup): Handle new relocs.
+       (elf_i386_info_to_howto): Just call abort.
+       (elf_i386_info_to_howto_rel): Check that the reloc type is valid.
+       (elf_i386_relocate_section): Likewise.
+
+start-sanitize-d10v
+Tue Aug  6 12:54:56 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32.
+
+end-sanitize-d10v      
+Mon Aug  5 13:42:41 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section,
+       only get the LMA from the phdr if they are in the same part of the
+       file.
+
+       * elf.c (map_sections_to_segments): Rewrite tests for starting a
+       new segment to make them more comprehensible.  If the relationship
+       between the LMA and the VMA changed, start a new segment.  Don't
+       check dynsec when deciding whether to start a new segment for a
+       writeable section; -N will now handle this.
+
+Thu Aug  1 22:43:08 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * libhppa.h: Remove "esel" changes.  Not the right approach.
+       * som.c: Corresponding changes.
+       (som_bfd_derive_misc_symbol_info): Use ST_DATA for symbols
+       which don't have a SOM symbol type associated with them.
+       Reverses a 1994 change.
+
+Wed Jul 31 15:50:55 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       Make ld -N more reasonable for ELF:
+       * elf.c (map_sections_to_segments): If D_PAGED is not set, set
+       phdr_in_section to false, and always use a single load segment.
+       (elf_sort_sections): Sort sections by LMA after VMA.
+       (assign_file_positions_for_segments): If D_PAGED is not set, don't
+       align to maxpagesize.
+       (assign_file_positions_except_relocs): Likewise.
+       * elfcode.h (elf_object_p): If a section is loaded but not page
+       aligned, clear D_PAGED.
+
+Wed Jul 31 15:00:12 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * reloc.c: (BFD_RELOC_ARM_OFFSETIMM8, BFD_RELOC_ARM_HWLITERAL):
+       Added, for internal use by the ARM gas.
+       * libbfd.h: Rebuilt
+       * bfd-in2.h: Rebuilt
+
+Tue Jul 30 14:14:57 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * libhppa.h (R_HPPA_ESEL): New field selector.
+       (e_esel): Similarly.
+       * som.c (hppa_som_gen_reloc_type): If we encounter an e_esel,
+       then generate R_COMP2 (PUSH_SYM), R_DATA_EXPR fixup stream.
+       (som_write_fixups): Handle R_DATA_EXPR just like R_CODE_EXPR.
+
+Tue Jul 30 13:31:27 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regular
+       archive search before looking for stripped dynamic objects.
+
+Fri Jul 26 17:51:39 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined
+       symbol a warning rather than an error.
+
+Wed Jul 24 12:02:53 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (assign_file_positions_for_segments): Track the virtual
+       memory position separately from the file position, and use it to
+       compute the alignment adjustment.
+
+start-sanitize-d10v
+Tue Jul 23 10:43:31 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long"
+       and fixed mask on R_D10V_10_PCREL_L.
+
+end-sanitize-d10v      
+Mon Jul 22 15:30:30 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf64-mips.c: Include "aout/ar.h".
+       (mips_elf64_slurp_armap): New static function.
+       (mips_elf64_write_armap): New static function.
+       (bfd_elf64_archive_*): Define.
+       * elfxx-target.h (bfd_elfNN_archive_p): Define if not defined.
+       Use instead of bfd_generic_archive_p.
+       (bfd_elfNN_write_archive_contents): Define if not defined.  Use
+       instead of _bfd_write_archive_contents.
+       (bfd_elfNN_mkdarchive): Define if not defined.  Use instead of
+       _bfd_generic_mkarchive.
+       (TARGET_BIG_SYM): If bfd_elfNN_archive_functions is defined, use
+       bfd_elfNN_archive in BFD_JUMP_TABLE_ARCHIVE rather than
+       _bfd_archive_coff.
+       (TARGET_LITTLE_SYM): Likewise.
+       * archive.c (bfd_slurp_armap): Check for and reject an archive map
+       name of /SYM64/.
+       * Makefile.in: Rebuild dependencies.
+
+       * elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle
+       SHT_MIPS_LIBLIST, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and
+       SHT_MIPS_EVENTS sections.
+       (_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_IFACE,
+       SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS
+       sections.
+       (_bfd_mips_elf_fake_sections): Likewise.
+
+       * libecoff.h (ecoff_data_type): Add rdata_in_text field.
+       * ecoff.c (ecoff_compute_section_file_positions): Copy
+       rdata_in_text from backend info to tdata.  Clear it if any data
+       section comes before .rdata.
+       (_bfd_ecoff_write_object_contents): Use rdata_in_text field in
+       tdata rather than backend info.
+
+Fri Jul 19 18:15:51 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Fix test for whether a compiler has a 64 bit
+       type.  From Jim Wilson <wilson@cygnus.com>.
+
 Thu Jul 18 15:39:10 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * configure.host (mips-sgi-irix6*): New host.
+
+       * configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG
+       (replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED,
+       BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT.  Add bfd-in2.h:bfd-in2.h
+       to AC_OUTPUT call.
+       * configure: Rebuild.
+       * bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@.
+       (BFD_HOST_64_BIT): Define conditionally.
+       (BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined.
+       (bfd_vma): Typedef as BFD_HOST_U_64_BIT.
+       (symvalue, bfd_size_type): Likewise.
+       * bfd-in2.h: Rebuild.
+       * Makefile.in (do_clean): Remove bfd-tmp.h.
+       (do_distclean): Remove bfd-in3.h.
+       (stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h.
+       (bfd-in3.h): New target.
+
+       * config.bfd (sparc-*-sysv4*): Don't build sunos_big_vec.  From
+       Andrew Gierth <ANDREWG@microlise.co.uk>.
+
+       * configure.host: Set INSTALL_SHLIB.
+       * configure.in: Call AC_SUBST (INSTALL_SHLIB).
+       * configure: Rebuild.
+       * Makefile.in (install): Use @INSTALL_SHLIB@.
+
        * config.bfd (mips*-*-irix6*): New target.
        * configure.host: Handle Irix 6 shared library like Irix 5.