* aout-target.h (MY(callback)): Set reloc_count fields.
[binutils-gdb.git] / bfd / ChangeLog
index 8296db3fa707e1fb76710bbb614977ae55860cee..7d0155fb6fba60401d763a9a4125b1c83b4bf9cb 100644 (file)
@@ -1,3 +1,162 @@
+Fri Jul  5 19:27:49 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aout-target.h (MY(callback)): Set reloc_count fields.
+
+Thu Jul  4 12:00:37 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic
+       sections unless this is a SunOS link.
+
+       * VERSION: Set to 2.7.1.
+
+       * Released binutils 2.7.
+
+Wed Jul  3 14:59:47 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * i386aout.c: Include "aout/aout64.h".
+       (i386aout_write_object_contents): New static function.
+       (MY_write_object_contents): Define.
+
+       * netbsd.h (MY(write_object_contents)): Make sure that
+       adjust_sizes_and_vmas is called before fiddling with the magic
+       number.
+
+Tue Jul  2 23:30:39 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo.
+
+Sun Jun 30 13:34:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libbfd-in.h (itos, stoi): Don't define.
+       * libbfd.h: Rebuild.
+       * i386lynx.c (KEEPIT): Define as udata.i.
+       (NAME(lynx,swap_std_reloc_out)): Don't use stoi.
+       (NAME(lynx,swap_ext_reloc_out)): Likewise.
+       * riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than
+       flags.  Don't use stoi.
+
+       * elf32-mips.c (ELF_MAGPAGESIZE): Change definition to 0x1000.
+
+       * elf.c (map_sections_to_segments): Don't start a new segment for
+       a writable section if it's on the same page as the previous
+       segment.  Reset the writable variable for a readonly section.
+
+Sat Jun 29 16:18:51 1996  Kim Knuttila  <krk@cygnus.com>
+
+       * peicode.h (coff_swap_aouthdr_in): Missing initializations of
+       first_thunk_address, thunk_size, and import_table_size.
+       * peicode.h: Improved some diagnostics regarding edata sections.
+
+       * coff-ppc.c (coff_ppc_relocate_section): Earlier error check
+       on IMGLUE relocs.
+       (coff_ppc_relocate_section): Improved diagnostic for large TOCDEFN's.
+       (TARGET_LITTLE_SYM): Added missing D_PAGED.
+
+Fri Jun 28 13:48:45 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol
+       with XCOFF_DEF_DYNAMIC set is really defined.
+       (xcoff_link_check_dynamic_ar_symbols): Likewise.
+       (xcoff_link_add_symbols): Only create special sections if using an
+       XCOFF hash table.
+
+       * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like
+       aixcoff-rs6000.
+       (bfd_install_relocation): Likewise.
+
+Fri Jun 28 11:17:00 1996  Richard Henderson  <rth@tamu.edu>
+
+       * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags
+       field.
+       (ALPHA_ELF_LINK_HASH_LU_ADDR): Define.
+       (ALPHA_ELF_LINK_HASH_LU_MEM): Define.
+       (ALPHA_ELF_LINK_HASH_LU_FUNC): Define.
+       (elf64_alpha_link_hash_newfunc): Initialize flags field.
+       (elf64_alpha_check_relocs): Record types of LITUSE entries that
+       are found for LITERAL relocs.
+       (elf64_alpha_adjust_dynamic_symbol): If a symbol has its address
+       taken, we cannot generate a .plt entry for the symbol.
+
+Thu Jun 27 11:24:29 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Add AC_ISC_POSIX, and check for setitimer and
+       sysconf functions (for gprof).
+       * configure, config.in: Rebuild.
+
+Wed Jun 26 16:29:02 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_archive_p): Check the first object file in
+       an archive if it has a map.  If the object file has the wrong
+       xvec, reject it.
+
+       * coff-alpha.c (alpha_adjust_reloc_in): Set the addend for a
+       BRADDR, SREL16, SREL32, or SREL64 reloc against an external
+       symbol.
+       (alpha_relocate_section): Likewise.
+
+       * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof.
+       (coff_swap_filehdr_out): Use FILHSZ, not sizeof.
+       (coff_swap_sym_out): Use SYMESZ, not sizeof.
+       (coff_swap_aux_out): Use AUXESZ, not sizeof.
+       (coff_swap_lineno_out): Use LINESZ, not sizeof.
+       (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof.
+       (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof.
+       * peicode.h: Corresponding changes.
+
+Tue Jun 25 15:28:34 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elflink.h (elf_create_pointer_linker_section): Comment out code
+       dealing with making GOT pointers negative of the GOT symbol for
+       now.
+
+Tue Jun 25 11:41:24 1996  Richard Henderson  <rth@tamu.edu>
+
+       * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
+       increment the .rela.plt size until after we're done creating the
+       .plt entry.
+       (elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the
+       .rela.plt offset directly rather than calculating it.
+
+Mon Jun 24 17:15:10 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+        * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): 
+       Use autoconf-set values.
+        * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, 
+       includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set 
+       values.
+        (docdir): Deleted.
+        * configure.in (AC_PREREQ): autoconf v2.5 or higher.
+        * configure: Rebuilt.
+Mon Jun 24 22:50:35 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * som.c (som_write_fixups): Fix typo in R_END_TRY for exception
+       handling code > 1k away.
+
+Mon Jun 24 18:41:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elflink.h (elf_create_pointer_linker_section): If DEBUG is
+       defined, output whenever the symbol is updated.
+
+Mon Jun 24 17:58:12 1996  Jouke Numan  <jnuman@bazis.nl>
+
+       * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC
+       section to 0 if user_set_vma is set.
+       * elflink.h (elf_bfd_final_link): Likewise.
+
+Sun Jun 23 20:42:51 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       Partially undo patch of Jun 20.
+       * coffcode.h (coff_set_alignment_hook): Use COFF_IMAGE_WITH_PE.
+       (coff_compute_section_file_positions): Likewise.
+       (coff_write_object_contents): Likewise.  Re-add deleted code, but
+       use #ifdef COFF_WITH_PE, not COFF_OBJ_WITH_PE.
+       * peicode.h (pe_bfd_copy_private_bfd_data): Re-add #ifdef.
+
+Fri Jun 21 17:38:15 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
+
+       * config.bfd: Add support for *-*-rtems* configurations.
+       
 Fri Jun 21 15:19:59 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * elf.c (prep_headers): Add bfd_arch_alpha case.
@@ -52,7 +211,6 @@ Tue Jun 18 15:17:36 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
        * coff-h8300.c: Remove #if 0 code.
        (compatable): Don't allow mixing/matching of different architectures.
        
-start-sanitize-h8s
        * archures.c (bfd_mach_h8300s): Add.
        * bfd-in2.h: Rebuilt.
        * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
@@ -65,7 +223,6 @@ start-sanitize-h8s
        * cpu-h8300.c (h8300_scan): Likewise.
        Add H8/S to bfd_h8300_arch list.
 
-end-sanitize-h8s
 Tue Jun 18 14:42:58 1996  Klaus Kaempf  <kkaempf@progis.de>
 
        Added support for Alpha OpenVMS: